* coff-alpha.c (alpha_relocate_section): Unify warning message
for GP relative relocations without GP defined. * coff-mips.c (mips_relocate_section): Likewise.
This commit is contained in:
parent
c46f0c34a6
commit
cc9ff76a52
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue