mirror of git://gcc.gnu.org/git/gcc.git
re PR target/67172 (i686-w64-mingw32 dwarf2 bootstrap fails with undefined reference to __EH_FRAME_BEGIN__)
PR target/67172 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if __MINGW32__ is defined. From-SVN: r234728
This commit is contained in:
parent
b77a97a38f
commit
aa9e26b1be
|
|
@ -1,3 +1,9 @@
|
||||||
|
2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
|
PR target/67172
|
||||||
|
* libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
|
||||||
|
__MINGW32__ is defined.
|
||||||
|
|
||||||
2016-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
2016-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
Backport from mainline
|
Backport from mainline
|
||||||
|
|
|
||||||
|
|
@ -2209,7 +2209,12 @@ TRANSFER_FROM_TRAMPOLINE
|
||||||
#if !defined (HAS_INIT_SECTION) || !defined (OBJECT_FORMAT_ELF)
|
#if !defined (HAS_INIT_SECTION) || !defined (OBJECT_FORMAT_ELF)
|
||||||
|
|
||||||
/* Some ELF crosses use crtstuff.c to provide __CTOR_LIST__, but use this
|
/* Some ELF crosses use crtstuff.c to provide __CTOR_LIST__, but use this
|
||||||
code to run constructors. In that case, we need to handle EH here, too. */
|
code to run constructors. In that case, we need to handle EH here, too.
|
||||||
|
But MINGW32 is special because it handles CRTSTUFF and EH on its own. */
|
||||||
|
|
||||||
|
#ifdef __MINGW32__
|
||||||
|
#undef __LIBGCC_EH_FRAME_SECTION_NAME__
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __LIBGCC_EH_FRAME_SECTION_NAME__
|
#ifdef __LIBGCC_EH_FRAME_SECTION_NAME__
|
||||||
#include "unwind-dw2-fde.h"
|
#include "unwind-dw2-fde.h"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue