Override TARGET_DEFAULTS to include MASK_STRICT_ALIGN (for IBM403).
It still includes (MASK_POWERPC | MASK_NEW_MNEMONICS) as well. Change STACK_BOUNDARY to 128 to make Altivec'ed code easier to deal with.
This commit is contained in:
parent
58e13fba70
commit
1a3bbf394a
|
@ -99,6 +99,15 @@ Boston, MA 02111-1307, USA. */
|
|||
{ "netbsd_entry_point", NETBSD_ENTRY_POINT }, \
|
||||
{ "netbsd_endfile_spec", NETBSD_ENDFILE_SPEC },
|
||||
|
||||
/*
|
||||
* Add NetBSD specific defaults: -mpowerpc -mnew_mnemonics -mstrict-align
|
||||
*/
|
||||
#undef TARGET_DEFAULT
|
||||
#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_STRICT_ALIGN)
|
||||
|
||||
/* Override STACK_BOUNDARY to use Altivec compliant one. */
|
||||
#undef STACK_BOUNDARY
|
||||
#define STACK_BOUNDARY 128
|
||||
|
||||
#undef TARGET_VERSION
|
||||
#define TARGET_VERSION fprintf (stderr, " (NetBSD/powerpc ELF)");
|
||||
|
|
Loading…
Reference in New Issue