comparison gcc/config/alpha/elf.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Definitions of target machine for GNU compiler, for DEC Alpha w/ELF. 1 /* Definitions of target machine for GNU compiler, for DEC Alpha w/ELF.
2 Copyright (C) 1996-2017 Free Software Foundation, Inc. 2 Copyright (C) 1996-2018 Free Software Foundation, Inc.
3 Contributed by Richard Henderson (rth@tamu.edu). 3 Contributed by Richard Henderson (rth@tamu.edu).
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
98 fputs ("..ng\n", FILE); \ 98 fputs ("..ng\n", FILE); \
99 } \ 99 } \
100 ASM_OUTPUT_DEF (FILE, alias, name); \ 100 ASM_OUTPUT_DEF (FILE, alias, name); \
101 } while (0) 101 } while (0)
102 102
103 /* Provide a STARTFILE_SPEC appropriate for ELF. Here we add the
104 (even more) magical crtbegin.o file which provides part of the
105 support for getting C++ file-scope static object constructed
106 before entering `main'. */
107
108 #undef STARTFILE_SPEC
109 #ifdef HAVE_LD_PIE
110 #define STARTFILE_SPEC \
111 "%{!shared: %{pg|p:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}}\
112 crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
113 #else
114 #define STARTFILE_SPEC \
115 "%{!shared: %{pg|p:gcrt1.o%s;:crt1.o%s}}\
116 crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
117 #endif
118
119 /* Provide a ENDFILE_SPEC appropriate for ELF. Here we tack on the
120 magical crtend.o file which provides part of the support for
121 getting C++ file-scope static object constructed before entering
122 `main', followed by a normal ELF "finalizer" file, `crtn.o'. */
123
124 #undef ENDFILE_SPEC
125 #define ENDFILE_SPEC \
126 "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
127 %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
128
129 /* This variable should be set to 'true' if the target ABI requires 103 /* This variable should be set to 'true' if the target ABI requires
130 unwinding tables even when exceptions are not used. */ 104 unwinding tables even when exceptions are not used. */
131 #define TARGET_UNWIND_TABLES_DEFAULT true 105 #define TARGET_UNWIND_TABLES_DEFAULT true
132 106
133 /* Select a format to encode pointers in exception handling data. CODE 107 /* Select a format to encode pointers in exception handling data. CODE