This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gold patch committed; Support --no-export-dynamic
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Wed, 17 Dec 2008 17:54:26 -0800
- Subject: gold patch committed; Support --no-export-dynamic
A user ask me to provide a mechanism for turning off --export-dynamic
for gold. This simple patch implements --no-export-dynamic.
Committed.
Ian
2008-12-17 Ian Lance Taylor <iant@google.com>
* options.h (class General_options): Add --no case for
--export-dynamic.
Index: options.h
===================================================================
RCS file: /cvs/src/src/gold/options.h,v
retrieving revision 1.90
diff -u -p -r1.90 options.h
--- options.h 5 Dec 2008 21:34:50 -0000 1.90
+++ options.h 18 Dec 2008 01:52:36 -0000
@@ -636,7 +636,8 @@ class General_options
N_("Set program start address"), N_("ADDRESS"));
DEFINE_bool(export_dynamic, options::TWO_DASHES, 'E', false,
- N_("Export all dynamic symbols"), NULL);
+ N_("Export all dynamic symbols"),
+ N_("Do not export all dynamic symbols (default)"));
DEFINE_bool(eh_frame_hdr, options::TWO_DASHES, '\0', false,
N_("Create exception frame header"), NULL);