projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c83b34
)
* elf32-mips.c (mips_elf_calculate_relocation): Get the GP value
author
Ian Lance Taylor
<ian@airs.com>
Wed, 21 Jul 1999 23:32:29 +0000
(23:32 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Wed, 21 Jul 1999 23:32:29 +0000
(23:32 +0000)
when looking at a R_MIPS_GOT16 relocation.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-mips.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 7c958e8421bd07eaa1342ad5dcd980bbf486e2d0..6fb1b12ba2b1da171a37539ffb6796da734f24dc 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+1999-07-21 Ian Lance Taylor <ian@zembu.com>
+
+ * elf32-mips.c (mips_elf_calculate_relocation): Get the GP value
+ when looking at a R_MIPS_GOT16 relocation.
+
1999-07-20 Nick Clifton <nickc@cygnus.com>
* coff-m88k.c: Use CREATE_BIG_COFF_TARGET_VEC.
diff --git
a/bfd/elf32-mips.c
b/bfd/elf32-mips.c
index cdcf65cbfe0a65085111626ce84fa5a9362fedb7..6154558f0bf8804ec86fd3961504a96b3418b573 100644
(file)
--- a/
bfd/elf32-mips.c
+++ b/
bfd/elf32-mips.c
@@
-5938,6
+5938,7
@@
mips_elf_calculate_relocation (abfd,
switch (r_type)
{
case R_MIPS_CALL16:
+ case R_MIPS_GOT16:
case R_MIPS_GOT_DISP:
case R_MIPS_GOT_HI16:
case R_MIPS_CALL_HI16: