public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/54040] [x32] Incorrect timeval and timespec
Date: Fri, 15 Nov 2013 12:06:00 -0000	[thread overview]
Message-ID: <bug-54040-4-1Pa6JfdGWR@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54040-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54040

--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Fri Nov 15 12:06:25 2013
New Revision: 204840

URL: http://gcc.gnu.org/viewcvs?rev=204840&root=gcc&view=rev
Log:
Add and use System.Linux.time_t for time_t

    PR ada/54040
    * s-linux-x32.ads: New file.
    * s-osprim-x32.adb: Likewise.
    * s-linux.ads (time_t): New type.
    * s-linux-alpha.ads (time_t):  Likewise.
    * s-linux-hppa.ads (time_t):  Likewise.
    * s-linux-mipsel.ads (time_t):  Likewise.
    * s-linux-sparc.ads (time_t):  Likewise.
    * s-osinte-linux.ads (time_t): Mark it private.  Replace long
    with System.Linux.time_t.
    (timespec): Replace long with time_t.
    * s-osinte-posix.adb (To_Timespec): Likewise.
    * s-taprop-linux.adb (timeval): Replace C.long with
    System.OS_Interface.time_t.
    * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Replace
    s-linux.ads with s-linux-x32.ads, s-osprim-posix.adb with
    s-osprim-x32.adb for x32.

Added:
    trunk/gcc/ada/s-linux-x32.ads
    trunk/gcc/ada/s-osprim-x32.adb
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/Makefile.in
    trunk/gcc/ada/s-linux-alpha.ads
    trunk/gcc/ada/s-linux-hppa.ads
    trunk/gcc/ada/s-linux-mipsel.ads
    trunk/gcc/ada/s-linux-sparc.ads
    trunk/gcc/ada/s-linux.ads
    trunk/gcc/ada/s-osinte-linux.ads
    trunk/gcc/ada/s-osinte-posix.adb
    trunk/gcc/ada/s-taprop-linux.adb


  parent reply	other threads:[~2013-11-15 12:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 23:37 [Bug ada/54040] New: " hjl.tools at gmail dot com
2013-11-13 20:33 ` [Bug ada/54040] " hjl.tools at gmail dot com
2013-11-13 20:43 ` hjl.tools at gmail dot com
2013-11-15 12:06 ` hjl at gcc dot gnu.org [this message]
2013-11-29 16:19 ` ebotcazou at gcc dot gnu.org
2014-02-22  8:39 ` ebotcazou at gcc dot gnu.org
2014-04-09 14:55 ` ebotcazou at gcc dot gnu.org
2014-04-09 23:19 ` ebotcazou at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-54040-4-1Pa6JfdGWR@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).