summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2014-12-18 12:32:39 -0500
committerMark Wielaard <mjw@redhat.com>2014-12-18 23:47:22 +0100
commit898ed261444cdd817c2d9b3656209a291eb5e807 (patch)
tree32764f1005d8f80ed45c394c02c7867b8caed1fb
parent09dc83d67f16f378cd3f9901ab39fcd87aa08aeb (diff)
downloadelfutils-898ed261444cdd817c2d9b3656209a291eb5e807.tar.gz
avoid scary command output
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.
-rw-r--r--backends/ChangeLog4
-rw-r--r--backends/Makefile.am2
-rw-r--r--libasm/ChangeLog6
-rw-r--r--libasm/Makefile.am2
-rw-r--r--libdw/ChangeLog4
-rw-r--r--libdw/Makefile.am2
-rw-r--r--libelf/ChangeLog4
-rw-r--r--libelf/Makefile.am2
-rw-r--r--src/ChangeLog4
-rw-r--r--src/Makefile.am2
10 files changed, 26 insertions, 6 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog
index db1b1298..e800d16b 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-18 Ulrich Drepper <drepper@gmail.com>
+
+ * Makefile.am: Suppress output of textrel_check command.
+
2014-11-22 Mark Wielaard <mjw@redhat.com>
* ppc64_symbol.c (ppc64_bss_plt_p): Remove ehdr argument.
diff --git a/backends/Makefile.am b/backends/Makefile.am
index e06841c0..687c089d 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/ChangeLog b/libasm/ChangeLog
index 034a64da..9b25af99 100644
--- a/libasm/ChangeLog
+++ b/libasm/ChangeLog
@@ -1,4 +1,8 @@
-2014-01127 Mark Wielaard <mjw@redhat.com>
+2014-12-18 Ulrich Drepper <drepper@gmail.com>
+
+ * Makefile.am: Suppress output of textrel_check command.
+
+2014-11-27 Mark Wielaard <mjw@redhat.com>
* Makefile.am (libasm.so): Use textrel_check.
diff --git a/libasm/Makefile.am b/libasm/Makefile.am
index 88c2530b..6ea2a8e8 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/ChangeLog b/libdw/ChangeLog
index 61c98711..abc2d71a 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-18 Ulrich Drepper <drepper@gmail.com>
+
+ * Makefile.am: Suppress output of textrel_check command.
+
2014-12-16 Mark Wielaard <mjw@redhat.com>
* dwarf_getsrclines.c (read_srclines): Check diridx is valid under
diff --git a/libdw/Makefile.am b/libdw/Makefile.am
index 7a2a25d3..887da6b0 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/ChangeLog b/libelf/ChangeLog
index 270579b0..3b88d031 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-18 Ulrich Drepper <drepper@gmail.com>
+
+ * Makefile.am: Suppress output of textrel_check command.
+
2014-12-16 Mark Wielaard <mjw@redhat.com>
* elf_begin.c (read_long_names): Make sure long_names len fits
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index 68885293..afcb2aa5 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/ChangeLog b/src/ChangeLog
index 273ae5dc..0ae863ed 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-18 Ulrich Drepper <drepper@gmail.com>
+
+ * Makefile.am: Suppress output of textrel_check command.
+
2014-12-17 Mark Wielaard <mjw@redhat.com>
* readelf.c (print_cfa_program): Add bounds check before each op that
diff --git a/src/Makefile.am b/src/Makefile.am
index 28dad858..7a253745 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.