public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/33767]  New: GLOBAL_ASM_OP needs to be documented in tm.texi
@ 2007-10-13 20:57 kai-gcc-bugs at khms dot westfalen dot de
  2010-02-21 22:28 ` [Bug target/33767] " davek at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: kai-gcc-bugs at khms dot westfalen dot de @ 2007-10-13 20:57 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/33767] GLOBAL_ASM_OP needs to be documented in tm.texi
  2007-10-13 20:57 [Bug target/33767] New: GLOBAL_ASM_OP needs to be documented in tm.texi kai-gcc-bugs at khms dot westfalen dot de
@ 2010-02-21 22:28 ` davek at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: davek at gcc dot gnu dot org @ 2010-02-21 22:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from davek at gcc dot gnu dot org  2010-02-21 22:27 -------
just ran into this myself!


-- 

davek at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davek at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-21 22:27:57
               date|                            |


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-21 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-13 20:57 [Bug target/33767] New: GLOBAL_ASM_OP needs to be documented in tm.texi kai-gcc-bugs at khms dot westfalen dot de
2010-02-21 22:28 ` [Bug target/33767] " davek at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).