public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-fedora15: Merge remote-tracking branch 'origin/archer-jankratochvil-ifunc' into archer-jankratochvil-fedora15
@ 2011-02-22 23:09 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2011-02-22 23:09 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-fedora15 has been updated
       via  691a5a1b3015e2199040ead20cc85bc277af14e3 (commit)
       via  683d8cd1d8c609e79f1d7c8038eefd7d9555c1df (commit)
       via  0fdcb256a6743948305dd8567cbbd6efd4ed345c (commit)
       via  f30e3b84a39142b1284f30d6bba8527954f1e79c (commit)
       via  e3a8b33d279ceefec3d9400ea27604a65dcaf34d (commit)
       via  e73fbf223a54e47f99c1a3c897e45809f5bd78e5 (commit)
       via  d937037301e40716bd65b32d0296d91824874bbd (commit)
       via  e6401d52cc93dad698d924a430ebdc1295851fba (commit)
       via  9edef16cec41bc434dbae109ddba50c4bebe1ff4 (commit)
       via  6eea50e56d1513d7bd3ce4b6fcef7b04655865d9 (commit)
       via  365d63b832aa8b2453ae06f0d683abb1cb41afa9 (commit)
       via  ffe0466834c4e5186560451ed14f8f8ce5d2b4b3 (commit)
       via  49001b4fddfcffcce7479969494f421af203fe6c (commit)
       via  8cbcaaf7074652836d7180d09a672217b8c7f830 (commit)
       via  7970371c5937ee3eba41b8fc72cde55bb5dab216 (commit)
       via  3aaec028253ae8efaab36e9d25cb1cd33aaf9ec3 (commit)
       via  fcbfed09c4cf9172c609ba576004ceccf6fb4240 (commit)
       via  f8328c019fa3d1289cba7638622f23f6a243ecb5 (commit)
       via  fee1c4201a04318909d343e5494a1d2be0537789 (commit)
       via  2e7b883f5e066072662904d0c17a6297655f3033 (commit)
       via  51663a8310713580f59e3a222bfe73e6096236dc (commit)
       via  8c12a273d73786c32a8a0dd2a3f8f352f8b687a6 (commit)
       via  f49c3f2f3973e0f6b0c639efff4120799ef4f647 (commit)
       via  745bf96b0bd2b2dc7dc6526e938de3713d4ae093 (commit)
       via  e19abaa89e01e07b3cb0cc16b822f232e39e415c (commit)
       via  30aedc58ccd6255776ad3831284f1e5b19d4e01b (commit)
       via  dd3f1356fc2e6ddae18b8b6546f1917044d69869 (commit)
       via  0c45489a6b7c9326056f264e12f9492e126ea51f (commit)
       via  4d92d16206a7d0b937a99e411f4736211b721170 (commit)
       via  a952e3efc0bfe5a411d1ab1d5cd9cd4481a018e3 (commit)
       via  516f41a9b45b2e850451281b99845e7d8715eb51 (commit)
       via  c2a331df48eb76888a60c8598ec85396089eed73 (commit)
       via  2b9e872152e4d85fd7a8dd15cd8375ada410c5d8 (commit)
       via  0bc3930dd359f4e7d15ef37e806d84719529a108 (commit)
       via  0b0b05ff3863e6c52f28c6d1a7ee29d49349eddd (commit)
       via  8124578162a4eb352cc0e837b7f62e0297a99b33 (commit)
       via  7b8ddd06ebf96750bc5f72a1d295d0282b80facf (commit)
       via  09363f5ea451879d3bc391b32385a58c58021ebb (commit)
       via  268d2c044a1e1bbde23724f91236b275bb811956 (commit)
       via  88ca8b945d57e4df2c44ca3539de319183bb878a (commit)
       via  ecee1943ae80a7c215f0d5d481608af688e94838 (commit)
       via  831a4c272727ced21904659824e78d549ba1f222 (commit)
       via  9132aac991426fff40ff1fbed0f5d7e64f94d016 (commit)
       via  9cbfaabf390f34dcfdb38d7595d532596765ed41 (commit)
       via  a6dfc450b0461cca9f6ca98a325b6d6a0aecf4b1 (commit)
       via  a9b923be818b16b33ce92cdbf4a8cd2a1e4f759d (commit)
       via  1f0a29fbeaaf2fa576ed85db8c510975eb3edbaa (commit)
       via  5747263b3bfb67dc5dee5206d222c0411b85676a (commit)
       via  ccc6aa8f21f40a05896c8e811a62a024348300e2 (commit)
       via  b0ee80ffd78aaf4e8ab72de38bc5c98dcabaa78c (commit)
       via  d62706551da523c98e6936b77f84255d307afd9a (commit)
       via  6a65203d0660bc79b23917d5a8c0f9b08d433077 (commit)
       via  3202d6bde91167e1e4ae489f5bc373ce15c36f3f (commit)
       via  24b95a2196232300295b011167df4c0ac0d876ab (commit)
       via  d4d5a807ff23674ea8b4a4a8d214bd3af2f97007 (commit)
       via  1aec1a5a0e339ec0d67056ac95ea1a2b5a2ee20d (commit)
       via  5a9b0f85beaea772578661c6ce9f4b9684ad303f (commit)
       via  eaad3106d6f1785d4dbf13d6b0b265a8c79a7a8c (commit)
       via  a74d7e323498f3235ad3fe84b9ae5e5547f26f8e (commit)
       via  b928c0d60394697b23e0f5fc8d1bd62c0fe69060 (commit)
       via  f7673a7c0b56aec74cddcbaeff55f296c24696a4 (commit)
       via  8460985beb6e1828416d4b9e066fa065c8e323f1 (commit)
       via  fa9bddafa6b5632f2b4a50974e6a37172aea6767 (commit)
       via  f5bb8009c0d670ffb05e13c325e25eb8abf6f53f (commit)
       via  c2254dc0856431456150b80643ae0ec233c09949 (commit)
       via  9f860a970b3c670c4b121b7c566ee0f8247fea04 (commit)
       via  a0ddb03298e57288dd203190b14a7f24e0f55cf7 (commit)
       via  c7b422348d8148843af168bc842a7a35d78e9ce4 (commit)
       via  4dcb8a2010af486176b4f3e7e19738405040f4c1 (commit)
      from  271b14253f10eea8c60a327c63dbe732a2af511a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 691a5a1b3015e2199040ead20cc85bc277af14e3
Merge: 683d8cd e73fbf2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Feb 23 00:09:31 2011 +0100

    Merge remote-tracking branch 'origin/archer-jankratochvil-ifunc' into archer-jankratochvil-fedora15

commit 683d8cd1d8c609e79f1d7c8038eefd7d9555c1df
Merge: 0fdcb25 f30e3b8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Feb 23 00:09:26 2011 +0100

    Merge remote-tracking branch 'origin/archer-jankratochvil-watchpoint3' into archer-jankratochvil-fedora15

