aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Rupp <rupp@adacore.com>2022-05-10 15:03:58 -0700
committerPierre-Marie de Rodat <derodat@adacore.com>2022-06-02 09:06:38 +0000
commitd1ae37393be7f3fae1cbae075c8302f8d1847965 (patch)
tree52acce7f33369f1a45f32015c33a071879ae97fe /gcc
parente3adb8048891c9f97fc25cf22da2914d1a635fb7 (diff)
downloadgcc-d1ae37393be7f3fae1cbae075c8302f8d1847965.zip
gcc-d1ae37393be7f3fae1cbae075c8302f8d1847965.tar.gz
gcc-d1ae37393be7f3fae1cbae075c8302f8d1847965.tar.bz2
[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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/libgnat/system-linux-arm.ads2
1 files changed, 1 insertions, 1 deletions
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