diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/riscv.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 70ab0a8..c7a0ef2 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2017-04-03 Palmer Dabbelt <palmer@dabbelt.com> + + * elf/riscv.h (RISCV_GP_SYMBOL): New define. + 2017-03-27 Andrew Waterman <andrew@sifive.com> * opcode/riscv-opc.h (CSR_PMPCFG0): New define. diff --git a/include/elf/riscv.h b/include/elf/riscv.h index 526bc11..daa4463 100644 --- a/include/elf/riscv.h +++ b/include/elf/riscv.h @@ -109,4 +109,7 @@ END_RELOC_NUMBERS (R_RISCV_max) /* File uses the quad-float ABI. */ #define EF_RISCV_FLOAT_ABI_QUAD 0x0006 +/* The name of the global pointer symbol. */ +#define RISCV_GP_SYMBOL "__global_pointer$" + #endif /* _ELF_RISCV_H */ |