Thread (8 messages) 8 messages, 3 authors, 2016-12-06

[PATCH v2 0/2] arm64: Fix fallout of asm/opcodes.h removal

flat view
STALE3600d REVIEWED: 1 (0M)

From: Will Deacon <hidden>
Date: 2016-12-06 15:30:56

1 review trailer.

On Tue, Dec 06, 2016 at 03:27:42PM +0000, Marc Zyngier wrote:
As part of the asm/opcodes.h removal, the SET_PSTATE_{PAN,UAO} macros
have been switch to using the .inst directive instead of .long (as
this has the advantage of providing a correct disassembly). This
had the side effect of bringing back an ugly gas bug that shows up
when .inst is used within alternative sequences.

This series works around the problem by:
- adding detection code for the broken binutils,
- work around the issue by falling back to .long when using a buggy
  assembler.

This has been tested with both binutils 2.25 (broken) and 2.27
(fixed), with both LE and BE builds.

Marc Zyngier (2):
  arm64: Add detection code for broken .inst support in binutils
  arm64: Work around broken .inst when defective gas is detected
For the two patches (not the bonus xen one!):

Acked-by: Will Deacon <redacted>

Thanks for sticking with this...

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help