From 8c5b71ad6db208355947c639d1959de7d770ad2d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 20 Mar 2018 09:20:57 -0700 Subject: [PATCH] Adjust testsuite/ld-plugin/pr22983.d * testsuite/ld-plugin/pr22983.d: Allow leading underscore as well as extra lines between symbols. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-plugin/pr22983.d | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) 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 #... -- 2.30.2