From c395771a69629f98ffc627e5e94629b71c993e3d Mon Sep 17 00:00:00 2001 From: "Ithamar R. Adema" Date: Mon, 18 Oct 2010 09:42:59 +0000 Subject: [PATCH] * Force GCC to align sInitialHeap on 8-byte boundary, otherwise Free() will complain (hit on ARM) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38997 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/debug/debug_heap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/debug/debug_heap.cpp b/src/system/kernel/debug/debug_heap.cpp index 531e44b81a..633b89ef64 100644 --- a/src/system/kernel/debug/debug_heap.cpp +++ b/src/system/kernel/debug/debug_heap.cpp @@ -14,7 +14,7 @@ #define INITIAL_HEAP_SIZE B_PAGE_SIZE -static char sInitialHeap[INITIAL_HEAP_SIZE]; +static char sInitialHeap[INITIAL_HEAP_SIZE] __attribute__ ((aligned (8))); static void* sHeapBase = sInitialHeap; static size_t sHeapSize = INITIAL_HEAP_SIZE;