diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/defaults.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ccd4aa85d99..9ca4c687f75 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/defaults.h b/gcc/defaults.h index 6582d34dbfd..8a57e2fb44b 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -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 |