aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-01 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.Jan Kratochvil3-0/+100
2007-11-01gas/H.J. Lu13-1624/+1789
2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (process_suffix): Check addrprefixop0 to see if the address size override prefix changes the size of the first operand. (check_byte_reg): Don't warn if byteokintel is set. (check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword is set. (check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword is set. gas/testsuite/ 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.d: New. * gas/i386/i386.s: Likewise. * gas/i386/i386.exp: Run i386. * gas/i386/x86_64.s: Add tests for movsx, movsbl, movsbq, movsbw, movswl, movswq, movzx, movzb, movzbl, movzbq, movzbw, movzwl and movzwq. * gas/i386/x86_64.d: Updated. opcodes/ 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword, ToQword and AddrPrefixOp0. * i386-opc.h (ByteOkIntel): New. (ToDword): Likewise. (ToQword): Likewise. (AddrPrefixOp0): Likewise. (IsPrefix): Updated. (i386_opcode_modifier): Add byteokintel, todword, toqword and addrprefixop0. * i386-opc.tbl (cvtss2si): Add ToQword. (cvttss2si): Likewise. (cvtsd2si): Add ToDword. (cvttsd2si): Likewise. (monitor): Add AddrPrefixOp0. (invlpga): Likewise. (vmload): Likewise. (vmrun): Likewise. (vmsave): Likewise. (pextrb): Add ByteOkIntel. (pinsrb): Likewise. * i386-tbl.h: Regenerated.
2007-11-01bfd:Joseph Myers5-5/+47
* merge.c (sec_merge_hash_lookup): Add parameter sec_end. Check for unterminated strings. All callers changed. (record_section): Add parameter abfd. Give error message for unterminated strings. (_bfd_merge_sections): Update call to record_section. (_bfd_write_merged_section, _bfd_merged_section_offset): Handle NULL secinfo from merge failures. ld/testsuite: * ld-elf/merge3.d, ld-elf/merge3.s: New.
2007-11-01From Cary Coutant: More support for -shared, including fixes to GOTIan Lance Taylor3-82/+208
handling.
2007-11-01*** empty log message ***gdbadmin1-1/+1
2007-10-31 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back toUlrich Weigand2-2/+7
find_solib_trampoline_target if PC is not in .plt section.
2007-10-312007-10-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-7/+17
* i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1. (USE_REG_TABLE): Likewise. (USE_MOD_TABLE): Likewise. (USE_RM_TABLE): Likewise. (USE_PREFIX_TABLE): Likewise. (USE_X86_64_TABLE): Likewise. (USE_3BYTE_TABLE): Likewise.
2007-10-31daily updateAlan Modra1-1/+1
2007-10-31 * Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh.Joel Brobecker2-22/+26
2007-10-31 * elfread.c (elf_symtab_read): When constructing a solib trampolineUlrich Weigand2-3/+28
minimal symbol from an undefined dynamic symbol, use proper section.
2007-10-31merge from gccDJ Delorie4-7/+31
2007-10-312007-10-31 Eric B. Weddington <eweddington@cso.atmel.com>Eric B. Weddington3-9/+11
* config/tc-avr.c (mcu_types): Remove devices that were never produced: attiny10, atmega83, atmega85, atmega603. * doc/c-avr.texi: Likewise.
2007-10-31Add cast to avoid compile time warningNick Clifton1-1/+1
2007-10-31* dwarf.c (is_relocatable): Remove definition.Nick Clifton7-61/+114
(display_debug_frames): Remove check in is_relocatable. * dwarf.h (is_relocatable): Remove declaration. * objdump.c (is_relocatable): New static definition. * readelf.c (dump_relocations): Make the function void. (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, OR32 and Score. (is_32bit_pcrel_reloc): Add support for x86 and Arm. (is_16bit_abs_reloc): Add support for D10V. (debug_apply_rela_addends): Rename to debug_apply_relocations. Add code to support rel relocations. (load_debug_section): Fix call to debug_apply_relocations. (get_file_header): Remove setting of is_relocatable. * gas/cfi/cfi-common-6.d: Allow for possible relocation of the .debug.eh_frame section.
2007-10-312007-10-31 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+8
* arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-31* elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for alignNick Clifton2-17/+25
relocs when there are no relocs attached to the section.
2007-10-31 * readelf.c (debug_apply_rela_addends): Clarify FIXME.Alan Modra2-8/+11
2007-10-31 * elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare.Alan Modra3-20/+7
* elflink.c (bfd_elf_match_symbols_in_sections): Make static. Remove section name comparisons.
2007-10-31*** empty log message ***gdbadmin1-1/+1
2007-10-30daily updateAlan Modra1-1/+1
2007-10-30 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does notUlrich Weigand2-2/+9
provide DFP support.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-11/+23
* libunwind-frame.c (libunwind_frame_sniffer) libunwind_frame_prev_register, libunwind_sigtramp_frame_sniffer) (libunwind_frame_cache): Use get_frame_arch to get at the current architecture by frame_info. (libunwind_get_reg_special): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+7
* iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+8
* inf-child.c (inf_child_fetch_inferior_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+23
* inf-ptrace.c (inf_ptrace_fetch_registers) (inf_ptrace_fetch_register, inf_ptrace_store_register) (inf_ptrace_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-8/+17
* hpux-thread.c (hpux_thread_fetch_registers) (hpux_thread_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+8
* hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+12
* go32-nat.c (fetch_register, go32_fetch_registers, store_register) (go32_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-11/+14
* gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+14
* f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* core-regset.c (fetch_core_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* corelow.c (get_core_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+8
* bsd-uthread.c (bsd_uthread_fetch_registers) (bsd_uthread_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+9
* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+5
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+17
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) (store_regs): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+8
* alphabsd-nat.c (alphabsd_fetch_inferior_registers) (alphabsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-12/+17
* ada-lang.c (ada_language_arch_info): Replace current_gdbarch by gdbarch.
2007-10-30 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selectedDaniel Jacobowitz9-92/+418
soft float and vector ABIs. Support the generic vector ABI for AltiVec types. (do_ppc_sysv_return_value): Likewise. Correct argument types and casts. (ppc64_sysv_abi_push_dummy_call): Assert that floating point is supported. * ppc-tdep.h (enum powerpc_vector_abi): New. (struct gdbarch_tdep): Add soft_float and vector_abi. * rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist) (powerpc_soft_float_global, powerpc_vector_strings) (powerpc_vector_abi_global, powerpc_vector_abi_string): New. (rs6000_gdbarch_init): Check for soft-float and vector ABI markings. (set_powerpc_command, show_powerpc_command, powerpc_set_soft_float) (powerpc_set_vector_abi): New. (_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc" commands. * Makefile.in (elf_ppc_h): New. (rs6000-tdep.o): Update. * gdb.texinfo (PowerPC): Document "set powerpc vector-abi" and "set powerpc soft-float". * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux. Test "set powerpc vector-abi". Skip auto-detection tests for old toolchains.
2007-10-30 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and nePedro Alves3-4/+9
with [string compare].
2007-10-30 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.Pedro Alves3-2/+7
* gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
2007-10-30* mn10300.h (R_MN10300_ALIGN): Define.Nick Clifton21-64/+298
* reloc.c (BFD_RELOC_MN10300_ALIGN): Add. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf-m10300.h: Handle R_MN10300_ALIGN relocs. * mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs. Re-fix off by one error in comparisons. * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when sym_diff relocs should be generated. (md_apply_fix): Skip R_MN10300_ALIGN relocs. (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs. (mn10300_handle_align): New function. Generate R_MN10300_ALIGN relocs to record alignment requests. * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force R_MN10300_ALIGN relocs. (HANDLE_ALIGN): Define. Call mn10300_handle_align. * gas/all/gas.exp: Do not run diff1.s test for mn10300. * ld-mn10300/mn10300.exp: Run new tests. Skip i126256 test if a compiler is not available. * ld-mn10300/i112045-3.s: New test. * ld-mn10300/i112045-3.d: Expected disassembly. * ld-mn10300/i135409.s: Rename to i135409-1.s. * ld-mn10300/i135409.d: Rename to i135409-1.d * ld-mn10300/i135409-2.s: New test. * ld-mn10300/i135409-2.d: Expected symbol table. * ld-mn10300/i36434.d: Adjust expected disassembly.
2007-10-30* doc/as.texinfo (Section): Replace "subsegment" with subsection".Nick Clifton2-2/+7
2007-10-30From Craig Silverstein: Implement OPTION in linker scripts.Ian Lance Taylor3-140/+185
2007-10-30Adjust PLTOFF64 calculation.Ian Lance Taylor1-2/+2
2007-10-30From Craig Silverstein: Implement GOTPLT64 and PLTOFF64.Ian Lance Taylor1-4/+29
2007-10-30*** empty log message ***gdbadmin1-1/+1
2007-10-29From Craig Silverstein: Clean up some unnecessary TODO markers.Ian Lance Taylor1-14/+15