comparison gcc/config/spu/spu-elf.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* Copyright (C) 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc. 1 /* Copyright (C) 2006-2017 Free Software Foundation, Inc.
2 2
3 This file is free software; you can redistribute it and/or modify it under 3 This file is free software; you can redistribute it and/or modify it under
4 the terms of the GNU General Public License as published by the Free 4 the terms of the GNU General Public License as published by the Free
5 Software Foundation; either version 3 of the License, or (at your option) 5 Software Foundation; either version 3 of the License, or (at your option)
6 any later version. 6 any later version.
33 /* STANDARD_STARTFILE_PREFIX_1 is "/lib", which we keep. 33 /* STANDARD_STARTFILE_PREFIX_1 is "/lib", which we keep.
34 STANDARD_STARTFILE_PREFIX_2 is "/usr/lib" -- we remove this. */ 34 STANDARD_STARTFILE_PREFIX_2 is "/usr/lib" -- we remove this. */
35 #undef STANDARD_STARTFILE_PREFIX_2 35 #undef STANDARD_STARTFILE_PREFIX_2
36 #define STANDARD_STARTFILE_PREFIX_2 "" 36 #define STANDARD_STARTFILE_PREFIX_2 ""
37 37
38 /* Use "/include" instead of "/usr/include". */
39 #undef STANDARD_INCLUDE_DIR
40 #define STANDARD_INCLUDE_DIR "/include"
41
42 /* We do not provide any "/usr/local/include" directory on SPU. */ 38 /* We do not provide any "/usr/local/include" directory on SPU. */
43 #undef LOCAL_INCLUDE_DIR 39 #undef LOCAL_INCLUDE_DIR
44 40
45 /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add 41 /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add
46 the GNU/Linux magical crtbegin.o file (see crtstuff.c) which 42 the GNU/Linux magical crtbegin.o file (see crtstuff.c) which
63 #define SET_ASM_OP "\t.set\t" 59 #define SET_ASM_OP "\t.set\t"
64 60
65 #undef TARGET_ASM_NAMED_SECTION 61 #undef TARGET_ASM_NAMED_SECTION
66 #define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section 62 #define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section
67 63
68 #define EH_FRAME_IN_DATA_SECTION 1 64 #define EH_FRAME_THROUGH_COLLECT2 1
69 65
70 #define LINK_SPEC "%{mlarge-mem: --defsym __stack=0xfffffff0 }" 66 #define LINK_SPEC "%{mlarge-mem: --defsym __stack=0xfffffff0 }"
71 67
72 #define LIB_SPEC "-( %{!shared:%{g*:-lg}} -lc -lgloss -) \ 68 #define LIB_SPEC "-( %{!shared:%{g*:-lg}} -lc -lgloss -) \
73 %{mno-atomic-updates:-lgcc_cachemgr_nonatomic; :-lgcc_cachemgr} \ 69 %{mno-atomic-updates:-lgcc_cachemgr_nonatomic; :-lgcc_cachemgr} \
75 mcache-size=64 :-lgcc_cache64k; \ 71 mcache-size=64 :-lgcc_cache64k; \
76 mcache-size=32 :-lgcc_cache32k; \ 72 mcache-size=32 :-lgcc_cache32k; \
77 mcache-size=16 :-lgcc_cache16k; \ 73 mcache-size=16 :-lgcc_cache16k; \
78 mcache-size=8 :-lgcc_cache8k; \ 74 mcache-size=8 :-lgcc_cache8k; \
79 :-lgcc_cache64k}" 75 :-lgcc_cache64k}"
80