EH_FRAME_SECTION_NAME failure on AIX

David Edelsohn dje@watson.ibm.com
Mon Aug 13 12:02:00 GMT 2001


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



More information about the Gcc mailing list