// powerpc.h -- ELF definitions specific to EM_PPC and EM_PPC64 -*- C++ -*-
-// Copyright (C) 2008-2014 Free Software Foundation, Inc.
+// Copyright (C) 2008-2017 Free Software Foundation, Inc.
// Written by David S. Miller <davem@davemloft.net>.
// This file is part of elfcpp.
R_PPC_EMB_RELSDA = 116,
R_PPC64_REL24_NOTOC = 116,
R_PPC64_ADDR64_LOCAL = 117,
+ R_PPC64_ENTRY = 118,
R_PPC_VLE_REL8 = 216,
R_PPC_VLE_REL15 = 217,
R_PPC_VLE_SDAREL_HA16A = 231,
R_PPC_VLE_SDAREL_HA16D = 232,
+ R_POWERPC_REL16DX_HA = 246,
R_PPC64_JMP_IREL = 247,
R_POWERPC_IRELATIVE = 248,
R_POWERPC_REL16 = 249,
EF_PPC64_ABI = 3
};
+// DT_PPC_OPT bits
+enum
+{
+ PPC_OPT_TLS = 1
+};
+
+// DT_PPC64_OPT bits
+enum
+{
+ PPC64_OPT_TLS = 1,
+ PPC64_OPT_MULTI_TOC = 2,
+ PPC64_OPT_LOCALENTRY = 4
+};
+
enum
{
// The ELFv2 ABI uses three bits in the symbol st_other field of a