aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-05-06 * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use itUlrich Weigand8-133/+198
instead of current_regcache. (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. Make GREGSETP const, remove superfluous casts. (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove superfluous casts. (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. (supply_64bit_reg): Likewise (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. Make GREGSETP const, adapt casts accordingly. (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt casts accordingly. (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ helper routines. * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): Adapt prototypes. * mips-linux-nat.c: Include "regcache.h". (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass current_regcache to mips{64}_(supply|fill)_ helper routines. (mips64_linux_regsets_fetch_registers): Likewise. (mips64_linux_regsets_store_registers): Likewise. * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add REGCACHE argument; replace current_regcache. Make REGS const. (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; replace current_regcache. * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, mipsnbsd_store_inferior_registers): Pass current_regcache to mipsnbsd_(supply|fill)_... helper routines. * Makefile.in (mips-linux-nat.o): Update dependencies.
2007-05-06 * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.Ulrich Weigand8-44/+19
* i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace i387_fill_fsave and i387_fill_fxsave calls by inline copies. * i386-nto-tdep.c (i386nto_regset_fill): Likewise. * i386gnu-nat.c (store_fpregs): Likewise. * i386v4-nat.c (fill_fpregset): Likewise. * go32-nat.c (store_register, go32_store_registers): Likewise.
2007-05-06 * cris-tdep.c (supply_gregset): Rename to ...Ulrich Weigand2-4/+11
(cris_supply_gregset): ... this. Add REGCACHE parameter. Use it instead of current_regcache. (fetch_core_registers): Update call. Pass current_regcache.
2007-05-06 * arnmnbsd-nat.c (supply_gregset): Rename to ...Ulrich Weigand2-16/+27
(arm_supply_gregset): ... this. Add REGCACHE parameter. Use it instead of current_regcache. (supply_fparegset): Rename to ... (arm_supply_fparegset): ... this. Add REGCACHE parameter. Use it instead of current_regcache. (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. (fetch_core_registers, fetch_elfcore_registers): Likewise.
2007-05-06 * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,Ulrich Weigand9-52/+96
alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, use it instead of current_regcache. * alpha-tdep.h (struct regcache): Add forward declaration. (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, alpha_fill_fp_regs): Update prototypes. * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. * alpha-linux-nat.c: Include "regcache.h". (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. * alphabsd-tdep.c: Include "regcache.h". (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, pass it to alpha_supply_ routines. Make REGS const. (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, pass it to alpha_fill_ routines. * alphabsd-tdep.h (struct regcache): Add forward declaration. (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, alphabsd_fill_fpreg): Update prototypes. * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset, alphabsd_fetch_inferior_registers, alphabsd_store_inferior_registers): Pass current_regcache to alphabsd_supply/fill_ routines. * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update dependencies.
2007-05-06 * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,Ulrich Weigand2-109/+133
supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it instead of current_regcache. (fetch_regs_user_thread, fetch_regs_kernel_thread): Add REGCACHE parameter, pass it to supply_ routines. (aix_thread_fetch_registers): Pass current_regcache to fetch_regs_user_thread and fetch_regs_kernel_thread. (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): Add REGCACHE parameter, use it instead of current_regcache. Call regcache_valid_p instead of register_cached. (store_regs_user_thread, store_regs_kernel_thread): Likewise. Also, pass REGCACHE to fill_ routines. (aix_thread_store_registers): Pass current_regcache to store_regs_user_thread and store_regs_kernel_thread.
2007-05-06 * m32r-linux-nat.c (supply_gregset): Do not modify contentsUlrich Weigand2-4/+13
pointed to by GREGSETP.
2007-05-06 * irix5-nat.c (fill_gregset): Use regcache_raw_collect insteadUlrich Weigand2-22/+33
of regcache_raw_read_signed. (fill_fpregset): Use regcache_raw_collect instead of regcache_raw_read.
2007-05-06 * cp-demangle.c (d_name): Detect local-source-name.Geoffrey Keating3-1/+43
(d_prefix): Likewise. (d_unqualified_name): Implement local-source-name.
2007-05-06*** empty log message ***gdbadmin1-1/+1
2007-05-06daily updateAlan Modra1-1/+1
2007-05-05 gas/Mark Shinwell2-1/+7
* config/tc-arm.c (md_apply_fix): Generate more accurate diagnostic when 8-bit immediate range is exceeded for BFD_RELOC_ARM_OFFSET_IMM8.
2007-05-05 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value forDenis Chertykov2-1/+9
"--pmem-wrap-around". (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
2007-05-05*** empty log message ***gdbadmin1-1/+1
2007-05-05daily updateAlan Modra1-1/+1
2007-05-042007-05-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+11
* elflink.c (elf_link_sort_relocs): Return if both .rela.dyn and .rel.dyn aren't present.
2007-05-04 * gas/m68k/all.exp: Skip fmoveml on fido.Kazu Hirata2-1/+10
2007-05-04* elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn sectionsNick Clifton2-19/+159
are present examine the indirect sections in an attempt to compute the correct relocation size. If there is any ambiguity, produce an error and refuse to sort.
2007-05-042007-05-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-1/+17
PR gas/4460 * gas/i386/gotpc.s: Add a new test. * gas/i386/reloc64.s: Likewise. * gas/i386/gotpc.d: Updated. * gas/i386/reloc64.d: Likewise.
2007-05-04 PR gas/4460Alan Modra2-6/+12
* config/tc-i386.c (lex_got): Don't replace the reloc token with a space if we already have a space.
2007-05-04daily updateAlan Modra1-1/+1
2007-05-04*** empty log message ***gdbadmin1-1/+1
2007-05-03 * filename_cmp.c: Replace include of ctype.h by include ofJoel Brobecker3-4/+13
safe-ctype.h. (filename_cmp): Use TOLOWER instead of tolower for conversions that are locale-independent. * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
2007-05-03gas/H.J. Lu21-109/+270
2007-05-03 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (match_template): Don't explicitly check suffix for crc32 in Intel mode. (process_suffix): Issue an error for crc32 if the operand size is ambiguous. gas/testsuite/ 2007-05-03 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/crc32-intel.d: Updated. * gas/i386/crc32.d: Likewise. * gas/i386/sse4_2.d: Likewise. * gas/i386/x86-64-crc32-intel.d: Likewise. * gas/i386/x86-64-crc32.d: Likewise. * gas/i386/x86-64-sse4_2.d: Likewise. * gas/i386/crc32.s: Remove crc32 instructions with ambiguous operand size and suffix in crc32 instructions in Intel mode. * gas/i386/x86-64-crc32.s: Likewise. * gas/i386/sse4_2.s: Remove crc32 instructions with ambiguous operand size. * gas/i386/x86-64-sse4_2.s: Likewise. * gas/i386/i386.exp: Run inval-crc32 and x86-64-inval-crc32. * gas/i386/inval-crc32.l: New. * gas/i386/inval-crc32.s: Likewise. * gas/i386/x86-64-inval-crc32.l: Likewise. * gas/i386/x86-64-inval-crc32.s: Likewise. opcodes/ 2007-05-03 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode. * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand type for crc32.
2007-05-03 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.Bob Wilson2-4/+17
2007-05-032007-05-03 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore2-1/+5
bfd/ * elf32-arm.c (allocate_dynrelocs): Fix typo in comment.
2007-05-03 * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floatingKevin Buettner2-1/+13
point arguments, test explicitly for use of the EABI32 ABI instead of inferring this condition from tests on register sizes.
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