r261837 - in /branches/gcc-8-branch/gcc: Change...

sh@gcc.gnu.org sh@gcc.gnu.org
Thu Jun 21 09:34:00 GMT 2018


Author: sh
Date: Thu Jun 21 09:34:32 2018
New Revision: 261837

URL: https://gcc.gnu.org/viewcvs?rev=261837&root=gcc&view=rev
Log:
RISC-V: Add custom RTEMS multilibs

Add multilib variants for -march=rv64imafd, e.g. to support the BOOMv2 core.

Add -mcmodel=medany as a variant of the 64-bit multilibs for RTEMS.  The
rationale for this change is that several existing RISC-V chips map the
RAM at 0x80000000.  In RTEMS, we do not use virtual memory, so
applications will run at this location which is outside the +-2GiB range
in a 64-bit configuration.

gcc/
	* config.gcc (riscv*-*-elf* | riscv*-*-rtems*): Use custom
	multilibs for *-*-rtems*.
	* config/riscv/t-rtems: New file.

Added:
    branches/gcc-8-branch/gcc/config/riscv/t-rtems
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config.gcc



More information about the Gcc-cvs mailing list