* coff-alpha.c (alpha_relocate_section): Unify warning message
authorAlan Modra <amodra@gmail.com>
Fri, 25 Jan 2002 12:12:23 +0000 (12:12 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 25 Jan 2002 12:12:23 +0000 (12:12 +0000)
for GP relative relocations without GP defined.
* coff-mips.c (mips_relocate_section): Likewise.

bfd/ChangeLog
bfd/coff-alpha.c
bfd/coff-mips.c

index e30f06a93cfe314f57710b5f71a880926a7631ad..0d75e0e1d7179b29f3553cc5dc32bf235c6a2201 100644 (file)
@@ -1,3 +1,9 @@
+2002-01-25  Philipp Thomas  <pthomas@suse.de>
+
+       * coff-alpha.c (alpha_relocate_section): Unify warning message
+       for GP relative relocations without GP defined.
+       * coff-mips.c (mips_relocate_section): Likewise.
+
 2002-01-25  Alan Modra  <amodra@bigpond.net.au>
 
        * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
index 49bf0178578f265d9199eb23d6c57b61144e50a4..4056e2ce6e7de1b5803e6371ed4a145b7d9d1a2a 100644 (file)
@@ -1986,7 +1986,7 @@ alpha_relocate_section (output_bfd, info, input_bfd, input_section,
       if (gp_usedp && gp_undefined)
        {
          if (! ((*info->callbacks->reloc_dangerous)
-                (info, _("GP relative relocation when GP not defined"),
+                (info, _("GP relative relocation used when GP not defined"),
                  input_bfd, input_section, r_vaddr - input_section->vma)))
            return false;
          /* Only give the error once per link.  */
index a6950d1114b5aa73b13b8a47ee5ee2bad0811330..672b07f7762b08f003a58fa1d3103edd62c91548 100644 (file)
@@ -1430,7 +1430,7 @@ mips_relocate_section (output_bfd, info, input_bfd, input_section,
          if (gp_undefined)
            {
              if (! ((*info->callbacks->reloc_dangerous)
-                    (info, _("GP relative relocation when GP not defined"),
+                    (info, _("GP relative relocation used when GP not defined"),
                      input_bfd, input_section,
                      int_rel.r_vaddr - input_section->vma)))
                return false;