blob: a6e81299af13631a5539c2b6114049aae6897d8b [file] [log] [blame]
#as: --abi=64
#objdump: -xsr
#source: datal-3.s
#name: DataLabel local def/use, SHmedia 64-bit ABI
# We should have the st_type field of each symbol displayed too, so we can
# check that STT_DATALABEL is set, but objdump doesn't do that at present,
# and readelf isn't supported as a run_dump_test tool.
.*: file format .*-sh64.*
.*
architecture: sh5, flags 0x0+11:
HAS_RELOC, HAS_SYMS
start address 0x0+
Sections:
Idx Name Size VMA LMA File off Algn
0 \.text 0+c4 0+ 0+ 0+40 2\*\*0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 \.data 0+ 0+ 0+ 0+104 2\*\*0
CONTENTS, ALLOC, LOAD, DATA
2 \.bss 0+ 0+ 0+ 0+104 2\*\*0
ALLOC
3 \.rodata 0+10 0+ 0+ 0+104 2\*\*2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
SYMBOL TABLE:
0+ l d \.text 0+ (|\.text)
0+ l d \.data 0+ (|\.data)
0+ l d \.bss 0+ (|\.bss)
0+ l \.text 0+ 0x04 start
0+58 l \.text 0+ 0x04 foo
0+68 l \.text 0+ 0x04 foo2
0+78 l \.text 0+ 0x04 foo3
0+ l d \.rodata 0+ (|\.rodata)
0+88 l \.text 0+ 0x04 foo4
0+4 l \.rodata 0+ myrodata1
0+98 l \.text 0+ 0x04 foo5
0+8 l \.rodata 0+ myrodata2
0+c g \.rodata 0+ myrodata3
0+b8 g \.text 0+ 0x04 foo7
0+b8 \*UND\* 0+ foo7
0+bc g \.text 0+ 0x04 foo8
0+bc \*UND\* 0+ foo8
0+c0 g \.text 0+ 0x04 foo9
0+c0 \*UND\* 0+ foo9
0+a8 g \.text 0+ 0x04 foo6
0+a8 \*UND\* 0+ foo6
RELOCATION RECORDS FOR \[\.text\]:
OFFSET TYPE VALUE
0+20 R_SH_IMM_MEDLOW16 \.text\+0x0+a6
0+44 R_SH_IMM_MEDLOW16 foo9\+0x0+40
0+ R_SH_IMM_HI16 \.text\+0x0+58
0+4 R_SH_IMM_MEDHI16 \.text\+0x0+58
0+8 R_SH_IMM_MEDLOW16 \.text\+0x0+58
0+c R_SH_IMM_LOW16 \.text\+0x0+58
0+10 R_SH_IMM_HI16 \.text\+0x0+92
0+14 R_SH_IMM_MEDHI16 \.text\+0x0+92
0+18 R_SH_IMM_MEDLOW16 \.text\+0x0+92
0+1c R_SH_IMM_LOW16 \.text\+0x0+92
0+24 R_SH_IMM_HI16 foo7\+0x0+2a
0+28 R_SH_IMM_MEDHI16 foo7\+0x0+2a
0+2c R_SH_IMM_MEDLOW16 foo7\+0x0+2a
0+30 R_SH_IMM_LOW16 foo7\+0x0+2a
0+34 R_SH_IMM_HI16 foo8
0+38 R_SH_IMM_MEDHI16 foo8
0+3c R_SH_IMM_MEDLOW16 foo8
0+40 R_SH_IMM_LOW16 foo8
0+48 R_SH_IMM_HI16 \.rodata\+0x0+4
0+4c R_SH_IMM_MEDHI16 \.rodata\+0x0+4
0+50 R_SH_IMM_MEDLOW16 \.rodata\+0x0+4
0+54 R_SH_IMM_LOW16 \.rodata\+0x0+4
0+58 R_SH_IMM_HI16 \.rodata\+0x0+26
0+5c R_SH_IMM_MEDHI16 \.rodata\+0x0+26
0+60 R_SH_IMM_MEDLOW16 \.rodata\+0x0+26
0+64 R_SH_IMM_LOW16 \.rodata\+0x0+26
0+68 R_SH_IMM_HI16 \.text\+0x0+58
0+6c R_SH_IMM_MEDHI16 \.text\+0x0+58
0+70 R_SH_IMM_MEDLOW16 \.text\+0x0+58
0+74 R_SH_IMM_LOW16 \.text\+0x0+58
0+78 R_SH_IMM_HI16 \.text\+0x0+78
0+7c R_SH_IMM_MEDHI16 \.text\+0x0+78
0+80 R_SH_IMM_MEDLOW16 \.text\+0x0+78
0+84 R_SH_IMM_LOW16 \.text\+0x0+78
0+88 R_SH_IMM_HI16 \.text\+0x0+b0
0+8c R_SH_IMM_MEDHI16 \.text\+0x0+b0
0+90 R_SH_IMM_MEDLOW16 \.text\+0x0+b0
0+94 R_SH_IMM_LOW16 \.text\+0x0+b0
0+98 R_SH_IMM_HI16 myrodata3
0+9c R_SH_IMM_MEDHI16 myrodata3
0+a0 R_SH_IMM_MEDLOW16 myrodata3
0+a4 R_SH_IMM_LOW16 myrodata3
0+a8 R_SH_IMM_HI16 foo6\+0x0+2a
0+ac R_SH_IMM_MEDHI16 foo6\+0x0+2a
0+b0 R_SH_IMM_MEDLOW16 foo6\+0x0+2a
0+b4 R_SH_IMM_LOW16 foo6\+0x0+2a
RELOCATION RECORDS FOR \[\.rodata\]:
OFFSET TYPE VALUE
0+ R_SH_DIR32 \.text
0+4 R_SH_DIR32 \.text
0+8 R_SH_DIR32 \.rodata
0+c R_SH_DIR32 \.rodata
Contents of section \.text:
0000 cc000030 c8000030 c8000030 c8000030 .*
0010 cc000030 c8000030 c8000030 c8000030 .*
0020 cc000030 cc0001e0 c80001e0 c80001e0 .*
0030 c80001e0 cc0001e0 c80001e0 c80001e0 .*
0040 c80001e0 cc000030 cc000380 c8000380 .*
0050 c8000380 c8000380 cc000150 c8000150 .*
0060 c8000150 c8000150 cc0000a0 c80000a0 .*
0070 c80000a0 c80000a0 cc000210 c8000210 .*
0080 c8000210 c8000210 cc000080 c8000080 .*
0090 c8000080 c8000080 cc0002c0 c80002c0 .*
00a0 c80002c0 c80002c0 cc0001e0 c80001e0 .*
00b0 c80001e0 c80001e0 6ff0fff0 6ff0fff0 .*
00c0 6ff0fff0 .*
Contents of section \.rodata:
0000 00000088 000000d0 00000008 00000020 .*