Re: [RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-21 Thread Eric Christopher
On Feb 18, 2006, at 10:09 PM, Andrew Pinski wrote: + if (name[0] == '.' && name[1] == ' ') +return 0; Urr? Comment here and then I think it's probably good to go. Need to get a darwin maintainer to ack it though. -eric

Re: [RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-21 Thread Eric Christopher
On Feb 19, 2006, at 12:13 PM, Andrew Pinski wrote: On Feb 19, 2006, at 2:39 PM, Andrew Pinski wrote: Now I run into another problem: /var/tmp//ccBWaqmT.s:130:Fixup of 1073745640 too large for field width of 26 bits We have a 1GB decl here. So the section that this decl goes into is betwe

Re: [RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-20 Thread Richard Sandiford
Andrew Pinski <[EMAIL PROTECTED]> writes: > Now I run into another problem: > /Users/pinskia/src/gcc/local/gcc/objdir.objc/./prev-gcc/xgcc > -B/Users/pinskia/src/gcc/local/gcc/objdir.objc/./prev-gcc/ > -B/Volumes/temp/gcc/local.objc/powerpc-apple-darwin7.9.0/bin/ -c -g > -O2 -mdynamic-no-pic -

Re: [RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-19 Thread Andrew Pinski
On Feb 19, 2006, at 2:39 PM, Andrew Pinski wrote: Now I run into another problem: /var/tmp//ccBWaqmT.s:130:Fixup of 1073745640 too large for field width of 26 bits We have a 1GB decl here. So the section that this decl goes into is between the TEXT section and the stub section which causes t

Re: [RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-19 Thread Andrew Pinski
On Feb 19, 2006, at 4:26 AM, Richard Sandiford wrote: Have you thought about overriding the output_anchor hook for Darwin? It sounds simpler than what you did in the patch, and the hook was there specifically for cases where the ASM_OUTPUT_DEF thing wouldn't work. That is a good idea, thanks.

Re: [RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-19 Thread Richard Sandiford
Andrew Pinski <[EMAIL PROTECTED]> writes: > Since -fsection-anchors is very useful for PPC-Darwin, I decided to > see what I needed to do to support them. > I started by just doing a bootstrap with them enabled by default > and ran into the first issue of SET_ASM_OP not being set. Next > I ran int

[RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-18 Thread Andrew Pinski
Since -fsection-anchors is very useful for PPC-Darwin, I decided to see what I needed to do to support them. I started by just doing a bootstrap with them enabled by default and ran into the first issue of SET_ASM_OP not being set. Next I ran into the issue of quoting ". + 0" which caused the ass