diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-01-25 12:12:23 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-01-25 12:12:23 +0000 |
commit | fd6579e52624aee838416370f38812d4f6a7f552 (patch) | |
tree | ebeb9875c386d8d73dd894574ad6de5ca3480b66 | |
parent | 6971e1ec9408667d7cd3d5d7041987c88a99470d (diff) | |
download | binutils-redhat-fd6579e52624aee838416370f38812d4f6a7f552.tar.gz |
* coff-alpha.c (alpha_relocate_section): Unify warning message
for GP relative relocations without GP defined.
* coff-mips.c (mips_relocate_section): Likewise.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/coff-alpha.c | 2 | ||||
-rw-r--r-- | bfd/coff-mips.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e30f06a93c..0d75e0e1d7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c index 49bf017857..4056e2ce6e 100644 --- a/bfd/coff-alpha.c +++ b/bfd/coff-alpha.c @@ -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. */ diff --git a/bfd/coff-mips.c b/bfd/coff-mips.c index a6950d1114..672b07f776 100644 --- a/bfd/coff-mips.c +++ b/bfd/coff-mips.c @@ -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; |