testsuite: Handle composed R_MIPS_NONE relocations
authorYunQiang Su <yunqiang.su@cipunited.com>
Fri, 28 Jul 2023 05:00:36 +0000 (06:00 +0100)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Fri, 28 Jul 2023 05:00:36 +0000 (06:00 +0100)
MIPS n64 ABI has a peculiarity where all relocations are composed of
three, with subsequent relocation types set to R_MIPS_NONE if further
calculation is not required.  Example output produced by `readelf' and
`objdump' for such relocations is:

  Offset          Info           Type           Sym. Value    Sym. Name + Addend
000000000000  000800000002 R_MIPS_32         0000000000000000 foo + 0
                    Type2: R_MIPS_NONE
                    Type3: R_MIPS_NONE

and:

OFFSET           TYPE              VALUE
0000000000000000 R_MIPS_32         foo
0000000000000000 R_MIPS_NONE       *ABS*
0000000000000000 R_MIPS_NONE       *ABS*

respectively.  The presence of these extra R_MIPS_NONE entries is not
relevant for generic or even some MIPS tests, so optionally match them
with the respective dump patterns, also discarding `xfail' annotation
for MIPS/OpenBSD targets from gas/elf/missing-build-notes.d, removing
these regressions:

mips64-openbsd  -FAIL: readelf -r bintest
mips64-openbsd  -FAIL: forward expression
mips64-openbsd  -FAIL: assignment tests
mips64-openbsd  -FAIL: gas/all/none
mips64-openbsd  -XFAIL: gas/elf/missing-build-notes
mips64-openbsd  -FAIL: macro test 2
mips64-openbsd  -FAIL: macro irp
mips64-openbsd  -FAIL: macro rept
mips64-openbsd  -FAIL: nested irp/irpc/rept
mips64-openbsd  -FAIL: macro vararg
mips64-openbsd  -FAIL: mips jalx
mips64-openbsd  -FAIL: ST Microelectronics Loongson-2F workarounds of Jump Instruction issue
mips64el-openbsd  -FAIL: readelf -r bintest
mips64el-openbsd  -FAIL: forward expression
mips64el-openbsd  -FAIL: assignment tests
mips64el-openbsd  -FAIL: gas/all/none
mips64el-openbsd  -XFAIL: gas/elf/missing-build-notes
mips64el-openbsd  -FAIL: macro test 2
mips64el-openbsd  -FAIL: macro irp
mips64el-openbsd  -FAIL: macro rept
mips64el-openbsd  -FAIL: nested irp/irpc/rept
mips64el-openbsd  -FAIL: macro vararg
mips64el-openbsd  -FAIL: mips jalx
mips64el-openbsd  -FAIL: ST Microelectronics Loongson-2F workarounds of Jump Instruction issue

Co-Authored-By: Maciej W. Rozycki <macro@orcam.me.uk>
binutils/
* testsuite/binutils-all/readelf.r-64: Optionally match extra
R_MIPS_NONE pairs.

gas/
* testsuite/gas/all/assign.d: Optionally match extra
R_MIPS_NONE pairs.
* testsuite/gas/all/fwdexp.d: Likewise.
* testsuite/gas/all/none.d: Likewise.
* testsuite/gas/macros/irp.d: Likewise.
* testsuite/gas/macros/repeat.d: Likewise.
* testsuite/gas/macros/rept.d: Likewise.
* testsuite/gas/macros/test2.d: Likewise.
* testsuite/gas/macros/vararg.d: Likewise.
* testsuite/gas/mips/compact-eh-eb-1.d: Likewise.
* testsuite/gas/mips/compact-eh-eb-2.d: Likewise.
* testsuite/gas/mips/compact-eh-eb-3.d: Likewise.
* testsuite/gas/mips/compact-eh-eb-4.d: Likewise.
* testsuite/gas/mips/compact-eh-eb-5.d: Likewise.
* testsuite/gas/mips/compact-eh-eb-6.d: Likewise.
* testsuite/gas/mips/compact-eh-el-1.d: Likewise.
* testsuite/gas/mips/compact-eh-el-2.d: Likewise.
* testsuite/gas/mips/compact-eh-el-3.d: Likewise.
* testsuite/gas/mips/compact-eh-el-4.d: Likewise.
* testsuite/gas/mips/compact-eh-el-5.d: Likewise.
* testsuite/gas/mips/compact-eh-el-6.d: Likewise.
* testsuite/gas/mips/loongson-2f-3.d: Likewise.
* testsuite/gas/mips/mips-jalx.d: Likewise.
* testsuite/gas/elf/missing-build-notes.d: Likewise.  Remove
the `xfail' tag.

