mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-24 22:46:12 +08:00
pdp11.h (FIRST_PARM_OFFSET): Fix case of no frame pointer.
* config/pdp11/pdp11.h (FIRST_PARM_OFFSET): Fix case of no frame pointer. From-SVN: r166929
This commit is contained in:
parent
13478fb039
commit
7cf18eeea5
@ -1,3 +1,8 @@
|
||||
2010-11-18 Paul Koning <ni1d@arrl.net>
|
||||
|
||||
* config/pdp11/pdp11.h (FIRST_PARM_OFFSET): Fix case of no frame
|
||||
pointer.
|
||||
|
||||
2010-11-18 Paul Koning <ni1d@arrl.net>
|
||||
|
||||
* config/pdp11/pdp11.md (abshi2): Delete TARGET_ABSHI_BUILTIN.
|
||||
|
@ -372,11 +372,10 @@ extern int current_first_parm_offset;
|
||||
/* Offset of first parameter from the argument pointer register value.
|
||||
For the pdp11, this is nonzero to account for the return address.
|
||||
1 - return address
|
||||
2 - frame pointer (always saved, even when not used!!!!)
|
||||
-- change some day !!!:q!
|
||||
2 - frame pointer, if needed
|
||||
|
||||
*/
|
||||
#define FIRST_PARM_OFFSET(FNDECL) 4
|
||||
#define FIRST_PARM_OFFSET(FNDECL) ((frame_pointer_needed) ? 4 : 2)
|
||||
|
||||
/* Define how to find the value returned by a function.
|
||||
VALTYPE is the data type of the value (as a tree).
|
||||
|
Loading…
Reference in New Issue
Block a user