send2vinnie / mclinker

Automatically exported from code.google.com/p/mclinker
Other
0 stars 0 forks source link

Support partial linking #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Support these options:

-r
--relocatable
-Ur

  Generate relocatable output---i.e., generate an output file that can in turn serve as input to ld.  This is often called partial linking.  As a side effect, in environments that support standard Unix magic numbers, this option also sets the output file's magic number to "OMAGIC".

  If this option is not specified, an absolute file is produced.  When linking C++ programs, this option will not resolve references to constructors; to do that, use -Ur.

  When an input file does not have the same format as the output file, partial linking is only supported if that input file does not contain any relocations. Different output formats can have further restrictions; for example some "a.out"-based formats do not support partial linking with input files in other formats at all.

  This option does the same thing as -i.

Original issue reported on code.google.com by LubaTang on 11 May 2012 at 9:24

GoogleCodeExporter commented 9 years ago

Original comment by pete.c...@gmail.com on 5 Sep 2013 at 3:21

GoogleCodeExporter commented 9 years ago
Issue 95 has been merged into this issue.

Original comment by pete.c...@gmail.com on 18 Sep 2013 at 11:57

GoogleCodeExporter commented 9 years ago

Original comment by pete.c...@gmail.com on 2 Apr 2014 at 3:22