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: ia64 symbol references


> The following should work.
> 
> 
> r~
> 
> 
> 	* ia64.c (ia64_expand_load_address): Force DEST to DImode.
> 	Build HIGH+LO_SUM inline.
> 	* ia64.md (load_symptr): Remove.

Richard,

this patch gets rid of the compile time abort but now I get a assembly
error and I am not sure what is going on.  If I compile the following
code:

   main ()
   {
    foo ("hi");
    foo ("hi");
   }

and I look at the resulting assembly language, I see:

        .section        .rodata,        "a",    "progbits"
        .align 8
  .LC0:
        stringz "hi"
        .align 8
  .LC0:
        stringz "hi"

I.e.  I have two duplicate definitions of .LC0.  I don't know why.  If I
compile in 64 bit mode, this goes away.  I'm still looking at this and
trying to figure it out but it has me confused right now.

Steve Ellcey
sje@cup.hp.com


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