https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122414

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |*-netbsd

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
_ARCH_PPC64 is defined if -mpowerpc64 is used (which is implied by using
-mcpu=970 which has been true since at least r0-108668-gf10d3ac9bb1f41 and
before).

32bit Pointers and 64bit registers for powerpc is a valid thing for powerpc.
_ARCH_PPC64 just says the registers are 64bit.


Now, does NetBSD's kernel support full 64bit register task switching for 32bit
powerpc tasks? If NOT then OS_MISSING_POWERPC64 should be defined in netbsd.h
like it is done for freebsd:
freebsd64.h:#define OS_MISSING_POWERPC64 !TARGET_64BIT

Reply via email to