diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-12-20 02:08:57 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2004-12-20 02:08:57 +0000 |
commit | 3358b582a767ba0869657c623464ea3d686b5f70 (patch) | |
tree | 6a891da2171d58c01e8dad91fed721c57e1daab7 /gcc/defaults.h | |
parent | 03196fb30591ce4159122694277bada13d8a584b (diff) |
* 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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@92401 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 1c95c6a19cd..236ed90dee0 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -145,6 +145,15 @@ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \ do { assemble_name ((FILE), (NAME)); fputs (":\n", (FILE)); } while (0) #endif +/* Output the definition of a compiler-generated label named NAME. */ +#ifndef ASM_OUTPUT_INTERNAL_LABEL +#define ASM_OUTPUT_INTERNAL_LABEL(FILE,NAME) \ + do { \ + assemble_name_raw ((FILE), (NAME)); \ + fputs (":\n", (FILE)); \ + } while (0) +#endif + /* This is how to output a reference to a user-level label named NAME. */ #ifndef ASM_OUTPUT_LABELREF |