summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/ld/ld.c9
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;