From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:RPX and RPL" |
|---|
| claim | "RPL relocation entries are 12-byte ELF RELA records (offset, info, addend) using standard PowerPC types ADDR32 1, ADDR16_LO 4, ADDR16_HI 5, ADDR16_HA 6, REL24 10, REL14 11, TLS DTPMOD32 68 and DTPREL32 78, EMB_SDA21 109, EMB_RELSDA 116, plus Green Hills/Diab types: DIAB_SDA21_LO/HI/HA 180-182, DIAB_RELSDA_LO/HI/HA 183-185 and GHS_REL16_HA/HI/LO 251-253." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RPX and RPL" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "RPLRelocationType" |
|---|
| underlying_type | "u32" |
|---|
| values | |
|
| name | "R_PPC_ADDR16_LO" |
|---|
| value | 4 |
|---|
|
| name | "R_PPC_ADDR16_HI" |
|---|
| value | 5 |
|---|
|
| name | "R_PPC_ADDR16_HA" |
|---|
| value | 6 |
|---|
|
|
|
| name | "R_PPC_DTPMOD32" |
|---|
| value | 68 |
|---|
|
| name | "R_PPC_DTPREL32" |
|---|
| value | 78 |
|---|
|
| name | "R_PPC_EMB_SDA21" |
|---|
| value | 109 |
|---|
|
| name | "R_PPC_EMB_RELSDA" |
|---|
| value | 116 |
|---|
|
| name | "R_PPC_DIAB_SDA21_LO" |
|---|
| value | 180 |
|---|
|
| name | "R_PPC_DIAB_SDA21_HI" |
|---|
| value | 181 |
|---|
|
| name | "R_PPC_DIAB_SDA21_HA" |
|---|
| value | 182 |
|---|
|
| name | "R_PPC_DIAB_RELSDA_LO" |
|---|
| value | 183 |
|---|
|
| name | "R_PPC_DIAB_RELSDA_HI" |
|---|
| value | 184 |
|---|
|
| name | "R_PPC_DIAB_RELSDA_HA" |
|---|
| value | 185 |
|---|
|
| name | "R_PPC_GHS_REL16_HA" |
|---|
| value | 251 |
|---|
|
| name | "R_PPC_GHS_REL16_HI" |
|---|
| value | 252 |
|---|
|
| name | "R_PPC_GHS_REL16_LO" |
|---|
| value | 253 |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "RelocationType enum and Rela struct (0x0C bytes)" |
|---|
| repo | "https://github.com/decaf-emu/decaf-emu" |
|---|
| commit | "e6c528a20a41c34e0f9eb91dd3da40f119db2dee" |
|---|
| path | "src/libdecaf/src/cafe/loader/cafe_loader_rpl.h" |
|---|
|
| type | "source" |
|---|
| detail | "Cemu names 251-253 R_PPC_REL16_HA/HI/LO" |
|---|
| repo | "https://github.com/cemu-project/Cemu" |
|---|
| commit | "a53cf0ece75964aa361056edab46f281dcc0bc44" |
|---|
| path | "src/Cafe/OS/RPL/rpl_structs.h" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "RPL relocation types" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T14:59:17.339Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:30:13.723Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read cafe_loader_rpl.h at e6c528a2 lines 121-140: the 20 R_PPC_* values match exactly (the Cemu 251-253 naming note was not re-read)." |
|---|
|
|
|---|