Print addend as signed in objdump
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 14 May 2012 02:40:00 +0000 (02:40 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 14 May 2012 02:40:00 +0000 (02:40 +0000)
binutils/

* objdump.c (disassemble_bytes): Print addend as signed.
(dump_reloc_set): Likewise.

gas/testsuite/

* gas/all/fwdexp.d: Expect addend as signed.
* gas/alpha/elf-reloc-1.d: Likewise.
* gas/i386/mixed-mode-reloc64.d: Likewise.
* gas/i386/reloc64.d: Likewise.
* gas/i386/ilp32/mixed-mode-reloc64.d: Expect addend as signed.
* gas/i386/ilp32/reloc64.d: Likewise.
* gas/ia64/pcrel.d: Likewise.
* gas/mips/branch-misc-2-64.d: Likewise.
* gas/mips/branch-misc-2pic-64.d: Likewise.
* gas/mips/branch-misc-4-64.d: Likewise.
* gas/mips/ldstla-n64-sym32.d: Likewise.
* gas/mips/micromips@branch-misc-2-64.d: Likewise.
* gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
* gas/mips/micromips@branch-misc-4-64.d: Likewise.
* gas/mips/mips16-hilo-n32.d: Likewise.
* gas/ppc/astest.d: Likewise.
* gas/ppc/astest2.d: Likewise.
* gas/ppc/astest2_64.d: Likewise.
* gas/ppc/astest64.d: Likewise.
* gas/ppc/test1elf32.d: Likewise.
* gas/ppc/test1elf64.d: Likewise.
* gas/sparc/reloc64.d: Likewise.

25 files changed:
binutils/ChangeLog
binutils/objdump.c
gas/testsuite/ChangeLog
gas/testsuite/gas/all/fwdexp.d
gas/testsuite/gas/alpha/elf-reloc-1.d
gas/testsuite/gas/i386/ilp32/mixed-mode-reloc64.d
gas/testsuite/gas/i386/ilp32/reloc64.d
gas/testsuite/gas/i386/mixed-mode-reloc64.d
gas/testsuite/gas/i386/reloc64.d
gas/testsuite/gas/ia64/pcrel.d
gas/testsuite/gas/mips/branch-misc-2-64.d
gas/testsuite/gas/mips/branch-misc-2pic-64.d
gas/testsuite/gas/mips/branch-misc-4-64.d
gas/testsuite/gas/mips/ldstla-n64-sym32.d
gas/testsuite/gas/mips/micromips@branch-misc-2-64.d
gas/testsuite/gas/mips/micromips@branch-misc-2pic-64.d
gas/testsuite/gas/mips/micromips@branch-misc-4-64.d
gas/testsuite/gas/mips/mips16-hilo-n32.d
gas/testsuite/gas/ppc/astest.d
gas/testsuite/gas/ppc/astest2.d
gas/testsuite/gas/ppc/astest2_64.d
gas/testsuite/gas/ppc/astest64.d
gas/testsuite/gas/ppc/test1elf32.d
gas/testsuite/gas/ppc/test1elf64.d
gas/testsuite/gas/sparc/reloc64.d

index 3d2e06632caa3733e6cba496685dc6e26e9f492e..7072d1ec4ea1e8f03563aff94a589b2a0b41ff6b 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objdump.c (disassemble_bytes): Print addend as signed.
+       (dump_reloc_set): Likewise.
+
 2012-05-04  Sterling Augustine  <saugustine@google.com>
            Cary Coutant  <ccoutant@google.com>
 
index 0cad73b32cf4c279f666992046bb6ce589401533..b22bf8bde62c977a622e9e892677bcbe1996d4ff 100644 (file)
@@ -1840,8 +1840,15 @@ disassemble_bytes (struct disassemble_info * inf,
 
              if (q->addend)
                {
-                 printf ("+0x");
-                 objdump_print_value (q->addend, inf, TRUE);
+                 bfd_signed_vma addend = q->addend;
+                 if (addend < 0)
+                   {
+                     printf ("-0x");
+                     addend = -addend;
+                   }
+                 else
+                   printf ("+0x");
+                 objdump_print_value (addend, inf, TRUE);
                }
 
              printf ("\n");
@@ -3017,8 +3024,15 @@ dump_reloc_set (bfd *abfd, asection *sec, arelent **relpp, long relcount)
 
       if (q->addend)
        {
-         printf ("+0x");
-         bfd_printf_vma (abfd, q->addend);
+         bfd_signed_vma addend = q->addend;
+         if (addend < 0)
+           {
+             printf ("-0x");
+             addend = -addend;
+           }
+         else
+           printf ("+0x");
+         bfd_printf_vma (abfd, addend);
        }
       if (addend2)
        {
index f555213fe99de60495143b1b697b62688cd17691..1991e8570c9962d90742df4ca9235703510bbadf 100644 (file)
@@ -1,3 +1,28 @@
+2012-05-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/all/fwdexp.d: Expect addend as signed.
+       * gas/alpha/elf-reloc-1.d: Likewise.
+       * gas/i386/mixed-mode-reloc64.d: Likewise.
+       * gas/i386/reloc64.d: Likewise.
+       * gas/i386/ilp32/mixed-mode-reloc64.d: Expect addend as signed.
+       * gas/i386/ilp32/reloc64.d: Likewise.
+       * gas/ia64/pcrel.d: Likewise.
+       * gas/mips/branch-misc-2-64.d: Likewise.
+       * gas/mips/branch-misc-2pic-64.d: Likewise.
+       * gas/mips/branch-misc-4-64.d: Likewise.
+       * gas/mips/ldstla-n64-sym32.d: Likewise.
+       * gas/mips/micromips@branch-misc-2-64.d: Likewise.
+       * gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
+       * gas/mips/micromips@branch-misc-4-64.d: Likewise.
+       * gas/mips/mips16-hilo-n32.d: Likewise.
+       * gas/ppc/astest.d: Likewise.
+       * gas/ppc/astest2.d: Likewise.
+       * gas/ppc/astest2_64.d: Likewise.
+       * gas/ppc/astest64.d: Likewise.
+       * gas/ppc/test1elf32.d: Likewise.
+       * gas/ppc/test1elf64.d: Likewise.
+       * gas/sparc/reloc64.d: Likewise.
+
 2012-05-12  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gas/mips/elf-rel10.d: Updated.
index 222dab2c494f388a8751caa165dfbb917796d6f4..5c16ea95571641b7eb8a5820b6fff2115ddfb61f 100644 (file)
@@ -5,7 +5,7 @@
 
 RELOCATION RECORDS FOR .*
 OFFSET +TYPE +VALUE 
-0+ .*(\.data|i)(|\+0xf+e|\+0xf+c|\+0xf+8)
+0+ .*(\.data|i)(|\+0xf+e|\+0xf+c|\+0xf+8|-0x0*2|-0x0*4|-0x0*8)
 
 Contents of section .*
  0+ (0+|feff|fffe|fcffffff|fffffffc|f8ffffff|f8ffffff ffffffff|ffffffff fffffff8) .*
index 3985975e7652a41a5eb241271e180b0385f13f22..69a16b72d743c3fa3e532649c6db9a7b46d82de7 100644 (file)
@@ -16,6 +16,6 @@ OFFSET           TYPE              VALUE
 0*000001c GPRELHIGH         d
 0*0000020 GPRELLOW          e
 0*0000024 GPDISP            \.text\+0x0*0000008
-0*0000030 GPDISP            \.text\+0xf*ffffff8
+0*0000030 GPDISP            \.text-0x0*0000008
 
 
index c54b7d3adf1f88b9cd80b9c4e9c15cf989fe66ce..a48c5028d940511c291addcdb900b2233e3cdb75 100644 (file)
@@ -7,8 +7,8 @@
 RELOCATION RECORDS FOR \[.text\]:
 OFFSET[        ]+TYPE[         ]+VALUE[        ]*
 [0-9a-f]+[     ]+R_X86_64_GOT32[       ]+xtrn[         ]*
-[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn\+0xf+c[  ]*
+[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn-0x0*4[   ]*
 [0-9a-f]+[     ]+R_X86_64_GOT32[       ]+xtrn[         ]*
-[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn\+0xf+c[  ]*
+[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn-0x0*4[   ]*
 [0-9a-f]+[     ]+R_X86_64_GOT32[       ]+xtrn[         ]*
-[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn\+0xf+c[  ]*
+[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn-0x0*4[   ]*
index c2fd292e3cefe798204bcdb092e8b7341895ca6f..5d3df9a19bfbb42ed413fa002f55117b28b71fff 100644 (file)
@@ -14,10 +14,10 @@ Disassembly of section \.text:
 .*[    ]+R_X86_64_PC32[        ]+xtrn\+0x0*2
 .*[    ]+R_X86_64_PC16[        ]+xtrn\+0x0*2
 .*[    ]+R_X86_64_PC8[         ]+xtrn\+0x0*1
-.*[    ]+R_X86_64_PC32[        ]+xtrn\+0xf+c
-.*[    ]+R_X86_64_PC32[        ]+xtrn\+0xf+c
-.*[    ]+R_X86_64_PC32[        ]+xtrn\+0xf+c
-.*[    ]+R_X86_64_PC8[         ]+xtrn\+0xf+f
+.*[    ]+R_X86_64_PC32[        ]+xtrn-0x0*4
+.*[    ]+R_X86_64_PC32[        ]+xtrn-0x0*4
+.*[    ]+R_X86_64_PC32[        ]+xtrn-0x0*4
+.*[    ]+R_X86_64_PC8[         ]+xtrn-0x0*1
 .*[    ]+R_X86_64_GOT32[       ]+xtrn
 .*[    ]+R_X86_64_GOT32[       ]+xtrn
 .*[    ]+R_X86_64_GOT32[       ]+xtrn
@@ -26,31 +26,31 @@ Disassembly of section \.text:
 .*[    ]+R_X86_64_GOTPCREL[    ]+xtrn
 .*[    ]+R_X86_64_GOTPCREL[    ]+xtrn
 .*[    ]+R_X86_64_GOTPCREL[    ]+xtrn
-.*[    ]+R_X86_64_GOTPCREL[    ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_GOTPCREL[    ]+xtrn-0x0*4
 .*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_\+0x0*2
-.*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_\+0xf+c
-.*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_\+0xf+c
+.*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_-0x0*4
+.*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_-0x0*4
 .*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_\+0x0*2
 .*[    ]+R_X86_64_PLT32[       ]+xtrn
 .*[    ]+R_X86_64_PLT32[       ]+xtrn
 .*[    ]+R_X86_64_PLT32[       ]+xtrn
 .*[    ]+R_X86_64_PLT32[       ]+xtrn
-.*[    ]+R_X86_64_PLT32[       ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_PLT32[       ]+xtrn-0x0*4
 .*[    ]+R_X86_64_TLSGD[       ]+xtrn
 .*[    ]+R_X86_64_TLSGD[       ]+xtrn
 .*[    ]+R_X86_64_TLSGD[       ]+xtrn
 .*[    ]+R_X86_64_TLSGD[       ]+xtrn
-.*[    ]+R_X86_64_TLSGD[       ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_TLSGD[       ]+xtrn-0x0*4
 .*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn
 .*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn
 .*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn
 .*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn
-.*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn-0x0*4
 .*[    ]+R_X86_64_TLSLD[       ]+xtrn
 .*[    ]+R_X86_64_TLSLD[       ]+xtrn
 .*[    ]+R_X86_64_TLSLD[       ]+xtrn
 .*[    ]+R_X86_64_TLSLD[       ]+xtrn
-.*[    ]+R_X86_64_TLSLD[       ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_TLSLD[       ]+xtrn-0x0*4
 .*[    ]+R_X86_64_DTPOFF32[    ]+xtrn
 .*[    ]+R_X86_64_DTPOFF32[    ]+xtrn
 .*[    ]+R_X86_64_DTPOFF32[    ]+xtrn
@@ -93,4 +93,4 @@ Disassembly of section \.data:
 .*[    ]+R_X86_64_PC8[         ]+xtrn
 .*[    ]+R_X86_64_64[  ]+xtrn
 .*[    ]+R_X86_64_64[  ]+xtrn\+0x7fffffff
-.*[    ]+R_X86_64_64[  ]+xtrn\+0x80000000
+.*[    ]+R_X86_64_64[  ]+xtrn\-0x80000000
index dc50e43576b387cb019ac5abbf1726d584ef334d..9b82cb594908d3b32f1c2fb65aced4a2d720605a 100644 (file)
@@ -7,8 +7,8 @@
 RELOCATION RECORDS FOR \[.text\]:
 OFFSET[        ]+TYPE[         ]+VALUE[        ]*
 [0-9a-f]+[     ]+R_X86_64_GOT32[       ]+xtrn[         ]*
-[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn\+0xf+c[  ]*
+[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn-0x0*4[   ]*
 [0-9a-f]+[     ]+R_X86_64_GOT32[       ]+xtrn[         ]*
-[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn\+0xf+c[  ]*
+[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn-0x0*4[   ]*
 [0-9a-f]+[     ]+R_X86_64_GOT32[       ]+xtrn[         ]*
-[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn\+0xf+c[  ]*
+[0-9a-f]+[     ]+R_X86_64_PLT32[       ]+xtrn-0x0*4[   ]*
index 5c14019d4eb2a9a67d0c94507e1d576d1fa30cbe..b4780d4a255a75c61310f65f8e1ba3f4185a57a3 100644 (file)
@@ -16,33 +16,33 @@ Disassembly of section \.text:
 .*[    ]+R_X86_64_PC32[        ]+xtrn\+0x0*2
 .*[    ]+R_X86_64_PC16[        ]+xtrn\+0x0*2
 .*[    ]+R_X86_64_PC8[         ]+xtrn\+0x0*1
-.*[    ]+R_X86_64_PC32[        ]+xtrn\+0xf+c
-.*[    ]+R_X86_64_PC32[        ]+xtrn\+0xf+c
-.*[    ]+R_X86_64_PC32[        ]+xtrn\+0xf+c
-.*[    ]+R_X86_64_PC8[         ]+xtrn\+0xf+f
+.*[    ]+R_X86_64_PC32[        ]+xtrn-0x0*4
+.*[    ]+R_X86_64_PC32[        ]+xtrn-0x0*4
+.*[    ]+R_X86_64_PC32[        ]+xtrn-0x0*4
+.*[    ]+R_X86_64_PC8[         ]+xtrn-0x0*1
 .*[    ]+R_X86_64_GOT64[       ]+xtrn
 .*[    ]+R_X86_64_GOT32[       ]+xtrn
 .*[    ]+R_X86_64_GOT32[       ]+xtrn
 .*[    ]+R_X86_64_GOTOFF64[    ]+xtrn
 .*[    ]+R_X86_64_GOTPCREL[    ]+xtrn
 .*[    ]+R_X86_64_GOTPCREL[    ]+xtrn
-.*[    ]+R_X86_64_GOTPCREL[    ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_GOTPCREL[    ]+xtrn-0x0*4
 .*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_\+0x0*2
-.*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_\+0xf+c
-.*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_\+0xf+c
+.*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_-0x0*4
+.*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_-0x0*4
 .*[    ]+R_X86_64_GOTPC32[     ]+_GLOBAL_OFFSET_TABLE_\+0x0*2
 .*[    ]+R_X86_64_PLT32[       ]+xtrn
 .*[    ]+R_X86_64_PLT32[       ]+xtrn
-.*[    ]+R_X86_64_PLT32[       ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_PLT32[       ]+xtrn-0x0*4
 .*[    ]+R_X86_64_TLSGD[       ]+xtrn
 .*[    ]+R_X86_64_TLSGD[       ]+xtrn
-.*[    ]+R_X86_64_TLSGD[       ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_TLSGD[       ]+xtrn-0x0*4
 .*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn
 .*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn
-.*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_GOTTPOFF[    ]+xtrn-0x0*4
 .*[    ]+R_X86_64_TLSLD[       ]+xtrn
 .*[    ]+R_X86_64_TLSLD[       ]+xtrn
-.*[    ]+R_X86_64_TLSLD[       ]+xtrn\+0xf+c
+.*[    ]+R_X86_64_TLSLD[       ]+xtrn-0x0*4
 .*[    ]+R_X86_64_DTPOFF64[    ]+xtrn
 .*[    ]+R_X86_64_DTPOFF32[    ]+xtrn
 .*[    ]+R_X86_64_DTPOFF32[    ]+xtrn
index 674060d8bf30bfb4491dda844dbe82a6848d004e..a01c006f2ca5981dc22d130f58dfffe384923e64 100644 (file)
@@ -9,28 +9,28 @@ OFFSET[[:space:]]+TYPE[[:space:]]+VALUE[[:space:]]*
 0+10[[:space:]]+PCREL22[[:space:]]+esym
 0+20[[:space:]]+PCREL22[[:space:]]+esym\+0x0+20
 0+30[[:space:]]+PCREL22[[:space:]]+esym
-0+40[[:space:]]+PCREL22[[:space:]]+esym\+0xf+e0
+0+40[[:space:]]+PCREL22[[:space:]]+esym-0x0+20
 
 RELOCATION RECORDS FOR \[\.movl\]:
 OFFSET[[:space:]]+TYPE[[:space:]]+VALUE[[:space:]]*
 0+12[[:space:]]+PCREL64I[[:space:]]+esym
 0+22[[:space:]]+PCREL64I[[:space:]]+esym\+0x0+20
 0+32[[:space:]]+PCREL64I[[:space:]]+esym
-0+42[[:space:]]+PCREL64I[[:space:]]+esym\+0xf+e0
+0+42[[:space:]]+PCREL64I[[:space:]]+esym-0x0+20
 
 RELOCATION RECORDS FOR \[\.data8\]:
 OFFSET[[:space:]]+TYPE[[:space:]]+VALUE[[:space:]]*
 0+10[[:space:]]+PCREL64[LM]SB[[:space:]]+esym
 0+20[[:space:]]+PCREL64[LM]SB[[:space:]]+esym\+0x0+20
 0+30[[:space:]]+PCREL64[LM]SB[[:space:]]+esym
-0+40[[:space:]]+PCREL64[LM]SB[[:space:]]+esym\+0xf+e0
+0+40[[:space:]]+PCREL64[LM]SB[[:space:]]+esym-0x0+20
 
 RELOCATION RECORDS FOR \[\.data4\]:
 OFFSET[[:space:]]+TYPE[[:space:]]+VALUE[[:space:]]*
 0+10[[:space:]]+PCREL32[LM]SB[[:space:]]+esym
 0+20[[:space:]]+PCREL32[LM]SB[[:space:]]+esym\+0x0+20
 0+30[[:space:]]+PCREL32[LM]SB[[:space:]]+esym
-0+40[[:space:]]+PCREL32[LM]SB[[:space:]]+esym\+0xf+e0
+0+40[[:space:]]+PCREL32[LM]SB[[:space:]]+esym-0x0+20
 
 
 Contents of section \.mov:
index 064c42fc26ad44e2d235061cec9a933a5c863687..b540b8a5d436e42b432f4f45474d1a37df19622a 100644 (file)
@@ -13,51 +13,51 @@ Disassembly of section .text:
        \.\.\.
        \.\.\.
 0+003c <[^>]*> 04110000        bal     0000000000000040 <x\+0x4>
-[      ]*3c: R_MIPS_PC16       g1\+0xfffffffffffffffc
-[      ]*3c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*3c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*3c: R_MIPS_PC16       g1-0x4
+[      ]*3c: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*3c: R_MIPS_NONE       \*ABS\*-0x4
 0+0040 <[^>]*> 00000000        nop
 0+0044 <[^>]*> 04110000        bal     0000000000000048 <x\+0xc>
-[      ]*44: R_MIPS_PC16       g2\+0xfffffffffffffffc
-[      ]*44: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*44: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*44: R_MIPS_PC16       g2-0x4
+[      ]*44: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*44: R_MIPS_NONE       \*ABS\*-0x4
 0+0048 <[^>]*> 00000000        nop
 0+004c <[^>]*> 04110000        bal     0000000000000050 <x\+0x14>
-[      ]*4c: R_MIPS_PC16       g3\+0xfffffffffffffffc
-[      ]*4c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*4c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*4c: R_MIPS_PC16       g3-0x4
+[      ]*4c: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*4c: R_MIPS_NONE       \*ABS\*-0x4
 0+0050 <[^>]*> 00000000        nop
 0+0054 <[^>]*> 04110000        bal     0000000000000058 <x\+0x1c>
-[      ]*54: R_MIPS_PC16       g4\+0xfffffffffffffffc
-[      ]*54: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*54: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*54: R_MIPS_PC16       g4-0x4
+[      ]*54: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*54: R_MIPS_NONE       \*ABS\*-0x4
 0+0058 <[^>]*> 00000000        nop
 0+005c <[^>]*> 04110000        bal     0000000000000060 <x\+0x24>
-[      ]*5c: R_MIPS_PC16       g5\+0xfffffffffffffffc
-[      ]*5c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*5c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*5c: R_MIPS_PC16       g5-0x4
+[      ]*5c: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*5c: R_MIPS_NONE       \*ABS\*-0x4
 0+0060 <[^>]*> 00000000        nop
 0+0064 <[^>]*> 04110000        bal     0000000000000068 <x\+0x2c>
-[      ]*64: R_MIPS_PC16       g6\+0xfffffffffffffffc
-[      ]*64: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*64: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*64: R_MIPS_PC16       g6-0x4
+[      ]*64: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*64: R_MIPS_NONE       \*ABS\*-0x4
 0+0068 <[^>]*> 00000000        nop
        \.\.\.
        \.\.\.
        \.\.\.
 0+00a8 <[^>]*> 10000000        b       00000000000000ac <g6\+0x4>
-[      ]*a8: R_MIPS_PC16       x1\+0xfffffffffffffffc
-[      ]*a8: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*a8: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*a8: R_MIPS_PC16       x1-0x4
+[      ]*a8: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*a8: R_MIPS_NONE       \*ABS\*-0x4
 0+00ac <[^>]*> 00000000        nop
 0+00b0 <[^>]*> 10000000        b       00000000000000b4 <g6\+0xc>
-[      ]*b0: R_MIPS_PC16       x2\+0xfffffffffffffffc
-[      ]*b0: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*b0: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*b0: R_MIPS_PC16       x2-0x4
+[      ]*b0: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*b0: R_MIPS_NONE       \*ABS\*-0x4
 0+00b4 <[^>]*> 00000000        nop
 0+00b8 <[^>]*> 10000000        b       00000000000000bc <g6\+0x14>
-[      ]*b8: R_MIPS_PC16       \.data\+0xfffffffffffffffc
-[      ]*b8: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*b8: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*b8: R_MIPS_PC16       \.data-0x4
+[      ]*b8: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*b8: R_MIPS_NONE       \*ABS\*-0x4
 0+00bc <[^>]*> 00000000        nop
        \.\.\.
index 6b8720da1801b1d92dd76919c65ff3cc64a5ce9f..3cb292da23d7788b3f41231fb5f14b2e5dcee5c0 100644 (file)
@@ -13,51 +13,51 @@ Disassembly of section .text:
        \.\.\.
        \.\.\.
 0+003c <[^>]*> 04110000        bal     0000000000000040 <x\+0x4>
-[      ]*3c: R_MIPS_PC16       g1\+0xfffffffffffffffc
-[      ]*3c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*3c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*3c: R_MIPS_PC16       g1-0x4
+[      ]*3c: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*3c: R_MIPS_NONE       \*ABS\*-0x4
 0+0040 <[^>]*> 00000000        nop
 0+0044 <[^>]*> 04110000        bal     0000000000000048 <x\+0xc>
-[      ]*44: R_MIPS_PC16       g2\+0xfffffffffffffffc
-[      ]*44: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*44: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*44: R_MIPS_PC16       g2-0x4
+[      ]*44: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*44: R_MIPS_NONE       \*ABS\*-0x4
 0+0048 <[^>]*> 00000000        nop
 0+004c <[^>]*> 04110000        bal     0000000000000050 <x\+0x14>
-[      ]*4c: R_MIPS_PC16       g3\+0xfffffffffffffffc
-[      ]*4c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*4c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*4c: R_MIPS_PC16       g3-0x4
+[      ]*4c: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*4c: R_MIPS_NONE       \*ABS\*-0x4
 0+0050 <[^>]*> 00000000        nop
 0+0054 <[^>]*> 04110000        bal     0000000000000058 <x\+0x1c>
-[      ]*54: R_MIPS_PC16       g4\+0xfffffffffffffffc
-[      ]*54: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*54: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*54: R_MIPS_PC16       g4-0x4
+[      ]*54: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*54: R_MIPS_NONE       \*ABS\*-0x4
 0+0058 <[^>]*> 00000000        nop
 0+005c <[^>]*> 04110000        bal     0000000000000060 <x\+0x24>
-[      ]*5c: R_MIPS_PC16       g5\+0xfffffffffffffffc
-[      ]*5c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*5c: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*5c: R_MIPS_PC16       g5-0x4
+[      ]*5c: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*5c: R_MIPS_NONE       \*ABS\*-0x4
 0+0060 <[^>]*> 00000000        nop
 0+0064 <[^>]*> 04110000        bal     0000000000000068 <x\+0x2c>
-[      ]*64: R_MIPS_PC16       g6\+0xfffffffffffffffc
-[      ]*64: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*64: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*64: R_MIPS_PC16       g6-0x4
+[      ]*64: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*64: R_MIPS_NONE       \*ABS\*-0x4
 0+0068 <[^>]*> 00000000        nop
        \.\.\.
        \.\.\.
        \.\.\.
 0+00a8 <[^>]*> 10000000        b       00000000000000ac <g6\+0x4>
-[      ]*a8: R_MIPS_PC16       x1\+0xfffffffffffffffc
-[      ]*a8: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*a8: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*a8: R_MIPS_PC16       x1-0x4
+[      ]*a8: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*a8: R_MIPS_NONE       \*ABS\*-0x4
 0+00ac <[^>]*> 00000000        nop
 0+00b0 <[^>]*> 10000000        b       00000000000000b4 <g6\+0xc>
-[      ]*b0: R_MIPS_PC16       x2\+0xfffffffffffffffc
-[      ]*b0: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*b0: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*b0: R_MIPS_PC16       x2-0x4
+[      ]*b0: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*b0: R_MIPS_NONE       \*ABS\*-0x4
 0+00b4 <[^>]*> 00000000        nop
 0+00b8 <[^>]*> 10000000        b       00000000000000bc <g6\+0x14>
-[      ]*b8: R_MIPS_PC16       \.data\+0xfffffffffffffffc
-[      ]*b8: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
-[      ]*b8: R_MIPS_NONE       \*ABS\*\+0xfffffffffffffffc
+[      ]*b8: R_MIPS_PC16       \.data-0x4
+[      ]*b8: R_MIPS_NONE       \*ABS\*-0x4
+[      ]*b8: R_MIPS_NONE       \*ABS\*-0x4
 0+00bc <[^>]*> 00000000        nop
        \.\.\.
index 13c77d7f86a0788e7a314df81c6f1b4a3b3a8d6f..b432fe0591be5695dbe65ae7a82721293176c13f 100644 (file)
@@ -10,9 +10,9 @@
 Disassembly of section \.text:
        \.\.\.
 [0-9a-f]+ <[^>]*> 10000000     b       [0-9a-f]+ <foo\+0x[0-9a-f]+>
-[      ]*[0-9a-f]+: R_MIPS_PC16        bar\+0xf+fffc
-[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
-[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
+[      ]*[0-9a-f]+: R_MIPS_PC16        bar\-0x4
+[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\-0x4
+[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 00000000     nop
 [0-9a-f]+ <[^>]*> 10000000     b       [0-9a-f]+ <foo\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MIPS_PC16        \.init\+0x4
@@ -23,9 +23,9 @@ Disassembly of section \.text:
 
 Disassembly of section \.init:
 [0-9a-f]+ <[^>]*> 10000000     b       [0-9a-f]+ <bar\+0x[0-9a-f]+>
-[      ]*[0-9a-f]+: R_MIPS_PC16        foo\+0xf+fffc
-[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
-[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
+[      ]*[0-9a-f]+: R_MIPS_PC16        foo\-0x4
+[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\-0x4
+[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 00000000     nop
 [0-9a-f]+ <[^>]*> 10000000     b       [0-9a-f]+ <bar\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MIPS_PC16        \.text\+0x40004
index 8d30cfb511c04dca4fa2999a909b149aa5c3682d..066d7499055bde9f45b165ac724fdefbdddc7724 100644 (file)
@@ -196,19 +196,19 @@ Disassembly .*:
 .*: R_MIPS_NONE        .*
 .*     daddu   a0,a0,v1
 .*     lui     a0,0x0
-.*: R_MIPS_HI16        extern\+0xfffffffffffcc000
+.*: R_MIPS_HI16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     d?addiu a0,a0,0
-.*: R_MIPS_LO16        extern\+0xfffffffffffcc000
+.*: R_MIPS_LO16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     lui     a0,0x0
-.*: R_MIPS_HI16        extern\+0xfffffffffffcc000
+.*: R_MIPS_HI16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     d?addiu a0,a0,0
-.*: R_MIPS_LO16        extern\+0xfffffffffffcc000
+.*: R_MIPS_LO16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     daddu   a0,a0,v1
@@ -406,20 +406,20 @@ Disassembly .*:
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     lui     a0,0x0
-.*: R_MIPS_HI16        extern\+0xfffffffffffcc000
+.*: R_MIPS_HI16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     lw      a0,0\(a0\)
-.*: R_MIPS_LO16        extern\+0xfffffffffffcc000
+.*: R_MIPS_LO16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     lui     a0,0x0
-.*: R_MIPS_HI16        extern\+0xfffffffffffcc000
+.*: R_MIPS_HI16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     daddu   a0,a0,v1
 .*     lw      a0,0\(a0\)
-.*: R_MIPS_LO16        extern\+0xfffffffffffcc000
+.*: R_MIPS_LO16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 #
@@ -616,20 +616,20 @@ Disassembly .*:
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     lui     at,0x0
-.*: R_MIPS_HI16        extern\+0xfffffffffffcc000
+.*: R_MIPS_HI16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     sw      a0,0\(at\)
-.*: R_MIPS_LO16        extern\+0xfffffffffffcc000
+.*: R_MIPS_LO16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     lui     at,0x0
-.*: R_MIPS_HI16        extern\+0xfffffffffffcc000
+.*: R_MIPS_HI16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     daddu   at,at,v1
 .*     sw      a0,0\(at\)
-.*: R_MIPS_LO16        extern\+0xfffffffffffcc000
+.*: R_MIPS_LO16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 #
@@ -880,21 +880,21 @@ Disassembly .*:
 .*     swl     a0,0\(at\)
 .*     swr     a0,3\(at\)
 .*     lui     at,0x0
-.*: R_MIPS_HI16        extern\+0xfffffffffffcc000
+.*: R_MIPS_HI16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     d?addiu at,at,0
-.*: R_MIPS_LO16        extern\+0xfffffffffffcc000
+.*: R_MIPS_LO16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     swl     a0,0\(at\)
 .*     swr     a0,3\(at\)
 .*     lui     at,0x0
-.*: R_MIPS_HI16        extern\+0xfffffffffffcc000
+.*: R_MIPS_HI16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     d?addiu at,at,0
-.*: R_MIPS_LO16        extern\+0xfffffffffffcc000
+.*: R_MIPS_LO16        extern-0x34000
 .*: R_MIPS_NONE        .*
 .*: R_MIPS_NONE        .*
 .*     daddu   at,at,v1
index 3a265b1a78a6b8c04ee7d692e2bc0e2428adcc8d..61f27f726817463097bcd975af834de66d9594b6 100644 (file)
@@ -12,52 +12,52 @@ Disassembly of section \.text:
        \.\.\.
        \.\.\.
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0040 <x\+0x4>
-                       3c: R_MICROMIPS_PC16_S1 g1\+0xf+fffc
-                       3c: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       3c: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       3c: R_MICROMIPS_PC16_S1 g1\-0x4
+                       3c: R_MIPS_NONE \*ABS\*\-0x4
+                       3c: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0048 <x\+0xc>
-                       44: R_MICROMIPS_PC16_S1 g2\+0xf+fffc
-                       44: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       44: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       44: R_MICROMIPS_PC16_S1 g2\-0x4
+                       44: R_MIPS_NONE \*ABS\*\-0x4
+                       44: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0050 <x\+0x14>
-                       4c: R_MICROMIPS_PC16_S1 g3\+0xf+fffc
-                       4c: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       4c: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       4c: R_MICROMIPS_PC16_S1 g3\-0x4
+                       4c: R_MIPS_NONE \*ABS\*\-0x4
+                       4c: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0058 <x\+0x1c>
-                       54: R_MICROMIPS_PC16_S1 g4\+0xf+fffc
-                       54: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       54: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       54: R_MICROMIPS_PC16_S1 g4\-0x4
+                       54: R_MIPS_NONE \*ABS\*\-0x4
+                       54: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0060 <x\+0x24>
-                       5c: R_MICROMIPS_PC16_S1 g5\+0xf+fffc
-                       5c: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       5c: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       5c: R_MICROMIPS_PC16_S1 g5\-0x4
+                       5c: R_MIPS_NONE \*ABS\*\-0x4
+                       5c: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0068 <x\+0x2c>
-                       64: R_MICROMIPS_PC16_S1 g6\+0xf+fffc
-                       64: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       64: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       64: R_MICROMIPS_PC16_S1 g6\-0x4
+                       64: R_MIPS_NONE \*ABS\*\-0x4
+                       64: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
        \.\.\.
        \.\.\.
        \.\.\.
 [0-9a-f]+ <[^>]*> 9400 0000    b       0+00ac <g6\+0x4>
-                       a8: R_MICROMIPS_PC16_S1 x1\+0xf+fffc
-                       a8: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       a8: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       a8: R_MICROMIPS_PC16_S1 x1\-0x4
+                       a8: R_MIPS_NONE \*ABS\*\-0x4
+                       a8: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0c00         nop
 [0-9a-f]+ <[^>]*> 9400 0000    b       0+00b2 <g6\+0xa>
-                       ae: R_MICROMIPS_PC16_S1 x2\+0xf+fffc
-                       ae: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       ae: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       ae: R_MICROMIPS_PC16_S1 x2\-0x4
+                       ae: R_MIPS_NONE \*ABS\*\-0x4
+                       ae: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0c00         nop
 [0-9a-f]+ <[^>]*> 9400 0000    b       0+00b8 <g6\+0x10>
-                       b4: R_MICROMIPS_PC16_S1 \.data\+0xf+fffc
-                       b4: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       b4: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       b4: R_MICROMIPS_PC16_S1 \.data\-0x4
+                       b4: R_MIPS_NONE \*ABS\*\-0x4
+                       b4: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0c00         nop
 [0-9a-f]+ <[^>]*> 0c00         nop
        \.\.\.
index 609daa42f56fe9b1c3eed050d801882747bd4be2..7b8b40a496a9b7cd52c2299ecaa63b6971f6a188 100644 (file)
@@ -12,52 +12,52 @@ Disassembly of section \.text:
        \.\.\.
        \.\.\.
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0040 <x\+0x4>
-                       3c: R_MICROMIPS_PC16_S1 g1\+0xf+fffc
-                       3c: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       3c: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       3c: R_MICROMIPS_PC16_S1 g1\-0x4
+                       3c: R_MIPS_NONE \*ABS\*\-0x4
+                       3c: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0048 <x\+0xc>
-                       44: R_MICROMIPS_PC16_S1 g2\+0xf+fffc
-                       44: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       44: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       44: R_MICROMIPS_PC16_S1 g2\-0x4
+                       44: R_MIPS_NONE \*ABS\*\-0x4
+                       44: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0050 <x\+0x14>
-                       4c: R_MICROMIPS_PC16_S1 g3\+0xf+fffc
-                       4c: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       4c: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       4c: R_MICROMIPS_PC16_S1 g3\-0x4
+                       4c: R_MIPS_NONE \*ABS\*\-0x4
+                       4c: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0058 <x\+0x1c>
-                       54: R_MICROMIPS_PC16_S1 g4\+0xf+fffc
-                       54: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       54: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       54: R_MICROMIPS_PC16_S1 g4\-0x4
+                       54: R_MIPS_NONE \*ABS\*\-0x4
+                       54: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0060 <x\+0x24>
-                       5c: R_MICROMIPS_PC16_S1 g5\+0xf+fffc
-                       5c: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       5c: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       5c: R_MICROMIPS_PC16_S1 g5\-0x4
+                       5c: R_MIPS_NONE \*ABS\*\-0x4
+                       5c: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
 [0-9a-f]+ <[^>]*> 4060 0000    bal     0+0068 <x\+0x2c>
-                       64: R_MICROMIPS_PC16_S1 g6\+0xf+fffc
-                       64: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       64: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       64: R_MICROMIPS_PC16_S1 g6\-0x4
+                       64: R_MIPS_NONE \*ABS\*\-0x4
+                       64: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0000 0000    nop
        \.\.\.
        \.\.\.
        \.\.\.
 [0-9a-f]+ <[^>]*> 9400 0000    b       0+00ac <g6\+0x4>
-                       a8: R_MICROMIPS_PC16_S1 x1\+0xf+fffc
-                       a8: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       a8: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       a8: R_MICROMIPS_PC16_S1 x1\-0x4
+                       a8: R_MIPS_NONE \*ABS\*\-0x4
+                       a8: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0c00         nop
 [0-9a-f]+ <[^>]*> 9400 0000    b       0+00b2 <g6\+0xa>
-                       ae: R_MICROMIPS_PC16_S1 x2\+0xf+fffc
-                       ae: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       ae: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       ae: R_MICROMIPS_PC16_S1 x2\-0x4
+                       ae: R_MIPS_NONE \*ABS\*\-0x4
+                       ae: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0c00         nop
 [0-9a-f]+ <[^>]*> 9400 0000    b       0+00b8 <g6\+0x10>
-                       b4: R_MICROMIPS_PC16_S1 \.data\+0xf+fffc
-                       b4: R_MIPS_NONE \*ABS\*\+0xf+fffc
-                       b4: R_MIPS_NONE \*ABS\*\+0xf+fffc
+                       b4: R_MICROMIPS_PC16_S1 \.data\-0x4
+                       b4: R_MIPS_NONE \*ABS\*\-0x4
+                       b4: R_MIPS_NONE \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0c00         nop
 [0-9a-f]+ <[^>]*> 0c00         nop
        \.\.\.
index 80cfce91517b145d38e498bd69715de6138c3ebf..008dac004ede4bcf10df2f37c7764c14fdc44647 100644 (file)
@@ -10,9 +10,9 @@
 Disassembly of section \.text:
        \.\.\.
 [0-9a-f]+ <[^>]*> 9400 0000    b       [0-9a-f]+ <foo\+0x[0-9a-f]+>
-[      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        bar\+0xf+fffc
-[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
-[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
+[      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        bar\-0x4
+[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\-0x4
+[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0c00         nop
 [0-9a-f]+ <[^>]*> 9400 0000    b       [0-9a-f]+ <foo\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        \.init\+0x2
@@ -23,9 +23,9 @@ Disassembly of section \.text:
 
 Disassembly of section \.init:
 [0-9a-f]+ <[^>]*> 9400 0000    b       [0-9a-f]+ <bar\+0x[0-9a-f]+>
-[      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        foo\+0xf+fffc
-[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
-[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
+[      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        foo\-0x4
+[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\-0x4
+[      ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\-0x4
 [0-9a-f]+ <[^>]*> 0c00         nop
 [0-9a-f]+ <[^>]*> 9400 0000    b       [0-9a-f]+ <bar\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        \.text\+0x40002
index 2e3c8a15bd6361669cfe590e5b23e5bd884138be..5ac680d2b36e53895849dbb5fd08dbbce105ab43 100644 (file)
@@ -141,45 +141,45 @@ Disassembly of section \.text:
  13c:  f400 3480       sll     a0,16
  140:  f010 4c00       addiu   a0,-32768
  144:  f000 6c00       li      a0,0
-                       144: R_MIPS16_HI16      \.data\+0xffff8000
+                       144: R_MIPS16_HI16      \.data-0x8000
  148:  f400 3480       sll     a0,16
  14c:  f000 4c00       addiu   a0,0
-                       14c: R_MIPS16_LO16      \.data\+0xffff8000
+                       14c: R_MIPS16_LO16      \.data-0x8000
  150:  f000 6c00       li      a0,0
-                       150: R_MIPS16_HI16      \.data\+0xffff8004
+                       150: R_MIPS16_HI16      \.data-0x7ffc
  154:  f400 3480       sll     a0,16
  158:  f000 4c00       addiu   a0,0
-                       158: R_MIPS16_LO16      \.data\+0xffff8004
+                       158: R_MIPS16_LO16      \.data-0x7ffc
  15c:  f000 6c00       li      a0,0
-                       15c: R_MIPS16_HI16      big_external_data_label\+0xffff8000
+                       15c: R_MIPS16_HI16      big_external_data_label-0x8000
  160:  f400 3480       sll     a0,16
  164:  f000 4c00       addiu   a0,0
-                       164: R_MIPS16_LO16      big_external_data_label\+0xffff8000
+                       164: R_MIPS16_LO16      big_external_data_label-0x8000
  168:  f000 6c00       li      a0,0
-                       168: R_MIPS16_HI16      small_external_data_label\+0xffff8000
+                       168: R_MIPS16_HI16      small_external_data_label-0x8000
  16c:  f400 3480       sll     a0,16
  170:  f000 4c00       addiu   a0,0
-                       170: R_MIPS16_LO16      small_external_data_label\+0xffff8000
+                       170: R_MIPS16_LO16      small_external_data_label-0x8000
  174:  f000 6c00       li      a0,0
-                       174: R_MIPS16_HI16      big_external_common\+0xffff8000
+                       174: R_MIPS16_HI16      big_external_common-0x8000
  178:  f400 3480       sll     a0,16
  17c:  f000 4c00       addiu   a0,0
-                       17c: R_MIPS16_LO16      big_external_common\+0xffff8000
+                       17c: R_MIPS16_LO16      big_external_common-0x8000
  180:  f000 6c00       li      a0,0
-                       180: R_MIPS16_HI16      small_external_common\+0xffff8000
+                       180: R_MIPS16_HI16      small_external_common-0x8000
  184:  f400 3480       sll     a0,16
  188:  f000 4c00       addiu   a0,0
-                       188: R_MIPS16_LO16      small_external_common\+0xffff8000
+                       188: R_MIPS16_LO16      small_external_common-0x8000
  18c:  f000 6c00       li      a0,0
-                       18c: R_MIPS16_HI16      \.bss\+0xffff8000
+                       18c: R_MIPS16_HI16      \.bss-0x8000
  190:  f400 3480       sll     a0,16
  194:  f000 4c00       addiu   a0,0
-                       194: R_MIPS16_LO16      \.bss\+0xffff8000
+                       194: R_MIPS16_LO16      \.bss-0x8000
  198:  f000 6c00       li      a0,0
-                       198: R_MIPS16_HI16      \.sbss\+0xffff8000
+                       198: R_MIPS16_HI16      \.sbss-0x8000
  19c:  f400 3480       sll     a0,16
  1a0:  f000 4c00       addiu   a0,0
-                       1a0: R_MIPS16_LO16      \.sbss\+0xffff8000
+                       1a0: R_MIPS16_LO16      \.sbss-0x8000
  1a4:  6c01            li      a0,1
  1a6:  f400 3480       sll     a0,16
  1aa:  4c00            addiu   a0,0
@@ -399,45 +399,45 @@ Disassembly of section \.text:
  3b4:  f400 35a0       sll     a1,16
  3b8:  f010 9d80       lw      a0,-32768\(a1\)
  3bc:  f000 6d00       li      a1,0
-                       3bc: R_MIPS16_HI16      \.data\+0xffff8000
+                       3bc: R_MIPS16_HI16      \.data-0x8000
  3c0:  f400 35a0       sll     a1,16
  3c4:  f000 9d80       lw      a0,0\(a1\)
-                       3c4: R_MIPS16_LO16      \.data\+0xffff8000
+                       3c4: R_MIPS16_LO16      \.data-0x8000
  3c8:  f000 6d00       li      a1,0
-                       3c8: R_MIPS16_HI16      \.data\+0xffff8004
+                       3c8: R_MIPS16_HI16      \.data-0x7ffc
  3cc:  f400 35a0       sll     a1,16
  3d0:  f000 9d80       lw      a0,0\(a1\)
-                       3d0: R_MIPS16_LO16      \.data\+0xffff8004
+                       3d0: R_MIPS16_LO16      \.data-0x7ffc
  3d4:  f000 6d00       li      a1,0
-                       3d4: R_MIPS16_HI16      big_external_data_label\+0xffff8000
+                       3d4: R_MIPS16_HI16      big_external_data_label-0x8000
  3d8:  f400 35a0       sll     a1,16
  3dc:  f000 9d80       lw      a0,0\(a1\)
-                       3dc: R_MIPS16_LO16      big_external_data_label\+0xffff8000
+                       3dc: R_MIPS16_LO16      big_external_data_label-0x8000
  3e0:  f000 6d00       li      a1,0
-                       3e0: R_MIPS16_HI16      small_external_data_label\+0xffff8000
+                       3e0: R_MIPS16_HI16      small_external_data_label-0x8000
  3e4:  f400 35a0       sll     a1,16
  3e8:  f000 9d80       lw      a0,0\(a1\)
-                       3e8: R_MIPS16_LO16      small_external_data_label\+0xffff8000
+                       3e8: R_MIPS16_LO16      small_external_data_label-0x8000
  3ec:  f000 6d00       li      a1,0
-                       3ec: R_MIPS16_HI16      big_external_common\+0xffff8000
+                       3ec: R_MIPS16_HI16      big_external_common-0x8000
  3f0:  f400 35a0       sll     a1,16
  3f4:  f000 9d80       lw      a0,0\(a1\)
-                       3f4: R_MIPS16_LO16      big_external_common\+0xffff8000
+                       3f4: R_MIPS16_LO16      big_external_common-0x8000
  3f8:  f000 6d00       li      a1,0
-                       3f8: R_MIPS16_HI16      small_external_common\+0xffff8000
+                       3f8: R_MIPS16_HI16      small_external_common-0x8000
  3fc:  f400 35a0       sll     a1,16
  400:  f000 9d80       lw      a0,0\(a1\)
-                       400: R_MIPS16_LO16      small_external_common\+0xffff8000
+                       400: R_MIPS16_LO16      small_external_common-0x8000
  404:  f000 6d00       li      a1,0
-                       404: R_MIPS16_HI16      \.bss\+0xffff8000
+                       404: R_MIPS16_HI16      \.bss-0x8000
  408:  f400 35a0       sll     a1,16
  40c:  f000 9d80       lw      a0,0\(a1\)
-                       40c: R_MIPS16_LO16      \.bss\+0xffff8000
+                       40c: R_MIPS16_LO16      \.bss-0x8000
  410:  f000 6d00       li      a1,0
-                       410: R_MIPS16_HI16      \.sbss\+0xffff8000
+                       410: R_MIPS16_HI16      \.sbss-0x8000
  414:  f400 35a0       sll     a1,16
  418:  f000 9d80       lw      a0,0\(a1\)
-                       418: R_MIPS16_LO16      \.sbss\+0xffff8000
+                       418: R_MIPS16_LO16      \.sbss-0x8000
  41c:  6d01            li      a1,1
  41e:  f400 35a0       sll     a1,16
  422:  9d80            lw      a0,0\(a1\)
index 715bc4e4601284b1a85bc2bfafde40b3cd8796c1..aebc745f7acd5bf9cb19be40dc724a715ac6f178 100644 (file)
@@ -52,11 +52,11 @@ Disassembly of section \.text:
   60:  00 00 00 00     \.long 0x0
                        60: R_PPC_ADDR32        z
   64:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       64: R_PPC_ADDR32        x\+0xf+ffffffc
+                       64: R_PPC_ADDR32        x-0x4
   68:  00 00 00 00     \.long 0x0
                        68: R_PPC_ADDR32        \.data
   6c:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       6c: R_PPC_ADDR32        z\+0xf+ffffffc
+                       6c: R_PPC_ADDR32        z-0x4
   70:  ff ff ff 9c     \.long 0xffffff9c
   74:  ff ff ff 9c     \.long 0xffffff9c
   78:  00 00 00 00     \.long 0x0
index e0e1943b06b949da879af9f4b9f826ecec6280f4..030e9858b1fcd434b62fcbe1abe905bbc0e4261f 100644 (file)
@@ -48,11 +48,11 @@ Disassembly of section \.text:
   60:  00 00 00 00     \.long 0x0
                        60: R_PPC_ADDR32        z
   64:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       64: R_PPC_ADDR32        x\+0xf+ffffffc
+                       64: R_PPC_ADDR32        x-0x4
   68:  00 00 00 00     \.long 0x0
                        68: R_PPC_ADDR32        \.data
   6c:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       6c: R_PPC_ADDR32        z\+0xf+ffffffc
+                       6c: R_PPC_ADDR32        z-0x4
   70:  00 00 00 08     \.long 0x8
   74:  00 00 00 08     \.long 0x8
 
index 356db54eccc21743de233b558c9464c821e13d6e..901d425dc684ab28c25773fd6fef98abfc7d83a5 100644 (file)
@@ -45,11 +45,11 @@ Disassembly of section \.text:
   58:  00 00 00 00     \.long 0x0
                        58: R_PPC64_ADDR32      z
   5c:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       5c: R_PPC64_ADDR32      x\+0xfffffffffffffffc
+                       5c: R_PPC64_ADDR32      x-0x4
   60:  00 00 00 00     \.long 0x0
                        60: R_PPC64_ADDR32      \.data
   64:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       64: R_PPC64_ADDR32      z\+0xfffffffffffffffc
+                       64: R_PPC64_ADDR32      z-0x4
   68:  00 00 00 08     \.long 0x8
   6c:  00 00 00 08     \.long 0x8
 
index d8edf05a339735c515569efc58f64b62e964793e..a1a39cc87e0e860d504b444c1fdfb3532fdebb57 100644 (file)
@@ -49,11 +49,11 @@ Disassembly of section \.text:
   58:  00 00 00 00     \.long 0x0
                        58: R_PPC64_ADDR32      z
   5c:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       5c: R_PPC64_ADDR32      x\+0xfffffffffffffffc
+                       5c: R_PPC64_ADDR32      x-0x4
   60:  00 00 00 00     \.long 0x0
                        60: R_PPC64_ADDR32      \.data
   64:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       64: R_PPC64_ADDR32      z\+0xfffffffffffffffc
+                       64: R_PPC64_ADDR32      z-0x4
   68:  ff ff ff a4     \.long 0xffffffa4
   6c:  ff ff ff a4     \.long 0xffffffa4
   70:  00 00 00 00     \.long 0x0
index 2e76061e849ed98366a0a12a0848cab33b289e7f..80cc66733185b62ca553f806033f99de30c96355 100644 (file)
@@ -79,7 +79,7 @@ Disassembly of section \.data:
 
 0+000c <dat0>:
    c:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       c: R_PPC_REL32  jk\+0xf+fffc
+                       c: R_PPC_REL32  jk-0x4
 
 0+0010 <dat1>:
   10:  00 00 00 00     \.long 0x0
index 8ea8230aae915c0470bea7f4da91374457618d85..33fb6db5870ef1ddfbc7d23977aa067019994e3a 100644 (file)
@@ -114,7 +114,7 @@ Disassembly of section \.data:
 
 0000000000000014 <dat0>:
   14:  ff ff ff fc     fnmsub  f31,f31,f31,f31
-                       14: R_PPC64_REL32       jk\+0xfffffffffffffffc
+                       14: R_PPC64_REL32       jk-0x4
 
 0000000000000018 <dat1>:
   18:  00 00 00 00     \.long 0x0
index 07e2a103c24b26564756f93a2221b27341527045..d33f9013eac18333d0cf7c4209952e3fe56bc575 100644 (file)
@@ -35,13 +35,13 @@ Disassembly of section .text:
                        44: R_SPARC_LO10        .text
   48:  01 00 00 00     nop 
   4c:  03 00 00 00     sethi  %hi\((0x|)0\), %g1
-                       4c: R_SPARC_HH22        .text\+0xfedcba9876543210
+                       4c: R_SPARC_HH22        .text\-0x123456789abcdf0
   50:  82 10 60 00     mov  %g1, %g1   ! 0 <foo>
-                       50: R_SPARC_HM10        .text\+0xfedcba9876543210
+                       50: R_SPARC_HM10        .text\-0x123456789abcdf0
   54:  05 00 00 00     sethi  %hi\((0x|)0\), %g2
-                       54: R_SPARC_LM22        .text\+0xfedcba9876543210
+                       54: R_SPARC_LM22        .text\-0x123456789abcdf0
   58:  84 10 60 00     mov  %g1, %g2
-                       58: R_SPARC_LO10        .text\+0xfedcba9876543210
+                       58: R_SPARC_LO10        .text\-0x123456789abcdf0
   5c:  01 00 00 00     nop 
   60:  03 2a 61 d9     sethi  %hi\(0xa9876400\), %g1
   64:  82 10 61 43     or  %g1, 0x143, %g1.*
@@ -70,9 +70,9 @@ Disassembly of section .text:
                        a0: R_SPARC_LOX10       .text
   a4:  01 00 00 00     nop 
   a8:  03 00 00 00     sethi  %hi\((0x|)0\), %g1
-                       a8: R_SPARC_HIX22       .text\+0xffffffff76543210
+                       a8: R_SPARC_HIX22       .text-0x89abcdf0
   ac:  82 18 60 00     xor  %g1, 0, %g1
-                       ac: R_SPARC_LOX10       .text\+0xffffffff76543210
+                       ac: R_SPARC_LOX10       .text-0x89abcdf0
   b0:  01 00 00 00     nop 
   b4:  03 00 00 00     sethi  %hi\((0x|)0\), %g1
                        b4: R_SPARC_H34 .text\+0xa9876543210