public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jan Hubicka <jh@suse.cz>
To: Kai Tietz <Kai.Tietz@onevision.com>
Cc: Jan Hubicka <hubicka@ucw.cz>, gcc-patches@gcc.gnu.org
Subject: Re: PING: PING: patch: ICE in legitimize_pic_address for x86_64 mingw target
Date: Wed, 01 Aug 2007 10:00:00 -0000	[thread overview]
Message-ID: <20070801100024.GG20007@kam.mff.cuni.cz> (raw)
In-Reply-To: <OF5F052C5E.76BC7621-ONC125732A.0030FCD2-C125732A.0031C395@onevision.de>

> AFAIK there are no quaranteed constant values beside the gs/fs-segment 
> area in the 64-bit ABI of MS.
> So I think the case described by you won't occure, but may I missed 
> something.
> The MS ABI defines base relocations 64-bit wide. There is no 32-bit base 
> relocation for this target. They have to be PC-relative. But this target 
> defines PC-relative relocations with 8, 32, and 64 bit width. So I don't 
> expect problems there.

There is no 64bit pc relative addressing mode on x86-64. The code in
question is matching base+offset addressing mode that is limited to
32bit signed values. Thinking about it, the generic address legitimizing
code is going to work this out, so you probably don't need to care about
it. 

The patch is OK
Honza
> AA
> Cheers,
>  i.A. Kai Tietz
> 
> |  (\_/)  This is Bunny. Copy and paste Bunny
> | (='.'=) into your signature to help him gain
> | (")_(") world domination.
> 
> ------------------------------------------------------------------------------------------
>   OneVision Software Entwicklungs GmbH & Co. KG
>   Dr.-Leo-Ritter-StraĂŸe 9 - 93049 Regensburg
>   Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
>   Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
>   Handelsregister: HRA 6744, Amtsgericht Regensburg
>   Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
>   Dr.-Leo-Ritter-StraĂŸe 9 ??? 93049 Regensburg
>   Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsfßhrer: 
> Ulrike DĂśhler, Manuela Kluger
> 

      reply	other threads:[~2007-08-01 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 11:19 Kai Tietz
2007-07-31 21:44 ` Jan Hubicka
2007-08-01  9:03   ` Kai Tietz
2007-08-01 10:00     ` Jan Hubicka [this message]

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=20070801100024.GG20007@kam.mff.cuni.cz \
    --to=jh@suse.cz \
    --cc=Kai.Tietz@onevision.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hubicka@ucw.cz \
    /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).