public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  users/jkratoch/dwarf5gcc-gdb: Merge branch 'dwarf5gcc' into dwarf5gcc-gdb
Date: Sun, 13 Nov 2016 16:02:00 -0000	[thread overview]
Message-ID: <20161113160255.62518.qmail@sourceware.org> (raw)

The branch, users/jkratoch/dwarf5gcc-gdb has been updated
       via  ace66aaeae939d294394b5952875212aa4079bfb (commit)
       via  459afe42d7936cd753cbd3655bd9971f584bee1d (commit)
       via  c31e87fdd3cdfa988339b1687fc4232b731e7623 (commit)
       via  b612f4193c6119fb06933b0dabcc84a2b952d57e (commit)
       via  3f47df7fb3fb46566bb68dd638a61cef87dd14e9 (commit)
       via  75d6c74e79ded209b1f0959b1780ab5b8885b9c2 (commit)
       via  8001f1183f32d674fa3e9af1cca16856afdffc3e (commit)
       via  d93f4d96bb0fb307db9e2dade38ddb3c6bc469ca (commit)
       via  6cb2202baaf482a8c7d54e5ec93af2f057e7ce28 (commit)
       via  8a19d84c2ba3ff1273ae1583681a0c428cf4425e (commit)
       via  7d15592e06e4abccc97cb8c5670f564327f747e9 (commit)
       via  1f8db343049c3e06483a278e14b7e140ec55c8b3 (commit)
       via  86b80085c889cd388fa677a5ae9053fd4be3776c (commit)
       via  2f7d995359c7f280431f015726485ca421b0a65a (commit)
       via  df2c87b5803750d21f03b7d36f8d1abace3e1e14 (commit)
       via  74f5402d08b857d60499b27851c204954ce6c42c (commit)
       via  c84364ece4faa7b3eb0f60f4dc301282e9693e1e (commit)
       via  a2cfc830e715142a0dd28496feaedf569b116b0e (commit)
       via  b0bfa7b5b884f78b798ab8d34d2a50bc63f558df (commit)
       via  8787d804e1cbbd1946239d6c5e560c87d38bac06 (commit)
       via  3d731f6949e2b0099cfbe0cf608d60a52a66d354 (commit)
       via  1924ff7567abf9e1341ae135fb5097bc5f7b76f4 (commit)
       via  fa09f4ea584e1bc33036e9ef82142db92b31da7c (commit)
       via  7103ad7639b7ed80bec170404185a8e39079446b (commit)
       via  668e167446b2777869f413841ec05aed59473d9f (commit)
       via  65408fa680538f997cdd4b6fb9d74f043a060801 (commit)
       via  91588b3af8e026ba11c7368476cc1f3fa8c2e2b1 (commit)
       via  e04659e8607bfed6995fd2ced9aaab55e2143302 (commit)
       via  a6bbedbad370ad895a6c559a60efe27a5a7838e6 (commit)
       via  a18590c38657a982f8d544f2f54f39ba9abe9fca (commit)
       via  ac33b731d214d79738ca04d27f7464d4482f6a01 (commit)
       via  9b9720149dfee4a9a961c29d0382fc5bdf9c975b (commit)
       via  4e9d2153228d95c972907a8b13237218d380c5d3 (commit)
       via  60227d64dd9228be1a07fc7122894fc2875b1a70 (commit)
       via  1032d6ebdcd53b8c09c76a1c3b932065d84b0b20 (commit)
       via  7766fd10024dc0587838fbc4608f3f8e30e17a26 (commit)
       via  fad0c9fb7dd362bdb5a3e4f89fb7f6e6789f5beb (commit)
       via  7efeed176a291c15c74e80aee5d7f906e28081cf (commit)
       via  8354c62cd144964fce17e11ce035c0c2c0635cbf (commit)
       via  64f367a201565d5c7d1e03da072db51123ac2174 (commit)
       via  2806dc7eec04db49fca03e04827e3dff7f6704e0 (commit)
       via  6c73cd95f96d37dbf6092a87c8ba0f35277223a5 (commit)
       via  7a63494a0df60cf71b9cf03c4eb8f24719d03e66 (commit)
       via  8c84bffb45ac63b98fffc5c1a492c2eb7e4f27e2 (commit)
       via  7bc2c8b83ea82b4315c67e7658af815aed062e73 (commit)
       via  f5396833d35a257902409493a63f777dcd771868 (commit)
       via  0bb65f1e7c9eed7338ef2e4a2f5b42d010409c39 (commit)
       via  82b19a4d2f9c9e8d56fdffdd702f7db4af486386 (commit)
       via  4c1d4908aa9e61a35a2555e5529997d7f996a516 (commit)
       via  1f334aeb2268db153f01143e9b0ac01448ecaa56 (commit)
       via  7353f2470c2eda19c31c9fa44c315c7c69dea7c4 (commit)
       via  30a7bb833cbd848b1814f18b91dfdafba4e86839 (commit)
       via  e8b24d9ff5b9419fc079f5fe975fac6f499f8bfb (commit)
       via  cc977dc7d53ef4546592a4f02a2e06a621beae6f (commit)
       via  3cde5c42d1c1ddcf8bbde5c47233c644370c959c (commit)
       via  833177a4a5c1a2a6cabe70bfe35ecf241b68d169 (commit)
       via  2f408ecb929bd56613e94cf1e84ace4692c78257 (commit)
       via  d2af8993a7cac29eaa5a4efd47c9117bbd175068 (commit)
       via  5698084a7303c45fdc94fb44c47355413b271562 (commit)
       via  af1fe7b3b87de27d84a82d4f44b937c2800205ff (commit)
       via  3b4de39c9d9ff014ae90e2bafbf7ce1f42c2198e (commit)
       via  6f0302493af0ace93943041c3374069c15c363f7 (commit)
       via  66bbce5bda870c49a68f2b77a29fb96eca72632f (commit)
       via  aaee65aea29ac8f7317e866d5dbef9f96cfdb253 (commit)
       via  3d8b0d9483f6eabc2c1739ac3dd64c30061a6a72 (commit)
       via  b3ced9bad2d8d5eb9ebabc5f8f7c6ab871f63748 (commit)
       via  c92aed165e8af79f51c5165f98f12389bb59a121 (commit)
       via  02030646c2a799614d31e52008403d8be067ac5d (commit)
       via  7b01d34b2a62fb8cda96fe40c755f99e63b8ba4f (commit)
       via  db1ec11fff1a46f7046bcbd971a42632d2ea795c (commit)
       via  3ab692db7f4d96022a132379614031a852de6f35 (commit)
       via  09b0e4b047b44063cf4c8c00527886743619c24e (commit)
       via  d16c5475b560adbad2d9bc78ec3718658f4090e3 (commit)
       via  56dbf31760f721893a44d3da26adfccf548995c7 (commit)
       via  77e1c7426aad05b20f48762234c02139e9c02f8e (commit)
       via  a0f86e735886f3d373507fa9cfc0cf2a2f32eabc (commit)
       via  322a851675234b3c16be6dd5035b07f5e3410ec7 (commit)
       via  1f45808ead357e8a81dec16b9802a6c369e08426 (commit)
       via  8de00631b8bd1c328f1916b1fd95bd0d9ff2017e (commit)
       via  4d01a485d29732b19743e8b138897f3509e071b0 (commit)
       via  b064640146bb6908a0ccca27ca8ee2b06b668137 (commit)
       via  896b6bda6904765f36692d76a37b99c0412ca9ae (commit)
       via  4f8ad951f662864884d4b11315c940c5239a4a89 (commit)
       via  d4081a383e28db26c65298f7405554d4312b1342 (commit)
       via  cb64e50d42a49bce61050c79c5ab0846905b6a82 (commit)
       via  93f9a11fbdb8f09428b17180d51a09a1bda39a52 (commit)
       via  0bc5d801ec836cd4b7d1ab7d05658e7a1d05df22 (commit)
       via  771da62d67a9f27c1e706610efe51b13c3f9fd60 (commit)
       via  53c3572a9f5b03a92292cb6d24bf69b52c95500e (commit)
       via  3b0d929dd61fcd55b4ef320a2033c731443b394f (commit)
       via  089e3718bd8de11fc4d6bbc8d32701033d467960 (commit)
       via  20955dbf718992e83b7c971344931934b62a784f (commit)
       via  9dc193c3be85aafa60ceff57d3b0430af607b4ce (commit)
       via  ec7b600bf1410f6bda239666fac258a605dc3f43 (commit)
       via  48c97fa1ba7d6628352fc2433abd91a41f6c8171 (commit)
       via  5996220cfa24ef6fddb782617720cd56913b1bb7 (commit)
       via  ad9eb1fdda263cd91ee8fb36292fb29d546b0076 (commit)
       via  bc71081e53e3c0a52a28d5874e65a54194e2205f (commit)
       via  a57160325ef479bd7181a4319126b1177c4a5cbb (commit)
       via  5ada5c6fca335963b0b9fb9e91c999fcdaab2f89 (commit)
      from  5f99143a907a0191391a4c691deb530b4420216d (commit)

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

