From 34ea4a364d8c8bdd9ad7c0a49077d54de32f2272 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Wed, 7 Aug 2002 04:44:14 +0000 Subject: [PATCH] * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness mismatch. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-mips.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 035c1a4..3d9e2b0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2002-08-07 Thiemo Seufer + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness + mismatch. + +2002-08-07 Thiemo Seufer + * elfxx-mips.c (ABI_64_P): Remove superfluous check. 2002-08-07 Thiemo Seufer 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. */ -- 2.7.4