Discussion:
[PATCH 6/8][Binutils][AArch64] Close sequences at the end of sections
Tamar Christina
2018-09-24 17:21:53 UTC
Permalink
Hi All,

Any open sequence at the end of a section or assembly is considered an error.
This patch adds a check at the end to ensure that all sequences have been closed
and if not reports a warning.

During disassembly it's not possible to detect this condition in the back-end so
the warning is only emitted from the assembler for now.

build on native hardware and regtested on
aarch64-none-elf, aarch64-none-elf (32 bit host),
aarch64-none-linux-gnu

Cross-compiled and regtested on
aarch64-none-linux-gnu, aarch64_be-none-linux-gnu

and no issues.

Ok for master??

Thanks,
Tamar

gas/
2018-09-24 Tamar Christina <***@arm.com>

* config/tc-aarch64.c (force_automatic_sequence_close,
aarch64_frob_section): New.
* config/tc-aarch64.h (tc_frob_section, aarch64_frob_section): New.

--
Nick Clifton
2018-10-03 09:50:57 UTC
Permalink
Hi Tamar,
Post by Tamar Christina
gas/
* config/tc-aarch64.c (force_automatic_sequence_close,
aarch64_frob_section): New.
* config/tc-aarch64.h (tc_frob_section, aarch64_frob_section): New.
Approved - please apply.

Cheers
Nick

Continue reading on narkive:
Loading...