diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-12-06 15:27:45 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-12-06 15:54:28 +0000 |
commit | cd9e1927a525f6ce7c0d99c6e038f0a0b9e85176 (patch) | |
tree | 27f2d7b9b4bba34962abb9098a3b265b94ac140b /drivers/uio/uio_pruss.c | |
parent | bbb56c27228d4ad64aca858c5af49d0f2f11c645 (diff) |
arm64: Work around broken .inst when defective gas is detected
.inst being largely broken with older binutils, it'd be better not
to emit it altogether when detecting such configuration (as it
leads to all kind of horrors when using alternatives).
Generalize the __emit_inst macro and use it extensively in
asm/sysreg.h, and make it generate a .long when a broken gas is
detected. The disassembly will be crap, but at least we can write
semi-sane code.
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/uio/uio_pruss.c')
0 files changed, 0 insertions, 0 deletions