- Log -----------------------------------------------------------------
commit ace66aaeae939d294394b5952875212aa4079bfb
Merge: c31e87f 459afe4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Nov 13 17:02:26 2016 +0100

    Merge branch 'dwarf5gcc' into dwarf5gcc-gdb

commit c31e87fdd3cdfa988339b1687fc4232b731e7623
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Nov 13 17:01:56 2016 +0100

    .

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

Summary of changes:
 ChangeLog                                          |    6 +
 bfd/ChangeLog                                      |   45 +
 bfd/coffcode.h                                     |    5 +-
 bfd/compress.c                                     |    8 +
 bfd/dwarf2.c                                       |  377 ++-
 bfd/elfnn-aarch64.c                                |    3 +-
 bfd/version.h                                      |    2 +-
 binutils/ChangeLog                                 |   21 +
 binutils/NEWS                                      |    4 +
 binutils/doc/binutils.texi                         |   27 +-
 binutils/dwarf.c                                   |  247 ++
 binutils/nm.c                                      |   18 +
 binutils/readelf.c                                 |   10 +-
 binutils/testsuite/binutils-all/nm-ver.s           |    9 +
 binutils/testsuite/binutils-all/nm.exp             |   31 +
 config.guess                                       |   28 +-
 config.sub                                         |   20 +-
 gas/ChangeLog                                      |   81 +
 gas/config/tc-aarch64.c                            |    7 +-
 gas/config/tc-moxie.c                              |    7 +
 gas/doc/c-aarch64.texi                             |    2 +-
 gas/expr.c                                         |    8 +
 gas/testsuite/gas/aarch64/illegal-crypto-nofp.d    |    3 +
 gas/testsuite/gas/aarch64/illegal-crypto-nofp.l    |   19 +
 gas/testsuite/gas/aarch64/illegal-fp16-nofp.d      |    2 +
 gas/testsuite/gas/aarch64/illegal-fp16-nofp.l      |    6 +
 gas/testsuite/gas/aarch64/illegal-fp16-nofp.s      |    7 +
 gas/testsuite/gas/aarch64/illegal-sysreg-3.d       |    3 +
 gas/testsuite/gas/aarch64/illegal-sysreg-3.l       |   21 +
 gas/testsuite/gas/aarch64/pac.d                    |   52 +
 gas/testsuite/gas/aarch64/pac.s                    |   56 +
 gas/testsuite/gas/aarch64/sysreg-3.d               |   28 +
 gas/testsuite/gas/aarch64/sysreg-3.s               |   21 +
 gas/testsuite/gas/aarch64/system-3.d               |   34 +
 gas/testsuite/gas/aarch64/system-3.s               |   41 +
 gas/testsuite/gas/aarch64/system.d                 |   26 +-
 gas/testsuite/gas/i386/fpu-bad.d                   |   11 +
 gas/testsuite/gas/i386/fpu-bad.s                   |    4 +
 gas/testsuite/gas/i386/i386.exp                    |    1 +
 gas/testsuite/gas/i386/opcode-intel.d              |    1 +
 gas/testsuite/gas/i386/opcode-suffix.d             |    9 +
 gas/testsuite/gas/i386/opcode.d                    |    1 +
 gas/testsuite/gas/i386/opcode.s                    |    2 +
 .../gas/i386/x86-64-avx512bw-opts-intel.d          |   24 -
 gas/testsuite/gas/i386/x86-64-avx512bw-opts.d      |   24 -
 gas/testsuite/gas/i386/x86-64-avx512bw-opts.s      |   24 -
 gas/testsuite/gas/sparc/pr20732.d                  |   14 +
 gas/testsuite/gas/sparc/pr20732.s                  |    3 +
 gas/testsuite/gas/sparc/sparc.exp                  |    1 +
 gdb/ChangeLog                                      |  883 +++++-
 gdb/Makefile.in                                    |    2 +-
 gdb/aarch64-tdep.c                                 |   18 +-
 gdb/ada-lang.c                                     |   83 +-
 gdb/ada-lang.h                                     |    6 +-
 gdb/ada-valprint.c                                 |  121 +-
 gdb/ada-varobj.c                                   |  130 +-
 gdb/alpha-tdep.c                                   |   28 +-
 gdb/alpha-tdep.h                                   |    2 +-
 gdb/arm-linux-tdep.c                               |   14 +-
 gdb/arm-tdep.c                                     |   32 +-
 gdb/arm-tdep.h                                     |    4 +-
 gdb/ax-gdb.c                                       |  149 +-
 gdb/ax-gdb.h                                       |   24 +-
 gdb/ax-general.c                                   |   48 +-
 gdb/ax.h                                           |   19 +-
 gdb/break-catch-sig.c                              |    2 +-
 gdb/break-catch-syscall.c                          |    2 +-
 gdb/break-catch-throw.c                            |   26 +-
 gdb/breakpoint.c                                   |  251 +-
 gdb/breakpoint.h                                   |   31 +-
 gdb/c-exp.y                                        |    9 +-
 gdb/c-lang.c                                       |    9 +-
 gdb/c-lang.h                                       |   24 +-
 gdb/c-typeprint.c                                  |    5 +-
 gdb/c-valprint.c                                   |   33 +-
 gdb/c-varobj.c                                     |  142 +-
 gdb/cli/cli-script.c                               |  128 +-
 gdb/cli/cli-setshow.c                              |    7 +-
 gdb/common/common-utils.c                          |   23 +
 gdb/common/common-utils.h                          |    6 +
 gdb/compile/compile-c-support.c                    |    6 +-
 gdb/compile/compile-internal.h                     |   25 +
 gdb/compile/compile-object-load.c                  |   18 +-
 gdb/compile/compile-object-load.h                  |    4 +-
 gdb/compile/compile.c                              |  106 +-
 gdb/configure.tgt                                  |    9 +-
 gdb/cp-abi.c                                       |    2 +-
 gdb/cp-abi.h                                       |    7 +-
 gdb/cp-support.c                                   |   60 +-
 gdb/cp-support.h                                   |   10 +-
 gdb/cp-valprint.c                                  |   35 +-
 gdb/cris-tdep.c                                    |   13 +-
 gdb/d-lang.h                                       |    4 +-
 gdb/d-valprint.c                                   |   14 +-
 gdb/darwin-nat.c                                   |  342 ++-
 gdb/dbxread.c                                      |   22 +-
 gdb/dtrace-probe.c                                 |    6 +-
 gdb/dwarf2read.c                                   |   25 +-
 gdb/eval.c                                         |   43 +-
 gdb/expression.h                                   |   12 +-
 gdb/extension-priv.h                               |   14 +-
 gdb/extension.c                                    |   16 +-
 gdb/extension.h                                    |    4 +-
 gdb/f-lang.h                                       |    4 +-
 gdb/f-valprint.c                                   |   13 +-
 gdb/gdbarch.c                                      |   10 +-
 gdb/gdbarch.h                                      |   19 +-
 gdb/gdbarch.sh                                     |   25 +-
 gdb/gdbcmd.h                                       |    2 +-
 gdb/gdbtypes.c                                     |   12 +-
 gdb/gnu-v3-abi.c                                   |   57 +-
 gdb/go-lang.h                                      |    4 +-
 gdb/go-valprint.c                                  |   14 +-
 gdb/guile/guile-internal.h                         |    4 +-
 gdb/guile/guile.c                                  |   18 +-
 gdb/guile/scm-breakpoint.c                         |    6 +-
 gdb/guile/scm-disasm.c                             |    6 +-
 gdb/guile/scm-frame.c                              |    6 +-
 gdb/guile/scm-pretty-print.c                       |    9 +-
 gdb/guile/scm-type.c                               |   42 +-
 gdb/guile/scm-value.c                              |   21 +-
 gdb/i386-tdep.c                                    |    8 +-
 gdb/infcmd.c                                       |   12 +-
 gdb/infrun.c                                       |   14 +-
 gdb/language.c                                     |   11 +-
 gdb/language.h                                     |   23 +-
 gdb/linespec.c                                     |   53 +-
 gdb/m2-lang.h                                      |    4 +-
 gdb/m2-valprint.c                                  |   21 +-
 gdb/main.c                                         |   31 +-
 gdb/mi/mi-cmd-var.c                                |   95 +-
 gdb/mi/mi-main.c                                   |   44 +-
 gdb/minsyms.c                                      |   17 +-
 gdb/mips-tdep.c                                    |   59 +-
 gdb/mips-tdep.h                                    |    2 +-
 gdb/moxie-tdep.c                                   |   34 +-
 gdb/mt-tdep.c                                      |    9 +-
 gdb/nios2-tdep.c                                   |    8 +-
 gdb/objc-lang.c                                    |    7 +-
 gdb/p-lang.h                                       |    6 +-
 gdb/p-valprint.c                                   |   19 +-
 gdb/parse.c                                        |   50 +-
 gdb/ppc-tdep.h                                     |    2 +-
 gdb/printcmd.c                                     |   63 +-
 gdb/python/py-arch.c                               |   10 +-
 gdb/python/py-breakpoint.c                         |   38 +-
 gdb/python/py-cmd.c                                |   17 +-
 gdb/python/py-frame.c                              |   23 +-
 gdb/python/py-framefilter.c                        |   70 +-
 gdb/python/py-function.c                           |   15 +-
 gdb/python/py-infthread.c                          |    8 +-
 gdb/python/py-param.c                              |   46 +-
 gdb/python/py-prettyprint.c                        |   35 +-
 gdb/python/py-type.c                               |   15 +-
 gdb/python/py-unwind.c                             |   17 +-
 gdb/python/py-utils.c                              |   60 +-
 gdb/python/py-value.c                              |   27 +-
 gdb/python/py-varobj.c                             |   12 +-
 gdb/python/python-internal.h                       |   17 +-
 gdb/python/python.c                                |   43 +-
 gdb/record-full.c                                  |   18 +-
 gdb/remote.c                                       |  108 +-
 gdb/rs6000-aix-tdep.c                              |   12 +-
 gdb/rs6000-tdep.c                                  |   12 +-
 gdb/rust-exp.y                                     |  101 +-
 gdb/rust-lang.c                                    |   97 +-
 gdb/s390-linux-tdep.c                              |   16 +-
 gdb/sh64-tdep.c                                    |   15 +-
 gdb/sparc-tdep.c                                   |    9 +-
 gdb/spu-tdep.c                                     |   32 +-
 gdb/stabsread.c                                    |   21 +-
 gdb/stack.c                                        |    6 +-
 gdb/symtab.c                                       |   87 +-
 gdb/symtab.h                                       |   39 +-
 gdb/testsuite/ChangeLog                            |   94 +-
 gdb/testsuite/gdb.base/commands.exp                |  519 ++--
 gdb/testsuite/gdb.base/dump.exp                    |    4 +-
 gdb/testsuite/gdb.base/tui-layout.c                |   47 +
 gdb/testsuite/gdb.base/tui-layout.exp              |   17 +-
 .../gdb.mi/user-selected-context-sync.exp          |   55 +-
 gdb/testsuite/gdb.python/py-framefilter.py         |    6 +
 gdb/testsuite/gdb.python/py-value.exp              |    6 +-
 gdb/testsuite/lib/gdb.exp                          |   21 +
 gdb/tic6x-tdep.c                                   |    9 +-
 gdb/top.c                                          |   14 +-
 gdb/tracepoint.c                                   |  522 ++--
 gdb/tracepoint.h                                   |   72 +-
 gdb/tui/tui-disasm.c                               |   43 +-
 gdb/tui/tui-winsource.c                            |   22 +-
 gdb/typeprint.c                                    |   21 +-
 gdb/ui-file.c                                      |   22 +
 gdb/ui-file.h                                      |    6 +
 gdb/ui-out.c                                       |    9 +-
 gdb/utils-selftests.c                              |   60 +
 gdb/utils.c                                        |    5 +-
 gdb/valprint.c                                     |  191 +-
 gdb/valprint.h                                     |   12 +-
 gdb/value.c                                        |    8 +-
 gdb/value.h                                        |    6 +-
 gdb/varobj-iter.h                                  |    4 +-
 gdb/varobj.c                                       |  236 +-
 gdb/varobj.h                                       |   73 +-
 gdb/xtensa-tdep.c                                  |    9 +-
 include/ChangeLog                                  |   10 +
 include/opcode/aarch64.h                           |   22 +-
 ld/ChangeLog                                       |    8 +
 ld/testsuite/ld-aarch64/aarch64-elf.exp            |    2 +
 ld/testsuite/ld-aarch64/pie-bind-locally-a.s       |    5 +
 ld/testsuite/ld-aarch64/pie-bind-locally-b.s       |    6 +
 ld/testsuite/ld-aarch64/pie-bind-locally.d         |    9 +
 opcodes/ChangeLog                                  |   86 +
 opcodes/aarch64-asm-2.c                            |  922 +++---
 opcodes/aarch64-dis-2.c                            | 3579 +++++++++++---------
 opcodes/aarch64-gen.c                              |    4 +-
 opcodes/aarch64-opc-2.c                            |   97 +-
 opcodes/aarch64-opc.c                              |   25 +
 opcodes/aarch64-tbl.h                              |   51 +
 opcodes/i386-dis-evex.h                            |    2 +-
 opcodes/i386-dis.c                                 |  348 +--
 opcodes/i386-opc.tbl                               |   14 +-
 opcodes/i386-tbl.h                                 |   84 +-
 sim/mips/ChangeLog                                 |   11 +
 sim/mips/dv-tx3904cpu.c                            |    5 +
 sim/mips/mips.igen                                 |    1 +
 224 files changed, 7869 insertions(+), 5887 deletions(-)
 create mode 100644 binutils/testsuite/binutils-all/nm-ver.s
 create mode 100644 gas/testsuite/gas/aarch64/illegal-crypto-nofp.d
 create mode 100644 gas/testsuite/gas/aarch64/illegal-crypto-nofp.l
 create mode 100644 gas/testsuite/gas/aarch64/illegal-fp16-nofp.d
 create mode 100644 gas/testsuite/gas/aarch64/illegal-fp16-nofp.l
 create mode 100644 gas/testsuite/gas/aarch64/illegal-fp16-nofp.s
 create mode 100644 gas/testsuite/gas/aarch64/illegal-sysreg-3.d
 create mode 100644 gas/testsuite/gas/aarch64/illegal-sysreg-3.l
 create mode 100644 gas/testsuite/gas/aarch64/pac.d
 create mode 100644 gas/testsuite/gas/aarch64/pac.s
 create mode 100644 gas/testsuite/gas/aarch64/sysreg-3.d
 create mode 100644 gas/testsuite/gas/aarch64/sysreg-3.s
 create mode 100644 gas/testsuite/gas/aarch64/system-3.d
 create mode 100644 gas/testsuite/gas/aarch64/system-3.s
 create mode 100644 gas/testsuite/gas/i386/fpu-bad.d
 create mode 100644 gas/testsuite/gas/i386/fpu-bad.s
 create mode 100644 gas/testsuite/gas/sparc/pr20732.d
 create mode 100644 gas/testsuite/gas/sparc/pr20732.s
 create mode 100644 gdb/testsuite/gdb.base/tui-layout.c
 create mode 100644 gdb/utils-selftests.c
 create mode 100644 ld/testsuite/ld-aarch64/pie-bind-locally-a.s
 create mode 100644 ld/testsuite/ld-aarch64/pie-bind-locally-b.s
 create mode 100644 ld/testsuite/ld-aarch64/pie-bind-locally.d

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index c4412c8..84ad164 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-11-07  Doug Evans  <dje@google.com>
+
+	* config.sub: Sync with upstream version 2016-11-03.
+	git://git.sv.gnu.org/config.git
+	* config.guess: Sync with upstream version 2016-10-02.
+
 2016-09-27  Simon Marchi  <simon.marchi@polymtl.ca>
 
 	* .gitignore: Add archives and make stamps.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 810dd05..b8a1ba4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,48 @@
