MIPS: support mips*64 as CPU and gnuabi64 as ABI

For MIPS64r6 ports, Debian as an example, `mipsisa64r6el` is
used as the cpu name in triple.
Let's recognize them by `mips*64*(el)`.

For 64bit Ports, like Debian's mips64el and mips64r6el ports,
`gnuabi64` is used as the abi section.
Let's use N64 abi by default for the triple with gnuabi64.
This commit is contained in:
YunQiang Su
2023-04-18 21:27:04 +08:00
parent fda507e61c
commit 32f1c80375
6 changed files with 45 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
#PROG: objcopy
#as: -n32
#readelf: --notes --wide
#objcopy: --merge-notes
#name: MIPS merge notes section (n32)