diff options
author | Tamar Christina <tamar.christina@arm.com> | 2019-05-21 17:15:36 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2019-05-21 17:16:09 +0100 |
commit | 6467207116c66ff2c58f8bc35cb15b2596f5c457 (patch) | |
tree | 30159f459b3662bbcb6296f25d0ee896568633f5 | |
parent | fb7806c7a49d6eb75cdbff183d10d00f75968c0f (diff) | |
download | gdb-6467207116c66ff2c58f8bc35cb15b2596f5c457.zip gdb-6467207116c66ff2c58f8bc35cb15b2596f5c457.tar.gz gdb-6467207116c66ff2c58f8bc35cb15b2596f5c457.tar.bz2 |
AArch64: Fix -Werror on build
This patch fixes a hardcoded `l` specifier on a `bfd_signed_vma`.
Instead this now uses BFD_VMA_FMT which fixes the build on 32 bit
hosts.
Committed under the obvious rule.
bfd/ChangeLog:
PR ld/24373
* elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub):
Fix print formatter.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elfnn-aarch64.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 81885bd..cbaeab6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2019-05-21 Tamar Christina <tamar.christina@arm.com> + + PR ld/24373 + * elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub): + Fix print formatter. + 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com> PR 24460 diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index 2931018..9e28544 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -5309,7 +5309,7 @@ _bfd_aarch64_erratum_843419_branch_to_stub (struct bfd_hash_entry *gen_entry, { abfd = stub_entry->target_section->owner; _bfd_error_handler - (_("%pB: error: erratum 843419 immediate 0x%lx " + (_("%pB: error: erratum 843419 immediate 0x%" BFD_VMA_FMT "x " "out of range for ADR (input file too large) and " "--fix-cortex-a53-843419=adr used. Run the linker with " "--fix-cortex-a53-843419=full instead"), abfd, imm); |