[PATCH 6/8][Binutils][AArch64] Close sequences at the end of sections

Tamar Christina tamar.christina@arm.com
Mon Sep 24 17:22:00 GMT 2018
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  <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.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb9982.patch
Type: text/x-diff
Size: 1972 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180924/518eed9b/attachment.bin>


More information about the Binutils mailing list