diff options
author | Doug Rupp <rupp@adacore.com> | 2022-05-10 15:03:58 -0700 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-06-02 09:06:38 +0000 |
commit | d1ae37393be7f3fae1cbae075c8302f8d1847965 (patch) | |
tree | 52acce7f33369f1a45f32015c33a071879ae97fe /gcc | |
parent | e3adb8048891c9f97fc25cf22da2914d1a635fb7 (diff) | |
download | gcc-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.ads | 2 |
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 |