r275478 - in /trunk: gcc/ChangeLog gcc/config/r...

wilson@gcc.gnu.org wilson@gcc.gnu.org
Sat Sep 7 00:09:00 GMT 2019


Author: wilson
Date: Sat Sep  7 00:09:21 2019
New Revision: 275478

URL: https://gcc.gnu.org/viewcvs?rev=275478&root=gcc&view=rev
Log:
RISC-V: Re-enable -msave-restore for shared libraries.

This re-enables -msave-restore for shared libraries, and uses the
t-slibgcc-libgcc file to get the save-restore routines included directly
in shared libraries so that we don't need to indirect through the PLT
to reach them, which doesn't work.

	gcc/
	* config/riscv/riscv.c (riscv_option_override): Revert 2019-08-30
	change.

	libgcc/
	* config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
	(riscv*-*-freebsd*): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/riscv/riscv.c
    trunk/libgcc/ChangeLog
    trunk/libgcc/config.host



More information about the Gcc-cvs mailing list