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

Richard Lowe richlowe at richlowe.net
Tue Jun 16 16:09:34 UTC 2015


-z ignore is similar but not the same.

-z discard-unused is a (smart) splitting up of the meanings of -z ignore
into separate options.  It'd be worth implementing, but we haven't yet

On Tue, Jun 16, 2015 at 12:06 PM Aurélien Larcher <
aurelien.larcher at gmail.com> wrote:

> 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
>
> -------------------------------------------------------------------------------
>  _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20150616/37892596/attachment.html>


More information about the oi-dev mailing list