+2016-11-11  Luke Allardyce  <lukeallardyce@gmail.com>
+
+	PR ld/20722
+	* coffcode.h (coff_slurp_symbol_table): Accept C_HIDDEN symbols,
+	but treat them as debugging symbols.
+
+2016-11-10  Jiong Wang  <jiong.wang@arm.com>
+
+	PR target/20737
+	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Bind defined
+	symbol locally in PIE.
+
+2016-11-10  Nick Clifton  <nickc@redhat.com>
+
+	PR binutils/20801
+	* compress.c (bfd_get_full_section_contents): Provide a more
+	helpful error message when a section is too large to load.
+
+2016-11-08  Pedro Alves  <palves@redhat.com>
+
+	* dwarf2.c (struct funcinfo) <is_linkage>: Type is bfd_boolean,
+	not "bfd boolean".
+
+2016-11-08  Igor Tsimbalist  <tigor.tools@gmail.com>
+
+	* dwarf2.c (comp_unit): Add new fields 'lookup_funcinfo_table' and
+	'number_of_functions' to keep lookup table and number of entries in
+	the table.
+	(line_sequence): Add new fields 'line_info_lookup' and 'num_lines'
+	to keep lookup table and number of entries in the table.
+	(lookup_funcinfo): New structure for lookup table for function
+	references.
+	(build_line_info_table): New function to create and build the lookup
+	table for line information.
+	(lookup_address_in_line_info_table): Use the lookup table instead of
+	traverse a linked list.
+	(compare_lookup_funcinfos): New compare fuction used in sorting of
+	lookup table for function references.
+	(build_lookup_funcinfo_table): New function to create, build and
+	sort the lookup table for functions references.
+	(lookup_address_in_function_table): Use the table instead of
+	traverse a linked list.
+	(_bfd_dwarf2_cleanup_debug_info): Free memory from function references
+	lookup table.
+
 2016-11-04  Nick Clifton  <nickc@redhat.com>
 
 	* targets.c (bfd_target_vector): Only add riscv_elf32_vec target
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 0862f66..b926c65 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -5068,7 +5068,6 @@ coff_slurp_symbol_table (bfd * abfd)
 	    case C_UEXT:	/* Tentative external definition.  */
 #endif
 	    case C_EXTLAB:	/* External load time label.  */
