[PATCH] D27070: Implement STARTUP linker script command.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 15:41:18 PST 2016


davide added a comment.

GNU gold doesn't seem to implement this one, maybe the same effect can be obtained without a linkerscript? What are you planning to use this for?

  [davide at cupiditate ~]$ cat script
  STARTUP(mario)
  [davide at cupiditate ~]$ ld.gold --script=script
  ld.gold: error: script:1:1: syntax error, unexpected STARTUP, expecting $end
  ld.gold: fatal error: unable to parse script file script
  [davide at cupiditate ~]$ ld --script=script
  ld: no input files


https://reviews.llvm.org/D27070





More information about the llvm-commits mailing list