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

« back to all changes in this revision

Viewing changes to src/gmp/mpn/powerpc64/linux64.m4

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2006-05-17 02:46:26 UTC
  • Revision ID: james.westby@ubuntu.com-20060517024626-lljr08ftv9g9vefl
Tags: upstream-0.9h-20060510
ImportĀ upstreamĀ versionĀ 0.9h-20060510

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
divert(-1)
 
2
dnl  m4 macros for Linux 64-bit assembly.
 
3
 
 
4
dnl  Copyright 2003 Free Software Foundation, Inc.
 
5
dnl
 
6
dnl  This file is part of the GNU MP Library.
 
7
dnl
 
8
dnl  The GNU MP Library is free software; you can redistribute it and/or
 
9
dnl  modify it under the terms of the GNU Lesser General Public License as
 
10
dnl  published by the Free Software Foundation; either version 2.1 of the
 
11
dnl  License, or (at your option) any later version.
 
12
dnl
 
13
dnl  The GNU MP Library is distributed in the hope that it will be useful,
 
14
dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
dnl  Lesser General Public License for more details.
 
17
dnl
 
18
dnl  You should have received a copy of the GNU Lesser General Public
 
19
dnl  License along with the GNU MP Library; see the file COPYING.LIB.  If
 
20
dnl  not, write to the Free Software Foundation, Inc., 59 Temple Place -
 
21
dnl  Suite 330, Boston, MA 02111-1307, USA.
 
22
 
 
23
define(`ASM_START',`')
 
24
 
 
25
dnl  Called: PROLOGUE_cpu(GSYM_PREFIX`'foo)
 
26
dnl          EPILOGUE_cpu(GSYM_PREFIX`'foo)
 
27
dnl
 
28
 
 
29
define(`PROLOGUE_cpu',
 
30
m4_assert_numargs(1)
 
31
        `
 
32
        .globl  $1
 
33
        .globl  .$1
 
34
        .section        ".opd","aw"
 
35
        .align  3
 
36
$1:
 
37
        .llong  .$1,.TOC.@tocbase,0
 
38
        .size   $1,24
 
39
        .type   .$1,@function
 
40
        .section        ".text"
 
41
        .align  3
 
42
.$1:')
 
43
 
 
44
define(`EPILOGUE_cpu',
 
45
m4_assert_numargs(1)
 
46
`       .size   .$1,.-.$1')
 
47
 
 
48
divert