yann@2438: http://sources.redhat.com/ml/binutils/2004-04/msg00665.html yann@2438: yann@2438: fixes building on some architectures (like m68k/arm/cris/etc...) because yann@2438: it does the right thing yann@2438: yann@2438: diff -durN glibc-2.13.orig/include/libc-symbols.h glibc-2.13/include/libc-symbols.h yann@2438: --- glibc-2.13.orig/include/libc-symbols.h 2009-03-14 00:51:46.000000000 +0100 yann@2438: +++ glibc-2.13/include/libc-symbols.h 2009-11-13 00:50:07.000000000 +0100 yann@2438: @@ -239,12 +239,12 @@ yann@2438: # define __make_section_unallocated(section_string) yann@2438: # endif yann@2438: yann@2438: -/* Tacking on "\n\t#" to the section name makes gcc put it's bogus yann@2438: +/* Tacking on "\n#APP\n\t#" to the section name makes gcc put it's bogus yann@2438: section attributes on what looks like a comment to the assembler. */ yann@2438: # ifdef HAVE_SECTION_QUOTES yann@2438: -# define __sec_comment "\"\n\t#\"" yann@2438: +# define __sec_comment "\"\n#APP\n\t#\"" yann@2438: # else yann@2438: -# define __sec_comment "\n\t#" yann@2438: +# define __sec_comment "\n#APP\n\t#" yann@2438: # endif yann@2438: # define link_warning(symbol, msg) \ yann@2438: __make_section_unallocated (".gnu.warning." #symbol) \