summaryrefslogtreecommitdiff
path: root/patches/eglibc/2_9
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-05-07 19:24:23 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-05-07 19:24:23 (GMT)
commitf7acc7992c8f728dcce04922ead2af039b15c390 (patch)
treebcd968ea4d0c967046892ed910575a20835c5b30 /patches/eglibc/2_9
parent7032dea8baab47ca4c52346689004837c6d85329 (diff)
Add two new patches by Nye LIU, to fix building
glibc-2.9 and eglibc-2_9 for PowerPC. See: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html -------- diffstat follows -------- /trunk/patches/glibc/2.9/550-2.9-elf-begin.patch | 29 29 0 0 ++++++++++++++++++++++++ /trunk/patches/eglibc/2_9/100-binutils-elf-begin.patch | 24 24 0 0 ++++++++++++++++++++ 2 files changed, 53 insertions(+)
Diffstat (limited to 'patches/eglibc/2_9')
-rw-r--r--patches/eglibc/2_9/100-binutils-elf-begin.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/eglibc/2_9/100-binutils-elf-begin.patch b/patches/eglibc/2_9/100-binutils-elf-begin.patch
new file mode 100644
index 0000000..c1988f7
--- /dev/null
+++ b/patches/eglibc/2_9/100-binutils-elf-begin.patch
@@ -0,0 +1,12 @@
+diff -ru eglibc-2_9_orig/elf/Makefile eglibc-2_9/elf/Makefile
+--- eglibc-2_9_orig/elf/Makefile 2009-01-26 07:31:40.000000000 -0800
++++ eglibc-2_9/elf/Makefile 2009-05-06 16:52:28.000000000 -0700
+@@ -305,7 +305,7 @@
+ $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 | \
+ LC_ALL=C \
+ sed -e '/^=========/,/^=========/!d;/^=========/d' \
+- -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
++ -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
+ -e 's/\. = SEGMENT_START("text-segment", 0) + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
+ > $@.lds
+ $(LINK.o) -nostdlib -nostartfiles -shared -o $@ \