summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gas/testsuite/H.J. Lu2008-02-233-8/+14
| | | | | | | | | | | | | | | | | | | | | | 2008-02-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/jump.s: Add tests for far branches. * gas/i386/jump16.s: Likewise. * gas/i386/jump.d: Updated. * gas/i386/jump16.d: Likewise. * gas/i386/x86-64-inval.l: Likewise. * gas/i386/x86-64-inval.s: Add tests for 16-bit near indirect branches. opcodes/ 2008-02-23 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Disallow 16-bit near indirect branches for x86-64. * i386-tbl.h: Regenerated.
* * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.Alan Modra2008-02-232-0/+7
|
* * elf32-ppc.c (ppc_elf_copy_indirect_symbol): CopyAlan Modra2008-02-232-23/+74
| | | | | | | | | | | pointer_equality_needed. (ppc_elf_check_relocs): Split out non-branch relocs from others that might emit dynamic relocs. Set pointer_equality_needed for their symbols. Don't set non_got_ref on branch reloc symbols. (ppc_elf_hash_symbol): New function. (elf_backend_hash_symbol): Define. (ppc_elf_finish_dynamic_symbol): Handle pointer_equality_needed. Error if pointer_equality_needed on weak plt symbol.
* 2008-02-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-02-232-6/+15
| | | | | | PR ld/5788 * elflink.c (elf_create_symbuf): Correct buffer size and position.
* *** empty log message ***gdbadmin2008-02-231-1/+1
|
* daily updateAlan Modra2008-02-221-1/+1
|
* * solib-svr4.c (enable_break): Convert r_brk to a code address.Daniel Jacobowitz2008-02-222-0/+9
|
* PR 868Nick Clifton2008-02-222-82/+21
| | | | | *dwarf2.c: Revert previous patch. All of the allocate memory is on an obstack which will be freed at some other time.
* *** empty log message ***gdbadmin2008-02-221-1/+1
|
* daily updateAlan Modra2008-02-211-1/+1
|
* * remote.c (extended_remote_attach_1): Set attach_flag.Pedro Alves2008-02-212-0/+7
| | | | (extended_remote_create_inferior_1): Clear attach_flag.
* opcodes/Jan Beulich2008-02-213-9/+16
| | | | | | | | | 2008-02-21 Jan Beulich <jbeulich@novell.com> * i386-opc.tbl: Allow Dword for far indirect call. Allow Dword and Fword for far indirect jmp. Allow Reg16 and Word for near indirect jmp on x86-64. Disallow Fword for lcall. * i386-tbl.h: Re-generate.
* * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): SetDaniel Jacobowitz2008-02-214-14/+93
| | | | | | | | | | | | | r_brk_offset. (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. * solib-svr4.c (solib_svr4_r_brk): New. (open_symbol_file_object, svr4_current_sos): Always check the debug base. (svr4_fetch_objfile_link_map): Do not set debug_base. (enable_break): Use r_brk if it is set. (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. (svr4_lp64_fetch_link_map_offsets): Likewise. * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
* * stack1.c: Include stdlib.hKeith Seitz2008-02-213-0/+11
| | | | | * simple.c: Likewise. Include string.h.
* *** empty log message ***gdbadmin2008-02-211-1/+1
|
* daily updateAlan Modra2008-02-201-1/+1
|
* PR 868Nick Clifton2008-02-2017-38/+110
| | | | | | | | | | | | | | | | | | | | | | | * libbfd.c (bfd_realloc_or_free): New function. Performs like bfd_realloc, but if the (re)allocation fails, the pointer is freed. * libbfd-in.h: Prototype. * libbfd.h: Regenerate. * bfdio.c (bfd_bwrite): Use the new function. (bfd_seek): Likewise. * bfdwin.c:(bfd_get_file_window): Likewise. * elf-strtab.c (_bfd_elf_strtab_add): Likewise. * elf32-ppc.c (ppc_elf_relax_section): Likewise. * elf32-xtensa.c (vsprintf_msg): Likewise. * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise. * stabs.c (_bfd_link_seciton_stabs): Likewise. * vms-misc.c (_bfd_vms_get_record): Likewise. * vms-tir.c (check_section): Likewise. * vms.c (vms_new_section_hook): Likewise. * elf32-arm.c (elf32_arm_section_map_add): Check that the allocation of sec_data->map succeeded before using it. * elflink.c (elf_link_output_sym): Do not overwrite finfo-> symshndxbuf until it is known that the reallocation succeeded.
* config:cgen-snapshot-20080301Paolo Bonzini2008-02-202-3/+7
| | | | | | 2008-02-20 Uros Bizjak <ubizjak@gmail.com> * mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.
* PR 868Nick Clifton2008-02-202-15/+93
| | | | | | | | | | * dwarf2.c (read_abbrevs): Free the abbreviation table if we run out of memory. (decode_line_info): Free the line_info_table before returning a failure result. (_bfd_dwarf2_cleanup_debug_info): Free the abbreviation table. Free the line table. Free the function table. Free the variable table.
* 2008-02-20 Markus Deuling <deuling@de.ibm.com>Markus Deuling2008-02-203-49/+33
| | | | | | | | | | | | | | Mark Kettenis <kettenis@gnu.org> * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by trad_frame_saved_reg. (trad-frame.h): New include. (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs instead of frame_obstack_zalloc. (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
* 2008-02-20 Paul Brook <paul@codesourcery.com>Paul Brook2008-02-204-12/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld/ * emultempl/armelf.em (OPTION_FIX_V4BX_INTERWORKING): Define. (PARSE_AND_LIST_LONGOPTS): Add fix-v4bx-interworking. (PARSE_AND_LIST_OPTIONS): Ditto. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FIX_V4BX_INTERWORKING. * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Add .v4_bx. * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Ditto. * emulparams/armnto.sh (OTHER_TEXT_SECTIONS): Ditto. * ld.texinfo: Document --fix-v4bx-interworking. ld/testsuite/ * ld-arm/armv4-bx.d: New test. * ld-arm/armv4-bx.s: New test. * ld-arm/arm.ld: Add .v4bx. * ld-arm/arm-elf.exp: Add armv4-bx. gas/testsuite/ * gas/arm/thumb.d: Exclude EABI targets. * gas/arm/arch4t.d: Exclude EABI targts. * gas/arm/v4bx.d: New test. * gas/arm/v4bx.s: New test. * gas/arm/thumb-eabi.d: New test. * gas/arm/arch4t-eabi.d: New test. gas/ * config/tc-arm.c (fix_v4bx): New variable. (do_bx): Generate V4BX relocations. (md_assemble): Allow bx on v4 codes when fix_v4bx. (md_apply_fix): Handle BFD_RELOC_ARM_V4BX. (tc_gen_reloc): Ditto. (OPTION_FIX_V4BX): Define. (md_longopts): Add fix-v4bx. (md_parse_option): Handle OPTION_FIX_V4BX. (md_show_usage): Document --fix-v4bx. * doc/c-arm.texi: Document --fix-v4bx. bfd/ * reloc.c: Add BFD_RELOC_ARM_V4BX. * elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_V4BX. (ARM_BX_GLUE_SECTION_NAME, ARM_BX_GLUE_SECTION_NAME): Define. (elf32_arm_link_hash_table): Add bx_glue_size and bx_glue_offset. Update comment for fix_v4bx. (elf32_arm_link_hash_table_create): Zero bx_glue_size and bx_glue_offset. (ARM_BX_VENEER_SIZE, armbx1_tst_insn, armbx2_moveq_insn, armbx3_bx_insn): New. (bfd_elf32_arm_allocate_interworking_sections): Allocate BX veneer section. (bfd_elf32_arm_add_glue_sections_to_bfd): Ditto. (bfd_elf32_arm_process_before_allocation): Record BX veneers. (record_arm_bx_glue, elf32_arm_bx_glue): New functions. (elf32_arm_final_link_relocate): Handle BX veneers. (elf32_arm_output_arch_local_syms): Output mapping symbol for .v4_bx. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
* * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianessMarkus Deuling2008-02-204-3/+11
| | | | | | | from disassemble_info instead of gdbarch_byte_order. * mips-tdep.c (gdb_print_insn_mips): Likewise. * arm-tdep.c (gdb_print_insn_arm): Likewise.
* * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): AddMarkus Deuling2008-02-2010-22/+48
| | | | | | | | | | | | | | | | | | gdbarch as parameter. * gdbarch.{c,h}: Regenerate. * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as parameter. * mem-break.c (default_memory_insert_breakpoint) (default_memory_remove_breakpoint): Likewise. * target.h (default_memory_remove_breakpoint) (default_memory_insert_breakpoint): Likewise. * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. * m32r-tdep.c (m32r_memory_insert_breakpoint) (m32r_memory_remove_breakpoint): Likewise.
* 2008-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2008-02-208-721/+1261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/32009 PR bootstrap/32161 * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here. * configure: Regenerate. * Makefile.def: Define stage_libcflags for all bootstrap stages. * Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS, STAGE4_LIBCFLAGS): New. (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET). (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS. (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS. (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags for target modules. Don't export LIBCFLAGS. (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET. (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS). * Makefile.in: Regenerate. config: 2008-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/32009 * mh-ppc-darwin (BOOT_CFLAGS): Reenable.
* *** empty log message ***gdbadmin2008-02-201-1/+1
|
* daily updateAlan Modra2008-02-191-1/+1
|
* doc/Pedro Alves2008-02-194-7/+20
| | | | | | | | | | * gdb.texinfo (vAttach, vRun): Remove requirement of the stub killing the inferior when it is already debugging a process. gdbserver/ * server.c (handle_v_requests): When handling the vRun and vAttach packets, if already debugging a process, don't kill it. Return an error instead.
* * MAINTAINERS: Add Vladimir Prus as MI maintainer.Daniel Jacobowitz2008-02-192-0/+5
|
* * NEWS: Add entry describing Add support improvements.Joel Brobecker2008-02-192-0/+15
|
* PR other/12618Ben Elliston2008-02-192-1/+7
| | | | * testsuite/Makefile.in (mostlyclean): Remove any core file.
* *** empty log message ***gdbadmin2008-02-191-1/+1
|
* daily updateAlan Modra2008-02-181-1/+1
|
* * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum byMarkus Deuling2008-02-182-2/+6
| | | | M68K_FP0_REGNUM.
* * sentinel-frame.c (sentinel_frame_prev_register): Do not callMarkus Deuling2008-02-184-25/+8
| | | | | | register_offset_hack anymore. * regcache.{c,h} (register_offset_hack): Remove.
* * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.Markus Deuling2008-02-187-14/+39
| | | | | | | | | | | | | | | | | | | | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace current_gdbarch by gdbarch. (hppa64_hpux_find_global_pointer): Likewise. * hppa-tdep.c (hppa_find_global_pointer): Likewise. (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for find_global_pointer. * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as parameter. * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead of gdbarch_num_regs. * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
* * cr16.h (cr16_num_optab): Declared.Nick Clifton2008-02-184-2/+12
| | | | * cr16-opc.c (cr16_num_optab): Defined
* * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameterMarkus Deuling2008-02-184-24/+52
| | | | | | | | | | | | | | | | | | | | | and replace current_gdbarch by gdbarch. (store_register): Update call for exec_one_dummy_insn. (fetch_register, store_register): Update call of regmap. * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture. Update call for getregs_supplies and getfpregs_supplies. (ppcnbsd_fetch_inferior_registers): Likewise. * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (ppcobsd_fetch_registers, ppcobsd_store_registers): Use get_regcache_arch to get at the current architecture. Update call for getfpregs_supplies.
* * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarchMarkus Deuling2008-02-182-2/+5
| | | | variables.
* *** empty log message ***gdbadmin2008-02-181-1/+1
|
* * elf.c (swap_out_syms): Avoid preprocessing directive withinMark Kettenis2008-02-172-3/+12
| | | | macro arg.
* daily updateAlan Modra2008-02-171-1/+1
|
* * server.c (handle_query): Correct length check.Daniel Jacobowitz2008-02-172-1/+5
|
* * elf.c (assign_file_positions_for_load_sections): Set the type ofJan Kratochvil2008-02-172-0/+9
| | | | PT_NOTE sections to SHT_NOTE.
* *** empty log message ***gdbadmin2008-02-171-1/+1
|
* * simple.c (bfd_simple_get_relocated_section_contents): SetAlan Modra2008-02-162-1/+7
| | | | link_info.output_bfd.
* daily updateAlan Modra2008-02-161-1/+1
|
* gas/H.J. Lu2008-02-163-0/+12
| | | | | | | | | | | | | | | | | 2008-02-16 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (inoutportreg): New. (process_immext): New. (md_assemble): Use it. (update_imm): Use imm16 and imm32s. (i386_att_operand): Use inoutportreg. opcodes/ 2008-02-16 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (operand_type_init): Add OPERAND_TYPE_INOUTPORTREG. * i386-init.h: Regenerated.
* 2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Paolo Bonzini2008-02-162-3/+12
| | | | | | PR libgcj/33085 * libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>: Do not use -DDLL_EXPORT. Backport from upstream.
* * dwarf2.c (find_line): Don't trust debug information after anNathan Sidwell2008-02-162-34/+40
| | | | unparseable compilation unit.
* *** empty log message ***gdbadmin2008-02-161-1/+1
|