ld/
* testsuite/ld-mips-elf/reloc-estimate-1.d: Optionally match
extra R_MIPS_NONE pairs.

25 files changed:
binutils/testsuite/binutils-all/readelf.r-64
gas/testsuite/gas/all/assign.d
gas/testsuite/gas/all/fwdexp.d
gas/testsuite/gas/all/none.d
gas/testsuite/gas/elf/missing-build-notes.d
gas/testsuite/gas/macros/irp.d
gas/testsuite/gas/macros/repeat.d
gas/testsuite/gas/macros/rept.d
gas/testsuite/gas/macros/test2.d
gas/testsuite/gas/macros/vararg.d
gas/testsuite/gas/mips/compact-eh-eb-1.d
gas/testsuite/gas/mips/compact-eh-eb-2.d
gas/testsuite/gas/mips/compact-eh-eb-3.d
gas/testsuite/gas/mips/compact-eh-eb-4.d
gas/testsuite/gas/mips/compact-eh-eb-5.d
gas/testsuite/gas/mips/compact-eh-eb-6.d
gas/testsuite/gas/mips/compact-eh-el-1.d
gas/testsuite/gas/mips/compact-eh-el-2.d
gas/testsuite/gas/mips/compact-eh-el-3.d
gas/testsuite/gas/mips/compact-eh-el-4.d
gas/testsuite/gas/mips/compact-eh-el-5.d
gas/testsuite/gas/mips/compact-eh-el-6.d
gas/testsuite/gas/mips/loongson-2f-3.d
gas/testsuite/gas/mips/mips-jalx.d
ld/testsuite/ld-mips-elf/reloc-estimate-1.d

index e7487f1bece5b33b0750addbb426d52d0b6f8dad..7f850d9e0db972f67463a2c1c580c1f0b9efe2ef 100644 (file)
@@ -2,3 +2,5 @@
 Relocation section '.rel.*text' at offset 0x.* contains 1 entry:
   Offset          Info           Type           Sym. Value    Sym. Name.*
 0+04  [0-9A-Fa-f]+ *R_.*0+00 external_symbol.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
index 64b39976ec4e91d13bd63b11faa88ed43dc209e5..172d0b74f292ea806938da568849c2e07fbccd19 100644 (file)
@@ -3,5 +3,9 @@
 
 #...
 .*zzz.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 .*zzz.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 #pass
index e83d05a9a940e8fc993fcfe9a7500d78f09cd5ad..9b8393147411e0b28df24a20344397ee97e6ca0f 100644 (file)
@@ -6,6 +6,8 @@
 RELOCATION RECORDS FOR .*
 OFFSET +TYPE +VALUE
 0+ .*(\.data|label_i)(|\+0xf+e|\+0xf+c|\+0xf+8|-0x0*2|-0x0*4|-0x0*8)
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 Contents of section .*
  0+ (0+|feff|fffe|fcffffff|fffffffc|f8ffffff|f8ffffff ffffffff|ffffffff fffffff8|0+4) .*
index 374808a4f59a0c379494fc9b38433517338e2869..9ea861cbd71ff6d6f43a237823527973cbc8b99d 100644 (file)
@@ -5,3 +5,5 @@
 
 #...
 0+ .*(NONE|NULL|UNUSED0) +\*ABS\*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
index 95071baefa79122f8b3ce82c41f518c8c783a7ae..a1898f185d289d01f8be236734dc63a31fab538d 100644 (file)
@@ -1,6 +1,5 @@
 # as: --generate-missing-build-notes=yes
 # objdump: -r
