aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-10-18 16:49:22 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>1999-10-18 16:49:22 +0000
commitd3f4f2d6fe86ffbc68c9a6a88fd0da02a56e8277 (patch)
tree721eb33869a808848dc684ffc54cedeb76c2feed /gcc/config
parent1b3e142338984166b58727c31d24617cfc0a07dc (diff)
downloadgcc-d3f4f2d6fe86ffbc68c9a6a88fd0da02a56e8277.zip
gcc-d3f4f2d6fe86ffbc68c9a6a88fd0da02a56e8277.tar.gz
gcc-d3f4f2d6fe86ffbc68c9a6a88fd0da02a56e8277.tar.bz2
m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word if the pic register is used.
* config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word if the pic register is used. From-SVN: r30071
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/m68k/m68k.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index bbe997a..72c65b6 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -1242,6 +1242,8 @@ while(0)
for (regno = 0; regno < 16; regno++) \
if (regs_ever_live[regno] && ! call_used_regs[regno]) \
offset += 4; \
+ if (flag_pic && current_function_uses_pic_offset_table) \
+ offset += 4; \
(DEPTH) = (offset + ((get_frame_size () + 3) & -4) \
+ (get_frame_size () == 0 ? 0 : 4)); \
}