[PATCH 1/4] Support MIPS64EL relocation type names

Charles Davis cdavis5x at gmail.com
Fri Apr 5 20:31:22 PDT 2013


On Apr 5, 2013, at 1:31 AM, Nico Rieck wrote:
> diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
> index ea597fc..232aadc 100644
> --- a/include/llvm/Support/ELF.h
> +++ b/include/llvm/Support/ELF.h
> @@ -466,6 +466,7 @@ enum {
>  
>  // ELF Relocation types for PPC64
>  enum {
> +  R_PPC64_NONE                = 0,
>    R_PPC64_ADDR32              = 1,
>    R_PPC64_ADDR16_LO           = 4,
>    R_PPC64_ADDR16_HI           = 5,
> @@ -486,6 +487,7 @@ enum {
>    R_PPC64_TOC16_LO_DS         = 64,
>    R_PPC64_TLS                 = 67,
>    R_PPC64_TPREL16_LO          = 70,
> +  R_PPC64_TPREL16_HA          = 72,
>    R_PPC64_DTPREL16_LO         = 75,
>    R_PPC64_DTPREL16_HA         = 77,
>    R_PPC64_GOT_TLSGD16_LO      = 80,
I think part of your second patch spilled over into your first :).

Chip




More information about the llvm-commits mailing list