mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
- add frame pointer to fixed_regs unless -fomit-frame-pointer has been
given. git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10351 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -669,6 +669,11 @@ extern int ix86_arch;
|
||||
if (TEST_HARD_REG_BIT (x, i)) \
|
||||
fixed_regs[i] = call_used_regs[i] = 1; \
|
||||
} \
|
||||
if (!flag_omit_frame_pointer) \
|
||||
{ \
|
||||
fixed_regs[FRAME_POINTER_REGNUM] = 1; \
|
||||
call_used_regs[FRAME_POINTER_REGNUM] = 1; \
|
||||
} \
|
||||
}
|
||||
|
||||
/* Return number of consecutive hard regs needed starting at reg REGNO
|
||||
|
||||
Reference in New Issue
Block a user