/project/binutils/ld/testsuite/ld-cris/tls-gc-68.d

https://gitlab.com/torshie/modern-tool · D · 33 lines · 32 code · 1 blank · 0 comment · 0 complexity · ac410a64fd7b5e13da512ed3a25d02b9 MD5 · raw file

  1. #source: start1.s
  2. #source: tls-x.s
  3. #source: tls-local-58.s
  4. #as: --pic --no-underscore --em=criself -I$srcdir/$subdir
  5. #ld: -m crislinux --gc-sections
  6. #objdump: -s -t -r -p
  7. # An executable with a R_CRIS_32_GOT_GD and a R_CRIS_16_GOT_GD against
  8. # the same local symbol, gc:ed. Check that we have nothing left but
  9. # the start symbol and its code. Can't get rid of the GOT just yet.
  10. .*: file format elf32-cris
  11. Program Header:
  12. LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
  13. filesz 0x0+78 memsz 0x0+78 flags r-x
  14. LOAD off 0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
  15. filesz 0x0+c memsz 0x0+c flags rw-
  16. private flags = 0:
  17. SYMBOL TABLE:
  18. 0+80074 l d \.text 0+ \.text
  19. 0+82078 l d \.got 0+ \.got
  20. 0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
  21. 0+80074 g \.text 0+ _start
  22. 0+82084 g \.got 0+ __bss_start
  23. 0+82084 g \.got 0+ _edata
  24. 0+820a0 g \.got 0+ _end
  25. Contents of section \.text:
  26. 80074 41b20+ .*
  27. Contents of section \.got:
  28. 82078 0+ 0+ 0+ .*