about summary refs log tree commit diff
path: root/arch/arm
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-07-22 15:45:28 -0400
committerRich Felker <dalias@aerifal.cx>2013-07-22 15:45:28 -0400
commit1c6cace0bf88a5f30886665e2c2d2268e3a3ccc5 (patch)
tree8e5c4f40812c301bae1127f3874b4a82307bdee7 /arch/arm
parent8327ae0cb23b799bc55a45e0d4bd95f5a2b1cdf1 (diff)
downloadmusl-1c6cace0bf88a5f30886665e2c2d2268e3a3ccc5.tar.gz
musl-1c6cace0bf88a5f30886665e2c2d2268e3a3ccc5.tar.xz
musl-1c6cace0bf88a5f30886665e2c2d2268e3a3ccc5.zip
fix regression in size of nlink_t (broken stat struct) on x86_64
rather than moving nlink_t back to the arch-specific file, I've added
a macro _Reg defined to the canonical type for register-size values on
the arch. this is not the same as _Addr for (not-yet-supported)
32-on-64 pseudo-archs like x32 and mips n32, so a new macro was
needed.
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/bits/alltypes.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/bits/alltypes.h.in b/arch/arm/bits/alltypes.h.in
index 764a2469..bd23a6ae 100644
--- a/arch/arm/bits/alltypes.h.in
+++ b/arch/arm/bits/alltypes.h.in
@@ -1,5 +1,6 @@
 #define _Addr int
 #define _Int64 long long
+#define _Reg int
 
 TYPEDEF __builtin_va_list va_list;
 TYPEDEF __builtin_va_list __isoc_va_list;