-#xfail: mips*-*-openbsd
 
 # Check that the relocations are for increasing addresses...
 
@@ -8,7 +7,15 @@
 RELOCATION RECORDS FOR \[.gnu.build.attributes\]:
 OFFSET +TYPE +VALUE
 0+014 .*[      ]+.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+0(18|1c) .*[         ]+.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+0(30|38) .*[         ]+.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+0(34|40) .*[         ]+.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 #pass
index fd98b60cc804b0ee31fe0ca89cd1861514b65ce6..62a5df265a2b3cda37a5776a2c461a07cf1b9fce 100644 (file)
@@ -8,9 +8,21 @@
 RELOCATION RECORDS FOR .*
 OFFSET[        ]+TYPE[         ]+VALUE.*
 0+00[  ]+[a-zA-Z0-9_]+[        ]+foo1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+04[  ]+[a-zA-Z0-9_]+[        ]+foo2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+08[  ]+[a-zA-Z0-9_]+[        ]+foo3
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+0c[  ]+[a-zA-Z0-9_]+[        ]+bar1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+10[  ]+[a-zA-Z0-9_]+[        ]+bar2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+14[  ]+[a-zA-Z0-9_]+[        ]+bar3
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 #pass
index 8f3bdcf535c6681e083fa481c7b6dddc6e88ef52..3392bfd753201372034b34de7e7b208155be0b62 100644 (file)
 RELOCATION RECORDS FOR .*
 OFFSET[        ]+TYPE[         ]+VALUE.*
 0+00[  ]+[a-zA-Z0-9_]+[        ]+irp_irp_19
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+04[  ]+[a-zA-Z0-9_]+[        ]+irp_irp_18
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+08[  ]+[a-zA-Z0-9_]+[        ]+irp_irp_29
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+0c[  ]+[a-zA-Z0-9_]+[        ]+irp_irp_28
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+10[  ]+[a-zA-Z0-9_]+[        ]+irp_irpc_19
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+14[  ]+[a-zA-Z0-9_]+[        ]+irp_irpc_18
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+18[  ]+[a-zA-Z0-9_]+[        ]+irp_irpc_29
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+1c[  ]+[a-zA-Z0-9_]+[        ]+irp_irpc_28
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+20[  ]+[a-zA-Z0-9_]+[        ]+irp_rept_1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+24[  ]+[a-zA-Z0-9_]+[        ]+irp_rept_1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+28[  ]+[a-zA-Z0-9_]+[        ]+irp_rept_2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+2c[  ]+[a-zA-Z0-9_]+[        ]+irp_rept_2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+30[  ]+[a-zA-Z0-9_]+[        ]+irpc_irp_19
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+34[  ]+[a-zA-Z0-9_]+[        ]+irpc_irp_18
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+38[  ]+[a-zA-Z0-9_]+[        ]+irpc_irp_29
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+3c[  ]+[a-zA-Z0-9_]+[        ]+irpc_irp_28
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+40[  ]+[a-zA-Z0-9_]+[        ]+irpc_irpc_19
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+44[  ]+[a-zA-Z0-9_]+[        ]+irpc_irpc_18
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+48[  ]+[a-zA-Z0-9_]+[        ]+irpc_irpc_29
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+4c[  ]+[a-zA-Z0-9_]+[        ]+irpc_irpc_28
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+50[  ]+[a-zA-Z0-9_]+[        ]+irpc_rept_1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+54[  ]+[a-zA-Z0-9_]+[        ]+irpc_rept_1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+58[  ]+[a-zA-Z0-9_]+[        ]+irpc_rept_2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+5c[  ]+[a-zA-Z0-9_]+[        ]+irpc_rept_2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+60[  ]+[a-zA-Z0-9_]+[        ]+rept_irp_9
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+64[  ]+[a-zA-Z0-9_]+[        ]+rept_irp_8
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+68[  ]+[a-zA-Z0-9_]+[        ]+rept_irp_9
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+6c[  ]+[a-zA-Z0-9_]+[        ]+rept_irp_8
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+70[  ]+[a-zA-Z0-9_]+[        ]+rept_irpc_9
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+74[  ]+[a-zA-Z0-9_]+[        ]+rept_irpc_8
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+78[  ]+[a-zA-Z0-9_]+[        ]+rept_irpc_9
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+7c[  ]+[a-zA-Z0-9_]+[        ]+rept_irpc_8
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+80[  ]+[a-zA-Z0-9_]+[        ]+rept_rept
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+84[  ]+[a-zA-Z0-9_]+[        ]+rept_rept
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+88[  ]+[a-zA-Z0-9_]+[        ]+rept_rept
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+8c[  ]+[a-zA-Z0-9_]+[        ]+rept_rept
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 #pass
index 73223490e4fc2993428899ce39f73b64cc9bc99f..1e55318160179ee4cc1ea7f05b8eacb74fc50fad 100644 (file)
@@ -8,6 +8,12 @@
 RELOCATION RECORDS FOR .*
 OFFSET[        ]+TYPE[         ]+VALUE.*
 0+00[  ]+[a-zA-Z0-9_]+[        ]+foo1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+04[  ]+[a-zA-Z0-9_]+[        ]+foo1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+08[  ]+[a-zA-Z0-9_]+[        ]+foo1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 #pass
