From d1ae37393be7f3fae1cbae075c8302f8d1847965 Mon Sep 17 00:00:00 2001 From: Doug Rupp Date: Tue, 10 May 2022 15:03:58 -0700 Subject: [PATCH] [Ada] Combine system.ads files - arm and aarch64 linux Systemitize Word_Size and Memory_Size declarations rather than hard code with numerical values or OS specific Long_Integer size. gcc/ada/ * libgnat/system-linux-arm.ads (Memory_Size): Compute based on Word_Size. --- gcc/ada/libgnat/system-linux-arm.ads | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/libgnat/system-linux-arm.ads b/gcc/ada/libgnat/system-linux-arm.ads index 6f2cb24..996d407 100644 --- a/gcc/ada/libgnat/system-linux-arm.ads +++ b/gcc/ada/libgnat/system-linux-arm.ads @@ -70,7 +70,7 @@ package System is Storage_Unit : constant := 8; Word_Size : constant := Standard'Word_Size; - Memory_Size : constant := 2 ** Long_Integer'Size; + Memory_Size : constant := 2 ** Word_Size; -- Address comparison -- 2.7.4