[lld] r217572 - [mach-o]: Support deprecated -seg1addr alias for -image_base

Tim Northover tnorthover at apple.com
Thu Sep 11 00:56:20 PDT 2014


Author: tnorthover
Date: Thu Sep 11 02:56:20 2014
New Revision: 217572

URL: http://llvm.org/viewvc/llvm-project?rev=217572&view=rev
Log:
[mach-o]: Support deprecated -seg1addr alias for -image_base

Because NO LINKER MAY CHANGE. EVER. Even if it's a complete rewrite
from scratch.

Modified:
    lld/trunk/lib/Driver/DarwinLdOptions.td

Modified: lld/trunk/lib/Driver/DarwinLdOptions.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/DarwinLdOptions.td?rev=217572&r1=217571&r2=217572&view=diff
==============================================================================
--- lld/trunk/lib/Driver/DarwinLdOptions.td (original)
+++ lld/trunk/lib/Driver/DarwinLdOptions.td Thu Sep 11 02:56:20 2014
@@ -143,6 +143,8 @@ def sectalign : MultiArg<["-"], "sectali
      MetaVarName<"<segname> <sectname> <alignment>">,
      HelpText<"alignment for segment/section">;
 def image_base : Separate<["-"], "image_base">;
+def seg1addr : Separate<["-"], "seg1addr">, Alias<image_base>;
+
 def t : Flag<["-"], "t">,
      HelpText<"Print the names of the input files as ld processes them">;
 def v : Flag<["-"], "v">,





More information about the llvm-commits mailing list