bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 24 Sep 2013 22:15:38 +0000 (22:15 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Tue, 24 Sep 2013 22:15:38 +0000 (22:15 +0000)
2013-09-24  Gregory Fong  <gregory.0xf0@gmail.com>

* elfxx-mips.c (mips_elf_create_got_section): Hide
_GLOBAL_OFFSET_TABLE_.

ld/testsuite/
2013-09-24  Gregory Fong  <gregory.0xf0@gmail.com>

* ld-mips-elf/eh-frame5.d, ld-mips-elf/jalx-2.dd,
ld-mips-elf/mips-elf.exp, ld-mips-elf/mips16-pic-2.ad,
ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/pic-and-nonpic-3a.dd,
ld-mips-elf/pic-and-nonpic-3b.ad, ld-mips-elf/pic-and-nonpic-3b.dd,
ld-mips-elf/pic-and-nonpic-3b.nd, ld-mips-elf/pic-and-nonpic-4b.ad,
ld-mips-elf/pic-and-nonpic-4b.nd, ld-mips-elf/pic-and-nonpic-4b.rd,
ld-mips-elf/pic-and-nonpic-5b.ad, ld-mips-elf/pic-and-nonpic-5b.nd,
ld-mips-elf/pic-and-nonpic-6-n32.ad,
ld-mips-elf/pic-and-nonpic-6-n32.dd,
ld-mips-elf/pic-and-nonpic-6-n32.nd,
ld-mips-elf/pic-and-nonpic-6-n64.ad,
ld-mips-elf/pic-and-nonpic-6-n64.dd,
ld-mips-elf/pic-and-nonpic-6-n64.nd,
ld-mips-elf/pic-and-nonpic-6-o32.ad,
ld-mips-elf/pic-and-nonpic-6-o32.dd,
ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/rel32-n32.d,
ld-mips-elf/rel32-o32.d, ld-mips-elf/rel64.d,
ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r,
ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got,
ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got: Update
for removal of _GLOBAL_OFFSET_TABLE_ from .dynsym.

41 files changed:
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/eh-frame5.d
ld/testsuite/ld-mips-elf/jalx-2.dd
ld/testsuite/ld-mips-elf/mips-elf.exp
ld/testsuite/ld-mips-elf/mips16-pic-2.ad
ld/testsuite/ld-mips-elf/mips16-pic-2.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.rd
ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.nd
ld/testsuite/ld-mips-elf/rel32-n32.d
ld/testsuite/ld-mips-elf/rel32-o32.d
ld/testsuite/ld-mips-elf/rel64.d
ld/testsuite/ld-mips-elf/tls-multi-got-1.got
ld/testsuite/ld-mips-elf/tls-multi-got-1.r
ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got
ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got
ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got
ld/testsuite/ld-mips-elf/tlsdyn-o32.d
ld/testsuite/ld-mips-elf/tlsdyn-o32.got
ld/testsuite/ld-mips-elf/tlslib-o32-ver.got
ld/testsuite/ld-mips-elf/tlslib-o32.got

index ea5ea2802643c1ca7bf19ec16cac0496158e2a77..335bc7f06e2587f87840208eac9e66d522ee655d 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-24  Gregory Fong  <gregory.0xf0@gmail.com>
+
+       * elfxx-mips.c (mips_elf_create_got_section): Hide
+       _GLOBAL_OFFSET_TABLE_.
+
 2013-09-24  Alan Modra  <amodra@gmail.com>
 
        * elf32-mips.c (ELF_OSABI): Undef for vxworks.
index 5d7a7d706fe6909bb463df47bbebe22697084691..d7498e19b44af2c74edd7ac33e1b66bf601e9e0a 100644 (file)
@@ -5017,6 +5017,7 @@ mips_elf_create_got_section (bfd *abfd, struct bfd_link_info *info)
   h->non_elf = 0;
   h->def_regular = 1;
   h->type = STT_OBJECT;
+  h->other = (h->other & ~ELF_ST_VISIBILITY (-1)) | STV_HIDDEN;
   elf_hash_table (info)->hgot = h;
 
   if (info->shared
index 04a0af1088971b1584bed16b1ad838566224fd1e..da06c70d0d2256f067fcd191262f2e4ce517bd71 100644 (file)
@@ -1,3 +1,30 @@
+2013-09-24  Gregory Fong  <gregory.0xf0@gmail.com>
+
+       * ld-mips-elf/eh-frame5.d, ld-mips-elf/jalx-2.dd,
+       ld-mips-elf/mips-elf.exp, ld-mips-elf/mips16-pic-2.ad,
+       ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/pic-and-nonpic-3a.dd,
+       ld-mips-elf/pic-and-nonpic-3b.ad, ld-mips-elf/pic-and-nonpic-3b.dd,
+       ld-mips-elf/pic-and-nonpic-3b.nd, ld-mips-elf/pic-and-nonpic-4b.ad,
+       ld-mips-elf/pic-and-nonpic-4b.nd, ld-mips-elf/pic-and-nonpic-4b.rd,
+       ld-mips-elf/pic-and-nonpic-5b.ad, ld-mips-elf/pic-and-nonpic-5b.nd,
+       ld-mips-elf/pic-and-nonpic-6-n32.ad,
+       ld-mips-elf/pic-and-nonpic-6-n32.dd,
+       ld-mips-elf/pic-and-nonpic-6-n32.nd,
+       ld-mips-elf/pic-and-nonpic-6-n64.ad,
+       ld-mips-elf/pic-and-nonpic-6-n64.dd,
+       ld-mips-elf/pic-and-nonpic-6-n64.nd,
+       ld-mips-elf/pic-and-nonpic-6-o32.ad,
+       ld-mips-elf/pic-and-nonpic-6-o32.dd,
+       ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/rel32-n32.d,
+       ld-mips-elf/rel32-o32.d, ld-mips-elf/rel64.d,
+       ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r,
+       ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
+       ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
+       ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
+       ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got,
+       ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got: Update
+       for removal of _GLOBAL_OFFSET_TABLE_ from .dynsym.
+
 2013-09-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * ld-aarch64/eh-frame.d: Update expected output to allow for
index 9112466147701007cab501c2ec8e4d4dbc7a7ff1..e079cbc93ed0a3e98a743a315609989147d27179 100644 (file)
@@ -1,5 +1,5 @@
 
-Relocation section '.rel.dyn' at offset 0x101dc contains 8 entries:
+Relocation section '.rel.dyn' at offset 0x101b4 contains 8 entries:
  Offset     Info    Type            Sym.Value  Sym. Name
 00000000  .* R_MIPS_NONE *
 #
index 8119ab443ba61c9a565985e58e035cc1d31e3fb8..50ebdb8415e2481da80c41dea929d173f32972c1 100644 (file)
@@ -28,7 +28,7 @@ Disassembly of section \.text:
  4400034:      f89e 0020       sw      a0,32\(s8\)
  4400038:      f8be 0024       sw      a1,36\(s8\)
  440003c:      41a2 0440       lui     v0,0x440
- 4400040:      3082 0290       addiu   a0,v0,656
+ 4400040:      3082 0260       addiu   a0,v0,608
  4400044:      f620 004c       jal     4400098 <printf@micromipsplt>
  4400048:      0000 0000       nop
  440004c:      f620 0010       jal     4400020 <internal_function>
index 24ecf956ca57d6097d4a8c43fc0ecf0898aa1fc1..827181b4789d52d415b0f77b11784cfffd057e35 100644 (file)
@@ -514,8 +514,7 @@ if {[istarget mips*-*-linux*]} {
      #
      #     the null symbol entry
      #     the .MIPS.stubs section symbol
-     #     _GLOBAL_OFFSET_TABLE_
-     set base_syms 3
+     set base_syms 2
      foreach dynsym { 7fff 8000 fff0 10000 2fe80 } {
         run_ld_link_tests \
             [list [list \
index 5f746985d6f3958d6d424fcb1c4468a1b36f0b8e..52d3ea4c3b99f2b0a7948673c049f8d199c7081f 100644 (file)
@@ -1,6 +1,6 @@
 # [MIPS_GOTSYM, MIPS_SYMTABNO) covers used4...used7.
 #...
- .* \(MIPS_SYMTABNO\) * 9
+ .* \(MIPS_SYMTABNO\) * 8
 #...
- .* \(MIPS_GOTSYM\) * 0x5
+ .* \(MIPS_GOTSYM\) * 0x4
 #pass
index 540377b0d742c7994b3e56ebd76684d3a8bc54f5..bc2cd38ee9be49cbb7e7773ccbca02ec133e6622 100644 (file)
@@ -1,10 +1,9 @@
 # used8 should come before MIPS_GOTSYM.
 #...
  +3: 000405bc +36 +FUNC +GLOBAL +DEFAULT .* used8
- +4: .* _GLOBAL_OFFSET_TABLE_
- +5: 00040574 +36 +FUNC +GLOBAL +DEFAULT .* used6
- +6: 00040598 +36 +FUNC +GLOBAL +DEFAULT .* used7
- +7: 00040550 +36 +FUNC +GLOBAL +DEFAULT .* used5
- +8: 0004052c +36 +FUNC +GLOBAL +DEFAULT .* used4
+ +4: 00040574 +36 +FUNC +GLOBAL +DEFAULT .* used6
+ +5: 00040598 +36 +FUNC +GLOBAL +DEFAULT .* used7
+ +6: 00040550 +36 +FUNC +GLOBAL +DEFAULT .* used5
+ +7: 0004052c +36 +FUNC +GLOBAL +DEFAULT .* used4
 
 #pass
index b37a59327ab9d7fed06b86331409c5891cdeb631..dfb4b27bc600aa8672d5f3afb67ee01c27e78a8d 100644 (file)
@@ -35,5 +35,5 @@ Disassembly of section \.MIPS\.stubs:
  c00:  8f998010        lw      t9,-32752\(gp\)
  c04:  03e07821        move    t7,ra
  c08:  0320f809        jalr    t9
- c0c:  24180006        li      t8,6
+ c0c:  24180005        li      t8,5
        \.\.\.
index 0ad29a382b073bfd3cc0be19a0e8fc47c252c2fb..227d15d0cd994bf93ecbaf2445a27ae2e2277ab7 100644 (file)
@@ -16,10 +16,10 @@ Dynamic section at offset .* contains .*:
 # This must be the number of GOT entries - 1, the last entry being for "bar".
  0x7000000a \(MIPS_LOCAL_GOTNO\) * 3
 # This must be MIPS_GOTSYM + 1.
- 0x70000011 \(MIPS_SYMTABNO\) * 7
+ 0x70000011 \(MIPS_SYMTABNO\) * 6
  0x70000012 \(MIPS_UNREFEXTNO\) .*
 # This must be the index of "bar".
- 0x70000013 \(MIPS_GOTSYM\) * 0x6
+ 0x70000013 \(MIPS_GOTSYM\) * 0x5
  0x00000014 \(PLTREL\) * REL
  0x00000017 \(JMPREL\) * 0x43000
  0x00000002 \(PLTRELSZ\) * 8 \(bytes\)
index da79012541b85380bc9b819470e25de499efef1a..151b4d281769d99307be39571da8e5077c80a5c3 100644 (file)
@@ -49,5 +49,5 @@ Disassembly of section \.MIPS\.stubs:
 .*:    8f998010        lw      t9,-32752\(gp\)
 .*:    03e07821        move    t7,ra
 .*:    0320f809        jalr    t9
-.*:    24180006        li      t8,6
+.*:    24180005        li      t8,5
        \.\.\.
index ea2b1850cbc9f8cc50fbac848a288fe644d7ba9e..3f1f4c24bd838895c8b2495362b9bea3e1b734b8 100644 (file)
@@ -4,6 +4,6 @@ Symbol table '\.dynsym' contains .*:
 .*: 00000000 +0 +FUNC +GLOBAL +DEFAULT +UND +foo
 # The index on the next line should correspond to MIPS_GOTSYM.
 #...
- *6: 00044030 +0 +FUNC +GLOBAL +DEFAULT +UND +bar
+ *5: 00044030 +0 +FUNC +GLOBAL +DEFAULT +UND +bar
 
 #pass
index bbc80ec4a64f9cd76b02cdddc084f4ad7d22ed94..e14a2d3879682230220e3303062806c1cef1c478 100644 (file)
@@ -19,8 +19,8 @@ Dynamic section at offset .* contains .*:
 # This must be the number of GOT entries - 1, the last entry being for "obj3".
  0x7000000a \(MIPS_LOCAL_GOTNO\) * 2
 # This must be MIPS_GOTSYM + 1.
- 0x70000011 \(MIPS_SYMTABNO\) * 7
+ 0x70000011 \(MIPS_SYMTABNO\) * 6
  0x70000012 \(MIPS_UNREFEXTNO\) .*
 # This must be the index of "obj3".
- 0x70000013 \(MIPS_GOTSYM\) * 0x6
+ 0x70000013 \(MIPS_GOTSYM\) * 0x5
  0x00000000 \(NULL\) * 0x0
index 2e13dd9c9e7d95c4f2ee90b9a33fc514badf2a54..e528cc7ba076c5c9ea8888fd704d5431897e58e2 100644 (file)
@@ -7,6 +7,6 @@ Symbol table '\.dynsym' contains .*:
 .*: 000a2008 +4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +obj2
 # The index on the next line should correspond to MIPS_GOTSYM.
 #...
- *6: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +obj3
+ *5: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +obj3
 
 #pass
index 8c2c49c1f8fd86789a49317538b8062b7ef33009..ca3c0a577732f86fb968ddee0241b20d84c5afd6 100644 (file)
@@ -4,4 +4,4 @@ Relocation section '\.rel\.dyn' at offset .* contains .*:
 00000000 * 00000000 * R_MIPS_NONE *
 000a2000 * 0000017e * R_MIPS_COPY * 000a2000 * obj1
 000a2008 * 0000037e * R_MIPS_COPY * 000a2008 * obj2
-000a1004 * 00000603 * R_MIPS_REL32 * 00000000 * obj3
+000a1004 * 00000503 * R_MIPS_REL32 * 00000000 * obj3
index fcf0e31c741a3286313cd8594d1a23659b8b109e..d7a672fcbe85b6e5c9e0c58923fef4192e6e98d0 100644 (file)
@@ -22,9 +22,9 @@ Dynamic section at offset .* contains .*:
 # for "bar" and "obj2".
  0x7000000a \(MIPS_LOCAL_GOTNO\) * 2
 # This must be MIPS_GOTSYM + 2.
- 0x70000011 \(MIPS_SYMTABNO\) * 9
+ 0x70000011 \(MIPS_SYMTABNO\) * 8
  0x70000012 \(MIPS_UNREFEXTNO\) * .*
- 0x70000013 \(MIPS_GOTSYM\) * 0x7
+ 0x70000013 \(MIPS_GOTSYM\) * 0x6
  0x00000014 \(PLTREL\) * REL
  0x00000017 \(JMPREL\) * 0x43030
  0x00000002 \(PLTRELSZ\) * 8 \(bytes\)
index 4f389b4e35e83347007351e8d331931df9e46182..d1ce8d4e7090e9bf6aa4a09a234e9b56e0b90ff4 100644 (file)
@@ -4,7 +4,7 @@ Symbol table '\.dynsym' contains .*:
 .*: 00043060 +0 +FUNC +GLOBAL +DEFAULT +\[MIPS PLT\] +UND +foo
 # The index on the next line should correspond to MIPS_GOTSYM.
 #...
- *7: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +obj2
- *8: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +bar
+ *6: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +obj2
+ *7: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +bar
 
 #pass
index 9399c4738b38a21b01deb24cb08afbe562505e2d..fab55813caf30adad76d4c5e15e769214fc8671a 100644 (file)
@@ -17,9 +17,9 @@ Dynamic section at offset .* contains .*:
  0x70000005 \(MIPS_FLAGS\) * NOTPOT
  0x70000006 \(MIPS_BASE_ADDRESS\) * 0x40000
  0x7000000a \(MIPS_LOCAL_GOTNO\) * 2
- 0x70000011 \(MIPS_SYMTABNO\) * 13
+ 0x70000011 \(MIPS_SYMTABNO\) * 12
  0x70000012 \(MIPS_UNREFEXTNO\) * .*
- 0x70000013 \(MIPS_GOTSYM\) * 0x6
+ 0x70000013 \(MIPS_GOTSYM\) * 0x5
  0x00000014 \(PLTREL\) * REL
  0x00000017 \(JMPREL\) * 0x43028
  0x00000002 \(PLTRELSZ\) * 24 \(bytes\)
index dfab46c04b50d29430bfbbea567a5b6c7d5c36bd..df8d02a6a99d03cef5a970d1d2e3d876fa322bc5 100644 (file)
@@ -98,5 +98,5 @@ Disassembly of section \.MIPS\.stubs:
    440a0:      8f998010        lw      t9,-32752\(gp\)
    440a4:      03e07821        move    t3,ra
    440a8:      0320f809        jalr    t9
-   440ac:      24180009        li      t8,9
+   440ac:      24180008        li      t8,8
        \.\.\.
index 4b807b5e40f86937ae66cde155831f54615bb936..07bfa6b08c4d907e2052436a5206fc00f1948776 100644 (file)
@@ -6,12 +6,12 @@ Symbol table '\.dynsym' contains .*:
 # and the remaining symbols should have the same order as the
 # GOT layout given in the *.dd dump.
 #...
- *6: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2
- *7: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3
- *8: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2
- *9: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1
- *10: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1
- *11: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4
- *12: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4
+ *5: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2
+ *6: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3
+ *7: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2
+ *8: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1
+ *9: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1
+ *10: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4
+ *11: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4
 
 #pass
index d4b95339d138d576ad7ec22f324be8d4a44a4449..555048326b1034cc9937bb610358ee6f31d25a9a 100644 (file)
@@ -17,9 +17,9 @@ Dynamic section at offset .* contains .*:
  0x0+70000005 \(MIPS_FLAGS\) * NOTPOT
  0x0+70000006 \(MIPS_BASE_ADDRESS\) * 0x40000
  0x0+7000000a \(MIPS_LOCAL_GOTNO\) * 2
- 0x0+70000011 \(MIPS_SYMTABNO\) * 13
+ 0x0+70000011 \(MIPS_SYMTABNO\) * 12
  0x0+70000012 \(MIPS_UNREFEXTNO\) * .*
- 0x0+70000013 \(MIPS_GOTSYM\) * 0x6
+ 0x0+70000013 \(MIPS_GOTSYM\) * 0x5
  0x0+00000014 \(PLTREL\) * REL
  0x0+00000017 \(JMPREL\) * 0x43050
  0x0+00000002 \(PLTRELSZ\) * 48 \(bytes\)
index 287e558188c2c8a368f22b44b7c32e23b0f06a52..248062366f625af5f5ba0cfca35c770d0e310bff 100644 (file)
@@ -98,5 +98,5 @@ Disassembly of section \.MIPS\.stubs:
    440a0:      df998010        ld      t9,-32752\(gp\)
    440a4:      03e0782d        move    t3,ra
    440a8:      0320f809        jalr    t9
-   440ac:      64180009        daddiu  t8,zero,9
+   440ac:      64180008        daddiu  t8,zero,8
        \.\.\.
index b511d43a4912b0befa103e2213a2d6a32ae18a1e..867389b77ec27de0f6a1e71dca8eb77d0b20cc84 100644 (file)
@@ -6,12 +6,12 @@ Symbol table '\.dynsym' contains .*:
 # and the remaining symbols should have the same order as the
 # GOT layout given in the *.dd dump.
 #...
- *6: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2
- *7: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3
- *8: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2
- *9: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1
- *10: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1
- *11: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4
- *12: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4
+ *5: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2
+ *6: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3
+ *7: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2
+ *8: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1
+ *9: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1
+ *10: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4
+ *11: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4
 
 #pass
index 9399c4738b38a21b01deb24cb08afbe562505e2d..fab55813caf30adad76d4c5e15e769214fc8671a 100644 (file)
@@ -17,9 +17,9 @@ Dynamic section at offset .* contains .*:
  0x70000005 \(MIPS_FLAGS\) * NOTPOT
  0x70000006 \(MIPS_BASE_ADDRESS\) * 0x40000
  0x7000000a \(MIPS_LOCAL_GOTNO\) * 2
- 0x70000011 \(MIPS_SYMTABNO\) * 13
+ 0x70000011 \(MIPS_SYMTABNO\) * 12
  0x70000012 \(MIPS_UNREFEXTNO\) * .*
- 0x70000013 \(MIPS_GOTSYM\) * 0x6
+ 0x70000013 \(MIPS_GOTSYM\) * 0x5
  0x00000014 \(PLTREL\) * REL
  0x00000017 \(JMPREL\) * 0x43028
  0x00000002 \(PLTRELSZ\) * 24 \(bytes\)
index 5002d52d3e6a2957e229b192213f7cc245a6e937..7f101ac22d2e88dcbfbd7d344b82df6dc5b93042 100644 (file)
@@ -98,5 +98,5 @@ Disassembly of section \.MIPS\.stubs:
    440a0:      8f998010        lw      t9,-32752\(gp\)
    440a4:      03e07821        move    t7,ra
    440a8:      0320f809        jalr    t9
-   440ac:      24180009        li      t8,9
+   440ac:      24180008        li      t8,8
        \.\.\.
index 4b807b5e40f86937ae66cde155831f54615bb936..07bfa6b08c4d907e2052436a5206fc00f1948776 100644 (file)
@@ -6,12 +6,12 @@ Symbol table '\.dynsym' contains .*:
 # and the remaining symbols should have the same order as the
 # GOT layout given in the *.dd dump.
 #...
- *6: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2
- *7: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3
- *8: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2
- *9: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1
- *10: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1
- *11: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4
- *12: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4
+ *5: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2
+ *6: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3
+ *7: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2
+ *8: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1
+ *9: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1
+ *10: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4
+ *11: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4
 
 #pass
index ba83d51832bbfecf0d8b6895303588fee6ac0a87..43c2632d7322889e506f2bb5a0c315c94de2cd8f 100644 (file)
@@ -10,6 +10,6 @@ Relocation section '.rel.dyn' at offset .* contains 2 entries:
 [0-9a-f ]+R_MIPS_REL32     
 
 Hex dump of section '.text':
-  0x000002d0 00000000 00000000 00000000 00000000 ................
-  0x000002e0 000002e0 00000000 00000000 00000000 ................
-  0x000002f0 00000000 00000000 00000000 00000000 ................
+  0x000002a0 00000000 00000000 00000000 00000000 ................
+  0x000002b0 000002b0 00000000 00000000 00000000 ................
+  0x000002c0 00000000 00000000 00000000 00000000 ................
index ac82459519a69b23a7fa02c9adedfd81eec055d2..0103d7995c176c1315814c45269d595012001ad5 100644 (file)
@@ -10,6 +10,6 @@ Relocation section '.rel.dyn' at offset .* contains 2 entries:
 [0-9a-f ]+R_MIPS_REL32     
 
 Hex dump of section '.text':
+  0x000002a0 00000000 00000000 00000000 00000000 ................
+  0x000002b0 000002b0 00000000 00000000 00000000 ................
   0x000002c0 00000000 00000000 00000000 00000000 ................
-  0x000002d0 000002d0 00000000 00000000 00000000 ................
-  0x000002e0 00000000 00000000 00000000 00000000 ................
index 595762f0d9821df000fa8aef466e88cd027604a6..89df314f765b212d077cfdcd0f1379816fc0d5a6 100644 (file)
@@ -14,6 +14,6 @@ Relocation section '.rel.dyn' at offset .* contains 2 entries:
  +Type3: R_MIPS_NONE      
 
 Hex dump of section '.text':
-  0x00000430 00000000 00000000 00000000 00000000 ................
-  0x00000440 00000000 00000440 00000000 00000000 ................
-  0x00000450 00000000 00000000 00000000 00000000 ................
+  0x00000400 00000000 00000000 00000000 00000000 ................
+  0x00000410 00000000 00000410 00000000 00000000 ................
+  0x00000420 00000000 00000000 00000000 00000000 ................
index 95b56c2b47513e235fcb949d75a5672e5a6d383a..9666adaa47c9890dd76f518e90b09596289e0357 100644 (file)
@@ -4,33 +4,33 @@
 DYNAMIC RELOCATION RECORDS
 OFFSET   TYPE              VALUE 
 00000000 R_MIPS_NONE       \*ABS\*
-0013f820 R_MIPS_TLS_DTPMOD32  \*ABS\*
-0014947c R_MIPS_TLS_DTPMOD32  \*ABS\*
-0013f828 R_MIPS_TLS_DTPMOD32  tlsvar_gd
-0013f82c R_MIPS_TLS_DTPREL32  tlsvar_gd
-00149488 R_MIPS_TLS_DTPMOD32  tlsvar_gd
-0014948c R_MIPS_TLS_DTPREL32  tlsvar_gd
-0013f830 R_MIPS_TLS_TPREL32  tlsvar_ie
-00149484 R_MIPS_TLS_TPREL32  tlsvar_ie
-00143ea8 R_MIPS_REL32      sym_1_9526
+0013f7f0 R_MIPS_TLS_DTPMOD32  \*ABS\*
+0014944c R_MIPS_TLS_DTPMOD32  \*ABS\*
+0013f7f8 R_MIPS_TLS_DTPMOD32  tlsvar_gd
+0013f7fc R_MIPS_TLS_DTPREL32  tlsvar_gd
+00149458 R_MIPS_TLS_DTPMOD32  tlsvar_gd
+0014945c R_MIPS_TLS_DTPREL32  tlsvar_gd
+0013f800 R_MIPS_TLS_TPREL32  tlsvar_ie
+00149454 R_MIPS_TLS_TPREL32  tlsvar_ie
+00143e78 R_MIPS_REL32      sym_1_9526
 #...
-00139a84 R_MIPS_REL32      sym_2_8654
+00139a54 R_MIPS_REL32      sym_2_8654
 
 
 Contents of section .got:
- 122350 00000000 80000000 000d7f88 000d65e4  .*
- 122360 000d1f94 000d6000 000d5a38 000d19b0  .*
+ 122320 00000000 80000000 000d7f58 000d65b4  .*
+ 122330 000d1f64 000d5fd0 000d5a08 000d1980  .*
 #...
- 135bd0 000cf1f4 000e0e38 00000000 80000000  .*
- 135be0 00000000 00000000 00000000 00000000  .*
+ 135ba0 000cf1c4 000e0e08 00000000 80000000  .*
+ 135bb0 00000000 00000000 00000000 00000000  .*
 #...
- 13f810 00000000 00000000 00000000 00000000  .*
- 13f820 00000000 00000000 00000000 00000000  .*
- 13f830 00000000 00000000 80000000 00000000  .*
+ 13f7e0 00000000 00000000 00000000 00000000  .*
+ 13f7f0 00000000 00000000 00000000 00000000  .*
+ 13f800 00000000 00000000 80000000 00000000  .*
 #...
+ 149410 00000000 00000000 00000000 00000000  .*
+ 149420 00000000 00000000 00000000 00000000  .*
+ 149430 00000000 00000000 00000000 00000000  .*
  149440 00000000 00000000 00000000 00000000  .*
  149450 00000000 00000000 00000000 00000000  .*
- 149460 00000000 00000000 00000000 00000000  .*
- 149470 00000000 00000000 00000000 00000000  .*
- 149480 00000000 00000000 00000000 00000000  .*
 #pass
index b69ea70a5f774f4db33cdb41424faedcea387fba..aea3d2de3d5c6640f28ec57f2b7bfa7338927e2c 100644 (file)
@@ -4,19 +4,19 @@ Dynamic section at offset .* contains 18 entries:
  0x00000004 \(HASH\)                       0x1c4
  0x00000005 \(STRTAB\).*
  0x00000006 \(SYMTAB\).*
- 0x0000000a \(STRSZ\)                      220087 \(bytes\)
+ 0x0000000a \(STRSZ\)                      220065 \(bytes\)
  0x0000000b \(SYMENT\)                     16 \(bytes\)
- 0x00000003 \(PLTGOT\)                     0x122350
- 0x00000011 \(REL\)                        0xa7960
+ 0x00000003 \(PLTGOT\)                     0x122320
+ 0x00000011 \(REL\)                        0xa7938
  0x00000012 \(RELSZ\)                      160072 \(bytes\)
  0x00000013 \(RELENT\)                     8 \(bytes\)
  0x70000001 \(MIPS_RLD_VERSION\)           1
  0x70000005 \(MIPS_FLAGS\)                 NOTPOT
  0x70000006 \(MIPS_BASE_ADDRESS\)          0x0
  0x7000000a \(MIPS_LOCAL_GOTNO\)           2
- 0x70000011 \(MIPS_SYMTABNO\)              20012
+ 0x70000011 \(MIPS_SYMTABNO\)              20011
  0x70000012 \(MIPS_UNREFEXTNO\)            10
- 0x70000013 \(MIPS_GOTSYM\)                0xc
+ 0x70000013 \(MIPS_GOTSYM\)                0xb
  0x0000001e \(FLAGS\)                      STATIC_TLS
  0x00000000 \(NULL\)                       0x0
 
@@ -31,8 +31,8 @@ Relocation section '\.rel\.dyn' at offset 0x[0-9a-f]+ contains 20009 entries:
 [0-9a-f ]+R_MIPS_TLS_DTPREL 00000000   tlsvar_gd
 [0-9a-f ]+R_MIPS_TLS_TPREL3 00000004   tlsvar_ie
 [0-9a-f ]+R_MIPS_TLS_TPREL3 00000004   tlsvar_ie
-[0-9a-f ]+R_MIPS_REL32      000d7f88   sym_1_9526
-[0-9a-f ]+R_MIPS_REL32      000d65e4   sym_1_7885
+[0-9a-f ]+R_MIPS_REL32      000d7f58   sym_1_9526
+[0-9a-f ]+R_MIPS_REL32      000d65b4   sym_1_7885
 #...
-[0-9a-f ]+R_MIPS_REL32      000cf1f4   sym_1_0465
-[0-9a-f ]+R_MIPS_REL32      000e0e38   sym_2_8654
+[0-9a-f ]+R_MIPS_REL32      000cf1c4   sym_1_0465
+[0-9a-f ]+R_MIPS_REL32      000e0e08   sym_2_8654
index 77c210f052464a76ff648397374558abfb86ee2d..ca52d8b18c0f992f22ce82321684efba9b3c9793 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section .text:
 
 .* <__start>:
   .*:  3c1c0fc0        lui     gp,0xfc0
-  .*:  279c7c10        addiu   gp,gp,31760
+  .*:  279c7c40        addiu   gp,gp,31808
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
@@ -55,7 +55,7 @@ Disassembly of section .text:
 
 .* <other>:
   .*:  3c1c0fc0        lui     gp,0xfc0
-  .*:  279c7b50        addiu   gp,gp,31568
+  .*:  279c7b80        addiu   gp,gp,31616
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
index fe067080b280331fa7591b46c7ce2a5a243b5c28..d70fdd0bb30dd6418c6eb68e3e13932a418e6eb0 100644 (file)
@@ -13,6 +13,6 @@ OFFSET   TYPE              VALUE
 
 
 Contents of section .got:
- 10000020 00000000 80000000 004004ac 00000000  .........@......
+ 10000020 00000000 80000000 0040047c 00000000  ................
  10000030 00000000 00000000 00000000 00000000  ................
  10000040 00000000 00000001 00000000           ............    
index 77c210f052464a76ff648397374558abfb86ee2d..ca52d8b18c0f992f22ce82321684efba9b3c9793 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section .text:
 
 .* <__start>:
   .*:  3c1c0fc0        lui     gp,0xfc0
-  .*:  279c7c10        addiu   gp,gp,31760
+  .*:  279c7c40        addiu   gp,gp,31808
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
@@ -55,7 +55,7 @@ Disassembly of section .text:
 
 .* <other>:
   .*:  3c1c0fc0        lui     gp,0xfc0
-  .*:  279c7b50        addiu   gp,gp,31568
+  .*:  279c7b80        addiu   gp,gp,31616
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
index 58502a78426c709d91fc12753dec328c2d6e5289..6b00157628531a4a32d93cd8f019634c27a885e1 100644 (file)
@@ -13,6 +13,6 @@ OFFSET   TYPE              VALUE
 
 
 Contents of section .got:
- 10000020 00000000 80000000 004004ac 00000000  .*
+ 10000020 00000000 80000000 0040047c 00000000  .*
  10000030 00000000 00000000 00000000 00000000  .*
  10000040 00000000 00000001 00000000           .*
index 5c1ffe406c2df279cf80d9134fe5276faca0bc41..78eb882552118d5c4d1a0fbbfb0e3d9cec24603c 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section .text:
 
 .* <other>:
   .*:  3c1c0fc0        lui     gp,0xfc0
-  .*:  279c7c10        addiu   gp,gp,31760
+  .*:  279c7c40        addiu   gp,gp,31808
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
@@ -51,7 +51,7 @@ Disassembly of section .text:
 
 .* <__start>:
   .*:  3c1c0fc0        lui     gp,0xfc0
-  .*:  279c7b60        addiu   gp,gp,31584
+  .*:  279c7b90        addiu   gp,gp,31632
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
index 9980d3c6ddfc36d442b2ddab97eb01be2bb35f5b..01eb44f98c506e4bd7b20844765b44ace94874a6 100644 (file)
@@ -13,6 +13,6 @@ OFFSET   TYPE              VALUE
 
 
 Contents of section .got:
- 10000020 00000000 80000000 0040055c 00000000  .*
+ 10000020 00000000 80000000 0040052c 00000000  .*
  10000030 00000000 00000000 00000000 00000000  .*
  10000040 00000000 00000001 00000000           .*
index b346409ac5b206413762daff03e335635fc555c9..699035bb3c650949efde0cdd74ddb1e78c5b2271 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section .text:
 
 .* <__start>:
   .*:  3c1c0fc0        lui     gp,0xfc0
-  .*:  279c7bc0        addiu   gp,gp,31680
+  .*:  279c7bf0        addiu   gp,gp,31728
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
index 395b0702c0b0c4b1e4f9a9da0dbc5c7f3e0abe6f..a1587a69e9cf63437014e9babc0646cd105eabe3 100644 (file)
@@ -13,6 +13,6 @@ OFFSET   TYPE              VALUE
 
 
 Contents of section .got:
- 10000020 00000000 80000000 004004fc 00000000  ................
+ 10000020 00000000 80000000 004004cc 00000000  ................
  10000030 00000000 00000000 00000001 00000000  ................
  10000040 00000000 00000000 00000000           ............    
index e4b26c8b34c782f399afd1832333f07d60ea6116..a5b08019b93cd63ff26758368a1127e0aa1f0346 100644 (file)
@@ -4,12 +4,12 @@
 DYNAMIC RELOCATION RECORDS
 OFFSET   TYPE              VALUE 
 00000000 R_MIPS_NONE       \*ABS\*
-00040508 R_MIPS_TLS_DTPMOD32  \*ABS\*
-00040500 R_MIPS_TLS_DTPMOD32  tlsvar_gd
-00040504 R_MIPS_TLS_DTPREL32  tlsvar_gd
-000404fc R_MIPS_TLS_TPREL32  tlsvar_ie
+000404d8 R_MIPS_TLS_DTPMOD32  \*ABS\*
+000404d0 R_MIPS_TLS_DTPMOD32  tlsvar_gd
+000404d4 R_MIPS_TLS_DTPREL32  tlsvar_gd
+000404cc R_MIPS_TLS_TPREL32  tlsvar_ie
 
 
 Contents of section .got:
- 404f0 00000000 80000000 000004c0 00000000  ................
- 40500 00000000 00000000 00000000 00000000  ................
+ 404c0 00000000 80000000 00000490 00000000  ................
+ 404d0 00000000 00000000 00000000 00000000  ................
index 6ac910f7f07391a02beb84aca1c4f4701bb428fb..ad90fb019ece558ceecbef8ed6fa9c12275d52cd 100644 (file)
@@ -4,12 +4,12 @@ tmpdir/tlslib-o32.so:     file format elf32-tradbigmips
 DYNAMIC RELOCATION RECORDS
 OFFSET   TYPE              VALUE 
 00000000 R_MIPS_NONE       \*ABS\*
-00040468 R_MIPS_TLS_DTPMOD32  \*ABS\*
-00040460 R_MIPS_TLS_DTPMOD32  tlsvar_gd
-00040464 R_MIPS_TLS_DTPREL32  tlsvar_gd
-0004045c R_MIPS_TLS_TPREL32  tlsvar_ie
+00040448 R_MIPS_TLS_DTPMOD32  \*ABS\*
+00040440 R_MIPS_TLS_DTPMOD32  tlsvar_gd
+00040444 R_MIPS_TLS_DTPREL32  tlsvar_gd
+0004043c R_MIPS_TLS_TPREL32  tlsvar_ie
 
 
 Contents of section .got:
- 40450 00000000 80000000 00000420 00000000  ................
- 40460 00000000 00000000 00000000 00000000  ................
+ 40430 00000000 80000000 00000400 00000000  ................
+ 40440 00000000 00000000 00000000 00000000  ................
This page took 0.049066 seconds and 4 git commands to generate.