diff options
-rw-r--r-- | gnu/egcs/gcc/config/i386/openbsd.h | 2 | ||||
-rw-r--r-- | gnu/usr.bin/ld/i386/mdprologue.S | 4 | ||||
-rw-r--r-- | sys/arch/i386/include/asm.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gnu/egcs/gcc/config/i386/openbsd.h b/gnu/egcs/gcc/config/i386/openbsd.h index dc84f892c16..f70f9055060 100644 --- a/gnu/egcs/gcc/config/i386/openbsd.h +++ b/gnu/egcs/gcc/config/i386/openbsd.h @@ -72,7 +72,7 @@ Boston, MA 02111-1307, USA. */ i386.md for an explanation of the expression this outputs. */ #undef ASM_OUTPUT_ADDR_DIFF_ELT #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \ - fprintf (FILE, "\t.long _GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", LPREFIX, VALUE) + fprintf (FILE, "\t.long __GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", LPREFIX, VALUE) /* Assembler format: sections. */ diff --git a/gnu/usr.bin/ld/i386/mdprologue.S b/gnu/usr.bin/ld/i386/mdprologue.S index a8cc77209c2..8a9f5b43a99 100644 --- a/gnu/usr.bin/ld/i386/mdprologue.S +++ b/gnu/usr.bin/ld/i386/mdprologue.S @@ -1,4 +1,4 @@ -/* * $OpenBSD: mdprologue.S,v 1.2 1998/03/26 19:46:42 niklas Exp $*/ +/* * $OpenBSD: mdprologue.S,v 1.3 2001/09/05 08:22:36 espie Exp $*/ /* * Copyright (c) 1993 Paul Kranenburg * All rights reserved. @@ -51,7 +51,7 @@ _rtl: # crt0 calls us here call 1f # PIC function prologue 1: popl %ebx - addl $_GLOBAL_OFFSET_TABLE_+[.-1b],%ebx + addl $__GLOBAL_OFFSET_TABLE_+[.-1b],%ebx movl 12(%ebp),%eax # Extract data from interface structure movl (%eax),%eax # base address of ld.so (first field) diff --git a/sys/arch/i386/include/asm.h b/sys/arch/i386/include/asm.h index e3789715d03..c2f3fa9d271 100644 --- a/sys/arch/i386/include/asm.h +++ b/sys/arch/i386/include/asm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asm.h,v 1.4 2000/08/05 22:07:31 niklas Exp $ */ +/* $OpenBSD: asm.h,v 1.5 2001/09/05 08:22:36 espie Exp $ */ /* $NetBSD: asm.h,v 1.7 1994/10/27 04:15:56 cgd Exp $ */ /*- @@ -48,7 +48,7 @@ call 1f; \ 1: \ popl %ebx; \ - addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx + addl $__GLOBAL_OFFSET_TABLE_+[.-1b], %ebx #define PIC_EPILOGUE \ popl %ebx #define PIC_PLT(x) x@PLT |