]> granicus.if.org Git - gc/commit
Add initial RISC-V support
authorShea Levy <shea@shealevy.com>
Sun, 18 Feb 2018 06:37:12 +0000 (01:37 -0500)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 19 Feb 2018 07:50:31 +0000 (10:50 +0300)
commit4f7f0eebd24dcde9f2b3ec2cb98913fc39bbdda3
tree85c7eb0e18ce9a47a06bd2d95d148d0dd30c83e0
parenta825a2d612e749c08c24fca0f11eb2a523ce3b6b
Add initial RISC-V support

Issue #208 (bdwgc).

* include/private/gcconfig.h [__riscv && LINUX && __riscv_xlen==32]
(RISCV32, mach_type_known): Define macro.
* include/private/gcconfig.h [__riscv && LINUX && __riscv_xlen==64]
(RISCV64, mach_type_known): Define macro.
* include/private/gcconfig.h [RISCV32 || RISCV64] (CPP_WORDSZ,
MACH_TYPE, ALIGNMENT): Likewise.
* include/private/gcconfig.h [(RISCV32 || RISCV64) && LINUX] (OS_TYPE,
DATASTART, LINUX_STACKBOTTOM, DYNAMIC_LOADING): Likewise.
* include/private/gcconfig.h [(RISCV32 || RISCV64) && LINUX]
(__data_start): Declare external variable.
include/private/gcconfig.h