aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
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
commit34ea4a364d8c8bdd9ad7c0a49077d54de32f2272 (patch)
treeda20783519f98c9689824947b2d67d5dc9f1a050 /bfd/elfxx-mips.c
parent141ff9705ac750fd5085fe7c5df65612653a09b6 (diff)
downloadgdb-34ea4a364d8c8bdd9ad7c0a49077d54de32f2272.zip
gdb-34ea4a364d8c8bdd9ad7c0a49077d54de32f2272.tar.gz
gdb-34ea4a364d8c8bdd9ad7c0a49077d54de32f2272.tar.bz2
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
mismatch.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index a44ed33..41bd5b7 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. */