Quote:
Originally Posted by twobob
@knc1 Hmm yes - do you think this may go some way to explain my experiences with the internal 'ar' etc. Well. I shall resume cheerleading - bloody good catch mate.
Intrigued to know the result mate.
ra ra emu!
|
This one looks like the most likely:
-mpic-register=reg
Specify the register to be used for PIC addressing. The default is R10 unless stack-checking is enabled, when R9 is used.
Not yet confirmed in the dis-assembly, but I seem to recall that Rob's gcc-4.2 does not have stack checking enabled and the CS/MG gcc-4.6 cross-compiler does have stack checking enabled.
Will see if I can build a static linked chroot, then it will not matter which register is used for PIC addressing base.