index 08ba703ddd5f163e4d36286332411cd5f30f3817..9d5cc6c0b14bec475bc34ce4d45f53d317452d96 100644 (file)
@@ -8,6 +8,12 @@
 RELOCATION RECORDS FOR .*
 OFFSET[        ]+TYPE[         ]+VALUE.*
 0+00[  ]+[a-zA-Z0-9_]+[        ]+foo1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+04[  ]+[a-zA-Z0-9_]+[        ]+foo2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+08[  ]+[a-zA-Z0-9_]+[        ]+foo3
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 #pass
index f566eae4356ff5d414c73c68bd330e4800110be6..c83d93972cde7016d1cda543cdb461808c710464 100644 (file)
@@ -8,9 +8,21 @@
 RELOCATION RECORDS FOR .*
 OFFSET[        ]+TYPE[         ]+VALUE.*
 0+00[  ]+[a-zA-Z0-9_]+[        ]+foo1
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+04[  ]+[a-zA-Z0-9_]+[        ]+foo2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+08[  ]+[a-zA-Z0-9_]+[        ]+foo3
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+0c[  ]+[a-zA-Z0-9_]+[        ]+foo4
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+10[  ]+[a-zA-Z0-9_]+[        ]+foo5
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+14[  ]+[a-zA-Z0-9_]+[        ]+foo6
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 #pass
index 9226d03b459416e33aba5d00793ab8b02b96629c..0e69129496348b1d170cbb7a2ba3c19dcf128471 100644 (file)
@@ -9,6 +9,8 @@
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .text:
index 5e89221f8fba2d0f2f134e729a10c9fe9b8e85ea..f83b3bd1384c9ee1d08cbdaf68681fcef9a8806d 100644 (file)
@@ -9,17 +9,25 @@
 RELOCATION RECORDS FOR \[.data.DW.ref.__gnu_compact_pr2\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_32         __gnu_compact_pr2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 RELOCATION RECORDS FOR \[.gnu_extab\]:
 OFFSET +TYPE +VALUE
 0+000001 R_MIPS_PC32       DW.ref.__gnu_compact_pr2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .group:
index 82f9ba18c2a084ef035440c124e23185bb330d31..59969719ee5f570ede7daf3713c8bd36be5f6afb 100644 (file)
@@ -9,7 +9,11 @@
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .text:
index f8c5b13b3196c9e3a2ab56923329903c5c09b790..e28a4f501daabc46ef0412c149ba7c2228a5c2c7 100644 (file)
@@ -9,7 +9,11 @@
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .text:
index 19e2b14ef1caa8b68f10df378c954880ec23e26d..ff1831e7ff0f4f626518db79ca68b44582260237 100644 (file)
@@ -9,17 +9,25 @@
 RELOCATION RECORDS FOR \[.data.DW.ref.__gnu_compact_pr2\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_32         __gnu_compact_pr2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 RELOCATION RECORDS FOR \[.gnu_extab\]:
 OFFSET +TYPE +VALUE
 0+000001 R_MIPS_PC32       DW.ref.__gnu_compact_pr2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .group:
index b568cbee6e187e4c6bffc98cde5bd7b48c0349ba..e55bce7f4cfaa9ce7c86bf2d00d2efcda03a50a7 100644 (file)
@@ -9,7 +9,11 @@
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .text:
index 4c3c675ea3cacef620f68163a64ce5c7c49a2032..9a55b626693c648ef4033710efc5c0227aac8282 100644 (file)
@@ -9,6 +9,8 @@
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .text:
index 76dcc865714eed525c2419e48ef4258b379f87a3..f8b1b9617df645a25e951a8f8fe86b9b1dde8189 100644 (file)
@@ -9,17 +9,25 @@
 RELOCATION RECORDS FOR \[.data.DW.ref.__gnu_compact_pr2\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_32         __gnu_compact_pr2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 RELOCATION RECORDS FOR \[.gnu_extab\]:
 OFFSET +TYPE +VALUE
 0+000001 R_MIPS_PC32       DW.ref.__gnu_compact_pr2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .group:
index a1c5e29aad3509459e68afb2776331b18b9b08fa..9e7f5934e14275ae4082513140e40c5297262432 100644 (file)
@@ -9,7 +9,11 @@
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .text:
index cc7d514c5a24266568ce7e0d2f757b56761c5d32..784501a512b2a1d06ea09def8f8a57af82e307b0 100644 (file)
@@ -9,7 +9,11 @@
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .text:
index 935cb505ceae35f65118215d8b63e6232d3f75fc..6f87bb89f18c7895f748b307628fde9ac4c5c7c3 100644 (file)
@@ -8,17 +8,25 @@
 RELOCATION RECORDS FOR \[.data.DW.ref.__gnu_compact_pr2\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_32         __gnu_compact_pr2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 RELOCATION RECORDS FOR \[.gnu_extab\]:
 OFFSET +TYPE +VALUE
 0+000001 R_MIPS_PC32       DW.ref.__gnu_compact_pr2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .group:
index d71b97684faecf82d5116ed422c5c998e24b85f9..2381b1723badec177b1d738e1ebfeba2f591e077 100644 (file)
@@ -9,7 +9,11 @@
 RELOCATION RECORDS FOR \[.eh_frame_entry\]:
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_PC32       .text.*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+000004 R_MIPS_PC32       .gnu_extab
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 Contents of section .text:
index 5a30ff8eea176c565e0b6744d6149f2cf8ec7630..f3ac2c97742812dc423b13f46686302b6f1d9ca2 100644 (file)
@@ -30,5 +30,7 @@ Disassembly of section .text:
 
   44:  08000000        j       0x0
                        44: R_MIPS_26   external_label
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
   48:  00000000        nop
   4c:  00000000        nop
index d322da13d836ef9b97b84cbf9a63e2baf934525b..374a0a1b51cf6feb93a59183c5ff39d77da57c3a 100644 (file)
@@ -6,6 +6,8 @@ Disassembly of section .text:
 0+000000 <.text>:
    0:  74000000        jalx    0x0
                        0: R_MIPS_26    external_label
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
    4:  00000000        nop
    8:  00000000        nop
    c:  00000000        nop
index fa536f938a7154877809b7c3f432ef36e0190773..65094cfaf0deb946691c761a2585696af11b5011 100644 (file)
@@ -9,7 +9,11 @@
 DYNAMIC RELOCATION RECORDS
 OFFSET +TYPE +VALUE
 0+000000 R_MIPS_NONE       \*ABS\*
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 0+010000 R_MIPS_REL32      foo@@V2
+#?.*R_MIPS_NONE.*
+#?.*R_MIPS_NONE.*
 
 
 # The address must be 0x810.  We should only ever allocate one dynamic