diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2021-09-15 13:43:40 +0300 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2021-09-15 13:49:02 +0300 |
commit | 720f6ee0959d9b493051d63f75d0d609d3d392ad (patch) | |
tree | 0755f8738516076ddd2828e0e6957d939ff81a58 /ld/testsuite/ld-arc | |
parent | b4745472b686482107c1a8d65ae99a434cd3fb5e (diff) | |
download | fsf-binutils-gdb-720f6ee0959d9b493051d63f75d0d609d3d392ad.zip fsf-binutils-gdb-720f6ee0959d9b493051d63f75d0d609d3d392ad.tar.gz fsf-binutils-gdb-720f6ee0959d9b493051d63f75d0d609d3d392ad.tar.bz2 |
arc: Fix got-weak linker test
Use regular expressions to fix the got-weak linker test.
ld/
* testsuite/got-weak.d: Update test.
Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
Diffstat (limited to 'ld/testsuite/ld-arc')
-rw-r--r-- | ld/testsuite/ld-arc/got-weak.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-arc/got-weak.d b/ld/testsuite/ld-arc/got-weak.d index cf15069..a7f5b2f 100644 --- a/ld/testsuite/ld-arc/got-weak.d +++ b/ld/testsuite/ld-arc/got-weak.d @@ -3,10 +3,10 @@ #ld: -Bstatic #objdump: -d -[^:]*: file format elf32-.*arc +[^:]*:\s+file format elf32-.*arc Disassembly of section \.text: -00000100 <.*>: - 100: 2730 7f80 0000 2014 ld r0,\[pcl,0x2014\].* +[0-9a-f]+ <.*>: +^\s+[0-9a-f]+:\s+2730\s7f80\s[0-9a-f]+\s[0-9a-f]+\s+ld\s+r\d+,\[pcl,.* |