[oi-dev] Linker option 'discard-unused=sections' ?

Aurélien Larcher aurelien.larcher at gmail.com
Tue Jun 16 16:06:23 UTC 2015


Hi,
I encountered '--gc-sections' in a Makefile that assumes that the GNU
linker is used and came across:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150223/262762.html

which indicates using* '*-z discard-unused=sections' but, as it seems, it
is only present in Solaris 11.1.

Does illumos' ld provide similar option ?

Best regards

Aurélien

-- 
-------------------------------------------------------------------------------
LARCHER Aurélien          | KTH, School of Computer Science and
Communication
Work: +46 (0) 8 790 71 42 | Lindstedtsvägen 5, Plan 4, 100 44 Stockholm,
SWEDEN
-------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20150616/879431fc/attachment-0004.html>


More information about the oi-dev mailing list