Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1094)

Unified Diff: gcc/gcc/config/spu/spu-elf.h

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/config/spu/spu-builtins.md ('k') | gcc/gcc/config/spu/spu-protos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/spu/spu-elf.h
diff --git a/gcc/gcc/config/spu/spu-elf.h b/gcc/gcc/config/spu/spu-elf.h
index 532313119cb77d5c1956c15b1e2c268126e0fa75..967c8abc6176d8fd543f101ae9e9a8832b3b8b63 100644
--- a/gcc/gcc/config/spu/spu-elf.h
+++ b/gcc/gcc/config/spu/spu-elf.h
@@ -48,8 +48,9 @@
object constructed before entering `main'. */
#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "%{mstdmain: crt2.o%s} %{!mstdmain: crt1.o%s} \
- crti.o%s crtbegin.o%s"
+#define STARTFILE_SPEC "%{mstdmain: %{pg|p:gcrt2.o%s;:crt2.o%s}}\
+ %{!mstdmain: %{pg|p:gcrt1.o%s;:crt1.o%s}}\
+ crti.o%s crtbegin.o%s"
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
@@ -68,8 +69,14 @@
#define LINK_SPEC "%{mlarge-mem: --defsym __stack=0xfffffff0 }"
-#define LIB_SPEC \
- "-( %{!shared:%{g*:-lg}} -lc -lgloss -)"
+#define LIB_SPEC "-( %{!shared:%{g*:-lg}} -lc -lgloss -) \
+ %{mno-atomic-updates:-lgcc_cachemgr_nonatomic; :-lgcc_cachemgr} \
+ %{mcache-size=128:-lgcc_cache128k; \
+ mcache-size=64 :-lgcc_cache64k; \
+ mcache-size=32 :-lgcc_cache32k; \
+ mcache-size=16 :-lgcc_cache16k; \
+ mcache-size=8 :-lgcc_cache8k; \
+ :-lgcc_cache64k}"
/* Turn off warnings in the assembler too. */
#undef ASM_SPEC
« no previous file with comments | « gcc/gcc/config/spu/spu-builtins.md ('k') | gcc/gcc/config/spu/spu-protos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698