This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [ARC] Disable warning on absolute relocs when symbol is local.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 08 Jun 2017 13:48:41 -0400
- Subject: [binutils-gdb] [ARC] Disable warning on absolute relocs when symbol is local.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 9d5c718b7a9c46132940f899f40556a77ca462a0 ***
Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: 9d5c718b7a9c46132940f899f40556a77ca462a0
[ARC] Disable warning on absolute relocs when symbol is local.
R_ARC_32 and R_ARC_32_ME cannot be generated as dynamic relocs.
However, a warning message and check_relocs was aborting when this type of
reloc was being resolved to a local symbol.
This is wrong as local symbols are resolvable at link time.
bfd/ChangeLog:
Cupertino Miranda <cmiranda@synopsys.com>
* elf32-arc.c (elf_arc_check_relocs): Added condition to disable
warning and "Bad value" for local symbols ARC_32 or ARC_32_ME relocs.