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