diff options
author | 2004-07-25 13:33:56 +0000 | |
---|---|---|
committer | 2004-07-25 13:33:56 +0000 | |
commit | b3d9b80a150350a98b2480597101636aef561bd0 (patch) | |
tree | 057d9c69888e14c40cfd734ac7638bb4a6099399 | |
parent | Sync (diff) | |
download | wireguard-openbsd-b3d9b80a150350a98b2480597101636aef561bd0.tar.xz wireguard-openbsd-b3d9b80a150350a98b2480597101636aef561bd0.zip |
Always build a stack frame when profiling. Otherwise profiling would only
work for code compiled at -O0...
-rw-r--r-- | gnu/egcs/gcc/config/m88k/m88k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/egcs/gcc/config/m88k/m88k.c b/gnu/egcs/gcc/config/m88k/m88k.c index af0a5af8c8a..e8f6f66b607 100644 --- a/gnu/egcs/gcc/config/m88k/m88k.c +++ b/gnu/egcs/gcc/config/m88k/m88k.c @@ -1777,9 +1777,9 @@ m88k_layout_frame () sp_size = nregs = nxregs = 0; frame_size = get_frame_size (); - /* Since profiling requires a call, make sure r1 is saved. */ + /* Profiling requires a stack frame. */ if (profile_flag || profile_block_flag) - save_regs[1] = 1; + frame_pointer_needed = 1; /* If we are producing debug information, store r1 and r30 where the debugger wants to find them (r30 at r30+0, r1 at r30+4). Space has |