]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Drop -rdynamic from deleted-lib.so link step
authorUlf Hermann <ulf.hermann@qt.io>
Fri, 18 Aug 2017 13:17:38 +0000 (15:17 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 18 Aug 2017 20:53:13 +0000 (22:53 +0200)
-rdynamic is meant for ELF objects that need to export internal
symbols to libraries they link to, but deleted-lib.so does not link to
anything else and doesn't have any internal symbols.

Note that the "deleted" test program does link to deleted-lib.so, but
deleted-lib.so being a shared object, will automatically export the
(non-hidden) "libfunc" symbol anyway.

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
tests/ChangeLog
tests/Makefile.am

index 19a4c88dcf2bfa7e7fff1fe09ee049f56be3380d..0d5bee75ccc81785fe25f806cb03a7f070975f74 100644 (file)
@@ -1,3 +1,7 @@
+2017-08-18  Ulf Hermann <ulf.hermann@qt.io>
+
+       * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
+
 2017-04-27  Ulf Hermann <ulf.hermann@qt.io>
 
        * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
index 6332a7c106661bc786436fcc071a10d1056eaecd..2eac8020767f6775c6a54001d4748dc62fc57573 100644 (file)
@@ -484,7 +484,7 @@ debuglink_LDADD = $(libdw) $(libelf)
 debugaltlink_LDADD = $(libdw) $(libelf)
 buildid_LDADD = $(libdw) $(libelf)
 deleted_LDADD = ./deleted-lib.so
-deleted_lib_so_LDFLAGS = -shared -rdynamic
+deleted_lib_so_LDFLAGS = -shared
 deleted_lib_so_CFLAGS = $(fpic_CFLAGS) -fasynchronous-unwind-tables
 aggregate_size_LDADD = $(libdw) $(libelf) $(argp_LDADD)
 peel_type_LDADD = $(libdw) $(libelf) $(argp_LDADD)