[PATCH] readelf: print section names when dump the symbol table

Alan Modra amodra@gmail.com
Mon May 3 04:57:36 GMT 2021


commit 23356397449 changed this file but missed one place.

	* testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
	named section symbols.

diff --git a/ld/testsuite/ld-s390/tlspic_64.rd b/ld/testsuite/ld-s390/tlspic_64.rd
index 5a4b8dd744f..fe42a68243e 100644
--- a/ld/testsuite/ld-s390/tlspic_64.rd
+++ b/ld/testsuite/ld-s390/tlspic_64.rd
@@ -69,7 +69,7 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry:
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
 .* NOTYPE +LOCAL +DEFAULT +UND 
-.* SECTION +LOCAL +DEFAULT +7 
+.* SECTION +LOCAL +DEFAULT +7 .*
 .* TLS +GLOBAL +DEFAULT +8 sg8
 .* TLS +GLOBAL +DEFAULT +8 sg3
 .* TLS +GLOBAL +DEFAULT +8 sg4


-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list