~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/gmp/mpn/pa32/pa-defs.m4

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2007-04-09 11:51:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070409115151-ql8cr0kalzx1jmla
Tags: 0.9i-20070324-2
Upload to unstable. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 2.1 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
 
20
dnl  License along with the GNU MP Library; see the file COPYING.LIB.  If
 
21
dnl  not, write to the Free Software Foundation, Inc., 51 Franklin Street,
 
22
dnl  Fifth Floor, Boston, MA 02110-1301, USA.
 
23
 
 
24
 
 
25
dnl  hppa assembler comments are introduced with ";".
 
26
dnl
 
27
dnl  For cooperation with cpp, aparently lines "# 123" set the line number,
 
28
dnl  and other lines starting with a "#" are ignored.
 
29
 
 
30
changecom(;)
 
31
 
 
32
 
 
33
dnl  Called: PROLOGUE_cpu(GSYM_PREFIX`'foo)
 
34
dnl          EPILOGUE_cpu(GSYM_PREFIX`'foo)
 
35
dnl
 
36
dnl  These are the same as the basic PROLOGUE_cpu and EPILOGUE_cpu in
 
37
dnl  mpn/asm-defs.m4, but using .proc / .procend.  These are standard and on
 
38
dnl  an ELF system they do what .type and .size normally do.
 
39
 
 
40
define(`PROLOGUE_cpu',
 
41
m4_assert_numargs(1)
 
42
        `.code
 
43
        ALIGN(8)
 
44
        .export `$1',entry
 
45
`$1'LABEL_SUFFIX'
 
46
        .proc
 
47
        .callinfo)      dnl  This is really bogus, but allows us to compile
 
48
                        dnl  again on hppa machines.
 
49
 
 
50
 
 
51
define(`EPILOGUE_cpu',
 
52
m4_assert_numargs(1)
 
53
`       .procend')
 
54
 
 
55
divert