[Bug target/14743] -msdata=eabi does not produce r2/r13 relative access
kate at iti dot fi
Fri Mar 26 15:24:00 GMT 2004
------- Additional Comments From kate at iti dot fi 2004-03-26 15:24 -------
Subject: Re: -msdata=eabi does not produce r2/r13 relative
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,
independent code section. All data access including acces to cons data
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.
More information about the Gcc-bugs