Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/elf_common.h
Show First 20 Lines • Show All 1,214 Lines • ▼ Show 20 Lines | |||||
#define R_PPC64_TOC16 47 | #define R_PPC64_TOC16 47 | ||||
#define R_PPC64_TOC16_LO 48 | #define R_PPC64_TOC16_LO 48 | ||||
#define R_PPC64_TOC16_HI 49 | #define R_PPC64_TOC16_HI 49 | ||||
#define R_PPC64_TOC16_HA 50 | #define R_PPC64_TOC16_HA 50 | ||||
#define R_PPC64_TOC 51 | #define R_PPC64_TOC 51 | ||||
#define R_PPC64_DTPMOD64 68 | #define R_PPC64_DTPMOD64 68 | ||||
#define R_PPC64_TPREL64 73 | #define R_PPC64_TPREL64 73 | ||||
#define R_PPC64_DTPREL64 78 | #define R_PPC64_DTPREL64 78 | ||||
#define R_PPC64_IRELATIVE 248 | |||||
bdragon: As an aside -- This line is needed for pretty much everything ifunc related kernel and user, I… | |||||
bdragonUnsubmitted Done Inline Actionsjhibbits pointed out in IRC that there should also be #define R_PPC_IRELATIVE 248 in the previous block. bdragon: jhibbits pointed out in IRC that there should also be #define R_PPC_IRELATIVE 248 in the… | |||||
bdragonUnsubmitted Done Inline ActionsCorrection, it should be named R_PPC_IRELATIVE in the first place instead of being duplicated. as per the convention in this file of using the R_PPC prefix for relocations that aren't unique to PPC64. bdragon: Correction, it should be named R_PPC_IRELATIVE in the first place instead of being duplicated. | |||||
luporlAuthorUnsubmitted Done Inline ActionsOk, so you suggest moving this change to a separate revision, right? And also change R_PPC64_IRELATIVE to R_PPC_IRELATIVE, correct? luporl: Ok, so you suggest moving this change to a separate revision, right? And also change… | |||||
jhibbitsUnsubmitted Done Inline ActionsYep, precisely. jhibbits: Yep, precisely. | |||||
/* | /* | ||||
* TLS relocations | * TLS relocations | ||||
*/ | */ | ||||
#define R_PPC_TLS 67 | #define R_PPC_TLS 67 | ||||
#define R_PPC_DTPMOD32 68 | #define R_PPC_DTPMOD32 68 | ||||
#define R_PPC_TPREL16 69 | #define R_PPC_TPREL16 69 | ||||
#define R_PPC_TPREL16_LO 70 | #define R_PPC_TPREL16_LO 70 | ||||
▲ Show 20 Lines • Show All 226 Lines • Show Last 20 Lines |
As an aside -- This line is needed for pretty much everything ifunc related kernel and user, I think it should be a priority to get this oneliner in just so it doesn't have to get duplicated between diffs doing different parts of the ifunc work.