[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.
This commit is contained in:
parent
d124654196
commit
df014c9230
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue