diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-09-30 20:27:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-09-30 20:27:53 +0000 |
commit | f17b47d200e2fc7cbd48054dab97824e7e5396c4 (patch) | |
tree | 885559b2f58975597aeb472b7af92f17c99acd81 /gnu/usr.bin/ld/ld.c | |
parent | 93e06ba6fa607c56fe466185179ca6103dd137cf (diff) |
accept a -E argument like ELF ld does. fake it out. it does nothing here.
actually, it is what a.out does already automatically according to dale.
ok miod
Diffstat (limited to 'gnu/usr.bin/ld/ld.c')
-rw-r--r-- | gnu/usr.bin/ld/ld.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/ld.c b/gnu/usr.bin/ld/ld.c index c7b67f7ea17..eacb615ff47 100644 --- a/gnu/usr.bin/ld/ld.c +++ b/gnu/usr.bin/ld/ld.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ld.c,v 1.31 2004/03/31 19:05:38 mickey Exp $ */ +/* $OpenBSD: ld.c,v 1.32 2005/09/30 20:27:52 deraadt Exp $ */ /* $NetBSD: ld.c,v 1.52 1998/02/20 03:12:51 jonathan Exp $ */ /*- @@ -451,6 +451,10 @@ classify_arg(char *arg) return 1; return 2; + case 'E': + /* ignore this option */ + return 1; + case 'B': if (!strcmp(&arg[2], "static")) return 1; @@ -743,6 +747,9 @@ decode_option(char *swt, char *arg) add_cmdline_ref(entry_symbol); return; + case 'E': + return; + case 'l': return; |