From 1dd35f23bda4b7006fedbb002fbb460f2f4e6d8d Mon Sep 17 00:00:00 2001 From: pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed, 25 Jan 2006 18:33:14 +0000 Subject: [PATCH] 2006-01-25 Andrew Pinski <pinskia@physics.uc.edu> PR target/25758 * config/i386/i386.c (output_pic_addr_const) <case SYMBOL_REF>: Use output_addr_const instead of assemble_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110219 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e713bcb9b74..bce045826762 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-01-25 Andrew Pinski <pinskia@physics.uc.edu> + + PR target/25758 + * config/i386/i386.c (output_pic_addr_const) <case SYMBOL_REF>: + Use output_addr_const instead of assemble_name. + 2006-01-25 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (sched-vis.o): Update dependencies. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 0b5277b36288..55670ba13da0 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -6902,7 +6902,7 @@ output_pic_addr_const (FILE *file, rtx x, int code) break; case SYMBOL_REF: - assemble_name (file, XSTR (x, 0)); + output_addr_const (file, x); if (!TARGET_MACHO && code == 'P' && ! SYMBOL_REF_LOCAL_P (x)) fputs ("@PLT", file); break; -- GitLab