[PATCH] D24294: [ELF] - Implemented --section-start, -Ttext, -Tdata, -Tbss options.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 13:44:54 PDT 2016


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM with a nit.


================
Comment at: ELF/Options.td:170-181
@@ -166,8 +169,14 @@
 
+def Tbss: J<"Tbss=">, HelpText<"Same as --section-start with .bss as the sectionname">;
+
+def Tdata: J<"Tdata=">, HelpText<"Same as --section-start with .data as the sectionname.">;
+
 def threads: F<"threads">, HelpText<"Enable use of threads">;
 
 def trace: F<"trace">, HelpText<"Print the names of the input files">;
 
 def trace_symbol : J<"trace-symbol=">, HelpText<"Trace references to symbols">;
 
+def Ttext: J<"Ttext=">, HelpText<"Same as --section-start with .text as the sectionname.">;
+
 def undefined: S<"undefined">,
----------------
Move the new definitions before `allow_multiple_definition`. They are sorted in ASCIIbetical order.


https://reviews.llvm.org/D24294





More information about the llvm-commits mailing list