[llvm-commits] [llvm] r162035 - /llvm/trunk/include/llvm/Support/ELF.h
Chandler Carruth
chandlerc at google.com
Thu Aug 16 11:34:18 PDT 2012
Test case please.
On Thu, Aug 16, 2012 at 11:31 AM, Roman Divacky <rdivacky at freebsd.org>wrote:
> Author: rdivacky
> Date: Thu Aug 16 13:31:29 2012
> New Revision: 162035
>
> URL: http://llvm.org/viewvc/llvm-project?rev=162035&view=rev
> Log:
> Add PPC64 relocations definitions, by Adhemerval Zanella.
>
> Modified:
> llvm/trunk/include/llvm/Support/ELF.h
>
> Modified: llvm/trunk/include/llvm/Support/ELF.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ELF.h?rev=162035&r1=162034&r2=162035&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/Support/ELF.h (original)
> +++ llvm/trunk/include/llvm/Support/ELF.h Thu Aug 16 13:31:29 2012
> @@ -441,6 +441,7 @@
> R_MICROBLAZE_COPY = 21
> };
>
> +// ELF Relocation types for PPC32
> enum {
> R_PPC_NONE = 0, /* No relocation. */
> R_PPC_ADDR32 = 1,
> @@ -459,6 +460,21 @@
> R_PPC_REL32 = 26
> };
>
> +// ELF Relocation types for PPC64
> +enum {
> + R_PPC64_ADDR16_LO = 4,
> + R_PPC64_ADDR16_HA = 6,
> + R_PPC64_ADDR14 = 7,
> + R_PPC64_REL24 = 10,
> + R_PPC64_ADDR64 = 38,
> + R_PPC64_TOC16 = 47,
> + R_PPC64_TOC16_LO = 48,
> + R_PPC64_TOC16_HI = 49,
> + R_PPC64_TOC16_HA = 50,
> + R_PPC64_TOC = 51,
> + R_PPC64_TOC16_DS = 63
> +};
> +
> // ARM Specific e_flags
> enum { EF_ARM_EABIMASK = 0xFF000000U };
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120816/a1bce598/attachment.html>
More information about the llvm-commits
mailing list