[PATCH] Use PC relative relocs on SPARC in ilbffi .eh_frame if possible

Richard Henderson rth@redhat.com
Mon Apr 8 09:06:00 GMT 2002


On Mon, Apr 08, 2002 at 04:10:32AM -0400, Jakub Jelinek wrote:
> I was wondering if we could have a definition for (sol2.h):
> #if defined HAVE_AS_SPARC_PCREL && !defined HAVE_AS_SPARC_UA_PCREL
> /* = %r_disp32() is supported provided it is aligned  */
> #define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL)			\
>   (GLOBAL ? DW_EH_PE_aligned						\
>    : flag_pic ? (DW_EH_PE_pcrel | DW_EH_PE_sdata4) : DW_EH_PE_absptr)

Nope.  While the fde pointers are aligned, the
personality code pointers aren't.


r~



More information about the Gcc-patches mailing list