aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-15 21:04:21 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-15 21:04:21 +0000
commitcbbf96082238c535673cea161a643ab9200482f4 (patch)
tree2b59803c88fecd5a2304efd931d445e452939bb2 /ld/ldmain.c
parent7fb9ca5fc27e521d28d5ef74bfd73b0b8bab8da6 (diff)
downloadgdb-cbbf96082238c535673cea161a643ab9200482f4.zip
gdb-cbbf96082238c535673cea161a643ab9200482f4.tar.gz
gdb-cbbf96082238c535673cea161a643ab9200482f4.tar.bz2
* ldmain.c (get_emulation): Ignore -m486 for Linux compatibility.
* lexsup.c (parse_args): Ignore -qmagic for Linux compatibility.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 82b5a40..5b2e370 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -367,6 +367,12 @@ get_emulation (argc, argv)
the arguments and hope that nobody ever creates
emulations named ips1, ips2 or ips3. */
}
+ else if (strcmp (argv[i], "-m486") == 0)
+ {
+ /* FIXME: The argument -m486 is passed to the linker on
+ some Linux systems. Hope that nobody creates an
+ emulation named 486. */
+ }
else
{
/* -mEMUL */