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 | |
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')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c7ff5ca..cbe2a57 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2023-11-15 YunQiang Su <yunqiang.su@cipunited.com> + + * testsuite/gas/mips/mips.exp (mips_arch_create): Add "--defsym + r6=" to as_flags for r6 targets. + 2023-11-15 Arsen Arsenović <arsen@aarsen.me> * aclocal.m4: Regenerate. 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 } |