defaults.h (EH_FRAME_SECTION_NAME): Don't define if DWARF2_UNWIND_INFO is false.

* defaults.h (EH_FRAME_SECTION_NAME): Don't define if
        DWARF2_UNWIND_INFO is false.

From-SVN: r54526
This commit is contained in:
Richard Henderson 2002-06-11 14:34:30 -07:00 committed by Richard Henderson
parent b217ec1ba2
commit bc2a8f0842
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-06-11 Richard Henderson <rth@redhat.com>
* defaults.h (EH_FRAME_SECTION_NAME): Don't define if
DWARF2_UNWIND_INFO is false.
2002-06-11 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/t-xtensa (LIBGCC1_TEST, CROSS_LIBGCC1): Delete.

View File

@ -223,7 +223,8 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0)
/* If we have named sections, and we're using crtstuff to run ctors,
use them for registering eh frame information. */
#if defined (TARGET_ASM_NAMED_SECTION) && !defined(EH_FRAME_IN_DATA_SECTION)
#if defined (TARGET_ASM_NAMED_SECTION) && DWARF2_UNWIND_INFO \
&& !defined(EH_FRAME_IN_DATA_SECTION)
#ifndef EH_FRAME_SECTION_NAME
#define EH_FRAME_SECTION_NAME ".eh_frame"
#endif