This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

EH_FRAME_SECTION_NAME failure on AIX


Richard,

	Your patches changing the generation of exception section names
has broken GCC on AIX.  GCC now generates codes like:

FE..__divdi3:
LFE..1:
        .csect .eh_frame	<***************
__FRAME_BEGIN__:
        .vbyte  4,LECIE..1-LSCIE..1


Placing the EH tables in a CSECT called "eh_frame".  The info used to be
placed in the DATA section

/* xcoff.h */
#define EXCEPTION_SECTION data_section

FE..__divdi3:
LFE..1:
        .csect .data[RW],3
        .align 2
        .globl _GLOBAL__F___divdi3
_GLOBAL__F___divdi3:
__FRAME_BEGIN__:
        .vbyte  4,LECIE..1-LSCIE..1


	One could place the EH info in a CSECT called "eh_frame[RW]" which
probably is safe from AIX linker garbage collection because of its
references to the text section.

	This seems to have been caused by your patch on August 9.  Would
you please correct this?  I can help if you need info about AIX CSECTs.

Thanks, David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]