binutils-gdb.git
17 years ago * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
Alan Modra [Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)]
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.

17 years ago * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
Joel Brobecker [Tue, 27 Feb 2007 06:43:27 +0000 (06:43 +0000)]
    * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.

17 years ago*** empty log message ***
gdbadmin [Tue, 27 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 26 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agomerge from gcc
DJ Delorie [Mon, 26 Feb 2007 22:14:03 +0000 (22:14 +0000)]
merge from gcc

17 years ago * arch-utils.c (selected_byte_order): New.
Daniel Jacobowitz [Mon, 26 Feb 2007 20:13:18 +0000 (20:13 +0000)]
* arch-utils.c (selected_byte_order): New.
* arch-utils.h (selected_byte_order): New prototype.
* remote-sim.c (gdbsim_open): Use selected_byte_order.

17 years ago * gdb.texinfo (Monitor commands for gdbserver): New subsection.
Daniel Jacobowitz [Mon, 26 Feb 2007 20:10:18 +0000 (20:10 +0000)]
* gdb.texinfo (Monitor commands for gdbserver): New subsection.

* remote-utils.c (monitor_output): New function.
* server.c (debug_threads): Define here.
(monitor_show_help): New function.
(handle_query): Handle qRcmd.
(main): Do not handle 'd' packet.
* server.h (debug_threads, remote_debug, monitor_output): Declare.
* linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
of debug_threads.

* gdb.server/server-mon.exp: New test.

17 years ago * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
Daniel Jacobowitz [Mon, 26 Feb 2007 20:04:38 +0000 (20:04 +0000)]
* symfile.c (place_section): Check SEC_ALLOC.  Do not check VMA.
(default_symfile_offsets): Check VMA here.  Update section VMAs.

* gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.

17 years ago * remote.c (init_remote_state): Add special handling for placeholder
Daniel Jacobowitz [Mon, 26 Feb 2007 19:23:17 +0000 (19:23 +0000)]
* remote.c (init_remote_state): Add special handling for placeholder
registers.

17 years ago * Makefile.in (XMLFILES): Include $(TDEP_XML).
Daniel Jacobowitz [Mon, 26 Feb 2007 19:20:21 +0000 (19:20 +0000)]
* Makefile.in (XMLFILES): Include $(TDEP_XML).
(filenames_h): New variable.
(clean): Clean up xml-builtin.c and stamp-xml.
(arm-linux-nat.o): Update.
* config/arm/linux.mh (TDEP_XML): Define.
* arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
(arm_linux_has_wmmx_registers): New.
(GET_THREAD_ID): Fix typo.
(IWMMXT_REGS_SIZE): Define.
(fetch_wmmx_regs, store_wmmx_regs): New.
(arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
(arm_linux_store_inferior_registers): Use store_wmmx_regs.
(super_xfer_partial, arm_linux_xfer_partial): New.
(_initialize_arm_linux_nat): Use them.
* xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
(xml_builtin_xfer_partial): New function.
* xml-support.h (xml_builtin_xfer_partial): New prototype.
* NEWS: Update mention of iWMMXt support.

17 years ago * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
Daniel Jacobowitz [Mon, 26 Feb 2007 19:18:53 +0000 (19:18 +0000)]
* arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
if there are no FPA registers.
(arm_dwarf_reg_to_regnum): New function.
(arm_register_type, arm_register_name): Return minimal values for
unsupported registers.
(arm_register_sim_regno): Handle iWMMXt registers.
(arm_gdbarch_init): Record missing FPA registers if indicated by
a target description.  Recognize iWMMXt registers.  Only register
"info float" for FPA.  Use ARM_NUM_REGS.  Register
arm_dwarf_reg_to_regnum.
* arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
constants.
(struct gdbarch_tdep): Add have_fpa_registers.
* features/xscale-iwmmxt.xml: Update capitalization.
* regformats/arm-with-iwmmxt.dat: Regenerated.

* src/gdb/doc/gdb.texinfo (Standard Target Features): Mention
case insensitivity.
(ARM Features): Describe org.gnu.gdb.xscale.iwmmxt.

* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
register capitalization.

17 years ago * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
Alan Modra [Mon, 26 Feb 2007 08:58:16 +0000 (08:58 +0000)]
* emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
to _binary_spu_ovl_o_start.
(_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
(spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
* emultempl/spu_inc.s: Rename symbols.
* emultempl/spu_none.s: New file.
* emultempl/spu_ovl.S: Update copyright.
* Makefile.am (spu_inc.o): Try building with ld -r first, then
gas incbin, then build without overlay manager.
* Makefile.in: Regenerate.

17 years ago*** empty log message ***
gdbadmin [Mon, 26 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 25 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.in (EXEEXT): New.
Pedro Alves [Sun, 25 Feb 2007 19:44:29 +0000 (19:44 +0000)]
* Makefile.in (EXEEXT): New.
(clean): Use $(EXEEXT).

17 years ago * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
Mark Shinwell [Sun, 25 Feb 2007 19:29:25 +0000 (19:29 +0000)]
* config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.

17 years ago * target.h (target_ops): Rename send_signal to request_interrupt,
Pedro Alves [Sun, 25 Feb 2007 17:59:43 +0000 (17:59 +0000)]
* target.h (target_ops): Rename send_signal to request_interrupt,
and remove enum target_signal parameter.
* linux-low.c (linux_request_interrupt): Rename from
linux_send_signal, and always send SIGINT.
* spu-low.c (spu_request_interrupt): Rename from spu_send_signal,
and always send SIGINT.
* remote-utils.c (putpkt_binary): Call request_interrupt, instead
of send_signal.
(input_interrupt): Likewise.

17 years ago * server.c (get_features_xml): Check if target implemented
Pedro Alves [Sun, 25 Feb 2007 17:40:10 +0000 (17:40 +0000)]
* server.c (get_features_xml): Check if target implemented
arch_string.
* win32-i386-low.c (win32_arch_string): New.
(win32_target_ops): Add win32_arch_string as arch_string member.

17 years ago*** empty log message ***
gdbadmin [Sun, 25 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 24 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * NEWS (New targets): Add entry for the Toshiba Media Processor.
Kevin Buettner [Sat, 24 Feb 2007 17:37:28 +0000 (17:37 +0000)]
* NEWS (New targets): Add entry for the Toshiba Media Processor.

17 years ago*** empty log message ***
gdbadmin [Sat, 24 Feb 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * MAINTAINERS (mep): New target.
Kevin Buettner [Fri, 23 Feb 2007 23:02:51 +0000 (23:02 +0000)]
* MAINTAINERS (mep): New target.

17 years agodaily update
Alan Modra [Fri, 23 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agoAdd support for new target, Toshiba Media Processor (MeP).
Kevin Buettner [Fri, 23 Feb 2007 22:50:41 +0000 (22:50 +0000)]
Add support for new target, Toshiba Media Processor (MeP).

17 years agobfd/
Carlos O'Donell [Fri, 23 Feb 2007 17:38:07 +0000 (17:38 +0000)]
bfd/

2007-02-23  Carlos O'Donell  <carlos@codesourcery.com>

* dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit
DWARF even with 64-bit addresses.
(_bfd_dwarf2_find_nearest_line): Likewise.

17 years agoPR binutils/3535
Nick Clifton [Fri, 23 Feb 2007 11:47:47 +0000 (11:47 +0000)]
PR binutils/3535
* elf.c (copy_private_bfd_data): Always rewrite the program headers when a
  Solaris interpreter segment is involved.

17 years ago*** empty log message ***
gdbadmin [Fri, 23 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 22 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
Alan Modra [Thu, 22 Feb 2007 22:34:16 +0000 (22:34 +0000)]
* config/tc-mn10300.c (md_convert_frag): Correct fixup size.
(md_assemble): Likewise.

17 years ago* s390-opc.c (INSTR_SS_L2RDRD): New.
DJ Delorie [Thu, 22 Feb 2007 21:01:59 +0000 (21:01 +0000)]
* s390-opc.c (INSTR_SS_L2RDRD): New.
(MASK_SS_L2RDRD): New.
* s390-opc.txt (pka): Use it.

* gas/s390/esa-g5.s: Adjust for corrected PKA syntax.
* gas/s390/esa-g5.d: Adjust for corrected PKA syntax.

17 years ago * spu-low.c (spu_arch_string): New.
Ulrich Weigand [Thu, 22 Feb 2007 17:41:37 +0000 (17:41 +0000)]
    * spu-low.c (spu_arch_string): New.
        (spu_target_ops): Add spu_arch_string.

17 years ago2007-02-22 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 22 Feb 2007 17:03:59 +0000 (17:03 +0000)]
2007-02-22  Paul Brook  <paul@codesourcery.com>

bfd/
* elflink.c (gc_mark_hook_fn): Remove.
(_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn.
(bfd_elf_gc_sections): Ditto.  Call gc_mark_extra_sections.
* elf-bfd.h (elf_gc_mark_hook_fn): Define.
(elf_backend_data): Add gc_mark_extra_sections.
* elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default
definition.
(elfNN_bed): Add elf_backend_gc_mark_extra_sections.
* elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function.
(elf_backend_gc_mark_extra_sections): Define.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add gc-unwind.h.
* ld-arm/gc-unwind.s: New file.
* ld-arm/gc-unwind.d: New file.

17 years ago * infrun.c (inferior_stop_reason, print_stop_reason): Remove
Ulrich Weigand [Thu, 22 Feb 2007 15:14:12 +0000 (15:14 +0000)]
* infrun.c (inferior_stop_reason, print_stop_reason): Remove
BREAKPOINT_HIT and STOP_UNKNOWN.

17 years ago * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
Ulrich Weigand [Thu, 22 Feb 2007 15:13:26 +0000 (15:13 +0000)]
* valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.

17 years ago * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
Joseph Myers [Thu, 22 Feb 2007 15:05:42 +0000 (15:05 +0000)]
* configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
mips*el-*-linux-*, mips*-*-linux-*): Set
targ_extra_libpath=$targ_extra_emuls.

17 years ago * write.c (size_seg): Always clear SEC_RELOC here.
Alan Modra [Thu, 22 Feb 2007 05:54:51 +0000 (05:54 +0000)]
* write.c (size_seg): Always clear SEC_RELOC here.
(install_reloc): New function, extracted from..
(write_relocs): ..here.  Combine RELOC_EXPANSION_POSSIBLE code
with !RELOC_EXPANSION_POSSIBLE code.  Don't add fr_offset when
testing frag size.  Set SEC_RELOC here.

17 years ago*** empty log message ***
gdbadmin [Thu, 22 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 21 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agoTake into account MEMORY regions when creating a segment map.
Nick Clifton [Wed, 21 Feb 2007 16:43:50 +0000 (16:43 +0000)]
Take into account MEMORY regions when creating a segment map.

17 years ago * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.
Alan Modra [Wed, 21 Feb 2007 02:48:22 +0000 (02:48 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.

17 years ago*** empty log message ***
gdbadmin [Wed, 21 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago PR 4082
Alan Modra [Tue, 20 Feb 2007 23:02:58 +0000 (23:02 +0000)]
PR 4082
* config/tc-avr.h (TC_FX_SIZE_SLACK): Define.

17 years agodaily update
Alan Modra [Tue, 20 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * gdb_expat.h (XMLCALL): Define if not already defined.
Joel Brobecker [Tue, 20 Feb 2007 19:42:14 +0000 (19:42 +0000)]
    * gdb_expat.h (XMLCALL): Define if not already defined.

17 years ago * Makefile.in (symfile.o): Update dependencies.
Andreas Schwab [Tue, 20 Feb 2007 16:05:54 +0000 (16:05 +0000)]
* Makefile.in (symfile.o): Update dependencies.

17 years ago * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
Thiemo Seufer [Tue, 20 Feb 2007 15:03:45 +0000 (15:03 +0000)]
* doc/c-mips.texi: Document 74kc, 74kf, 74kx.

17 years ago * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
Thiemo Seufer [Tue, 20 Feb 2007 14:48:28 +0000 (14:48 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.

17 years ago * dsp.igen: Update copyright notice.
Thiemo Seufer [Tue, 20 Feb 2007 13:53:48 +0000 (13:53 +0000)]
* dsp.igen: Update copyright notice.
* dsp2.igen: Fix copyright notice.

17 years ago [ gas/ChangeLog ]
Thiemo Seufer [Tue, 20 Feb 2007 13:28:56 +0000 (13:28 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
(macro_build): Add case '2'.
(macro): Expand M_BALIGN to nop, packrl.ph or balign.
(validate_mips_insn): Add support for balign instruction.
(mips_ip): Handle DSP R2 instructions. Support balign instruction.
(OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
command line options.
(s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
(md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
* doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
.set dspr2, .set nodspr2.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for
DSP R2.
* gas/mips/mips.exp: Run new test.

[ include/opcode/Changelog ]
* mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction.
(INSN_DSPR2): Add flag for DSP R2 instructions.
(M_BALIGN): New macro.

[ opcodes/ChangeLog ]
* mips-dis.c (mips_arch_choices): Add DSP R2 support.
(print_insn_args): Add support for balign instruction.
* mips-opc.c (D33): New shortcut for DSP R2 instructions.
(mips_builtin_opcodes): Add DSP R2 instructions.

[ sim/mips/ChangeLog ]
* Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
* configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
Add dsp2 to sim_igen_machine.
* configure: Regenerate.
* dsp.igen (do_ph_op): Add MUL support when op = 2.
(do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
(mulq_rs.ph): Use do_ph_mulq.
(MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
* mips.igen: Add dsp2 model and include dsp2.igen.
(MFHI, MFLO, MTHI, MTLO): Extend these instructions for
for *mips32r2, *mips64r2, *dsp.
(MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
for *mips32r2, *mips64r2, *dsp2.
* dsp2.igen: New file for MIPS DSP REV 2 ASE.

[ sim/testsuite/sim/mips/ChangeLog ]
* basic.exp: Run the dsp2 test.
* utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro.
* mips32-dsp2.s: New test.

17 years agogdb/
Daniel Jacobowitz [Tue, 20 Feb 2007 12:45:06 +0000 (12:45 +0000)]
gdb/
* MAINTAINERS: Disable -Werror for cris simulator.  Build
sparc64-solaris2.10 instead of the broken sparc-elf.
* solib-frv.c: Include "solib.h".
* Makefile.in (solib-frv.o): Update.
* mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
* xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
(xtensa_frame_this_id, xtensa_frame_prev_register)
(xtensa_push_dummy_call): Use %p.
sim/v850/
* Makefile.in (interp.o): Uncomment and update.

17 years ago * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove
Thiemo Seufer [Tue, 20 Feb 2007 12:35:19 +0000 (12:35 +0000)]
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove
translation marker from untranslatable strings.

17 years ago * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
Nathan Sidwell [Tue, 20 Feb 2007 09:25:45 +0000 (09:25 +0000)]
* config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
(m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.

17 years ago * cris/traps.c (dump_statistics): Change format for cycle numbers
Hans-Peter Nilsson [Tue, 20 Feb 2007 00:14:11 +0000 (00:14 +0000)]
* cris/traps.c (dump_statistics): Change format for cycle numbers
to %llu and cast parameters to unsigned long long.

17 years ago*** empty log message ***
gdbadmin [Tue, 20 Feb 2007 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
Alan Modra [Mon, 19 Feb 2007 23:51:58 +0000 (23:51 +0000)]
* ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.

17 years agodaily update
Alan Modra [Mon, 19 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2
Thiemo Seufer [Mon, 19 Feb 2007 17:53:29 +0000 (17:53 +0000)]
* mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2
jumps with hazard barrier.

17 years ago * interp.c (sim_monitor): Flush stdout and stderr file descriptors
Thiemo Seufer [Mon, 19 Feb 2007 17:46:53 +0000 (17:46 +0000)]
* interp.c (sim_monitor): Flush stdout and stderr file descriptors
after each call to sim_io_write.

17 years ago2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
Martin Schwidefsky [Mon, 19 Feb 2007 17:46:11 +0000 (17:46 +0000)]
2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>

        * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
(INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
* s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.

2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>

        * gas/s390/esa-g5.d (cfxbr, cfebr, cfdbr): Exchanged floating
point and fixed point operands.
* gas/s390/esa-g5.s: Likewise.
* gas/s390/zarch-z900.d (cfdr, cfer, cfxr, cgdbr, cgebr, cgxbr,
cgdr, cger, cgxr): Likewise.
* gas/s390/zarch-z900.s: Likewise.

17 years ago (ColdReset): Set CP0 Config0 to reflect the address size supported
Thiemo Seufer [Mon, 19 Feb 2007 17:34:18 +0000 (17:34 +0000)]
(ColdReset): Set CP0 Config0 to reflect the address size supported
by this simulator.
(decode_coproc): Recognise additional CP0 Config registers
correctly.

17 years ago * cp1.c (value_fpr): Don't inherit existing FPR_STATE for
Thiemo Seufer [Mon, 19 Feb 2007 17:31:08 +0000 (17:31 +0000)]
* cp1.c (value_fpr): Don't inherit existing FPR_STATE for
uninterpreted formats. If fmt is one of the uninterpreted types
don't update the FPR_STATE. Handle fmt_uninterpreted_32 like
fmt_word, and fmt_uninterpreted_64 like fmt_long.
(store_fpr): When writing an invalid odd register, set the
matching even register to fmt_unknown, not the following register.
* interp.c (sim_open): If STATE_MEM_SIZE isn't set then set it to
the the memory window at offset 0 set by --memory-size command
line option.
(sim_store_register): Handle storing 4 bytes to an 8 byte floating
point register.
(sim_fetch_register): Likewise for reading 4 bytes from an 8 byte
register.
(sim_monitor): When returning the memory size to the MIPS
application, use the value in STATE_MEM_SIZE, not an arbitrary
hardcoded value.
(cop_lw): Don' mess around with FPR_STATE, just pass
fmt_uninterpreted_32 to StoreFPR.
(cop_sw): Similarly.
(cop_ld): Pass fmt_uninterpreted_64 not fmt_uninterpreted.
(cop_sd): Similarly.
* mips.igen (not_word_value): Single version for mips32, mips64
and mips16.

17 years ago2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
Martin Schwidefsky [Mon, 19 Feb 2007 17:29:37 +0000 (17:29 +0000)]
2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
* s390-opc.c (s390_operands): Add RO_28 as optional gpr.
(INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
and sfpc.

17 years ago * configure.ac: Adjust for loop syntax.
Joseph Myers [Mon, 19 Feb 2007 17:24:25 +0000 (17:24 +0000)]
* configure.ac: Adjust for loop syntax.
* configure: Regenerate.

17 years ago * elf-bfd.h (struct elf_backend_data): Add default_execstack.
Alan Modra [Mon, 19 Feb 2007 12:44:18 +0000 (12:44 +0000)]
* elf-bfd.h (struct elf_backend_data): Add default_execstack.
* elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack.
* elfxx-target.h (elf_backend_default_execstack): Define to 1.
(elfNN_bed): Init new field.
* elf64-ppc.c (elf_backend_default_execstack): Define to 0.

17 years ago * interp.c (MEM_SIZE): Increase default memory size from 2 to 8
Thiemo Seufer [Mon, 19 Feb 2007 12:27:02 +0000 (12:27 +0000)]
* interp.c (MEM_SIZE): Increase default memory size from 2 to 8
MBytes.

17 years ago*** empty log message ***
gdbadmin [Mon, 19 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 18 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agoChangeLog:
Alexandre Oliva [Sun, 18 Feb 2007 22:51:35 +0000 (22:51 +0000)]
ChangeLog:
* configure: Rebuilt.
config/ChangeLog:
* acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as
precious.  Prefer it over a cached value.  Use cached value
verbosely.
(NCN_STRICT_CHECK_TARGET_TOOLS): Likewise.  Don't override
environment variable with build-time tools.

17 years ago* configure.ac: Drop multiple occurrences of --enable-languages,
Alexandre Oliva [Sun, 18 Feb 2007 22:46:28 +0000 (22:46 +0000)]
* configure.ac: Drop multiple occurrences of --enable-languages,
and fix its quoting.
* configure: Rebuilt.

17 years ago(Top): Put Appendix A after numbered sections.
Nick Roberts [Sun, 18 Feb 2007 08:04:35 +0000 (08:04 +0000)]
(Top): Put Appendix A after numbered sections.
(Files): Add section name to argument list for pxref.
(Non-debug DLL symbols): Don't use `see' for pxref.
(Embedded Processors): Fix typo.
(GDB/MI Breakpoint Commands): Execution commands generate
*stopped not ^done.

17 years ago*** empty log message ***
Nick Roberts [Sun, 18 Feb 2007 08:03:18 +0000 (08:03 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Sun, 18 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * write.c (TC_FX_SIZE_SLACK): Define.
Alan Modra [Sat, 17 Feb 2007 23:13:49 +0000 (23:13 +0000)]
* write.c (TC_FX_SIZE_SLACK): Define.
(write_relocs): Reinstate check for fixup within frag.
* config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
* config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
* config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
* config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
* config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.

17 years ago * configure.ac (mips*-sde-elf*): Move in front of generic machine
Thiemo Seufer [Sat, 17 Feb 2007 16:36:32 +0000 (16:36 +0000)]
* configure.ac (mips*-sde-elf*): Move in front of generic machine
configuration.
* configure: Regenerate.

17 years agotop level:
Joseph Myers [Sat, 17 Feb 2007 13:33:57 +0000 (13:33 +0000)]
top level:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting.
* configure: Regenerate.

bfd:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-pkgversion): New option.
* configure: Regenerate.
* Makefile.am (bfdver.h): Substitute for @bfd_version_package@.
* Makefile.in: Regenerate.
* version.h (BFD_VERSION_STRING): Define using
@bfd_version_package@.

bfd/doc:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.in: Regenerate.

binutils:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* bucomm.h: Remove include of bin-bugs.h.
* addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
* ar.c (usage): Pass s to list_supported_targets.  Don't print
empty REPORT_BUGS_TO.
* coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
* cxxfilt.c (usage): Print bug url when giving help.
* dlltool.c (usage): Likewise.
* dllwrap.c (usage): Likewise.
* nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage, strip_usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
callers.
* size.c (usage): Don't print empty REPORT_BUGS_TO.
* srconv.c (show_usage): Likewise.
* strings.c (usage): Likewise.
* sysdymp.c (show_usage): Likewise.
* windres.c (usage): Likewise.

gas:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* dep-in.sed: Remove bin-bugs.h.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
(DEP_INCLUDES): Likewise.
($(OBJS)): No longer depend on bin-bugs.h.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* as.c (show_usage): Don't print empty REPORT_BUGS_TO.
* as.h: Remove include of bin-bugs.h.

gprof:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-pkgversion, --with-bugurl): New options.
* configure: Regenerate.
* Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
(INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* gprof.c (usage): Don't print empty REPORT_BUGS_TO.
(main): Include PKGVERSION in version output.
* gprof.h: Remove include of bin-bugs.h.

include:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* bin-bugs.h: Remove.

ld:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* ld.h: Remove include of bin-bugs.h.
* lexsup.c (help): Don't print empty REPORT_BUGS_TO.

17 years agoremove unused var
Alan Modra [Sat, 17 Feb 2007 07:25:49 +0000 (07:25 +0000)]
remove unused var

17 years agoremove unused var
Alan Modra [Sat, 17 Feb 2007 07:22:22 +0000 (07:22 +0000)]
remove unused var

17 years ago * write.c: White space fixes.
Alan Modra [Sat, 17 Feb 2007 07:20:56 +0000 (07:20 +0000)]
* write.c: White space fixes.
(fixup_segment): Move symbol_mri_common_p adjustments..
(write_relocs): ..and symbol_equated_reloc_p adjustments..
(adjust_reloc_syms): ..to here.

17 years ago2007-02-17 Thiemo Seufer <ths@mips.com>
Thiemo Seufer [Sat, 17 Feb 2007 01:26:48 +0000 (01:26 +0000)]
2007-02-17  Thiemo Seufer  <ths@mips.com>

[ sim/mips/ChangeLog ]
* configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
Add mdmx to sim_igen_machine.
(mipsisa64*-*-*): Likewise. Remove dsp.
(mipsisa32*-*-*): Remove dsp.
* configure: Regenerate.

[ sim/testsuite/sim/mips/ChangeLog ]
* basic.exp: Add case for mips*-sde-elf*.
(mdmxmodels): Run mdmx tests only on mdmx capable configurations.

17 years ago * ldcref.c (check_reloc_refs): Compare section for local syms.
Alan Modra [Sat, 17 Feb 2007 00:24:00 +0000 (00:24 +0000)]
* ldcref.c (check_reloc_refs): Compare section for local syms.

17 years ago*** empty log message ***
gdbadmin [Sat, 17 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 16 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
Daniel Jacobowitz [Fri, 16 Feb 2007 21:49:59 +0000 (21:49 +0000)]
* avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
* Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
(ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
(sparc-linux-tdep.o): Update.

17 years ago * remote-utils.c: Remove HAVE_TERMINAL_H check.
Daniel Jacobowitz [Fri, 16 Feb 2007 20:01:14 +0000 (20:01 +0000)]
* remote-utils.c: Remove HAVE_TERMINAL_H check.
* configure.ac: Do not check for terminal.h.
* configure, config.in: Regenerated.

17 years ago * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.
Thiemo Seufer [Fri, 16 Feb 2007 18:13:53 +0000 (18:13 +0000)]
* Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.

17 years agobfd/
Carlos O'Donell [Fri, 16 Feb 2007 17:48:12 +0000 (17:48 +0000)]
bfd/

2007-02-16  Carlos O'Donell  <carlos@codesourcery.com>

* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data):
Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT
and EF_MIPS_UCODE.

17 years agoPR binutils/4045
Nick Clifton [Fri, 16 Feb 2007 10:24:48 +0000 (10:24 +0000)]
PR binutils/4045
* avr-dis.c (comment_start): New variable, contains the prefix to use when
    printing addresses in comments.
  (print_insn_avr): Set comment_start to an empty space if there is no symbol
     table available as the generic address printing code will prefix the
     numeric value of the address with 0x.

17 years ago * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
Alan Modra [Fri, 16 Feb 2007 03:40:17 +0000 (03:40 +0000)]
* subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
xmalloc, memset.  Don't bother assigning NULL to known zero mem.
(subseg_set_rest): Remove unnecessary cast.
* write.c: Include libbfd.h.  Replace PTR with void * throughout.
Remove unnecessary forward declarations and casts.
(set_symtab): Delete extern bfd_alloc.
(fixup_segment): Move.

17 years ago*** empty log message ***
gdbadmin [Fri, 16 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 15 Feb 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago * xtensa-tdep.h (xtensa_reg_mask_t): New.
Maxim Grigoriev [Thu, 15 Feb 2007 19:51:59 +0000 (19:51 +0000)]
* xtensa-tdep.h (xtensa_reg_mask_t): New.
(xtensa_mask_t): Change mask field to be a separate array.
* xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
(xtensa_pseudo_register_write, xtensa_unwind_pc)
(xtensa_unwind_dummy_id, xtensa_push_dummy_call)
(xtensa_breakpoint_from_pc): Remove implicit type casting.
* xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
(mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
(mask14, mask15): Rename to
(xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
(xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
(xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
(xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
(xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
(xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
(xtensa_submask8, xtensa_submask9, xtensa_submask10)
(xtensa_submask11, xtensa_submask12, xtensa_submask13)
(xtensa_submask14, xtensa_submask15): New.
(rmap): Follow strict aliasing rules doing static initialization.

17 years ago * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
Nathan Sidwell [Thu, 15 Feb 2007 18:37:08 +0000 (18:37 +0000)]
* config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
* config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
(mcf5475_ctrl, mcf5485_ctrl): New.
(m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
(m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
(init_table): Add asid, mmubar, adjust rombar0.

17 years ago* armemu.c (handle_v6_insn): Fix typo in sign extension test of the sext and sxtah...
Nick Clifton [Thu, 15 Feb 2007 10:32:06 +0000 (10:32 +0000)]
* armemu.c (handle_v6_insn): Fix typo in sign extension test of the sext and sxtah instructions.

17 years ago * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define,
Alan Modra [Thu, 15 Feb 2007 08:33:53 +0000 (08:33 +0000)]
* libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define,
declare.
(_bfd_norelocs_canonicalize_reloc): Likewise.
* libbfd.h: Regenerate.
* libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function.
(_bfd_norelocs_canonicalize_reloc): Likewise.
* binary.c (binary_bfd_reloc_type_lookup): Don't define.
(binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise.
(binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS.
* ihex.c: Similarly.
* mach-o-target.c: Similarly.
* mach-o.c: Similarly.
* mmo.c: Similarly.
* pef.c: Similarly.
* ppcboot.c: Similarly.
* srec.c: Similarly.
* xsym.c: Similarly.

17 years ago*** empty log message ***
gdbadmin [Thu, 15 Feb 2007 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 14 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agobfd/
H.J. Lu [Wed, 14 Feb 2007 14:15:52 +0000 (14:15 +0000)]
bfd/

2007-02-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3953
* elflink.c (_bfd_elf_add_default_symbol): Check warning symbol
when adding default symbol.

ld/testsuite/

2007-02-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3953
* ld-elf/beginwarn.c: New file.
* ld-elf/warn.out: Likewise.

* ld-elf/shared.exp (build_tests): Add "Build warn libbar.so".
(run_tests): Add "Run warn with versioned libfoo.so".

* lib/ld-lib.exp (default_ld_relocate): Make exec_output global
and remove target first.
(default_ld_link): Likewise.
(default_ld_simple_link): Likewise.
(run_ld_link_exec_tests): Take an optional linker warning and
check it.
(default_ld_link): Check pruned linker output.

17 years ago* binutils-all/readelf.exp (readelf_wi_test): Fix unexpected output failure message.
Nick Clifton [Wed, 14 Feb 2007 10:05:59 +0000 (10:05 +0000)]
* binutils-all/readelf.exp (readelf_wi_test): Fix unexpected output failure message.

17 years ago*** empty log message ***
gdbadmin [Wed, 14 Feb 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***