2004-07-03 Maciej W. Rozycki <macro@linux-mips.org>
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 3 Jul 2004 15:17:42 +0000 (15:17 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sat, 3 Jul 2004 15:17:42 +0000 (15:17 +0000)
* gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/elf-rel9.d
gas/testsuite/gas/mips/elf-rel9.s

index e9a8475bde4195a72722994eeb795c4f0ecd8399..0633e8e94d5870288e5ccbf1b383b8da896bb4a7 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-03  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression.
+
 2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gas/ia64/group-1.d: New.
index c78a4bf86baee357ecf7587bff8c2da350e65e7e..1f7f1be010cf0fbe5c0209a150306233e4964ea2 100644 (file)
@@ -45,7 +45,7 @@ Disassembly of section \.text:
                        44: R_MIPS_LO16 \.data
   48:  8f840002        lw      \$4,2\(\$28\)
                        48: R_MIPS_GOT16        \.data
-  4c:  2484f100        addiu   \$4,\$4,-3840
+  4c:  24840000        addiu   \$4,\$4,0
                        4c: R_MIPS_LO16 \.data
   50:  8f840003        lw      \$4,3\(\$28\)
                        50: R_MIPS_GOT16        \.data
index 4768c2453363ecbcc21e2fdb468481bcaf52d002..b08cc12b4c6448e0e1c400f65d17dd47c7e4ccfb 100644 (file)
@@ -28,7 +28,7 @@ foo:
        addiu   $4,$4,%lo(l2 + 0xfff)
 
        lw      $4,%got(l2 + 0x1000)($28)
-       addiu   $4,$4,%lo(l2 + 0x100)
+       addiu   $4,$4,%lo(l2 + 0x1000)
 
        lw      $4,%got(l2 + 0x12345)($28)
        addiu   $4,$4,%lo(l2 + 0x12345)