aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-05-03 * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's addressKevin Buettner2-2/+17
prior to allocating its location.
2007-05-03PR gas/3041Nick Clifton4-3/+38
* gas/config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols. (tc_gen_reloc): Adjust the addend of relocs against weak symbols. (md_apply_fix): Put zero values into the frags referencing weak symbols. * bfd/aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols in the same way as relocs against external symbols.
2007-05-03 * ld.texinfo (--no-warn-search-mismatch): Document.Alan Modra6-4/+37
* ldfile.c (ldfile_try_open_bfd): Don't warn about skipping incompatible libraries if --no-warn-search-mismatch. * ld.h (args_type): Add warn_search_mismatch. * ldmain.c (main): Init it. * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH. (ld_options): Add entry for --no-warn-search-mismatch. (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
2007-05-03 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.Alan Modra2-0/+8
2007-05-03*** empty log message ***gdbadmin1-1/+1
2007-05-03daily updateAlan Modra1-1/+1
2007-05-02include/elf/Alan Modra4-27/+51
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset and vma for appropriate sections. bfd/ * elf.c (assign_file_positions_for_load_sections): Set sh_offset here. Set sh_type to SHT_NOBITS if we won't be allocating file space. Don't bump p_memsz for non-alloc sections. Adjust section-in-segment check. (assign_file_positions_for_non_load_sections): Don't set sh_offset here for sections that have already been handled above.
2007-05-02* mips-tdep.c (mips_o32_push_dummy_call): Remove conditionsMaciej W. Rozycki2-85/+21
based on mips_abi_regsize() whose result is known in advance. (mips_o64_push_dummy_call): Likewise.
2007-05-02gas/Alan Modra4-5/+12
PR 4448 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for PPC_OPERAND_PLUS1. include/opcode/ * ppc.h (PPC_OPERAND_PLUS1): Update comment.
2007-05-02 * binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.Alan Modra2-5/+19
(copy_executable): Return early if test2 is blank. Return unsupported rather than unresolved if we can't run executables. Do test1 if we can compile.
2007-05-02commit the Robert's removal of "warning:"Alan Modra1-1/+1
2007-05-02daily updateAlan Modra1-1/+1
2007-05-02*** empty log message ***gdbadmin1-1/+1
2007-05-01 * ldlang.c (lang_check): Error on architecture mismatch.Alan Modra2-1/+5
2007-05-01gas/config/H.J. Lu13-10/+280
2007-05-01 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (match_template): Check suffix for crc32 in Intel mdoe. (process_suffix): Default the suffix of 8bit crc32 to BYTE_MNEM_SUFFIX. (check_byte_reg): Skip check for 8bit crc32. gas/testsuite/ 2007-05-01 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/crc32-intel.d: New file. * gas/i386/crc32.d:Likewise. * gas/i386/crc32.s:Likewise. * gas/i386/x86-64-crc32-intel.d:Likewise. * gas/i386/x86-64-crc32.d:Likewise. * gas/i386/x86-64-crc32.s:Likewise. * gas/i386/i386.exp: Run crc32, crc32-intel, x86-64-crc32 and x86-64-crc32-intel. opcodes/ 2007-05-01 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and check data size prefix in 16bit mode. * i386-opc.c (i386_optab): Default crc32 to non-8bit and support Intel mode.
2007-05-01*** empty log message ***gdbadmin1-1/+1
2007-05-01daily updateAlan Modra1-1/+1
2007-04-30bfd/Alan Modra11-48/+1440
* elf32-spu.c (struct spu_link_hash_table): Add stack_analysis and emit_stack_syms bitfields. (get_sym_h): Read all symbols if stack analysis will be done. (spu_elf_create_sections): Add stack_analysis and emit_stack_syms params, and stash in hash table. (is_hint): Split off from.. (is_branch): ..here. Adjust callers. (spu_elf_size_stubs): Add stack_analysis param. Arrange to read and keep all syms. (write_one_stub): Fix mem leak. (find_function_stack_adjust): New function. (sort_syms_syms, sort_syms_psecs): New vars. (sort_syms): New function. (struct call_info, struct function_info): New. (struct spu_elf_stack_info): New. (alloc_stack_info, maybe_insert_function, func_name): New functions. (is_nop, insns_at_end, check_function_ranges): Likewise. (find_function, insert_callee, mark_functions_via_relocs): Likewise. (pasted_function, interesting_section, discover_functions): Likewise. (mark_non_root, call_graph_traverse, build_call_tree): Likewise. (sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise. (bfd_elf32_bfd_final_link): Define. * elf32-spu.h (struct _spu_elf_section_data): Add stack_info field. (spu_elf_create_sections, spu_elf_size_stubs): Update prototypes. include/ * bfdlink.h (struct bfd_link_info): Add "info" and "minfo". ld/ * ldmain.c (link_callbacks): Init info and minfo fields. * ldmisc.c (minfo): Do nothing if no map file. * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars. (spu_after_open): Adjust spu_elf_create_sections call. (spu_before_allocation): Likewise for spu_elf_size_stubs. (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define. (PARSE_AND_LIST_LONGOPTS): Add new entries. (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. * gen-doc.texi: Add @set for SPU and other missing targets. * ld.texinfo: Update man page selection to match gen-doc.texi. Document SPU features.
2007-04-302007-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-16/+39
* config/tc-i386.c (md_assemble): Use register_prefix in error/warning message. (check_byte_reg): Likewise. (check_long_reg): Likewise. (check_qword_reg): Likewise. (check_word_reg): Likewise. (process_operands): Likewise.
2007-04-30Support new FR-V SPRsMark Salter5-16/+68
2007-04-30opcodes/Alan Modra4-4/+14
PR 4436 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE. gas/ PR 4436 * config/tc-ppc.c (ppc_insert_operand): Disable range check if min > max.
2007-04-30daily updateAlan Modra1-1/+1
2007-04-30*** empty log message ***gdbadmin1-1/+1
2007-04-29 * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.Ulrich Weigand6-194/+59
* m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. * mips-linux-nat.c: Include "gregset.h". (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move to mips-linux-nat.c. * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
2007-04-29 * gdb.java/jmain.exp: Handle demangled names with and without methodDaniel Jacobowitz2-3/+36
signatures.
2007-04-29 * gdb.mi/mi-syn-frame.c (main, foo, bar)Daniel Jacobowitz5-26/+28
(have_a_very_merry_interrupt): Remove calls to puts. * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect inferior output. * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct test names.
2007-04-29 * gdb.base/auxv.exp (core_works): Also check is_remote.Daniel Jacobowitz4-3/+9
* gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
2007-04-29 * regcache.c (deprecated_read_register_gen): Remove, inline ...Ulrich Weigand5-42/+28
(read_register): ... here. (deprecated_write_register_gen): Remove, inline ... (write_register): ... here. * regcache.h (deprecated_read_register_gen): Remove prototype. (deprecated_write_register_gen): Likewise. * remote-sim.c (gdbsim_store_register): Replace call to deprecated_read_register_gen with regcache_cooked_read. * target.c (debug_print_register): Replace calls to deprecated_read_register_gen and read_register with regcache_cooked_read.
2007-04-29daily updateAlan Modra1-1/+1
2007-04-29*** empty log message ***gdbadmin1-1/+1
2007-04-28 * hpux-thread.c (hpux_thread_store_registers): UseUlrich Weigand3-4/+11
regcache_raw_collect, not regcache_raw_read. * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, not regcache_raw_write.
2007-04-28 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't accessThiemo Seufer2-4/+12
memory which we might not own.
2007-04-28 * config/tc-mips.c: Fix comment.Thiemo Seufer2-1/+5
2007-04-28 * gdbarch.sh: Remove deprecated_register_byte.Ulrich Weigand11-162/+60
* gdbarch.c, gdbarch.h: Regenerate. * arch-utils.h (generic_register_size, generic_register_byte): Remove. * arch-utils.c (generic_register_size, generic_register_byte): Remove. * regcache.h (regcache_valid_p): Make REGCACHE parameter const. * regcache.c (regcache_valid_p): Allow to query cooked registers in read-only register caches. Make REGCACHE parameter const. (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. * mi/mi-main.c (old_regs): Remove. (mi_setup_architecture_data, _initialize_mi_main): Remove. (register_changed_p): Reimplement to compare two register caches. (mi_cmd_data_list_changed_registers): Update caller. * mi/mi-main.h (mi_setup_architecture_data): Remove. * mi/mi-interp.c (mi_interpreter_init): Do not call mi_setup_architecture_data.
2007-04-28 * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,Ulrich Weigand3-32/+20
inline definition at the places the macros are used. * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
2007-04-28 * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", andUlrich Weigand4-109/+149
"gdb_string.h". (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. (rs6000_aix32_regset, rs6000_aix64_regset): New variables. (rs6000_aix_regset_from_core_section): New function. (rs6000_aix_init_osabi): Register it. (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. * rs6000-nat.c (CoreRegs): Do not define type. (fetch_core_registers, rs6000_core_fns): Remove. (_initialize_core_rs6000): Do not register it. Rename to ... (_initialize_rs6000_nat): ... this. * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
2007-04-28 * ldcref.c (struct cref_hash_entry): Make "demangled" const.Alan Modra3-4/+20
(cref_fill_array): Adjust for changed demangler. * ldlang.c (lang_one_common): Likewise.
2007-04-28 * prdbg.c (tg_variable): Adjust for changed demangler.Alan Modra2-37/+22
(tg_start_function): Likewise.
2007-04-28daily updateAlan Modra1-1/+1
2007-04-28*** empty log message ***gdbadmin1-1/+1
2007-04-27 * dwarf2expr.c (unsigned_address_type): Add forward declaration.Kevin Buettner2-3/+36
(dwarf2_read_address): Sign extend return address as required by target architecture.
2007-04-27 * solib-frv.c (lm_base): Bail out if the main executable hasKevin Buettner2-0/+13
not been relocated.
2007-04-27 * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct locationUlrich Weigand2-1/+6
of FPCR register in fpregset.
2007-04-27 * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function.Bob Wilson2-20/+46
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise. (elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local.
2007-04-27 * elf32-xtensa.c (xtensa_read_table_entries): Step through tableBob Wilson2-53/+54
contents and relocs in parallel.
2007-04-272007-04-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* i386-dis.c (modrm): Put reg before rm.
2007-04-27 * elf32-xtensa.c (relax_property_section): Remove extra irel increment.Bob Wilson2-1/+4
2007-04-27 * ld-m68k/plt1-isac.d: New.Nathan Sidwell3-1/+50
* ld-m68k/m68k.exp: Add it.
2007-04-27gdb/:Maciej W. Rozycki2-3/+9
* Makefile.in (gdbtk-wrapper.o): Update dependencies. (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. gdb/gdbtk/: * generic/gdbtk-wrapper.c (GDB_varobj_update): New function. (wrap_varobj_update): Likewise. * generic/gdbtk-wrapper.h (GDB_varobj_update): New declaration. * generic/gdbtk-varobj.c (variable_update): Call GDB_varobj_update() rather than varobj_update() directly. Take the new semantics of the latter into account. * generic/gdbtk-cmds.c: Include "varobj.h". * generic/gdbtk-stack.c: Likewise.
2007-04-27 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.Ulrich Weigand4-20/+66
* rs6000-nat.c (rs6000_wait): New function. (_initialize_core_rs6000): Install it as to_wait target method. * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.