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]
Other format: [Raw text]

Re: [PATCH] Convert XCOFF ASM_DECLARE_FUNCTION_NAME to function


On Wed, Jun 25, 2014 at 6:23 PM, Jan Hubicka <hubicka@ucw.cz> 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 :)

All uses in varasm.c are

#ifdef ASM_DECLARE_OBJECT_NAME
  last_assemble_variable_decl = decl;
  ASM_DECLARE_OBJECT_NAME (file, name, decl);
#else
  /* Standard thing is just output label for the object.  */
  ASM_OUTPUT_LABEL (file, name);
#endif /* ASM_DECLARE_OBJECT_NAME */


A simple LABEL should be correct for AIX assembler; there is no
additional decoration. Are you planning a new use of
ASM_DECLARE_OBJECT_NAME that requires a definition instead of the
above logic?

Thanks, David


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