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: PING: PING: patch: ICE in legitimize_pic_address for x86_64 mingw target


> 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
> 


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