diff options
author | Doug Rupp <rupp@adacore.com> | 2022-05-09 11:37:17 -0700 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-06-01 08:43:20 +0000 |
commit | df014c92307c8f65641776602a0242ea4b004309 (patch) | |
tree | 13ab36ab0495eadeacc35fb0d43251647b73d0ba /gcc | |
parent | d12465419650114202b4f3e72838c2878db1b6b3 (diff) | |
download | gcc-df014c92307c8f65641776602a0242ea4b004309.zip gcc-df014c92307c8f65641776602a0242ea4b004309.tar.gz gcc-df014c92307c8f65641776602a0242ea4b004309.tar.bz2 |
[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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/libgnat/system-qnx-arm.ads | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/libgnat/system-qnx-arm.ads b/gcc/ada/libgnat/system-qnx-arm.ads index 5f4b90e..749384f 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 |