Re: gcc 4.2 branch build failure on powerpc-apple-darwin8

2007-03-12 Thread Richard Henderson
On Mon, Mar 12, 2007 at 08:32:43AM -0400, Jack Howarth wrote: > - else if (decl_readonly_section_1 (exp, reloc, MACHOPIC_INDIRECT)) > + else if (decl_readonly_section (exp, reloc)) Not just that. Try this. * config/darwin.c (machopic_reloc_rw_mask): New. (machopic_select_sect

RE: gcc 4.2 branch build failure on powerpc-apple-darwin8

2007-03-12 Thread Jack Howarth
It would seem we need to change... Index: gcc/config/darwin.c === /usr/local/bin/gccdiff: line 1: i#!/bin/bash: No such file or directory --- gcc/config/darwin.c (revision 122839) +++ gcc/config/darwin.c (working copy) @@ -1112,7 +

RE: gcc 4.2 branch build failure on powerpc-apple-darwin8

2007-03-11 Thread Jack Howarth
The breakage on powerpc-apple-darwin8 seems to be due to revision 122782... PR target/26090 * target.h (targetm.asm.out.reloc_rw_mask): New. * target-def.h (TARGET_ASM_RELOC_RW_MASK): New. (TARGET_ASM_OUT): Use it. * targhooks.c, targhooks.h (default_relo

gcc 4.2 branch build failure on powerpc-apple-darwin8

2007-03-11 Thread Jack Howarth
The current gcc 4.2 branch (revision 122824) fails to build on powerpc-apple-darwin8 with the error... gcc -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissin