Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/mips/sde.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 | 77e2b8dfacca |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Definitions of target machine for GNU compiler. | 1 /* Definitions of target machine for GNU compiler. |
2 MIPS SDE version. | 2 MIPS SDE version. |
3 Copyright (C) 2003, 2004, 2007, 2008, 2009 | 3 Copyright (C) 2003, 2004, 2007, 2008, 2009, 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 | 8 GCC is free software; you can redistribute it and/or modify |
40 \ | 40 \ |
41 /* Make sure that an endian option is always present. This makes \ | 41 /* Make sure that an endian option is always present. This makes \ |
42 things like LINK_SPEC easier to write. */ \ | 42 things like LINK_SPEC easier to write. */ \ |
43 "%{!EB:%{!EL:%(endian_spec)}}", \ | 43 "%{!EB:%{!EL:%(endian_spec)}}", \ |
44 \ | 44 \ |
45 /* -mcode-xonly is a traditional alias for -mcode-readable=pcrel and \ | |
46 -mno-data-in-code is a traditional alias for -mcode-readable=no. \ | |
47 The latter trumps the former. */ \ | |
48 "%{mno-data-in-code: -mcode-readable=no}", \ | |
49 "%{!mcode-readable=no: %{mcode-xonly: -mcode-readable=pcrel}}", \ | |
50 "%<mno-data-in-code %<mcode-xonly", \ | |
51 \ | |
52 /* Configuration-independent MIPS rules. */ \ | 45 /* Configuration-independent MIPS rules. */ \ |
53 BASE_DRIVER_SELF_SPECS | 46 BASE_DRIVER_SELF_SPECS |
54 | 47 |
55 /* Use trap rather than break for all but MIPS I ISA. Force -no-mips16, | 48 /* Use trap rather than break for all but MIPS I ISA. Force -no-mips16, |
56 so that MIPS16 assembler code requires an explicit ".set mips16". | 49 so that MIPS16 assembler code requires an explicit ".set mips16". |
64 | 57 |
65 #undef LINK_SPEC | 58 #undef LINK_SPEC |
66 #define LINK_SPEC "\ | 59 #define LINK_SPEC "\ |
67 %(endian_spec) \ | 60 %(endian_spec) \ |
68 %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32*} %{mips64*} \ | 61 %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32*} %{mips64*} \ |
69 %{bestGnum} \ | 62 %{shared} \ |
70 %{shared} %{non_shared} %{call_shared} \ | |
71 %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \ | 63 %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \ |
72 %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \ | 64 %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \ |
73 %{mabi=32:-melf32%{EB:b}%{EL:l}tsmip}" | 65 %{mabi=32:-melf32%{EB:b}%{EL:l}tsmip}" |
74 | 66 |
75 #undef DEFAULT_SIGNED_CHAR | 67 #undef DEFAULT_SIGNED_CHAR |
98 of the -mlong64 option. */ | 90 of the -mlong64 option. */ |
99 #undef SIZE_TYPE | 91 #undef SIZE_TYPE |
100 #define SIZE_TYPE "long unsigned int" | 92 #define SIZE_TYPE "long unsigned int" |
101 #undef PTRDIFF_TYPE | 93 #undef PTRDIFF_TYPE |
102 #define PTRDIFF_TYPE "long int" | 94 #define PTRDIFF_TYPE "long int" |
103 | |
104 /* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */ | |
105 #define HANDLE_PRAGMA_PACK_PUSH_POP 1 | |
106 | 95 |
107 /* Use standard ELF-style local labels (not '$' as on early Irix). */ | 96 /* Use standard ELF-style local labels (not '$' as on early Irix). */ |
108 #undef LOCAL_LABEL_PREFIX | 97 #undef LOCAL_LABEL_PREFIX |
109 #define LOCAL_LABEL_PREFIX "." | 98 #define LOCAL_LABEL_PREFIX "." |
110 | 99 |