comparison gcc/config/vax/elf.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* Target definitions for GNU compiler for VAX using ELF 1 /* Target definitions for GNU compiler for VAX using ELF
2 Copyright (C) 2002, 2004, 2005, 2007, 2008, 2009, 2010 2 Copyright (C) 2002-2017 Free Software Foundation, Inc.
3 Free Software Foundation, Inc.
4 Contributed by Matt Thomas <matt@3am-software.com> 3 Contributed by Matt Thomas <matt@3am-software.com>
5 4
6 This file is part of GCC. 5 This file is part of GCC.
7 6
8 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
53 #define EH_RETURN_DATA_REGNO(N) ((N) < 4 ? (N) + 2 : INVALID_REGNUM) 52 #define EH_RETURN_DATA_REGNO(N) ((N) < 4 ? (N) + 2 : INVALID_REGNUM)
54 53
55 /* Place the top of the stack for the DWARF2 EH stackadj value. */ 54 /* Place the top of the stack for the DWARF2 EH stackadj value. */
56 #define EH_RETURN_STACKADJ_RTX \ 55 #define EH_RETURN_STACKADJ_RTX \
57 gen_rtx_MEM (SImode, \ 56 gen_rtx_MEM (SImode, \
58 plus_constant (gen_rtx_REG (Pmode, FRAME_POINTER_REGNUM),\ 57 plus_constant (Pmode, \
58 gen_rtx_REG (Pmode, FRAME_POINTER_REGNUM),\
59 -4)) 59 -4))
60 60
61 /* Simple store the return handler into the call frame. */ 61 /* Simple store the return handler into the call frame. */
62 #define EH_RETURN_HANDLER_RTX \ 62 #define EH_RETURN_HANDLER_RTX \
63 gen_rtx_MEM (Pmode, \ 63 gen_rtx_MEM (Pmode, \
64 plus_constant (gen_rtx_REG (Pmode, FRAME_POINTER_REGNUM),\ 64 plus_constant (Pmode, \
65 gen_rtx_REG (Pmode, FRAME_POINTER_REGNUM),\
65 16)) 66 16))
66 67
67
68 /* Reserve the top of the stack for exception handler stackadj value. */
69 #undef STARTING_FRAME_OFFSET
70 #define STARTING_FRAME_OFFSET -4
71 68
72 /* The VAX wants no space between the case instruction and the jump table. */ 69 /* The VAX wants no space between the case instruction and the jump table. */
73 #undef ASM_OUTPUT_BEFORE_CASE_LABEL 70 #undef ASM_OUTPUT_BEFORE_CASE_LABEL
74 #define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) 71 #define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE)
75 72