3 #source
: tls
-local
-58.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
and a R_CRIS_16_GOT_GD against
9 # the same local symbol
, gc
:ed
. Check that we have nothing left but
10 # the start symbol
and its code
. Can
't get rid of the GOT just yet.
12 .*: file format elf32-cris
15 LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
16 filesz 0x0+78 memsz 0x0+78 flags r-x
17 LOAD off 0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
18 filesz 0x0+c memsz 0x0+c flags rw-
22 0+80074 l d .text 0+ .text
23 0+82078 l d .got 0+ .got
24 0+82078 l O .got 0+ .hidden _GLOBAL_OFFSET_TABLE_
25 0+80074 g .text 0+ _start
26 0+82084 g \*ABS\* 0+ __bss_start
27 0+82084 g \*ABS\* 0+ _edata
28 0+820a0 g \*ABS\* 0+ _end
30 Contents of section .text:
32 Contents of section .got: