Message ID | 4DB1C513.9050102@fgznet.ch |
---|---|
State | New |
Headers | show |
Andreas Tobler <andreast-list@fgznet.ch> writes: > Index: config/m68k/netbsd-elf.h > =================================================================== > --- config/m68k/netbsd-elf.h (revision 172861) > +++ config/m68k/netbsd-elf.h (working copy) > @@ -97,7 +97,11 @@ > #undef PTRDIFF_TYPE > #define PTRDIFF_TYPE "int" > > +/* for 68k machines this only needs to be TRUE for the 68000 */ > > +#undef STRICT_ALIGNMENT > +#define STRICT_ALIGNMENT 0 The 68010 still requires strict alignment. Andreas.
On 22.04.11 21:05, Andreas Schwab wrote: > Andreas Tobler<andreast-list@fgznet.ch> writes: > >> Index: config/m68k/netbsd-elf.h >> =================================================================== >> --- config/m68k/netbsd-elf.h (revision 172861) >> +++ config/m68k/netbsd-elf.h (working copy) >> @@ -97,7 +97,11 @@ >> #undef PTRDIFF_TYPE >> #define PTRDIFF_TYPE "int" >> >> +/* for 68k machines this only needs to be TRUE for the 68000 */ >> >> +#undef STRICT_ALIGNMENT >> +#define STRICT_ALIGNMENT 0 > > The 68010 still requires strict alignment. I am not familiar with m68k. I just tried to fix the build issue from 48690. How does linux/m68k handle this? Or was your comment only about the 'comment'? Andreas
Andreas Tobler <andreast-list@fgznet.ch> writes:
> How does linux/m68k handle this?
It does not support the 68010.
Andreas.
Index: config/m68k/netbsd-elf.h =================================================================== --- config/m68k/netbsd-elf.h (revision 172861) +++ config/m68k/netbsd-elf.h (working copy) @@ -97,7 +97,11 @@ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" +/* for 68k machines this only needs to be TRUE for the 68000 */ +#undef STRICT_ALIGNMENT +#define STRICT_ALIGNMENT 0 + /* XXX Here is a bunch of stuff lifted from m68kelf.h. We don't use that file directly, because it has a lot of baggage we don't want. */