diff options
author | pfg <pfg@FreeBSD.org> | 2013-12-24 20:42:48 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-12-24 20:42:48 +0000 |
commit | c487db8403006259fcc66411a60fd00defbec328 (patch) | |
tree | 000d333855f17b4a2e906613b07829b1860d3397 /contrib/gcc/config | |
parent | a51bfa2a7ab89261bf3b1c7b45084fbf3e42d5e4 (diff) | |
download | FreeBSD-src-c487db8403006259fcc66411a60fd00defbec328.zip FreeBSD-src-c487db8403006259fcc66411a60fd00defbec328.tar.gz |
gcc: Add ability to generate DWARF pubtypes section if
DEBUG_PUBTYPES_SECTION is defined.
Obtained from: gcc 4.3 (rev. 118826; GPLv2)
MFC after: 2 weeks
Diffstat (limited to 'contrib/gcc/config')
-rw-r--r-- | contrib/gcc/config/darwin.c | 1 | ||||
-rw-r--r-- | contrib/gcc/config/darwin.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/gcc/config/darwin.c b/contrib/gcc/config/darwin.c index addef12..1af0d9a 100644 --- a/contrib/gcc/config/darwin.c +++ b/contrib/gcc/config/darwin.c @@ -1517,6 +1517,7 @@ darwin_file_start (void) DEBUG_LINE_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION, + DEBUG_PUBTYPES_SECTION, DEBUG_STR_SECTION, DEBUG_RANGES_SECTION }; diff --git a/contrib/gcc/config/darwin.h b/contrib/gcc/config/darwin.h index f4d4c7e..e732217 100644 --- a/contrib/gcc/config/darwin.h +++ b/contrib/gcc/config/darwin.h @@ -401,6 +401,7 @@ extern GTY(()) int darwin_ms_struct; #define DEBUG_LINE_SECTION "__DWARF,__debug_line,regular,debug" #define DEBUG_LOC_SECTION "__DWARF,__debug_loc,regular,debug" #define DEBUG_PUBNAMES_SECTION "__DWARF,__debug_pubnames,regular,debug" +#define DEBUG_PUBTYPES_SECTION "__DWARF,__debug_pubtypes,regular,debug" #define DEBUG_STR_SECTION "__DWARF,__debug_str,regular,debug" #define DEBUG_RANGES_SECTION "__DWARF,__debug_ranges,regular,debug" |