summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-08-07 04:44:14 +0000
committerThiemo Seufer <ths@networkno.de>2002-08-07 04:44:14 +0000
commit3e42c7890beaca664907d431e92b5c41cf690230 (patch)
tree3d09a5df20830571c31bec15efa670ca3fc7e465
parent2d09eccb6f2a0c3b1d59bb5e557d6772de07c2ff (diff)
downloadgdb-3e42c7890beaca664907d431e92b5c41cf690230.tar.gz
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
mismatch.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-mips.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 035c1a4bb95..3d9e2b0d767 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2002-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+ * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
+ mismatch.
+
+2002-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
* elfxx-mips.c (ABI_64_P): Remove superfluous check.
2002-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index a44ed33c1cd..41bd5b702ca 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -2932,7 +2932,8 @@ mips_elf_create_dynamic_relocation (output_bfd, info, rel, h, sec,
/* The relocation is always an REL32 relocation because we don't
know where the shared library will wind up at load-time. */
- outrel[0].r_info = ELF_R_INFO (output_bfd, indx, R_MIPS_REL32);
+ outrel[0].r_info = ELF_R_INFO (output_bfd, (unsigned long) indx,
+ R_MIPS_REL32);
/* Adjust the output offset of the relocation to reference the
correct location in the output file. */