-	    case C_HIDDEN:	/* Ext symbol in dmert public lib.  */
 	    default:
 	      _bfd_error_handler
 		/* xgettext:c-format */
@@ -5076,6 +5075,10 @@ coff_slurp_symbol_table (bfd * abfd)
 		 abfd, src->u.syment.n_sclass,
 		 dst->symbol.section->name, dst->symbol.name);
 	      ret = FALSE;
+	      /* Faal through.  */
+	    case C_HIDDEN:	/* Ext symbol in dmert public lib.  */
+	      /* PR 20722: These symbols can also be generated by
+		 building DLLs with --gc-sections enabled.  */
 	      dst->symbol.flags = BSF_DEBUGGING;
 	      dst->symbol.value = (src->u.syment.n_value);
 	      break;
diff --git a/bfd/compress.c b/bfd/compress.c
index 0a96630..95e8c23 100644
--- a/bfd/compress.c
+++ b/bfd/compress.c
@@ -247,7 +247,15 @@ bfd_get_full_section_contents (bfd *abfd, sec_ptr sec, bfd_byte **ptr)
 	{
 	  p = (bfd_byte *) bfd_malloc (sz);
 	  if (p == NULL)
+	    {
+	      /* PR 20801: Provide a more helpful error message.  */
+	      if (bfd_get_error () == bfd_error_no_memory)
+		_bfd_error_handler
+		  /* xgettext:c-format */
+		  (_("error: %B(%A) is too large (%#lx bytes)"),
+		  abfd, sec, (long) sz);
 	    return FALSE;
+	    }
 	}
 
       if (!bfd_get_section_contents (abfd, sec, p, 0, sz))
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 81001c4..287ba0f 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -144,16 +144,16 @@ struct dwarf2_debug
   /* Length of the loaded .debug_str section.  */
   bfd_size_type dwarf_str_size;
 
