Mercurial > ecos
changeset 3204:382872a76fa5
Add CYGBLD_ATTRIB_NO_INLINE (suggested by Jifl)
| author | vae |
|---|---|
| date | Fri, 22 Feb 2013 19:38:45 +0000 |
| parents | 28a7b8d2b8fe |
| children | b3af38677ed2 |
| files | packages/infra/current/ChangeLog packages/infra/current/include/cyg_type.h |
| diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/infra/current/ChangeLog +++ b/packages/infra/current/ChangeLog @@ -1,3 +1,8 @@ +2013-02-20 Ilija Kocho <ilijak@siva.com.mk> + + * include/cyg_type.h: Add CYGBLD_ATTRIB_NO_INLINE (suggested by Jifl) + [ Bugzilla 1001768 ] + 2013-02-09 Ilija Kocho <ilijak@siva.com.mk> * include/cyg_type.h: Add CYGBLD_FORCE_INLINE macro to be used
--- a/packages/infra/current/include/cyg_type.h +++ b/packages/infra/current/include/cyg_type.h @@ -475,6 +475,9 @@ typedef cyg_haladdrword CYG_ADDRWORD; # define CYGBLD_FORCE_INLINE __externC inline __attribute((gnu_inline)) __attribute((always_inline)) # endif +// Suppress function inlining +#define CYGBLD_ATTRIB_NO_INLINE __attribute__((noinline)) + #else // non-GNU # define CYGBLD_ATTRIB_UNUSED /* nothing */ @@ -508,6 +511,8 @@ typedef cyg_haladdrword CYG_ADDRWORD; #define CYGBLD_FORCE_INLINE +#define CYGBLD_ATTRIB_NO_INLINE + #endif // How to define weak aliases. Currently this is simply a mixture of the
