diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-07-22 02:16:55 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-07-22 02:16:55 +0000 |
commit | b366352bbd1d4439e25d46f101ba898e5642b8d9 (patch) | |
tree | 7776410b059bf060eae695d3334b90bfa73b4174 /gcc/defaults.h | |
parent | a6c7a886f4c73309caea4f1eaa3c95a01fa18563 (diff) | |
download | gcc-b366352bbd1d4439e25d46f101ba898e5642b8d9.zip gcc-b366352bbd1d4439e25d46f101ba898e5642b8d9.tar.gz gcc-b366352bbd1d4439e25d46f101ba898e5642b8d9.tar.bz2 |
defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
* defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
* tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
* dwarf2out.c (dwarf2out_init): Don't output a label to mark the
start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
false.
* config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
Define to zero.
From-SVN: r28213
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index a0e3bfc..14c365a 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -154,3 +154,13 @@ do { fprintf (FILE, "\t%s\t", ASM_LONG); \ #if !defined (DWARF2_UNWIND_INFO) && defined (INCOMING_RETURN_ADDR_RTX) #define DWARF2_UNWIND_INFO 1 #endif + +/* By default, we generate a label at the beginning and end of the + text section, and compute the size of the text section by + subtracting the two. However, on some platforms that doesn't + work, and we use the section itself, rather than a label at the + beginning of it, to indicate the start of the section. On such + platforms, define this to zero. */ +#ifndef DWARF2_GENERATE_TEXT_SECTION_LABEL +#define DWARF2_GENERATE_TEXT_SECTION_LABEL 1 +#endif |