aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-07-07 17:23:39 +0000
committerTom Tromey <tromey@gcc.gnu.org>2010-07-07 17:23:39 +0000
commit9730bc27c97e294a05b6d71f82f500de2890056b (patch)
tree36e5a2d6ff28400d1fe31caff904f627834f515a /gcc/config
parentf5d5226b3d7cd2d667e4f40bf3180cf10aa0fb6a (diff)
downloadgcc-9730bc27c97e294a05b6d71f82f500de2890056b.zip
gcc-9730bc27c97e294a05b6d71f82f500de2890056b.tar.gz
gcc-9730bc27c97e294a05b6d71f82f500de2890056b.tar.bz2
tm.texi: Update.
gcc * doc/tm.texi: Update. * doc/tm.texi.in (SDB and DWARF) <TARGET_WANT_DEBUG_PUB_SECTIONS>: Add @hook. * target.def (want_debug_pub_sections): New hook. * config/darwin.h (TARGET_WANT_DEBUG_PUB_SECTIONS): Define. * dwarf2out.c (add_pubname_string): Check targetm.want_debug_pub_sections. (add_pubname): Likewise. (add_pubtype): Likewise. gcc/testsuite * g++.dg/debug/dwarf2/pubnames-1.C: Make darwin-specific. From-SVN: r161924
Diffstat (limited to 'gcc/config')
-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 a1e805c..6b681ee 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -471,6 +471,8 @@ extern GTY(()) int darwin_ms_struct;
#define DEBUG_STR_SECTION "__DWARF,__debug_str,regular,debug"
#define DEBUG_RANGES_SECTION "__DWARF,__debug_ranges,regular,debug"
+#define TARGET_WANT_DEBUG_PUB_SECTIONS true
+
/* When generating stabs debugging, use N_BINCL entries. */
#define DBX_USE_BINCL