Fix sanitization problems running the linker testsuite for the alpha-elf target.
authorNick Clifton <nickc@redhat.com>
Wed, 26 Aug 2020 15:26:13 +0000 (16:26 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Aug 2020 15:26:13 +0000 (16:26 +0100)
commiteae0b5c3b2d6b76c3ed80146bc938e0d6b7e9fec
treea741e096dc5fbcf768bc2c18de93667fd491d11b
parentb74a6c6086033907f4ea1dbd61166ee63b6f0a99
Fix sanitization problems running the linker testsuite for the alpha-elf target.

PR 26416
* elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Test for and
ignore local symbols.
(elf64_alpha_relax_got_load): Do not check for local dynamic
symbols.
(OP_LDA, OP_LDAH, OP_LDQ, OP_BR, OP_BSR): Use unsigned constant
values.
(INSN_A) Cast the A parameter to unsigned.
(INSN_AB): Define in terms of INSN_A.
(INSN_ABC): Likewise.
(INSN_ABO): Likewise.
(INSN_AD): Likewise.
bfd/ChangeLog
bfd/elf64-alpha.c