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