aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-09-06 * mn10300-tdep.c (mn10300_analyze_prologue): Delete code disabledKevin Buettner2-30/+5
via "#if 0".
2005-09-06 * mn10300-tdep.c (mn10300_analyze_prologue): UseKevin Buettner2-10/+10
safe_frame_unwind_memory() in place of deprecated_read_memory_nobpt().
2005-09-06* gas/mips/mips.exp: Run MT test for mips32r2 only.Chao-ying Fu5-0/+1915
* gas/mips/mips32-mt.[sdl]: New test.
2005-09-06* config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.Chao-ying Fu4-3/+179
(mips_opts): Add -1 to initialize ase_mt. (file_ase_mt): New variable for -mmt. (CPU_HAS_MT): New define. (validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand formats. (mips_ip): Check ase_mt to enable MT instructions. Handle !, $, *, &, +T, +t, g operand formats. For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow odd float registers. (OPTION_MT, OPTION_NO_MT): New define. (OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define. (md_parse_option): Parse OPTION_MT and OPTION_NO_MT. (mips_after_parse_args): Set ase_mt based on CPU. (s_mipsset): Handle ".set mt" and ".set nomt". (mips_elf_final_processing): Remind of adding new flag for MT ASE. (md_show_usage): Show usage of -mmt and -mno-mt. * doc/as.texinfo: Document -mmt and -mno-mt options. * doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt" directives.
2005-09-06* mips-opc.c (MT32): New define.Chao-ying Fu3-5/+127
(mips_builtin_opcodes): Move "bc0f", "bc0fl", "bc0t", "bc0tl" to the bottom to avoid opcode collision with "mftr" and "mttr". Add MT instructions. * mips-dis.c (mips_arch_choices): Enable INSN_MT for mips32r2. (print_insn_args): Add supports for +t, +T, !, $, *, &, g operand formats.
2005-09-06Remove duplicated chunk in previous patch.Paul Brook1-8/+0
2005-09-06* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,Chao-ying Fu2-4/+36
OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New define. Document !, $, *, &, g, +t, +T operand formats for MT instructions. (INSN_ASE_MASK): Update to include INSN_MT. (INSN_MT): New define for MT ASE.
2005-09-062005-09-06 Paul Brook <paul@codesourcery.com>Paul Brook8-1120/+1783
gas/ * config/tc-arm.c (arm_it): Add relax field. (T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp, b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis. (do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst, do_t_mov_cmp): Allow relaxation. (output_relax_insn): New function. (put_thumb32_insn): New function. (output_inst): Use new functions. (md_assemble): Don't throw error on relaxable instructions. (insns): Change "b" entry from TCE(...) to tCE(...). (md_estimate_size_before_relax): Return 2. (md_convert_frag, relax_immediate, relax_adr, relax_addsub, relax_branch, arm_relax_frag): New functions. (arm_force_relocation): Return 0 for Thumb-2 immediate operand relocations. * config/tc-arm.h (md_convert_frag): Remove definition. (md_relax_frag): Define. (arm_relax_frag): Add prototype. gas/testsuite/ * gas/arm/thumb2_relax.d: New test. * gas/arm/thumb2_relax.s: New test. * gas/arm/thumb32.d: Adjust expected results to include relaxation. * gas/arm/thumb32.s: Tweak for better coverage of relaxable instructions. Remove load/store tests.
2005-09-062005-09-02 Paul Brook <paul@codesourcery.com>Paul Brook8-5/+34
gas/ * config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints. gas/testsuite/ * gas/arm/arm3-bad.s: New test. * gas/arm/arm3-bad.d: New test. * gas/arm/arm3.s: Avoid illegal instructions. * gas/arm/arm3.d: Ditto.
2005-09-06*** empty log message ***gdbadmin1-1/+1
2005-09-06daily updateAlan Modra1-1/+1
2005-09-05*** empty log message ***gdbadmin1-1/+1
2005-09-05daily updateAlan Modra1-1/+1
2005-09-04Fix email address in last commit.Daniel Jacobowitz1-1/+1
2005-09-04 * inf-child.c (inf_child_follow_fork): Add OPS argument.Daniel Jacobowitz8-29/+58
* inf-ptrace.c (inf_ptrace_follow_fork): Likewise. * inf-ttrace.c (inf_ttrace_follow_fork): Likewise. * inftarg.c (child_follow_fork): Likewise. * linux-nat.c (child_follow_fork): Likewise. Use ops instead of &deprecated_child_ops. * target.c (update_current_target): Do not inherit to_follow_fork. (target_follow_fork): New function. (debug_to_follow_fork): Remove. (setup_target_debug): Don't set to_follow_fork. * target.h (struct target_ops): Add struct target_ops * to to_follow_fork. (child_follow_fork): Add struct target_ops * argument. (target_follow_fork): Replace macro with prototype.
2005-09-04*** empty log message ***gdbadmin1-1/+1
2005-09-04daily updateAlan Modra1-1/+1
2005-09-03Make sure that a reasonable value is always returned byKevin Buettner1-1/+4
mn10300_dwarf2_reg_to_regnum().
2005-09-03 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Use ARRAY_SIZE.Kevin Buettner2-3/+8
Change internal error to warning. Add i18n markup to warning string.
2005-09-03 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.Kevin Buettner2-0/+37
(mn10300_gdbarch_init): Register mn10300_dwarf2_reg_to_regnum().
2005-09-03 * mn10300-tdep.c (is_my_frame_in_sp, is_my_frame_in_fp)Kevin Buettner2-18/+5
(is_my_frame_last): Delete these unused functions.
2005-09-03 * mn10300-tdep.c (mn10300_frame_prev_register): Change type ofKevin Buettner2-1/+6
``bufferp'' from ``void *'' to ``gdb_byte *''.
2005-09-03Remove inadvertent tab after mn10300-tdep.o entry.Kevin Buettner1-1/+1
2005-09-03 * mn10300-tdep.c (mn10300_use_struct_convention): Delete parameterKevin Buettner2-17/+38
``gcc_p''. Adjust all callers. (mn10300_store_return_value, mn10300_extract_return_value): Add new parameter ``gdbarch''. (mn10300_return_value): New function. (mn10300_gdbarch_init): Delete old-style return value code calls. Add call to set_gdbarch_return_value().
2005-09-03daily updateAlan Modra1-1/+1
2005-09-03*** empty log message ***gdbadmin1-1/+1
2005-09-02 * mn10300-tdep.c (regcache.h): Delete duplicate include.Kevin Buettner3-2/+6
* Makefile.in (mn10300-tdep.o): Update dependencies.
2005-09-02 * mn10300-tdep.c (osabi.h): Include.Kevin Buettner3-1/+12
(mn10300_gdbarch_init): Invoke gdbarch_init_osabi(). * Makefile.in (mn10300-tdep.o): Update dependencies.
2005-09-02Fix date.Kevin Buettner1-1/+1
2005-09-02 * mn10300-linux-tdep.c: New file.Kevin Buettner5-3/+504
* Makefile.in (mn10300-linux-tdep.o): New Makefile target. * config/mn10300/linux.mt (TDEPFILES): Add mn10300-linux-tdep.o and corelow.o. * mn10300-tdep.h (E_E8_REGNUM, E_E9_REGNUM, E_E10_REGNUM) (E_FPCR_REGNUM, E_FS0_REGNUM): New constants.
2005-09-02* infcall.c (call_function_by_hand): Remove code handlingMark Kettenis5-93/+19
deprecated_push_arguments. Bail out early if push_dummy_call isn't available. * gdbarch.sh (deprecated_push_arguments): Delete. Adjust a few comments accordingly. * gdbarch.h, gdbarch.c: Regenerate.
2005-09-02Fix date of last entry.Mark Kettenis1-1/+1
2005-09-022005-09-02 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+5
* arm-dis.c (coprocessor_opcodes): Add null terminator.
2005-09-022005-09-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-23/+56
* readelf.c (debug_abbrev_contents): New. (debug_abbrev_size): Likewise. (load_debug_abbrev): Likewise. (free_debug_abbrev): Likewise. (process_debug_info): Use them.
2005-09-022005-09-02 Paul Brook <paul@codesourcery.com>Paul Brook18-1303/+2782
bfd/ * libbdf.h: Regenerate. * bfd-in2.h: Regenerate. * reloc.c: Add BFD_RELOC_ARM_T32_CP_OFF_IMM and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. gas/ * config/tc-arm.c (encode_arm_cp_address): Use BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode. (do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb mode. (md_assemble): Only allow coprocessor instructions when Thumb-2 is available. (cCE, cC3): Define. (insns): Use them for coprocessor instructions. (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM. (get_thumb32_insn): New function. (put_thumb32_insn): New function. (md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. gas/testsuite/ * gas/arm/vfp-bad_t2.d, gas/arm/vfp-bad_t2.l, arm/vfp-bad_t2.s, gas/arm/vfp1_t2.d, gas/arm/vfp1_t2.s, gas/arm/vfp1xD_t2.d, gas/arm/vfp1xD_t2.s, gas/arm/vfp2_t2.d, gas/arm/vfp2_t2.s): New files. opcodes/ * arm-dis.c (coprocessor_opcodes): New. (arm_opcodes, thumb32_opcodes): Remove coprocessor insns. (print_insn_coprocessor): New function. (print_insn_arm): Use print_insn_coprocessor. Remove coprocessor format characters. (print_insn_thumb32): Use print_insn_coprocessor.
2005-09-022005-09-02 Paul Brook <paul@codesourcery.com>Paul Brook5-7/+22
gas/ * config/tc-arm.c (opcode_lookup): Look for infix opcode when incorrect suffix matches. gas/testsuite/ * gas/arm/fpa-mem.d: Test "stfpls". * gas/arm/fpa-mem.s: Ditto.
2005-09-02*** empty log message ***gdbadmin1-1/+1
2005-09-02daily updateAlan Modra1-1/+1
2005-09-012005-08-30 Phil Edwards <phil@codesourcery.com>DJ Delorie3-2/+7
* configure.in (*-*-vxworks*): Add target-libstdc++-v3 to noconfigdirs. * configure: Regenerated.
2005-09-0120050901 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam3-12/+28
* ppc-tdep.h (struct gdbarch_tdep): Better explanation of using -1 for nonexistant registers. * rs6000-tdep.c (rs6000_register_reggroup_p): Don't assume that tdep->ppc_vr0_regnum and tdep->ppc_ev0_regnum are not -1.
2005-09-01* config/tc-mips.c (append_insn): Correctly handle mips16 caseDavid Ung2-3/+23
when the frags are different for the 2 instructions we want to swap. If the lengths of the 2 instructions are not the same, we won't do the swap but emit an nop.
2005-09-01 * arm-linux-tdep.c (arm_linux_push_arguments): Delete.Richard Earnshaw2-142/+6
(arm_linux_init_abi): Don't register it.
2005-09-012005-09-01 Dmitry Diky <diwil@spec.ru>Dmitry Diky2-11/+30
* config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn() as appropriate. Change frag_variant() to frag_var() for relaxes.
2005-09-012005-09-01 Dmitry Diky <diwil@spec.ru>Dmitry Diky2-8/+41
* elf32-msp430.c (msp430_elf_relax_delete_bytes): Do not adjust local symbols and move it to (msp430_elf_relax_adjust_locals): New function - walk over the sections in the bfd and adjust relocations as necessary.
2005-09-01 * ld-cris: Skip tests unsuitable for testing targetHans-Peter Nilsson9-1/+21
cris-axis-linux-gnu.
2005-09-01 * gas/cris: Adjust all files for testing targetHans-Peter Nilsson37-37/+41
cris-axis-linux-gnu.
2005-09-01*** empty log message ***gdbadmin1-1/+1
2005-09-01daily updateAlan Modra1-1/+1
2005-08-31* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &DJ Delorie3-8/+24
address operator, as that breaks GCC's strict aliasing rules. (elf_i386_size_dynamic_sections): Avoid the need for type punning. * elf64-x86-64.c (elf_x86_64_check_relocs): Don't cast a unary & address operator, as that breaks GCC's strict aliasing rules. (elf_x86_64_size_dynamic_sections): Avoid the need for type punning.
2005-08-31* symfile.c (symbol_file_command, set_initial_language)Mark Kettenis2-60/+71
(symfile_bfd_open, get_section_index, add_symtab_fns) (find_sym_fns): Reformat code and comments. Tweak comments.