aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-12-20 09:03:23 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-12-20 09:03:23 +0000
commit99c8c61c83278e1c135b9d36c4cd8256e84944ac (patch)
tree1fb56eb504c690b60263fbce975e03a73ddf0157 /gcc/final.c
parentf4665e9ba48443614d87456513fa926ec4e26f84 (diff)
downloadgcc-99c8c61c83278e1c135b9d36c4cd8256e84944ac.zip
gcc-99c8c61c83278e1c135b9d36c4cd8256e84944ac.tar.gz
gcc-99c8c61c83278e1c135b9d36c4cd8256e84944ac.tar.bz2
final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
* final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF. * tm.texi: Document it. From-SVN: r38395
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 0d320e8..bbdb59e 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -3673,7 +3673,11 @@ output_addr_const (file, x)
break;
case SYMBOL_REF:
+#ifdef ASM_OUTPUT_SYMBOL_REF
+ ASM_OUTPUT_SYMBOL_REF (file, x);
+#else
assemble_name (file, XSTR (x, 0));
+#endif
break;
case LABEL_REF: