aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin9.h
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-12-30 10:36:52 +0000
committerIain Sandoe <iain@sandoe.co.uk>2021-01-02 19:56:19 +0000
commitb2cee5e1e89c8f939bc36fe9756befcb93d96982 (patch)
tree9bae8076e1cc95ecefa860dd599dcf76cb854cff /gcc/config/darwin9.h
parentae99b315ba5b9e1ccc221b3c45de323cbc574400 (diff)
downloadgcc-b2cee5e1e89c8f939bc36fe9756befcb93d96982.zip
gcc-b2cee5e1e89c8f939bc36fe9756befcb93d96982.tar.gz
gcc-b2cee5e1e89c8f939bc36fe9756befcb93d96982.tar.bz2
Darwin : Adjust defaults for current bootstrap constraints.
The toolchain now requires a C++11 compiler to bootstrap and none of the older Darwin toolchains which were based on stabs debugging are suitable. We can simplify the debug setup now. gcc/ChangeLog: * config/darwin.h (DSYMUTIL_SPEC): Default to DWARF (ASM_DEBUG_SPEC):Only define if the assembler supports stabs. (PREFERRED_DEBUGGING_TYPE): Default to DWARF. (DARWIN_PREFER_DWARF): Define. * config/darwin9.h (PREFERRED_DEBUGGING_TYPE): Remove. (DARWIN_PREFER_DWARF): Likewise (DSYMUTIL_SPEC): Likewise. (COLLECT_RUN_DSYMUTIL): Likewise. (ASM_DEBUG_SPEC): Likewise. (ASM_DEBUG_OPTION_SPEC): Likewise.
Diffstat (limited to 'gcc/config/darwin9.h')
-rw-r--r--gcc/config/darwin9.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h
index 787aca7..6576d38 100644
--- a/gcc/config/darwin9.h
+++ b/gcc/config/darwin9.h
@@ -18,32 +18,6 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-/* Prefer DWARF2. */
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-#define DARWIN_PREFER_DWARF
-
-/* Since DWARF2 is default, conditions for running dsymutil are different. */
-#undef DSYMUTIL_SPEC
-#define DSYMUTIL_SPEC \
- "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
- %{v} \
- %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\
- %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|.f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \
- %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}"
-
-/* Tell collect2 to run dsymutil for us as necessary. */
-#define COLLECT_RUN_DSYMUTIL 1
-
-/* Only ask as for debug data if the debug style is stabs (since as doesn't
- yet generate dwarf.) */
-
-#undef ASM_DEBUG_SPEC
-#define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{gstabs:--gstabs}}}"
-
-#undef ASM_DEBUG_OPTION_SPEC
-#define ASM_DEBUG_OPTION_SPEC ""
-
#undef ASM_OUTPUT_ALIGNED_COMMON
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
do { \