diff options
Diffstat (limited to 'recipes/eglibc/files/eglibc_adjust_begin_insertion.patch')
-rw-r--r-- | recipes/eglibc/files/eglibc_adjust_begin_insertion.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/eglibc/files/eglibc_adjust_begin_insertion.patch b/recipes/eglibc/files/eglibc_adjust_begin_insertion.patch new file mode 100644 index 0000000000..8f05cc0cab --- /dev/null +++ b/recipes/eglibc/files/eglibc_adjust_begin_insertion.patch @@ -0,0 +1,13 @@ +Index: libc/elf/Makefile +=================================================================== +--- libc.orig/elf/Makefile 2009-07-15 14:37:34.000000000 -0700 ++++ libc/elf/Makefile 2009-07-15 14:37:47.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;/' \ + > $@.lds + $(LINK.o) -nostdlib -nostartfiles -shared -o $@ \ + $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now)) \ |