Back to index

cell-binutils  2.17cvs20070401
libdso-2.d
Go to the documentation of this file.
00001 #source: dso-1.s
00002 #source: dso-2.s
00003 #as: --pic --no-underscore --em=criself
00004 #ld: --shared -m crislinux --version-script $srcdir/$subdir/hide1
00005 #readelf: -S -s -r
00006 
00007 # Use "dsofn" from dso-1 in a GOTPLT reloc, but hide it in a
00008 # version script.  This will change the incoming GOTPLT reloc to
00009 # instead be a (local) GOT reloc.  There are no other .rela.got
00010 # entries.  This formerly SEGV:ed because .rela.got was created
00011 # too late to have it mapped to an output section.
00012 
00013 There are 13 section headers.*
00014 #...
00015   \[ 1\] \.hash             HASH     .*
00016   \[ 2\] \.dynsym           DYNSYM   .*
00017   \[ 3\] \.dynstr           STRTAB   .*
00018   \[ 4\] \.gnu\.version      VERSYM  .*
00019   \[ 5\] \.gnu\.version_d    VERDEF  .*
00020   \[ 6\] \.rela\.dyn         RELA    .*
00021   \[ 7\] \.text             PROGBITS .*
00022   \[ 8\] \.dynamic          DYNAMIC  .*
00023   \[ 9\] \.got              PROGBITS .*
00024   \[10\] \.shstrtab         STRTAB   .*
00025   \[11\] \.symtab           SYMTAB   .*
00026   \[12\] \.strtab           STRTAB   .*
00027 #...
00028 Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
00029 #...
00030 00002[12][0-9a-f][048c]  0000000c R_CRIS_RELATIVE                              00000150
00031 #...
00032 Symbol table '\.dynsym' contains 4 entries:
00033    Num:    Value  Size Type    Bind   Vis      Ndx Name
00034      0: 0+     0 NOTYPE  LOCAL  DEFAULT  UND 
00035      1: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    7 
00036      2: 0+     0 OBJECT  GLOBAL DEFAULT  ABS TST1
00037      3: 0+154     0 FUNC    GLOBAL DEFAULT    7 export_1@@TST1
00038 
00039 Symbol table '\.symtab' contains 18 entries:
00040    Num:    Value  Size Type    Bind   Vis      Ndx Name
00041      0: 0+     0 NOTYPE  LOCAL  DEFAULT  UND 
00042      1: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    1 
00043      2: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    2 
00044      3: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    3 
00045      4: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    4 
00046      5: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    5 
00047      6: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    6 
00048      7: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    7 
00049      8: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    8 
00050      9: [0-9a-f]+     0 SECTION LOCAL  DEFAULT    9 
00051     10: 0+2..[046c]     0 OBJECT  LOCAL  HIDDEN  ABS _DYNAMIC
00052     11: 0+2..[046c]     0 NOTYPE  LOCAL  DEFAULT  ABS __bss_start
00053     12: 0+2..[046c]     0 NOTYPE  LOCAL  DEFAULT  ABS _edata
00054     13: 0+2..[046c]     0 OBJECT  LOCAL  HIDDEN  ABS _GLOBAL_OFFSET_TABLE_
00055     14: 0+2..[046c]     0 NOTYPE  LOCAL  DEFAULT  ABS _end
00056     15: 0+150     0 FUNC    LOCAL  DEFAULT    7 dsofn
00057     16: 0+     0 OBJECT  GLOBAL DEFAULT  ABS TST1
00058     17: 0+154     0 FUNC    GLOBAL DEFAULT    7 export_1