Home | History | Annotate | Download | only in ld-mips-elf
      1 
      2 Dynamic section .*
      3 #...
      4  0x00000003 \(PLTGOT\)                     0x10201000
      5 #...
      6  0x70000013 \(MIPS_GOTSYM\)                0x9
      7  0x00000014 \(PLTREL\)                     REL
      8  0x00000017 \(JMPREL\)                     0x10004000
      9  0x00000002 \(PLTRELSZ\)                   48 \(bytes\)
     10  0x70000032 \(MIPS_PLTGOT\)                0x10200000
     11 #...
     12 Relocation section '\.rel\.plt' .*
     13  Offset     Info    Type            Sym\.Value  Sym\. Name
     14 10200008  [^ ]+ R_MIPS_JUMP_SLOT  10100019   f_lo_ic
     15 1020000c  [^ ]+ R_MIPS_JUMP_SLOT  10100025   f_lo_dc
     16 10200010  [^ ]+ R_MIPS_JUMP_SLOT  00000000   f_dc
     17 10200014  [^ ]+ R_MIPS_JUMP_SLOT  00000000   f_ic_dc
     18 10200018  [^ ]+ R_MIPS_JUMP_SLOT  10100049   f_lo_ic_dc
     19 1020001c  [^ ]+ R_MIPS_JUMP_SLOT  10100055   f_lo
     20 
     21 Symbol table '\.dynsym' .*
     22    Num:    Value  Size Type    Bind   Vis      Ndx Name
     23      0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     24 # _lo symbols have their address taken, so their PLT symbols need to have
     25 # a nonzero value.  They must also have STO_MIPS_PLT in order to distinguish
     26 # them from old-style lazy-binding stubs.  Non-_lo symbols are only called,
     27 # so their PLT symbols should have a zero value and no STO_MIPS_PLT annotation.
     28 #
     29 # All PLTs should be microMIPS.
     30 #...
     31     .*: 10100019     0 FUNC    GLOBAL DEFAULT \[MIPS PLT\]   UND f_lo_ic
     32     .*: 10100025     0 FUNC    GLOBAL DEFAULT \[MIPS PLT\]   UND f_lo_dc
     33     .*: 00000000     0 FUNC    GLOBAL DEFAULT  UND f_dc
     34     .*: 00000000     0 FUNC    GLOBAL DEFAULT  UND f_ic_dc
     35 #...
     36     .*: 10100049     0 FUNC    GLOBAL DEFAULT \[MIPS PLT\]   UND f_lo_ic_dc
     37     .*: 10100055     0 FUNC    GLOBAL DEFAULT \[MIPS PLT\]   UND f_lo
     38 # The start of the GOT-mapped area.  This should only contain functions that
     39 # are accessed purely via the traditional psABI scheme.  The symbol value
     40 # is the address of the lazy-binding stub.
     41      9: 10101001     0 FUNC    GLOBAL DEFAULT  UND f_ic
     42 
     43 Symbol table '\.symtab' .*
     44 #...
     45 Primary GOT:
     46  Canonical gp value: 10208ff0
     47 
     48  Reserved entries:
     49    Address     Access  Initial Purpose
     50   10201000 -32752\(gp\) 00000000 Lazy resolver
     51   10201004 -32748\(gp\) 80000000 Module pointer \(GNU extension\)
     52 
     53 # See the disassembly output for the meaning of each entry.
     54  Local entries:
     55    Address     Access  Initial
     56   10201008 -32744\(gp\) 1010003d
     57   1020100c -32740\(gp\) 10100019
     58   10201010 -32736\(gp\) 10100049
     59 
     60  Global entries:
     61    Address     Access  Initial Sym\.Val\. Type    Ndx Name
     62   10201014 -32732\(gp\) 10101001 10101001 FUNC    UND f_ic
     63 
     64 
     65 PLT GOT:
     66 
     67  Reserved entries:
     68    Address  Initial Purpose
     69   10200000 00000000 PLT lazy resolver
     70   10200004 00000000 Module pointer
     71 
     72  Entries:
     73    Address  Initial Sym\.Val\. Type    Ndx Name
     74   10200008 10100001 10100019 FUNC    UND f_lo_ic
     75   1020000c 10100001 10100025 FUNC    UND f_lo_dc
     76   10200010 10100001 00000000 FUNC    UND f_dc
     77   10200014 10100001 00000000 FUNC    UND f_ic_dc
     78   10200018 10100001 10100049 FUNC    UND f_lo_ic_dc
     79   1020001c 10100001 10100055 FUNC    UND f_lo
     80 
     81 
     82