This is the mail archive of the gcc-bugs@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]

[Bug target/14743] -msdata=eabi does not produce r2/r13 relative access


------- Additional Comments From kate at iti dot fi  2004-03-26 15:24 -------
Subject: Re:  -msdata=eabi does not produce r2/r13 relative
 access

pinskia at gcc dot gnu dot org wrote:

>------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-26 15:19 -------
>Did you try with -fPIC or -fpic as I think PPC eabi is non-pic by default?
>
>  
>
Yes i did. The -fpic does not produce position independent data access, 
only position
independent code section. All data access including acces to cons data 
is still
position dependnet. For some reason compiler also says that -fpic and
-msdata=eabi are incompatible but i don't understand why.

Ty be truly position independent, allow loading to any address in non mmu
processor memory, both data and program should be position independent 
and so data should be also
register relative as descripted for -msdata=eabi.

Kate


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14743


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