[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: PIC and non-ELF prefixes ILABELs with underscores
From:       Gregory McGarry <greg () bitlynx ! com>
Date:       2008-03-20 20:50:52
Message-ID: 898E3D39-AF33-413D-84C3-FF22A3F1894A () bitlynx ! com
[Download RAW message or body]


On 21/03/2008, at 12:38 AM, Anders Magnusson wrote:

> Gregory McGarry skrev:
>>>> I've converted powerpc to use the same code currently in i386  
>>>> for PIC.
>>>>
>>>> I'm noticing that ILABELs are prefixed with underscores, since  
>>>> picstatic() converts the ILABEL symbols to STATIC symbols.   
>>>> Later, in ninval() we need to know whether the symbol is an  
>>>> ILABEL to not prefix the underscore.
>>> Note that there is (at least) one bug in the i386 pic code; it's  
>>> not generated correct
>>> when trying to generate code for compile-time initializations  
>>> inside functions.
>>
>> I have now seen this.  Did you have an idea on how to fix it?
> Hm, when looking at it, the example below shouldn't generate code  
> with any compiler :-)

Oops, sorry.  I was trying to isolate the problem better.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic