AArch64/Arm: Update testcases fixing endiannes and linux targets
authorTamar Christina <tamar.christina@arm.com>
Tue, 26 Mar 2019 16:46:42 +0000 (16:46 +0000)
committerTamar Christina <tamar.christina@arm.com>
Tue, 26 Mar 2019 16:47:14 +0000 (16:47 +0000)
commit05805feba20cb8cc39c7324e0b427f2bb7cdfe44
treeb1ab1cd615e47e6625474ee80f5c4ddf4d40f650
parent974c89e0882ddb03e294eca76a9e3d3bef90eacf
AArch64/Arm: Update testcases fixing endiannes and linux targets

This fixes the testcases that are failing due to my recent patch.
It turns out that the start address across baremetal and linux builds
isn't entirely predictable without a linker script.  Since the address
themselves are not the important thing I am ignoring them now.

Secondly I was encoding data using .word using non 0 values, however
because .word is subjected to endiannes these non-zero values under
big-endian happen to fall into the encoding space of instructions which
changes the disassembly.  Using 0 fixes this problem and the purpose of
the test still holds, though objdump will dump ... for data only sections,
which is ok as the data/insn mixed sections will test the patch.

The ARM Attributes sections is not important and is ignored.

binutils/ChangeLog:

* testsuite/binutils-all/aarch64/in-order.d: Likewise.
* testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
* testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
* testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
* testsuite/binutils-all/arm/in-order-all.d: Likewise.
* testsuite/binutils-all/arm/in-order.d: Likewise.
* testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
* testsuite/binutils-all/arm/out-of-order.d: Likewise.
* testsuite/binutils-all/arm/out-of-order.s: Likewise.
binutils/ChangeLog
binutils/testsuite/binutils-all/aarch64/in-order-all.d
binutils/testsuite/binutils-all/aarch64/in-order.d
binutils/testsuite/binutils-all/aarch64/out-of-order-all.d
binutils/testsuite/binutils-all/aarch64/out-of-order.d
binutils/testsuite/binutils-all/aarch64/out-of-order.s
binutils/testsuite/binutils-all/arm/in-order-all.d
binutils/testsuite/binutils-all/arm/in-order.d
binutils/testsuite/binutils-all/arm/out-of-order-all.d
binutils/testsuite/binutils-all/arm/out-of-order.d
binutils/testsuite/binutils-all/arm/out-of-order.s