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