Re: [PATCH] Ada/x32: PR ada/80626: Correct Memory_Size

2017-05-10 Thread Arnaud Charlet
> Here is the patch: > > 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. > > Tested on x86-64 with -m64/-m32/-mx32.

[PATCH] Ada/x32: PR ada/80626: Correct Memory_Size

2017-05-10 Thread H.J. Lu
>> > > X32 needs something similar: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80626 > Here is the patch: 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_