This is the mail archive of the gcc-patches@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]

Re: [PATCH] fix ASM_OUTPUT_MI_THUNK for PPC/SYSV



  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


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