aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-06 22:20:31 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-06 22:20:31 +0000
commit9e749a8b426c8907c288e006388e85c015231788 (patch)
tree94ddf0791f815130eefca5f1ee1de2b3f1f8d913
parent03dafa610868e97f890319ff7d7ee64a227132b2 (diff)
downloadgcc-9e749a8b426c8907c288e006388e85c015231788.zip
gcc-9e749a8b426c8907c288e006388e85c015231788.tar.gz
gcc-9e749a8b426c8907c288e006388e85c015231788.tar.bz2
defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
* defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove. * dwarf2out.c (dwarf2out_init): Remove references to DWARF2_GENERATE_TEXT_SECTION_LABEL. * system.h: Poison DWARF2_GENERATE_TEXT_SECTION_LABEL. * doc/tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove. From-SVN: r88631
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/defaults.h10
-rw-r--r--gcc/doc/tm.texi7
-rw-r--r--gcc/dwarf2out.c12
-rw-r--r--gcc/system.h2
5 files changed, 12 insertions, 27 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d05f93d..30e873f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2004-10-06 Kazu Hirata <kazu@cs.umass.edu>
+
+ * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
+ * dwarf2out.c (dwarf2out_init): Remove references to
+ DWARF2_GENERATE_TEXT_SECTION_LABEL.
+ * system.h: Poison DWARF2_GENERATE_TEXT_SECTION_LABEL.
+ * doc/tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
+
2004-10-06 Joseph S. Myers <jsm@polyomino.org.uk>
* c-typeck.c (convert_arguments): Take expression for called
diff --git a/gcc/defaults.h b/gcc/defaults.h
index bdcefdb..d842742e 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -334,16 +334,6 @@ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \
#endif
#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
-
/* Number of hardware registers that go into the DWARF-2 unwind info.
If not defined, equals FIRST_PSEUDO_REGISTER */
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index c22ae29..71c72c8 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -8090,13 +8090,6 @@ Dwarf 2 frame information. If @code{DWARF2_UNWIND_INFO}
information not matter how you define @code{DWARF2_FRAME_INFO}.
@end defmac
-@defmac DWARF2_GENERATE_TEXT_SECTION_LABEL
-By default, the Dwarf 2 debugging information generator will generate a
-label to mark the beginning of the text section. If it is better simply
-to use the name of the text section itself, rather than an explicit label,
-to indicate the beginning of the text section, define this macro to zero.
-@end defmac
-
@defmac DWARF2_ASM_LINE_DEBUG_INFO
Define this macro to be a nonzero value if the assembler can generate Dwarf 2
line debug info sections. This will result in much more compact line number
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 11bf0f8..4b976c1 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -13262,10 +13262,7 @@ dwarf2out_init (const char *filename ATTRIBUTE_UNUSED)
ASM_GENERATE_INTERNAL_LABEL (text_end_label, TEXT_END_LABEL, 0);
ASM_GENERATE_INTERNAL_LABEL (abbrev_section_label,
DEBUG_ABBREV_SECTION_LABEL, 0);
- if (DWARF2_GENERATE_TEXT_SECTION_LABEL)
- ASM_GENERATE_INTERNAL_LABEL (text_section_label, TEXT_SECTION_LABEL, 0);
- else
- strcpy (text_section_label, stripattributes (TEXT_SECTION_NAME));
+ ASM_GENERATE_INTERNAL_LABEL (text_section_label, TEXT_SECTION_LABEL, 0);
ASM_GENERATE_INTERNAL_LABEL (debug_info_section_label,
DEBUG_INFO_SECTION_LABEL, 0);
@@ -13288,11 +13285,8 @@ dwarf2out_init (const char *filename ATTRIBUTE_UNUSED)
ASM_OUTPUT_LABEL (asm_out_file, macinfo_section_label);
}
- if (DWARF2_GENERATE_TEXT_SECTION_LABEL)
- {
- text_section ();
- ASM_OUTPUT_LABEL (asm_out_file, text_section_label);
- }
+ text_section ();
+ ASM_OUTPUT_LABEL (asm_out_file, text_section_label);
}
/* A helper function for dwarf2out_finish called through
diff --git a/gcc/system.h b/gcc/system.h
index 19eabd3..bdfe295 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -653,7 +653,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
SUNOS4_SHARED_LIBRARIES PROMOTE_FOR_CALL_ONLY \
SPACE_AFTER_L_OPTION NO_RECURSIVE_FUNCTION_CSE \
DEFAULT_MAIN_RETURN TARGET_MEM_FUNCTIONS EXPAND_BUILTIN_VA_ARG \
- COLLECT_PARSE_FLAG
+ COLLECT_PARSE_FLAG DWARF2_GENERATE_TEXT_SECTION_LABEL
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \