46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
#source: start1.s
|
|
#source: tls-dso-tpoffgotcomm1.s
|
|
#as: --no-underscore --pic --em=criself -I$srcdir/$subdir
|
|
#ld: -m crislinux -shared --hash-style=sysv
|
|
#objdump: -d -h -s -t -r -R -p
|
|
|
|
# Make sure we can link a file with TPOFFGOT relocs against common
|
|
# symbols.
|
|
|
|
.*: file format elf32-cris
|
|
|
|
Program Header:
|
|
LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
|
|
filesz 0x0+164 memsz 0x0+164 flags r-x
|
|
LOAD off .*
|
|
filesz .*
|
|
DYNAMIC off .*
|
|
filesz .*
|
|
TLS off .* vaddr .* paddr .* align 2\*\*2
|
|
filesz 0x0+ memsz 0x0+8 flags r--
|
|
#...
|
|
Sections:
|
|
#...
|
|
7 .got 0+14 0+21dc 0+21dc 0+1dc 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
SYMBOL TABLE:
|
|
#...
|
|
0+ g \.tbss 0+4 foo
|
|
#...
|
|
0+4 g \.tbss 0+4 bar
|
|
|
|
#...
|
|
Contents of section .got:
|
|
21dc 64210000 00000000 00000000 00000000 .*
|
|
21ec 00000000 .*
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0+154 <_start>:
|
|
.*: 41b2 moveq 1,\$r11
|
|
\.\.\.
|
|
|
|
0+158 <do_test>:
|
|
.*: 2f0e 0c00 0000 add\.d c <bar\+0x8>,\$r0
|
|
.*: 1f1e 1000 add\.w 0x10,\$r1
|
|
\.\.\.
|