This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, PR 48690] fix compilation for m68k-*-netbesdelf
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Andreas Tobler <andreast-list at fgznet dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 22 Apr 2011 21:05:45 +0200
- Subject: Re: [patch, PR 48690] fix compilation for m68k-*-netbesdelf
- References: <4DB1C513.9050102@fgznet.ch>
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.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."