summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2016-11-27 05:46:20 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-03-03 03:24:50 +0300
commit4dc831aa88132f835cefe876aa0206977c4d7710 (patch)
treecd6f657f665b9039afa66527ba1565e12d3ed139 /tools/perf/scripts/python/call-graph-from-postgresql.py
parenta6d8a21596df041f36f4c2ccc260c459e3e851f1 (diff)
downloadlinux-4dc831aa88132f835cefe876aa0206977c4d7710.tar.xz
powerpc: Fix compiling a BE kernel with a powerpc64le toolchain
GCC can compile with either endian, but the default ABI version is set based on the default endianness of the toolchain. Alan Modra says: you need both -mbig and -mabi=elfv1 to make a powerpc64le gcc generate powerpc64 code The opposite is true for powerpc64 when generating -mlittle it requires -mabi=elfv2 to generate v2 ABI, which we were already doing. This change adds ABI annotations together with endianness for all cases, LE and BE. This fixes the case of building a BE kernel with a toolchain that is LE by default. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions