diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libc-symbols.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 743b6f6f5b..e2c63fc392 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -175,15 +175,8 @@ /* When a reference to SYMBOL is encountered, the linker will emit a warning message MSG. */ /* We want the .gnu.warning.SYMBOL section to be unallocated. */ -#ifdef HAVE_ASM_PREVIOUS_DIRECTIVE -# define __make_section_unallocated(section_string) \ +#define __make_section_unallocated(section_string) \ asm (".section " section_string "\n\t.previous"); -#elif defined HAVE_ASM_POPSECTION_DIRECTIVE -# define __make_section_unallocated(section_string) \ - asm (".pushsection " section_string "\n\t.popsection"); -#else -# define __make_section_unallocated(section_string) -#endif /* Tacking on "\n\t#" to the section name makes gcc put it's bogus section attributes on what looks like a comment to the assembler. */ |