diff options
author | YunQiang Su <yunqiang.su@cipunited.com> | 2023-11-15 13:44:42 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-11-15 13:44:42 +0000 |
commit | 56172576da018d55fc03b25ba73e17cc6625dc36 (patch) | |
tree | 930de9c57948cf01c276f60bccfd5af6933032d0 /gas/testsuite | |
parent | 862776f26a59516467c98091994c3dac90383159 (diff) | |
download | gdb-56172576da018d55fc03b25ba73e17cc6625dc36.zip gdb-56172576da018d55fc03b25ba73e17cc6625dc36.tar.gz gdb-56172576da018d55fc03b25ba73e17cc6625dc36.tar.bz2 |
GAS/MIPS: add "--defsym r6=" for default when it's r6
* testsuite/gas/mips/mips.exp (mips_arch_create): Add "--defsym r6=" to as_flags for r6 targets.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index dd52d5a..777ae65 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -163,6 +163,11 @@ proc mips_arch_create {arch gprsize extends props as_flags objdump_flags set archdata(as_flags) "" set archdata(objdump_flags) "" + if { [string compare $arch mips32r6] == 0 + || [string compare $arch mips64r6] == 0} { + set archdata(as_flags) "--defsym r6=" + } + set mips_arches(default) [array get archdata] break } |