summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc-2.9/glibc-2.9-use-_begin.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-14 20:20:49 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-14 20:20:49 +0100
commit8f96edfb16e593264a49b04eade98d4e2094d1b1 (patch)
tree5e3be2cff727d6fefa8080b67ec3c2beb13e99cc /meta/packages/glibc/glibc-2.9/glibc-2.9-use-_begin.patch
parent48a278ed71306f633091ed81d170eeff45ba3759 (diff)
downloadpoky-8f96edfb16e593264a49b04eade98d4e2094d1b1.tar.gz
glibc-2.9: Sync with OE.dev and update patchset
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/glibc/glibc-2.9/glibc-2.9-use-_begin.patch')
-rw-r--r--meta/packages/glibc/glibc-2.9/glibc-2.9-use-_begin.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/glibc/glibc-2.9/glibc-2.9-use-_begin.patch b/meta/packages/glibc/glibc-2.9/glibc-2.9-use-_begin.patch
new file mode 100644
index 0000000000..8d36a0524e
--- /dev/null
+++ b/meta/packages/glibc/glibc-2.9/glibc-2.9-use-_begin.patch
@@ -0,0 +1,28 @@
1From 7c8a67320e26b8c11108bf0a3410d3aef9cf3486 Mon Sep 17 00:00:00 2001
2From: Ulrich Drepper <drepper@redhat.com>
3Date: Sat, 31 Jan 2009 00:21:15 +0000
4Subject: [PATCH] * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to newer linker scripts.
5---
6diff --git a/elf/Makefile b/elf/Makefile
7index 8079fe9..e44ff1d 100644
8--- a/elf/Makefile
9+++ b/elf/Makefile
10@@ -1,4 +1,4 @@
11-# Copyright (C) 1995-2007, 2008 Free Software Foundation, Inc.
12+# Copyright (C) 1995-2007, 2008, 2009 Free Software Foundation, Inc.
13 # This file is part of the GNU C Library.
14
15 # The GNU C Library is free software; you can redistribute it and/or
16@@ -304,7 +304,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
17 $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 | \
18 LC_ALL=C \
19 sed -e '/^=========/,/^=========/!d;/^=========/d' \
20- -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
21+ -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
22 > $@.lds
23 $(LINK.o) -nostdlib -nostartfiles -shared -o $@ \
24 $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now)) \
25--
261.6.3.2
27
28