This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[PATCH] avoid scary command output
- From: Ulrich Drepper <drepper at gmail dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 18 Dec 2014 12:32:39 -0500
- Subject: [PATCH] avoid scary command output
Someone please check in this patch, I'm not putting up with the idiotic
key changing regime on the servers.
The commands to check for invalid text relocations in the generated DSOs
shouldn't be displayed. They contain an echo which prints the text.
This patch suppresses the commands from being printed.
backends/ChangeLog
2014-12-18 Ulrich Drepper <drepper@gmail.com>
* Makefile.am: Suppress output of textrel_check command.
libasm/ChangeLog
2014-12-18 Ulrich Drepper <drepper@gmail.com>
* Makefile.am: Suppress output of textrel_check command.
libdw/ChangeLog
2014-12-18 Ulrich Drepper <drepper@gmail.com>
* Makefile.am: Suppress output of textrel_check command.
libelf/ChangeLog
2014-12-18 Ulrich Drepper <drepper@gmail.com>
* Makefile.am: Suppress output of textrel_check command.
src/ChangeLog
2014-12-18 Ulrich Drepper <drepper@gmail.com>
* Makefile.am: Suppress output of textrel_check command.
diff --git a/backends/Makefile.am b/backends/Makefile.am
index e06841c..687c089 100644
--- a/backends/Makefile.am
+++ b/backends/Makefile.am
@@ -120,7 +120,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a $(libelf) $(libdw)
-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
-Wl,--version-script,$(@:.so=.map) \
-Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw)
- $(textrel_check)
+ @$(textrel_check)
libebl_i386.so: $(cpu_i386)
libebl_x86_64.so: $(cpu_x86_64)
diff --git a/libasm/Makefile.am b/libasm/Makefile.am
index 88c2530..6ea2a8e 100644
--- a/libasm/Makefile.am
+++ b/libasm/Makefile.am
@@ -66,7 +66,7 @@ libasm.so$(EXEEXT): libasm_pic.a libasm.map
-Wl,--version-script,$(srcdir)/libasm.map,--no-undefined \
-Wl,--soname,$@.$(VERSION) \
../libebl/libebl.a ../libelf/libelf.so $(libasm_so_LDLIBS)
- $(textrel_check)
+ @$(textrel_check)
ln -fs $@ $@.$(VERSION)
install: install-am libasm.so
diff --git a/libdw/Makefile.am b/libdw/Makefile.am
index 7a2a25d..887da6b 100644
--- a/libdw/Makefile.am
+++ b/libdw/Makefile.am
@@ -113,7 +113,7 @@ libdw.so$(EXEEXT): $(srcdir)/libdw.map libdw_pic.a ../libdwelf/libdwelf_pic.a \
-Wl,--version-script,$<,--no-undefined \
-Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
-ldl $(zip_LIBS)
- $(textrel_check)
+ @$(textrel_check)
ln -fs $@ $@.$(VERSION)
install: install-am libdw.so
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index 6888529..afcb2aa 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -103,7 +103,7 @@ libelf.so$(EXEEXT): 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)
- $(textrel_check)
+ @$(textrel_check)
ln -fs $@ $@.$(VERSION)
install: install-am libelf.so
diff --git a/src/Makefile.am b/src/Makefile.am
index 28dad85..7a25374 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -127,7 +127,7 @@ libld_elf_i386.so: libld_elf_i386_pic.a libld_elf_i386.map
$(LINK) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \
$(libelf) $(libeu) \
-Wl,--version-script,$(srcdir)/libld_elf_i386.map
- $(textrel_check)
+ @$(textrel_check)
endif
# Special rule to make it possible to define libld_elf_a_SOURCES as we do.