summaryrefslogtreecommitdiff
path: root/gcc/config/i386/svr3gas.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-08 19:15:37 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-08 19:15:37 +0000
commit15b104652a6b0edb3c2a711d29907e048658c789 (patch)
tree7bfdc1fbdd58f1d791269ff112f6d82fe9deeb0b /gcc/config/i386/svr3gas.h
parenta41c9e1b50480d0d72fa3faf99264f05952e4b24 (diff)
downloadgcc-15b104652a6b0edb3c2a711d29907e048658c789.tar.gz
* config/i386/i386.c (ix86_frame_pointer_required): New.
(ix86_setup_frame_addresses): New. (struct machine_funciton): Add accesses_prev_frame. * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call ix86_frame_pointer_required. (SUBTARGET_FRAME_POINTER_REQUIRED): New. (SETUP_FRAME_ADDRESSES): New. * config/i386/i386-protos.h: Update. * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename from FRAME_POINTER_REQUIRED. * config/i386/svr3gas.h: Likewise. * config/i386/sysv3.h: Likewise. * config/i386/v3gas.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39545 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/svr3gas.h')
-rw-r--r--gcc/config/i386/svr3gas.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/svr3gas.h b/gcc/config/i386/svr3gas.h
index d196008f829..e5bf3db5b4b 100644
--- a/gcc/config/i386/svr3gas.h
+++ b/gcc/config/i386/svr3gas.h
@@ -37,8 +37,8 @@ Boston, MA 02111-1307, USA. */
Since a frame pointer will be required in such a function, it is OK
that the stack pointer is not restored. */
-#undef FRAME_POINTER_REQUIRED
-#define FRAME_POINTER_REQUIRED \
+#undef SUBTARGET_FRAME_POINTER_REQUIRED
+#define SUBTARGET_FRAME_POINTER_REQUIRED \
(current_function_calls_setjmp || current_function_calls_longjmp)
/* Modify ASM_OUTPUT_LOCAL slightly to test -msvr3-shlib, adapted to gas */