patches/glibc/2.3.2/nobits.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
     1 Fix build on architectures (like arm) where gas accepts @ as comment.
     2 
     3 First reported here:
     4 http://sources.redhat.com/ml/libc-alpha/2003-04/msg00265.html
     5 
     6 In use here:
     7 http://www.netwinder.org/autobuild/nw-9/patches/glibc-2.3.2-nobits.patch
     8 
     9 Committed to cvs:
    10 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/libc-symbols.h.diff?r1=1.52&r2=1.53&cvsroot=glibc
    11 
    12 ===================================================================
    13 RCS file: /cvs/glibc/libc/include/libc-symbols.h,v
    14 retrieving revision 1.52
    15 retrieving revision 1.53
    16 diff -u -r1.52 -r1.53
    17 --- libc/include/libc-symbols.h	2003/04/30 04:18:03	1.52
    18 +++ libc/include/libc-symbols.h	2003/05/02 02:20:48	1.53
    19 @@ -247,7 +247,7 @@
    20      __attribute__ ((unused, section (".gnu.warning." #symbol __sec_comment))) \
    21      = msg;
    22  #  define libc_freeres_ptr(decl) \
    23 -  __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", @nobits") \
    24 +  __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", %nobits") \
    25    decl __attribute__ ((section ("__libc_freeres_ptrs" __sec_comment)))
    26  #  define __libc_freeres_fn_section \
    27    __attribute__ ((section ("__libc_freeres_fn")))