[ARC] 24 bit reloc and overflow detection fix.
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 5 Apr 2016 15:05:09 +0000 (17:05 +0200)
committerClaudiu Zissulescu <claziss@synopsys.com>
Tue, 5 Apr 2016 15:05:09 +0000 (17:05 +0200)
commit094fb06395d03ac343d1ce14a3621d1b4f78a0cc
treea439b93416a8abf080fbf5ed7d2bd871034adff9
parent589a7d88306628fb332ba0a98ac4a4b3b84b7b2c
[ARC] 24 bit reloc and overflow detection fix.

bfd/
2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>

* elf32-arc.c (name_for_global_symbol): Changed assert.
(get_replace_function): Created.:
(struct arc_relocation_data): Changed to signed types.
(defines S, L, P, PDATA): Casted to signed type.
(defines SECTSTART, _SDA_BASE_, TLS_REL): Likewise.
(PRINT_DEBUG_RELOC_INFO_BEFORE): Changed.
(arc_do_relocation): Changed.

include/
2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>

* opcode/arc-func.h (replace_bits24): Changed.
(replace_bits24_be): Created.
bfd/ChangeLog
bfd/elf32-arc.c
include/ChangeLog
include/opcode/arc-func.h