commit 0fdcb256a6743948305dd8567cbbd6efd4ed345c
Merge: 271b142 e3a8b33
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Feb 23 00:09:05 2011 +0100

    Merge remote-tracking branch 'origin/archer-tromey-python' into archer-jankratochvil-fedora15
    
    Conflicts:
    	gdb/breakpoint.c

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                      |    5 +
 bfd/elf32-m68k.c                                   |    7 +-
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  230 ++++++++
 gdb/Makefile.in                                    |   21 +-
 gdb/arm-linux-nat.c                                |  580 ++++++++++++++++++++
 gdb/arm-linux-tdep.c                               |   10 +-
 gdb/arm-tdep.c                                     |   42 +-
 gdb/arm-tdep.h                                     |    9 +-
 gdb/ax-gdb.c                                       |   59 ++
 gdb/ax-gdb.h                                       |    2 +
 gdb/ax-general.c                                   |  118 +++--
 gdb/ax.h                                           |   67 +--
 gdb/breakpoint.c                                   |  237 +-------
 gdb/breakpoint.h                                   |    6 +-
 gdb/c-valprint.c                                   |    2 +-
 gdb/cli/cli-dump.c                                 |   11 +-
 gdb/cli/cli-dump.h                                 |    2 -
 gdb/cli/cli-utils.c                                |  212 +++++++
 gdb/cli/cli-utils.h                                |   68 +++
 gdb/common/Makefile.in                             |    7 +-
 gdb/common/ax.def                                  |   93 ++++
 gdb/cp-support.c                                   |    6 +-
 gdb/doc/ChangeLog                                  |    9 +
 gdb/doc/agentexpr.texi                             |   17 +
 gdb/doc/gdb.texinfo                                |    6 +
 gdb/dwarf2loc.c                                    |   26 +-
 gdb/frame-unwind.h                                 |    4 +-
 gdb/gdbserver/ChangeLog                            |   20 +
 gdb/gdbserver/Makefile.in                          |    4 +-
 gdb/gdbserver/tracepoint.c                         |  181 +++----
 gdb/gdbthread.h                                    |    2 +-
 gdb/language.c                                     |    7 +-
 gdb/mi/mi-main.c                                   |   11 +-
 gdb/opencl-lang.c                                  |  186 ++-----
 gdb/p-valprint.c                                   |    2 +-
 gdb/printcmd.c                                     |  111 +++--
 gdb/{cli/cli-dump.h => printcmd.h}                 |   29 +-
 gdb/remote.c                                       |    6 +-
 gdb/reverse.c                                      |   86 ++--
 gdb/ser-mingw.c                                    |   26 +-
 gdb/symfile.c                                      |   10 -
 gdb/symfile.h                                      |    9 -
 gdb/testsuite/ChangeLog                            |  104 ++++
 gdb/testsuite/Makefile.in                          |   12 +-
 gdb/testsuite/gdb.ada/Makefile.in                  |    3 +-
 gdb/testsuite/gdb.ada/packed_array.exp             |   14 +-
 gdb/testsuite/gdb.arch/Makefile.in                 |    8 +-
 gdb/testsuite/gdb.asm/Makefile.in                  |    4 +-
 gdb/testsuite/gdb.base/Makefile.in                 |   65 ++-
 gdb/testsuite/gdb.base/hbreak.exp                  |    8 +-
 gdb/testsuite/gdb.base/pr11022.exp                 |    6 +-
 gdb/testsuite/gdb.base/watch-read.exp              |    5 +-
 gdb/testsuite/gdb.base/watch_thread_num.exp        |    4 +-
 gdb/testsuite/gdb.base/watchpoint-hw-hit-once.exp  |    8 +-
 gdb/testsuite/gdb.base/watchpoint-hw.exp           |    9 +-
 gdb/testsuite/gdb.base/watchpoint.exp              |    8 +-
 gdb/testsuite/gdb.cell/Makefile.in                 |    2 +-
 gdb/testsuite/gdb.cp/Makefile.in                   |   17 +-
 .../gdb.cp/typedef-operator.cc}                    |   34 +-
 gdb/testsuite/gdb.cp/typedef-operator.exp          |   33 ++
 gdb/testsuite/gdb.disasm/Makefile.in               |    2 +-
 gdb/testsuite/gdb.dwarf2/Makefile.in               |    5 +-
 gdb/testsuite/gdb.fortran/Makefile.in              |    2 +-
 gdb/testsuite/gdb.gdbtk/ChangeLog                  |  367 -------------
 gdb/testsuite/gdb.gdbtk/browser.exp                |   39 --
 gdb/testsuite/gdb.gdbtk/c_variable.exp             |   40 --
 gdb/testsuite/gdb.gdbtk/console.exp                |   40 --
 gdb/testsuite/gdb.gdbtk/cpp_variable.exp           |   46 --
 gdb/testsuite/gdb.gdbtk/srcwin.exp                 |   69 ---
 gdb/testsuite/gdb.gdbtk/windows.exp                |   39 --
 gdb/testsuite/gdb.hp/Makefile.in                   |    2 +-
 gdb/testsuite/gdb.java/Makefile.in                 |    4 +-
 gdb/testsuite/gdb.mi/Makefile.in                   |   17 +-
 gdb/testsuite/gdb.modula2/Makefile.in              |    4 +-
 gdb/testsuite/gdb.multi/Makefile.in                |    2 +-
 gdb/testsuite/gdb.objc/Makefile.in                 |    2 +-
 gdb/testsuite/gdb.opencl/Makefile.in               |    2 +-
 gdb/testsuite/gdb.opt/Makefile.in                  |    2 +-
 gdb/testsuite/gdb.pascal/Makefile.in               |    2 +-
 gdb/testsuite/gdb.python/Makefile.in               |    7 +-
 gdb/testsuite/gdb.python/py-block.exp              |   20 +-
 gdb/testsuite/gdb.python/py-breakpoint.exp         |    9 +-
 gdb/testsuite/gdb.reverse/Makefile.in              |    2 +-
 gdb/testsuite/gdb.server/Makefile.in               |    4 +-
 gdb/testsuite/gdb.stabs/Makefile.in                |    4 +-
 gdb/testsuite/gdb.threads/Makefile.in              |   15 +-
 .../gdb.threads/local-watch-wrong-thread.exp       |    4 +-
 gdb/testsuite/gdb.threads/thread-find.exp          |   49 +-
 gdb/testsuite/gdb.threads/watchthreads-reorder.exp |    5 +-
 gdb/testsuite/gdb.threads/watchthreads.exp         |    4 +-
 gdb/testsuite/gdb.threads/watchthreads2.exp        |    4 +-
 gdb/testsuite/gdb.trace/Makefile.in                |    8 +-
 gdb/testsuite/gdb.xml/Makefile.in                  |    2 +-
 gdb/testsuite/lib/gdb.exp                          |   73 +++
 gdb/thread.c                                       |  111 +---
 gdb/tracepoint.c                                   |   39 ++
 gdb/valarith.c                                     |   12 +-
 gdb/version.in                                     |    2 +-
 opcodes/ChangeLog                                  |   19 +
 opcodes/bfin-dis.c                                 |   84 +--
 101 files changed, 2328 insertions(+), 1727 deletions(-)
 create mode 100644 gdb/cli/cli-utils.c
 create mode 100644 gdb/cli/cli-utils.h
 create mode 100644 gdb/common/ax.def
 copy gdb/{cli/cli-dump.h => printcmd.h} (52%)
 copy gdb/{cli/cli-dump.h => testsuite/gdb.cp/typedef-operator.cc} (50%)
 create mode 100644 gdb/testsuite/gdb.cp/typedef-operator.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/ChangeLog
 delete mode 100644 gdb/testsuite/gdb.gdbtk/browser.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/c_variable.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/console.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/cpp_variable.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/srcwin.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/windows.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1ab968c..a8907a0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-22  Andreas Schwab  <schwab@redhat.com>
+
+	* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
+	relocation read the value from the second GOT slot.
+
 2011-02-15  Tristan Gingold  <gingold@adacore.com>
 
 	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 1d9d6a4..b4f7bc2 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -1,6 +1,6 @@
 /* Motorola 68k series support for 32-bit ELF
    Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-   2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -4390,6 +4390,11 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
 		  break;
 
 		case R_68K_TLS_GD32:
+		  /* The value for this relocation is actually put in
+		     the second GOT slot.  */
+		  relocation = bfd_get_signed_32 (output_bfd,
+						  (sgot->contents
+						   + got_entry_offset + 4));
 		  relocation += dtpoff_base (info);
 		  break;
 
