| 1 | /*	$OpenBSD: reloc.h,v 1.2 2021/05/12 01:20:52 jsg Exp $	*/ |
| 2 | |
| 3 | /* |
| 4 | * RISCV64 static relocation types. |
| 5 | */ |
| 6 | |
| 7 | /* Relocation types used by the dynamic linker. */ |
| 8 | #define R_RISCV_NONE 0 |
| 9 | #define R_RISCV_32 1 |
| 10 | #define R_RISCV_64 2 |
| 11 | #define R_RISCV_RELATIVE 3 |
| 12 | #define R_RISCV_COPY 4 |
| 13 | #define R_RISCV_JUMP_SLOT 5 |
| 14 | #define R_RISCV_TLS_DTPMOD32 6 |
| 15 | #define R_RISCV_TLS_DTPMOD64 7 |
| 16 | #define R_RISCV_TLS_DTPREL32 8 |
| 17 | #define R_RISCV_TLS_DTPREL64 9 |
| 18 | #define R_RISCV_TLS_TPREL32 10 |
| 19 | #define R_RISCV_TLS_TPREL64 11 |