diff options
author | 2021-01-11 14:33:03 +0000 | |
---|---|---|
committer | 2021-01-11 14:33:03 +0000 | |
commit | dee726de9b1b5e6eaa1d1869c68d8e443646e72a (patch) | |
tree | 47d4f8a7fa65c014b19761661a1ff53e3e2325bc | |
parent | Updated translations for multiple subdirectories (diff) | |
download | binutils-gdb-dee726de9b1b5e6eaa1d1869c68d8e443646e72a.tar.gz binutils-gdb-dee726de9b1b5e6eaa1d1869c68d8e443646e72a.tar.bz2 binutils-gdb-dee726de9b1b5e6eaa1d1869c68d8e443646e72a.zip |
Add support for more MIPS variants to the linker command line.
PR ld/27167
* ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
and mips64r5 to list of known mips targets.
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/ldmain.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 847b921ed1d..2b0c4db5433 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2021-01-11 Matt Jenkins <matt@majenko.co.uk> + + PR ld/27167 + * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3 + and mips64r5 to list of known mips targets. + 2021-01-11 Nick Clifton <nickc@redhat.com> * po/pt_BR.po: Updated Brazilian Portuguese translation. diff --git a/ld/ldmain.c b/ld/ldmain.c index 1e137426ea7..863df0293ea 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -700,9 +700,13 @@ get_emulation (int argc, char **argv) || strcmp (argv[i], "-mips5") == 0 || strcmp (argv[i], "-mips32") == 0 || strcmp (argv[i], "-mips32r2") == 0 + || strcmp (argv[i], "-mips32r3") == 0 + || strcmp (argv[i], "-mips32r5") == 0 || strcmp (argv[i], "-mips32r6") == 0 || strcmp (argv[i], "-mips64") == 0 || strcmp (argv[i], "-mips64r2") == 0 + || strcmp (argv[i], "-mips64r3") == 0 + || strcmp (argv[i], "-mips64r5") == 0 || strcmp (argv[i], "-mips64r6") == 0) { /* FIXME: The arguments -mips1, -mips2, -mips3, etc. are |