summaryrefslogtreecommitdiff
path: root/patches/glibc/linuxthreads-2.3.3/glibc-2.3.3-alpha-prolog.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc/linuxthreads-2.3.3/glibc-2.3.3-alpha-prolog.patch')
-rw-r--r--patches/glibc/linuxthreads-2.3.3/glibc-2.3.3-alpha-prolog.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/patches/glibc/linuxthreads-2.3.3/glibc-2.3.3-alpha-prolog.patch b/patches/glibc/linuxthreads-2.3.3/glibc-2.3.3-alpha-prolog.patch
new file mode 100644
index 0000000..87877ee
--- /dev/null
+++ b/patches/glibc/linuxthreads-2.3.3/glibc-2.3.3-alpha-prolog.patch
@@ -0,0 +1,36 @@
+wget 'http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/linuxthreads/sysdeps/alpha/elf/pt-initfini.c.diff?r1=1.3&r2=1.4&cvsroot=glibc'
+
+Revision 1.4, Wed Dec 10 05:46:41 2003 UTC (8 months, 1 week ago) by aj
+ (__asm__): Remove extra .prologue.
+
+Fixes error
+
+crosstool-0.28-rc34/build/alpha-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-glibc/linuxthreads/crti.S: Assembler messages:
+crosstool-0.28-rc34/build/alpha-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-glibc/linuxthreads/crti.S:34: Error: .prologue directive without a preceding .ent directive
+make[2]: *** [crosstool-0.28-rc34/build/alpha-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-glibc/linuxthreads/crti.o] Error 1
+make[2]: Leaving directory `crosstool-0.28-rc34/build/alpha-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/glibc-2.3.3/linuxthreads'
+
+when building with gcc-3.4.1
+
+===================================================================
+RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/alpha/elf/pt-initfini.c,v
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -r1.3 -r1.4
+--- libc/linuxthreads/sysdeps/alpha/elf/pt-initfini.c 2003/07/05 22:56:39 1.3
++++ libc/linuxthreads/sysdeps/alpha/elf/pt-initfini.c 2003/12/10 05:46:41 1.4
+@@ -1,5 +1,5 @@
+ /* Special .init and .fini section support for Alpha. Linuxthreads version.
+- Copyright (C) 2002 Free Software Foundation, Inc.
++ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+@@ -75,7 +75,6 @@
+ subq $30, 16, $30 \n\
+ stq $26, 0($30) \n\
+ stq $29, 8($30) \n\
+- .prologue 1 \n\
+ .align 3 \n\
+ /*@_fini_PROLOG_ENDS*/ \n\
+ \n\