<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">As a note, using the previous MC ELFObjectWriter patch, I have been able to get initial ELF object file writing to work for the MBlaze backend without needing to change the ELFObjectWrite.cpp file (beyond the previous patch). Right now it can produce mostly identical ELF files compared to GCC for several examples. The only difference seems to be the ordering of some of the relocations and the omission of symbols that start with $ (I think this is on purpose).<div><br></div><div>The attached patch shows the changes that were necessary to get this working on a new backend.<div><br></div><div>I'll hold off on committing these until someone has time to look over the previous patch since they change things in the MC framework that I'm not too familiar with.</div><div><br></div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Menlo; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><span class="Apple-style-span" style="font-family: Helvetica; ">--</span></div><div><div style="font-family: Helvetica; ">Wesley Peck</div><div style="font-family: Helvetica; ">University of Kansas</div><div style="font-family: Helvetica; ">SLDG Laboratory</div></div></span>
</div><div><br class="webkit-block-placeholder"></div><div></div></div></div></body></html>