OSDN Git Service
Ulrich Weigand [Tue, 24 Jul 2007 12:49:24 +0000 (12:49 +0000)]
* target.c (memory_xfer_partial): Accesses to unmapped overlay
sections should always go to the executable file.
Alan Modra [Tue, 24 Jul 2007 08:09:20 +0000 (08:09 +0000)]
* elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook,
_bfd_elf_merge_sections, _bfd_elf_link_hash_newfunc,
_bfd_elf_link_hash_copy_indirect, _bfd_elf_link_hash_hide_symbol,
_bfd_elf_link_hash_table_init, _bfd_elf_link_hash_table_create,
bfd_elf_set_dt_needed_name, bfd_elf_get_dyn_lib_class,
bfd_elf_set_dyn_lib_class, bfd_elf_get_needed_list,
bfd_elf_get_runpath_list, bfd_elf_get_dt_soname,
bfd_elf_get_bfd_needed_list, struct elf_symbuf_symbol,
struct elf_symbuf_head, struct elf_symbol, elf_sort_elf_symbol,
elf_sym_name_compare, elf_create_symbuf,
bfd_elf_match_symbols_in_sections,
_bfd_elf_match_sections_by_type): Move to here..
* elf.c: ..from here.
gdbadmin [Tue, 24 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 24 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
Kevin Buettner [Mon, 23 Jul 2007 22:53:27 +0000 (22:53 +0000)]
* lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
to restarting SID.
DJ Delorie [Mon, 23 Jul 2007 18:01:25 +0000 (18:01 +0000)]
merge from gcc
Richard Sandiford [Mon, 23 Jul 2007 09:56:19 +0000 (09:56 +0000)]
bfd/
* elflink.c (_bfd_elf_fix_symbol_flags): Only assert the type
of weakdef->root.type if weakdef has no regular definition.
ld/testsuite/
* ld-elf/weak-dyn-1a.s, ld-elf/weak-dyn-1b.s, ld-elf/weak-dyn-1.ld,
* ld-elf/weak-dyn-1.rd: New test.
* ld-elf/elf.exp: Run it.
Alan Modra [Mon, 23 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 23 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Adam Nemet [Sun, 22 Jul 2007 16:45:06 +0000 (16:45 +0000)]
* elfxx-mips.c (struct mips_elf_link_hash_table): Add new field
small_data_overflow_reported.
(_bfd_mips_elf_link_hash_table_create): Initialize it.
(_bfd_mips_elf_relocate_section) <bfd_reloc_overflow>: Report
small-data section overflow.
Alan Modra [Sun, 22 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 22 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sat, 21 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 21 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update
Maciej W. Rozycki [Fri, 20 Jul 2007 17:29:59 +0000 (17:29 +0000)]
* mips-tdep.c (heuristic_proc_start): Add more MIPS16 function
prologue instructions.
Maciej W. Rozycki [Fri, 20 Jul 2007 15:31:56 +0000 (15:31 +0000)]
* mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of
a direct test.
Maciej W. Rozycki [Fri, 20 Jul 2007 15:19:39 +0000 (15:19 +0000)]
* mips-tdep.c (fetch_mips_16): Fix typos and reformat the
description.
gdbadmin [Fri, 20 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 20 Jul 2007 00:00:07 +0000 (00:00 +0000)]
daily update
Nick Clifton [Thu, 19 Jul 2007 16:51:10 +0000 (16:51 +0000)]
PR binutils/4797
* dwarf2.c: (find_line) Do not dereference functionname_ptr if do_line is true.
Nick Clifton [Thu, 19 Jul 2007 16:23:47 +0000 (16:23 +0000)]
PR binutils/4801
* maxq-dis.c (get_reg_name): Fix the scan of the mem_access_syntax_table.
Kevin Buettner [Thu, 19 Jul 2007 00:46:45 +0000 (00:46 +0000)]
* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
prior to `gdb_start'.
Kevin Buettner [Thu, 19 Jul 2007 00:41:27 +0000 (00:41 +0000)]
* config/sid.exp (gdb_load): Add test for empty argument. Adjust
return value to be compatible with gdb_run_cmd in lib/gdb.exp.
Remove call to gdb_unload.
Alan Modra [Thu, 19 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 19 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Wed, 18 Jul 2007 21:06:06 +0000 (21:06 +0000)]
* elf32-xtensa.c (xtensa_callback_required_dependence): Ignore
non-ELF sections.
Bob Wilson [Wed, 18 Jul 2007 18:52:30 +0000 (18:52 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.
Bob Wilson [Wed, 18 Jul 2007 18:23:47 +0000 (18:23 +0000)]
* elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section
vma and size for dynamic tags from the output sections.
Pedro Alves [Wed, 18 Jul 2007 12:36:51 +0000 (12:36 +0000)]
* remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc
instead of on tmp_desc.
Alan Modra [Wed, 18 Jul 2007 11:23:37 +0000 (11:23 +0000)]
* elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx".
* elf.c (bfd_section_from_r_symndx): Don't cache bfd section of
symbol. Instead cache ELF section index. Remove redundant
checks of st_shndx.
gdbadmin [Wed, 18 Jul 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 18 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update
DJ Delorie [Tue, 17 Jul 2007 18:05:02 +0000 (18:05 +0000)]
merge from gcc
Nick Clifton [Tue, 17 Jul 2007 13:50:23 +0000 (13:50 +0000)]
* COPYING3: New file. Contains version 3 of the GNU General Public License.
* COPYING3.LIB: New file. Contains version 3 of the GNU Lesser General Public License.
Daniel Jacobowitz [Tue, 17 Jul 2007 12:51:41 +0000 (12:51 +0000)]
2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
Daniel Jacobowitz <dan@codesourcery.com>
* config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
* coff-pe-read.c (read_pe_exported_syms): Delete verbose
printf.
* NEWS: Mention gdbserver DLL support.
* gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
for __WIN32__.
(SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
* gdb.base/unload.exp: Use shared library test routines.
* inferiors.c (all_dlls, dlls_changed, get_dll): New.
(add_thread): Minor cleanups.
(clear_inferiors): Move lower in the file. Clear the DLL
list.
(free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New.
* remote-utils.c (prepare_resume_reply): Check dlls_changed.
(xml_escape_text): New.
* server.c (handle_query): Handle qXfer:libraries:read. Report it
for qSupported.
(handle_v_cont): Report errors.
(gdbserver_version): Update.
(main): Correct size of own_buf. Do not report initial DLL events.
* server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll)
(unloaded_dll, xml_escape_text): New.
* win32-low.c (enum target_waitkind): Update comments.
(win32_add_one_solib, get_image_name, winapi_EnumProcessModules)
(winapi_GetModuleInformation, winapi_GetModuleFileNameExA)
(win32_EnumProcessModules, win32_GetModuleInformation)
(win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name)
(winapi_CreateToolhelp32Snapshot, winapi_Module32First)
(winapi_Module32Next, win32_CreateToolhelp32Snapshot)
(win32_Module32First, win32_Module32Next, load_toolhelp)
(toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New.
(get_child_debug_event): Handle DLL events.
(win32_wait): Likewise.
Daniel Jacobowitz [Tue, 17 Jul 2007 12:46:35 +0000 (12:46 +0000)]
* dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.
Alan Modra [Tue, 17 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 17 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Mon, 16 Jul 2007 19:16:44 +0000 (19:16 +0000)]
gas/testsuite/
2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/simd.s: Add tests for punpcklbw, punpckldq,
punpcklwd and punpcklqdq.
* gas/i386/x86-64-simd.s: Likewise.
* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.
opcodes/
2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (EMq): Removed.
(EMx): New.
(prefix_user_table): Replace EMq with EMx.
H.J. Lu [Mon, 16 Jul 2007 18:34:50 +0000 (18:34 +0000)]
2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
* i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
warning bug.
Nick Clifton [Mon, 16 Jul 2007 10:11:01 +0000 (10:11 +0000)]
Update Dutch opcodes translation.
Add new Ukranian binutils translation.
Alan Modra [Mon, 16 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 16 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Mike Frysinger [Sun, 15 Jul 2007 06:33:34 +0000 (06:33 +0000)]
* trad-core.c (NBPG): If not defined, set to getpagesize().
Alan Modra [Sun, 15 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 15 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Sat, 14 Jul 2007 00:15:50 +0000 (00:15 +0000)]
* mep-tdep.c (mep_analyze_prologue): Update comment for BRA
instruction case.
Alan Modra [Sat, 14 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 14 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Fri, 13 Jul 2007 18:23:23 +0000 (18:23 +0000)]
merge from gcc
Roland McGrath [Fri, 13 Jul 2007 10:44:44 +0000 (10:44 +0000)]
.
Roland McGrath [Fri, 13 Jul 2007 10:44:12 +0000 (10:44 +0000)]
2007-07-13 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_obj_tdata): Revert last change.
Add after_write_object_contents, after_write_object_contents_info.
* elf.c (_bfd_elf_write_object_contents): Revert last change.
Instead, call after_write_object_contents if set.
gdbadmin [Fri, 13 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Fri, 13 Jul 2007 00:00:15 +0000 (00:00 +0000)]
* mep-tdep.c (IS_BRA, BRA_DISP): New macros.
(mep_analyze_prologue): Add case for BRA instruction.
Alan Modra [Fri, 13 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update
Ulrich Weigand [Thu, 12 Jul 2007 20:15:24 +0000 (20:15 +0000)]
* solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
Daniel Jacobowitz [Thu, 12 Jul 2007 19:59:00 +0000 (19:59 +0000)]
* configure.srv: Set srv_linux_regsets for sh*-*-linux*.
* linux-sh-low.c (sh_fill_gregset, target_regsets): New.
Hans-Peter Nilsson [Thu, 12 Jul 2007 13:30:24 +0000 (13:30 +0000)]
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
work-a-round whitespace problem in gcc gengtype.
Bernd Schmidt [Thu, 12 Jul 2007 11:51:39 +0000 (11:51 +0000)]
* configure.ac: Fix my previous change to really match GCC.
* configure: Regenerate.
Nick Roberts [Thu, 12 Jul 2007 07:58:38 +0000 (07:58 +0000)]
*** empty log message ***
Nick Roberts [Thu, 12 Jul 2007 07:57:57 +0000 (07:57 +0000)]
(Server Prefix): New node. Adapt from existing node
in annotate.texinfo.
(Command History): Link to new node.
Nick Clifton [Thu, 12 Jul 2007 07:28:27 +0000 (07:28 +0000)]
Updated Vietnamese and Dutch translations
Nick Clifton [Thu, 12 Jul 2007 07:16:41 +0000 (07:16 +0000)]
Add support for building on a 64-bit Windows host.
DJ Delorie [Thu, 12 Jul 2007 03:10:12 +0000 (03:10 +0000)]
merge from gcc
Alexandre Oliva [Thu, 12 Jul 2007 02:24:41 +0000 (02:24 +0000)]
* maint-tool (deps): Output stamp-h instead of config.h.
* Makefile.in: Rebuild deps.
(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
Alan Modra [Thu, 12 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 12 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Wed, 11 Jul 2007 19:12:27 +0000 (19:12 +0000)]
Merge from gcc:
2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Rewrite 'configure --help' strings to look nicer.
* configure: Regenerate.
2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Add some missing m4 quotation.
* configure: Regenerate.
H.J. Lu [Wed, 11 Jul 2007 19:09:22 +0000 (19:09 +0000)]
2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
* tls.m4 (GCC_CHECK_CC_TLS): New.
2007-07-05 Sebastian Pop <sebpop@gmail.com>
PR bootstrap/32622
* mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer,
don't reset its value.
Alan Modra [Wed, 11 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 11 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Nick Roberts [Tue, 10 Jul 2007 22:59:42 +0000 (22:59 +0000)]
Include "top.h".
(breakpoint_1): Don't set convenience variable $_ if server prefix
is used.
(_initialize_breakpoint): Describe this behaviour in command help.
Nick Roberts [Tue, 10 Jul 2007 22:58:42 +0000 (22:58 +0000)]
*** empty log message ***
H.J. Lu [Tue, 10 Jul 2007 15:03:03 +0000 (15:03 +0000)]
2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in: Regenerated.
H.J. Lu [Tue, 10 Jul 2007 13:49:04 +0000 (13:49 +0000)]
2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4756
* simple.c (bfd_simple_get_relocated_section_content): Don't
apply relocation on executable and shared library.
Nathan Sidwell [Tue, 10 Jul 2007 07:42:30 +0000 (07:42 +0000)]
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate
copy relocs on vxworks.
Alan Modra [Tue, 10 Jul 2007 04:08:12 +0000 (04:08 +0000)]
* elf32-arm.c (elf32_arm_size_info): Init checksum_contents field.
* elf64-alpha.c (alpha_elf_size_info): Likewise.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-mips.c (mips_elf64_size_info): Likewise.
* elf64-s390.c (s390_elf64_size_info): Likewise.
* elf64-sparc.c (elf64_sparc_size_info): Likewise.
H.J. Lu [Tue, 10 Jul 2007 02:40:31 +0000 (02:40 +0000)]
2007-07-09 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (bfd_elf_record_link_assignment): Handle indirect
symbol.
(_bfd_elf_merge_symbol): Properly update normal symbol when
overriding the versioned symbol from a dynamic library.
Alan Modra [Tue, 10 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 10 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Roland McGrath [Mon, 9 Jul 2007 21:23:51 +0000 (21:23 +0000)]
.
Roland McGrath [Mon, 9 Jul 2007 21:23:43 +0000 (21:23 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.
Roland McGrath [Mon, 9 Jul 2007 21:23:39 +0000 (21:23 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.
* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.
Roland McGrath [Mon, 9 Jul 2007 21:23:37 +0000 (21:23 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.
Roland McGrath [Mon, 9 Jul 2007 21:21:42 +0000 (21:21 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* bfdlink.h (struct bfd_link_info): Add member emit_note_gnu_build_id.
Roland McGrath [Mon, 9 Jul 2007 21:17:42 +0000 (21:17 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
Nick Clifton [Mon, 9 Jul 2007 09:16:05 +0000 (09:16 +0000)]
Import patch from FSF gcc sources to add support for building windmc tool.
Alan Modra [Mon, 9 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 9 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Pedro Alves [Sun, 8 Jul 2007 19:37:46 +0000 (19:37 +0000)]
* win32-low.c (handle_output_debug_string): Ignore event if not
waiting.
Pedro Alves [Sun, 8 Jul 2007 19:31:11 +0000 (19:31 +0000)]
* solib-target.c (library_list_start_segment): Cast address to
CORE_ADDR.
Pedro Alves [Sun, 8 Jul 2007 00:25:30 +0000 (00:25 +0000)]
* win32-arm-low.c (arm_wince_breakpoint): Fix typo.
gdbadmin [Sun, 8 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 8 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 7 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 7 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Fri, 6 Jul 2007 14:35:50 +0000 (14:35 +0000)]
2007-07-06 Mark Kettenis <kettenis@gnu.org>
H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
(ia64-asmtab.c): Likewise.
* Makefile.in: Regenerate.
Mark Kettenis [Fri, 6 Jul 2007 11:39:44 +0000 (11:39 +0000)]
* bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs
for terminated processes.
Nick Clifton [Fri, 6 Jul 2007 11:13:56 +0000 (11:13 +0000)]
Update tp GPLv3
Alan Modra [Fri, 6 Jul 2007 02:29:10 +0000 (02:29 +0000)]
* elflink.c (elf_link_add_object_symbols): Return via
error_free_vers on "notice" failure.