From: H.J. Lu Date: Tue, 20 Mar 2018 16:20:57 +0000 (-0700) Subject: Adjust testsuite/ld-plugin/pr22983.d X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c5b71ad6db208355947c639d1959de7d770ad2d;p=binutils-gdb.git Adjust testsuite/ld-plugin/pr22983.d * testsuite/ld-plugin/pr22983.d: Allow leading underscore as well as extra lines between symbols. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 7270ac0d317..68d898af02b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2018-03-20 H.J. Lu + + * testsuite/ld-plugin/pr22983.d: Allow leading underscore as + well as extra lines between symbols. + 2018-03-20 Maciej W. Rozycki * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the diff --git a/ld/testsuite/ld-plugin/pr22983.d b/ld/testsuite/ld-plugin/pr22983.d index af1d710d3f0..c9b8243a45a 100644 --- a/ld/testsuite/ld-plugin/pr22983.d +++ b/ld/testsuite/ld-plugin/pr22983.d @@ -1,9 +1,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name #... - +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +OBJECT +GLOBAL +DEFAULT +[0-9]+ +var_attr_used_enabled - +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +OBJECT +GLOBAL +DEFAULT +[0-9]+ +var_attr_used_disabled + +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +OBJECT +GLOBAL +DEFAULT +[0-9]+ +_?var_attr_used_enabled #... - +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +func_attr_used_enabled - +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +func_attr_used_disabled + +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +OBJECT +GLOBAL +DEFAULT +[0-9]+ +_?var_attr_used_disabled +#... + +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +_?func_attr_used_enabled +#... + +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +_?func_attr_used_disabled #...