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:
matt 2003-10-10 01:58:55 +00:00
parent 58e13fba70
commit 1a3bbf394a
1 changed files with 9 additions and 0 deletions

View File

@ -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)");