diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-13 14:04:15 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-13 14:04:15 +0000 |
commit | 164b4b15dc479953c33ecffd702a240a0763d06f (patch) | |
tree | 840abe7eaa9ab57ad418f30aac580be8cbd04489 /gcc/config/i386/unix.h | |
parent | bd7b71e054796d2b13f5c0f8db07fdfed442baa6 (diff) | |
download | gcc-164b4b15dc479953c33ecffd702a240a0763d06f.tar.gz |
Patch to fix g++.other/local1.C.
* varasm.c (make_decl_rtl): Revert April 1 change.
* alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
Get function name from the SYMBOL_REF in the DECL_RTL, not from
DECL_ASSEMBLER_NAME.
* i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
DECL_ASSEMBLER_NAME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19723 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/unix.h')
-rw-r--r-- | gcc/config/i386/unix.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/i386/unix.h b/gcc/config/i386/unix.h index c74911c7107..47440ddd943 100644 --- a/gcc/config/i386/unix.h +++ b/gcc/config/i386/unix.h @@ -179,15 +179,13 @@ do { \ output_asm_insn (AS1 (pop%L0,%0), xops); \ output_asm_insn ("addl $_GLOBAL_OFFSET_TABLE_+[.-%P1],%0", xops); \ fprintf (FILE, "\tmovl "); \ - assemble_name \ - (FILE, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (FUNCTION))); \ + assemble_name (FILE, XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0)); \ fprintf (FILE, "@GOT(%%ebx),%%ecx\n\tpopl %%ebx\n\tjmp *%%ecx\n"); \ } \ else \ { \ fprintf (FILE, "\tjmp "); \ - assemble_name \ - (FILE, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (FUNCTION))); \ + assemble_name (FILE, XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0)); \ fprintf (FILE, "\n"); \ } \ } while (0) |