diff options
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-unique/unique.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 44a6887..c3b5541 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2020-02-07 H.J. Lu <hongjiu.lu@intel.com> + + * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated. + 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> PR 25469 diff --git a/ld/testsuite/ld-unique/unique.exp b/ld/testsuite/ld-unique/unique.exp index 1f80b39..0775c7d 100644 --- a/ld/testsuite/ld-unique/unique.exp +++ b/ld/testsuite/ld-unique/unique.exp @@ -92,7 +92,7 @@ proc contains_unique_symbol { binary_file } { # Look for a line like this: # 54: 0000000000400474 4 OBJECT UNIQUE DEFAULT 13 a - if { ![regexp ".*\[ \]*OBJECT\[ \]+UNIQUE\[ \]+DEFAULT\[ \]+\[UND0-9\]+\[ \]+\[ab\]\n" [file_contents readelf.out]] } { + if { ![regexp ".*\[ \]*OBJECT\[ \]+UNIQUE\[ \]+DEFAULT\[ \]+\[UND0-9\]+\[ \]+\[ab\]_val\n" [file_contents readelf.out]] } { return 0 } |