From: Doug Rupp Date: Tue, 10 May 2022 22:03:58 +0000 (-0700) Subject: [Ada] Combine system.ads files - arm and aarch64 linux X-Git-Tag: basepoints/gcc-14~6274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1ae37393be7f3fae1cbae075c8302f8d1847965;p=thirdparty%2Fgcc.git [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. --- diff --git a/gcc/ada/libgnat/system-linux-arm.ads b/gcc/ada/libgnat/system-linux-arm.ads index 6f2cb247fec..996d40727fc 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