summaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-12-20 02:08:57 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-12-20 02:08:57 +0000
commit57829bc4f05c1087e005bc68adca4a0236f7e115 (patch)
tree6a891da2171d58c01e8dad91fed721c57e1daab7 /gcc/output.h
parent49a1b20cb3cc550523866f263da2613872aaa183 (diff)
downloadgcc-57829bc4f05c1087e005bc68adca4a0236f7e115.tar.gz
defaults.h (ASM_OUTPUT_INTERNAL_LABEL): New macro.
* defaults.h (ASM_OUTPUT_INTERNAL_LABEL): New macro. * output.h (assemble_name_raw): Declare it. * system.h (ASM_OUTPUT_INTERNAL_LABEL): Do not poison it. * varasm.c (assemble_name_raw): New function. (assemble_name): Use it. (default_internal_label): Likewise. * config/darwin.c (darwin_asm_output_dwarf_delta): Likewise. * doc/tm.texi (ASM_OUTPUT_INTERNAL_LABEL): Document. From-SVN: r92401
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 95090064079..b014b2321f4 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -291,11 +291,16 @@ extern void assemble_external_libcall (rtx);
/* Assemble a label named NAME. */
extern void assemble_label (const char *);
-/* Output to FILE a reference to the assembler name of a C-level name NAME.
- If NAME starts with a *, the rest of NAME is output verbatim.
- Otherwise NAME is transformed in an implementation-defined way
- (usually by the addition of an underscore).
- Many macros in the tm file are defined to call this function. */
+/* Output to FILE (an assembly file) a reference to NAME. If NAME
+ starts with a *, the rest of NAME is output verbatim. Otherwise
+ NAME is transformed in a target-specific way (usually by the
+ addition of an underscore). */
+extern void assemble_name_raw (FILE *, const char *);
+
+/* Like assemble_name_raw, but should be used when NAME might refer to
+ an entity that is also represented as a tree (like a function or
+ variable). If NAME does refer to such an entity, that entity will
+ be marked as referenced. */
extern void assemble_name (FILE *, const char *);
/* Return the assembler directive for creating a given kind of integer