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  10100020   f_lo_iu
     15 1020000c  [^ ]+ R_MIPS_JUMP_SLOT  00000000   f_du
     16 10200010  [^ ]+ R_MIPS_JUMP_SLOT  00000000   f_iu_du
     17 10200014  [^ ]+ R_MIPS_JUMP_SLOT  10100050   f_lo_iu_du
     18 10200018  [^ ]+ R_MIPS_JUMP_SLOT  10100060   f_lo_du
     19 1020001c  [^ ]+ R_MIPS_JUMP_SLOT  10100070   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     .*: 10100020     0 FUNC    GLOBAL DEFAULT \[MIPS PLT\]   UND f_lo_iu
     29 #...
     30     .*: 00000000     0 FUNC    GLOBAL DEFAULT  UND f_du
     31     .*: 00000000     0 FUNC    GLOBAL DEFAULT  UND f_iu_du
     32     .*: 10100050     0 FUNC    GLOBAL DEFAULT \[MIPS PLT\]   UND f_lo_iu_du
     33     .*: 10100060     0 FUNC    GLOBAL DEFAULT \[MIPS PLT\]   UND f_lo_du
     34 #...
     35     .*: 10100070     0 FUNC    GLOBAL DEFAULT \[MIPS PLT\]   UND f_lo
     36 # The start of the GOT-mapped area.  This should only contain functions that
     37 # are accessed purely via the traditional psABI scheme.  The symbol value
     38 # is the address of the lazy-binding stub.
     39      9: 10101000     0 FUNC    GLOBAL DEFAULT  UND f_iu
     40 
     41 Symbol table '\.symtab' .*
     42 #...
     43 Primary GOT:
     44  Canonical gp value: 10208ff0
     45 
     46  Reserved entries:
     47    Address     Access  Initial Purpose
     48   10201000 -32752\(gp\) 00000000 Lazy resolver
     49   10201004 -32748\(gp\) 80000000 Module pointer \(GNU extension\)
     50 
     51 # See the disassembly output for the meaning of each entry.
     52  Local entries:
     53    Address     Access  Initial
     54   10201008 -32744\(gp\) 10100040
     55   1020100c -32740\(gp\) 10100020
     56   10201010 -32736\(gp\) 10100050
     57 
     58  Global entries:
     59    Address     Access  Initial Sym\.Val\. Type    Ndx Name
     60   10201014 -32732\(gp\) 10101000 10101000 FUNC    UND f_iu
     61 
     62 
     63 PLT GOT:
     64 
     65  Reserved entries:
     66    Address  Initial Purpose
     67   10200000 00000000 PLT lazy resolver
     68   10200004 00000000 Module pointer
     69 
     70  Entries:
     71    Address  Initial Sym\.Val\. Type    Ndx Name
     72   10200008 10100000 10100020 FUNC    UND f_lo_iu
     73   1020000c 10100000 00000000 FUNC    UND f_du
     74   10200010 10100000 00000000 FUNC    UND f_iu_du
     75   10200014 10100000 10100050 FUNC    UND f_lo_iu_du
     76   10200018 10100000 10100060 FUNC    UND f_lo_du
     77   1020001c 10100000 10100070 FUNC    UND f_lo
     78 
     79 
     80