From 81d77cdaa774bed5405a4ab46060103b33b7e1e6 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 21 Sep 1996 06:35:12 -0400 Subject: [PATCH] (ASM_OUTPUT_LABELREF): Provide default definition if not already defined. From-SVN: r12749 --- gcc/defaults.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/defaults.h b/gcc/defaults.h index c826a103975a..1bf5d6ad0102 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -4,7 +4,6 @@ Copyright (C) 1992, 1996 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@monkeys.com) - This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify @@ -119,6 +118,13 @@ do { fprintf (FILE, "\t%s\t", ASM_LONG); \ #endif #endif +/* This is how to output a reference to a user-level label named NAME. */ + +#ifndef ASM_OUTPUT_LABELREF +#define ASM_OUTPUT_LABELREF(FILE,NAME) \ + do { fputs (USER_LABEL_PREFIX, FILE); fputs (NAME, FILE); } while (0) +#endif + /* This determines whether or not we support weak symbols. */ #ifndef SUPPORTS_WEAK #ifdef ASM_WEAKEN_LABEL -- 2.43.5