[llvm-commits] [PATCH] Add a segment type for PT_ARM_EXIDX in llvm/Support/ELF.h
pete
petechou at gmail.com
Tue Oct 30 03:05:23 PDT 2012
Hi,
We can find ARM defined segment types in the chapter 5 of "ELF for the ARM
Architecture",
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf
Table 5-1, Processor-specific segment types
Name p_type Meaning
PT_ARM_ARCHEXT 0x70000000 Platform architecture compatibility information
PT_ARM_EXIDX 0x70000001 Exception unwind tables
PT_ARM_UNWIND
Will it be better to add all missing constants for ARM segments?
Thanks,
Pete
On Fri, Oct 26, 2012 at 6:13 PM, Pete Chou <petechou at gmail.com> wrote:
> Hi,
>
> 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
> http://www.sco.com/developers/gabi/latest/ch5.pheader.html#p_type)
>
> Please help review and commit if it looks good.
>
> -
> Thanks,
> Pete
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121030/c31512be/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-arm-segment-types.diff
Type: application/octet-stream
Size: 1364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121030/c31512be/attachment.obj>
More information about the llvm-commits
mailing list