2003-01-09 Chris Demetriou <cgd@broadcom.com>

* ldmain.c (get_emulation): Sort -mipsNN checks in the usual
        order, and handle (ignore) -mips32r2.
This commit is contained in:
Chris Demetriou 2003-01-09 21:26:53 +00:00
parent a80e2bcbae
commit 6f33421c47
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-01-09 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Sort -mipsNN checks in the usual
order, and handle (ignore) -mips32r2.
2003-01-09 Daniel Jacobowitz <drow@mvista.com> 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
* ldmain.c (main): Make sure ld_sysroot is initialized. * ldmain.c (main): Make sure ld_sysroot is initialized.

View File

@ -578,10 +578,11 @@ get_emulation (argc, argv)
else if (strcmp (argv[i], "-mips1") == 0 else if (strcmp (argv[i], "-mips1") == 0
|| strcmp (argv[i], "-mips2") == 0 || strcmp (argv[i], "-mips2") == 0
|| strcmp (argv[i], "-mips3") == 0 || strcmp (argv[i], "-mips3") == 0
|| strcmp (argv[i], "-mips32") == 0
|| strcmp (argv[i], "-mips64") == 0
|| strcmp (argv[i], "-mips4") == 0 || strcmp (argv[i], "-mips4") == 0
|| strcmp (argv[i], "-mips5") == 0) || strcmp (argv[i], "-mips5") == 0
|| strcmp (argv[i], "-mips32") == 0
|| strcmp (argv[i], "-mips32r2") == 0
|| strcmp (argv[i], "-mips64") == 0)
{ {
/* FIXME: The arguments -mips1, -mips2, -mips3, etc. are /* FIXME: The arguments -mips1, -mips2, -mips3, etc. are
passed to the linker by some MIPS compilers. They passed to the linker by some MIPS compilers. They