<div dir="ltr"><div><div>Hi,<br></div>Thank you for your answer ! Is there a possible catch using 'ignore' instead of just discarding unused sections ?<br></div><div>Best<br><br></div><div>Aurélien<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 6:09 PM, Richard Lowe <span dir="ltr"><<a href="mailto:richlowe@richlowe.net" target="_blank">richlowe@richlowe.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">-z ignore is similar but not the same.<br><br><div>-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</div></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Tue, Jun 16, 2015 at 12:06 PM Aurélien Larcher <<a href="mailto:aurelien.larcher@gmail.com" target="_blank">aurelien.larcher@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hi,<br></div>I encountered '--gc-sections' in a Makefile that assumes that the GNU linker is used and came across:<br><br><a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150223/262762.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150223/262762.html</a><br><br></div>which indicates using<i> '</i>-z discard-unused=sections' but, as it seems, it is only present in Solaris 11.1.<br><br></div>Does illumos' ld provide similar option ?<br><br></div>Best regards<br><br></div>Aurélien<br><div><div><div><div><div><div><br>-- <br><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">-------------------------------------------------------------------------------<br>LARCHER Aurélien          | KTH, School of Computer Science and Communication<br>
Work: <a value="+4687907142">+46 (0) 8 790 71 42</a> | Lindstedtsvägen 5, Plan <font size="1">4<font size="1">,</font></font> 100 44 Stockholm, SWEDEN<br>-------------------------------------------------------------------------------<br></font></div></div>
</div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="http://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">http://openindiana.org/mailman/listinfo/oi-dev</a></blockquote></div>
<br>_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br>
<a href="http://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">http://openindiana.org/mailman/listinfo/oi-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><font style="font-family:courier new,monospace" size="1">-------------------------------------------------------------------------------<br>LARCHER Aurélien          | KTH, School of Computer Science and Communication<br>
Work: <a value="+4687907142">+46 (0) 8 790 71 42</a> | Lindstedtsvägen 5, Plan <font size="1">4<font size="1">,</font></font> 100 44 Stockholm, SWEDEN<br>-------------------------------------------------------------------------------<br></font></div></div>
</div>