[PATCH] aarch64: Emit jump slot for conditional branches to weak_undef

Nick Clifton nickc@redhat.com
Fri May 15 10:25:15 GMT 2020


Hi Siddhesh,

> 	* testsuite/ld-aarch64/aarch64-elf.exp: New test
> 	emit-relocs-560.
> 	* testsuite/ld-aarch64/emit-relocs-560.d: New file.
> 	* testsuite/ld-aarch64/emit-relocs-560.s: New file.

This new test fails when used with an aarch64 toolchain that is
configured for a big-endian default (eg aarch64_be-elf):

  regexp_diff match failure
  regexp "^ 1b8:	f9418a11 	ldr	x17, \[x16, #784\]$"
  line   " 1b8:	f9418211 	ldr	x17, [x16, #768]"
  ...and more...

Cheers
  Nick



More information about the Binutils mailing list