Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/xtensa/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 /* Xtensa Linux configuration. | 1 /* Xtensa Linux configuration. |
2 Derived from the configuration for GCC for Intel i386 running Linux. | 2 Derived from the configuration for GCC for Intel i386 running Linux. |
3 Copyright (C) 2001, 2002, 2003, 2006, 2007, 2008 | 3 Copyright (C) 2001, 2002, 2003, 2006, 2007, 2008, 2010, 2011 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
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 it under | 8 GCC is free software; you can redistribute it and/or modify it under |
25 #define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" | 25 #define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" |
26 | 26 |
27 #undef TARGET_VERSION | 27 #undef TARGET_VERSION |
28 #define TARGET_VERSION fputs (" (Xtensa GNU/Linux with ELF)", stderr); | 28 #define TARGET_VERSION fputs (" (Xtensa GNU/Linux with ELF)", stderr); |
29 | 29 |
30 #undef SIZE_TYPE | |
31 #define SIZE_TYPE "unsigned int" | |
32 | |
33 #undef PTRDIFF_TYPE | |
34 #define PTRDIFF_TYPE "int" | |
35 | |
30 #undef WCHAR_TYPE | 36 #undef WCHAR_TYPE |
31 #define WCHAR_TYPE "long int" | 37 #define WCHAR_TYPE "long int" |
32 | 38 |
33 #undef WCHAR_TYPE_SIZE | 39 #undef WCHAR_TYPE_SIZE |
34 #define WCHAR_TYPE_SIZE 32 | 40 #define WCHAR_TYPE_SIZE 32 |
35 | 41 |
36 #undef ASM_SPEC | 42 #undef ASM_SPEC |
37 #define ASM_SPEC \ | 43 #define ASM_SPEC \ |
38 "%{v} \ | 44 "%{mtext-section-literals:--text-section-literals} \ |
39 %{mtext-section-literals:--text-section-literals} \ | |
40 %{mno-text-section-literals:--no-text-section-literals} \ | 45 %{mno-text-section-literals:--no-text-section-literals} \ |
41 %{mtarget-align:--target-align} \ | 46 %{mtarget-align:--target-align} \ |
42 %{mno-target-align:--no-target-align} \ | 47 %{mno-target-align:--no-target-align} \ |
43 %{mlongcalls:--longcalls} \ | 48 %{mlongcalls:--longcalls} \ |
44 %{mno-longcalls:--no-longcalls}" | 49 %{mno-longcalls:--no-longcalls}" |
47 | 52 |
48 #undef LINK_SPEC | 53 #undef LINK_SPEC |
49 #define LINK_SPEC \ | 54 #define LINK_SPEC \ |
50 "%{shared:-shared} \ | 55 "%{shared:-shared} \ |
51 %{!shared: \ | 56 %{!shared: \ |
52 %{!ibcs: \ | 57 %{!static: \ |
53 %{!static: \ | 58 %{rdynamic:-export-dynamic} \ |
54 %{rdynamic:-export-dynamic} \ | 59 -dynamic-linker " LINUX_DYNAMIC_LINKER "} \ |
55 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \ | 60 %{static:-static}}" |
56 %{static:-static}}}" | |
57 | 61 |
58 #undef LOCAL_LABEL_PREFIX | 62 #undef LOCAL_LABEL_PREFIX |
59 #define LOCAL_LABEL_PREFIX "." | 63 #define LOCAL_LABEL_PREFIX "." |
60 | 64 |
61 /* Always enable "-fpic" for Xtensa Linux. */ | 65 /* Always enable "-fpic" for Xtensa Linux. */ |
62 #define XTENSA_ALWAYS_PIC 1 | 66 #define XTENSA_ALWAYS_PIC 1 |
63 | 67 |
68 #undef DBX_REGISTER_NUMBER | |
69 | |
64 #define MD_UNWIND_SUPPORT "config/xtensa/linux-unwind.h" | 70 #define MD_UNWIND_SUPPORT "config/xtensa/linux-unwind.h" |
65 | 71 |