Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/mn10300/linux.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Definitions of taret machine for GNU compiler. | 1 /* Definitions of taret machine for GNU compiler. |
2 Matsushita AM33/2.0 | 2 Matsushita AM33/2.0 |
3 Copyright 2001, 2002, 2005, 2006, 2007 Free Software Foundation, Inc. | 3 Copyright 2001, 2002, 2005, 2006, 2007, 2010 Free Software Foundation, Inc. |
4 Contributed by Alexandre Oliva <aoliva@redhat.com> | 4 Contributed by Alexandre Oliva <aoliva@redhat.com> |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
8 GCC is free software; you can redistribute it and/or modify | 8 GCC is free software; you can redistribute it and/or modify |
28 #define CPP_SPEC "%{mam33:-D__AM33__} %{!mam33:-D__AM33__=2 -D__AM33_2__} \ | 28 #define CPP_SPEC "%{mam33:-D__AM33__} %{!mam33:-D__AM33__=2 -D__AM33_2__} \ |
29 %{posix:-D_POSIX_SOURCE} \ | 29 %{posix:-D_POSIX_SOURCE} \ |
30 %{pthread:-D_REENTRANT -D_PTHREADS}" | 30 %{pthread:-D_REENTRANT -D_PTHREADS}" |
31 | 31 |
32 #undef ASM_SPEC | 32 #undef ASM_SPEC |
33 #define ASM_SPEC "%{Wa,*:%*}" | 33 #define ASM_SPEC "" |
34 | 34 |
35 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" | 35 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
36 | 36 |
37 #undef LINK_SPEC | 37 #undef LINK_SPEC |
38 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ | 38 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ |
39 %{!static: \ | 39 %{!static: \ |
40 %{rdynamic:-export-dynamic} \ | 40 %{rdynamic:-export-dynamic} \ |
41 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \ | 41 -dynamic-linker " LINUX_DYNAMIC_LINKER "} \ |
42 %{static:-static}" | 42 %{static:-static}" |
43 | 43 |
44 #undef PROCESSOR_DEFAULT | 44 #undef PROCESSOR_DEFAULT |
45 #define PROCESSOR_DEFAULT PROCESSOR_AM33_2 | 45 #define PROCESSOR_DEFAULT PROCESSOR_AM33_2 |
46 | 46 |
54 #undef PRINT_OPERAND | 54 #undef PRINT_OPERAND |
55 #define PRINT_OPERAND(FILE, X, CODE) \ | 55 #define PRINT_OPERAND(FILE, X, CODE) \ |
56 do \ | 56 do \ |
57 { \ | 57 { \ |
58 mn10300_protect_label = 1; \ | 58 mn10300_protect_label = 1; \ |
59 print_operand ((FILE), (X), (CODE)); \ | 59 mn10300_print_operand ((FILE), (X), (CODE)); \ |
60 mn10300_protect_label = 0; \ | 60 mn10300_protect_label = 0; \ |
61 } \ | 61 } \ |
62 while (0) | 62 while (0) |
63 | 63 |
64 #undef PRINT_OPERAND_ADDRESS | 64 #undef PRINT_OPERAND_ADDRESS |
65 #define PRINT_OPERAND_ADDRESS(FILE, X) \ | 65 #define PRINT_OPERAND_ADDRESS(FILE, X) \ |
66 do \ | 66 do \ |
67 { \ | 67 { \ |
68 mn10300_protect_label = 1; \ | 68 mn10300_protect_label = 1; \ |
69 print_operand_address ((FILE), (X)); \ | 69 mn10300_print_operand_address ((FILE), (X)); \ |
70 mn10300_protect_label = 0; \ | 70 mn10300_protect_label = 0; \ |
71 } \ | 71 } \ |
72 while (0) | 72 while (0) |
73 | 73 |
74 #undef ASM_OUTPUT_LABELREF | 74 #undef ASM_OUTPUT_LABELREF |
82 asm_fprintf (FILE, "+"); \ | 82 asm_fprintf (FILE, "+"); \ |
83 asm_fprintf (FILE, "%U%s", real_name); \ | 83 asm_fprintf (FILE, "%U%s", real_name); \ |
84 } \ | 84 } \ |
85 while (0) | 85 while (0) |
86 | 86 |
87 #undef SIZE_TYPE | |
88 #undef PTRDIFF_TYPE | |
89 #undef WCHAR_TYPE | |
90 #undef WCHAR_TYPE_SIZE |