defaults.h (EH_FRAME_SECTION_NAME): Don't define if DWARF2_UNWIND_INFO is false.
authorRichard Henderson <rth@redhat.com>
Tue, 11 Jun 2002 21:34:30 +0000 (14:34 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 11 Jun 2002 21:34:30 +0000 (14:34 -0700)
        * defaults.h (EH_FRAME_SECTION_NAME): Don't define if
        DWARF2_UNWIND_INFO is false.

From-SVN: r54526

gcc/ChangeLog
gcc/defaults.h

index ccd4aa85d99955b6439d8af62e503994ac943736..9ca4c687f759c1b56193cc5e057b8dcb2df72c62 100644 (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.
index 6582d34dbfde5631c64aa5109f355efed6e529e7..8a57e2fb44b616c85337b77c0c6f1aeb6911e2bd 100644 (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