diff --git a/bfd/version.h b/bfd/version.h
index de1fd68..8301ca0 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110217
+#define BFD_VERSION_DATE 20110222
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 42f77a8..79fd478 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,233 @@
+2011-02-22  Tom Tromey  <tromey@redhat.com>
+
+	* language.c (language_class_name_from_physname): Rename
+	'curr_language' argument to 'lang'; use in body.
+
+2011-02-22  Michael Snyder  <msnyder@vmware.com>
+
+	* cli/cli-utils.c (number_is_in_list): Check for zero return.
+
+2011-02-22  Pedro Alves  <pedro@codesourcery.com>
+
+	* frame-unwind.h: Fix comment to mention the this frame, not the
+	next.
+
+2011-02-22  Tom Tromey  <tromey@redhat.com>
+
+	* symfile.c (auto_solib_limit): Remove.
+	* symfile.h (auto_solib_limit): Remove.
+
+2011-02-22  Joel Brobecker  <brobecker@adacore.com>
+
+	* Makefile.in (INSTALLED_LIBS): Delete.  Update comment.
+
+2011-02-21  Michael Snyder  <msnyder@vmware.com>
+
+	* gdbthread.h (print_thread_info): Change prototype.
+	* thread.c (print_thread_info): Accept char* instead of int for
+	requested_threads argument.  Use new function number_is_in_list
+	to determine which threads to list.
+	(info_threads_command): Pass char* to print_thread_info.
+	* cli/cli-utils.c (number_is_in_list): New function.
+	* cli/cli-utils.h (number_is_in_list): Export.
+	* mi/mi-main.c (mi_cmd_thread_info): Pass char* to 
+	print_thread_info.
+	(print_one_inferior): Ditto.
+	(mi_cmd_list_thread_groups): Ditto.
+
+2011-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* common/Makefile.in (CFLAGS): New.
+	(COMPILE): Add $(CFLAGS).
+
+2011-02-21  Tom Tromey  <tromey@redhat.com>
+
+	* breakpoint.c (catch_syscall_command_1): Fix typo.
+
+2011-02-21  Tom Tromey  <tromey@redhat.com>
+
+	* reverse.c: Include cli-utils.h.
+	* printcmd.c: Include cli-utils.h.
+	(string_printf): Use skip_spaces.
+	* cli/cli-utils.h: New file.
+	* cli/cli-utils.c: New file.
+	* cli/cli-dump.h (skip_spaces): Move to cli-utils.h.
+	* cli/cli-dump.c (skip_spaces): Move to cli-utils.c.
+	* breakpoint.h (get_number, get_number_or_range): Move to
+	cli-utils.h.
+	* breakpoint.c: Include cli-utils.h.
+	(get_number_trailer, get_number, get_number_or_range)
+	(ep_skip_leading_whitespace): Move to cli-utils.c.
+	(create_breakpoint_sal, find_condition_and_thread)
+	(decode_static_tracepoint_spec, watch_command_1)
+	(watch_maybe_just_location, ep_parse_optional_if_clause)
+	(catch_fork_command_1, catch_exec_command_1)
+	(catch_syscall_command_1): Use skip_spaces, skip_to_space.
+	* Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o.
+	(SUBDIR_CLI_SRCS): Add cli-utils.c.
+	(HFILES_NO_SRCDIR): Add cli-utils.h.
+	(cli-utils.o): New target.
+
+2011-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID
+	before calling discard_all_inferiors.
+
+2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* opencl-lang.c (STRUCT_OCL_TYPE): Remove.
+	(struct builtin_opencl_type): Remove.
+	(builtin_opencl_type): Change return type to "struct type **".
+	(lookup_opencl_vector_type): Update caller.
+	(opencl_language_arch_info): Copy primitive type vector from gdbarch.
+	(build_opencl_types): Install plain array of "struct type *"
+	instead of "struct builtin_opencl_type".
+
+2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+	    Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
+	(PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
+	(struct arm_linux_hwbp_cap): New type.
+	(arm_linux_get_hwbp_cap): New function.
+	(arm_linux_get_hw_breakpoint_count): Likewise.
+	(arm_linux_get_hw_watchpoint_count): Likewise.
+	(arm_linux_can_use_hw_breakpoint): Likewise.
+	(arm_hwbp_type): New type.
+	(arm_hwbp_control_t): Likewise.
+	(struct arm_linux_hw_breakpoint): Likewise.
+	(struct arm_linux_thread_points): Likewise.
+	(arm_threads): New global variable.
+	(arm_linux_find_breakpoints_by_tid): New function.
+	(arm_hwbp_control_initialize): Likewise.
+	(arm_hwbp_control_is_enabled): Likewise.
+	(arm_hwbp_control_disable): Likewise.
+	(arm_linux_hw_breakpoint_initialize): Likewise.
+	(arm_linux_get_hwbp_type): Likewise.
+	(arm_linux_hw_watchpoint_initialize): Likewise.
+	(arm_linux_hw_breakpoint_equal): Likewise.
+	(arm_linux_insert_hw_breakpoint1): Likewise.
+	(arm_linux_remove_hw_breakpoint1): Likewise.
+	(arm_linux_insert_hw_breakpoint): Likewise.
+	(arm_linux_remove_hw_breakpoint): Likewise.
+	(arm_linux_region_ok_for_hw_watchpoint): Likewise.
+	(arm_linux_insert_watchpoint): Likewise.
+	(arm_linux_remove_watchpoint): Likewise.
+	(arm_linux_stopped_data_address): Likewise.
+	(arm_linux_stopped_by_watchpoint): Likewise.
+	(arm_linux_watchpoint_addr_within_range): Likewise.
+	(arm_linux_new_thread): Likewise.
+	(arm_linux_thread_exit): Likewise.
+	(_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
+	related target callbacks.  Register arm_linux_new_thread and
+	arm_linux_thread_exit.
+	* arm-tdep.h (arm_pc_is_thumb): Add prototype.
+	* arm-tdep.c (arm_pc_is_thumb): Make global.
+	(arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
+
+2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* breakpoint.c (update_watchpoint): Do not attempt to recreate
+	per-frame locations while within a function epilogue.
+
+2011-02-21  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* ser-mingw.c (ser_windows_close): Reformat comment to better conform
+	to GNU coding standards.
+
+2011-02-21  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	Allow use of mingw native on Windows 95 OS.
+	* ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry.
+	(ser_windows_close): Only call CancelIo if function exists.
+	(_initialize_ser_windows): Use LoadLirary/GetProcAddress
+	to check for existence of CancelIo function in kernel32 DLL.
+
+2011-02-21  Hui Zhu  <teawater@gmail.com>
+
+	* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
+	* ax-gdb.c (gen_printf_expr_callback): New function.
+	* ax-gdb.h (gen_printf_expr_callback): Forward declare.
+	* ax-general.c (ax_memcpy): New function.
+	(ax_print): Handle "printf".
+	(ax_reqs): Ditto.
+	* ax.h (ax_memcpy): Forward declare.
+	* common/ax.def (invalid2): Removed.
+	(printf): New entry.
+	* printcmd.c (printcmd.h): New include.
+	(string_printf): New function.
+	(ui_printf): Removed.
+	(printf_command): Remove static.  Call string_printf.
+	(eval_command): Call string_printf.
+	* printcmd.h: New file.
+	* tracepoint.c (validate_actionline,
+	encode_actions_1): handle printf_command.
+
+2011-02-19  Michael Snyder  <msnyder@vmware.com>
+
+	* reverse.c (delete_one_bookmark): Argument is now bookmark
+	id rather than pointer to bookmark struct.
+	(delete_bookmark_command): Use get_number_or_range.
+	(goto_bookmark_command): Parse with get_number instead of strtoul.
+	(bookmark_1): New function.  Print info for one bookmark.
+	(bookmarks_info): Use get_number_or_range and bookmark_1.
+
+2011-02-18  Michael Snyder  <msnyder@vmware.com>
+
+	* thread.c (info_threads_command): Re-implement using 
+	get_number_or_range.
+	(thread_apply_command): Ditto.
+
+2011-02-18  Tom Tromey  <tromey@redhat.com>
+
+	* common/ax.def: New file.
+	* ax.h (enum agent_op): Use ax.def.
+	* ax-general.c (aop_map): Use ax.def.
+
+2011-02-18  Tom Tromey  <tromey@redhat.com>
+
+	* ax-general.c (aop_map): Add pick and rot.
+	* dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
+	<DW_OP_rot>: Implement.
+	* ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
+	(ax_pick): Declare.
+	* ax-general.c (ax_pick): New function.
+
+2011-02-18  Tom Tromey  <tromey@redhat.com>
+
+	* Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
+
+2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
+	    Tom Tromey  <tromey@redhat.com>
+
+	* cp-support.c (make_symbol_overload_list_namespace): Do not call
+	make_symbol_overload_list_block with NULL BLOCK.
+	* valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
+
+2011-02-18  Pedro Alves  <pedro@codesourcery.com>
+
+	* breakpoint.c (get_number_trailer): No longer accept a NULL PP.
+	* breakpoint.h (get_number_or_range): Declare.
+	* printcmd.c (ALL_DISPLAYS): Declare.
+	(delete_display): Reimplement taking a display pointer.
+	(undisplay_command): Accept a range of displays to delete, using
+	get_number_or_range.
+
+2011-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* c-valprint.c (c_val_print): Add embedded_offset to address
+	for arrays of unspecified length.
+	* p-valprint.c (pascal_val_print): Likewise.
+
+2011-02-18  Yao Qi  <yao@codesourcery.com>
+
+	* gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
+	(arm_process_displaced_insn): .. here. Remove parameter INSN.
+	(thumb_process_displaced_insn): New.
+	* gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
+	call to arm_process_displaced_insn.
+	* gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
+
 2011-02-17  Tom Tromey  <tromey@redhat.com>
 
 	* dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 4a17976..7bd1020 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -193,12 +193,12 @@ SUBDIR_CLI_OBS = \
 	cli-dump.o \
 	cli-decode.o cli-script.o cli-cmds.o cli-setshow.o \
 	cli-logging.o \
-	cli-interp.o
+	cli-interp.o cli-utils.o
 SUBDIR_CLI_SRCS = \
 	cli/cli-dump.c \
 	cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \
 	cli/cli-logging.c \
-	cli/cli-interp.c
+	cli/cli-interp.c cli/cli-utils.c
 SUBDIR_CLI_DEPS =
 SUBDIR_CLI_LDFLAGS=
 SUBDIR_CLI_CFLAGS=
@@ -468,13 +468,8 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
 # it doesn't work, then refer to libiberty.
 
 # Libraries and corresponding dependencies for compiling gdb.
-# {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
+# XM_CLIBS, defined in *config files, have host-dependent libs.
 # LIBIBERTY appears twice on purpose.
-# If you have the Cygnus libraries installed,
-# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
-INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty -ldecnumber \
-	$(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
-	-lintl -liberty $(LIBGNU)
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
 	$(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
 	$(LIBEXPAT) \
@@ -767,7 +762,7 @@ exec.h m32r-tdep.h osabi.h gdbcore.h solib-som.h \
 i386bsd-nat.h xml-support.h xml-tdesc.h alphabsd-tdep.h gdb_obstack.h \
 ia64-tdep.h ada-lang.h varobj.h frv-tdep.h nto-tdep.h serial.h \
 c-lang.h d-lang.h frame.h event-loop.h block.h cli/cli-setshow.h	\
-cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h \
+cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h cli/cli-utils.h \
 cli/cli-script.h macrotab.h symtab.h version.h gnulib/wchar.in.h \
 gnulib/string.in.h gnulib/str-two-way.h \
 gnulib/stdint.in.h remote.h gdb.h sparc-nat.h gdbserver/win32-low.h \
@@ -812,8 +807,8 @@ config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
 annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h	\
 remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
 sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
-gdb_usleep.h jit.h xml-syscall.h ada-operator.inc microblaze-tdep.h \
-psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h \
+gdb_usleep.h jit.h xml-syscall.h microblaze-tdep.h \
+psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h printcmd.h \
 python/python.h python/python-internal.h
 
 # Header files that already have srcdir in them, or which are in objdir.
@@ -1763,6 +1758,10 @@ cli-setshow.o: $(srcdir)/cli/cli-setshow.c
 	$(COMPILE) $(srcdir)/cli/cli-setshow.c
 	$(POSTCOMPILE)
 
+cli-utils.o: $(srcdir)/cli/cli-utils.c
+	$(COMPILE) $(srcdir)/cli/cli-utils.c
+	$(POSTCOMPILE)
+
 
 #
 # GDBTK sub-directory
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index e501882..43f4fde 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -26,6 +26,8 @@
 #include "linux-nat.h"
 #include "target-descriptions.h"
 #include "auxv.h"
+#include "observer.h"
+#include "gdbthread.h"
 
 #include "arm-tdep.h"
 #include "arm-linux-tdep.h"
@@ -61,6 +63,11 @@
 #define PTRACE_SETVFPREGS 28
 #endif
 
+#ifndef PTRACE_GETHBPREGS
+#define PTRACE_GETHBPREGS 29
+#define PTRACE_SETHBPREGS 30
+#endif
+
 /* These are in <asm/elf.h> in current kernels.  */
 #define HWCAP_VFP       64
 #define HWCAP_IWMMXT    512
@@ -739,6 +746,564 @@ arm_linux_read_description (struct target_ops *ops)
   return NULL;
 }
 
+/* Information describing the hardware breakpoint capabilities.  */
+struct arm_linux_hwbp_cap
+{
+  gdb_byte arch;
+  gdb_byte max_wp_length;
+  gdb_byte wp_count;
+  gdb_byte bp_count;
+};
+
+/* Get hold of the Hardware Breakpoint information for the target we are
+   attached to.  Returns NULL if the kernel doesn't support Hardware 
+   breakpoints at all, or a pointer to the information structure.  */
+static const struct arm_linux_hwbp_cap *
+arm_linux_get_hwbp_cap (void)
+{
+  /* The info structure we return.  */
+  static struct arm_linux_hwbp_cap info;
+
+  /* Is INFO in a good state?  -1 means that no attempt has been made to
+     initialize INFO; 0 means an attempt has been made, but it failed; 1
+     means INFO is in an initialized state.  */
+  static int available = -1;
+
+  if (available == -1)
+    {
+      int tid;
+      unsigned int val;
+
+      tid = GET_THREAD_ID (inferior_ptid);
+      if (ptrace (PTRACE_GETHBPREGS, tid, 0, &val) < 0)
+	available = 0;
+      else
+	{
+	  info.arch = (gdb_byte)((val >> 24) & 0xff);
+	  info.max_wp_length = (gdb_byte)((val >> 16) & 0xff);
+	  info.wp_count = (gdb_byte)((val >> 8) & 0xff);
+	  info.bp_count = (gdb_byte)(val & 0xff);
+	  available = (info.arch != 0);
+	}
+    }
+
+  return available == 1 ? &info : NULL;
+}
+
+/* How many hardware breakpoints are available?  */
+static int
+arm_linux_get_hw_breakpoint_count (void)
+{
+  const struct arm_linux_hwbp_cap *cap = arm_linux_get_hwbp_cap ();
+  return cap != NULL ? cap->bp_count : 0;
+}
+
+/* How many hardware watchpoints are available?  */
+static int
+arm_linux_get_hw_watchpoint_count (void)
+{
+  const struct arm_linux_hwbp_cap *cap = arm_linux_get_hwbp_cap ();
+  return cap != NULL ? cap->wp_count : 0;
+}
+
+/* Have we got a free break-/watch-point available for use?  Returns -1 if
+   there is not an appropriate resource available, otherwise returns 1.  */
+static int
+arm_linux_can_use_hw_breakpoint (int type, int cnt, int ot)
+{
+  if (type == bp_hardware_watchpoint || type == bp_read_watchpoint
+      || type == bp_access_watchpoint || type == bp_watchpoint)
+    {
+      if (cnt + ot > arm_linux_get_hw_watchpoint_count ())
+	return -1;
+    }
+  else if (type == bp_hardware_breakpoint)
+    {
+      if (cnt > arm_linux_get_hw_breakpoint_count ())
+	return -1;
+    }
+  else
+    gdb_assert (FALSE);
+
+  return 1;
+}
+
+/* Enum describing the different types of ARM hardware break-/watch-points.  */
+typedef enum
+{
+  arm_hwbp_break = 0,
+  arm_hwbp_load = 1,
+  arm_hwbp_store = 2,
+  arm_hwbp_access = 3
+} arm_hwbp_type;
+
+/* Type describing an ARM Hardware Breakpoint Control register value.  */
+typedef unsigned int arm_hwbp_control_t;
+
+/* Structure used to keep track of hardware break-/watch-points.  */
+struct arm_linux_hw_breakpoint
+{
+  /* Address to break on, or being watched.  */
+  unsigned int address;
+  /* Control register for break-/watch- point.  */
+  arm_hwbp_control_t control;
+};
+
+/* Structure containing arrays of the break and watch points which are have
+   active in each thread.
+
+   The Linux ptrace interface to hardware break-/watch-points presents the 
+   values in a vector centred around 0 (which is used fo generic information).
+   Positive indicies refer to breakpoint addresses/control registers, negative
+   indices to watchpoint addresses/control registers.
+
+   The Linux vector is indexed as follows:
+      -((i << 1) + 2): Control register for watchpoint i.
+      -((i << 1) + 1): Address register for watchpoint i.
+                    0: Information register.
+       ((i << 1) + 1): Address register for breakpoint i.
+       ((i << 1) + 2): Control register for breakpoint i.
+
+   This structure is used as a per-thread cache of the state stored by the 
+   kernel, so that we don't need to keep calling into the kernel to find a 
+   free breakpoint.


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [SCM]  archer-jankratochvil-fedora15: Merge remote-tracking branch 'origin/archer-jankratochvil-ifunc' into archer-jankratochvil-fedora15
@ 2011-03-05  7:21 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2011-03-05  7:21 UTC (permalink / raw)
  To: archer-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 46788 bytes --]

The branch, archer-jankratochvil-fedora15 has been updated
       via  e802e1fb23d455d675dca0f4d7d6c8df18467719 (commit)
       via  a76d58b7167e77fa1e79393743900da540dbeb20 (commit)
       via  0fd2b5340ad5ea9399521baec10a9321bf54fdb9 (commit)
       via  ba250e859788c6e9acdd2181b2fef90d73ec3e82 (commit)
       via  0e19c8e3d03dabb8c3b1f712b1c5bddccfc65c40 (commit)
       via  a7a4525a6e65b4b75c879867600e5a639fb00cd3 (commit)
       via  07c7775593da86db619eb93978a7267b04865b97 (commit)
       via  e26f1c45c667707092c9955842cfdb1d095a7c85 (commit)
       via  76968cd942941b6020bffc90bb3f2318932c29a8 (commit)
       via  b37a4146f4df237f2231e091ef9d8111a4905518 (commit)
       via  c9b457b27759bcdb9fecd960957345d0d3c86064 (commit)
       via  a87a7f2c898ba901ffa25e6abd809f4397b60d1d (commit)
       via  ebd43e11859d3fee7f5b124798dc871c9a099825 (commit)
       via  12eaf82ccac1f4aa0d6c97c5d9b4773331153eb9 (commit)
       via  0cca6cb4318a8c65c6ab32dcb9f61ef6fbf71248 (commit)
       via  b6adc4bf9a851f22a3a848183d544233a1bb199a (commit)
       via  77c866e72368ad166cb9e9036346188741e274bd (commit)
       via  4434566b2eabcac263365d9a6cc8235f17301d2d (commit)
       via  13506d14f7186a874f6ac100dc89a98ade3ac0bb (commit)
       via  567449a00c676854c62ce5a729ba1437238c8357 (commit)
       via  f033fcb9b2e57511919fc0987fb3b7dd2662610e (commit)
       via  0fe72a953243d7f1b1f1c2d665936a7ffaad76d2 (commit)
       via  90e7e2bd6153028219b189bc2d9b8e862af8137e (commit)
       via  20348fce11f4efd2d177ac2c1e562deb8246bf37 (commit)
       via  daa59a3ec50fe82c2e8a51745c9e64f2e2424c29 (commit)
       via  df80e5624b8f6034af9686dedc52b576c4d8bd1f (commit)
       via  50ef7a70871caa838fe6fa4575fe931ced2e3cb2 (commit)
       via  efeda4c13365b964de92123df193723fa26e02c1 (commit)
       via  dbece6b30e561cf136d7505469315ba9489fbeab (commit)
       via  c2a77d08fbd7ad51be0c9c3bc8d3dee9ca9d62a5 (commit)
       via  55070178fae932e723555605f8bb07e530fb438e (commit)
       via  7b1eead1edd8cf6f2f0b6a063e1b208624c3f78c (commit)
       via  e216df5fdeb79ed3023629ec4ec113f2a376f67b (commit)
       via  ce67cacef161be2bfb564d30102895970c8fecbf (commit)
       via  d6cf8083cd1b9f34c4a4b0acb140a82e420c2858 (commit)
       via  7ae2da53bda15b472eac647d746de6809dde2750 (commit)
       via  b98f2737fc7aa43ea5a1e82805e488df2eb9c76f (commit)
       via  9fd44d9cc54a215430d02501df91cb26aeee0422 (commit)
       via  5dc548a3814fc4a197a52a1d5db98a2a13ad4304 (commit)
       via  236d899d77e6d8450f316d3e79b036870903ef86 (commit)
       via  35ae39fa95c12c2372e93001e1f17fb89cbef9dc (commit)
       via  ea9b5567eac6f8776ba55424b1cbac1cbec8b720 (commit)
       via  77704734b8d87e4aeaeb89740678ccf5789b6f66 (commit)
       via  7873ed2ce9db6a489626449d53fc45a10dadc0f6 (commit)
       via  d1703457aecbebcd9b3f93c99d7fc4600e55ee27 (commit)
       via  1711a09102f66a5af0f9694677034cecc2ea1694 (commit)
       via  232c22877d7bf70641ec15521bddb5ebcc7b6355 (commit)
       via  938e179b4dcd4169f1d382484b8d843447c045aa (commit)
       via  b3f7901d7fb661b8320af5fbdc60c9a25f451b22 (commit)
       via  8591831e402c0f1ff9b5ae3366b7cb3201d64762 (commit)
       via  904b297d1e06a0730bd85388658b72ef9641d91e (commit)
       via  7cf66615213dc3e66b97adbc783a84bdc494f329 (commit)
       via  027945ee45479b3a1df469981fe4c5d58bbb2ba0 (commit)
       via  56f50d1a90674128b17d952c5580ec2acce7f77b (commit)
       via  5c10c19b1ea641c512cf7c2ab7650f083b8c7501 (commit)
       via  40ceea553f50717898292ba68b9630978aa49147 (commit)
       via  d3290ce50f7f9ce0a391d88d1f2cbc992397e91c (commit)
       via  e2d44e19f97ffa06c7a7332ec2bcc860ef23e673 (commit)
       via  8712f6b3a7ed51bbbd99f0e820f566ac4528e7e6 (commit)
       via  2dba2ad3a38a563e8a7d28a4d1296dfab4955994 (commit)
       via  e4a866e5deacf2bf6cafcd462d41667e6fa032ca (commit)
       via  a3e4477602283c0e534ca49af0bf09b256a50bf0 (commit)
       via  8147ac0f74fb888fe6b66729c812c151307c7d5e (commit)
       via  27c6a7ace80352e27afa0fee7341809766a13d2e (commit)
       via  76fbea1ea7d8e78d12159d29415ffe1c1f70df62 (commit)
       via  896c70ff4495c636f6a8d5ec62532171fc995f35 (commit)
       via  9c4c7281a984ab95019192d462f864b123a2ad1c (commit)
       via  714ad9e033af3d06d35ef6ce937dabe55dfa968e (commit)
       via  0bfb840a31a370ce586953c254baaca97b9f46d9 (commit)
       via  b163c9501437a4f6632da009f33d8a2197918898 (commit)
       via  185d8b9ecf6ad00878a9e5bd147b88bd257da666 (commit)
       via  bc2fb752d086693dac4cf5ad0ec0ddb20fb0a173 (commit)
       via  083ad2b6bbab3514f395cddbabec2cd78a1d97da (commit)
       via  851ad17489934b63a1bd2f7e853362b9c452c60b (commit)
       via  b99e17372d6ff13344989ae6ca42018f3f841b69 (commit)
       via  599a69da541fa51f8aa370bb4b3c23fd57df3f9a (commit)
       via  ee92d7522f5402094ef0bd00adb12e1a48383e0a (commit)
       via  1620f3d8a92f0560deb3152d491f82e5020ac6ca (commit)
       via  9f251d2cc1260a969d74bb5af7c8da9ac88a7fc6 (commit)
       via  7fe4036ca49d8b56e20dca06b549fc172e988622 (commit)
       via  a48c58eda29c4f3883e31abef174d07fe438ffa6 (commit)
       via  75dd2c60feb420ddded746cf0a474116f71e3933 (commit)
       via  1f78c5a06d3028c9ec35d0b4694e5637f4dac492 (commit)
       via  8dd6af5bbf0050da8252ca047b1fb83e009f3aa7 (commit)
       via  2df9e44b5cbf60749dc200a3fd08c198602b84f0 (commit)
       via  0bf07cb790909a1eac146b28c7533aeeb389a64f (commit)
       via  a9fd35627defc77e0864835ebaa95785c0cb70b0 (commit)
       via  32ae5aedbc0a47689187febe7c5f40d660f91a59 (commit)
       via  7995dce02b043621f47a0c66f59736ec7680f5e7 (commit)
       via  afa6b8c846e6a3db1ca18c42a26d7ced07a10d7f (commit)
       via  6a0d06588da416c7f04a7ad1c2c54d0fa6274827 (commit)
       via  35986752ec17df5f88b1a123e8fe0047beb7ca31 (commit)
       via  eb68b71cf4c568b194f79acb2ab9fc0c1733b008 (commit)
       via  5e1f4fb9c743a46027bfa63c6fa3f92d0a087956 (commit)
       via  03819d4bd4ff37d538aa0a928d32570ddaad0d97 (commit)
       via  2a703092846f7572742e6bf7c8427e3aa9fe0bf7 (commit)
       via  e0677154001c5bba64fe988c4aca1c3bdc670949 (commit)
       via  736fab2e600de4c6b0956bc350bf9c6e52c4e549 (commit)
       via  e1805d140a1c3713beef932ae123a22fbe490feb (commit)
       via  e2e74595b709330baff98857221caafbea3bd4a8 (commit)
       via  1fa24e9d8a432c7b03ee53f21eec3397977dac5a (commit)
       via  33753101fec26b9e24032a1dc353c0cfe4fc2ed6 (commit)
       via  e81c6b73f804398744e85017b64808293d92bfca (commit)
       via  f9bbbacaf84c07c92a2a508c0d5a8874ab9f5264 (commit)
       via  04b9c732a99a2b716432a3016a8b52e81dba179a (commit)
       via  66328c61d23f35f5738ba1baa945e4cad9235828 (commit)
       via  a7920b13f9205c02b6439ad421d18c0349cac60b (commit)
       via  241480d8d37124c87d214ff03804422101d9e73e (commit)
       via  f53409968e3e2589da115cebb7beb6e51f69fe23 (commit)
       via  52c20dc91c671a38e2ab9162902d390108998f28 (commit)
       via  eb1a99a5e0ddc33ff30d899f9769e526ffe191e1 (commit)
       via  ea3a017f48b1df31039fc19db01d75ec18ce5ece (commit)
       via  1551b89a191ccb6be85ed229986aab13b0b2c29f (commit)
       via  9aa0d28f79691469c12aaf151b99911211317fac (commit)
       via  a8a0b9ac2053664cf98b67513644abafbedbd8ae (commit)
       via  b9b4fa36ec41efd5efea38d53173a52af9b9bb9a (commit)
       via  996fac49cd48aa95477dbff6af6628901820cc73 (commit)
       via  8669d7b6833e0fef879ceb8d609e7b4212ebb78c (commit)
       via  3087ad20ead8e985a76a47687e578f1d21cdb1d5 (commit)
       via  3ad6f2a23fb6bca83a15620b5be699ed31a1bab4 (commit)
       via  cc5fc8d50694b4777521c3e7a11a85273a3c5975 (commit)
       via  d9ff58d313f33045ae8b1f21c7bc0d96c97a1a22 (commit)
       via  3586cd62d53a78ecbb688fb56810775561d4a5a2 (commit)
       via  13f4062e5e1ee615ff47e374a838719d56a0cef6 (commit)
       via  6a15a69c81244da2c6f8fd5f4ffc7e87a184bfe5 (commit)
       via  d052d8d33df04414db151c7a56855753bdf05599 (commit)
       via  47d7480b3973a5a77fa506a90a3272bb0bc5fc5a (commit)
       via  d14717728494bff5a5a36a32a3f16220bb6a908e (commit)
       via  d6d4afc5c9848b575ed0f61793e38658a26079ce (commit)
       via  8163e682004e5283fb8960ebf25cd6920380bf81 (commit)
       via  136a659a10fc923b13f7777ef4f90efe477001bb (commit)
       via  bf15b55fc96fcb532198008ed6b7c418baf9551a (commit)
       via  f35e3245a84b118eed55accff8af8d0ccbc875d8 (commit)
       via  34f69fb21fdceec180c2d99de8497f98c0a3e265 (commit)
       via  67bcfd2d976bc3376ebd54a8fdee8b20a9327e4a (commit)
       via  619a112d11a2bedc255b476c68a0d84afdf90b1f (commit)
       via  fe18f823cbbd4fb90b5d2925210049f454e72f7c (commit)
       via  46025c82d31f8005411e7c76aeba604aa2cea79d (commit)
       via  36485ab775bc9a758b40b8e3e77e0690f79d49e0 (commit)
       via  925f5671e74998e94cd128e02179d48204b060dc (commit)
       via  5b39881a981dd133b652510eb58d9b1bbf246eab (commit)
       via  9bfdf5ff8abcbc5f783afab13370386b93efb870 (commit)
       via  8373e02d8e40d4891a9e72becc05025315a96353 (commit)
       via  96eade91d3a3f6078b077b1e7708ff21d2716e7c (commit)
       via  7c3bf4874f7876a006ab8960934a219535013776 (commit)
       via  79f30d2b834c4451e97d105b342dc6d666de7e3b (commit)
       via  eed62ddc2c7e01a344d7527ebd474cfaa6d96068 (commit)
       via  fa9d55580873e7ec9ceb6a2790d483aabb589564 (commit)
       via  9b8b1216a728746dbe6acc04a303b43e3d041a67 (commit)
       via  563f9f6b154c1835c701d8d3c62f39fa1a3c97ed (commit)
       via  8626115a2d9b6376c07a1612f2d3fe9b767154c0 (commit)
       via  a3646fa8681721a4ba45d63edddfe9c7c54c8da5 (commit)
       via  20a97700b7405ea6d02dcb8d177a32d0fbf0018f (commit)
       via  fcb8f7c2a37606c91ddc9d7d9e3d4aae5c013475 (commit)
       via  7de7ee7de60cb8acf6d169d9de07bbaa7e521b3b (commit)
       via  727b3aaa6c744f9a47c06ad1bb209a277d6eef8f (commit)
       via  7100bf93e68783adfd2acfb3ef08d790a184a1e5 (commit)
       via  50e29c8989697976181cce3f6553c989754c9558 (commit)
       via  18685360b67b7650126479b4d706d0d754ba55d7 (commit)
       via  c0b28a21dceb5456c7013edc02e241297c030376 (commit)
       via  6aadda0137bb63162fc19707fe498957396abdcb (commit)
       via  07cbcaf14a327d41054620c8585fe72d153bb963 (commit)
       via  e95a0a9bf0afe088816b1e49b66d952e9835c543 (commit)
       via  62daee5c00c23719d0a44763cdff443dca513724 (commit)
       via  909a65aeb53bbe576c8abfbdb8742a27f3b8667b (commit)
       via  d5fedb173c8c363032965b7cb775b63a26c428da (commit)
       via  cdeba9189bff3df4d9960272c6c1ba7bca8af10f (commit)
       via  cb10834ff424afe024318c1c52e815aed12a291f (commit)
       via  530ce8bb0aeeb513f566da7a7fae46d6414f8dc1 (commit)
       via  ab14e648ba43e1217e5d498d3bef6d74ce12a1fa (commit)
       via  fafaf13337f94d6ce6f7715e09f4962c5a82df8e (commit)
       via  1900c52efc5aaf6cfa6add566739e19f8ea751c0 (commit)
       via  a57264517ef09fb62650b948e01aa713d48c3910 (commit)
       via  8bd2ba073a541ead833dd6592f9ec48392e506a9 (commit)
       via  a22de9cabf43402474aff50ce67ae3a1c2e0302d (commit)
       via  1f60f2400bfb83a9137c2f44257a52e47b7a905d (commit)
       via  2aedcc54cddbb33428affc714fb8a51d4416edf6 (commit)
       via  a08216b23ef31e26a30d3f9e3d4070efda1ced41 (commit)
       via  4ef85c9f86bef0f0b5f50cb9e9a56aba6f168c21 (commit)
       via  164e31cf9dd1a90500f6199c06e31f788e1c3b79 (commit)
       via  dbc21176c80d4354e66be0fd9a2c492738748db9 (commit)
       via  74e82dd2d59e83f897823ddc27386e7b6e87d49c (commit)
       via  6a68075223aa5f972c828b58e2426540b4bfb6cc (commit)
       via  9760e7fbdb9421e66f92fa2bee8c733138434c0c (commit)
       via  542084167ca7040ac6c0be22f5591da65a7e4f11 (commit)
       via  4910860334ee811f7e3b3a2cd87191e29982812d (commit)
       via  32a6c37dd1f2860784108987c6ae233887b62e95 (commit)
       via  f01db51c0cacbda8ccb6ebb15586fcbc52b6ad7d (commit)
       via  d3d6bdda69e762a41bc31f0cb2973836edbd1f39 (commit)
       via  215a95351178bebc3536045f5cdd7b06073ef57d (commit)
       via  35f19dab587ce780030a45bdd3f6f764ebe37a35 (commit)
       via  26053571995689ef0f9e52a0c7ab4eae6c8a54a4 (commit)
       via  1ee55999132376109286fac48d0ec22104707f59 (commit)
       via  5925580b02ae1688b69e332e3f78a67613ea5acf (commit)
       via  cc2f895000bfeeaec30512259b5476d59df65483 (commit)
       via  6190a1a50580965521964916a5b8b78ae2a8f118 (commit)
       via  4591fad33019e7455166b61b933de3372ed079cd (commit)
       via  59a865cca319154f174699f0f8092143ef8dcbce (commit)
       via  39db203b0ea39da014d2507a9687befecc5e7292 (commit)
       via  b4f1a6c2346e5326d310f3c50ef387ca5864557c (commit)
       via  7df6e4924ef035feff403e53ae46ecabef869af3 (commit)
       via  e20a9657c7974065308e491db26b45f18544a219 (commit)
      from  691a5a1b3015e2199040ead20cc85bc277af14e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e802e1fb23d455d675dca0f4d7d6c8df18467719
Merge: a76d58b 5420841
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Mar 5 08:21:16 2011 +0100

    Merge remote-tracking branch 'origin/archer-jankratochvil-ifunc' into archer-jankratochvil-fedora15

commit a76d58b7167e77fa1e79393743900da540dbeb20
Merge: 0fd2b53 0e19c8e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Mar 5 08:21:00 2011 +0100

    Merge remote-tracking branch 'origin/archer-tromey-python' into archer-jankratochvil-fedora15

commit 0fd2b5340ad5ea9399521baec10a9321bf54fdb9
Merge: 07c7775 ba250e8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Mar 5 08:20:51 2011 +0100

    Merge remote-tracking branch 'origin/archer-jankratochvil-vla' into archer-jankratochvil-fedora15
    
    Conflicts:
    	gdb/Makefile.in

commit 07c7775593da86db619eb93978a7267b04865b97
Merge: 691a5a1 e26f1c4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Mar 5 08:11:50 2011 +0100

    Merge remote-tracking branch 'origin/archer-jankratochvil-vla' into archer-jankratochvil-fedora15

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   11 +
 bfd/ChangeLog                                      |   56 +
 bfd/aoutx.h                                        |    3 +-
 bfd/archive.c                                      |   75 +-
 bfd/coff-x86_64.c                                  |    2 +-
 bfd/corefile.c                                     |    2 +-
 bfd/dwarf2.c                                       |    2 +-
 bfd/elf32-bfin.c                                   |    6 +-
 bfd/elf32-frv.c                                    |    6 +-
 bfd/elf32-spu.c                                    |    4 +-
 bfd/elf64-x86-64.c                                 |   50 +-
 bfd/elflink.c                                      |   37 +-
 bfd/plugin.c                                       |   22 +-
 bfd/syms.c                                         |    4 +-
 bfd/version.h                                      |    2 +-
 bfd/xcofflink.c                                    |    6 +-
 bfd/xtensa-isa.c                                   |    4 +-
 config/cloog.m4                                    |    2 +-
 configure                                          |  110 +-
 configure.ac                                       |   73 +-
 gdb/ChangeLog                                      |  506 ++++
 gdb/Makefile.in                                    |   27 +-
 gdb/NEWS                                           |    2 +
 gdb/ada-exp.y                                      |    1 +
 gdb/ada-lang.c                                     |   10 +-
 gdb/amd64-linux-tdep.c                             |   37 +-
 gdb/arm-linux-tdep.c                               |   44 +-
 gdb/arm-tdep.c                                     |  111 +-
 gdb/arm-tdep.h                                     |   14 +
 gdb/ax-gdb.c                                       |   59 -
 gdb/ax-gdb.h                                       |    2 -
 gdb/ax-general.c                                   |   54 +-
 gdb/ax.h                                           |    2 -
 gdb/breakpoint.c                                   |  288 +-
 gdb/bsd-uthread.c                                  |    2 +-
 gdb/cli/cli-dump.c                                 |   10 +-
 gdb/cli/cli-utils.c                                |   52 +-
 gdb/cli/cli-utils.h                                |    4 +-
 gdb/coffread.c                                     |   12 +-
 gdb/common/ax.def                                  |    6 +-
 gdb/completer.c                                    |    8 +-
 gdb/corelow.c                                      |    2 +-
 gdb/cp-namespace.c                                 |    9 +-
 gdb/cp-support.c                                   |    2 +-
 gdb/cris-tdep.c                                    |    4 +-
 gdb/d-valprint.c                                   |   10 +-
 gdb/darwin-nat-info.c                              |    2 +-
 gdb/dbxread.c                                      |    7 +-
 gdb/doc/ChangeLog                                  |   40 +
 gdb/doc/agentexpr.texi                             |    7 -
 gdb/doc/gdb.texinfo                                |   99 +-
 gdb/doc/observer.texi                              |    8 +-
 gdb/dwarf2expr.h                                   |    2 +-
 gdb/dwarf2loc.c                                    |   32 +-
 gdb/dwarf2read.c                                   |   84 +-
 gdb/eval.c                                         |   46 +-
 gdb/event-top.c                                    |    4 +-
 gdb/expprint.c                                     |    2 +
 gdb/fbsd-nat.c                                     |    2 +-
 gdb/fbsd-nat.h                                     |    2 +-
 gdb/fork-child.c                                   |    7 +-
 gdb/frame-unwind.h                                 |    2 +-
 gdb/frame.h                                        |    4 +-
 gdb/gdbserver/ChangeLog                            |   58 +
 gdb/gdbserver/Makefile.in                          |   23 +-
 gdb/gdbserver/hostio.c                             |    5 +-
 gdb/gdbserver/i386-low.c                           |    1 +
 gdb/gdbserver/linux-amd64-ipa.c                    |    2 +-
 gdb/gdbserver/linux-arm-low.c                      |    2 +-
 gdb/gdbserver/linux-low.c                          |    3 +-
 gdb/gdbserver/server.c                             |    4 +-
 gdb/gdbserver/tracepoint.c                         |   44 -
 gdb/gdbserver/utils.c                              |   16 +-
 gdb/gdbtypes.c                                     |   14 +
 gdb/gdbtypes.h                                     |   10 +-
 gdb/hppa-hpux-tdep.c                               |    2 +-
 gdb/i386-linux-nat.c                               |    2 +-
 gdb/i386-nat.c                                     |    1 +
 gdb/i387-tdep.c                                    |   10 +-
 gdb/infcmd.c                                       |    6 +-
 gdb/inferior.c                                     |  137 +-
 gdb/inferior.h                                     |    8 +-
 gdb/inflow.c                                       |   18 +-
 gdb/infrun.c                                       |    1 -
 gdb/jv-lang.c                                      |    3 +-
 gdb/linespec.c                                     |   14 +-
 gdb/linux-fork.c                                   |    2 +-
 gdb/linux-nat.c                                    |   23 +-
 gdb/linux-record.c                                 |    2 +
 gdb/linux-thread-db.c                              |    2 +-
 gdb/m2-lang.c                                      |    2 +-
 gdb/maint.c                                        |    1 +
 gdb/mdebugread.c                                   |    4 +-
 gdb/memattr.c                                      |   63 +-
 gdb/mips-tdep.c                                    |   20 +-
 gdb/nbsd-nat.c                                     |    2 +-
 gdb/nbsd-nat.h                                     |    2 +-
 gdb/objc-lang.c                                    |    6 +
 gdb/opencl-lang.c                                  |   20 +-
 gdb/p-valprint.c                                   |    2 +-
 gdb/parse.c                                        |    2 +
 gdb/parser-defs.h                                  |    2 +
 gdb/ppc-linux-nat.c                                |    4 +-
 gdb/ppc-linux-tdep.c                               |    4 +-
 gdb/printcmd.c                                     |   48 +-
 gdb/proc-service.c                                 |    1 +
 gdb/psymtab.c                                      |    4 +-
 gdb/python/py-block.c                              |    2 +-
 gdb/python/py-cmd.c                                |    3 +
 gdb/python/py-inferior.c                           |   10 +-
 gdb/python/py-param.c                              |    3 +-
 gdb/python/py-prettyprint.c                        |   18 +-
 gdb/python/py-symbol.c                             |   36 +-
 gdb/python/py-symtab.c                             |   14 +-
 gdb/python/py-type.c                               |   10 +
 gdb/python/py-utils.c                              |    1 -
 gdb/python/py-value.c                              |    9 +-
 gdb/python/python-internal.h                       |    3 +
 gdb/python/python.c                                |    6 +
 gdb/record.c                                       |    2 +-
 gdb/remote-fileio.c                                |    7 +-
 gdb/remote.c                                       |   11 +-
 gdb/ser-base.c                                     |    7 +
 gdb/ser-base.h                                     |    2 +
 gdb/ser-go32.c                                     |   12 +
 gdb/ser-mingw.c                                    |    4 +
 gdb/ser-pipe.c                                     |    1 +
 gdb/ser-tcp.c                                      |    1 +
 gdb/ser-unix.c                                     |   12 +
 gdb/serial.c                                       |    8 +-
 gdb/serial.h                                       |    7 +
 gdb/sol-thread.c                                   |    2 +-
 gdb/solib-frv.c                                    |    2 +-
 gdb/solib.c                                        |    1 +
 gdb/solist.h                                       |    4 +-
 gdb/sparc64-tdep.c                                 |    2 +-
 gdb/spu-tdep.c                                     |    2 +-
 gdb/stabsread.c                                    |    3 +-
 gdb/std-regs.c                                     |   14 +-
 gdb/symfile.c                                      |   30 +-
 gdb/symtab.c                                       |    3 +-
 gdb/target-descriptions.c                          |    2 +-
 gdb/testsuite/ChangeLog                            |  102 +
 gdb/testsuite/Makefile.in                          |    5 +-
 gdb/testsuite/configure                            |   87 +-
 gdb/testsuite/configure.ac                         |   59 +-
 gdb/testsuite/gdb.base/break.exp                   |  209 ++
 gdb/testsuite/gdb.base/completion.exp              |    2 +-
 gdb/testsuite/gdb.base/ena-dis-br.exp              |    2 +-
 gdb/testsuite/gdb.base/help.exp                    |    8 +-
 gdb/{printcmd.h => testsuite/gdb.base/memattr.c}   |   28 +-
 gdb/testsuite/gdb.base/memattr.exp                 |  455 +++
 gdb/testsuite/gdb.cell/configure                   | 2922 -------------------
 gdb/testsuite/gdb.cell/configure.ac                |   15 -
 gdb/testsuite/gdb.cp/overload.cc                   |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.S              |   46 -
 .../gdb.dwarf2/{dw2-ranges3.S => dw2-ranges.c}     |   24 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |   46 +-
 .../gdb.dwarf2/{dw2-ranges2.S => dw2-ranges2.c}    |   33 +-
 .../gdb.dwarf2/dw2-ranges3.c}                      |   30 +-
 gdb/testsuite/gdb.hp/Makefile.in                   |    5 +-
 gdb/testsuite/gdb.hp/configure                     | 3074 --------------------
 gdb/testsuite/gdb.hp/configure.ac                  |   17 -
 gdb/testsuite/gdb.hp/gdb.aCC/Makefile.in           |    3 -
 gdb/testsuite/gdb.hp/gdb.aCC/configure             | 2922 -------------------
 gdb/testsuite/gdb.hp/gdb.aCC/configure.ac          |   15 -
 gdb/testsuite/gdb.hp/gdb.base-hp/Makefile.in       |    3 -
 gdb/testsuite/gdb.hp/gdb.base-hp/configure         | 2922 -------------------
 gdb/testsuite/gdb.hp/gdb.base-hp/configure.ac      |   15 -
 gdb/testsuite/gdb.hp/gdb.compat/Makefile.in        |    3 -
 gdb/testsuite/gdb.hp/gdb.compat/configure          | 2922 -------------------
 gdb/testsuite/gdb.hp/gdb.compat/configure.ac       |   15 -
 gdb/testsuite/gdb.hp/gdb.defects/Makefile.in       |    3 -
 gdb/testsuite/gdb.hp/gdb.defects/configure         | 2922 -------------------
 gdb/testsuite/gdb.hp/gdb.defects/configure.ac      |   15 -
 gdb/testsuite/gdb.hp/gdb.objdbg/Makefile.in        |    3 -
 gdb/testsuite/gdb.hp/gdb.objdbg/configure          | 3073 -------------------
 gdb/testsuite/gdb.hp/gdb.objdbg/configure.ac       |   16 -
 gdb/testsuite/gdb.multi/base.exp                   |   85 +
 gdb/testsuite/gdb.python/py-frame.exp              |   11 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |   80 +-
 gdb/testsuite/gdb.python/py-symbol.exp             |    7 +
 gdb/testsuite/gdb.stabs/Makefile.in                |    5 +-
 gdb/testsuite/gdb.stabs/configure                  | 2922 -------------------
 gdb/testsuite/gdb.stabs/configure.ac               |   15 -
 gdb/testsuite/gdb.trace/infotrace.exp              |    4 +-
 gdb/top.c                                          |    2 +
 gdb/tracepoint.c                                   |   45 +-
 gdb/tui/tui-regs.c                                 |    1 -
 gdb/tui/tui-stack.c                                |    2 +-
 gdb/tui/tui-win.c                                  |    4 +-
 gdb/tui/tui-winsource.c                            |    6 +-
 gdb/ui-file.h                                      |    2 +-
 gdb/ui-out.c                                       |   26 +-
 gdb/ui-out.h                                       |    3 +
 gdb/utils.c                                        |   19 +-
 gdb/valops.c                                       |   14 +-
 gdb/value.c                                        |   63 +-
 gdb/value.h                                        |    3 +-
 gdb/varobj.c                                       |    2 +-
 gdb/vax-nat.c                                      |    2 +-
 gdb/version.in                                     |    2 +-
 gdb/xml-syscall.c                                  |    1 +
 include/ChangeLog                                  |   13 +
 include/dwarf2.h                                   |   93 +-
 include/elf/ChangeLog                              |    6 +
 include/elf/internal.h                             |   20 +-
 include/filenames.h                                |    3 +
 include/opcode/ChangeLog                           |    9 +-
 include/opcode/mips.h                              |    1 +
 libiberty/ChangeLog                                |   10 +
 libiberty/cplus-dem.c                              |    5 +-
 libiberty/filename_cmp.c                           |   49 +
 libiberty/functions.texi                           |   18 +
 opcodes/ChangeLog                                  |   14 +-
 opcodes/mips-opc.c                                 |    3 +-
 readline/ChangeLog.gdb                             |    4 +
 readline/bind.c                                    |    1 +
 sim/common/ChangeLog                               |    5 +
 sim/common/callback.c                              |    2 +-
 220 files changed, 3223 insertions(+), 25341 deletions(-)
 rename gdb/{printcmd.h => testsuite/gdb.base/memattr.c} (58%)
 create mode 100644 gdb/testsuite/gdb.base/memattr.exp
 delete mode 100644 gdb/testsuite/gdb.cell/configure
 delete mode 100644 gdb/testsuite/gdb.cell/configure.ac
 delete mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ranges.S
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges3.S => dw2-ranges.c} (70%)
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges2.S => dw2-ranges2.c} (59%)
 copy gdb/{nbsd-nat.h => testsuite/gdb.dwarf2/dw2-ranges3.c} (61%)
 delete mode 100755 gdb/testsuite/gdb.hp/configure
 delete mode 100644 gdb/testsuite/gdb.hp/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.aCC/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.aCC/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.base-hp/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.base-hp/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.compat/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.compat/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.defects/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.defects/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.objdbg/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.objdbg/configure.ac
 delete mode 100755 gdb/testsuite/gdb.stabs/configure
 delete mode 100644 gdb/testsuite/gdb.stabs/configure.ac

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 9f4591d..1f7648c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-03-03  Sebastian Pop  <sebastian.pop@amd.com>
+
+        * configure.ac: Adjust test of with_ppl.
+        * configure: Regenerated.
+
+2011-03-02  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure.ac: Add -lpwl to ppllibs.
+	* config/cloog.m4: Add -lisl to clooglibs.
+	* configure: Regenerated.
+
 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Import from Libtool and gnulib:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a8907a0..95166a3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,59 @@
+2011-03-04  Alan Modra  <amodra@gmail.com>
+
+	* archive.c (bsd_write_armap): Don't call stat in deterministic
+	mode, and don't use st_mtime if stat returns error.
+
+2011-03-03  Michael Snyder  <msnyder@vmware.com>
+
+	* elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.
+
+	* coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.
+
+	* aoutx.h (aout_final_link): Use sizeof int not sizeof int*.
+	(aout_link_write_other_symbol): Missing break statement.
+
+	* dwarf2.c (scan_unit_for_symbols): Stop memory leak.
+
+	* archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
+
+2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
+	x32 IE->LE transition.
+	(elf_x86_64_relocate_section): Likewise.
+
+2011-03-02  Bernd Schmidt  <bernds@codesourcery.com>
+
+        * elflink.c (is_reloc_section): Remove function.
+        (get_dynamic_reloc_section_name): Construct string manually.
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+	* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
+	(adjust_relative_path): Likewise.
+	(_bfd_construct_extended_name_table): Likewise.
+	* corefile.c (generic_core_file_matches_executable_p): Likewise.
+	* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
+	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
+	* elf32-spu.c (sort_bfds): Likewise.
+	(spu_elf_auto_overlay): Likewise.
+	* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
+	* xcofflink.c (xcoff_set_import_path): Likewise.
+	* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
+	(xtensa_regfile_lookup_shortname): Likewise.
+
+2011-02-28  Alan Modra  <amodra@gmail.com>
+
+	PR 12513
+	* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
+	stringsize.  Properly sanity check symdef_count.  Remove redundant
+	bfd_release.
+
+2011-02-25  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+	* plugin.c (bfd_plugin_object_p): Correctly set the filesize
+	and handle claim_file seeking. Only try to load the plugin once.
+
 2011-02-22  Andreas Schwab  <schwab@redhat.com>
 
 	* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 7ca221e..ec0bdf0 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -3637,6 +3637,7 @@ aout_link_write_other_symbol (struct aout_link_hash_entry *h, void * data)
     case bfd_link_hash_undefweak:
       type = N_WEAKU;
       val = 0;
+      break;
     case bfd_link_hash_indirect:
       /* We ignore these symbols, since the indirected symbol is
 	 already in the hash table.  */
@@ -5448,7 +5449,7 @@ NAME (aout, final_link) (bfd *abfd,
   /* Allocate buffers to hold section contents and relocs.  */
   aout_info.contents = (bfd_byte *) bfd_malloc (max_contents_size);
   aout_info.relocs = bfd_malloc (max_relocs_size);
-  aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int *));
+  aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int));
   aout_info.output_syms = (struct external_nlist *)
       bfd_malloc ((max_sym_count + 1) * sizeof (struct external_nlist));
   if ((aout_info.contents == NULL && max_contents_size != 0)
diff --git a/bfd/archive.c b/bfd/archive.c
index 258c8d9..86d07e9 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -1,6 +1,6 @@
 /* BFD back-end for archive files (libraries).
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
    Written by Cygnus Support.  Mostly Gumby Henkel-Wallace's fault.
 
@@ -348,7 +348,7 @@ _bfd_find_nested_archive (bfd *arch_bfd, const char *filename)
        abfd != NULL;
        abfd = abfd->archive_next)
     {
-      if (strcmp (filename, abfd->filename) == 0)
+      if (filename_cmp (filename, abfd->filename) == 0)
         return abfd;
     }
   abfd = bfd_openr (filename, NULL);
@@ -1109,6 +1109,7 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd)
   struct artdata *ardata = bfd_ardata (abfd);
   char *stringbase;
   unsigned int stringsize;
+  unsigned int left;
   bfd_size_type amt;
   carsym *set;
   int i = bfd_bread (nextname, 16, abfd);
@@ -1136,43 +1137,46 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd)
   if (mapdata == NULL)
     return FALSE;
 
-  amt = mapdata->parsed_size;
-  raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt);
-  if (raw_armap == NULL)
+  if (mapdata->parsed_size < HPUX_SYMDEF_COUNT_SIZE + BSD_STRING_COUNT_SIZE)
     {
+    wrong_format:
+      bfd_set_error (bfd_error_wrong_format);
     byebye:
       bfd_release (abfd, mapdata);
       return FALSE;
     }
+  left = mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE - BSD_STRING_COUNT_SIZE;
+
+  amt = mapdata->parsed_size;
+  raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt);
+  if (raw_armap == NULL)
+    goto byebye;
 
   if (bfd_bread (raw_armap, amt, abfd) != amt)
     {
       if (bfd_get_error () != bfd_error_system_call)
 	bfd_set_error (bfd_error_malformed_archive);
-    byebyebye:
-      bfd_release (abfd, raw_armap);
       goto byebye;
     }
 
   ardata->symdef_count = H_GET_16 (abfd, raw_armap);
 
-  if (ardata->symdef_count * BSD_SYMDEF_SIZE
-      > mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE)
-    {
-      /* Probably we're using the wrong byte ordering.  */
-      bfd_set_error (bfd_error_wrong_format);
-      goto byebyebye;
-    }
-
   ardata->cache = 0;
 
   stringsize = H_GET_32 (abfd, raw_armap + HPUX_SYMDEF_COUNT_SIZE);
+  if (stringsize > left)
+    goto wrong_format;
+  left -= stringsize;
+
   /* Skip sym count and string sz.  */
   stringbase = ((char *) raw_armap
 		+ HPUX_SYMDEF_COUNT_SIZE
 		+ BSD_STRING_COUNT_SIZE);
   rbase = (bfd_byte *) stringbase + stringsize;
   amt = ardata->symdef_count * BSD_SYMDEF_SIZE;
+  if (amt > left)
+    goto wrong_format;
+
   ardata->symdefs = (struct carsym *) bfd_alloc (abfd, amt);
   if (!ardata->symdefs)
     return FALSE;
@@ -1216,7 +1220,9 @@ _bfd_slurp_extended_name_table (bfd *abfd)
 
   /* FIXME:  Formatting sucks here, and in case of failure of BFD_READ,
      we probably don't want to return TRUE.  */
-  bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET);
+  if (bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET) != 0)
+    return FALSE;
+
   if (bfd_bread (nextname, 16, abfd) == 16)
     {
       if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0)