-  /* Pointer to the .debug_ranges section loaded into memory. */
+  /* Pointer to the .debug_ranges section loaded into memory.  */
   bfd_byte *dwarf_ranges_buffer;
 
-  /* Length of the loaded .debug_ranges section. */
+  /* Length of the loaded .debug_ranges section.  */
   bfd_size_type dwarf_ranges_size;
 
   /* If the most recent call to bfd_find_nearest_line was given an
      address in an inlined function, preserve a pointer into the
      calling chain for subsequent calls to bfd_find_inliner_info to
-     use. */
+     use.  */
   struct funcinfo *inliner_chain;
 
   /* Section VMAs at the time the stash was built.  */
@@ -256,6 +256,12 @@ struct comp_unit
   /* A list of the functions found in this comp. unit.  */
   struct funcinfo *function_table;
 
+  /* A table of function information references searchable by address.  */
+  struct lookup_funcinfo *lookup_funcinfo_table;
+
+  /* Number of functions in the function_table and sorted_function_table.  */
+  bfd_size_type number_of_functions;
+
   /* A list of the variables found in this comp. unit.  */
   struct varinfo *variable_table;
 
@@ -390,7 +396,7 @@ struct info_hash_table
   struct bfd_hash_table base;
 };
 
-/* Function to create a new entry in info hash table. */
+/* Function to create a new entry in info hash table.  */
 
 static struct bfd_hash_entry *
 info_hash_table_newfunc (struct bfd_hash_entry *entry,
@@ -476,7 +482,7 @@ insert_info_hash_table (struct info_hash_table *hash_table,
 }
 
 /* Look up an info entry list from an info hash table.  Return NULL
-   if there is none. */
+   if there is none.  */
 
 static struct info_list_node *
 lookup_info_hash_table (struct info_hash_table *hash_table, const char *key)
@@ -1214,22 +1220,22 @@ non_mangled (int lang)
 
 struct line_info
 {
-  struct line_info* prev_line;
-  bfd_vma address;
-  char *filename;
-  unsigned int line;
-  unsigned int column;
-  unsigned int discriminator;
-  unsigned char op_index;
-  unsigned char end_sequence;		/* End of (sequential) code sequence.  */
+  struct line_info *	prev_line;
+  bfd_vma		address;
+  char *		filename;
+  unsigned int		line;
+  unsigned int		column;
+  unsigned int		discriminator;
+  unsigned char		op_index;
+  unsigned char		end_sequence;		/* End of (sequential) code sequence.  */
 };
 
 struct fileinfo
 {
-  char *name;
-  unsigned int dir;
-  unsigned int time;
-  unsigned int size;
+  char *		name;
+  unsigned int		dir;
+  unsigned int		time;
+  unsigned int		size;
 };
 
 struct line_sequence
@@ -1237,11 +1243,13 @@ struct line_sequence
   bfd_vma               low_pc;
   struct line_sequence* prev_sequence;
   struct line_info*     last_line;  /* Largest VMA.  */
+  struct line_info**    line_info_lookup;
+  bfd_size_type		num_lines;
 };
 
 struct line_info_table
 {
-  bfd*                  abfd;
+  bfd *                 abfd;
   unsigned int          num_files;
   unsigned int          num_dirs;
   unsigned int          num_sequences;
@@ -1260,23 +1268,37 @@ struct line_info_table
 struct funcinfo
 {
   /* Pointer to previous function in list of all functions.  */
-  struct funcinfo *prev_func;
+  struct funcinfo *	prev_func;
   /* Pointer to function one scope higher.  */
-  struct funcinfo *caller_func;
+  struct funcinfo *	caller_func;
   /* Source location file name where caller_func inlines this func.  */
-  char *caller_file;
+  char *		caller_file;
   /* Source location file name.  */
-  char *file;
+  char *		file;
   /* Source location line number where caller_func inlines this func.  */
-  int caller_line;
+  int			caller_line;
   /* Source location line number.  */
-  int line;
-  int tag;
-  bfd_boolean is_linkage;
-  const char *name;
-  struct arange arange;
+  int			line;
+  int			tag;
+  bfd_boolean		is_linkage;
+  const char *		name;
+  struct arange		arange;
   /* Where the symbol is defined.  */
-  asection *sec;
+  asection *		sec;
+};
+
+struct lookup_funcinfo
+{
+  /* Function information corresponding to this lookup table entry.  */
+  struct funcinfo *	funcinfo;
+
+  /* The lowest address for this specific function.  */
+  bfd_vma 		low_addr;
+
+  /* The highest address of this function before the lookup table is sorted.
+     The highest address of all prior functions after the lookup table is
+     sorted, which is used for binary search.  */
+  bfd_vma 		high_addr;
 };
 
 struct varinfo
@@ -1539,7 +1561,7 @@ arange_add (const struct comp_unit *unit, struct arange *first_arange,
   while (arange);
 
   /* Need to allocate a new arange and insert it into the arange list.
-     Order isn't significant, so just insert after the first arange. */
+     Order isn't significant, so just insert after the first arange.  */
   arange = (struct arange *) bfd_alloc (unit->abfd, sizeof (*arange));
   if (arange == NULL)
     return FALSE;
@@ -1579,17 +1601,62 @@ compare_sequences (const void* a, const void* b)
   return 0;
 }
 
+/* Construct the line information table for quick lookup.  */
+
+static bfd_boolean
+build_line_info_table (struct line_info_table *  table,
+		       struct line_sequence *    seq)
+{
+  bfd_size_type      amt;
+  struct line_info** line_info_lookup;
+  struct line_info*  each_line;
+  unsigned int       num_lines;
+  unsigned int       index;
+
+  if (seq->line_info_lookup != NULL)
+    return TRUE;
+
+  /* Count the number of line information entries.  We could do this while
+     scanning the debug information, but some entries may be added via
+     lcl_head without having a sequence handy to increment the number of
+     lines.  */
+  num_lines = 0;
+  for (each_line = seq->last_line; each_line; each_line = each_line->prev_line)
+    num_lines++;
+
+  if (num_lines == 0)
+    return TRUE;
+
+  /* Allocate space for the line information lookup table.  */
+  amt = sizeof (struct line_info*) * num_lines;
+  line_info_lookup = (struct line_info**) bfd_alloc (table->abfd, amt);
+  if (line_info_lookup == NULL)
+    return FALSE;
+
+  /* Create the line information lookup table.  */
+  index = num_lines;
+  for (each_line = seq->last_line; each_line; each_line = each_line->prev_line)
+    line_info_lookup[--index] = each_line;
+
+  BFD_ASSERT (index == 0);
+
+  seq->num_lines = num_lines;
+  seq->line_info_lookup = line_info_lookup;
+
+  return TRUE;
+}
+
 /* Sort the line sequences for quick lookup.  */
 
 static bfd_boolean
 sort_line_sequences (struct line_info_table* table)
 {
-  bfd_size_type amt;
-  struct line_sequence* sequences;
-  struct line_sequence* seq;
-  unsigned int n = 0;
-  unsigned int num_sequences = table->num_sequences;
-  bfd_vma last_high_pc;
+  bfd_size_type          amt;
+  struct line_sequence*  sequences;
+  struct line_sequence*  seq;
+  unsigned int           n = 0;
+  unsigned int           num_sequences = table->num_sequences;
+  bfd_vma                last_high_pc;
 
   if (num_sequences == 0)
     return TRUE;
@@ -1610,6 +1677,8 @@ sort_line_sequences (struct line_info_table* table)
       sequences[n].low_pc = seq->low_pc;
       sequences[n].prev_sequence = NULL;
       sequences[n].last_line = seq->last_line;
+      sequences[n].line_info_lookup = NULL;
+      sequences[n].num_lines = 0;
       seq = seq->prev_sequence;
       free (last_seq);
     }
@@ -2091,7 +2160,7 @@ lookup_address_in_line_info_table (struct line_info_table *table,
 				   unsigned int *discriminator_ptr)
 {
   struct line_sequence *seq = NULL;
-  struct line_info *each_line;
+  struct line_info *info;
   int low, high, mid;
 
   /* Binary search the array of sequences.  */
@@ -2109,26 +2178,43 @@ lookup_address_in_line_info_table (struct line_info_table *table,
 	break;
     }
 
-  if (seq && addr >= seq->low_pc && addr < seq->last_line->address)
+  /* Check for a valid sequence.  */
+  if (!seq || addr < seq->low_pc || addr >= seq->last_line->address)
+    goto fail;
+
+  if (!build_line_info_table (table, seq))
+    goto fail;
+
+  /* Binary search the array of line information.  */
+  low = 0;
+  high = seq->num_lines;
+  info = NULL;
+  while (low < high)
     {
-      /* Note: seq->last_line should be a descendingly sorted list.  */
-      for (each_line = seq->last_line;
-	   each_line;
-	   each_line = each_line->prev_line)
-	if (addr >= each_line->address)
-	  break;
+      mid = (low + high) / 2;
+      info = seq->line_info_lookup[mid];
+      if (addr < info->address)
+	high = mid;
+      else if (addr >= seq->line_info_lookup[mid + 1]->address)
+	low = mid + 1;
+      else
+	break;
+    }
 
-      if (each_line
-	  && !(each_line->end_sequence || each_line == seq->last_line))
-	{
-	  *filename_ptr = each_line->filename;
-	  *linenumber_ptr = each_line->line;
-	  if (discriminator_ptr)
-	    *discriminator_ptr = each_line->discriminator;
-	  return seq->last_line->address - seq->low_pc;
-	}
+  /* Check for a valid line information entry.  */
+  if (info
+      && addr >= info->address
+      && addr < seq->line_info_lookup[mid + 1]->address
+      && !(info->end_sequence || info == seq->last_line))
+    {
+      *filename_ptr = info->filename;
+      *linenumber_ptr = info->line;
+      if (discriminator_ptr)
+	*discriminator_ptr = info->discriminator;
+      return seq->last_line->address - seq->low_pc;
     }
 
+fail:
   *filename_ptr = NULL;
   return 0;
 }
@@ -2136,16 +2222,102 @@ lookup_address_in_line_info_table (struct line_info_table *table,
 /* Read in the .debug_ranges section for future reference.  */
 
 static bfd_boolean
-read_debug_ranges (struct comp_unit *unit)
+read_debug_ranges (struct comp_unit * unit)
 {
-  struct dwarf2_debug *stash = unit->stash;
+  struct dwarf2_debug * stash = unit->stash;
+
   return read_section (unit->abfd, &stash->debug_sections[debug_ranges],
 		       stash->syms, 0,
-		       &stash->dwarf_ranges_buffer, &stash->dwarf_ranges_size);
+		       &stash->dwarf_ranges_buffer,
+		       &stash->dwarf_ranges_size);
 }
 
 /* Function table functions.  */
 
+static int
+compare_lookup_funcinfos (const void * a, const void * b)
+{
+  const struct lookup_funcinfo * lookup1 = a;
+  const struct lookup_funcinfo * lookup2 = b;
+
+  if (lookup1->low_addr < lookup2->low_addr)
+    return -1;
+  if (lookup1->low_addr > lookup2->low_addr)
+    return 1;
+  if (lookup1->high_addr < lookup2->high_addr)
+    return -1;
+  if (lookup1->high_addr > lookup2->high_addr)
+    return 1;
+
+  return 0;
+}
+
+static bfd_boolean
+build_lookup_funcinfo_table (struct comp_unit * unit)
+{
+  struct lookup_funcinfo *lookup_funcinfo_table = unit->lookup_funcinfo_table;
+  unsigned int number_of_functions = unit->number_of_functions;
+  struct funcinfo *each;
+  struct lookup_funcinfo *entry;
+  size_t index;
+  struct arange *range;
+  bfd_vma low_addr, high_addr;
+
+  if (lookup_funcinfo_table || number_of_functions == 0)
+    return TRUE;
+
+  /* Create the function info lookup table.  */
+  lookup_funcinfo_table = (struct lookup_funcinfo *)
+    bfd_malloc (number_of_functions * sizeof (struct lookup_funcinfo));
+  if (lookup_funcinfo_table == NULL)
+    return FALSE;
+
+  /* Populate the function info lookup table.  */
+  index = number_of_functions;
+  for (each = unit->function_table; each; each = each->prev_func)
+    {
+      entry = &lookup_funcinfo_table[--index];
+      entry->funcinfo = each;
+
+      /* Calculate the lowest and highest address for this function entry.  */
+      low_addr  = entry->funcinfo->arange.low;
+      high_addr = entry->funcinfo->arange.high;
+
+      for (range = entry->funcinfo->arange.next; range; range = range->next)
+	{
+	  if (range->low < low_addr)
+	    low_addr = range->low;
+	  if (range->high > high_addr)
+	    high_addr = range->high;
+	}
+
+      entry->low_addr = low_addr;
+      entry->high_addr = high_addr;
+    }
+


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


             reply	other threads:[~2016-11-13 16:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-13 16:02 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-06 18:03 jkratoch
2016-11-02 20:55 jkratoch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161113160255.62518.qmail@sourceware.org \
    --to=jkratoch@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).