[committed] Fix bootstrap for hppa64-hpux11* on trunk

John David Anglin dave.anglin@bell.net
Wed Oct 19 23:08:00 GMT 2016


The removal of the JCR_SECTION_NAME define in config/pa/pa64-hpux.h broke bootstrap on hppa64-hpux
with HP ld.  It exposed a header ordering issue building the crt* objects.  EH_FRAME_SECTION was not
defined when pa64-hpux.h was included and as a result frame_dummy was not called.  This caused everything
which used the new libgcc to abort.

The problem was fixed by using the __LIBGCC_EH_FRAME_SECTION_NAME__ and
__LIBGCC_DTORS_SECTION_ASM_OP__ predefines.

I also moved three defines in gcc/config/pa/pa64-hpux.h to a new header file in libgcc.  These defines were only
used for building the crt* objects.

Tested on hppa64-hp-hpux11.11.  Committed to trunk.

Dave
--
John David Anglin	dave.anglin@bell.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pa64-libgcc.d.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161019/2cbc78f3/attachment.txt>


More information about the Gcc-patches mailing list