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. Back port from mainline PR ada/80626 * system-linux-x86.ads (Memory_Size): Use Long_Integer'Size instead of Word_Size. From-SVN: r247850
This commit is contained in:
parent
13de5a6a04
commit
96764ede56
|
@ -1,3 +1,12 @@
|
|||
2017-05-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
Back port from mainline
|
||||
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-02 Release Manager
|
||||
|
||||
* GCC 7.1.0 released.
|
||||
|
|
|
@ -70,7 +70,7 @@ package System is
|
|||
|
||||
Storage_Unit : constant := 8;
|
||||
Word_Size : constant := Standard'Word_Size;
|
||||
Memory_Size : constant := 2 ** Word_Size;
|
||||
Memory_Size : constant := 2 ** Long_Integer'Size;
|
||||
|
||||
-- Address comparison
|
||||
|
||||
|
|
Loading…
Reference in New Issue