crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.

* crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
        USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.

From-SVN: r54228
This commit is contained in:
Richard Henderson 2002-06-03 19:55:28 -07:00 committed by Richard Henderson
parent 6933647a67
commit 618939dec2
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-06-03 Richard Henderson <rth@redhat.com>
* crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.
2002-06-03 Richard Henderson <rth@redhat.com>
* config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.

View file

@ -187,13 +187,13 @@ STATIC func_ptr __DTOR_LIST__[1]
= { (func_ptr) (-1) };
#endif /* __DTOR_LIST__ alternatives */
#ifdef EH_FRAME_SECTION_NAME
#ifdef USE_EH_FRAME_REGISTRY
/* Stick a label at the beginning of the frame unwind info so we can register
and deregister it with the exception handling library code. */
STATIC char __EH_FRAME_BEGIN__[]
__attribute__((section(EH_FRAME_SECTION_NAME), aligned(4)))
= { };
#endif /* EH_FRAME_SECTION_NAME */
#endif /* USE_EH_FRAME_REGISTRY */
#ifdef JCR_SECTION_NAME
/* Stick a label at the beginning of the java class registration info