From: Janis Johnson <janis187@us.ibm.com>
To: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Cc: gcc@gcc.gnu.org
Subject: Re: RFA: Ada variable-sized objects, bit_size_type == TImode, and divti3
Date: Fri, 21 Mar 2003 00:00:00 -0000 [thread overview]
Message-ID: <20030320143832.A2662@us.ibm.com> (raw)
In-Reply-To: <OFBAB4CE9A.60EE15CF-ONC1256CEF.0072786F@de.ibm.com>; from Ulrich.Weigand@de.ibm.com on Thu, Mar 20, 2003 at 09:58:58PM +0100
On Thu, Mar 20, 2003 at 09:58:58PM +0100, Ulrich Weigand wrote:
> Hello,
>
> Ada builds are currently failing on s390x due to missing __divti3.
>
> How does this work on other 64-bit platforms?
You can change the value of MIN_UNITS_PER_WORD when compiling libgcc2.c.
For example, in config/rs6000/rs6000.h:
/* Width of a word, in units (bytes). */
#define UNITS_PER_WORD (! TARGET_POWERPC64 ? 4 : 8)
#ifdef IN_LIBGCC2
#define MIN_UNITS_PER_WORD UNITS_PER_WORD
#else
#define MIN_UNITS_PER_WORD 4
#endif
This can cause some needed DImode functions to disappear; if that
happens, you'll need to find a way to add them again. That happened
for soft-float support for powerpc64-unknown-linux-gnu.
Janis
next prev parent reply other threads:[~2003-03-20 22:35 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-20 21:55 Ulrich Weigand
2003-03-20 22:31 ` Richard Henderson
2003-03-20 23:18 ` Geert Bosch
2003-03-21 0:00 ` Janis Johnson [this message]
2003-03-20 22:35 Ulrich Weigand
2003-03-20 23:44 ` Richard Henderson
2003-03-21 0:25 ` Neil Booth
2003-03-21 1:58 ` Ulrich Weigand
2003-03-21 7:46 ` Richard Henderson
2003-03-21 16:27 ` Ulrich Weigand
2003-03-21 20:25 ` Ulrich Weigand
2003-03-21 2:09 Ulrich Weigand
2003-03-24 11:08 Richard Kenner
2003-03-31 20:16 Richard Kenner
2003-04-01 19:26 Ulrich Weigand
2003-04-01 22:53 Richard Kenner
2003-04-02 15:36 Richard Kenner
2003-04-02 15:36 Ulrich Weigand
2003-04-02 15:43 Ulrich Weigand
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=20030320143832.A2662@us.ibm.com \
--to=janis187@us.ibm.com \
--cc=Ulrich.Weigand@de.ibm.com \
--cc=gcc@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).