aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorJack Howarth <howarth@bromo.med.uc.edu>2012-05-29 23:44:09 +0000
committerMike Stump <mrs@gcc.gnu.org>2012-05-29 23:44:09 +0000
commit638c962f0a007ff2f59dc07b211a8c2579294e20 (patch)
treeaa5b999c7d1d082b0e5c439e18b126cac9ddb7dc /gcc/config/darwin.h
parenta8b4175ce40f6fd96d2b7ed3868f34b7a4a8a1cc (diff)
downloadgcc-638c962f0a007ff2f59dc07b211a8c2579294e20.zip
gcc-638c962f0a007ff2f59dc07b211a8c2579294e20.tar.gz
gcc-638c962f0a007ff2f59dc07b211a8c2579294e20.tar.bz2
re PR debug/53453 (darwin linker expects both AT_name and AT_comp_dir debug notes)
2012-05-29 Jack Howarth <howarth@bromo.med.uc.edu> PR debug/53453 * doc/tm.texi: Update. * doc/tm.texi.in (SDB and DWARF) <TARGET_FORCE_AT_COMP_DIR>: Add @hook. * target.def (force_at_comp_dir): New hook. * config/darwin.h (TARGET_FORCE_AT_COMP_DIR): Define. * dwarf2out.c (dwarf2out_finish): Check targetm.force_at_comp_dir. From-SVN: r187994
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 80ff0b0..5855778 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -416,6 +416,8 @@ extern GTY(()) int darwin_ms_struct;
#define TARGET_WANT_DEBUG_PUB_SECTIONS true
+#define TARGET_FORCE_AT_COMP_DIR true
+
/* When generating stabs debugging, use N_BINCL entries. */
#define DBX_USE_BINCL