diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-02-07 12:01:58 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-02-07 12:03:40 -0800 |
commit | 6e5696561610bcde8f0fe63c967b8a96d70dbf2b (patch) | |
tree | 3fe9dd063ada2778566330dfe632bb8644c6f632 /ld | |
parent | 919adfe8409211c726c1d05b47ca59890ee648f1 (diff) | |
download | gdb-6e5696561610bcde8f0fe63c967b8a96d70dbf2b.zip gdb-6e5696561610bcde8f0fe63c967b8a96d70dbf2b.tar.gz gdb-6e5696561610bcde8f0fe63c967b8a96d70dbf2b.tar.bz2 |
unique.exp: Update contains_unique_symbol
Since commit 9fc0b501af78b changed symbols from a/b to a_val/b_val,
contains_unique_symbol needs adjustment.
* testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
Diffstat (limited to 'ld')
-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 } |