From df014c92307c8f65641776602a0242ea4b004309 Mon Sep 17 00:00:00 2001 From: Doug Rupp Date: Mon, 9 May 2022 11:37:17 -0700 Subject: [PATCH] [Ada] Combine system.ads files - arm and aarch64 qnx Systemitize Word_Size and Memory_Size declarations rather than hard code with numerical values or OS specific Long_Integer size. gcc/ada/ * libgnat/system-qnx-arm.ads (Memory_Size): Compute based on Word_Size. --- gcc/ada/libgnat/system-qnx-arm.ads | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/libgnat/system-qnx-arm.ads b/gcc/ada/libgnat/system-qnx-arm.ads index 5f4b90e7194..749384f9fd1 100644 --- a/gcc/ada/libgnat/system-qnx-arm.ads +++ b/gcc/ada/libgnat/system-qnx-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