[Bug target/33767] New: GLOBAL_ASM_OP needs to be documented in tm.texi

kai-gcc-bugs at khms dot westfalen dot de gcc-bugzilla@gcc.gnu.org
Sat Oct 13 20:57:00 GMT 2007


There's just one mention in all of the internals docs:

The default implementation relies on a proper definition of
@code{GLOBAL_ASM_OP}.

varasm.c has this:

/* Default function to output code that will globalize a label.  A
   target must define GLOBAL_ASM_OP or provide its own function to
   globalize a label.  */
#ifdef GLOBAL_ASM_OP
void
default_globalize_label (FILE * stream, const char *name)
{
  fputs (GLOBAL_ASM_OP, stream);
  assemble_name (stream, name);
  putc ('\n', stream);
}
#endif /* GLOBAL_ASM_OP */

Clearly, this should be documented as a target macro, and explained what a
proper definition actually *is*. Also, maybe there ought to be a default in
either defaults.h or elfos.h.

(revision 127595)


-- 
           Summary: GLOBAL_ASM_OP needs to be documented in tm.texi
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kai-gcc-bugs at khms dot westfalen dot de
 GCC build triplet: any
  GCC host triplet: any
GCC target triplet: any


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33767



More information about the Gcc-bugs mailing list