aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorYunQiang Su <yunqiang.su@cipunited.com>2023-05-06 16:26:13 +0800
committerYunQiang Su <yunqiang.su@cipunited.com>2023-06-05 11:00:14 +0800
commit094025a30bb2da19df3990e0c0ff8167af823aa1 (patch)
tree0319b69f8f168997b3c4fc72d66d94d2772a3fbf /gdb/language.c
parentfa1ccf789589ad584400932ca88fa84388c3bced (diff)
downloadbinutils-094025a30bb2da19df3990e0c0ff8167af823aa1.zip
binutils-094025a30bb2da19df3990e0c0ff8167af823aa1.tar.gz
binutils-094025a30bb2da19df3990e0c0ff8167af823aa1.tar.bz2
MIPS: gas: alter 64 or 32 for mipsisa triples if march is implicit
When configure with triples mipsisa[32,64]rN[el,], the march value is pinned to a fix value if not given explicitly. for example 1) mipsisa32r6-linux-gnu -n32 xx.s will complains that: -march=mips32r6 is not compatible with the selected ABI 2) mipsisa64r2el-linux-gnu -o32 generates objects with 64bit CPU: ELF 32-bit LSB relocatable, MIPS, MIPS64 rel2 version 1 (SYSV) They are not good default behaviors: Let's alter the CPU info Since we are using these triples as a regular linux distributions, let's alter march according to ABI.
Diffstat (limited to 'gdb/language.c')
0 files changed, 0 insertions, 0 deletions