* elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
authorThiemo Seufer <ths@networkno.de>
Wed, 7 Aug 2002 04:44:14 +0000 (04:44 +0000)
committerThiemo Seufer <ths@networkno.de>
Wed, 7 Aug 2002 04:44:14 +0000 (04:44 +0000)
mismatch.

bfd/ChangeLog
bfd/elfxx-mips.c

index 035c1a4bb957c2dba540d45c83acf18c7cf571d9..3d9e2b0d767e37bd24159d0875df07ddf6860e8d 100644 (file)
@@ -1,3 +1,8 @@
+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.
index a44ed33c1cd4e31f775f4f97b2bb3067785d6720..41bd5b702ca3936bf9789522efb6c2451f98b02e 100644 (file)
@@ -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.  */