Ian Lance Taylor [Tue, 1 Oct 1996 16:41:19 +0000 (16:41 +0000)]
* config/tc-alpha.c: Add some static function prototypes.
(alpha_macros): Move to top of file. Make static.
(alpha_num_macros): Move to top of file.
Stu Grossman [Tue, 1 Oct 1996 16:38:44 +0000 (16:38 +0000)]
* tc-v850.h: Define LOCAL_LABEL to recognise _.L_* symbols
generated by DWARF.
Ian Lance Taylor [Tue, 1 Oct 1996 16:33:01 +0000 (16:33 +0000)]
* elflink.h (elf_link_add_object_symbols): Only put a symbol from
a dynamic object in the dynamic symbol table if it is referenced
or defined by a regular object.
PR 10711.
Ian Lance Taylor [Tue, 1 Oct 1996 14:50:19 +0000 (14:50 +0000)]
* i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
accordingly. Don't declare functions using op_rtn.
Remove ANSI C constructs.
Stan Shebs [Tue, 1 Oct 1996 05:15:10 +0000 (05:15 +0000)]
Fix a stutter
Fix a stutter
Stan Shebs [Tue, 1 Oct 1996 05:09:00 +0000 (05:09 +0000)]
* mpw-mh-mpw (EXTRALIBS_PPC_XCOFF): New, was EXTRALIBS_PPC.
(EXTRALIBS_PPC): Use shared libraries instead of xcoff.
Fred Fish [Tue, 1 Oct 1996 03:29:45 +0000 (03:29 +0000)]
* gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
"p func1 ()" and note that rests of tests are skipped.
* gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
setup_xfails for "print func2::coremaker_local".
Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
* gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
affected by the previous run test.
* gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
"print array () ubyte (foo)" and "print/x array () byte (\$i)"
* gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
"pass int powerset tuple" and "pass modeless int powerset tuple".
* gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
"real write 4" and "real write 8".
* gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
setup_xfails for "print vs1 after tuple assign 2",
"print \$i after tuple assign 2", and
"print vs2 after tuple assign 2".
* lib/gdb.exp (gdb_test): When a gdb aborts, print a more
meaningful error message and return -1 so the caller can
suppress further tests and avoid a cascade of errors.
Fred Fish [Tue, 1 Oct 1996 03:04:13 +0000 (03:04 +0000)]
* defs.h: Remove define of PRIVATE_XMALLOC.
Fred Fish [Tue, 1 Oct 1996 03:01:33 +0000 (03:01 +0000)]
* libiberty.h: Remove #ifndef PRIVATE_XMALLOC.
Jackie Smith Cashion [Tue, 1 Oct 1996 00:33:00 +0000 (00:33 +0000)]
Tue Oct 1 01:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
* configure.in (noconfigdirs): Don't build libgloss for arm-coff
targets.
Stu Grossman [Mon, 30 Sep 1996 22:42:23 +0000 (22:42 +0000)]
* config/v850/tm-v850.h: Use distinct register for PC, not EIPC.
Stan Shebs [Mon, 30 Sep 1996 21:41:07 +0000 (21:41 +0000)]
Add mpw-install to keep_these_too
David Edelsohn [Mon, 30 Sep 1996 21:10:54 +0000 (21:10 +0000)]
m32r [work in progress]
David Edelsohn [Mon, 30 Sep 1996 19:18:04 +0000 (19:18 +0000)]
m32r support
David Edelsohn [Mon, 30 Sep 1996 19:16:26 +0000 (19:16 +0000)]
* Makefile.in (em32relf.c): Add rule for.
* configure.tgt (m32r-*-*): Recognize.
* emulparams/m32relf.sh: New file.
Jeff Law [Mon, 30 Sep 1996 17:16:35 +0000 (17:16 +0000)]
* top.c (execute_control_command): Free values from while_control
and if_control conditions after evaluation to avoid storage leaks.
From Peter Schauer.
Fixes 10442.
David Edelsohn [Sun, 29 Sep 1996 14:57:04 +0000 (14:57 +0000)]
* gas/sparc/splet.d: Fix typo in cpusha result.
Fred Fish [Sat, 28 Sep 1996 15:22:09 +0000 (15:22 +0000)]
Make sanitize-v850 lines into comments and rebuild configure
Fred Fish [Sat, 28 Sep 1996 15:14:27 +0000 (15:14 +0000)]
Remade configure, which appears to have gotten out of sync
with the current files it is built from.
Stu Grossman [Sat, 28 Sep 1996 01:38:45 +0000 (01:38 +0000)]
* gencode.c (write_opcodes): Output hex values for opcode mask
and patterns.
* interp.c (sim_resume): Save and restore PC from the appropriate
register.
* (sim_fetch_register sim_store_register): Fix byte-order problem
with reading and writing registers.
* simops.c (OP_FFFF): Implement pseudo-breakpoint insn.
Stu Grossman [Sat, 28 Sep 1996 01:23:45 +0000 (01:23 +0000)]
Sanitize for v850.
Stu Grossman [Sat, 28 Sep 1996 01:16:06 +0000 (01:16 +0000)]
Sanitize v850 shit.
Stu Grossman [Sat, 28 Sep 1996 01:11:34 +0000 (01:11 +0000)]
Add configure.
Stu Grossman [Sat, 28 Sep 1996 01:08:10 +0000 (01:08 +0000)]
v850 shit
Stu Grossman [Sat, 28 Sep 1996 01:00:59 +0000 (01:00 +0000)]
Sanitize out v850 stuff.
Stu Grossman [Sat, 28 Sep 1996 00:59:13 +0000 (00:59 +0000)]
* configure.in: Recognize v850 target.
* v850-tdep.c: New file, NEC V850 target support.
* config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
Stu Grossman [Sat, 28 Sep 1996 00:53:37 +0000 (00:53 +0000)]
v850 stuff
Stu Grossman [Sat, 28 Sep 1996 00:41:58 +0000 (00:41 +0000)]
* configure.in: You can now configure GDB for the v850.
Jeff Law [Fri, 27 Sep 1996 23:41:12 +0000 (23:41 +0000)]
* simops.c (trace_input): Fix thinko.
Peter Schauer [Fri, 27 Sep 1996 21:51:32 +0000 (21:51 +0000)]
* infrun.c (wait_for_inferior): Update current_line and
current_symtab when stepping continues in the middle of a new line.
Fred Fish [Fri, 27 Sep 1996 17:53:06 +0000 (17:53 +0000)]
* top.c (print_gdb_version): Rewrote to comply with new GNU coding
standards for the --version option.
(print_gnu_advertisement): Remove, now part of print_gdb_version.
(show_version): Remove call to print_gnu_advertisement.
* top.h (print_gnu_advertisement): Remove prototype.
* main.c (print_gdb_help): Move help to static function and
add prototype.
(main): Call print_gdb_help rather than inlining it.
(main): Remove call to print_gnu_advertisement.
* gdbtk.tcl (create_copyright_window): Increase timeout from
15 seconds to 30 seconds.
Fred Fish [Fri, 27 Sep 1996 17:50:47 +0000 (17:50 +0000)]
* gdb.base/a1-selftest.exp: Tweak tests to account for new
format for printing version.
* gdb.base/default.exp: Ditto.
* gdb.base/interrupt.exp: Fix problem with cascade of
errors if child process dies while calling a function.
Michael Meissner [Fri, 27 Sep 1996 17:39:01 +0000 (17:39 +0000)]
fix typo
Michael Meissner [Fri, 27 Sep 1996 17:35:59 +0000 (17:35 +0000)]
Set the sizes of the basic types that do not match the defaults
Mark Alexander [Fri, 27 Sep 1996 06:13:24 +0000 (06:13 +0000)]
* configure.in, config/i386/tm-linux.h: Fix configure
problem on older Linux systems that prevented core files
from being recognized.
Stan Shebs [Thu, 26 Sep 1996 21:09:59 +0000 (21:09 +0000)]
always keep pregenerated emulation file
Stan Shebs [Thu, 26 Sep 1996 21:09:23 +0000 (21:09 +0000)]
* mpw-make.sed: Add symbolic doublequoting to ldmain compile edit.
* mpw-config.in: Add mips-*-* case as mips-elf, and use more
wildcards in matching.
* mpw-emipself.c: New file, pregenerated mips elf emulation.
Ian Lance Taylor [Thu, 26 Sep 1996 20:04:56 +0000 (20:04 +0000)]
* expr.c (expr): Change >>= to >> (fix typo). (From meissner).
Jackie Smith Cashion [Thu, 26 Sep 1996 16:42:57 +0000 (16:42 +0000)]
Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (SignalException): Check for explicit terminating
breakpoint value.
* gencode.c: Pass instruction value through SignalException()
calls for Trap, Breakpoint and Syscall.
Jackie Smith Cashion [Thu, 26 Sep 1996 10:39:34 +0000 (10:39 +0000)]
Thu Sep 26 11:35:17 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
only used on those hosts that provide it.
* configure.in: Add sqrt() to list of functions to be checked for.
* config.in: Re-generated.
* configure: Re-generated.
Stan Shebs [Thu, 26 Sep 1996 01:40:40 +0000 (01:40 +0000)]
always keep dbug-rom.c
Stan Shebs [Thu, 26 Sep 1996 01:38:52 +0000 (01:38 +0000)]
* dbug-rom.c: New file, support for Motorola's dBUG monitor.
* config/m68k/monitor.mt (TDEPFILES): Add it.
* NEWS: Mention it.
Michael Meissner [Wed, 25 Sep 1996 20:33:21 +0000 (20:33 +0000)]
Fix tracing for st2w
Stan Shebs [Wed, 25 Sep 1996 02:09:20 +0000 (02:09 +0000)]
* configure.in (noconfigdirs): Don't configure any C++ dirs
if targeting D10V.
Ian Lance Taylor [Tue, 24 Sep 1996 23:06:05 +0000 (23:06 +0000)]
* read.c (float_cons): Call md_flush_pending_output if it is
defined.
PR 10716.
Martin Hunt [Tue, 24 Sep 1996 19:24:38 +0000 (19:24 +0000)]
Tue Sep 24 12:22:18 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* tc-d10v.c (md_operand): Created. Allows operands to
start with '#'.
* tc-d10v.h (md_operand): Undefined.
Martin Hunt [Mon, 23 Sep 1996 23:20:05 +0000 (23:20 +0000)]
Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
Now single-steps correctly.
Martin Hunt [Mon, 23 Sep 1996 23:18:50 +0000 (23:18 +0000)]
Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
Now single-steps correctly.
* d10v-tdep.c (d10v_pop_frame): Fixed.
Ian Lance Taylor [Mon, 23 Sep 1996 16:32:24 +0000 (16:32 +0000)]
* config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
(md_assemble): A fixup width of '3' means a 1 byte reloc.
David Edelsohn [Mon, 23 Sep 1996 16:24:46 +0000 (16:24 +0000)]
* reloc.c: Rename m32r relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf32-m32r.c: Update.
David Edelsohn [Mon, 23 Sep 1996 16:18:01 +0000 (16:18 +0000)]
m32r.h: new file
Stan Shebs [Fri, 20 Sep 1996 23:20:58 +0000 (23:20 +0000)]
* config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
be consistent with GCC.
(FPUL_REGNUM, etc): Renumber to match list changes.
(ADDR_BITS_REMOVE): Delete.
* sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
Rearrange to match REGISTER_NAMES.
* sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
PR 9457
Martin Hunt [Fri, 20 Sep 1996 22:39:45 +0000 (22:39 +0000)]
Fri Sep 20 15:36:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* interp.c (sim_create_inferior): Reinitialize State every time
sim_create_inferior() is called.
Ian Lance Taylor [Fri, 20 Sep 1996 19:49:49 +0000 (19:49 +0000)]
* gencode.c (process_instructions): Call build_endian_shift when
expanding STORE RIGHT, to fix swr.
* support.h (SIGNEXTEND): If the sign bit is not set, explicitly
clear the high bits.
* interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
Fix float to int conversions to produce signed values.
Ian Lance Taylor [Fri, 20 Sep 1996 16:33:44 +0000 (16:33 +0000)]
* aoutx.h (aout_link_input_section_ext): When doing a relocateable
link, adjust the symbol index of a base relative reloc. Don't
change the addend of a PC relative reloc if pcrel_offset is set.
* sunos.c (bfd_sunos_size_dynamic_sections): Don't do anything for
a relocateable link.
PR 10692.
Ian Lance Taylor [Fri, 20 Sep 1996 15:44:49 +0000 (15:44 +0000)]
* reloc.c (bfd_perform_relocation): Apply the relocation even if
it is zero, in case src_mask matters.
(bfd_install_relocation): Likewise.
PR 10685.
Michael Meissner [Fri, 20 Sep 1996 13:11:37 +0000 (13:11 +0000)]
Lose doc directory until we DOS-ize it; Add doc/.Sanitize
Michael Meissner [Fri, 20 Sep 1996 12:46:09 +0000 (12:46 +0000)]
Add documentation files
Michael Meissner [Fri, 20 Sep 1996 12:36:54 +0000 (12:36 +0000)]
PSIM 1996/9/19 update
Ian Lance Taylor [Fri, 20 Sep 1996 03:07:43 +0000 (03:07 +0000)]
Fix multiplication, ldxc1, and floating point conversion. See ChangeLog.
Michael Meissner [Fri, 20 Sep 1996 01:42:15 +0000 (01:42 +0000)]
Make sure cmp{,eq,u}i use correct casts
Martin Hunt [Thu, 19 Sep 1996 23:21:56 +0000 (23:21 +0000)]
Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-tdep.c: Stack chain should work now.
Ian Lance Taylor [Thu, 19 Sep 1996 22:52:26 +0000 (22:52 +0000)]
* interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
It's OK to have a mult follow a mult. What's not OK is to have a
mult follow an mfhi.
Ian Lance Taylor [Thu, 19 Sep 1996 21:55:10 +0000 (21:55 +0000)]
* gencode.c (process_instructions): Correct shift count for 32
bit shift instructions. Correct sign extension for arithmetic
shifts to not shift the number of bits in the type.
Ian Lance Taylor [Thu, 19 Sep 1996 19:35:09 +0000 (19:35 +0000)]
* gencode.c (process_instructions): Correct handling of nor
instruction.
Michael Meissner [Thu, 19 Sep 1996 17:23:21 +0000 (17:23 +0000)]
Fix tracing info
Ian Lance Taylor [Thu, 19 Sep 1996 16:25:11 +0000 (16:25 +0000)]
* config/obj-coff.c (fixup_segment): Don't adjust PC relative
reloc for the i960 for a reloc in the same section. This undoes
one of the two changes made Aug 19.
PR 10672.
Ian Lance Taylor [Thu, 19 Sep 1996 15:08:58 +0000 (15:08 +0000)]
* xcofflink.c (xcoff_link_add_symbols): Always initialize
keep_syms.
(_bfd_xcoff_bfd_final_link): Don't set target_index
to an uninitialized value.
Michael Meissner [Thu, 19 Sep 1996 15:06:37 +0000 (15:06 +0000)]
Make sure there is a trailing space after the instruction
Michael Meissner [Thu, 19 Sep 1996 15:02:27 +0000 (15:02 +0000)]
Provide macros that can be overriden for the width of the PC & line number fields
Michael Meissner [Thu, 19 Sep 1996 14:31:01 +0000 (14:31 +0000)]
Add dependencies on lib{bfd,iberity}.a
Ian Lance Taylor [Wed, 18 Sep 1996 16:15:10 +0000 (16:15 +0000)]
* gas/all/cofftag.s: Use .p2align rather than .align.
Ian Lance Taylor [Wed, 18 Sep 1996 16:14:29 +0000 (16:14 +0000)]
* config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
symbols to the position of the debugging information.
PR 10668.
Michael Meissner [Wed, 18 Sep 1996 13:56:57 +0000 (13:56 +0000)]
Rename sim_bfd -> exec_bfd for gdb compatibility
Michael Meissner [Wed, 18 Sep 1996 13:23:31 +0000 (13:23 +0000)]
Make exit/stop return correct exit value; Add line number tracing.
Martin Hunt [Wed, 18 Sep 1996 01:50:06 +0000 (01:50 +0000)]
Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* tm-d10v.h: Snapshot.
Martin Hunt [Wed, 18 Sep 1996 01:49:50 +0000 (01:49 +0000)]
Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.
Ian Lance Taylor [Tue, 17 Sep 1996 20:10:59 +0000 (20:10 +0000)]
* coff-sh.c (sh_relocate_section): Check for an illegal symbol
index.
Ian Lance Taylor [Tue, 17 Sep 1996 18:20:06 +0000 (18:20 +0000)]
* coffcode.h (coff_slurp_line_table): Warn about illegal symbol
indices, rather than crashing.
(coff_slurp_reloc_table): Likewise. Check whether the howto field
is NULL.
Ian Lance Taylor [Tue, 17 Sep 1996 16:23:23 +0000 (16:23 +0000)]
* configure.in: Add cases for MIPS 5000 like MIPS 4300.
* configure: Rebuild.
Ian Lance Taylor [Tue, 17 Sep 1996 16:19:44 +0000 (16:19 +0000)]
* configure.tgt: Add cases for MIPS 5000 like MIPS 4300.
Ian Lance Taylor [Tue, 17 Sep 1996 16:07:41 +0000 (16:07 +0000)]
* mips-opc.c: Add a case for "div" and "divu" with two registers
and a destination of $0.
PR 10654.
Dawn Perchik [Tue, 17 Sep 1996 10:16:30 +0000 (10:16 +0000)]
* ser-e7kpc.c: Added wingdb support for target e7000pc.
Jackie Smith Cashion [Tue, 17 Sep 1996 10:10:35 +0000 (10:10 +0000)]
Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk>
* run.c (main): Explicitly cast malloc() parameter.
This is needed because for certain builds the size field being given
to malloc() is actually 64bits long, and without a cast or malloc
prototype the resulting value used by malloc() depended on the host
endianness, and how long long paramaters are passed into functions.
Jackie Smith Cashion [Tue, 17 Sep 1996 10:03:02 +0000 (10:03 +0000)]
Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>
* remote-mips.c (pmon_wait): CAIRO PMON does not require forced
re-entry back into debug mode.
Ian Lance Taylor [Mon, 16 Sep 1996 22:31:16 +0000 (22:31 +0000)]
* coff-arm.c (aoutarm_std_reloc_howto): Change dst_mask for ARM26D
reloc to 0.
(coff_arm_adjust_symndx): New static function.
(coff_adjust_symndx): Define.
Fix ld -r.
Ian Lance Taylor [Mon, 16 Sep 1996 22:12:46 +0000 (22:12 +0000)]
* scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix
syntax error on __end__ line.
Ian Lance Taylor [Mon, 16 Sep 1996 21:56:33 +0000 (21:56 +0000)]
* scripttempl/armcoff.sc: For -N or -n, don't align .data. From
Chris Hadley <Christopher.Hadley@cl.cam.ac.uk>
Ian Lance Taylor [Mon, 16 Sep 1996 21:45:01 +0000 (21:45 +0000)]
* ieee.c (struct ieee_write_type): Add reflocalp field.
(ieee_pointer_type): Set reflocalp after pushing type.
(ieee_function_type): If reflocalp is set, make this type local.
(ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
(ieee_const_type, ieee_volatile_type): Likewise.
(ieee_struct_field, ieee_class_baseclass): Likewise.
PR 10638.
Ian Lance Taylor [Mon, 16 Sep 1996 21:02:11 +0000 (21:02 +0000)]
* configure.in: Use a single line for host_tools and native_only.
Ian Lance Taylor [Mon, 16 Sep 1996 19:33:04 +0000 (19:33 +0000)]
* ieee.c (struct ieee_info): Add global_types field.
(parse_ieee_bb): When starting a BB1, initialize the types field
to the global_types field.
(parse_ieee_be): When ending a BB2, copy the types field to the
global_types field.
Ian Lance Taylor [Mon, 16 Sep 1996 17:05:12 +0000 (17:05 +0000)]
* srec.c (srec_scan): Accept multiple symbols on a single line.
From Pascal Martin <pmartin@alsys.com>.
Ian Lance Taylor [Mon, 16 Sep 1996 16:40:13 +0000 (16:40 +0000)]
* README: New file.
Ian Lance Taylor [Mon, 16 Sep 1996 15:42:47 +0000 (15:42 +0000)]
* expr.c (expr): Always use unsigned right shifts for >>.
PR 10630.
Jackie Smith Cashion [Mon, 16 Sep 1996 13:37:02 +0000 (13:37 +0000)]
Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>
* remote-mips.c (mips_load): Ensure that the PC is explicitly
loaded after a load to a CAIRO PMON system.
Jackie Smith Cashion [Mon, 16 Sep 1996 10:47:20 +0000 (10:47 +0000)]
Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (sim_monitor): Improved monitor printf
simulation. Tidied up simulator warnings, and added "--log" option
for directing warning message output.
* gencode.c: Use sim_warning() rather than WARNING macro.
Jeff Law [Mon, 16 Sep 1996 04:09:17 +0000 (04:09 +0000)]
* emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS.
Something Mark noticed.
Mark Alexander [Sun, 15 Sep 1996 17:41:13 +0000 (17:41 +0000)]
* emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put
stack at top of simulator memory.
Michael Meissner [Sun, 15 Sep 1996 03:46:52 +0000 (03:46 +0000)]
Fix brf0{t,f}.s <label> -> instruction not to execute instruction if branch succeeds
Ian Lance Taylor [Sat, 14 Sep 1996 04:05:41 +0000 (04:05 +0000)]
* Makefile.in (CC_FOR_BUILD): New variable.
(AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
(RANLIB, CC): Likewise.
(end): Use $(CC_FOR_BUILD), not $(CC).
* configure.in: Set CC_FOR_BUILD.
* configure: Rebuild.