On 2 Nov 2011, at 19:39, Peter Bergner wrote:
On Wed, 2011-11-02 at 19:33 +0000, Iain Sandoe wrote:
I'm going to try this ....
char name[32];
- get_ppc64_thunk_name (name);
+ get_ppc476_thunk_name (name);
This (together with the changes for HAVE_GAS_HIDDEN) fixes my
bootstrap problem.
Oh my, I'm not sure how that got through. :(
Well, I guess I should have looked at your patch before it hit trunk
(I was mistakenly thinking it didn't touch Darwin).
Oh, as you said, that is TARGET_MACHO which I can't really test.
Sorry about that.
FWIW, it's not really any worse building a cross from linux ->
darwin9*** than a cross to any other foreign OS from linux (there are
a couple of differences - because of the non-binutils tool-chain). I
did it recently.
** Rainer, AFAICT, all is OK with your (much appreciated)
rationalization of libgcc on *-Darwin9 & x86-64-Darwin10 (although
testing is incomplete).
cheers
Iain
***
x86-64-darwin10 and Darwin11 are more problematic, since the cross
toolchains are not yet in place/mature (at least as of a few weeks ago).