summaryrefslogtreecommitdiff
path: root/libelf
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-08-12 12:00:17 +0200
committerMark Wielaard <mjw@redhat.com>2009-08-12 12:00:17 +0200
commite2fedf4ad5d1eb7a68803714c645fa36aacb4b65 (patch)
tree0584292c68e534fa5fa661139fd2cd6541526718 /libelf
parent08277bac843e776849e8282ba1c7a9d73cad0632 (diff)
downloadelfutils-e2fedf4ad5d1eb7a68803714c645fa36aacb4b65.tar.gz
Makefile.am (libelf.so): Use -Wl,-z,defs not -defs.
Diffstat (limited to 'libelf')
-rw-r--r--libelf/ChangeLog4
-rw-r--r--libelf/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 7bcc235b..ba387557 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-12 Mark Wielaard <mjw@redhat.com>
+
+ * Makefile.am (libelf.so): Use -Wl,-z,defs not -defs.
+
2009-07-26 Ulrich Drepper <drepper@redhat.com>
* elf.h: Update from glibc.
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index fbb19a63..2899043d 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -114,7 +114,7 @@ libelf_so_SOURCES =
libelf.so: libelf_pic.a libelf.map
$(LINK) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \
-Wl,--version-script,$(srcdir)/libelf.map,--no-undefined \
- -Wl,--soname,$@.$(VERSION),-z,-defs,-z,relro $(libelf_so_LDLIBS)
+ -Wl,--soname,$@.$(VERSION),-z,defs,-z,relro $(libelf_so_LDLIBS)
if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
ln -fs $@ $@.$(VERSION)