Re: [PATCH] Convert XCOFF ASM_DECLARE_FUNCTION_NAME to function

2014-06-28 Thread David Edelsohn
BTW, if I enable MAKE_DECL_ONE_ONLY for XCOFF, the endless loop does not occur, so it clearly has some effect on AIX. Maybe it can function well-enough on AIX. - David

Re: [PATCH] Convert XCOFF ASM_DECLARE_FUNCTION_NAME to function

2014-06-25 Thread David Edelsohn
On Wed, Jun 25, 2014 at 6:23 PM, Jan Hubicka wrote: > We do not need TOC references, but we need to output aliases there and for > that > we need to know the declaratoin, so I need to introduce DECLARE_OBJECT_NAME. > I will look into it either tonight or later this week. > Thanks for the patch :

Re: [PATCH] Convert XCOFF ASM_DECLARE_FUNCTION_NAME to function

2014-06-25 Thread Jan Hubicka
> On Tue, Jun 24, 2014 at 2:53 PM, Jan Hubicka wrote: > > > We will also need to introduce ASM_DECLARE_OBJECT_NAME to handle the > > aliases > > of variables. I can look into that probably later this week (it is last > > week > > of my teaching and I need to do the finals) > > varasm.c defau

Re: [PATCH] Convert XCOFF ASM_DECLARE_FUNCTION_NAME to function

2014-06-25 Thread David Edelsohn
On Tue, Jun 24, 2014 at 2:53 PM, Jan Hubicka wrote: > We will also need to introduce ASM_DECLARE_OBJECT_NAME to handle the aliases > of variables. I can look into that probably later this week (it is last week > of my teaching and I need to do the finals) varasm.c defaults to ASM_OUTPUT_LABEL

Re: [PATCH] Convert XCOFF ASM_DECLARE_FUNCTION_NAME to function

2014-06-24 Thread Jan Hubicka
> In preparation to fix the alias issues on AIX, this patch changes > ASM_DECLARE_FUNCTION_NAME from a macro to a function. Thanks, David! We will also need to introduce ASM_DECLARE_OBJECT_NAME to handle the aliases of variables. I can look into that probably later this week (it is last week of