<div dir="ltr">It is would be fine to use the default ld script give by the arm-rtems-ld --verbose. However, most of the time, you do not need all the sections given by default script. You can remove the section you do not need( e.g .tdata in your case.)<br>
<br>
<div class="gmail_quote">2008/10/17 PowerMan <span dir="ltr"><<a href="mailto:powerman1st@gmail.com">powerman1st@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">I have compared the linker script of the gp32-bsp (arm920, s3c2400) and the<br>default lds of arm-rtems-gcc (could be shown by arm-rtems-ld --verbose).<br><br>I found that there are several segment appeared in default lds<br>
but not gp32 lds. Such as <br><br> .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }<br> .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }<br> .got : { *(.got.plt) *(.got) }<br> .rel.dyn :<br>
{<br> *(.rel.init)<br> *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)<br> *(.rel.fini)<br> *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)<br> *(.<a href="http://rel.data.rel.ro/" target="_blank">rel.data.rel.ro</a>* .rel.gnu.linkonce.d.rel.ro.*)<br>
*(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)<br> *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)<br> *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)<br> *(.rel.ctors)<br> *(.rel.dtors)<br> *(.rel.got)<br>
*(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)<br> }<br><br>Would it do harm to the integrality of the gp32 final target image ?<br><br>Thanks.<br></div><br>_______________________________________________<br>rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.com">rtems-users@rtems.com</a><br><a href="http://rtems.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://rtems.rtems.org/mailman/listinfo/rtems-users</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Thanks & Best Regards!<br><br>Ray, Xu<br></div>