pa-defs.m4 revision 1.1.1.1
1divert(-1)
2
3dnl  m4 macros for HPPA assembler.
4
5dnl  Copyright 2002 Free Software Foundation, Inc.
6dnl
7dnl  This file is part of the GNU MP Library.
8dnl
9dnl  The GNU MP Library is free software; you can redistribute it and/or
10dnl  modify it under the terms of the GNU Lesser General Public License as
11dnl  published by the Free Software Foundation; either version 3 of the
12dnl  License, or (at your option) any later version.
13dnl
14dnl  The GNU MP Library is distributed in the hope that it will be useful,
15dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
16dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17dnl  Lesser General Public License for more details.
18dnl
19dnl  You should have received a copy of the GNU Lesser General Public License
20dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
21
22
23dnl  hppa assembler comments are introduced with ";".
24dnl
25dnl  For cooperation with cpp, apparently lines "# 123" set the line number,
26dnl  and other lines starting with a "#" are ignored.
27
28changecom(;)
29
30
31dnl  Called: PROLOGUE_cpu(GSYM_PREFIX`'foo)
32dnl          EPILOGUE_cpu(GSYM_PREFIX`'foo)
33dnl
34dnl  These are the same as the basic PROLOGUE_cpu and EPILOGUE_cpu in
35dnl  mpn/asm-defs.m4, but using .proc / .procend.  These are standard and on
36dnl  an ELF system they do what .type and .size normally do.
37
38define(`PROLOGUE_cpu',
39m4_assert_numargs(1)
40	`.code
41	ALIGN(8)
42	.export	`$1',entry
43`$1'LABEL_SUFFIX'
44	.proc
45	.callinfo)	dnl  This is really bogus, but allows us to compile
46			dnl  again on hppa machines.
47
48
49define(`EPILOGUE_cpu',
50m4_assert_numargs(1)
51`	.procend')
52
53divert
54