binutils-gdb/ld/testsuite/ld-arc/got-weak.d
Claudiu Zissulescu 720f6ee095 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>
2021-09-15 13:49:02 +03:00

13 lines
207 B
Makefile

#source: got-weak.s
#as:
#ld: -Bstatic
#objdump: -d
[^:]*:\s+file format elf32-.*arc
Disassembly of section \.text:
[0-9a-f]+ <.*>:
^\s+[0-9a-f]+:\s+2730\s7f80\s[0-9a-f]+\s[0-9a-f]+\s+ld\s+r\d+,\[pcl,.*