1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.3.2/nobits.patch Sat Jun 02 08:13:13 2007 +0000
1.3 @@ -0,0 +1,27 @@
1.4 +Fix build on architectures (like arm) where gas accepts @ as comment.
1.5 +
1.6 +First reported here:
1.7 +http://sources.redhat.com/ml/libc-alpha/2003-04/msg00265.html
1.8 +
1.9 +In use here:
1.10 +http://www.netwinder.org/autobuild/nw-9/patches/glibc-2.3.2-nobits.patch
1.11 +
1.12 +Committed to cvs:
1.13 +http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/libc-symbols.h.diff?r1=1.52&r2=1.53&cvsroot=glibc
1.14 +
1.15 +===================================================================
1.16 +RCS file: /cvs/glibc/libc/include/libc-symbols.h,v
1.17 +retrieving revision 1.52
1.18 +retrieving revision 1.53
1.19 +diff -u -r1.52 -r1.53
1.20 +--- libc/include/libc-symbols.h 2003/04/30 04:18:03 1.52
1.21 ++++ libc/include/libc-symbols.h 2003/05/02 02:20:48 1.53
1.22 +@@ -247,7 +247,7 @@
1.23 + __attribute__ ((unused, section (".gnu.warning." #symbol __sec_comment))) \
1.24 + = msg;
1.25 + # define libc_freeres_ptr(decl) \
1.26 +- __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", @nobits") \
1.27 ++ __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", %nobits") \
1.28 + decl __attribute__ ((section ("__libc_freeres_ptrs" __sec_comment)))
1.29 + # define __libc_freeres_fn_section \
1.30 + __attribute__ ((section ("__libc_freeres_fn")))