From 898ed261444cdd817c2d9b3656209a291eb5e807 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 18 Dec 2014 12:32:39 -0500 Subject: [PATCH] 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. --- backends/ChangeLog | 4 ++++ backends/Makefile.am | 2 +- libasm/ChangeLog | 6 +++++- libasm/Makefile.am | 2 +- libdw/ChangeLog | 4 ++++ libdw/Makefile.am | 2 +- libelf/ChangeLog | 4 ++++ libelf/Makefile.am | 2 +- src/ChangeLog | 4 ++++ src/Makefile.am | 2 +- 10 files changed, 26 insertions(+), 6 deletions(-) diff --git a/backends/ChangeLog b/backends/ChangeLog index db1b129..e800d16 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,7 @@ +2014-12-18 Ulrich Drepper + + * Makefile.am: Suppress output of textrel_check command. + 2014-11-22 Mark Wielaard * ppc64_symbol.c (ppc64_bss_plt_p): Remove ehdr argument. 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/ChangeLog b/libasm/ChangeLog index 034a64d..9b25af9 100644 --- a/libasm/ChangeLog +++ b/libasm/ChangeLog @@ -1,4 +1,8 @@ -2014-01127 Mark Wielaard +2014-12-18 Ulrich Drepper + + * Makefile.am: Suppress output of textrel_check command. + +2014-11-27 Mark Wielaard * Makefile.am (libasm.so): Use textrel_check. 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/ChangeLog b/libdw/ChangeLog index 61c9871..abc2d71 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2014-12-18 Ulrich Drepper + + * Makefile.am: Suppress output of textrel_check command. + 2014-12-16 Mark Wielaard * dwarf_getsrclines.c (read_srclines): Check diridx is valid under 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/ChangeLog b/libelf/ChangeLog index 270579b..3b88d03 100644 --- a/libelf/ChangeLog +++ b/libelf/ChangeLog @@ -1,3 +1,7 @@ +2014-12-18 Ulrich Drepper + + * Makefile.am: Suppress output of textrel_check command. + 2014-12-16 Mark Wielaard * elf_begin.c (read_long_names): Make sure long_names len fits 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/ChangeLog b/src/ChangeLog index 273ae5d..0ae863e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-12-18 Ulrich Drepper + + * Makefile.am: Suppress output of textrel_check command. + 2014-12-17 Mark Wielaard * readelf.c (print_cfa_program): Add bounds check before each op that 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. -- 2.7.4