Handle more CPU modes of: m68k, hppa, sh3, vax, mips, sparc, ppc, alpha.
These modes are requires for NetBSD (and typically LSan/GCC).
I actually meant to add this to the change below not this one. Sorry.
However, the MIPS change seems wrong since the initial #if defined(__mips64) condition means the newly added condition never triggers.
__mips64 should only be defined for 64-bit architectures and as far as I know n32 is the only ABI with 32-bit pointers. Using the _LP64 macro will force us to make changes.
I think that all this complex mess of ifdefs is really answering the question "Are pointers 32 bits?" so why don't we switch the ifdef to that (for example: #if \_\_UINTPTR_MAX\_\_ == 0xffffffffU)
PS: h@e markup. How does one make double underscore not become underline?
I don't know why aarch64 is in the 32 bit group. I think it should not be. It is the only 64 bit arch there, which looks fishy. Whoever added it should have put a comment there. Perhaps it is in the file commit history.