Commit 6071bbaa by H.J. Lu Committed by H.J. Lu

Ada/x32: PR ada/80626: Correct Memory_Size

X32 uses 64 as word size instead of 32.  This must not affect the
Address type definition which is based on Memory_Size.

	PR ada/80626
	* system-linux-x86.ads (Memory_Size): Use Long_Integer'Size
	instead of Word_Size.

From-SVN: r247849
parent f163907e
2017-05-10 H.J. Lu <hongjiu.lu@intel.com>
PR ada/80626
* system-linux-x86.ads (Memory_Size): Use Long_Integer'Size
instead of Word_Size.
2017-05-10 Bernd Edlinger <bernd.edlinger@hotmail.de> 2017-05-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
* raise-gcc.c (exception_class_eq): Make ec parameter const. * raise-gcc.c (exception_class_eq): Make ec parameter const.
......
...@@ -70,7 +70,7 @@ package System is ...@@ -70,7 +70,7 @@ package System is
Storage_Unit : constant := 8; Storage_Unit : constant := 8;
Word_Size : constant := Standard'Word_Size; Word_Size : constant := Standard'Word_Size;
Memory_Size : constant := 2 ** Word_Size; Memory_Size : constant := 2 ** Long_Integer'Size;
-- Address comparison -- Address comparison
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment