This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR ada/54040: [x32] Incorrect timeval and timespec


On Thu, Nov 14, 2013 at 2:30 AM, Arnaud Charlet <charlet@adacore.com> wrote:
>> >> I am not familiar with Ada.  Can you recommend how to fix it?
>> >
>> > Can you send a diff between the *-linux files and your new files? This
>> > should help giving some options.
>> >
>>
>> This is the total diff.
>
> OK so I would declare a new type in System.Linux (e.g.  time_t),
> have a new variant of s-linux for x32, and use this new type everywhere in
> your patch where we're using long and where you've used Long_Long_Integer

I also changed s-osinte-posix.adb and s-osprim-posix.adb
for x32.  They aren't Linux specific.  What should I do with
them?

> This way you only have to introduce an extra s-linux-x32.ads and keep
> everything else shared.
>
> Arno



-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]