diff options
author | Chris Demetriou <cgd@google.com> | 2003-01-09 21:26:53 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2003-01-09 21:26:53 +0000 |
commit | 6f33421c4774d819f18277ca2e5cc9d2ea6a686e (patch) | |
tree | 267806aa58c71419e1dd89411a5cb187ec3d5317 /ld | |
parent | a80e2bcbae7041137bd873def3193216fb1afc9a (diff) | |
download | fsf-binutils-gdb-6f33421c4774d819f18277ca2e5cc9d2ea6a686e.zip fsf-binutils-gdb-6f33421c4774d819f18277ca2e5cc9d2ea6a686e.tar.gz fsf-binutils-gdb-6f33421c4774d819f18277ca2e5cc9d2ea6a686e.tar.bz2 |
2003-01-09 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Sort -mipsNN checks in the usual
order, and handle (ignore) -mips32r2.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/ldmain.c | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index f16654c..52b2467 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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> * ldmain.c (main): Make sure ld_sysroot is initialized. diff --git a/ld/ldmain.c b/ld/ldmain.c index d442738..9be3711 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -578,10 +578,11 @@ get_emulation (argc, argv) else if (strcmp (argv[i], "-mips1") == 0 || strcmp (argv[i], "-mips2") == 0 || strcmp (argv[i], "-mips3") == 0 - || strcmp (argv[i], "-mips32") == 0 - || strcmp (argv[i], "-mips64") == 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 passed to the linker by some MIPS compilers. They |