Hi,<div><br></div><div><div>We can find ARM defined segment types in the chapter 5 of "ELF for the ARM Architecture", <a href="http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf">http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf</a></div>

<div><br></div><div>Table 5-1, Processor-specific segment types </div><div>Name            p_type      Meaning </div><div>PT_ARM_ARCHEXT  0x70000000  Platform architecture compatibility information</div><div>PT_ARM_EXIDX    0x70000001  Exception unwind tables </div>

<div>PT_ARM_UNWIND </div></div><div><br></div><div>Will it be better to add all missing constants for ARM segments?</div><div><br></div><div>Thanks,<div>Pete</div><br>
<br><br><div class="gmail_quote">On Fri, Oct 26, 2012 at 6:13 PM, Pete Chou <span dir="ltr"><<a href="mailto:petechou@gmail.com" target="_blank">petechou@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<div><br></div><div>This is a patch to add a missing ELF constant for PT_ARM_EXIDX segment. I think any linker project based on LLVM that supports ARM ELF EH will need this. And I made a patch for this (attached add-pt-arm-exidx.diff). Or will it be better if I rearrange the segment constants in the standard first like the attached add-arm-pt-arm-exidx-2.diff? (See <a href="http://www.sco.com/developers/gabi/latest/ch5.pheader.html#p_type" target="_blank">http://www.sco.com/developers/gabi/latest/ch5.pheader.html#p_type</a>)</div>


<div> </div><div>Please help review and commit if it looks good.</div><div><div><br></div><div>-</div>Thanks,<div>Pete</div></div>
</blockquote></div><br></div>