Commit 5e664ed0 by Jim Wilson Committed by Jim Wilson

RISC-V: Move STARTFILE_PREFIX_SPEC into target OS files.

	gcc/
	PR target/89955
	* config/riscv/riscv.h (STARTFILE_PREFIX_SPEC): Deleted.
	* config/riscv/freebsd.h (STARTFILE_PREFIX_SPEC): Added.
	* config/riscv/linux.h (STARTFILE_PREFIX_SPEC): Added.

From-SVN: r272021
parent 5c4c2d05
2019-06-06 Jim Wilson <jimw@sifive.com>
PR target/89955
* config/riscv/riscv.h (STARTFILE_PREFIX_SPEC): Deleted.
* config/riscv/freebsd.h (STARTFILE_PREFIX_SPEC): Added.
* config/riscv/linux.h (STARTFILE_PREFIX_SPEC): Added.
2019-06-06 Martin Sebor <msebor@redhat.com> 2019-06-06 Martin Sebor <msebor@redhat.com>
* tree-ssa-strlen.c (adjust_related_strinfos): Avoid trailing article. * tree-ssa-strlen.c (adjust_related_strinfos): Avoid trailing article.
......
...@@ -52,3 +52,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -52,3 +52,9 @@ along with GCC; see the file COPYING3. If not see
%{rdynamic:-export-dynamic} \ %{rdynamic:-export-dynamic} \
-dynamic-linker " FBSD_DYNAMIC_LINKER "} \ -dynamic-linker " FBSD_DYNAMIC_LINKER "} \
%{static:-static}}" %{static:-static}}"
#define STARTFILE_PREFIX_SPEC \
"/lib" XLEN_SPEC "/" ABI_SPEC "/ " \
"/usr/lib" XLEN_SPEC "/" ABI_SPEC "/ " \
"/lib/ " \
"/usr/lib/ "
...@@ -68,3 +68,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -68,3 +68,9 @@ along with GCC; see the file COPYING3. If not see
%{static:-static}}" %{static:-static}}"
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
#define STARTFILE_PREFIX_SPEC \
"/lib" XLEN_SPEC "/" ABI_SPEC "/ " \
"/usr/lib" XLEN_SPEC "/" ABI_SPEC "/ " \
"/lib/ " \
"/usr/lib/ "
...@@ -893,12 +893,6 @@ extern unsigned riscv_stack_boundary; ...@@ -893,12 +893,6 @@ extern unsigned riscv_stack_boundary;
"%{mabi=lp64f:lp64f}" \ "%{mabi=lp64f:lp64f}" \
"%{mabi=lp64d:lp64d}" \ "%{mabi=lp64d:lp64d}" \
#define STARTFILE_PREFIX_SPEC \
"/lib" XLEN_SPEC "/" ABI_SPEC "/ " \
"/usr/lib" XLEN_SPEC "/" ABI_SPEC "/ " \
"/lib/ " \
"/usr/lib/ "
/* ISA constants needed for code generation. */ /* ISA constants needed for code generation. */
#define OPCODE_LW 0x2003 #define OPCODE_LW 0x2003
#define OPCODE_LD 0x3003 #define OPCODE_LD 0x3003
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment