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