RISC-V: Remove R_RISCV_GNU_VTINHERIT/R_RISCV_GNU_VTENTRY
authorFangrui Song <maskray@google.com>
Thu, 11 Aug 2022 05:01:41 +0000 (22:01 -0700)
committerFangrui Song <i@maskray.me>
Thu, 11 Aug 2022 05:01:41 +0000 (22:01 -0700)
commit453595283c323e106a60b229999756b45ae6b2d8
tree35f83b4727845c99d921c14c7a724340e63b31fe
parent4d74aab7aa562fe79d4669cdad0c32610531cbc0
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
bfd/elfnn-riscv.c
bfd/elfxx-riscv.c
include/elf/riscv.h