1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/ports-2.10.1/220-section-comments.patch Fri May 25 19:09:43 2012 +0200
1.3 @@ -0,0 +1,24 @@
1.4 +http://sources.redhat.com/ml/binutils/2004-04/msg00665.html
1.5 +
1.6 +fixes building on some architectures (like m68k/arm/cris/etc...) because
1.7 +it does the right thing
1.8 +
1.9 +diff -durN glibc-2.10.1.orig/include/libc-symbols.h glibc-2.10.1/include/libc-symbols.h
1.10 +--- glibc-2.10.1.orig/include/libc-symbols.h 2009-03-14 00:51:46.000000000 +0100
1.11 ++++ glibc-2.10.1/include/libc-symbols.h 2009-11-13 00:50:07.000000000 +0100
1.12 +@@ -239,12 +239,12 @@
1.13 + # define __make_section_unallocated(section_string)
1.14 + # endif
1.15 +
1.16 +-/* Tacking on "\n\t#" to the section name makes gcc put it's bogus
1.17 ++/* Tacking on "\n#APP\n\t#" to the section name makes gcc put it's bogus
1.18 + section attributes on what looks like a comment to the assembler. */
1.19 + # ifdef HAVE_SECTION_QUOTES
1.20 +-# define __sec_comment "\"\n\t#\""
1.21 ++# define __sec_comment "\"\n#APP\n\t#\""
1.22 + # else
1.23 +-# define __sec_comment "\n\t#"
1.24 ++# define __sec_comment "\n#APP\n\t#"
1.25 + # endif
1.26 + # define link_warning(symbol, msg) \
1.27 + __make_section_unallocated (".gnu.warning." #symbol) \