aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-04-05 * elf32-bfin.c (_bfin_create_got_section): Don't generate a _gpBernd Schmidt2-17/+5
symbol.
2006-04-05 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull registerDavid S. Miller3-5/+15
window out of the correct stack frame. * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
2006-04-05 * sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.David S. Miller2-0/+38
(sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg. * Makefile.in (sparc-tdep.o): Update dependencies.
2006-04-05 * addr2line.c (long_options): Add new option 'section'.Eric Botcazou3-19/+80
(usage): Document new -j/--section option. (find_offset_in_section): New function. (translate_addresses): Add 'section' parameter. If it is non-null, call find_offset_in_section on it. (process_file): Add 'section_name' parameter. If it is non-null, look for the section in the BFD object. Pass the section to translate_addresses. (main): Handle new -j option. Pass the section name to process_file. * doc/binutils.texi (addr2line): Document new -j/--section option.
2006-04-05 * Makefile.am (GENSCRIPTS): Pass prefix.Alan Modra6-20/+42
* Makefile.in: Regenerate. * genscripts.sh: Adjust for extra parameter. * emultempl/elf32.em (parse_ld_so_conf): Return true iff file exists. (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists. * NEWS: Update.
2006-04-052006-04-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+34
PR ld/2411 * elflink.c (check_dynsym): New. (elf_link_output_extsym): Use it. (bfd_elf_final_link): Likewise.
2006-04-052006-04-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+27
PR ld/2404 * elflink.c (_bfd_elf_merge_symbol): Skip the default indirect symbol from the dynamic definition with the default version if its type and the type of existing regular definition mismatch.
2006-04-05bfd/Richard Sandiford36-68/+956
* config.bfd (sparc-*-vxworks*): New stanza. * configure.in (bfd_elf32_sparc_vxworks_vec): New stanza. (bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo. * configure: Regenerate. * elf32-sparc.c: Include elf-vxworks.h. (elf32_sparc_vxworks_link_hash_table_create: New. (elf32_sparc_vxworks_final_write_processing): New. (TARGET_BIG_SYM): Override for VxWorks. (TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise. (bfd_elf32_bfd_link_hash_table_create): Likewise. (elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise. (elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise. (elf_backend_link_output_symbol_hook): Likewise. (elf_backend_emit_relocs): Likewise. (elf_backend_final_write_processing, elf32_bed): Likewise. * elfxx-sparc.c: Include libiberty.h and elf-vxworks.h. (sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New. (sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New. (_bfd_sparc_elf_link_hash_table_create): Don't initialize build_plt_entry here. (create_got_section): Initialize sgotplt for VxWorks. (_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry, plt_header_size and plt_entry_size, with new VxWorks-specific settings. Call elf_vxworks_create_dynamic_sections for VxWorks. (allocate_dynrelocs): Use plt_header_size and plt_entry_size. Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks. (_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt for VxWorks. Check for the .got.plt section. (sparc_vxworks_build_plt_entry): New function. (_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs. Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_ absolute on VxWorks. (sparc32_finish_dyn): Add special handling for DT_RELASZ and DT_PLTGOT on VxWorks. (sparc_vxworks_finish_exec_plt): New. (sparc_vxworks_finish_shared_plt): New. (_bfd_sparc_elf_finish_dynamic_sections): Call them. Use plt_header_size and plt_entry_size. * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks, srelplt2, sgotplt, plt_header_size and plt_entry_size fields. * Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h. (elf32-sparc.lo): Likewise. * Makefile.in: Regenerate. * targets.c (bfd_elf32_sparc_vxworks_vec): Declare. (_bfd_target_vector): Add a pointer to it. gas/ * config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS. (GOTT_BASE, GOTT_INDEX): New. (tc_gen_reloc): Don't alter relocations against GOTT_BASE and GOTT_INDEX when generating VxWorks PIC. * configure.tgt (sparc*-*-vxworks*): Remove this special case; use the generic *-*-vxworks* stanza instead. gas/testsuite/ * gas/sparc/vxworks-pic.s, gas/sparc/vxworks-pic.d: New test. * gas/sparc/sparc.exp: Run it. Remove sparc*-*-vxworks* XFAILs. ld/ * configure.tgt (sparc*-*-vxworks*): New stanza. * emulparams/elf32_sparc_vxworks.sh: New file. * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o. (eelf32_sparc_vxworks.c): New rule. * Makefile.in: Regenerate. ld/testsuite/ * ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd, * ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd, * ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s, * ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s, * ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests. * ld-sparc/sparc.exp: Run them.
2006-04-05 * lib/ld-lib.exp: Comment cleanups.Ben Elliston2-44/+26
2006-04-05daily updateAlan Modra1-1/+1
2006-04-05*** empty log message ***gdbadmin1-1/+1
2006-04-04 * gdb.base/float.exp: Add pattern for sparc targets.David S. Miller2-0/+6
2006-04-04 * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update forDavid S. Miller2-3/+7
new includes.
2006-04-04 * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.oDavid S. Miller5-2/+71
* config/linux64.h (NATDEPFILES): Likewise * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): New. * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): New.
2006-04-04 * Makefile.in (elf_common_h): Define.Andreas Schwab2-0/+5
2006-04-04 * ldlang.c (lang_map): Print the list of discarded input sections.Eric Botcazou2-6/+35
(print_input_section): Change parameter and print zero-sized sections. (print_statement): Adjust call to print_input_section.
2006-04-04 PR 997Alan Modra4-7/+77
* frags.c (frag_offset_fixed_p): New function. * frags.h (frag_offset_fixed_p): Declare. * expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction. (resolve_expression): Likewise.
2006-04-04daily updateAlan Modra1-1/+1
2006-04-04*** empty log message ***gdbadmin1-1/+1
2006-04-03 * config/tc-xtensa.c (init_op_placement_info_table): Check for formatsBob Wilson2-2/+10
of the same length but different numbers of slots.
2006-04-032006-04-03 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs3-0/+59
* sh-tdep.c (sh_dwarf2_frame_init_reg): New function. (sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
2006-04-03 * sim/cris/hw: New directory for subdirectories with tests.Hans-Peter Nilsson22-0/+986
* sim/cris/hw/rv-n-cris: New directory with tests.
2006-04-03 * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.Hans-Peter Nilsson14-13/+2649
* cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting. (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules. (all): Depend on rvdummy$(EXEEXT). * cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE, default off. * cris/configure: Regenerate. * cris/cris-sim.h (cris_have_900000xxif): Declare here. (enum cris_interrupt_type, crisv10deliver_interrupt) (crisv32deliver_interrupt: New declarations. * cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call sim_events_tickn and set state-events member work_pending when it's time for the next event. [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific interrupt-delivery function. * cris/crisv10f.c (MY (deliver_interrupt)): New function. * cris/crisv32f.c (MY (deliver_interrupt)): New function. * cris/devices.c: Include hw-device.h. (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer. (device_io_write_buffer): Only perform 0x900000xx-functions if cris_have_900000xxif is nonzero. Else if WITH_HW defined, call hw_io_write_buffer. Add return 0 last in function. * cris/sim-if.c (cris_have_900000xxif): Now global. (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member. Force "-model" option, effectively. * cris/sim-main.h (cris_interrupt_delivery_fn): New type. (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
2006-04-03*** empty log message ***gdbadmin1-1/+1
2006-04-03daily updateAlan Modra1-1/+1
2006-04-02 * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.Hans-Peter Nilsson2-4/+8
(CRISV32F_OBJS): Remove semcrisv32f-switch.o. (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
2006-04-02 * sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.Hans-Peter Nilsson2-8/+14
(testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto. Correct syntax.
2006-04-02 * sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Widen regexp forHans-Peter Nilsson3-4/+9
stack pointer values.
2006-04-02daily updateAlan Modra1-1/+1
2006-04-02*** empty log message ***gdbadmin1-1/+1
2006-04-01 * deffilep.y (def_image_name): If LIBRARY or NAME statementDanny Smith3-17/+33
specifies an empty string, retain the name specified on command line. * ld.texinfo: Document above
2006-04-01*** empty log message ***gdbadmin1-1/+1
2006-04-01daily updateAlan Modra1-1/+1
2006-03-31merge from gccDJ Delorie2-258/+335
2006-03-312006-03-31 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+8
* gdb.texinfo: Update copyright dates.
2006-03-31Fix last change.Eli Zaretskii1-1/+1
2006-03-31 * gdb.texinfo (Overview): Add an index entry to "empty response".Eli Zaretskii2-0/+5
2006-03-31 * pdp11-opc.c (pdp11_opcodes): Fix opcode for SEC instruction.Alan Modra2-2/+6
2006-03-31 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. IfJakub Jelinek2-12/+15
bfd_find_nearest_line succeeded for %C or %D, but filename is NULL, print section+offset at the end.
2006-03-312006-03-31 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs3-1/+47
* value.h (struct internalvar): Add field 'endian'. * value.c (lookup_internalvar): Initialise endian. (value_of_internalvar): Flip the endian of built-in types if required. (set_internalvar): Set the endian. (show_convenience): Access the value through value_of_internalvar().
2006-03-31 PR binutils/1860Ben Elliston3-4/+10
* configure.in: Require makeinfo 4.4 or higher. * configure: Regenerate.
2006-03-31daily updateAlan Modra1-1/+1
2006-03-31*** empty log message ***gdbadmin1-1/+1
2006-03-302006-03-30 Vladimir Prus <ghost@cs.msu.su>Daniel Jacobowitz2-3/+8
* remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum instead of hardcoded integer literals.
2006-03-30gdb/Daniel Jacobowitz4-1/+35
* cli/cli-script.c (insert_args): Handle NULL user_args. gdb/testsuite/ * gdb.base/commands.exp (stray_arg0_test): New test.
2006-03-30 * arm-tdep.c (thumb_scan_prologue): Don't try to analyzeDaniel Jacobowitz2-3/+8
the function at zero if we have no symbols.
2006-03-30 * i386-stub.c (getpacket): Fix array overflow.Daniel Jacobowitz6-5/+13
* m32r-stub.c (getpacket): Likewise. * m68k-stub.c (getpacket): Likewise. * sh-stub.c (getpacket): Likewise. * sparc-stub.c (getpacket): Likewise.
2006-03-30 * frame.h (set_current_sal_from_frame): New prototype.Daniel Jacobowitz4-3/+19
* stack.c (set_current_sal_from_frame): Make global. * infrun.c (normal_stop): Call set_current_sal_from_frame.
2006-03-30 * linux-thread-db.c: Include "linux-nat.h".Daniel Jacobowitz5-42/+57
(check_for_thread_db): New function, split out from thread_db_new_objfile. Remove dead check for active thread_db on inapplicable targets. (thread_db_new_objfile): Call check_for_thread_db. * Makefile.in (linux-thread-db.o): Update. * linux-nat.c (child_post_attach): Call check_for_thread_db. (linux_child_post_startup_inferior): Likewise. (lin_lwp_attach_lwp): Call target_post_attach instead of child_post_attach. * linux-nat.h (check_for_thread_db): New prototype.
2006-03-30 * remote.c (struct remote_state): Add BUF and BUF_SIZE.Daniel Jacobowitz4-222/+322
(init_remote_state): Initialize the new fields. (get_memory_packet_size): Update BUF and BUF_SIZE if necessary. (set_thread, remote_thread_alive, remote_unpack_thread_info_response) (remote_get_threadinfo, parse_threadlist_response) (remote_get_threadlist, remote_current_thread, remote_threads_info) (remote_threads_extra_info, extended_remote_restart, get_offsets) (remote_check_symbols, remote_open_1, remote_detach) (remove_vcont_probe, remote_vcont_resume, remote_resume) (remote_wait, remote_async_wait, fetch_register_using_p) (remote_fetch_registers, store_register_using_P) (remote_store_registers, check_binary_download, remote_write_bytes) (remote_read_bytes, remote_insert_breakpoint) (remote_remove_breakpoint, remote_insert_watchpoint) (remote_remove_watchpoint, remote_insert_hw_breakpoint) (remote_remove_hw_breakpoint, compare_sections_command) (remote_xfer_partial, remote_rcmd, packet_command) (remote_get_thread_local_address): Use the global incoming buffer instead of alloca or xmalloc. Limit outgoing packets to rs->remote_packet_size and incoming packets to rs->buf_size. Update calls to getpkt and remote_send. (remote_send): Take arguments by reference. (putpkt_binary): Eliminate junkbuf. Use skip_frame. (skip_frame): New function. (read_frame): Take arguments by reference. Expand the packet buffer instead of issuing an error. (getpkt, getpkt_sane): Take arguments by reference. * remote.h (getpkt): Update prototype and doc. * tracepoint.c (remote_get_noisy_reply): Take arguments by reference. (target_buf): Change from array to pointer. (target_buf_size): New variable. (remote_set_transparent_ranges): Update call to getpkt. (trace_start_command, trace_stop_command, trace_status_command): Update calls to remote_get_noisy_reply. (finish_tfind_command): Take arguments by reference. (trace_find_command, trace_find_pc_command) (trace_find_tracepoint_command, trace_find_line_command): (trace_find_range_command, trace_find_outside_command): Update calls to finish_tfind_command. (_initialize_tracepoint): Initialize target_buf_size and target_buf.