diff options
author | Fangrui Song <maskray@google.com> | 2022-08-10 22:01:41 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-08-10 22:01:41 -0700 |
commit | 453595283c323e106a60b229999756b45ae6b2d8 (patch) | |
tree | 35f83b4727845c99d921c14c7a724340e63b31fe /include/elf | |
parent | 4d74aab7aa562fe79d4669cdad0c32610531cbc0 (diff) | |
download | gdb-453595283c323e106a60b229999756b45ae6b2d8.zip gdb-453595283c323e106a60b229999756b45ae6b2d8.tar.gz gdb-453595283c323e106a60b229999756b45ae6b2d8.tar.bz2 |
RISC-V: Remove R_RISCV_GNU_VTINHERIT/R_RISCV_GNU_VTENTRY
They were legacy relocation types copied from other ports. The related
-fvtable-gc was removed from GCC in 2003.
The associated assembler directives (.vtable_inherit and .vtable_entry)
have never been supported by the RISC-V port. Remove related ld code.
Link: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/323
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/riscv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/elf/riscv.h b/include/elf/riscv.h index d0acf68..9b3ea37 100644 --- a/include/elf/riscv.h +++ b/include/elf/riscv.h @@ -71,8 +71,6 @@ START_RELOC_NUMBERS (elf_riscv_reloc_type) RELOC_NUMBER (R_RISCV_SUB16, 38) RELOC_NUMBER (R_RISCV_SUB32, 39) RELOC_NUMBER (R_RISCV_SUB64, 40) - RELOC_NUMBER (R_RISCV_GNU_VTINHERIT, 41) - RELOC_NUMBER (R_RISCV_GNU_VTENTRY, 42) RELOC_NUMBER (R_RISCV_ALIGN, 43) RELOC_NUMBER (R_RISCV_RVC_BRANCH, 44) RELOC_NUMBER (R_RISCV_RVC_JUMP, 45) |