Re: [PATCH] Detect 32-bit userland on sparc64 linux kernel as sparc-unknown-linux.

2015-06-02 Thread James Y Knight
On Jun 2, 2015, at 7:03 PM, Jan Engelhardt wrote: > If you run a x86_64 or sparc64 kernel, it means your CPU is capable > of running instructions like MOV(QWORD) or LDX, respectively. These > instructions can be issued **no matter whether your C compiler is in > ILP32 or LP64 mode**. Ok, I was th

[PATCH] Detect 32-bit userland on sparc64 linux kernel as sparc-unknown-linux.

2015-06-02 Thread James Y Knight
Similar to the situation on x86-64, a sparc64 linux kernel can run a 32-bit userspace, and when doing so, the triple should be the 32-bit variant not the 64-bit variant. >From 2a1c9ec7c2f651244c9e48676eaba68dd9d0e248 Mon Sep 17 00:00:00 2001 From: James Y Knight Date: Tue, 2 Jun 2015 15