mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
PowerPC64 "call lacks nop"
The "-fPIC" and "-mcmodel=small" parts of these messages isn't always true, so lets dispense with that and just report the type of stub causing trouble. * elf64-ppc.c (ppc64_elf_relocate_section): Revise "call lacks nop" error message.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2018-08-23 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf64-ppc.c (ppc64_elf_relocate_section): Revise "call lacks
|
||||||
|
nop" error message.
|
||||||
|
|
||||||
2018-08-23 Nick Clifton <nickc@redhat.com>
|
2018-08-23 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* elf64-hppa.c (elf_hppa_final_link_relocate): Replace unworkable
|
* elf64-hppa.c (elf_hppa_final_link_relocate): Replace unworkable
|
||||||
|
@ -13995,13 +13995,13 @@ ppc64_elf_relocate_section (bfd *output_bfd,
|
|||||||
info->callbacks->einfo
|
info->callbacks->einfo
|
||||||
/* xgettext:c-format */
|
/* xgettext:c-format */
|
||||||
(_("%H: call to `%pT' lacks nop, can't restore toc; "
|
(_("%H: call to `%pT' lacks nop, can't restore toc; "
|
||||||
"recompile with -fPIC\n"),
|
"(plt call stub)\n"),
|
||||||
input_bfd, input_section, rel->r_offset, sym_name);
|
input_bfd, input_section, rel->r_offset, sym_name);
|
||||||
else
|
else
|
||||||
info->callbacks->einfo
|
info->callbacks->einfo
|
||||||
/* xgettext:c-format */
|
/* xgettext:c-format */
|
||||||
(_("%H: call to `%pT' lacks nop, can't restore toc; "
|
(_("%H: call to `%pT' lacks nop, can't restore toc; "
|
||||||
"(-mcmodel=small toc adjust stub)\n"),
|
"(toc save/adjust stub)\n"),
|
||||||
input_bfd, input_section, rel->r_offset, sym_name);
|
input_bfd, input_section, rel->r_offset, sym_name);
|
||||||
|
|
||||||
bfd_set_error (bfd_error_bad_value);
|
bfd_set_error (bfd_error_bad_value);
|
||||||
|
Reference in New Issue
Block a user