pr26589.d 549 B

12345678910111213141516
  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. # Besides typical DSO stuff (libdso-1.d), we here have a data section
  7. # with an absolute reloc to a local symbol. For the original
  8. # test-case, this happened for a destructor (.dtors).
  9. Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entry:
  10. Offset[ ]+Info[ ]+Type[ ]+Sym\.Value Sym\. Name \+ Addend
  11. [a-f0-9]+[ ]+0+c R_CRIS_RELATIVE[ ]+ [a-f0-9]+
  12. Symbol table '\.dynsym' contains 3 entries:
  13. #pass