[PATCH] D70468: [ELF] Error if -Ttext-segment is specified
    Rui Ueyama via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov 19 17:56:37 PST 2019
    
    
  
ruiu added inline comments.
================
Comment at: lld/ELF/Driver.cpp:1015-1016
 
+  // The text segment is traditionally the first segment. Suggest --image-base
+  // as a likely alternative.
+  if (args.hasArg(OPT_Ttext_segment))
----------------
Could you expand the comment so that you explain a reasoning just as you explained it in the commit message?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70468/new/
https://reviews.llvm.org/D70468
    
    
More information about the llvm-commits
mailing list