diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-01-31 00:21:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-01-31 00:21:15 +0000 |
commit | 7c8a67320e26b8c11108bf0a3410d3aef9cf3486 (patch) | |
tree | 1b9082c333b7eedcb42151f5100396f618ff8c2c | |
parent | 431497800d69ffa9d06a798db5e2000a9d44a95e (diff) | |
download | glibc-7c8a67320e26b8c11108bf0a3410d3aef9cf3486.zip glibc-7c8a67320e26b8c11108bf0a3410d3aef9cf3486.tar.gz glibc-7c8a67320e26b8c11108bf0a3410d3aef9cf3486.tar.bz2 |
* elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
newer linker scripts.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | elf/Makefile | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2009-01-29 Andrew Stubbs <ams@codesourcery.com> + + * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to + newer linker scripts. + 2009-01-30 Ulrich Drepper <drepper@redhat.com> [BZ #7040] diff --git a/elf/Makefile b/elf/Makefile index 8079fe9..e44ff1d 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1995-2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 1995-2007, 2008, 2009 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 @@ -304,7 +304,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map) $(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)) \ |