@@ -1355,7 +1361,7 @@ adjust_relative_path (const char * path, const char * ref_path)
       while (*e2 && ! IS_DIR_SEPARATOR (*e2))
 	++e2;
       if (*e1 == '\0' || *e2 == '\0' || e1 - pathp != e2 - refp
-	  || strncmp (pathp, refp, e1 - pathp) != 0)
+	  || filename_ncmp (pathp, refp, e1 - pathp) != 0)
 	break;
       pathp = e1 + 1;
       refp = e2 + 1;
@@ -1460,7 +1466,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
           /* If the path is the same as the previous path seen,
              reuse it.  This can happen when flattening a thin
              archive that contains other archives.  */
-          if (last_filename && strcmp (last_filename, filename) == 0)
+          if (last_filename && filename_cmp (last_filename, filename) == 0)
             continue;
 
           last_filename = filename;
@@ -1506,7 +1512,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
       else
 	{
 	  struct ar_hdr *hdr = arch_hdr (current);
-	  if (strncmp (normal, hdr->ar_name, thislen) != 0
+	  if (filename_ncmp (normal, hdr->ar_name, thislen) != 0
 	      || (thislen < sizeof hdr->ar_name
 		  && hdr->ar_name[thislen] != ar_padchar (current)))
 	    {
@@ -1554,7 +1560,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
              archive that contains other archives.
              If the path is relative, adjust it relative to
              the containing archive.  */
-          if (last_filename && strcmp (last_filename, filename) == 0)
+          if (last_filename && filename_cmp (last_filename, filename) == 0)
             normal = last_filename;
           else if (! IS_ABSOLUTE_PATH (filename)
                    && ! IS_ABSOLUTE_PATH (abfd->filename))
@@ -2295,31 +2301,28 @@ bsd_write_armap (bfd *arch,
   bfd_byte temp[4];
   unsigned int count;
   struct ar_hdr hdr;
-  struct stat statbuf;
   long uid, gid;
 
   firstreal = mapsize + elength + sizeof (struct ar_hdr) + SARMAG;
 
-  stat (arch->filename, &statbuf);
+  /* If deterministic, we use 0 as the timestamp in the map.
+     Some linkers may require that the archive filesystem modification
+     time is less than (or near to) the archive map timestamp.  Those
+     linkers should not be used with deterministic mode.  (GNU ld and
+     Gold do not have this restriction.)  */
+  bfd_ardata (arch)->armap_timestamp = 0;
+  uid = 0;
+  gid = 0;
   if ((arch->flags & BFD_DETERMINISTIC_OUTPUT) == 0)
     {
-      /* Remember the timestamp, to keep it holy.  But fudge it a little.  */
-      bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
-                                            + ARMAP_TIME_OFFSET);
+      struct stat statbuf;
+
+      if (stat (arch->filename, &statbuf) == 0)
+	bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
+					      + ARMAP_TIME_OFFSET);
       uid = getuid();
       gid = getgid();
     }
-  else
-    {
-      /* If deterministic, we use 0 as the timestamp in the map.
-         Some linkers may require that the archive filesystem modification
-         time is less than (or near to) the archive map timestamp.  Those
-         linkers should not be used with deterministic mode.  (GNU ld and
-         Gold do not have this restriction.)  */
-      bfd_ardata (arch)->armap_timestamp = 0;
-      uid = 0;
-      gid = 0;
-    }
 
   memset (&hdr, ' ', sizeof (struct ar_hdr));
   memcpy (hdr.ar_name, RANLIBMAG, strlen (RANLIBMAG));
diff --git a/bfd/coff-x86_64.c b/bfd/coff-x86_64.c
index 8083d97..c739d69 100644
--- a/bfd/coff-x86_64.c
+++ b/bfd/coff-x86_64.c
@@ -546,7 +546,7 @@ coff_amd64_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
 {
   reloc_howto_type *howto;
 
-  if (rel->r_type > ARRAY_SIZE (howto_table))
+  if (rel->r_type >= ARRAY_SIZE (howto_table))
     {
       bfd_set_error (bfd_error_bad_value);
       return NULL;
diff --git a/bfd/corefile.c b/bfd/corefile.c
index 605be8d..bba0d1c 100644
--- a/bfd/corefile.c
+++ b/bfd/corefile.c
@@ -186,6 +186,6 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
   if (last_slash != NULL)
     exec = last_slash + 1;
   
-  return strcmp (exec, core) == 0;
+  return filename_cmp (exec, core) == 0;
 }
 
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index e5d0103..3826856 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -2148,7 +2148,7 @@ scan_unit_for_symbols (struct comp_unit *unit)
 	{
 	  info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, info_ptr);
 	  if (info_ptr == NULL)
-	    return FALSE;
+	    goto fail;
 
 	  if (func)
 	    {
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index 8aba7ed..40c2c04 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -3103,10 +3103,10 @@ bfinfdpic_relocate_section (bfd * output_bfd,
 	  if (silence_segment_error == 1)
 	    silence_segment_error =
 	      (strlen (input_bfd->filename) == 6
-	       && strcmp (input_bfd->filename, "crt0.o") == 0)
+	       && filename_cmp (input_bfd->filename, "crt0.o") == 0)
 	      || (strlen (input_bfd->filename) > 6
-		  && strcmp (input_bfd->filename
-			     + strlen (input_bfd->filename) - 7,
+		  && filename_cmp (input_bfd->filename
+				   + strlen (input_bfd->filename) - 7,
 			     "/crt0.o") == 0)
 	      ? -1 : 0;
 #endif
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index bce0540..8cd26f1 100644
--- a/bfd/elf32-frv.c
+++ b/bfd/elf32-frv.c
@@ -3957,10 +3957,10 @@ elf32_frv_relocate_section (output_bfd, info, input_bfd, input_section,
 	  if (silence_segment_error == 1)
 	    silence_segment_error =
 	      (strlen (input_bfd->filename) == 6
-	       && strcmp (input_bfd->filename, "crt0.o") == 0)
+	       && filename_cmp (input_bfd->filename, "crt0.o") == 0)
 	      || (strlen (input_bfd->filename) > 6
-		  && strcmp (input_bfd->filename
-			     + strlen (input_bfd->filename) - 7,
+		  && filename_cmp (input_bfd->filename
+				   + strlen (input_bfd->filename) - 7,
 			     "/crt0.o") == 0)
 	      ? -1 : 0;
 	  if (!silence_segment_error
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index bcee155..ae3ed10 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -4067,7 +4067,7 @@ sort_bfds (const void *a, const void *b)
   bfd *const *abfd1 = a;
   bfd *const *abfd2 = b;
 
-  return strcmp ((*abfd1)->filename, (*abfd2)->filename);
+  return filename_cmp ((*abfd1)->filename, (*abfd2)->filename);
 }
 
 static unsigned int
@@ -4299,7 +4299,7 @@ spu_elf_auto_overlay (struct bfd_link_info *info)
 
       qsort (bfd_arr, bfd_count, sizeof (*bfd_arr), sort_bfds);
       for (i = 1; i < bfd_count; ++i)
-	if (strcmp (bfd_arr[i - 1]->filename, bfd_arr[i]->filename) == 0)
+	if (filename_cmp (bfd_arr[i - 1]->filename, bfd_arr[i]->filename) == 0)
 	  {
 	    if (bfd_arr[i - 1]->my_archive == bfd_arr[i]->my_archive)
 	      {
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 343abce..ad2a1f3 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -913,16 +913,29 @@ elf_x86_64_check_tls_transition (bfd *abfd,
 
     case R_X86_64_GOTTPOFF:
       /* Check transition from IE access model:
-		movq foo@gottpoff(%rip), %reg
-		addq foo@gottpoff(%rip), %reg
+		mov foo@gottpoff(%rip), %reg
+		add foo@gottpoff(%rip), %reg
        */
 
-      if (offset < 3 || (offset + 4) > sec->size)
-	return FALSE;
-
-      val = bfd_get_8 (abfd, contents + offset - 3);
-      if (val != 0x48 && val != 0x4c)
-	return FALSE;
+      /* Check REX prefix first.  */
+      if (offset >= 3 && (offset + 4) <= sec->size)
+	{
+	  val = bfd_get_8 (abfd, contents + offset - 3);
+	  if (val != 0x48 && val != 0x4c)
+	    {
+	      /* X32 may have 0x44 REX prefix or no REX prefix.  */
+	      if (ABI_64_P (abfd))
+		return FALSE;
+	    }
+	}
+      else
+	{
+	  /* X32 may not have any REX prefix.  */
+	  if (ABI_64_P (abfd))
+	    return FALSE;
+	  if (offset < 2 || (offset + 3) > sec->size)
+	    return FALSE;
+	}
 
       val = bfd_get_8 (abfd, contents + offset - 2);
       if (val != 0x8b && val != 0x03)
@@ -2999,18 +3012,6 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	      relocation = (base_got->output_section->vma
 			    + base_got->output_offset + off);
 
-	      if (r_type != R_X86_64_GOTPCREL
-		  && r_type != R_X86_64_GOTPCREL64)
-		{
-		  asection *gotplt;
-		  if (htab->elf.splt != NULL)
-		    gotplt = htab->elf.sgotplt;
-		  else
-		    gotplt = htab->elf.igotplt;
-		  relocation -= (gotplt->output_section->vma
-				 - gotplt->output_offset);
-		}
-
 	      goto do_relocation;
 	    }
 	}
@@ -3505,6 +3506,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x49,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x41,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0xc7,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0xc0 | reg,
@@ -3517,6 +3521,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x49,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x41,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0x81,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0xc0 | reg,
@@ -3528,6 +3535,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x4d,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x45,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0x8d,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0x80 | reg | (reg << 3),
diff --git a/bfd/elflink.c b/bfd/elflink.c
index dffe0ae..983d5e0 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -12597,20 +12597,6 @@ _bfd_elf_default_got_elt_size (bfd *abfd,
 
 /* Routines to support the creation of dynamic relocs.  */
 
-/* Return true if NAME is a name of a relocation
-   section associated with section S.  */
-
-static bfd_boolean
-is_reloc_section (bfd_boolean rela, const char * name, asection * s)
-{
-  if (rela)
-    return CONST_STRNEQ (name, ".rela")
-      && strcmp (bfd_get_section_name (NULL, s), name + 5) == 0;
-
-  return CONST_STRNEQ (name, ".rel")
-    && strcmp (bfd_get_section_name (NULL, s), name + 4) == 0;
-}
-
 /* Returns the name of the dynamic reloc section associated with SEC.  */
 
 static const char *
@@ -12618,26 +12604,15 @@ get_dynamic_reloc_section_name (bfd *       abfd,
 				asection *  sec,
 				bfd_boolean is_rela)


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-05  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-22 23:09 [SCM] archer-jankratochvil-fedora15: Merge remote-tracking branch 'origin/archer-jankratochvil-ifunc' into archer-jankratochvil-fedora15 jkratoch
2011-03-05  7:21 jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).