diff options
| author | 2016-12-06 15:27:43 +0000 | |
|---|---|---|
| committer | 2016-12-06 15:54:21 +0000 | |
| commit | bbb56c27228d4ad64aca858c5af49d0f2f11c645 (patch) | |
| tree | bee9381f7216018593b2a687db02f183b2672c5d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | arm64: Remove reference to asm/opcodes.h (diff) | |
| download | linux-rng-bbb56c27228d4ad64aca858c5af49d0f2f11c645.tar.xz linux-rng-bbb56c27228d4ad64aca858c5af49d0f2f11c645.zip | |
arm64: Add detection code for broken .inst support in binutils
Binutils version up to (and including) 2.25 have a pathological
behaviour when it comes to mixing .inst directive and arithmetic
involving labels. The assembler complains about non-constant
expressions and compilation stops pretty quickly.
In order to detect this and work around it, let's add a bit of
detection code that will set the CONFIG_BROKEN_GAS_INST option
should a broken gas be detected.
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 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
