Back to index

cell-binutils  2.17cvs20070401
reloc.d
Go to the documentation of this file.
00001 #objdump: -dr
00002 #name: D30V relocation test
00003 #as:
00004 
00005 .*: +file format elf32-d30v
00006 
00007 Disassembly of section .text:
00008 
00009 00000000 <start>:
00010        0:     88082000 80000028    add.l  r2, r0, 0x28
00011                      0: R_D30V_32  .text
00012        8:     88084000 80000000    add.l  r4, r0, 0x0
00013                      8: R_D30V_32  .data
00014       10:     88084000 80000006    add.l  r4, r0, 0x6
00015                      10: R_D30V_32 .data
00016       18:     88084000 80000000    add.l  r4, r0, 0x0
00017                      18: R_D30V_32 unk
00018       20:     80080000 80000018    bra.l  18     \(38 <cont>\)
00019 
00020 00000028 <hello>:
00021       28:     48656c6c 6f20576f    .long  0x48656c6c    ||     .long  0x6f20576f
00022       30:     726c640a 00f00000    .long  0x726c640a    ||     nop    
00023 
00024 00000038 <cont>:
00025       38:     80180000 80000048    jmp.l  48 <cont2>
00026                      38: R_D30V_32 .text
00027       40:     088020c0 00f00000    abs    r2, r3 ||     nop    
00028 
00029 00000048 <cont2>:
00030       48:     000bfff7 00f00000    bra.s  -48    \(0 <start>\) ||     nop    
00031       50:     00080205 00f00000    bra.s  1028   \(1078 <exit>\)      ||     nop    
00032       58:     00180000 00f00000    jmp.s  0 <start>     ||     nop    
00033       60:     006c1ffb 00f00000    bsrtnz.s      r1, -28       \(38 <cont>\) ||     nop    
00034       68:     006c1ffa 00f00000    bsrtnz.s      r1, -30       \(38 <cont>\) ||     nop    
00035       70:     004c1ff9 00f00000    bratnz.s      r1, -38       \(38 <cont>\) ||     nop    
00036       78:     004c1ff8 00f00000    bratnz.s      r1, -40       \(38 <cont>\) ||     nop    
00037       80:     005c1007 00f00000    jmptnz.s      r1, 38 <cont> ||     nop    
00038                      80: R_D30V_15 .text
00039       88:     006c11f1 00f00000    bsrtnz.s      r1, f88       \(1010 <foo>\)       ||     nop    
00040       90:     005c1000 00f00000    jmptnz.s      r1, 0 <start> ||     nop    
00041                      90: R_D30V_15 unk
00042       98:     006c1000 00f00000    bsrtnz.s      r1, 0  \(98 <cont2\+0x50>\) ||     nop    
00043                      98: R_D30V_15_PCREL  unk
00044       a0:     805c1000 80000000    jmptnz.l      r1, 0 <start>
00045                      a0: R_D30V_32 unk
00046       a8:     806c1000 80000000    bsrtnz.l      r1, 0  \(a8 <cont2\+0x60>\)
00047                      a8: R_D30V_32_PCREL  unk
00048       b0:     000801ec 00f00000    bra.s  f60    \(1010 <foo>\)       ||     nop    
00049       b8:     80080000 80000f58    bra.l  f58    \(1010 <foo>\)
00050       c0:     000bffe8 00f00000    bra.s  -c0    \(0 <start>\) ||     nop    
00051       c8:     80180000 80000000    jmp.l  0 <start>
00052                      c8: R_D30V_32 .text
00053       d0:     80180000 80000000    jmp.l  0 <start>
00054                      d0: R_D30V_32 .text
00055       d8:     00180000 00f00000    jmp.s  0 <start>     ||     nop    
00056                      d8: R_D30V_21 .text
00057       e0:     00180202 00f00000    jmp.s  1010 <foo>    ||     nop    
00058                      e0: R_D30V_21 .text
00059       e8:     000bffe3 00f00000    bra.s  -e8    \(0 <start>\) ||     nop    
00060       f0:     80080000 80000000    bra.l  0      \(f0 <cont2\+0xa8>\)
00061                      f0: R_D30V_32_PCREL  unknown
00062       f8:     80180000 80000000    jmp.l  0 <start>
00063                      f8: R_D30V_32 unknown
00064      100:     00180000 00f00000    jmp.s  0 <start>     ||     nop    
00065                      100: R_D30V_21       unknown
00066      108:     00080000 00f00000    bra.s  0      \(108 <cont2\+0xc0>\)       ||     nop    
00067                      108: R_D30V_21_PCREL unknown
00068        ...
00069 
00070 00001010 <foo>:
00071     1010:     08001000 00f00000    add.s  r1, r0, r0    ||     nop    
00072     1018:     846bc000 80001070    ld2w.l r60, @\(r0, 0x1070\)
00073                      1018: R_D30V_32      .text
00074     1020:     0803e000 8028000b    add.s  r62, r0, r0   ->     bsr.s  58     \(1078 <exit>\)
00075     1028:     002bfffd 00f00000    bsr.s  -18    \(1010 <foo>\)       ||     nop    
00076     1030:     000bfe03 00f00000    bra.s  -fe8   \(48 <cont2>\)       ||     nop    
00077     1038:     000bfe02 00f00000    bra.s  -ff0   \(48 <cont2>\)       ||     nop    
00078     1040:     00280007 00f00000    bsr.s  38     \(1078 <exit>\)      ||     nop    
00079     1048:     0018020f 00f00000    jmp.s  1078 <exit>   ||     nop    
00080                      1048: R_D30V_21      .text
00081     1050:     0018020f 00f00000    jmp.s  1078 <exit>   ||     nop    
00082                      1050: R_D30V_21      .text
00083     1058:     0018020f 00f00000    jmp.s  1078 <exit>   ||     nop    
00084                      1058: R_D30V_21      .text
00085     1060:     80280000 80000018    bsr.l  18     \(1078 <exit>\)
00086     1068:     80180000 80001078    jmp.l  1078 <exit>
00087                      1068: R_D30V_32      .text
00088 
00089 00001070 <longzero>:
00090        ...
00091 
00092 00001078 <exit>:
00093     1078:     0010003e 00f00000    jmp.s  r62    ||     nop