]>
Commit | Line | Data |
---|---|---|
6f684b53 | 1 | /* VMS trampoline for nested functions |
748086b7 | 2 | Copyright (C) 2001, 2008, 2009 Free Software Foundation, Inc. |
6f684b53 DR |
3 | Contributed by Douglas B. Rupp (rupp@gnat.com). |
4 | ||
7ec022b2 | 5 | This file is part of GCC. |
6f684b53 | 6 | |
7ec022b2 | 7 | GCC is free software; you can redistribute it and/or modify |
6f684b53 | 8 | it under the terms of the GNU General Public License as published by |
748086b7 | 9 | the Free Software Foundation; either version 3, or (at your option) |
6f684b53 DR |
10 | any later version. |
11 | ||
7ec022b2 | 12 | GCC is distributed in the hope that it will be useful, |
6f684b53 DR |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
748086b7 JJ |
17 | Under Section 7 of GPL version 3, you are granted additional |
18 | permissions described in the GCC Runtime Library Exception, version | |
19 | 3.1, as published by the Free Software Foundation. | |
20 | ||
21 | You should have received a copy of the GNU General Public License and | |
22 | a copy of the GCC Runtime Library Exception along with this program; | |
23 | see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
24 | <http://www.gnu.org/licenses/>. */ | |
6f684b53 DR |
25 | |
26 | ;# Alpha OpenVMS trampoline | |
27 | ;# | |
28 | .set noreorder | |
29 | .set volatile | |
30 | .set noat | |
6f684b53 DR |
31 | .text |
32 | .align 3 | |
33 | .globl __tramp | |
34 | .ent __tramp | |
35 | __tramp..en: | |
36 | ||
37 | .link | |
38 | .align 3 | |
39 | __tramp: | |
40 | .pdesc __tramp..en,null | |
41 | .text | |
42 | ldq $1,24($27) | |
43 | ldq $27,16($27) | |
44 | ldq $28,8($27) | |
45 | jmp $31,($28),0 | |
46 | .end __tramp |