1997-02-04 02:01:01 +00:00
|
|
|
/* Definitions for x86 syntax variations.
|
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 Greg McGary <greg@mcgary.org>
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 16:48:10 +00:00
|
|
|
Copyright (C) 1992, 1994, 1995, 1997, 2000 Free Software Foundation, Inc.
|
1997-02-04 02:01:01 +00:00
|
|
|
This file is part of the GNU C Library. Its master source is NOT part of
|
|
|
|
the C library, however. The master source lives in the GNU MP Library.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
1997-02-04 02:01:01 +00:00
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
2001-07-06 04:58:11 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
1997-02-04 02:01:01 +00:00
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2001-07-06 04:58:11 +00:00
|
|
|
Lesser General Public License for more details.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
2001-07-06 04:58:11 +00:00
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with the GNU C Library; if not, write to the Free
|
|
|
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
|
|
|
02111-1307 USA. */
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
#undef ALIGN
|
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 Greg McGary <greg@mcgary.org>
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 16:48:10 +00:00
|
|
|
#if defined NOLOG_ALIGN || defined HAVE_ELF
|
|
|
|
# define ALIGN(log) .align 1<<log
|
1995-02-18 01:27:10 +00:00
|
|
|
#else
|
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 Greg McGary <greg@mcgary.org>
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 16:48:10 +00:00
|
|
|
# define ALIGN(log) .align log
|
1995-02-18 01:27:10 +00:00
|
|
|
#endif
|
1997-03-31 22:56:24 +00:00
|
|
|
|
|
|
|
#undef L
|
|
|
|
#ifdef __ELF__
|
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 Greg McGary <greg@mcgary.org>
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 16:48:10 +00:00
|
|
|
# ifdef __STDC__
|
|
|
|
# define L(body) .L##body
|
|
|
|
# else
|
|
|
|
# define L(body) .L/**/body
|
|
|
|
# endif
|
1997-03-31 22:56:24 +00:00
|
|
|
#else
|
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 Greg McGary <greg@mcgary.org>
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 16:48:10 +00:00
|
|
|
# ifdef __STDC__
|
|
|
|
# define L(body) L##body
|
|
|
|
# else
|
|
|
|
# define L(body) L/**/body
|
|
|
|
# endif
|
1997-03-31 22:56:24 +00:00
|
|
|
#endif
|