This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix ASM_OUTPUT_MI_THUNK for PPC/SYSV
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: [PATCH] fix ASM_OUTPUT_MI_THUNK for PPC/SYSV
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Thu, 27 May 1999 04:11:42 -0600
- cc: egcs-patches at egcs dot cygnus dot com, dje at watson dot ibm dot com, meissner at cygnus dot com
- Reply-To: law at cygnus dot com
In message <99051317065401.01268@ns1102.munich.netsurf.de>you write:
> this small patch finishes the ASM_OUTPUT_MI_THUNK support on PPC/SYSV. I
> use it on LinuxPPC since egcs-1.1.x without any known problems. I'm still
> not sure what Michael tried to accomplish with the !lookup_attribute
> ("longcall", TYPE_ATTRIBUTES (TREE_TYPE (function))). BTW, I noticed that
> current_file_function_operand() contains a check for (! profile_flag && !
> profile_block_flag) on alpha, do we need that on PowerPC too?
>
> David, could you verify that globally enabling this is OK for AIX too?
>
> Franz.
>
> * rs6000.c (asm_output_mi_thunk): enable full support again
> comment out check for longcall.
> emit local reference for ABI_V4 && flag_pic.
> emit plt references for ABI_V4 external calls.
I remember there being some discussion about whether or not this was a good
thing to do for the ppc. What was the final resolution? Do we still want
this patch, or does it still need to be revised, or do we just want to avoid
thunks on the ppc?
jeff