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

Side by Side 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, 4 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. 1 /* Copyright (C) 2006, 2007, 2008 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.
7 7
8 This file is distributed in the hope that it will be useful, but WITHOUT 8 This file is distributed in the hope that it will be useful, but WITHOUT
9 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 9 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
(...skipping 30 matching lines...) Expand all
41 41
42 /* We do not provide any "/usr/local/include" directory on SPU. */ 42 /* We do not provide any "/usr/local/include" directory on SPU. */
43 #undef LOCAL_INCLUDE_DIR 43 #undef LOCAL_INCLUDE_DIR
44 44
45 /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add 45 /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add
46 the GNU/Linux magical crtbegin.o file (see crtstuff.c) which 46 the GNU/Linux magical crtbegin.o file (see crtstuff.c) which
47 provides part of the support for getting C++ file-scope static 47 provides part of the support for getting C++ file-scope static
48 object constructed before entering `main'. */ 48 object constructed before entering `main'. */
49 49
50 #undef STARTFILE_SPEC 50 #undef STARTFILE_SPEC
51 #define STARTFILE_SPEC "%{mstdmain: crt2.o%s} %{!mstdmain: crt1.o%s} \ 51 #define STARTFILE_SPEC "%{mstdmain: %{pg|p:gcrt2.o%s;:crt2.o%s}}\
52 » » » crti.o%s crtbegin.o%s" 52 %{!mstdmain: %{pg|p:gcrt1.o%s;:crt1.o%s}}\
53 crti.o%s crtbegin.o%s"
53 54
54 #undef ENDFILE_SPEC 55 #undef ENDFILE_SPEC
55 #define ENDFILE_SPEC "crtend.o%s crtn.o%s" 56 #define ENDFILE_SPEC "crtend.o%s crtn.o%s"
56 57
57 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG 58 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
58 59
59 #define DWARF2_DEBUGGING_INFO 1 60 #define DWARF2_DEBUGGING_INFO 1
60 #define DWARF2_ASM_LINE_DEBUG_INFO 1 61 #define DWARF2_ASM_LINE_DEBUG_INFO 1
61 62
62 #define SET_ASM_OP "\t.set\t" 63 #define SET_ASM_OP "\t.set\t"
63 64
64 #undef TARGET_ASM_NAMED_SECTION 65 #undef TARGET_ASM_NAMED_SECTION
65 #define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section 66 #define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section
66 67
67 #define EH_FRAME_IN_DATA_SECTION 1 68 #define EH_FRAME_IN_DATA_SECTION 1
68 69
69 #define LINK_SPEC "%{mlarge-mem: --defsym __stack=0xfffffff0 }" 70 #define LINK_SPEC "%{mlarge-mem: --defsym __stack=0xfffffff0 }"
70 71
71 #define LIB_SPEC \ 72 #define LIB_SPEC "-( %{!shared:%{g*:-lg}} -lc -lgloss -) \
72 » "-( %{!shared:%{g*:-lg}} -lc -lgloss -)" 73 %{mno-atomic-updates:-lgcc_cachemgr_nonatomic; :-lgcc_cachemgr} \
74 %{mcache-size=128:-lgcc_cache128k; \
75 mcache-size=64 :-lgcc_cache64k; \
76 mcache-size=32 :-lgcc_cache32k; \
77 mcache-size=16 :-lgcc_cache16k; \
78 mcache-size=8 :-lgcc_cache8k; \
79 :-lgcc_cache64k}"
73 80
74 /* Turn off warnings in the assembler too. */ 81 /* Turn off warnings in the assembler too. */
75 #undef ASM_SPEC 82 #undef ASM_SPEC
76 #define ASM_SPEC "%{w:-W}" 83 #define ASM_SPEC "%{w:-W}"
77 84
OLDNEW
« 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