diff options
author | Alan Modra <amodra@gmail.com> | 2003-06-24 14:17:22 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-06-24 14:17:22 +0000 |
commit | d85f2c7d1f8081b7aa3e6534e7bbd5afb3ab5ad9 (patch) | |
tree | f8531eb9f8cdd082f181f9fd7357d07dd903fde2 /bfd/elf32-ppc.c | |
parent | 7e5d8d48edd24851f2148bbf1032f7f137120cd1 (diff) | |
download | gdb-d85f2c7d1f8081b7aa3e6534e7bbd5afb3ab5ad9.zip gdb-d85f2c7d1f8081b7aa3e6534e7bbd5afb3ab5ad9.tar.gz gdb-d85f2c7d1f8081b7aa3e6534e7bbd5afb3ab5ad9.tar.bz2 |
* elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against
local sym errors.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 90f9b22..a7ccfed 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -3269,6 +3269,12 @@ ppc_elf_check_relocs (bfd *abfd, { /* It does not make sense to have a procedure linkage table entry for a local symbol. */ + (*_bfd_error_handler) (_("%s(%s+0x%lx): %s reloc against " + "local symbol"), + bfd_archive_filename (abfd), + sec->name, + (long) rel->r_offset, + ppc_elf_howto_table[r_type]->name); bfd_set_error (bfd_error_bad_value); return FALSE; } |