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.
This commit is contained in:
Tamar Christina 2019-05-21 17:15:36 +01:00
parent fb7806c7a4
commit 6467207116
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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);