freebsd-dev/contrib/elftoolchain
Ruslan Bukin ca20f8ec29 o Replace __riscv__ with __riscv
o Replace __riscv64 with (__riscv && __riscv_xlen == 64)

This is required to support new GCC 7.1 compiler.
This is compatible with current GCC 6.1 compiler.

RISC-V is extensible ISA and the idea here is to have built-in define
per each extension, so together with __riscv we will have some subset
of these as well (depending on -march string passed to compiler):

__riscv_compressed
__riscv_atomic
__riscv_mul
__riscv_div
__riscv_muldiv
__riscv_fdiv
__riscv_fsqrt
__riscv_float_abi_soft
__riscv_float_abi_single
__riscv_float_abi_double
__riscv_cmodel_medlow
__riscv_cmodel_medany
__riscv_cmodel_pic
__riscv_xlen

Reviewed by:	ngie
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D11901
2017-08-07 14:09:57 +00:00
..
addr2line Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
ar Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
brandelf Use the in-tree sys/elf_common.h to build libelftc. 2016-06-05 23:05:14 +00:00
common Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
cxxfilt revert r308465: c++filt: flush output after newline 2017-05-01 01:56:11 +00:00
elfcopy elfcopy: allow empty symbol list files 2017-04-24 14:51:53 +00:00
elfdump Update to ELF Tool Chain snapshot at r3561 2017-06-25 22:39:28 +00:00
libdwarf Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
libelf o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
libelftc Update to ELF Tool Chain snapshot at r3561 2017-06-25 22:39:28 +00:00
libpe Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
nm nm: document 'r' symbol type 2017-05-22 01:10:12 +00:00
readelf readelf: correct printing of DT_FILTER and DT_AUXILIARY values 2017-07-16 16:22:52 +00:00
size Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
strings Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00