aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2004-07-03 15:17:42 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2004-07-03 15:17:42 +0000
commit0945c90c858a7ded59a40f89705838897f3ab36e (patch)
tree9d1d636eed9d9f3cd2ad2502880fb8d3aeb8c88c
parentcb162ff6d2f8e63220d7a488e003cffcc523c1e8 (diff)
downloadgdb-0945c90c858a7ded59a40f89705838897f3ab36e.zip
gdb-0945c90c858a7ded59a40f89705838897f3ab36e.tar.gz
gdb-0945c90c858a7ded59a40f89705838897f3ab36e.tar.bz2
2004-07-03 Maciej W. Rozycki <macro@linux-mips.org>
* gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression.
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/mips/elf-rel9.d2
-rw-r--r--gas/testsuite/gas/mips/elf-rel9.s2
3 files changed, 6 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index e9a8475..0633e8e 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/mips/elf-rel9.d b/gas/testsuite/gas/mips/elf-rel9.d
index c78a4bf..1f7f1be 100644
--- a/gas/testsuite/gas/mips/elf-rel9.d
+++ b/gas/testsuite/gas/mips/elf-rel9.d
@@ -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
diff --git a/gas/testsuite/gas/mips/elf-rel9.s b/gas/testsuite/gas/mips/elf-rel9.s
index 4768c24..b08cc12 100644
--- a/gas/testsuite/gas/mips/elf-rel9.s
+++ b/gas/testsuite/gas/mips/elf-rel9.s
@@ -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)