Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/pa/pa64-linux.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 77e2b8dfacca |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Definitions for PA_RISC with ELF format on 64-bit Linux | 1 /* Definitions for PA_RISC with ELF format on 64-bit Linux |
2 Copyright (C) 1999, 2000, 2002, 2007 Free Software Foundation, Inc. | 2 Copyright (C) 1999-2017 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify | 6 GCC is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
26 {FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM}, \ | 26 {FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM}, \ |
27 {ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \ | 27 {ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \ |
28 {ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM}, \ | 28 {ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM}, \ |
29 } | 29 } |
30 | 30 |
31 /* This macro is similar to `INITIAL_FRAME_POINTER_OFFSET'. It | 31 /* This macro returns the initial difference between the specified pair |
32 specifies the initial difference between the specified pair of | 32 of registers. */ |
33 registers. This macro must be defined if `ELIMINABLE_REGS' is | |
34 defined. */ | |
35 #define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \ | 33 #define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \ |
36 do \ | 34 do \ |
37 { \ | 35 { \ |
38 int fsize; \ | 36 int fsize; \ |
39 \ | 37 \ |
40 fsize = compute_frame_size (get_frame_size (), 0); \ | 38 fsize = pa_compute_frame_size (get_frame_size (), 0); \ |
41 if ((TO) == FRAME_POINTER_REGNUM \ | 39 if ((TO) == FRAME_POINTER_REGNUM \ |
42 && (FROM) == ARG_POINTER_REGNUM) \ | 40 && (FROM) == ARG_POINTER_REGNUM) \ |
43 { \ | 41 { \ |
44 (OFFSET) = -16; \ | 42 (OFFSET) = -16; \ |
45 break; \ | 43 break; \ |