aarch64: Fix PAuth_LR tests for PE/COFF targets
Corrects assembler tests for aarch64 PE/COFF targets by fixing alignment directives.
This commit addresses an issue in the aarch64 assembler tests related to PAuth_LR. The tests previously used a .balign 0x40000 directive, which caused an error on aarch64-pe targets because alignments of 2^18 are not representable. The fix replaces .balign with .org and adjusts the test’s expected output to match the PE/COFF .text+... spelling, ensuring test suite stability.
In Details
The PAuth_LR tests in gas/testsuite/gas/aarch64/ were failing on aarch64 PE targets due to an invalid alignment specification (.balign 0x40000). This commit replaces the problematic directive with .org and modifies the test's output matching to accommodate the PE/COFF object file format's representation of section addresses.
- PAuth_LR
- Pointer Authentication for Link Register, a security feature on ARM architectures.
- aarch64
- The 64-bit version of the ARM architecture.
- PE/COFF
- Portable Executable/Common Object File Format, a file format for executables, object code, and shared libraries used on Windows and some other systems.
- .balign
- An assembler directive used to align the current location counter to a specified boundary.
- .org
- An assembler directive used to set the location counter to a specific address, optionally filling with zeros.