<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<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;">> I believe that the resulting object files with this patch contains some linker-synthesized symbols such as __init_array_start or __start_<section-name>. Is this expected?</span><br>
</p>
<div style="color: rgb(33, 33, 33);">
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">So, returning to this, <br>
</div>
<div class="gmail_quote">gold also generates <span style="font-size: 12pt;">__start_/_end_</span><span style="font-size: 12pt;">​<section-name> for relocatable output.</span></div>
<div class="gmail_quote"><span style="font-size: 12pt;"><br>
</span></div>
<div class="gmail_quote"><span style="font-size: 12pt;">and also such symbols as:</span></div>
<div class="gmail_quote"><span style="font-size: 12pt;"><br>
</span></div>
<div class="gmail_quote">
<div> __preinit_array_start</div>
<div>__preinit_array_end</div>
<div> __init_array_start</div>
<div>__init_array_end</div>
<div>__fini_array_start</div>
<div>__fini_array_end​<br>
</div>
<div><br>
</div>
<div>So that is not an issue.<br>
</div>
<div><br>
</div>
<div>I am working on another patches for -r thought. I will also publish a patch with testcases for above symbols soon.<br>
</div>
<div><br>
</div>
<div>George.<br>
</div>
<span style="font-size: 12pt;"><br>
</span></div>
</div>
</div>
</div>
</body>
</html>