patches/glibc/2.3.2/nobits.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jun 17 14:51:37 2007 +0000 (2007-06-17)
changeset 174 75f3f975e2ad
permissions -rw-r--r--
The log file is no longer configurable: it is always "${CT_PREFIX_DIR}/build.log".
Add an option to compress the log file upon successfull build.
Make rendering the toolchain read-only optional.
A few eye-candy fixes.
     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")))