|
Message
From: Mark<mark@j...>
Date: Wed Jul 30 00:38:43 CEST 2008
Subject: [openrisc] Stack frame alignment on OpenRISC 1000
Jeremy Bennett wrote: > The Application Binary Interface (ABI) for the OR1000 specifies that all > stack frames are double word aligned (section 16.2.2): > > "The stack pointer always points to the end of the latest allocated > stack frame. All frames must be double word aligned. In code compiled > for 32-bit implementations, upper halves of all double words are zero." > ---8<--- > > Can anyone shed more light on this issue. For now I'll assume the > documentation is in error (it affects the port of GDB 6.8). >
I've also looked at this in the past and thought that it no longer applied. I assumed it was to support the (never implemented?) 64-bit OpenRISC ISA. On second thought, perhaps it has to do with cache line sizes or the MMU?
Incidentally, many many many thanks for working on a new GDB port. It's been on my TODO list for over a year, looks like you'll beat me to it.
Cheers,
Mark.
|
 |