summaryrefslogtreecommitdiff
path: root/patches/glibc/2.3.2/nobits.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
commit1906cf93f86d8d66f45f90380a8d3da25c087ee5 (patch)
tree90916c99abe1f1ec26709ee420e6c349eda4670a /patches/glibc/2.3.2/nobits.patch
parent2609573aede4ce198b3462976725b25eb1637d2e (diff)
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... :-(
Diffstat (limited to 'patches/glibc/2.3.2/nobits.patch')
-rw-r--r--patches/glibc/2.3.2/nobits.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/glibc/2.3.2/nobits.patch b/patches/glibc/2.3.2/nobits.patch
new file mode 100644
index 0000000..c639051
--- /dev/null
+++ b/patches/glibc/2.3.2/nobits.patch
@@ -0,0 +1,27 @@
+Fix build on architectures (like arm) where gas accepts @ as comment.
+
+First reported here:
+http://sources.redhat.com/ml/libc-alpha/2003-04/msg00265.html
+
+In use here:
+http://www.netwinder.org/autobuild/nw-9/patches/glibc-2.3.2-nobits.patch
+
+Committed to cvs:
+http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/libc-symbols.h.diff?r1=1.52&r2=1.53&cvsroot=glibc
+
+===================================================================
+RCS file: /cvs/glibc/libc/include/libc-symbols.h,v
+retrieving revision 1.52
+retrieving revision 1.53
+diff -u -r1.52 -r1.53
+--- libc/include/libc-symbols.h 2003/04/30 04:18:03 1.52
++++ libc/include/libc-symbols.h 2003/05/02 02:20:48 1.53
+@@ -247,7 +247,7 @@
+ __attribute__ ((unused, section (".gnu.warning." #symbol __sec_comment))) \
+ = msg;
+ # define libc_freeres_ptr(decl) \
+- __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", @nobits") \
++ __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", %nobits") \
+ decl __attribute__ ((section ("__libc_freeres_ptrs" __sec_comment)))
+ # define __libc_freeres_fn_section \
+ __attribute__ ((section ("__libc_freeres_fn")))