[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:
Doug Rupp 2022-05-09 11:37:17 -07:00 committed by Pierre-Marie de Rodat
parent d124654196
commit df014c9230

View file

@ -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