diff options
| author | Aurelien Jarno <[email protected]> | 2021-01-09 20:30:47 +0100 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2021-01-15 15:34:20 +0100 |
| commit | 5373ae67c3aad1ab306cc722b5a80b831eb4d4d1 (patch) | |
| tree | f8b46e8326f9ef4efde53cea2dd97d84dd28c608 /scripts/gdb/linux/utils.py | |
| parent | 8790ccf8daf1a8c53b6cb8ce0c9a109274bd3fa8 (diff) | |
MIPS: Support binutils configured with --enable-mips-fix-loongson3-llsc=yes
From version 2.35, binutils can be configured with
--enable-mips-fix-loongson3-llsc=yes, which means it defaults to
-mfix-loongson3-llsc. This breaks labels which might then point at the
wrong instruction.
The workaround to explicitly pass -mno-fix-loongson3-llsc has been
added in Linux version 5.1, but is only enabled when building a Loongson
64 kernel. As vendors might use a common toolchain for building Loongson
and non-Loongson kernels, just move that workaround to
arch/mips/Makefile. At the same time update the comments to reflect the
current status.
Cc: [email protected] # 5.1+
Cc: YunQiang Su <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions