LoongArch: Fix loongarch32 test fails
[binutils-gdb.git] / ld / testsuite / ld-cris / pr26589.d
1 #source: dso-1.s
2 #source: locref3.s
3 #as: --pic --no-underscore --em=criself
4 #ld: --shared -m crislinux
5 #readelf: --dyn-syms -r
6
7 # Besides typical DSO stuff (libdso-1.d), we here have a data section
8 # with an absolute reloc to a local symbol. For the original
9 # test-case, this happened for a destructor (.dtors).
10
11 Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entry:
12 Offset[ ]+Info[ ]+Type[ ]+Sym\.Value Sym\. Name \+ Addend
13 [a-f0-9]+[ ]+0+c R_CRIS_RELATIVE[ ]+ [a-f0-9]+
14
15 Symbol table '\.dynsym' contains 3 entries:
16 #pass