public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* gold patch committed: Add -dy and -dn options
@ 2011-03-07 22:52 Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2011-03-07 22:52 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

This patch to gold adds the -dy and -dn options, which are used by the
Solaris linker.  They are synonyms for -Bdynamic and -Bshared
respectively.  Committed to mainline and 2.21 branch.

Ian


2011-03-07  Ian Lance Taylor  <iant@google.com>

	PR gold/12525
	* options.h (class General_options): Add -dy and -dn.



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 781 bytes --]

Index: options.h
===================================================================
RCS file: /cvs/src/src/gold/options.h,v
retrieving revision 1.154
diff -u -p -r1.154 options.h
--- options.h	25 Jan 2011 06:08:47 -0000	1.154
+++ options.h	7 Mar 2011 22:44:50 -0000
@@ -623,6 +623,10 @@ class General_options
   DEFINE_bool_alias(Bstatic, Bdynamic, options::ONE_DASH, '\0',
 		    N_("-l does not search for shared libraries"), NULL,
 		    true);
+  DEFINE_bool_alias(dy, Bdynamic, options::ONE_DASH, '\0',
+		    N_("alias for -Bdynamic"), NULL, false);
+  DEFINE_bool_alias(dn, Bdynamic, options::ONE_DASH, '\0',
+		    N_("alias for -Bstatic"), NULL, true);
 
   DEFINE_bool(Bsymbolic, options::ONE_DASH, '\0', false,
               N_("Bind defined symbols locally"), NULL);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-07 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-07 22:52 gold patch committed: Add -dy and -dn options Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).