patches/glibc/2.3.2/nobits.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 28 21:34:41 2007 +0000 (2007-07-28)
changeset 301 2be7232a73ac
permissions -rw-r--r--
Bump version to 0.2.2.
yann@1
     1
Fix build on architectures (like arm) where gas accepts @ as comment.
yann@1
     2
yann@1
     3
First reported here:
yann@1
     4
http://sources.redhat.com/ml/libc-alpha/2003-04/msg00265.html
yann@1
     5
yann@1
     6
In use here:
yann@1
     7
http://www.netwinder.org/autobuild/nw-9/patches/glibc-2.3.2-nobits.patch
yann@1
     8
yann@1
     9
Committed to cvs:
yann@1
    10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/libc-symbols.h.diff?r1=1.52&r2=1.53&cvsroot=glibc
yann@1
    11
yann@1
    12
===================================================================
yann@1
    13
RCS file: /cvs/glibc/libc/include/libc-symbols.h,v
yann@1
    14
retrieving revision 1.52
yann@1
    15
retrieving revision 1.53
yann@1
    16
diff -u -r1.52 -r1.53
yann@1
    17
--- libc/include/libc-symbols.h	2003/04/30 04:18:03	1.52
yann@1
    18
+++ libc/include/libc-symbols.h	2003/05/02 02:20:48	1.53
yann@1
    19
@@ -247,7 +247,7 @@
yann@1
    20
     __attribute__ ((unused, section (".gnu.warning." #symbol __sec_comment))) \
yann@1
    21
     = msg;
yann@1
    22
 #  define libc_freeres_ptr(decl) \
yann@1
    23
-  __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", @nobits") \
yann@1
    24
+  __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", %nobits") \
yann@1
    25
   decl __attribute__ ((section ("__libc_freeres_ptrs" __sec_comment)))
yann@1
    26
 #  define __libc_freeres_fn_section \
yann@1
    27
   __attribute__ ((section ("__libc_freeres_fn")))