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