<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="color: rgb(33, 33, 33); font-size: 12pt;">> </span><br>
</p>
<div style="color: rgb(33, 33, 33);">
<div>
<div dir="ltr">>Looks like we should do something for them, but can you describe what we should do? I can't find a simple rule to describe the behavior of GNU linkers.<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Description looks to be simple:<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">"The linker uses a simple heuristic to do this. It attempts to place orphan sections after non-orphan sections of the same attribute, such as code vs data, loadable vs non-loadable, etc. If there is not enough room to do this then it places at
 the end of the file."<br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
</blockquote>
<span style="font-size: 12pt;">(<a href="https://sourceware.org/binutils/docs/ld/Orphan-Sections.html">https://sourceware.org/binutils/docs/ld/Orphan-Sections.html</a>​)</span><br>
</div>
<div class="gmail_quote"><span style="font-size: 12pt;"><br>
</span></div>
<div class="gmail_quote"><span style="font-size: 12pt;">George.</span></div>
</div>
</div>
</div>
</body>
</html>