From 81ae93ecc17894ff7e4e6807919ef9f8bd6d5414 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 17 May 2019 00:44:00 -0700 Subject: [PATCH] Re-attempt use of .gdb_index section. --- construct/Makefile.am | 1 + ircd/Makefile.am | 2 +- modules/Makefile.am | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/construct/Makefile.am b/construct/Makefile.am index 5b8ad6bd5..e5b8a7267 100644 --- a/construct/Makefile.am +++ b/construct/Makefile.am @@ -34,6 +34,7 @@ AM_LDFLAGS = \ -Wl,--dynamic-list-cpp-typeinfo \ -Wl,--icf=all \ -Wl,--rosegment \ + -Wl,--gdb-index \ -Wl,-z -Wl,noexecstack \ -L$(top_srcdir)/ircd \ -L$(top_srcdir)/modules \ diff --git a/ircd/Makefile.am b/ircd/Makefile.am index 0dee3a4af..f7fb65409 100644 --- a/ircd/Makefile.am +++ b/ircd/Makefile.am @@ -43,7 +43,7 @@ AM_LDFLAGS = \ -Wl,--no-gc-sections \ -Wl,--icf=all \ -Wl,--rosegment \ - -Wl,--whole-archive \ + -Wl,--gdb-index \ -Wl,-z -Wl,lazy \ -Wl,-z -Wl,nodelete \ -Wl,-z -Wl,nodlopen \ diff --git a/modules/Makefile.am b/modules/Makefile.am index 95bf8ea09..f5380c718 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -35,6 +35,7 @@ AM_LDFLAGS = \ -Wl,--allow-shlib-undefined \ -Wl,--gc-sections \ -Wl,--icf=all \ + -Wl,--gdb-index \ -Wl,-z -Wl,lazy \ -Wl,-z -Wl,noexecstack \ -Wl,-z -Wl,combreloc \