Back to index

cell-binutils  2.17cvs20070401
datal32-3.d
Go to the documentation of this file.
00001 #as: --abi=32
00002 #objdump: -xsr
00003 #source: datal-3.s
00004 #name: DataLabel local def/use, SHmedia 32-bit ABI
00005 
00006 # We should have the st_type field of each symbol displayed too, so we can
00007 # check that STT_DATALABEL is set, but objdump doesn't do that at present,
00008 # and readelf isn't supported as a run_dump_test tool.
00009 
00010 .*:     file format .*-sh64.*
00011 .*
00012 architecture: sh5, flags 0x0+11:
00013 HAS_RELOC, HAS_SYMS
00014 start address 0x0+
00015 
00016 Sections:
00017 Idx Name          Size      VMA       LMA       File off  Algn
00018   0 \.text         0+6c  0+  0+  0+34  2\*\*0
00019                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
00020   1 \.data         0+  0+  0+  0+a0  2\*\*0
00021                   CONTENTS, ALLOC, LOAD, DATA
00022   2 \.bss          0+  0+  0+  0+a0  2\*\*0
00023                   ALLOC
00024   3 \.rodata       0+10  0+  0+  0+a0  2\*\*2
00025                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
00026 SYMBOL TABLE:
00027 0+ l    d  \.text    0+ (|\.text)
00028 0+ l    d  \.data    0+ (|\.data)
00029 0+ l    d  \.bss     0+ (|\.bss)
00030 0+ l       \.text    0+ 0x04 start
00031 0+30 l       \.text  0+ 0x04 foo
00032 0+38 l       \.text  0+ 0x04 foo2
00033 0+40 l       \.text  0+ 0x04 foo3
00034 0+ l    d  \.rodata  0+ (|\.rodata)
00035 0+48 l       \.text  0+ 0x04 foo4
00036 0+4 l       \.rodata 0+ myrodata1
00037 0+50 l       \.text  0+ 0x04 foo5
00038 0+8 l       \.rodata 0+ myrodata2
00039 0+c g       \.rodata 0+ myrodata3
00040 0+60 g       \.text  0+ 0x04 foo7
00041 0+60         \*UND\* 0+ foo7
00042 0+64 g       \.text  0+ 0x04 foo8
00043 0+64         \*UND\* 0+ foo8
00044 0+68 g       \.text  0+ 0x04 foo9
00045 0+68         \*UND\* 0+ foo9
00046 0+58 g       \.text  0+ 0x04 foo6
00047 0+58         \*UND\* 0+ foo6
00048 
00049 RELOCATION RECORDS FOR \[\.text\]:
00050 OFFSET  *TYPE  *VALUE 
00051 0+10 R_SH_IMM_MEDLOW16  \.text\+0x0+6e
00052 0+24 R_SH_IMM_MEDLOW16  foo9\+0x0+40
00053 0+00 R_SH_IMM_MEDLOW16  \.text\+0x0+30
00054 0+04 R_SH_IMM_LOW16    \.text\+0x0+30
00055 0+08 R_SH_IMM_MEDLOW16  \.text\+0x0+62
00056 0+0c R_SH_IMM_LOW16    \.text\+0x0+62
00057 0+14 R_SH_IMM_MEDLOW16  foo7\+0x0+2a
00058 0+18 R_SH_IMM_LOW16    foo7\+0x0+2a
00059 0+1c R_SH_IMM_MEDLOW16  foo8
00060 0+20 R_SH_IMM_LOW16    foo8
00061 0+28 R_SH_IMM_MEDLOW16  \.rodata\+0x0+4
00062 0+2c R_SH_IMM_LOW16    \.rodata\+0x0+4
00063 0+30 R_SH_IMM_MEDLOW16  \.rodata\+0x0+26
00064 0+34 R_SH_IMM_LOW16    \.rodata\+0x0+26
00065 0+38 R_SH_IMM_MEDLOW16  \.text\+0x0+30
00066 0+3c R_SH_IMM_LOW16    \.text\+0x0+30
00067 0+40 R_SH_IMM_MEDLOW16  \.text\+0x0+40
00068 0+44 R_SH_IMM_LOW16    \.text\+0x0+40
00069 0+48 R_SH_IMM_MEDLOW16  \.text\+0x0+70
00070 0+4c R_SH_IMM_LOW16    \.text\+0x0+70
00071 0+50 R_SH_IMM_MEDLOW16  myrodata3
00072 0+54 R_SH_IMM_LOW16    myrodata3
00073 0+58 R_SH_IMM_MEDLOW16  foo6\+0x0+2a
00074 0+5c R_SH_IMM_LOW16    foo6\+0x0+2a
00075 
00076 
00077 RELOCATION RECORDS FOR \[\.rodata\]:
00078 OFFSET  *TYPE  *VALUE 
00079 0+ R_SH_DIR32        \.text
00080 0+4 R_SH_DIR32        \.text
00081 0+8 R_SH_DIR32        \.rodata
00082 0+c R_SH_DIR32        \.rodata
00083 
00084 
00085 Contents of section \.text:
00086  0000 cc000030 c8000030 cc000030 c8000030  .*
00087  0010 cc000030 cc0001e0 c80001e0 cc0001e0  .*
00088  0020 c80001e0 cc000030 cc000380 c8000380  .*
00089  0030 cc000150 c8000150 cc0000a0 c80000a0  .*
00090  0040 cc000210 c8000210 cc000080 c8000080  .*
00091  0050 cc0002c0 c80002c0 cc0001e0 c80001e0  .*
00092  0060 6ff0fff0 6ff0fff0 6ff0fff0           .*
00093 Contents of section \.rodata:
00094  0000 00000048 00000088 00000008 00000020  .*