Skip to content
Commit f7897e0c authored by Nick Clifton's avatar Nick Clifton Committed by Adhemerval Zanella
Browse files

Fix the generation of alignment frags in code sections for AArch64.

	PR gas/20364
	* config/tc-aarch64.c (s_ltorg): Change the mapping state after
	aligning the frag.
	(aarch64_init): Treat rs_align frags in code sections as
	containing code, not data.
	* testsuite/gas/aarch64/pr20364.s: New test.
	* testsuite/gas/aarch64/pr20364.d: New test driver.

Cherry-pick of 7ea12e5c

Change-Id: I6bb37f33419cbf54e52c8d54ef0d1c18fdc85878
parent b031c3be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment