Lee Noar <[email protected]> wrote:
> Do you not see this in the archive you have built? PIC code is
> easy to spot as it has an instruction pattern as follows at the
> beginning of the function:
> ADD r7,pc,r7
> LDMIA r8,{r7,r8}
> LDR r8,[r8,#0]
> LDR r7,[r8,r7,LSL#4]
> Perhaps this is deliberate by the developers to make the build
> easier (I don't know if it actually does) or maybe an oversight
> that hasn't shown up on other platforms.
> Can anyone else confirm if they are seeing PIC code in the
> libglib static archive. Actually, assuming you're using a code
> viewer (like Zap) in RISC OS, it's probably easier to build Vala
> and search the binary - objects stored in archives aren't always
> word aligned and don't disassemble correctly.
I found 16 instances of this code within the Vala binary.
Not at all sure what this all means, is there anything I could do
to resolve this issue? Would building a shared library version of
Vala be a solution? Or does doesn't it have anything to do with
that?
Cheers,
Jan-Jaap
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK