diff options
author | Robert Lipe <robertl@dgii.com> | 1998-07-01 00:16:29 +0000 |
---|---|---|
committer | Robert Lipe <robertl@gcc.gnu.org> | 1998-07-01 00:16:29 +0000 |
commit | e06c10eb823807991e72f34f8275e047e327aa1e (patch) | |
tree | 032f42b175bcec3b78093bac3cac0b08c62ff0d4 /gcc | |
parent | 506506fa41d57ba80e9f17ebc5e76d8a8a728fcb (diff) | |
download | gcc-e06c10eb823807991e72f34f8275e047e327aa1e.zip gcc-e06c10eb823807991e72f34f8275e047e327aa1e.tar.gz gcc-e06c10eb823807991e72f34f8275e047e327aa1e.tar.bz2 |
i386.c (asm_output_function_prefix): Make 686 function
prologues not issue .types for non-global lables.
From-SVN: r20861
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4367373..812d9cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 1 02:12:33 1998 Robert Lipe <robertl@dgii.com> + + * i386.c (asm_output_function_prefix): Make 686 function + prologues not issue .types for non-global lables. + Tue Jun 30 23:46:53 1998 Dmitrij Tejblum <tejblum@arc.hq.cti.ru> * i386/freebsd.h (WCHAR_TYPE): Chagne to an "int". diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index cd37f54..336bb67 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1914,9 +1914,16 @@ asm_output_function_prefix (file, name) prologue_node = make_node (FUNCTION_DECL); DECL_RESULT (prologue_node) = 0; -#ifdef ASM_DECLARE_FUNCTION_NAME - ASM_DECLARE_FUNCTION_NAME (file, pic_label_name, prologue_node); -#endif + + /* This used to call ASM_DECLARE_FUNCTION_NAME() but since it's an + internal (non-global) label that's being emitted, it didn't make + sense to have .type information for local labels. This caused + the SCO OpenServer 5.0.4 ELF assembler grief (why are you giving + me debug info for a label that you're declaring non-global?) this + was changed to call ASM_OUTPUT_LABEL() instead. */ + + + ASM_OUTPUT_LABEL (file, pic_label_name); output_asm_insn ("movl (%1),%0", xops); output_asm_insn ("ret", xops); } |