aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-15 * po/ru.po: New Russian translation.Nick Clifton4-2/+3848
* configure.in (ALL_LINGUAS): Add ru. * configure: Regenerate.
2009-06-15 * corefile.c (core_create_syms_from): Use BFD_VMA_FMT whenNick Clifton2-1/+6
scanning in an address.
2009-06-152009-06-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+4
* elf32-i386.c: Remove duplicated comments.
2009-06-15*** empty log message ***gdbadmin1-1/+1
2009-06-15daily updateAlan Modra1-1/+1
2009-06-14bfd/H.J. Lu6-20/+110
2009-06-14 H.J. Lu <hongjiu.lu@intel.com> PR ld/10270 * elf32-i386.c (elf_i386_allocate_dynrelocs): Disallow dynamic IFUNC pointer in non-shared object. Use .got.plt for IFUNC definition in PIE. (elf_i386_allocate_dynrelocs): Resolve IFUNC definition in PIE locally. * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Disallow dynamic IFUNC pointer in non-shared object. Use .got.plt for IFUNC definition in PIE. (elf64_x86_64_relocate_section): Resolve IFUNC definition in PIE locally. ld/testsuite/ 2009-06-14 H.J. Lu <hongjiu.lu@intel.com> PR ld/10270 * ld-ifunc/ifunc-9-x86.d: New. * ld-ifunc/ifunc-9-x86.s: Likewise.
2009-06-14 * cgen.sh: Handle multiple simultaneous runs for parallel makes.Doug Evans2-42/+49
2009-06-142009-06-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-3/+11
* elf32-i386.c (elf_i386_relocate_section): Properly report local symbol for unhandled relocation against STT_GNU_IFUNC symbol. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
2009-06-142009-06-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+11
* elf32-i386.c (elf_i386_check_relocs): Properly report local symbol for unhandled relocation against STT_GNU_IFUNC symbol. * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2009-06-14bfd/H.J. Lu21-16/+684
2009-06-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/10269 * elf32-i386.c: Include "objalloc.h" and "hashtab.h". (elf_i386_link_hash_table): Add loc_hash_table and loc_hash_memory. (elf_i386_local_hash): New. (elf_i386_local_htab_hash): Likewise. (elf_i386_local_htab_eq): Likewise. (elf_i386_get_local_sym_hash): Likewise. (elf_i386_link_hash_table_free): Likewise. (elf_i386_allocate_local_dynrelocs): Likewise. (elf_i386_finish_local_dynamic_symbol): Likewise. (bfd_elf64_bfd_link_hash_table_free): Likewise. (elf_i386_link_hash_table_create): Create loc_hash_table and loc_hash_memory. (elf_i386_check_relocs): Handle local STT_GNU_IFUNC symbols. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Likewise. (elf_i386_finish_dynamic_sections): Likewise. (elf_i386_finish_dynamic_symbol): Check _DYNAMIC only if sym isn't NULL. * elf64-x86-64.c: Include "objalloc.h" and "hashtab.h". (elf64_x86_64_link_hash_table): Add loc_hash_table and loc_hash_memory. (elf64_x86_64_local_hash): New. (elf64_x86_64_local_htab_hash): Likewise. (elf64_x86_64_local_htab_eq): Likewise. (elf64_x86_64_get_local_sym_hash): Likewise. (elf64_x86_64_link_hash_table_free): Likewise. (elf64_x86_64_allocate_local_dynrelocs): Likewise. (elf64_x86_64_finish_local_dynamic_symbol): Likewise. (bfd_elf64_bfd_link_hash_table_free): Likewise. (elf64_x86_64_link_hash_table_create): Create loc_hash_table and loc_hash_memory. (elf64_x86_64_check_relocs): Handle local STT_GNU_IFUNC symbols. (elf64_x86_64_size_dynamic_sections): Likewise. (elf64_x86_64_relocate_section): Likewise. (elf64_x86_64_finish_dynamic_sections): Likewise. (elf64_x86_64_finish_dynamic_symbol): Check _DYNAMIC only if sym isn't NULL. gas/ 2009-06-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/10269 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION instead of generic_force_reloc. * config/tc-i386.h (TC_FORCE_RELOCATION): New. ld/testsuite/ 2009-06-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/10269 *: ld-ifunc/ifunc-1-local-x86.d: New. *: ld-ifunc/ifunc-1-local-x86.s: Likewise. *: ld-ifunc/ifunc-2-local-i386.d: Likewise. *: ld-ifunc/ifunc-2-local-i386.s: Likewise. *: ld-ifunc/ifunc-2-local-x86-64.d: Likewise. *: ld-ifunc/ifunc-2-local-x86-64.s: Likewise. *: ld-ifunc/ifunc-4-local-x86.d: Likewise. *: ld-ifunc/ifunc-4-local-x86.s: Likewise. *: ld-ifunc/ifunc-5-local-i386.s: Likewise. *: ld-ifunc/ifunc-5-local-x86-64.s: Likewise. *: ld-ifunc/ifunc-5a-local-i386.d: Likewise. *: ld-ifunc/ifunc-5a-local-x86-64.d: Likewise. *: ld-ifunc/ifunc-5b-local-i386.d: Likewise. *: ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
2009-06-14*** empty log message ***gdbadmin1-1/+1
2009-06-14daily updateAlan Modra1-1/+1
2009-06-13 * dwarf2read.c (dwarf2_psymtab_to_symtab): PropagateKevin Buettner2-0/+19
`has_section_at_zero' flag from stripped objfile to separate, debug info only, objfile.
2009-06-13*** empty log message ***gdbadmin1-1/+1
2009-06-13daily updateAlan Modra1-1/+1
2009-06-12gdb/testsuite/Jan Kratochvil2-0/+9
Report error on GDB crash during runto. * lib/gdb.exp (runto <eof>): New.
2009-06-12 * exec.h (section_table_xfer_memory_partial): Improve description,Pedro Alves3-24/+14
mention SECTION_NAME. * exec.c (section_table_xfer_memory_partial): Remove stale description.
2009-06-12 * corefile.c (num_of_syms_in): New function - computes the numberNick Clifton7-19/+154
of symbols in a given file. (core_create_syms_from): New function - populates a symbol table from the symbols found in a specified file. * corefile.h: Prototype core_create_syms_from. * gprof.c (long_options): Add --external-symbol-table. (usage): Mention it. (main): Initiailize external_symbol_table from --external-symbol-table option. If set use it. * gprof.texi: Document the new option. * NEWS: Mention new feature added to gprof.
2009-06-122009-06-10 Philip Blundell <philb@gnu.org>Phil Blundell2-0/+6
* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash if section has no ELF data.
2009-06-122009-06-10 Philip Blundell <philb@gnu.org>Phil Blundell2-6/+12
* elf32-arm.c (elf32_arm_fix_exidx_coverage): Avoid crash if elf_sec->this_hdr == NULL.
2009-06-12 * readelf.c (process_symbol_table): Set gnubuckets to NULL afterNick Clifton2-2/+7
freeing it and before returning.
2009-06-12* opncls.c (_maybe_make_executable): New function. Gives executeNick Clifton2-36/+39
permission to an executable bfd that was opened for writing provided that it is a regular file. Replaces common code found in... (bfd_close): here and ... (bfd_close_all_done): here.
2009-06-12 * readelf.c (process_symbol_table): Don't return early ifJakub Jelinek2-15/+37
.hash/.gnu.hash is empty/unusable and not -D.
2009-06-122009-06-12 Tristan Gingold <gingold@adacore.com>Tristan Gingold8-175/+810
* reloc.c: Add BFD_RELOC_MACH_O_SECTDIFF and BFD_RELOC_MACH_O_PAIR. * bfd-in2.h: Regenerated. * libbfd.h: Regenerated. * mach-o.c (FILE_ALIGN): New macro. (bfd_mach_o_canonicalize_symtab): Adjust for bfd_mach_o_asymbol. (bfd_mach_o_print_symbol): Ditto. (bfd_mach_o_scan_write_thread): Adjust type of variable offset. (bfd_mach_o_get_reloc_upper_bound): New function. (bfd_mach_o_canonicalize_reloc): Ditto. (bfd_mach_o_scan_write_relocs): Ditto. (bfd_mach_o_scan_write_section_32): Remove offset argument. (bfd_mach_o_scan_write_section_64): Ditto. (bfd_mach_o_scan_write_segment_32): Write relocs. Fix size of data written for load command. Do not compute section file offset. (bfd_mach_o_scan_write_segment_64): Ditto. (bfd_mach_o_scan_write_symtab): Compute file offset first. Adjust for bfd_mach_o_asymbol. Move code to convert from BFD to Mach-O to ... (bfd_mach_o_mangle_symbols): ... this new function. (bfd_mach_o_write_contents): Be sure to habe load commands built. Call bfd_mach_o_mangle_symbols. (bfd_mach_o_build_commands): Adjust for filelen field. Use FILE_ALIGN macro. Clear section file offset if section is empty. Do not set symtab file offset anymore here. (bfd_mach_o_make_empty_symbol): Allocate a bfd_mach_o_asymbol. (bfd_mach_o_make_bfd_section): Set SEC_RELOC if has reloc. Set reloc_count and rel_filepos section fields. (bfd_mach_o_scan_read_section_32): Type of argument offset is now unsigned int. (bfd_mach_o_scan_read_section_64): Ditto. (bfd_mach_o_scan_read_section): Ditto. (bfd_mach_o_scan_read_symtab_symbol): Typr of argument s is now bfd_mach_o_asymbol. Use unsigned int for file offset type. (bfd_mach_o_scan_read_symtab_symbol): Adjust for bfd_mach_o_asymbol. Handle weak-ref symbols. (bfd_mach_o_scan_read_symtab_symbols): Adjust for bfd_mach_o_asymbol. (bfd_mach_o_scan_read_dysymtab_symbol): Ditto. (bfd_mach_o_scan): Remove assignment to removed field. (bfd_mach_o_mkobject_init): Ditto. (bfd_mach_o_bfd_print_private_bfd_data): Adjust printf formatter. (bfd_mach_o_bfd_reloc_type_lookup): New macro. (bfd_mach_o_bfd_reloc_name_lookup): Ditto. (bfd_mach_o_swap_reloc_in): Ditto. (bfd_mach_o_swap_reloc_out): Ditto. * mach-o.h (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_NON_LAZY) (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_LAZY) (BFD_MACH_O_REFERENCE_FLAG_DEFINED) (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_DEFINED) (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY) (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY) (BFD_MACH_O_REFERENCED_DYNAMICALLY, BFD_MACH_O_N_DESC_DISCARDED) (BFD_MACH_O_N_NO_DEAD_STRIP, BFD_MACH_O_N_WEAK_REF) (BFD_MACH_O_N_WEAK_DEF): New macros. Add comments. (bfd_mach_o_section_type): Add new enumeration values. (BFD_MACH_O_S_SELF_MODIFYING_CODE) (BFD_MACH_O_S_ATTR_LIVE_SUPPORT) (BFD_MACH_O_S_ATTR_NO_DEAD_STRIP) (BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS, BFD_MACH_O_S_ATTR_NO_TOC): New macros. (BFD_MACH_O_GENERIC_RELOC_VANILLA) (BFD_MACH_O_GENERIC_RELOC_PAIR) (BFD_MACH_O_GENERIC_RELOC_SECTDIFF) (BFD_MACH_O_GENERIC_RELOC_PB_LA_PTR) (BFD_MACH_O_GENERIC_RELOC_LOCAL_SECTDIFF): Ditto. (BFD_MACH_O_RELENT_SIZE): Ditto. (BFD_MACH_O_R_PCREL, BFD_MACH_O_GET_R_LENGTH) (BFD_MACH_O_R_EXTERN, BFD_MACH_O_GET_R_TYPE) (BFD_MACH_O_GET_R_SYMBOLNUM, BFD_MACH_O_SET_R_LENGTH) (BFD_MACH_O_SET_R_TYPE, BFD_MACH_O_SET_R_SYMBOLNUM): Ditto. (BFD_MACH_O_SR_SCATTERED, BFD_MACH_O_SR_PCREL) (BFD_MACH_O_GET_SR_LENGTH, BFD_MACH_O_GET_SR_TYPE) (BFD_MACH_O_GET_SR_ADDRESS, BFD_MACH_O_SET_SR_LENGTH) (BFD_MACH_O_SET_SR_TYPE, BFD_MACH_O_SET_SR_ADDRESS): Ditto. (bfd_mach_o_reloc_info): New struct. (bfd_mach_o_asymbol): New struct. (bfd_mach_o_symtab_command): The symbols field is now of type bfd_mach_o_asymbol. (bfd_mach_o_load_command): The offset and len fields are now of type unsigned int. (mach_o_data_struct): Remove symbols, nsymbols and ibfd fields. Add a filelen field. Add comments. (bfd_mach_o_backend_data): New struct. (bfd_mach_o_get_backend_data): New macro. (bfd_mach_o_scan_read_symtab_symbol): Parameter symbol now of type bfd_mach_o_asymbol. (bfd_mach_o_scan_read_dysymtab_symbol): Ditto. (bfd_mach_o_get_reloc_upper_bound): New prototype. (bfd_mach_o_canonicalize_reloc): Ditto. * mach-o-target.c (bfd_mach_o_bfd_is_local_label_name): Remove duplicated macro. Now defined to _bfd_generic_is_local_label. (TARGET_NAME_BACKEND): New macro... (TARGET_NAME_BACKEND): ... used to name a new variable. (TARGET_NAME): Define relocs table using bfd_mach_o, reference Mach-O backend data. * mach-o-i386.c (i386_howto_table): New variable. (bfd_mach_o_i386_swap_reloc_in): New function. (bfd_mach_o_i386_swap_reloc_out): Ditto. (bfd_mach_o_i386_bfd_reloc_type_lookup): Ditto. (bfd_mach_o_i386_bfd_reloc_name_lookup): Ditto. (bfd_mach_o_swap_reloc_in, bfd_mach_o_swap_reloc_out): New macros. (bfd_mach_o_bfd_reloc_type_lookup) (bfd_mach_o_bfd_reloc_name_lookup): Ditto.
2009-06-12* nto-tdep.h (nto_generic_supply_gpregset)Aleksandar Ristovski3-30/+7
(nto_generic_supply_fpregset, nto_generic_supply_altregset): Remove. * nto-tdep.c (nto_generic_supply_gpregset) (nto_generic_supply_fpregset, nto_generic_supply_altregset): Remove.
2009-06-12*** empty log message ***gdbadmin1-1/+1
2009-06-12daily updateAlan Modra1-1/+1
2009-06-11 * i386-nto-tdep.c (I386_NTO_SIGCONTEXT_OFFSET): Remove define.Aleksandar Ristovski2-8/+15
(i386nto_sigcontext_addr): Change the way context address is calculated. (i386nto_init_abi): Remove usage of deprecated sc_reg_offset and sc_sp_offset and set sc_reg_offset and sc_num_regs.
2009-06-11 * i386-nto-tdep.c (i386_nto_target): Remove definition.Aleksandar Ristovski4-28/+17
(init_i386nto_ops): Use macros to set fields to global current_nto_target directly. (i386nto_init_abi): Remove unused nto_set_target call. * nto-tdep.h (nto_set_target): Remove unused declaration. * nto-tdep.c (nto_set_target): Remove unused function.
2009-06-11 * breakpoint.c (break_command_really): Rename local variablePedro Alves2-10/+14
breakpoint_chain to bkpt_chain.
2009-06-11 Add support for XMM registers.Aleksandar Ristovski2-13/+93
* i386-nto-tdep.c (i386nto_regset_id): Add case for SSE register set. (i386nto_register_area): Correctly calculate offsets and sizes for all supported registers.
2009-06-11 * eval.c (evaluate_subexp_standard) <OP_OBJC_MSGCALL>: RemoveTom Tromey2-5/+10
'static' from local variable definitions.
2009-06-11 * symtab.c (append_expanded_sal): Remove unused local variables.Pedro Alves2-2/+4
2009-06-11gdb/Pedro Alves6-10/+106
* infrun.c (sched_multi): New global. (resume): If sched_multi is set, resume only threads of the current inferior. (prepare_to_proceed): Don't switch over to wait_ptid if we're resuming a different inferior, and sched_multi is off. (show_schedule_multiple): New. (_initialize_infrun): Register new "set schedule-multiple" command. * inferior.h (sched_multi): Declare. * NEWS: Mention new "schedule-multiple" setting. gdb/doc/ * gdb.texinfo (All-Stop): Document new 'set schedule-multiple' command.
2009-06-11Add PC-relative branch support to moxie sim.Anthony Green2-122/+103
2009-06-11Add PC-relative branch instructions to moxie port.Anthony Green14-31/+165
2009-06-11Typos in ChangeLog :-(Paul Pluzhnikov1-2/+2
2009-06-112009-06-10 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov6-2/+89
* bfd-in2.h: bfd_mmap prototype * bfdio.c (bfd_mmap): New function. * libbfd.h (bfd_iovec): Add bmmap. * cache.c (cache_bmap): New function. (cache_iovec): Initialize bmmap member. * opencls.c (opncls_bmmap): New function. (opncls_iovec): Initialize bmmap member.
2009-06-11*** empty log message ***gdbadmin1-1/+1
2009-06-11daily updateAlan Modra1-1/+1
2009-06-10 * varobj.c (varobj_create): Properly restore the selected frame.Pedro Alves2-1/+5
2009-06-10 * inferior.c (print_inferior): Make a table, not a list. EmitTom Tromey2-4/+31
table headers.
2009-06-102009-06-10 Jonas Maebe <jonas.maebe@elis.ugent.be>Pedro Alves2-2/+8
* darwin-nat.c (darwin_stop_inferior): Pass 0 as options to darwin_wait (blocking wait). (darwin_kill_inferior): Likewise.
2009-06-10 * infrun.c (handle_inferior_event): Update comment around tryingPedro Alves2-3/+24
to revert back to a stepping thread that has exited.
2009-06-10 * dwarf2read.c (dwarf_decode_lines): Recognize and ignoreCary Coutant2-0/+10
DW_LNE_set_discriminator.
2009-06-10Handle MOXIE_F1_M opcodes.Anthony Green2-0/+6
2009-06-10 * breakpoint.c: ARI fixes.Pierre Muller2-39/+61
(create_overlay_event_breakpoint): Avoid assignment inside if statement. (print_one_breakpoint_location): Likewise. (create_longjmp_breakpoint): Likewise. (tracepoint_save_command): Likewise (bpstat_find_step_resume_breakpoint): No operator at end of line. (bpstat_stop_status): Likewise. (describe_other_breakpoints): Likewise. (hw_watchpoint_used_count): Likewise. (expand_line_sal_maybe): Likewise. (break_command_really): Likewise. (delete_command): Likewise. (do_enable_breakpoint): Likewise. (delete_trace_command): Likewise. (catch_exception_command_1): Likewise and remove extra parentheses.
2009-06-10*** empty log message ***gdbadmin1-1/+1
2009-06-10daily updateAlan Modra1-1/+1
2009-06-09 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,Daniel Jacobowitz50-52/+81
gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp, gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp, gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp, gdb.server/ext-run.exp, gdb.server/file-transfer.exp, gdb.server/server-mon.exp, gdb.server/server-run.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/deltrace.exp, gdb.trace/infotrace.exp, gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp, gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Use a unique name for the compiled executable.