aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-12-14* Makefile.in (SIM_OBJS): Add dsp.o.Chao-ying Fu8-86/+2044
(dsp.o): New dependency. (IGEN_INCLUDE): Add dsp.igen. * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*, mipsisa64*-*-*): Add dsp to sim_igen_machine. * configure: Regenerate. * mips.igen: Add dsp model and include dsp.igen. (MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2, because these instructions are extended in DSP ASE. * sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of adding 6 DSP accumulator registers and 1 DSP control register. (AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX, AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT, DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK, DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK, DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK, DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK, DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6, DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK, DSPCR_CCOND_SMASK): New define. (DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators. * dsp.c, dsp.igen: New files for MIPS DSP ASE.
2005-12-14daily updateAlan Modra1-1/+1
2005-12-142005-12-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini5-1980/+2353
* configure.in: Flip the top-level bootstrap switch. * configure: Regenerate. Merge from gcc: 2005-12-14 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.tpl: Throughout the file, use : $(MAKE) along with $(stage) and $(unstage). (EXTRA_TARGET_FLAGS): Correct double-quoting. (all): Remove stray semicolon. (local-distclean): Don't handle multilib.tmp and multilib.out. (install.all): Set $s for consistency. (configure-[+prefix+][+module+]): Instead of [+deps+], handle check_multilibs setting. Always make the install directory. (configure-stage[+id+]-[+prefix+][+module+]): Likewise. Correct @if/@endif. (all-stage[+id+]-[+prefix+][+module+]): Correct @if/@endif. ($(TARGET_SUBDIR)/[+module+]/multilib.out): Remove. (stage[+id+]-start, stage[+id+]-end): Stage $(TARGET_SUBDIR). (multilib.out): Remove. * Makefile.in: Regenerated.
2005-12-14 * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections intoJakub Jelinek2-3/+9
.data.rel.ro output section. Fix a pasto for -z nocombreloc .rela.data.rel.ro section content.
2005-12-14gas/Jan Beulich6-37/+102
2005-12-14 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (add_prefix): More fine-grained handling of REX prefixes. Or new prefix value into i.prefix instead of assigning. gas/testsuite/ 2005-12-14 Jan Beulich <jbeulich@novell.com> * gas/i386/rex.[sd]: New. * gas/i386/i386.exp: Run new test.
2005-12-14* m32c.cpu (jsri): Fix order so register names aren't treated asDJ Delorie6-254/+271
symbols. (indexb, indexbd, indexbs, indexl, indexld, indexls, indexw, indexwd, indexws): Fix encodings. * m32c-desc.c: Regenerate. * m32c-opc.c: Regenerate. * m32c-opc.h: Regenerate.
2005-12-14* config/tc-m32c.c (m32c_md_end): Only pad code sections.DJ Delorie2-4/+12
2005-12-14*** empty log message ***gdbadmin1-1/+1
2005-12-13daily updateAlan Modra1-1/+1
2005-12-132005-12-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+28
PR ld/2008 * elf.c (_bfd_elf_setup_sections): Return FALSE if elf_linked_to_section will be set to NULL. * format.c (bfd_check_format_matches): Don't check the default target twice.
2005-12-13* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): DetectMark Kettenis2-0/+19
export stub for signal trampoline as a signal trampoline too.
2005-12-13* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Don'tMark Kettenis2-3/+5
set pcoqh to rp.
2005-12-13 * h8300-tdep.c (h8300_frame_prev_register): Change valuep type toCorinna Vinschen2-6/+17
gdb_byte *. (h8300_push_dummy_call): Change `padded' to gdb_byte. (h8300_return_value): Change buffer types to gdb_byte. (h8300h_return_value): Ditto. (h8300_pseudo_register_read): Ditto. (h8300_pseudo_register_write): Ditto.
2005-12-13 * v850-tdep.c (v850_frame_prev_register): Change valuep type toCorinna Vinschen2-1/+6
gdb_byte *.
2005-12-13 * elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls inAlan Modra2-2/+9
shared libs to resolve locally.
2005-12-13*** empty log message ***gdbadmin1-1/+1
2005-12-12daily updateAlan Modra1-1/+1
2005-12-122005-12-12 Paul Brook <paul@codesourcery.com>Paul Brook18-55/+377
bfd/ * bfd-in2.h: Regenerate. * elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP. (check_use_blx): New function. (bfd_elf32_arm_process_before_allocation): Don't allocate glue if using BLX. (elf32_arm_final_link_relocate): Perform bl<->blx conversion for R_ARM_CALL and R_ARM_THM. (elf32_arm_get_eabi_attr_int): New function. (elf32_arm_size_dynamic_sections): Call check_use_blx. * libbfd.h: Regenerate. * reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP. gas/ * config/tc-arm.c (do_branch): Generate EABI branch relocations. (do_bl): New function. (do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation. (do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23. (insns): Use do_bl. (md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP. (md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and BFD_RELOC_ARM_PCREL_BLX cases. Handle BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP. (tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP. gas/testsuite/ * gas/arm/pic.d: Allow R_ARM_CALL relocations. include/elf/ * arm.h (elf32_arm_get_eabi_attr_int): Add prototype. ld/testsuite/ * ld-arm/arm-call.d: New test. * ld-arm/arm-call1.s: New file. * ld-arm/arm-call1.s: New file. * ld-arm/arm-elf.exp: Add arm-call and mixed-app-v5. * ld-arm/arm.ld: Add .glue_7 and .ARM.attribues. * ld-arm/mixed-app-v5.d: New file. * ld-arm/mixed-app.r: Tweak expected output.
2005-12-12 Rename ms1 to mt, part 1Nathan Sidwell40-66/+145
* config.sub: Replace ms1 arch with mt. Allow ms1 as alias. * configure.in: Replace ms1 arch with mt. * configure: Rebuilt. * bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt. (cpu_mt.lo, elf32-mt.lo): Update target and dependency names. * bfd/Makefile.in: Rebuilt. * bfd/config.bfd: Replace ms1 arch with mt. * bfd/configure.in: Replace ms1 files with mt files. * bfd/configure: Rebuilt. * bfd/elf32-mt.c: Renamed from elf32-ms1.c. Update include files. * bfd/cpu-mt.c: Renamed from cpu-ms1.c. * cpu/mt.cpu: Rename from ms1.cpu. * cpu/mt.opc: Rename from ms1.opc. * binutils/Makefile.am: Replace ms1 files with mt files. * binutils/Makefile.in: Rebuilt. * binutils/readelf.c (elf/mt.h): Adjust #include. * gas/configure.in: Replace ms1 arch with mt arch. * gas/configure: Rebuilt. * gas/configure.tgt: Replace ms1 arch with mt arch. * gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files. * gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files. * gas/doc/Makefile.in: Rebuilt. * gas/testsuite/gas/mt: Renamed from ms1 dir. Update file names as needed. * gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch. * gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch. * gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch. * gdb/configure.tgt: Replace ms1 arch with mt arch. * gdb/config/mt: Renamed from ms1 dir. Update file names as needed. * gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file. * include/elf/mt.h: Renamed from ms1.h * ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. (eelf32mt.c): Update target name and dependencies. * ld/Makefile.in: Rebuilt. * ld/configure.tgt: Replace ms1 arch with mt arch. * ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update comment. * libgloss/configure.in: Replace ms1 arch with mt arch. * libgloss/configure: Rebuilt. * libgloss/mt: Renamed from ms1 dir. * newlib/configure.host: Replace ms1 arch with mt arch. * newlib/libc/machine/mt: Renamed from ms1 dir. * opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1 with mt. * opcodes/Makefile.in: Rebuilt. * opcodes/configure.in: Replace ms1 files with mt files. * opcodes/configure: Rebuilt. * sid/component/cgen-cpu/mt: Renamed from ms1 dir. Update file names as appropriate. * sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt files. * sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
2005-12-12Rename ms1 files to mt files (part 1 -- renames only)Nathan Sidwell40-0/+0
2005-12-12 * elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.Alan Modra2-0/+7
2005-12-12*** empty log message ***gdbadmin1-1/+1
2005-12-11*** empty log message ***Randolph Chung1-1/+1
2005-12-11daily updateAlan Modra1-1/+1
2005-12-11merge from gccDJ Delorie6-7/+76
2005-12-11 * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.Hans-Peter Nilsson10-9/+21
* scripttempl/elf.sc: Ditto. * scripttempl/elf32sh-symbian.sc: Ditto. * scripttempl/elf_chaos.sc: Ditto. * scripttempl/elfd10v.sc: Ditto. * scripttempl/elfd30v.sc: Ditto. * scripttempl/elfxtensa.sc: Ditto. * scripttempl/iq2000.sc: Ditto. * scripttempl/xstormy16.sc: Ditto.
2005-12-11*** empty log message ***gdbadmin1-1/+1
2005-12-10daily updateAlan Modra1-1/+1
2005-12-10 * elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executableAlan Modra2-1/+6
to test for linking shared libs, not info->shared.
2005-12-10*** empty log message ***gdbadmin1-1/+1
2005-12-09daily updateAlan Modra1-1/+1
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung2-0/+29
PR corefiles/2026 * hppa-hpux-tdep.c (hppa_hpux_core_osabi_sniffer): Check for HPUX ELF core files. (_initialize_hppa_hpux_tdep): Install sniffer for ELF core files. * config/pa/hpux.mh: Compile corelow.o.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung2-2/+70
* hppa-tdep.c (hppa64_convert_code_addr_to_fptr): New function. (hppa64_push_dummy_call): If passing a function pointer, ensure it is a function descriptor address instead of the function entry point.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung2-0/+23
* hppa-tdep.c (hppa64_dwarf_reg_to_regnum): New funtion. (hppa_gdbarch_init): Set dwarf_reg_to_regnum and dwarf2_reg_to_regnum methods.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung3-0/+56
* gdb.asm/asm-source.exp (hppa64-*-hpux*): New. * gdb.asm/pa64.inc: New file.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung4-37/+47
* gdb.asm/common.inc: Indent commands. * gdb.asm/asmsrc1.s: Likewise. * gdb.asm/asmsrc2.s: Likewise.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung4-12/+101
* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets. (get_addr_of_sym): Remove duplicate print. (gen_core): xfail hppa*-*-hpux*, update expected output. * gdb.arch/pa-nullify.s: Reformat to also work on HPUX. * gdb.arch/pa64-nullify.s: New file.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+5
* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
2005-12-09*** empty log message ***gdbadmin1-1/+1
2005-12-08daily updateAlan Modra1-1/+1
2005-12-08 * NEWS (Changes in GDB 6.4): Delete entries indicating thatKevin Buettner2-3/+8
the following configurations have been removed: h8300*-*-*, mn10300-*-*, and v850-*-*. These configurations had been removed within the 6.4 development cycle, but were later restored within the same cycle.
2005-12-08opcodes/Jan Beulich2-5/+13
2005-12-08 Jan Beulich <jbeulich@novell.com> * i386-dis.c (MAXLEN): Reduce to architectural limit. (fetch_data): Check for sufficient buffer size.
2005-12-08bfd/Alan Modra5-3/+124
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms. (ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab. (add_stub_sym): New function. (allocate_dynrelocs): Call add_stub_sym. (ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve when emit_stub_syms. * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. ld/ * emultempl/ppc32elf.em (emit_stub_syms): New var. (ppc_after_open): Pass it to ppc_elf_select_plt_layout. (PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define. (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms. (PARSE_AND_LIST_OPTIONS): Handle it.
2005-12-08 * pe-dll.c (build_filler_bfd): Conform error message to standard.Alan Modra2-5/+12
(pe_dll_generate_implib): Use %E in error message. (add_bfd_to_link): Likewise. (pe_implied_import_dll): Likewise.
2005-12-08opcodes/Jan Beulich2-1/+5
2005-12-08 Jan Beulich <jbeulich@novell.com> * i386-dis.c (OP_ST): Remove prefix in Intel mode.
2005-12-08 * reloc.c (enum complain_overflow): Correct comments.Alan Modra4-81/+61
(bfd_check_overflow): Combine complain_overflow_bitfield and complain_overflow_signed code. (_bfd_relocate_contents): Likewise. (bfd_howto_32): Use complain_overflow_dont. * elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change. * bfd-in2.h: Regenerate.
2005-12-08 Add ms2 support.Nathan Sidwell3-13/+32
* ms1-tdep.c (ms1_register_type): Check for ms2. (ms1_breakpoint_from_pc): ms2 has a different break instruction. (ms1_pseudo_register_read, ms1_pseudo_register_write, ms1_registers_info): Add ms2. * NEWS (Changes since GDB 6.4): Add ms2
2005-12-08 * i386-dis.c (dofloat): Handle %rip-relative floating point addressing.Alan Modra2-3/+11
2005-12-082005-12-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+6
* elf.c (assign_section_numbers): Remove extra code in the last change.
2005-12-082005-12-08 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+6
* somread.c (som_symfile_offsets): Iterate through number of sections in addrs instead of objfile.