This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, PR 48690] fix compilation for m68k-*-netbesdelf


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]