arm64: Fix fallout of asm/opcodes.h removal
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 2 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Will Deacon |
|---|---|
| Series | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] arm64: Fix fallout of asm/opcodes.h removal
Quoted 11 lines · Marc Zyngier
As part of the
asm/opcodes.hremoval, 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.
Quoted 6 lines
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!):
Thanks for sticking with this...
Will