public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-12-24 20:30 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-12-24 20:30 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 1d5ee950ea1753fff1c6c80fc94095f5f7fcf98b (commit)
via 65ac99a581582031008a48b70fcf6952dee26af2 (commit)
via 4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95 (commit)
via 5284e471d53ccb7c7a1d140bd83098607ccf4b8a (commit)
via bdd152861ce75c36828904cf3d10f8ce14da6cf5 (commit)
via 1da43accb4f8e2a19dc033b617982e3c2dc83a08 (commit)
via d8722d7641d234dcd3d1f2254fbc5d9cf234e4e6 (commit)
via 0674ee5dada21c8deec690ca66d5b2870f13ea49 (commit)
via b2805ed55456cea2694d31fc8627cca17120267b (commit)
via 3fb49709438e204177373646585a76116caf23fb (commit)
via 645c455650ed35460afdacb078c7c58308607fbe (commit)
via 9e76c212e6311abaee4d02473473f7d6dcad972f (commit)
via 5b362f04b2a56d446b024027963be52d61f939cb (commit)
via 7dc53023ec5d000b3b8d287720ed8d04d91e02ec (commit)
via d81c735641cf6245c837a0203e9efaf21e63c27e (commit)
via 6eda96bcf3a53843feb5d6d4441f0d9da7bc8a75 (commit)
via b9fc2576a13367070c741c7ea1d364a483eed0e4 (commit)
via 865422fafaf387745b2979d47b6f448d28e0edb8 (commit)
via 6096dda15babc5307b1a0e9624d4e0028fd429e1 (commit)
via 4eabf3446367832693a1baf145f6ff02baae197b (commit)
via 99b5dbf2e78a63ba4be067bfabb3bec1a6406f1c (commit)
via 9703a4ef4d020991873bb4464f4800fe0547263c (commit)
via e0e7a9d436cb3c97ae89c9b0d2750a006746b233 (commit)
via 7a0c0a1475bf41913c7f25a9e363df26c8f772a1 (commit)
via c4d5a76223f74930add9014f2a77339eb80b737c (commit)
via 40d7d93ff412f4c34cde3daa04890d5cd2e0d9c9 (commit)
via ce0db13751aed2782c417bc4cf715313f9273e94 (commit)
via 34c41c681f4a0a0dfe0405c7d2aecf458520557a (commit)
via 112e8700a6fd2fed65ca70132c9cbed4132e8bd4 (commit)
via ab55d1a098571a559bf75031e1c3e7c914afadd7 (commit)
via eb3908448bfe295e49bc7bd8a88b90deaa1ba95f (commit)
via 514b85276b5521256e1688005e94f1d69fc10c27 (commit)
via 87903eafb083abbf330c22fbf941fcbad700c098 (commit)
via f0d19df99dfe1c63842206d15ae41dfd33d25bf0 (commit)
via b2c6190bfc280f834c8aaefe8074c3a2ea6d61ad (commit)
via e5b737de4a22c3099345f2613c106623d7f8d7e7 (commit)
via ad5bc88245bd8416fd16a2384eb00ec501bcc5e4 (commit)
via 58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba (commit)
via 9ef7906f20e81faa4498761002e6376f4d35c865 (commit)
via 3145b997151d2815065b5c880c1b0d63905d7630 (commit)
via 4e25adb3956f880efc28bfebabe79be7338b413f (commit)
via 9962fe293d16e1e1e4d05154e751fc7576226954 (commit)
via 7e66a1a05d3fc6cd72e3960608f86962efcaeb9d (commit)
via 992f1ddc3be1f5195f18beaa801ac50f284b10c5 (commit)
via 2693a26216c329bd7ec2aae7743409f572de4fa5 (commit)
via ff71884063d048e8f8c03de27d2bac343df4f77a (commit)
via 11dd08e9a0a2b7115aac32d9599f1bdb0ad12ea6 (commit)
via 853faf5cc34cfac362f33939543ce569c8ba6341 (commit)
via c60aaac10f9a185541b7f51a3353b95a6c764a4b (commit)
via 6b4382006bd5e766581d3357bbc0cff58345d04d (commit)
via 23c212516e3a91c74548ceccb597bdeaeb111e26 (commit)
via 7fd5392005624f8b0522d881aa94bbb470d68cd7 (commit)
via 4ebce1a0a5911e71aa2d00932ffb2126ff1f3633 (commit)
via c97dda72b905d5ba9b82004bf4e57dd4cf343147 (commit)
via 95f6ac8822ecbad5530c4488ac54fd46b4c658a2 (commit)
via 78d9f182f5cf4bc0d892af59030b85351b0ceab5 (commit)
via 092e01962dfbe7db9f5e57ca365b8ca56b4aa96a (commit)
via 3e67a37820a2838cdbd50f3f697ddc929443ceaa (commit)
via 04386d9ed5f068b74757bfac01670576e4e59b8a (commit)
via 755c5297bdbca564e97040ce7f036ed02dc7fa4a (commit)
via d115ab8eee9bb3e13aae86698a4fd91e0ed284e9 (commit)
via 2922d21da14b4711872371abacb16e8ab7c70894 (commit)
via 1d61f7949f77796ee407466f3ca7f42dcde9251b (commit)
via 45f764234a71431b581340957a3c8338e0593fdb (commit)
via 1d65abb5e2cb1624b358dda27a53a070bec685cc (commit)
via 96b0927de3ebdb302d8d571c43da3db5ec23847e (commit)
via dd1d944e2321de26f75a21f42750dd38ed964714 (commit)
via 412ffd830b94a860e81e8515140ba5ebc5aa82be (commit)
via ec5882fbd19a80299e7ae738fca016ef27830ad4 (commit)
via ee7ef219cbfbcf9217b50c4d30e719e2a6182a71 (commit)
via 89ede9f53b74f84febcd1c2a6db8b03f390b62ec (commit)
via 16e69324ec7fbe4ea12f2a0a069ad207ac8e3f97 (commit)
via b25e998d0be7d7ec2a14bfdca03370155355d215 (commit)
via 91068ec6ae02e85c5ca4fbe3c6e214bd87bb872f (commit)
via 4df995c77118d07c12fb260dbba0ca2b281324f1 (commit)
via 602a81860a9a64c6a4bf1e338698118b35518b93 (commit)
via 53eab0d3fa9e47acccf6073172663112a1471dad (commit)
from e5a9dc602b2337032f812bf9b5462d981eeef82a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 1d5ee950ea1753fff1c6c80fc94095f5f7fcf98b
Merge: e5a9dc6 65ac99a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 24 21:27:32 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit 65ac99a581582031008a48b70fcf6952dee26af2
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Dec 24 00:00:18 2016 +0000
Automatic date update in version.in
commit 4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 20:03:36 2016 +0000
MIPS/BFD: Remove EI_ABIVERSION 5 allocation for PT_GNU_STACK support
Revert commit 17733f5be961 ("Increment the ABIVERSION to 5 for MIPS
objects with non-executable stacks.") and remove EI_ABIVERSION 5
allocation for PT_GNU_STACK support, which has not made it to glibc
and will be reassigned.
bfd/
* bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Revert
2016-02-23 change and remove EI_ABIVERSION 5 support.
commit 5284e471d53ccb7c7a1d140bd83098607ccf4b8a
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 19:40:51 2016 +0000
MIPS16: Add ASMACRO instruction support
Add ASMACRO instruction support as per the MIPS16e ASE architecture
specifications [1][2], completing MIPS16e instruction set support.
[1] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
Application-Specific Extension to the MIPS32 Architecture", MIPS
Technologies, Inc., Document Number: MD00076, Revision 2.63, July
16, 2013, Section 4.1 "MIPS16e Instruction Descriptions", p. 65
[2] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
Application-Specific Extension to the MIPS64 Architecture", MIPS
Technologies, Inc., Document Number: MD00077, Revision 2.60, June
25, 2008, Section 1.1 "MIPS16e Instruction Descriptions", p. 66
include/
* opcode/mips.h: Document `0', `1', `2', `3', `4' and `s'
operand codes.
opcodes/
* mips16-opc.c (decode_mips16_operand): Add `0', `1', `2', `3',
`4' and `s' operand codes.
(mips16_opcodes): Add "asmacro" entry.
binutils/
* testsuite/binutils-all/mips/mips16-extend-insn.d: Update for
ASMACRO support.
gas/
* testsuite/gas/mips/mips16-asmacro.d: New test.
* testsuite/gas/mips/mips16-32@mips16-asmacro.d: New test.
* testsuite/gas/mips/mips16-64@mips16-asmacro.d: New test.
* testsuite/gas/mips/mips16-asmacro.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
commit bdd152861ce75c36828904cf3d10f8ce14da6cf5
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 19:40:09 2016 +0000
MIPS16: Simplify extended operand handling
Simplify extended operand handling and only specially process immediates
which require bit shuffling, using the generic operand insertion and
extraction handlers for the '<' (5-bit shift amount) operand code in
particular. Require the least significant bit of all extended operand
forms to be (artificially) set to 0 for their special processing to
trigger.
gas/
* config/tc-mips.c (mips16_immed): Limit `mips16_immed_extend'
use to operands whose LSB position is zero.
opcodes/
* mips-dis.c (print_mips16_insn_arg): Simplify processing of
extended operands.
* mips16-opc.c (decode_mips16_operand): Switch the extended
form of the `<' operand type to LSB position 22.
commit 1da43accb4f8e2a19dc033b617982e3c2dc83a08
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 18:06:55 2016 +0000
MIPS16/GAS: Clean up invalid unextended operand handling
Bail out right away when an unextended instruction encoding is required
either with the use of a `.t' suffix or by means of `.set noautoextend',
however an operand supplied requires the extended instruction form to be
used.
This is to avoid messing up with the internal state of the assembler,
even though no actual failures are known to happen as a result. Add
test cases for the situation concerned.
gas/
* config/tc-mips.c (match_mips16_insn): Don't update
`forced_insn_length' or the instruction opcode if an operand
requires an extended instruction form, but an unextended one
has been requested.
* testsuite/gas/mips/mips16-relax-unextended-1.d: New test.
* testsuite/gas/mips/mips16-relax-unextended-2.d: New test.
* testsuite/gas/mips/mips16-relax-unextended-1.l: New stderr
output.
* testsuite/gas/mips/mips16-relax-unextended-2.l: New stderr
output.
* testsuite/gas/mips/mips16-relax-unextended-1.s: New test
source.
* testsuite/gas/mips/mips16-relax-unextended-2.s: New test
source.
* testsuite/gas/mips/mips.exp: Run the new tests.
commit d8722d7641d234dcd3d1f2254fbc5d9cf234e4e6
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 17:05:01 2016 +0000
MIPS16: Reassign `0' and `4' operand codes
Replace `0' and `4' operand codes with `.' and `F' respectively to free
up the `0'-`4' consecutive range. No functional change.
gas/
* config/tc-mips.c (mips16_macro_build): Replace `0' and `4'
operand codes with `.' and `F' respectively.
(mips16_macro): Likewise.
include/
* opcode/mips.h: Replace `0' and `4' operand codes with `.' and
`F' respectively.
opcodes/
* mips16-opc.c (decode_mips16_operand): Replace `0' and `4'
operand codes with `.' and `F' respectively.
(mips16_opcodes): Likewise.
commit 0674ee5dada21c8deec690ca66d5b2870f13ea49
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 16:49:42 2016 +0000
MIPS16: Handle non-extensible instructions correctly
Identify non-extensible instructions in the MIPS16 opcode table and
disallow their use with the `.e' instruction size suffix in assembly and
do not interpret any EXTEND prefix present as a part of the instruction
in disassembly.
According to all versions of the MIPS16 ASE specifications the following
instructions encodings are not extensible [1][2][3][4][5][6]: I8/MOV32R,
I8/MOVR32, all RRR minor opcodes, all RR minor opcodes except from DSRA
and DSRL, and EXTEND itself, and as from revision 2.50 of the MIPS16e
ASE specifications it has been further clarified what was previously
implied, that non-extesiable instructions when preceded with an EXTEND
prefix must cause a Reserved Instruction exception [3][5].
Therefore in the presence of an EXTEND prefix none of these instructions
are supposed to be handled as extended instructions and supporting these
forms in disassembly causes confusion, and in the case of the RRR major
opcode it also clashes with the ASMACRO encoding.
References:
[1] "Product Description, MIPS16 Application-Specific Extension",
Version 1.3, MIPS Technologies, Inc., 970130, Table 3. "MIPS16
Instruction Set Summary", p. 5
[2] same, Table 5 "RR Minor Opcodes (RR-type instructions)", p.10
[3] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
Application-Specific Extension to the MIPS32 Architecture", MIPS
Technologies, Inc., Document Number: MD00076, Revision 2.63, July
16, 2013, Section 3.9 "MIPS16e Instruction Summaries", pp. 37-39
[4] same, Section 3.15 "Instruction Bit Encoding", pp. 46-49
[5] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
Application-Specific Extension to the MIPS64 Architecture", MIPS
Technologies, Inc., Document Number: MD00077, Revision 2.60, June
25, 2008, Section 1.9 "MIPS16e Instruction Summaries", pp. 38-41
[6] same, Section 1.15 "Instruction Bit Encoding", pp. 48-51
include/
* opcode/mips.h (INSN2_SHORT_ONLY): New macro.
gas/
* config/tc-mips.c (is_size_valid_16): Disallow a `.e' suffix
instruction size override for INSN2_SHORT_ONLY opcode table
entries.
* testsuite/gas/mips/mips16-extend-swap.d: Adjust output.
* testsuite/gas/mips/mips16-macro-e.l: Adjust error messages.
* testsuite/gas/mips/mips16-32@mips16-macro-e.l: Adjust error
messages.
* testsuite/gas/mips/mips16e-32@mips16-macro-e.l: Adjust error
messages.
* testsuite/gas/mips/mips16-insn-e.d: New test.
* testsuite/gas/mips/mips16-insn-t.d: New test.
* testsuite/gas/mips/mips16-32@mips16-insn-e.d: New test.
* testsuite/gas/mips/mips16-64@mips16-insn-e.d: New test.
* testsuite/gas/mips/mips16e-32@mips16-insn-e.d: New test.
* testsuite/gas/mips/mips16-32@mips16-insn-t.d: New test.
* testsuite/gas/mips/mips16-64@mips16-insn-t.d: New test.
* testsuite/gas/mips/mips16e-32@mips16-insn-t.d: New test.
* testsuite/gas/mips/mips16-insn-e.l: New stderr output.
* testsuite/gas/mips/mips16-insn-t.l: New stderr output.
* testsuite/gas/mips/mips16-32@mips16-insn-e.l: New stderr
output.
* testsuite/gas/mips/mips16-64@mips16-insn-e.l: New stderr
output.
* testsuite/gas/mips/mips16e-32@mips16-insn-e.l: New stderr
output.
* testsuite/gas/mips/mips16-32@mips16-insn-t.l: New stderr
output.
* testsuite/gas/mips/mips16-64@mips16-insn-t.l: New stderr
output.
* testsuite/gas/mips/mips16e-32@mips16-insn-t.l: New stderr
output.
* testsuite/gas/mips/mips16-insn-e.s: New test source.
* testsuite/gas/mips/mips16-insn-t.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
opcodes/
* mips-dis.c (print_insn_mips16): Disallow EXTEND prefix
matching for INSN2_SHORT_ONLY opcode table entries.
* mips16-opc.c (SH): New macro.
(mips16_opcodes): Set SH in `pinfo2' for non-extensible
instruction entries: "nop", "addu", "and", "break", "cmp",
"daddu", "ddiv", "ddivu", "div", "divu", "dmult", "dmultu",
"drem", "dremu", "dsllv", "dsll", "dsrav", "dsra", "dsrlv",
"dsrl", "dsubu", "exit", "entry", "jalr", "jal", "jr", "j",
"jalrc", "jrc", "mfhi", "mflo", "move", "mult", "multu", "neg",
"not", "or", "rem", "remu", "sllv", "sll", "slt", "sltu",
"srav", "sra", "srlv", "srl", "subu", "xor", "sdbbp", "seb",
"seh", "sew", "zeb", "zeh", "zew" and "extend".
binutils/
* testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
* testsuite/binutils-all/mips/mips16-extend-insn.s: New test
source.
* testsuite/binutils-all/mips/mips.exp: Run the new tests.
commit b2805ed55456cea2694d31fc8627cca17120267b
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 12:42:56 2016 +0000
MIPS16: Remove "extended" BREAK/SDBBP handling
Remove special casing for the `6' operand code used for the embedded
trap code of the BREAK and the SDBBP instructions to support supposedly
extended forms of these instructions.
According to all versions of the MIPS16 ASE specifications these
instructions are not extensible [1][2][3][4][5][7][8][10][11], and as
from revision 2.50 of the MIPS16e ASE specifications it has been further
clarified what was previously implied, that non-extesiable instructions
when preceded with an EXTEND prefix must cause a Reserved Instruction
exception [5][6][9][10].
Therefore supposedly extended BREAK and SDBBP instructions do not serve
their purpose anymore as they do not cause a Bp and a Debug exception
respectively and supporting these forms in disassembly only causes
confusion.
References:
[1] "Product Description, MIPS16 Application-Specific Extension",
Version 1.3, MIPS Technologies, Inc., 970130, Table 3. "MIPS16
Instruction Set Summary", p. 5
[2] same, Table 5 "RR Minor Opcodes (RR-type instructions)", p.10
[3] same, Table 18. "Extendable MIPS16 Instructions", p. 24
[4] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
Application-Specific Extension to the MIPS32 Architecture", MIPS
Technologies, Inc., Document Number: MD00076, Revision 2.63, July
16, 2013, Table 3.8 "MIPS16e Special Instructions", p. 38
[5] same, Section 3.11 "MIPS16e Extensible Instructions, p. 41
[6] same, Table 3.15 "MIPS16e Extensible Instructions", p. 41
[7] same, Table 3.24 "MIPS16e RR Encoding of the Funct Field", p. 49
[8] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
Application-Specific Extension to the MIPS64 Architecture", MIPS
Technologies, Inc., Document Number: MD00077, Revision 2.60, June
25, 2008, Table 1.8 "MIPS16e Special Instructions", p. 39
[9] same, Section 1.11 "MIPS16e Extensible Instructions", p. 42
[10] same, Table 1.15 "MIPS16e Extensible Instructions", pp. 42-43
[11] same, Table 1.24 "MIPS16e RR Encoding of the Funct Field", p. 50
gas/
* config/tc-mips.c (match_mips16_insn): Remove the `6' operand
code special case and its associated comment.
opcodes/
* mips16-opc.c (decode_mips16_operand) <'6'>: Remove extended
encoding support.
commit 3fb49709438e204177373646585a76116caf23fb
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 12:38:35 2016 +0000
MIPS16/GAS: Fix forced size suffixes with argumentless instructions
Correct the handling of `.e' and `.t' instruction size suffixes with
instruction mnemonics which are not followed by any text on the same
line, such as arguments or white space, e.g.:
$ cat test.s
.set mips16
foo:
entry.t # comment
entry.t
exit.t # comment
exit.t
nop.t # comment
nop.t
$ as -32 -o test.o test.s
test.s: Assembler messages:
test.s:4: Error: unrecognized opcode `entry.t'
test.s:6: Error: unrecognized opcode `exit.t'
test.s:8: Error: unrecognized opcode `nop.t'
$
gas/
* config/tc-mips.c (mips16_ip): Handle `.e' and `.t' instruction
suffixes followed by a null character rather than a space too.
* testsuite/gas/mips/mips16-insn-length-noargs.d: New test.
* testsuite/gas/mips/mips16-insn-length-noargs.s: New test
source.
* testsuite/gas/mips/mips.exp: Run the new test.
commit 645c455650ed35460afdacb078c7c58308607fbe
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 12:37:40 2016 +0000
MIPS16/GAS: Disallow EXTEND delay-slot scheduling
Do not allow any explicitly coded EXTEND instruction to be automatically
scheduled into a jump delay slot, as an EXTEND prefix is coupled with
the next regular MIPS16 instruction and therefore swapping it with a
jump would change program's semantics; EXTEND is not architecturally
allowed to be present in a jump delay slot anyway.
opcodes/
* mips16-opc.c (mips16_opcodes): Set NODS in `pinfo' for
"extend".
gas/
* testsuite/gas/mips/mips16-extend-swap.d: New test.
* testsuite/gas/mips/mips16-extend-swap.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new test.
commit 9e76c212e6311abaee4d02473473f7d6dcad972f
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 23 12:11:12 2016 +0000
opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD
Fix a regression introduced with commit 5e7fc731f80e ("MIPS/opcodes:
Also set disassembler's ASE flags from ELF structures"), further updated
with commit 4df995c77118 ("MIPS/opcodes: Also set disassembler's ASE
flags from ELF structures"), and use autoconf to check for the presence
of `bfd_mips_elf_get_abiflags' in BFD.
opcodes/
* mips-dis.c (set_default_mips_dis_options): Use
HAVE_BFD_MIPS_ELF_GET_ABIFLAGS rather than BFD64 to guard the
call to `bfd_mips_elf_get_abiflags'.
* configure.ac: Check for `bfd_mips_elf_get_abiflags' in BFD.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add `libbfd.la'.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.in: Regenerate.
* Makefile.in: Regenerate.
commit 5b362f04b2a56d446b024027963be52d61f939cb
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Fri Dec 23 10:52:18 2016 -0600
Fix more cases of improper test names
I noticed more occurrences of improper test names. The rather mechanical,
tedious and large patch below addresses, hopefully, most of the leftover cases.
As usual, another pair of eyes is welcome to check if missed something or did
an invalid substitution.
This patch also fixes the prepare_for_testing calls to pass proper test names.
gdb/testsuite/ChangeLog:
2016-12-23 Luis Machado <lgustavo@codesourcery.com>
Fix test names for the following files:
* gdb.ada/exec_changed.exp
* gdb.ada/info_types.exp
* gdb.arch/aarch64-atomic-inst.exp
* gdb.arch/aarch64-fp.exp
* gdb.arch/altivec-abi.exp
* gdb.arch/altivec-regs.exp
* gdb.arch/amd64-byte.exp
* gdb.arch/amd64-disp-step.exp
* gdb.arch/amd64-dword.exp
* gdb.arch/amd64-entry-value-inline.exp
* gdb.arch/amd64-entry-value-param.exp
* gdb.arch/amd64-entry-value-paramref.exp
* gdb.arch/amd64-entry-value.exp
* gdb.arch/amd64-i386-address.exp
* gdb.arch/amd64-invalid-stack-middle.exp
* gdb.arch/amd64-invalid-stack-top.exp
* gdb.arch/amd64-optimout-repeat.exp
* gdb.arch/amd64-prologue-skip.exp
* gdb.arch/amd64-prologue-xmm.exp
* gdb.arch/amd64-stap-special-operands.exp
* gdb.arch/amd64-stap-wrong-subexp.exp
* gdb.arch/amd64-tailcall-cxx.exp
* gdb.arch/amd64-tailcall-noret.exp
* gdb.arch/amd64-tailcall-ret.exp
* gdb.arch/amd64-tailcall-self.exp
* gdb.arch/amd64-word.exp
* gdb.arch/arm-bl-branch-dest.exp
* gdb.arch/arm-disp-step.exp
* gdb.arch/arm-neon.exp
* gdb.arch/arm-single-step-kernel-helper.exp
* gdb.arch/avr-flash-qualifier.exp
* gdb.arch/disp-step-insn-reloc.exp
* gdb.arch/e500-abi.exp
* gdb.arch/e500-regs.exp
* gdb.arch/ftrace-insn-reloc.exp
* gdb.arch/i386-avx512.exp
* gdb.arch/i386-bp_permanent.exp
* gdb.arch/i386-byte.exp
* gdb.arch/i386-cfi-notcurrent.exp
* gdb.arch/i386-disp-step.exp
* gdb.arch/i386-dr3-watch.exp
* gdb.arch/i386-float.exp
* gdb.arch/i386-gnu-cfi.exp
* gdb.arch/i386-mpx-map.exp
* gdb.arch/i386-mpx-sigsegv.exp
* gdb.arch/i386-mpx-simple_segv.exp
* gdb.arch/i386-mpx.exp
* gdb.arch/i386-permbkpt.exp
* gdb.arch/i386-prologue.exp
* gdb.arch/i386-signal.exp
* gdb.arch/i386-size-overlap.exp
* gdb.arch/i386-unwind.exp
* gdb.arch/i386-word.exp
* gdb.arch/mips-fcr.exp
* gdb.arch/powerpc-d128-regs.exp
* gdb.arch/powerpc-stackless.exp
* gdb.arch/ppc64-atomic-inst.exp
* gdb.arch/s390-stackless.exp
* gdb.arch/s390-tdbregs.exp
* gdb.arch/s390-vregs.exp
* gdb.arch/sparc-sysstep.exp
* gdb.arch/thumb-bx-pc.exp
* gdb.arch/thumb-singlestep.exp
* gdb.arch/thumb2-it.exp
* gdb.arch/vsx-regs.exp
* gdb.asm/asm-source.exp
* gdb.base/a2-run.exp
* gdb.base/advance.exp
* gdb.base/all-bin.exp
* gdb.base/anon.exp
* gdb.base/args.exp
* gdb.base/arithmet.exp
* gdb.base/async-shell.exp
* gdb.base/async.exp
* gdb.base/attach-pie-noexec.exp
* gdb.base/attach-twice.exp
* gdb.base/auto-load.exp
* gdb.base/bang.exp
* gdb.base/bitfields.exp
* gdb.base/break-always.exp
* gdb.base/break-caller-line.exp
* gdb.base/break-entry.exp
* gdb.base/break-inline.exp
* gdb.base/break-on-linker-gcd-function.exp
* gdb.base/break-probes.exp
* gdb.base/break.exp
* gdb.base/breakpoint-shadow.exp
* gdb.base/call-ar-st.exp
* gdb.base/call-sc.exp
* gdb.base/call-signal-resume.exp
* gdb.base/call-strs.exp
* gdb.base/callfuncs.exp
* gdb.base/catch-fork-static.exp
* gdb.base/catch-gdb-caused-signals.exp
* gdb.base/catch-load.exp
* gdb.base/catch-signal-fork.exp
* gdb.base/catch-signal.exp
* gdb.base/catch-syscall.exp
* gdb.base/charset.exp
* gdb.base/checkpoint.exp
* gdb.base/chng-syms.exp
* gdb.base/code-expr.exp
* gdb.base/code_elim.exp
* gdb.base/commands.exp
* gdb.base/completion.exp
* gdb.base/complex.exp
* gdb.base/cond-expr.exp
* gdb.base/condbreak.exp
* gdb.base/consecutive.exp
* gdb.base/continue-all-already-running.exp
* gdb.base/coredump-filter.exp
* gdb.base/corefile.exp
* gdb.base/dbx.exp
* gdb.base/debug-expr.exp
* gdb.base/define.exp
* gdb.base/del.exp
* gdb.base/disabled-location.exp
* gdb.base/disasm-end-cu.exp
* gdb.base/disasm-optim.exp
* gdb.base/display.exp
* gdb.base/duplicate-bp.exp
* gdb.base/ena-dis-br.exp
* gdb.base/ending-run.exp
* gdb.base/enumval.exp
* gdb.base/environ.exp
* gdb.base/eu-strip-infcall.exp
* gdb.base/eval-avoid-side-effects.exp
* gdb.base/eval-skip.exp
* gdb.base/exitsignal.exp
* gdb.base/expand-psymtabs.exp
* gdb.base/filesym.exp
* gdb.base/find-unmapped.exp
* gdb.base/finish.exp
* gdb.base/float.exp
* gdb.base/foll-exec-mode.exp
* gdb.base/foll-exec.exp
* gdb.base/foll-fork.exp
* gdb.base/fortran-sym-case.exp
* gdb.base/freebpcmd.exp
* gdb.base/func-ptr.exp
* gdb.base/func-ptrs.exp
* gdb.base/funcargs.exp
* gdb.base/gcore-buffer-overflow.exp
* gdb.base/gcore-relro-pie.exp
* gdb.base/gcore-relro.exp
* gdb.base/gcore.exp
* gdb.base/gdb1090.exp
* gdb.base/gdb11530.exp
* gdb.base/gdb11531.exp
* gdb.base/gdb1821.exp
* gdb.base/gdbindex-stabs.exp
* gdb.base/gdbvars.exp
* gdb.base/hbreak.exp
* gdb.base/hbreak2.exp
* gdb.base/included.exp
* gdb.base/infcall-input.exp
* gdb.base/inferior-died.exp
* gdb.base/infnan.exp
* gdb.base/info-macros.exp
* gdb.base/info-os.exp
* gdb.base/info-proc.exp
* gdb.base/info-shared.exp
* gdb.base/info-target.exp
* gdb.base/infoline.exp
* gdb.base/interp.exp
* gdb.base/interrupt.exp
* gdb.base/jit-reader.exp
* gdb.base/jit-simple.exp
* gdb.base/kill-after-signal.exp
* gdb.base/kill-detach-inferiors-cmd.exp
* gdb.base/label.exp
* gdb.base/langs.exp
* gdb.base/ldbl_e308.exp
* gdb.base/line-symtabs.exp
* gdb.base/linespecs.exp
* gdb.base/list.exp
* gdb.base/long_long.exp
* gdb.base/longest-types.exp
* gdb.base/maint.exp
* gdb.base/max-value-size.exp
* gdb.base/memattr.exp
* gdb.base/mips_pro.exp
* gdb.base/morestack.exp
* gdb.base/moribund-step.exp
* gdb.base/multi-forks.exp
* gdb.base/nested-addr.exp
* gdb.base/nextoverexit.exp
* gdb.base/noreturn-finish.exp
* gdb.base/noreturn-return.exp
* gdb.base/nostdlib.exp
* gdb.base/offsets.exp
* gdb.base/opaque.exp
* gdb.base/pc-fp.exp
* gdb.base/permissions.exp
* gdb.base/print-symbol-loading.exp
* gdb.base/prologue-include.exp
* gdb.base/psymtab.exp
* gdb.base/ptype.exp
* gdb.base/random-signal.exp
* gdb.base/randomize.exp
* gdb.base/range-stepping.exp
* gdb.base/readline-ask.exp
* gdb.base/recpar.exp
* gdb.base/recurse.exp
* gdb.base/relational.exp
* gdb.base/restore.exp
* gdb.base/return-nodebug.exp
* gdb.base/return.exp
* gdb.base/run-after-attach.exp
* gdb.base/save-bp.exp
* gdb.base/scope.exp
* gdb.base/sect-cmd.exp
* gdb.base/set-lang-auto.exp
* gdb.base/set-noassign.exp
* gdb.base/setvar.exp
* gdb.base/sigall.exp
* gdb.base/sigbpt.exp
* gdb.base/siginfo-addr.exp
* gdb.base/siginfo-infcall.exp
* gdb.base/siginfo-obj.exp
* gdb.base/siginfo.exp
* gdb.base/signals-state-child.exp
* gdb.base/signest.exp
* gdb.base/sigstep.exp
* gdb.base/sizeof.exp
* gdb.base/skip.exp
* gdb.base/solib-corrupted.exp
* gdb.base/solib-nodir.exp
* gdb.base/solib-search.exp
* gdb.base/stack-checking.exp
* gdb.base/stale-infcall.exp
* gdb.base/stap-probe.exp
* gdb.base/start.exp
* gdb.base/step-break.exp
* gdb.base/step-bt.exp
* gdb.base/step-line.exp
* gdb.base/step-over-exit.exp
* gdb.base/step-over-syscall.exp
* gdb.base/step-resume-infcall.exp
* gdb.base/step-test.exp
* gdb.base/store.exp
* gdb.base/structs3.exp
* gdb.base/sym-file.exp
* gdb.base/symbol-without-target_section.exp
* gdb.base/term.exp
* gdb.base/testenv.exp
* gdb.base/ui-redirect.exp
* gdb.base/until.exp
* gdb.base/unwindonsignal.exp
* gdb.base/value-double-free.exp
* gdb.base/vla-datatypes.exp
* gdb.base/vla-ptr.exp
* gdb.base/vla-sideeffect.exp
* gdb.base/volatile.exp
* gdb.base/watch-cond-infcall.exp
* gdb.base/watch-cond.exp
* gdb.base/watch-non-mem.exp
* gdb.base/watch-read.exp
* gdb.base/watch-vfork.exp
* gdb.base/watchpoint-cond-gone.exp
* gdb.base/watchpoint-delete.exp
* gdb.base/watchpoint-hw-hit-once.exp
* gdb.base/watchpoint-hw.exp
* gdb.base/watchpoint-stops-at-right-insn.exp
* gdb.base/watchpoints.exp
* gdb.base/wchar.exp
* gdb.base/whatis-exp.exp
* gdb.btrace/buffer-size.exp
* gdb.btrace/data.exp
* gdb.btrace/delta.exp
* gdb.btrace/dlopen.exp
* gdb.btrace/enable.exp
* gdb.btrace/exception.exp
* gdb.btrace/function_call_history.exp
* gdb.btrace/gcore.exp
* gdb.btrace/instruction_history.exp
* gdb.btrace/nohist.exp
* gdb.btrace/reconnect.exp
* gdb.btrace/record_goto-step.exp
* gdb.btrace/record_goto.exp
* gdb.btrace/rn-dl-bind.exp
* gdb.btrace/segv.exp
* gdb.btrace/step.exp
* gdb.btrace/stepi.exp
* gdb.btrace/tailcall-only.exp
* gdb.btrace/tailcall.exp
* gdb.btrace/tsx.exp
* gdb.btrace/unknown_functions.exp
* gdb.btrace/vdso.exp
* gdb.compile/compile-ifunc.exp
* gdb.compile/compile-ops.exp
* gdb.compile/compile-print.exp
* gdb.compile/compile-setjmp.exp
* gdb.cp/abstract-origin.exp
* gdb.cp/ambiguous.exp
* gdb.cp/annota2.exp
* gdb.cp/annota3.exp
* gdb.cp/anon-ns.exp
* gdb.cp/anon-struct.exp
* gdb.cp/anon-union.exp
* gdb.cp/arg-reference.exp
* gdb.cp/baseenum.exp
* gdb.cp/bool.exp
* gdb.cp/breakpoint.exp
* gdb.cp/bs15503.exp
* gdb.cp/call-c.exp
* gdb.cp/casts.exp
* gdb.cp/chained-calls.exp
* gdb.cp/class2.exp
* gdb.cp/classes.exp
* gdb.cp/cmpd-minsyms.exp
* gdb.cp/converts.exp
* gdb.cp/cp-relocate.exp
* gdb.cp/cpcompletion.exp
* gdb.cp/cpexprs.exp
* gdb.cp/cplabel.exp
* gdb.cp/cplusfuncs.exp
* gdb.cp/cpsizeof.exp
* gdb.cp/ctti.exp
* gdb.cp/derivation.exp
* gdb.cp/destrprint.exp
* gdb.cp/dispcxx.exp
* gdb.cp/enum-class.exp
* gdb.cp/exception.exp
* gdb.cp/exceptprint.exp
* gdb.cp/expand-psymtabs-cxx.exp
* gdb.cp/expand-sals.exp
* gdb.cp/extern-c.exp
* gdb.cp/filename.exp
* gdb.cp/formatted-ref.exp
* gdb.cp/fpointer.exp
* gdb.cp/gdb1355.exp
* gdb.cp/gdb2495.exp
* gdb.cp/hang.exp
* gdb.cp/impl-this.exp
* gdb.cp/infcall-dlopen.exp
* gdb.cp/inherit.exp
* gdb.cp/iostream.exp
* gdb.cp/koenig.exp
* gdb.cp/local.exp
* gdb.cp/m-data.exp
* gdb.cp/m-static.exp
* gdb.cp/mb-ctor.exp
* gdb.cp/mb-inline.exp
* gdb.cp/mb-templates.exp
* gdb.cp/member-name.exp
* gdb.cp/member-ptr.exp
* gdb.cp/meth-typedefs.exp
* gdb.cp/method.exp
* gdb.cp/method2.exp
* gdb.cp/minsym-fallback.exp
* gdb.cp/misc.exp
* gdb.cp/namelessclass.exp
* gdb.cp/namespace-enum.exp
* gdb.cp/namespace-nested-import.exp
* gdb.cp/namespace.exp
* gdb.cp/nextoverthrow.exp
* gdb.cp/no-dmgl-verbose.exp
* gdb.cp/non-trivial-retval.exp
* gdb.cp/noparam.exp
* gdb.cp/nsdecl.exp
* gdb.cp/nsimport.exp
* gdb.cp/nsnested.exp
* gdb.cp/nsnoimports.exp
* gdb.cp/nsrecurs.exp
* gdb.cp/nsstress.exp
* gdb.cp/nsusing.exp
* gdb.cp/operator.exp
* gdb.cp/oranking.exp
* gdb.cp/overload-const.exp
* gdb.cp/overload.exp
* gdb.cp/ovldbreak.exp
* gdb.cp/ovsrch.exp
* gdb.cp/paren-type.exp
* gdb.cp/parse-lang.exp
* gdb.cp/pass-by-ref.exp
* gdb.cp/pr-1023.exp
* gdb.cp/pr-1210.exp
* gdb.cp/pr-574.exp
* gdb.cp/pr10687.exp
* gdb.cp/pr12028.exp
* gdb.cp/pr17132.exp
* gdb.cp/pr17494.exp
* gdb.cp/pr9067.exp
* gdb.cp/pr9167.exp
* gdb.cp/pr9631.exp
* gdb.cp/printmethod.exp
* gdb.cp/psmang.exp
* gdb.cp/psymtab-parameter.exp
* gdb.cp/ptype-cv-cp.exp
* gdb.cp/ptype-flags.exp
* gdb.cp/re-set-overloaded.exp
* gdb.cp/ref-types.exp
* gdb.cp/rtti.exp
* gdb.cp/scope-err.exp
* gdb.cp/shadow.exp
* gdb.cp/smartp.exp
* gdb.cp/static-method.exp
* gdb.cp/static-print-quit.exp
* gdb.cp/temargs.exp
* gdb.cp/templates.exp
* gdb.cp/try_catch.exp
* gdb.cp/typedef-operator.exp
* gdb.cp/typeid.exp
* gdb.cp/userdef.exp
* gdb.cp/using-crash.exp
* gdb.cp/var-tag.exp
* gdb.cp/virtbase.exp
* gdb.cp/virtfunc.exp
* gdb.cp/virtfunc2.exp
* gdb.cp/vla-cxx.exp
* gdb.disasm/t01_mov.exp
* gdb.disasm/t02_mova.exp
* gdb.disasm/t03_add.exp
* gdb.disasm/t04_sub.exp
* gdb.disasm/t05_cmp.exp
* gdb.disasm/t06_ari2.exp
* gdb.disasm/t07_ari3.exp
* gdb.disasm/t08_or.exp
* gdb.disasm/t09_xor.exp
* gdb.disasm/t10_and.exp
* gdb.disasm/t11_logs.exp
* gdb.disasm/t12_bit.exp
* gdb.disasm/t13_otr.exp
* gdb.dlang/circular.exp
* gdb.dwarf2/arr-stride.exp
* gdb.dwarf2/arr-subrange.exp
* gdb.dwarf2/atomic-type.exp
* gdb.dwarf2/bad-regnum.exp
* gdb.dwarf2/bitfield-parent-optimized-out.exp
* gdb.dwarf2/callframecfa.exp
* gdb.dwarf2/clztest.exp
* gdb.dwarf2/corrupt.exp
* gdb.dwarf2/data-loc.exp
* gdb.dwarf2/dup-psym.exp
* gdb.dwarf2/dw2-anon-mptr.exp
* gdb.dwarf2/dw2-anonymous-func.exp
* gdb.dwarf2/dw2-bad-mips-linkage-name.exp
* gdb.dwarf2/dw2-bad-unresolved.exp
* gdb.dwarf2/dw2-basic.exp
* gdb.dwarf2/dw2-canonicalize-type.exp
* gdb.dwarf2/dw2-case-insensitive.exp
* gdb.dwarf2/dw2-common-block.exp
* gdb.dwarf2/dw2-compdir-oldgcc.exp
* gdb.dwarf2/dw2-compressed.exp
* gdb.dwarf2/dw2-const.exp
* gdb.dwarf2/dw2-cp-infcall-ref-static.exp
* gdb.dwarf2/dw2-cu-size.exp
* gdb.dwarf2/dw2-dup-frame.exp
* gdb.dwarf2/dw2-entry-value.exp
* gdb.dwarf2/dw2-icycle.exp
* gdb.dwarf2/dw2-ifort-parameter.exp
* gdb.dwarf2/dw2-inline-break.exp
* gdb.dwarf2/dw2-inline-param.exp
* gdb.dwarf2/dw2-intercu.exp
* gdb.dwarf2/dw2-intermix.exp
* gdb.dwarf2/dw2-lexical-block-bare.exp
* gdb.dwarf2/dw2-linkage-name-trust.exp
* gdb.dwarf2/dw2-minsym-in-cu.exp
* gdb.dwarf2/dw2-noloc.exp
* gdb.dwarf2/dw2-op-call.exp
* gdb.dwarf2/dw2-op-out-param.exp
* gdb.dwarf2/dw2-opt-structptr.exp
* gdb.dwarf2/dw2-param-error.exp
* gdb.dwarf2/dw2-producer.exp
* gdb.dwarf2/dw2-ranges-base.exp
* gdb.dwarf2/dw2-ref-missing-frame.exp
* gdb.dwarf2/dw2-reg-undefined.exp
* gdb.dwarf2/dw2-regno-invalid.exp
* gdb.dwarf2/dw2-restore.exp
* gdb.dwarf2/dw2-restrict.exp
* gdb.dwarf2/dw2-single-line-discriminators.exp
* gdb.dwarf2/dw2-strp.exp
* gdb.dwarf2/dw2-undefined-ret-addr.exp
* gdb.dwarf2/dw2-unresolved.exp
* gdb.dwarf2/dw2-var-zero-addr.exp
* gdb.dwarf2/dw4-sig-types.exp
* gdb.dwarf2/dwz.exp
* gdb.dwarf2/dynarr-ptr.exp
* gdb.dwarf2/enum-type.exp
* gdb.dwarf2/gdb-index.exp
* gdb.dwarf2/implptr-64bit.exp
* gdb.dwarf2/implptr-optimized-out.exp
* gdb.dwarf2/implptr.exp
* gdb.dwarf2/implref-array.exp
* gdb.dwarf2/implref-const.exp
* gdb.dwarf2/implref-global.exp
* gdb.dwarf2/implref-struct.exp
* gdb.dwarf2/mac-fileno.exp
* gdb.dwarf2/main-subprogram.exp
* gdb.dwarf2/member-ptr-forwardref.exp
* gdb.dwarf2/method-ptr.exp
* gdb.dwarf2/missing-sig-type.exp
* gdb.dwarf2/nonvar-access.exp
* gdb.dwarf2/opaque-type-lookup.exp
* gdb.dwarf2/pieces-optimized-out.exp
* gdb.dwarf2/pieces.exp
* gdb.dwarf2/pr10770.exp
* gdb.dwarf2/pr13961.exp
* gdb.dwarf2/staticvirtual.exp
* gdb.dwarf2/subrange.exp
* gdb.dwarf2/symtab-producer.exp
* gdb.dwarf2/trace-crash.exp
* gdb.dwarf2/typeddwarf.exp
* gdb.dwarf2/valop.exp
* gdb.dwarf2/watch-notconst.exp
* gdb.fortran/array-element.exp
* gdb.fortran/charset.exp
* gdb.fortran/common-block.exp
* gdb.fortran/complex.exp
* gdb.fortran/derived-type-function.exp
* gdb.fortran/derived-type.exp
* gdb.fortran/logical.exp
* gdb.fortran/module.exp
* gdb.fortran/multi-dim.exp
* gdb.fortran/nested-funcs.exp
* gdb.fortran/print-formatted.exp
* gdb.fortran/subarray.exp
* gdb.fortran/vla-alloc-assoc.exp
* gdb.fortran/vla-datatypes.exp
* gdb.fortran/vla-history.exp
* gdb.fortran/vla-ptr-info.exp
* gdb.fortran/vla-ptype-sub.exp
* gdb.fortran/vla-ptype.exp
* gdb.fortran/vla-sizeof.exp
* gdb.fortran/vla-type.exp
* gdb.fortran/vla-value-sub-arbitrary.exp
* gdb.fortran/vla-value-sub-finish.exp
* gdb.fortran/vla-value-sub.exp
* gdb.fortran/vla-value.exp
* gdb.fortran/whatis_type.exp
* gdb.go/chan.exp
* gdb.go/handcall.exp
* gdb.go/hello.exp
* gdb.go/integers.exp
* gdb.go/methods.exp
* gdb.go/package.exp
* gdb.go/strings.exp
* gdb.go/types.exp
* gdb.go/unsafe.exp
* gdb.guile/scm-arch.exp
* gdb.guile/scm-block.exp
* gdb.guile/scm-breakpoint.exp
* gdb.guile/scm-cmd.exp
* gdb.guile/scm-disasm.exp
* gdb.guile/scm-equal.exp
* gdb.guile/scm-frame-args.exp
* gdb.guile/scm-frame-inline.exp
* gdb.guile/scm-frame.exp
* gdb.guile/scm-iterator.exp
* gdb.guile/scm-math.exp
* gdb.guile/scm-objfile.exp
* gdb.guile/scm-ports.exp
* gdb.guile/scm-symbol.exp
* gdb.guile/scm-symtab.exp
* gdb.guile/scm-value-cc.exp
* gdb.guile/types-module.exp
* gdb.linespec/break-ask.exp
* gdb.linespec/cpexplicit.exp
* gdb.linespec/explicit.exp
* gdb.linespec/keywords.exp
* gdb.linespec/linespec.exp
* gdb.linespec/ls-dollar.exp
* gdb.linespec/ls-errs.exp
* gdb.linespec/skip-two.exp
* gdb.linespec/thread.exp
* gdb.mi/mi-async.exp
* gdb.mi/mi-basics.exp
* gdb.mi/mi-break.exp
* gdb.mi/mi-catch-load.exp
* gdb.mi/mi-cli.exp
* gdb.mi/mi-cmd-param-changed.exp
* gdb.mi/mi-console.exp
* gdb.mi/mi-detach.exp
* gdb.mi/mi-disassemble.exp
* gdb.mi/mi-eval.exp
* gdb.mi/mi-file-transfer.exp
* gdb.mi/mi-file.exp
* gdb.mi/mi-fill-memory.exp
* gdb.mi/mi-inheritance-syntax-error.exp
* gdb.mi/mi-linespec-err-cp.exp
* gdb.mi/mi-logging.exp
* gdb.mi/mi-memory-changed.exp
* gdb.mi/mi-read-memory.exp
* gdb.mi/mi-record-changed.exp
* gdb.mi/mi-reg-undefined.exp
* gdb.mi/mi-regs.exp
* gdb.mi/mi-return.exp
* gdb.mi/mi-reverse.exp
* gdb.mi/mi-simplerun.exp
* gdb.mi/mi-solib.exp
* gdb.mi/mi-stack.exp
* gdb.mi/mi-stepi.exp
* gdb.mi/mi-syn-frame.exp
* gdb.mi/mi-until.exp
* gdb.mi/mi-var-block.exp
* gdb.mi/mi-var-child.exp
* gdb.mi/mi-var-cmd.exp
* gdb.mi/mi-var-cp.exp
* gdb.mi/mi-var-display.exp
* gdb.mi/mi-var-invalidate.exp
* gdb.mi/mi-var-list-children-invalid-grandchild.exp
* gdb.mi/mi-vla-fortran.exp
* gdb.mi/mi-watch.exp
* gdb.mi/mi2-var-child.exp
* gdb.mi/user-selected-context-sync.exp
* gdb.modula2/unbounded-array.exp
* gdb.multi/dummy-frame-restore.exp
* gdb.multi/multi-arch-exec.exp
* gdb.multi/multi-arch.exp
* gdb.multi/tids.exp
* gdb.multi/watchpoint-multi.exp
* gdb.opencl/callfuncs.exp
* gdb.opencl/convs_casts.exp
* gdb.opencl/datatypes.exp
* gdb.opencl/operators.exp
* gdb.opencl/vec_comps.exp
* gdb.opt/clobbered-registers-O2.exp
* gdb.opt/inline-break.exp
* gdb.opt/inline-bt.exp
* gdb.opt/inline-cmds.exp
* gdb.opt/inline-locals.exp
* gdb.pascal/case-insensitive-symbols.exp
* gdb.pascal/floats.exp
* gdb.pascal/gdb11492.exp
* gdb.python/lib-types.exp
* gdb.python/py-arch.exp
* gdb.python/py-as-string.exp
* gdb.python/py-bad-printers.exp
* gdb.python/py-block.exp
* gdb.python/py-breakpoint-create-fail.exp
* gdb.python/py-breakpoint.exp
* gdb.python/py-caller-is.exp
* gdb.python/py-cmd.exp
* gdb.python/py-explore-cc.exp
* gdb.python/py-explore.exp
* gdb.python/py-finish-breakpoint.exp
* gdb.python/py-finish-breakpoint2.exp
* gdb.python/py-frame-args.exp
* gdb.python/py-frame-inline.exp
* gdb.python/py-frame.exp
* gdb.python/py-framefilter-mi.exp
* gdb.python/py-infthread.exp
* gdb.python/py-lazy-string.exp
* gdb.python/py-linetable.exp
* gdb.python/py-mi-events.exp
* gdb.python/py-mi-objfile.exp
* gdb.python/py-mi.exp
* gdb.python/py-objfile.exp
* gdb.python/py-pp-integral.exp
* gdb.python/py-pp-maint.exp
* gdb.python/py-pp-re-notag.exp
* gdb.python/py-pp-registration.exp
* gdb.python/py-recurse-unwind.exp
* gdb.python/py-strfns.exp
* gdb.python/py-symbol.exp
* gdb.python/py-symtab.exp
* gdb.python/py-sync-interp.exp
* gdb.python/py-typeprint.exp
* gdb.python/py-unwind-maint.exp
* gdb.python/py-unwind.exp
* gdb.python/py-value-cc.exp
* gdb.python/py-xmethods.exp
* gdb.reverse/amd64-tailcall-reverse.exp
* gdb.reverse/break-precsave.exp
* gdb.reverse/break-reverse.exp
* gdb.reverse/consecutive-precsave.exp
* gdb.reverse/consecutive-reverse.exp
* gdb.reverse/finish-precsave.exp
* gdb.reverse/finish-reverse-bkpt.exp
* gdb.reverse/finish-reverse.exp
* gdb.reverse/fstatat-reverse.exp
* gdb.reverse/getresuid-reverse.exp
* gdb.reverse/i386-precsave.exp
* gdb.reverse/i386-reverse.exp
* gdb.reverse/i386-sse-reverse.exp
* gdb.reverse/i387-env-reverse.exp
* gdb.reverse/i387-stack-reverse.exp
* gdb.reverse/insn-reverse.exp
* gdb.reverse/machinestate-precsave.exp
* gdb.reverse/machinestate.exp
* gdb.reverse/next-reverse-bkpt-over-sr.exp
* gdb.reverse/pipe-reverse.exp
* gdb.reverse/readv-reverse.exp
* gdb.reverse/recvmsg-reverse.exp
* gdb.reverse/rerun-prec.exp
* gdb.reverse/s390-mvcle.exp
* gdb.reverse/step-precsave.exp
* gdb.reverse/step-reverse.exp
* gdb.reverse/time-reverse.exp
* gdb.reverse/until-precsave.exp
* gdb.reverse/until-reverse.exp
* gdb.reverse/waitpid-reverse.exp
* gdb.reverse/watch-precsave.exp
* gdb.reverse/watch-reverse.exp
* gdb.rust/generics.exp
* gdb.rust/methods.exp
* gdb.rust/modules.exp
* gdb.rust/simple.exp
* gdb.server/connect-with-no-symbol-file.exp
* gdb.server/ext-attach.exp
* gdb.server/ext-restart.exp
* gdb.server/ext-wrapper.exp
* gdb.server/file-transfer.exp
* gdb.server/server-exec-info.exp
* gdb.server/server-kill.exp
* gdb.server/server-mon.exp
* gdb.server/wrapper.exp
* gdb.stabs/exclfwd.exp
* gdb.stabs/gdb11479.exp
* gdb.threads/clone-new-thread-event.exp
* gdb.threads/corethreads.exp
* gdb.threads/current-lwp-dead.exp
* gdb.threads/dlopen-libpthread.exp
* gdb.threads/gcore-thread.exp
* gdb.threads/sigstep-threads.exp
* gdb.threads/watchpoint-fork.exp
* gdb.trace/actions-changed.exp
* gdb.trace/backtrace.exp
* gdb.trace/change-loc.exp
* gdb.trace/circ.exp
* gdb.trace/collection.exp
* gdb.trace/disconnected-tracing.exp
* gdb.trace/ftrace.exp
* gdb.trace/mi-trace-frame-collected.exp
* gdb.trace/mi-trace-unavailable.exp
* gdb.trace/mi-traceframe-changed.exp
* gdb.trace/mi-tsv-changed.exp
* gdb.trace/no-attach-trace.exp
* gdb.trace/passc-dyn.exp
* gdb.trace/qtro.exp
* gdb.trace/range-stepping.exp
* gdb.trace/read-memory.exp
* gdb.trace/save-trace.exp
* gdb.trace/signal.exp
* gdb.trace/status-stop.exp
* gdb.trace/tfile.exp
* gdb.trace/trace-break.exp
* gdb.trace/trace-buffer-size.exp
* gdb.trace/trace-condition.exp
* gdb.trace/tracefile-pseudo-reg.exp
* gdb.trace/tstatus.exp
* gdb.trace/unavailable.exp
* gdb.trace/while-dyn.exp
* gdb.trace/while-stepping.exp
commit 7dc53023ec5d000b3b8d287720ed8d04d91e02ec
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Fri Dec 23 10:46:38 2016 -0600
Fix incorrect reference to source files
gdb/gdbserver/ChangeLog:
2016-12-23 Luis Machado <lgustavo@codesourcery.com>
* win32-i386-low.c: Fix incorrect reference to a couple source files.
* nto-x86-low.c: Likewise.
commit d81c735641cf6245c837a0203e9efaf21e63c27e
Author: Cary Coutant <ccoutant@gmail.com>
Date: Fri Dec 23 08:00:13 2016 -0800
Bump gold version number to 1.14.
* NEWS: Add new features in 1.14.
* version.cc (version_string): Bump to 1.14.
commit 6eda96bcf3a53843feb5d6d4441f0d9da7bc8a75
Author: Alan Modra <amodra@gmail.com>
Date: Fri Dec 23 23:43:54 2016 +1030
Call target specific add_symbols function
This allows targets that have target specific code to add object
symbols to make use of the generic archive handling.
* linker.c (generic_link_check_archive_element): Call target
bfd_link_add_symbols to add element symbols.
commit b9fc2576a13367070c741c7ea1d364a483eed0e4
Author: Alan Modra <amodra@gmail.com>
Date: Fri Dec 23 23:28:38 2016 +1030
Remove "collect" forms of generic linker add symbols functions
Nothing calls them and they were in the way of a bug fix.
* linker.c (generic_link_add_symbols): Delete. Merge into..
(_bfd_generic_link_add_symbols): ..here.
(generic_link_check_archive_element_no_collect): Delete.
(generic_link_check_archive_element_collect): Likewise.
(generic_link_add_object_symbols): Remove "collect" param. Update
callers.
(generic_link_add_symbol_list): Likewise.
(generic_link_check_archive_element): Likewise. Call
bfd_link_add_symbols rather than generic_link_add_object_symbols.
* libbfd-in.h (_bfd_generic_link_add_symbols_collect): Delete.
* libbfd.h: Regenerate.
commit 865422fafaf387745b2979d47b6f448d28e0edb8
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 22 13:12:07 2016 +1030
hppa-linux-gnu-ranlib: libcpp.a: File format not recognized
This stops an --enable-targets selection affecting the main target in
regards to forcing 64-bit archives. It also means mips64 and s390x
will revert to binutils-2.25 and binutils-2.26 behaviour of not
forcing 64-bit archives at least in the common case when plugins were
enabled.
PR binutils/20464
PR binutils/14625
* configure.ac: Revert 2016-05-25 configure change setting
want_64_bit_archive for mips64 and s390x. Revise USE_64_BIT_ARCHIVE
description.
* configure: Regenerate.
* config.in: Regenerate.
commit 6096dda15babc5307b1a0e9624d4e0028fd429e1
Author: Bernhard Heckel <bernhard.heckel@intel.com>
Date: Fri Dec 23 12:29:42 2016 +0100
Updated email address.
2016-12-23 Bernhard Heckel <bernhard.heckel@intel.com>
gdb/Changelog:
* MAINTAINERS (Write After Approval): Updated email address.
Change-Id: I46b81392c2bd4b04e8e2aea2bb4bef2d0b509d24
commit 4eabf3446367832693a1baf145f6ff02baae197b
Author: Joe Seymour <joe.s@somniumtech.com>
Date: Tue Dec 20 14:50:49 2016 +0000
[msp430] Sync tc-msp430.c with devices.csv
This patch syncs the generated data structure in tc-msp430.c with the
latest version of devices.csv released by TI.
My understanding is that the devices being removed were "invalid spins",
so can't be being used by anyone, and never will be. Current web
searches related to these devices return no relevant results.
Built and tested (no regressions) as follows:
Configured with: --target=msp430-elf --disable-gdb
Test variations:
msp430-sim/-mcpu=msp430
msp430-sim/-mcpu=msp430x
msp430-sim/-mcpu=msp430x/-mlarge/-mdata-region=either/-mcode-region=either
msp430-sim/-mhwmult=none
msp430-sim/-mhwmult=f5series
gas/
* config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
devices.csv file as of September 2016.
commit 99b5dbf2e78a63ba4be067bfabb3bec1a6406f1c
Author: Tristan Gingold <gingold@adacore.com>
Date: Fri Dec 23 09:50:53 2016 +0100
Bump version to 2.28.51
bfd/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* version.m4: Bump version to 2.28.51
* configure: Regenerate.
binutils/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
gas/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
gprof/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
ld/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
opcodes/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
commit 9703a4ef4d020991873bb4464f4800fe0547263c
Author: Tristan Gingold <gingold@adacore.com>
Date: Fri Dec 23 09:43:13 2016 +0100
Add marker in NEWS files
binutils/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.28.
gas/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.28.
ld/
2016-12-23 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.28.
commit e0e7a9d436cb3c97ae89c9b0d2750a006746b233
Author: Tristan Gingold <gingold@adacore.com>
Date: Fri Dec 23 09:32:28 2016 +0100
Regenerate pot files.
commit 7a0c0a1475bf41913c7f25a9e363df26c8f772a1
Author: Cary Coutant <ccoutant@gmail.com>
Date: Fri Dec 16 19:17:38 2016 -0800
Add -z bndplt support (for Intel MPX).
gold/
PR gold/17643
* options.h (-z bndplt): New option.
* x86_64.cc (Output_data_plt_x86_64::regular_count): New method.
(Output_data_plt_x86_64::address_for_global): Move implementation into
virtual method.
(Output_data_plt_x86_64::address_for_local): Likewise.
(Output_data_plt_x86_64::got): New method.
(Output_data_plt_x86_64::got_plt): New method.
(Output_data_plt_x86_64::got_irelative): New method.
(Output_data_plt_x86_64::do_address_for_global): New virtual method.
(Output_data_plt_x86_64::do_address_for_local): New virtual method.
(class Output_data_plt_x86_64_bnd): New class.
(Target_x86_64::do_make_data_plt): Move out of line and specialize
for each size (both overloads).
(Output_data_plt_x86_64::set_final_data_size): Cosmetic changes.
* testsuite/Makefile.am (bnd_plt_1): New test case.
(bnd_ifunc_1): New test case.
(bnd_ifunc_2): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/bnd_ifunc_1.s: New source file.
* testsuite/bnd_ifunc_1.sh: New shell script.
* testsuite/bnd_ifunc_2.s: New source file.
* testsuite/bnd_ifunc_2.sh: New shell script.
* testsuite/bnd_plt_1.s: New source file.
* testsuite/bnd_plt_1.sh: New shell script.
commit c4d5a76223f74930add9014f2a77339eb80b737c
Author: Cary Coutant <ccoutant@gmail.com>
Date: Thu Dec 22 14:06:24 2016 -0800
Fix placement of forced local symbols in the dynamic symbol table.
Gold was not placing forced-local symbols (e.g., hidden visibility)
at the front of the dynamic symbol table, or including them in the
count of local symbols recorded in the .dynsym section's sh_info field.
gold/
* layout.cc (Layout::finalize): Track count of forced-local symbols
in .dynsym.
(Layout::create_symtab_sections): Add local_dynamic_count parameter;
use that instead of sh_info value.
(Layout::create_dynamic_symtab): Add pforced_local_dynamic_count
parameter; pass it to Symtab::set_dynsym_indexes(). Include forced
locals in sh_info value. Pass index of first real global to
Dynobj::create_gnu_hash_table() and Dynobj::create_elf_hash_table().
* layout.h (Layout::create_symtab_sections): Add local_dynamic_count
parameter.
(Layout::create_dynamic_symtab): Add pforced_local_dynamic_count
parameter.
* symtab.cc (Symbol_table::set_dynsym_indexes): Add pforced_local_count
parameter. Process forced-local symbols first and return the count.
(Symbol_table::finalize): Update comments.
* symtab.h (Symbol_table::set_dynsym_indexes): Add pforced_local_count
parameter.
(Symbol_table::first_dynamic_global_index_): Update comment.
(Symbol_table::dynamic_count_): Update comment.
* testsuite/Makefile.am (ifuncmod1.sh): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/ifuncmod1.sh: New shell script.
commit 40d7d93ff412f4c34cde3daa04890d5cd2e0d9c9
Author: Cary Coutant <ccoutant@gmail.com>
Date: Wed Dec 21 17:32:39 2016 -0800
Fix problem where version script causes predefined hidden symbol to be defined twice.
When creating a predefined hidden symbol like _GLOBAL_OFFSET_TABLE_, gold
was incorrectly letting a version script add a version to the symbol,
resulting in two copies of the symbol, both STB_LOCAL, but one of which
was grouped in the globals part of the symbol table.
gold/
* symtab.cc (Symbol_table::define_special_symbol): Add is_forced_local
parameter; if set, do not check version script.
(Symbol_table::do_define_in_output_data): Pass is_forced_local for
STB_LOCAL predefined symbols.
(Symbol_table::do_define_in_output_segment): Likewise.
(Symbol_table::do_define_in_output_segment): Likewise.
(Symbol_table::do_define_as_constant): Likewise.
* symtab.h (Symbol_table::define_special_symbol): Add is_forced_local
parameter. Adjust all callers.
* testsuite/Makefile.am (ver_test_8.sh): New test case.
* testsuite/Makefile.in: Regenerate.
* ver_test_8.sh: New test script.
commit ce0db13751aed2782c417bc4cf715313f9273e94
Author: Doug Evans <xdje42@gmail.com>
Date: Thu Dec 22 15:50:10 2016 -0800
infrun.c (set_step_over_info): Add comment.
gdb/ChangeLog:
* infrun.c (set_step_over_info): Add comment.
commit 34c41c681f4a0a0dfe0405c7d2aecf458520557a
Author: Doug Evans <xdje42@gmail.com>
Date: Mon Dec 19 08:33:46 2016 -0800
New syntax for mt print symbols,msymbols,psymbols.
gdb/ChangeLog:
* NEWS: Document new syntax for "mt print symbols", "mt print psymbols"
and "mt print msymbols" commands.
* psymtab.c (DEV_TTY): Delete.
(dump_psymtab_addrmap): Don't dump if psymtabs_addrmap is NULL.
(maintenance_print_psymbols): Rewrite for new syntax:
mt print psymbols [-objfile objfile] [-pc address] [outfile]
mt print psymbols [-objfile objfile] [-source source] [outfile]
(_initialize_psymtab): Update help text.
* symmisc.c (maintenance_print_symbols): Rewrite for new syntax:
mt print symbols [-pc address] [outfile]
mt print symbols [-objfile objfile] [-source source] [outfile]
(maintenance_print_msymbols): Rewrite for new syntax:
mt print msymbols [-objfile objfile] [outfile]
Only print symbols for the current progspace.
(_initialize_symmisc): Update help text.
gdb/doc/ChangeLog:
* gdb.texinfo (Symbols): Update docs for symbol printing maintenance
commands.
gdb/testsuite/ChangeLog:
* gdb.base/maint.exp: Update tests for maint print symbols, psymbols
and msymbols.
commit 112e8700a6fd2fed65ca70132c9cbed4132e8bd4
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Thu Dec 22 16:17:31 2016 -0500
Class-ify ui_out
This patch finalizes the C++ conversion of the ui-out subsystem, by
turning the ui_out and ui_out_impl structures into a single class
hierarchy. ui_out functions are turned into virtual methods of that new
class, so as a result there are a lot of call sites to update.
In the previous version of the patchset, there were separate ui_out and
ui_out_impl classes, but it wasn't really useful and added boilerplate.
In this version there is simply an ui_out base class that is
extended for CLI, TUI and MI.
It's a bit hard to maintain a ChangeLog for such a big patch, I did my
best but I'm sure there are some missing or outdated info in there...
gdb/ChangeLog:
* ui-out.h (ui_out_begin, ui_out_end, ui_out_table_header,
ui_out_table_body, ui_out_field_int, ui_out_field_fmt_int,
ui_out_field_core_addr, ui_out_field_string, ui_out_field_stream,
ui_out_field_fmt, ui_out_field_skip, ui_out_spaces, ui_out_text,
ui_out_message, ui_out_wrap_hint, ui_out_flush, ui_out_test_flags,
ui_out_query_field, ui_out_is_mi_like_p, ui_out_redirect):
Remove, replace with a method in class ui_out.
(table_begin_ftype): Remove, replace with pure virtual method in
class ui_out.
(table_body_ftype): Likewise.
(table_end_ftype): Likewise.
(table_header_ftype): Likewise.
(ui_out_begin_ftype): Likewise.
(ui_out_end_ftype): Likewise.
(field_int_ftype): Likewise.
(field_skip_ftype): Likewise.
(field_string_ftype): Likewise.
(field_fmt_ftype): Likewise.
(spaces_ftype): Likewise.
(text_ftype): Likewise.
(message_ftype): Likewise.
(wrap_hint_ftype): Likewise.
(flush_ftype): Likewise.
(redirect_ftype): Likewise.
(data_destroy_ftype): Likewise.
(struct ui_out_impl): Remove, replace with class ui_out.
(ui_out_new): Remove.
(class ui_out): New class.
* ui-out.c (struct ui_out): Remove, replaced with class ui_out.
(current_level): Remove, replace with ui_out method.
(push_level): Likewise.
(pop_level): Likewise.
(uo_table_begin, uo_table_body, uo_table_end, uo_table_header,
uo_begin, uo_end, uo_field_int, uo_field_skip, uo_field_fmt,
uo_spaces, uo_text, uo_message, uo_wrap_hint, uo_flush,
uo_redirect, uo_field_string): Remove.
(ui_out_table_begin): Replace with ...
(ui_out::table_begin): ... this.
(ui_out_table_body): Replace with ...
(ui_out::table_body): ... this.
(ui_out_table_end): Replace with ...
(ui_out::table_end): ... this.
(ui_out_table_header): Replace with ...
(ui_out::table_header): ... this.
(ui_out_begin): Replace with ...
(ui_out::begin): ... this.
(ui_out_end): Replace with ...
(ui_out::end): ... this.
(ui_out_field_int): Replace with ...
(ui_out::field_int): ... this.
(ui_out_field_fmt_int): Replace with ...
(ui_out::field_fmt_int): ... this.
(ui_out_field_core_addr): Replace with ...
(ui_out::field_core_addr): ... this.
(ui_out_field_stream): Replace with ...
(ui_out::field_stream): ... this.
(ui_out_field_skip): Replace with ...
(ui_out::field_skip): ... this.
(ui_out_field_string): Replace with ...
(ui_out::field_string): ... this.
(ui_out_field_fmt): Replace with ...
(ui_out::field_fmt): ... this.
(ui_out_spaces): Replace with ...
(ui_out::spaces): ... this.
(ui_out_text): Replace with ...
(ui_out::text): ... this.
(ui_out_message): Replace with ...
(ui_out::message): ... this.
(ui_out_wrap_hint): Replace with ...
(ui_out::wrap_hint): ... this.
(ui_out_flush): Replace with ...
(ui_out::flush): ... this.
(ui_out_redirect): Replace with ...
(ui_out::redirect): ... this.
(ui_out_test_flags): Replace with ...
(ui_out::test_flags): ... this.
(ui_out_is_mi_like_p): Replace with ...
(ui_out::is_mi_like_p): ... this.
(verify_field): Replace with ...
(ui_out::verify_field): ... this.
(ui_out_query_field): Replace with ...
(ui_out::query_table_field): ... this.
(ui_out_data): Remove.
(ui_out_new): Remove, replace with ...
(ui_out::ui_out): ... this constructor.
(do_cleanup_table_end, make_cleanup_ui_out_tuple_begin_end,
do_cleanup_end, make_cleanup_ui_out_tuple_begin_end,
make_cleanup_ui_out_list_begin_end): Update fallouts of struct
ui_out -> class ui_out change.
* cli-out.c (cli_out_data): Remove.
(cli_uiout_dtor): Remove.
(cli_table_begin): Replace with ...
(cli_ui_out::do_table_begin): ... this new method.
(cli_table_body): Replace with ...
(cli_ui_out::do_table_body): ... this new method.
(cli_table_end): Replace with ...
(cli_ui_out::do_table_end): ... this new method.
(cli_table_header): Replace with ...
(cli_ui_out::do_table_header): ... this new method.
(cli_begin): Replace with ...
(cli_ui_out::do_begin): ... this new method.
(cli_end): Replace with ...
(cli_ui_out::do_end): ... this new method.
(cli_field_int): Replace with ...
(cli_ui_out::do_field_int): ... this new method.
(cli_field_skip): Replace with ...
(cli_ui_out::do_field_skip): ... this new method.
(cli_field_string): Replace with ...
(cli_ui_out::do_field_string): ... this new method.
(cli_field_fmt): Replace with ...
(cli_ui_out::do_field_fmt): ... this new method.
(cli_spaces): Replace with ...
(cli_ui_out::do_spaces): ... this new method.
(cli_text): Replace with ...
(cli_ui_out::do_text): ... this new method.
(cli_message): Replace with ...
(cli_ui_out::do_message): ... this new method.
(cli_wrap_hint): Replace with ...
(cli_ui_out::do_wrap_hint): ... this new method.
(cli_flush): Replace with ...
(cli_ui_out::do_flush): ... this new method.
(cli_redirect): Replace with ...
(cli_ui_out::do_redirect): ... this new method.
(out_field_fmt): Replace with ...
(cli_ui_out::out_field_fmt): ... this new method.
(field_separator): Replace with ...
(cli_ui_out::field_separator): ... this new method.
(cli_out_set_stream): Replace with ...
(cli_ui_out::set_stream): ... this new method.
(cli_ui_out_impl): Remove.
(cli_out_data_ctor): Remove.
(cli_ui_out_impl::cli_ui_out_impl): New constructor.
(cli_ui_out_impl::~cli_ui_out_impl): New destructor.
(cli_out_new): Change return type to cli_ui_out *, instantiate a
cli_ui_out.
* cli-out.h (cli_ui_out_data): Remove, replace with class
cli_ui_out.
(class cli_ui_out): New class.
(cli_ui_out_impl): Remove.
(cli_out_data_ctor): Remove.
(cli_out_new): Change return type to cli_ui_out*.
(cli_out_set_stream): Remove.
* cli/cli-interp.c (struct cli_interp) <cli_uiout>: Change type
to cli_ui_out*.
(cli_interpreter_resume): Adapt.
(cli_interpreter_exec): Adapt.
* mi/mi-out.c (mi_ui_out_data, mi_out_data): Remove.
(mi_ui_out_impl): Remove.
(mi_table_begin): Replace with ...
(mi_ui_out::do_table_begin): ... this.
(mi_table_body): Replace with ...
(mi_ui_out::do_table_body): ... this.
(mi_table_end): Replace with ...
(mi_ui_out::do_table_end): ... this.
(mi_table_header): Replace with ...
(mi_ui_out::do_table_header): ... this.
(mi_begin): Replace with ...
(mi_ui_out::do_begin): ... this.
(mi_end): Replace with ...
(mi_ui_out::do_end): ... this.
(mi_field_int): Replace with ...
(mi_ui_out::do_field_int): ... this.
(mi_field_skip): Replace with ...
(mi_ui_out::do_field_skip): ... this.
(mi_field_string): Replace with ...
(mi_ui_out::do_field_string): ... this.
(mi_field_fmt): Replace with ...
(mi_ui_out::do_field_fmt): ... this.
(mi_spaces): Replace with ...
(mi_ui_out::do_spaces): ... this.
(mi_text): Replace with ...
(mi_ui_out::do_text): ... this.
(mi_message): Replace with ...
(mi_ui_out::do_message): ... this.
(mi_wrap_hint): Replace with ...
(mi_ui_out::do_wrap_hint): ... this.
(mi_flush): Replace with ...
(mi_ui_out::do_flush): ... this.
(mi_redirect): Replace with ...
(mi_ui_out::do_redirect):
(field_separator): Replace with ...
(mi_ui_out::field_separator):
(mi_open): Replace with ...
(mi_ui_out::open): ... this.
(mi_close): Replace with ...
(mi_ui_out::close): ... this.
(mi_out_rewind): Replace with ...
(mi_ui_out::rewind): ... this.
(mi_out_put): Replace with ...
(mi_ui_out::put): ... this.
(mi_version): Replace with ...
(mi_ui_out::version): ... this.
(mi_out_data_ctor): Replace with ...
(mi_ui_out::mi_ui_out): ... this.
(mi_out_data_dtor): Replace with ...
(mi_ui_out::~mi_ui_out): ... this.
(mi_out_new): Change return type to mi_ui_out*, instantiate
an mi_ui_out object.
(as_mi_ui_out): New function.
(mi_version): Update fallouts of struct ui_out to class ui_out
transition.
(mi_out_put): Likewise.
(mi_out_rewind): Likewise.
* mi/mi-out.h (mi_out_new): Change return type to mi_ui_out*.
* tui/tui-out.c (tui_ui_out_data, tui_out_data, tui_ui_out_impl):
Remove.
(tui_field_int): Replace with ...
(tui_ui_out::do_field_int): ... this.
(tui_field_string): Replace with ...
(tui_ui_out::do_field_string): ... this.
(tui_field_fmt): Replace with ...
(tui_ui_out::do_field_fmt): ... this.
(tui_text): Replace with ...
(tui_ui_out::do_text): ... this.
(tui_out_new): Change return type to tui_ui_out*, instantiate
tui_ui_out object.
(tui_ui_out::tui_ui_out): New.
* tui/tui-out.h: New file.
* tui/tui.h (tui_out_new): Move declaration to tui/tui-out.h.
* tui/tui-io.c: Include tui/tui-out.h.
(tui_old_uiout): Change type to cli_ui_out*.
(tui_setup_io): Use dynamic_cast.
* tui/tui-io.h (tui_old_uiout): Change type to cli_ui_out*.
* tui/tui-interp.c (tui_resume): Adapt.
* ada-lang.c (print_it_exception): Update fallouts of struct
ui_out to class ui_out transition.
(print_one_exception): Likewise.
(print_mention_exception): Likewise.
* ada-tasks.c (print_ada_task_info): Likewise.
(info_task): Likewise.
(task_command): Likewise.
* auto-load.c (print_script): Likewise.
(auto_load_info_scripts): Likewise.
(info_auto_load_cmd): Likewise.
* break-catch-sig.c (signal_catchpoint_print_one): Likewise.
* break-catch-syscall.c (print_it_catch_syscall): Likewise.
(print_one_catch_syscall): Likewise.
* break-catch-throw.c (print_it_exception_catchpoint): Likewise.
(print_one_exception_catchpoint): Likewise.
(print_one_detail_exception_catchpoint): Likewise.
(print_mention_exception_catchpoint): Likewise.
* breakpoint.c (maybe_print_thread_hit_breakpoint): Likewise.
(print_solib_event): Likewise.
(watchpoint_check): Likewise.
(wrap_indent_at_field): Likewise.
(print_breakpoint_location): Likewise.
(output_thread_groups): Likewise.
(print_one_breakpoint_location): Likewise.
(breakpoint_1): Likewise.
(default_collect_info): Likewise.
(watchpoints_info): Likewise.
(print_it_catch_fork): Likewise.
(print_one_catch_fork): Likewise.
(print_it_catch_vfork): Likewise.
(print_one_catch_vfork): Likewise.
(print_it_catch_solib): Likewise.
(print_one_catch_solib): Likewise.
(print_it_catch_exec): Likewise.
(print_one_catch_exec): Likewise.
(mention): Likewise.
(print_it_ranged_breakpoint): Likewise.
(print_one_ranged_breakpoint): Likewise.
(print_one_detail_ranged_breakpoint): Likewise.
(print_mention_ranged_breakpoint): Likewise.
(print_it_watchpoint): Likewise.
(print_mention_watchpoint): Likewise.
(print_it_masked_watchpoint): Likewise.
(print_one_detail_masked_watchpoint): Likewise.
(print_mention_masked_watchpoint): Likewise.
(bkpt_print_it): Likewise.
(tracepoint_print_one_detail): Likewise.
(tracepoint_print_mention): Likewise.
(update_static_tracepoint): Likewise.
(tracepoints_info): Likewise.
(save_breakpoints): Likewise.
* cli/cli-cmds.c (complete_command): Likewise.
* cli/cli-logging.c (set_logging_redirect): Likewise.
(pop_output_files): Likewise.
(handle_redirections): Likewise.
* cli/cli-script.c (print_command_lines): Likewise.
* cli/cli-setshow.c (do_show_command): Likewise.
(cmd_show_list): Likewise.
* cp-abi.c (list_cp_abis): Likewise.
(show_cp_abi_cmd): Likewise.
* darwin-nat-info.c (darwin_debug_regions_recurse): Likewise.
* disasm.c (gdb_pretty_print_insn): Likewise.
(do_mixed_source_and_assembly_deprecated): Likewise.
(do_mixed_source_and_assembly): Likewise.
* gdb_bfd.c (print_one_bfd): Likewise.
(maintenance_info_bfds): Likewise.
* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Likewise.
* guile/scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
* i386-linux-tdep.c (i386_linux_handle_segmentation_fault): Likewise.
* i386-tdep.c (i386_mpx_print_bounds): Likewise.
* infcmd.c (run_command_1): Likewise.
(print_return_value_1): Likewise.
* inferior.c (print_selected_inferior): Likewise.
(print_inferior): Likewise.
* infrun.c (print_end_stepping_range_reason): Likewise.
(print_signal_exited_reason): Likewise.
(print_exited_reason): Likewise.
(print_signal_received_reason): Likewise.
(print_no_history_reason): Likewise.
* interps.c (interp_set): Likewise.
* linespec.c (decode_line_full): Likewise.
* linux-thread-db.c (info_auto_load_libthread_db): Likewise.
* mi/mi-cmd-env.c (mi_cmd_env_pwd): Likewise.
(mi_cmd_env_path): Likewise.
(mi_cmd_env_dir): Likewise.
(mi_cmd_inferior_tty_show): Likewise.
* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Likewise.
(print_partial_file_name): Likewise.
(mi_cmd_file_list_exec_source_files): Likewise.
* mi/mi-cmd-info.c (mi_cmd_info_ada_exceptions): Likewise.
(mi_cmd_info_gdb_mi_command): Likewise.
* mi/mi-cmd-stack.c (mi_cmd_stack_info_depth): Likewise.
(mi_cmd_stack_list_args): Likewise.
(list_arg_or_local): Likewise.
* mi/mi-cmd-var.c (print_varobj): Likewise.
(mi_cmd_var_create): Likewise.
(mi_cmd_var_delete): Likewise.
(mi_cmd_var_set_format): Likewise.
(mi_cmd_var_show_format): Likewise.
(mi_cmd_var_info_num_children): Likewise.
(mi_cmd_var_list_children): Likewise.
(mi_cmd_var_info_type): Likewise.
(mi_cmd_var_info_path_expression): Likewise.
(mi_cmd_var_info_expression): Likewise.
(mi_cmd_var_show_attributes): Likewise.
(mi_cmd_var_evaluate_expression): Likewise.
(mi_cmd_var_assign): Likewise.
(varobj_update_one): Likewise.
* mi/mi-interp.c (as_mi_interp): Likewise.
(mi_on_normal_stop_1): Likewise.
(mi_tsv_modified): Likewise.
(mi_breakpoint_created): Likewise.
(mi_breakpoint_modified): Likewise.
(mi_solib_loaded): Likewise.
(mi_solib_unloaded): Likewise.
(mi_command_param_changed): Likewise.
(mi_memory_changed): Likewise.
(mi_user_selected_context_changed): Likewise.
* mi/mi-main.c (print_one_inferior): Likewise.
(output_cores): Likewise.
(list_available_thread_groups): Likewise.
(mi_cmd_data_list_register_names): Likewise.
(mi_cmd_data_list_changed_registers): Likewise.
(output_register): Likewise.
(mi_cmd_data_evaluate_expression): Likewise.
(mi_cmd_data_read_memory): Likewise.
(mi_cmd_data_read_memory_bytes): Likewise.
(mi_cmd_list_features): Likewise.
(mi_cmd_list_target_features): Likewise.
(mi_cmd_add_inferior): Likewise.
(mi_execute_command): Likewise.
(mi_load_progress): Likewise.
(print_variable_or_computed): Likewise.
(mi_cmd_trace_frame_collected): Likewise.
* mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Likewise.
* osdata.c (info_osdata_command): Likewise.
* probe.c (gen_ui_out_table_header_info): Likewise.
(print_ui_out_not_applicables): Likewise.
(print_ui_out_info): Likewise.
(info_probes_for_ops): Likewise.
(enable_probes_command): Likewise.
(disable_probes_command): Likewise.
* progspace.c (print_program_space): Likewise.
* python/py-breakpoint.c (bppy_get_commands): Likewise.
* python/py-framefilter.c (py_print_type): Likewise.
(py_print_value): Likewise.
(py_print_single_arg): Likewise.
(enumerate_args): Likewise.
(enumerate_locals): Likewise.
(py_print_args): Likewise.
(py_print_frame): Likewise.
* record-btrace.c (btrace_ui_out_decode_error): Likewise.
(btrace_call_history_insn_range): Likewise.
(btrace_call_history_src_line): Likewise.
(btrace_call_history): Likewise.
* remote.c (show_remote_cmd): Likewise.
* skip.c (skip_info): Likewise.
* solib.c (info_sharedlibrary_command): Likewise.
* source.c (print_source_lines_base): Likewise.
* spu-tdep.c (info_spu_event_command): Likewise.
(info_spu_signal_command): Likewise.
(info_spu_mailbox_list): Likewise.
(info_spu_dma_cmdlist): Likewise.
(info_spu_dma_command): Likewise.
(info_spu_proxydma_command): Likewise.
* stack.c (print_stack_frame): Likewise.
(print_frame_arg): Likewise.
(read_frame_arg): Likewise.
(print_frame_args): Likewise.
(print_frame_info): Likewise.
(print_frame): Likewise.
* symfile.c (load_progress): Likewise.
(generic_load): Likewise.
(print_transfer_performance): Likewise.
* thread.c (do_captured_list_thread_ids): Likewise.
(print_thread_info_1): Likewise.
(restore_selected_frame): Likewise.
(do_captured_thread_select): Likewise.
(print_selected_thread_frame): Likewise.
* top.c (execute_command_to_string): Likewise.
* tracepoint.c (tvariables_info_1): Likewise.
(trace_status_mi): Likewise.
(tfind_1): Likewise.
(print_one_static_tracepoint_marker): Likewise.
(info_static_tracepoint_markers_command): Likewise.
* utils.c (do_ui_out_redirect_pop): Likewise.
(fputs_maybe_filtered): Likewise.
commit ab55d1a098571a559bf75031e1c3e7c914afadd7
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 22 12:07:31 2016 +1030
Don't call "error" in sysroot-prefix.exp
We don't want to report a test failure as a tcl error.
* testsuite/ld-scripts/sysroot-prefix.exp (sysroot_prefix_test_setup):
Call perror rather than error on "as" or "ar" failures.
commit eb3908448bfe295e49bc7bd8a88b90deaa1ba95f
Author: Cary Coutant <ccoutant@gmail.com>
Date: Wed Dec 21 16:21:23 2016 -0800
Make linker-created symbols relocatable where appropriate.
Linker-created symbols like __ehdr_start, __etext, __edata, and end
should be relocatable, not absolute.
gold/
* output.cc (Output_segment::first_section): Return NULL if there are
no sections in the segment.
* output.h (Output_segment::first_section_load_address): Assert that
first section is not NULL.
* symtab.cc (Symbol_table::sized_write_globals): Attach linker-created
segment-relative symbols to first section of the segment.
commit 514b85276b5521256e1688005e94f1d69fc10c27
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Dec 22 00:00:35 2016 +0000
Automatic date update in version.in
commit 87903eafb083abbf330c22fbf941fcbad700c098
Author: Jim Wilson <jim.wilson@linaro.org>
Date: Wed Dec 21 12:33:12 2016 -0800
Fix bugs with float compare and Inf operands.
sim/aarch64/
* simulator.c (set_flags_for_float_compare): Add code to handle Inf.
Add comment to document NaN issue.
(set_flags_for_double_compare): Likewise.
sim/testsuite/sim/aarch64/
* fcmp.s: New.
commit f0d19df99dfe1c63842206d15ae41dfd33d25bf0
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 22 00:40:54 2016 +1030
Don't make_bfd_vms_lib archive functions NULL
Contrary to the comment, they can in fact be called.
* libbfd-in.h (_bfd_vms_lib_slurp_armap): Use _bfd_noarchive function.
(_bfd_vms_lib_slurp_extended_name_table: Likewise.
(_bfd_vms_lib_construct_extended_name_table: Likewise.
(_bfd_vms_lib_truncate_arname: Likewise.
(_bfd_vms_lib_write_armap: Likewise.
(_bfd_vms_lib_read_ar_hdr: Likewise.
(_bfd_vms_lib_write_ar_hdr: Likewise.
* libbfd.h: Regenerate.
commit b2c6190bfc280f834c8aaefe8074c3a2ea6d61ad
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 22 00:39:02 2016 +1030
ChangeLog formatting fixes
commit e5b737de4a22c3099345f2613c106623d7f8d7e7
Author: Andrew Waterman <andrew@sifive.com>
Date: Tue Dec 20 14:25:39 2016 -0800
Support aligning text section from odd addresses
Previously, the alignment directives were not correctly supported
in the text section when current alignment was only 1 byte (i.e.,
when the address was odd). Since there are no 1-byte instructions
in RISC-V, this patch resolves the bug by writing a zero byte to
obtain 2-byte alignment, at which point a 2-byte NOP can be used
to obtain 4-byte alignment.
Resolves https://github.com/riscv/riscv-gnu-toolchain/issues/205
* config/tc-riscv.c (riscv_make_nops): Emit 2-byte NOPs.
(riscv_frag_align_code): Correct frag_align_code arg.
commit ad5bc88245bd8416fd16a2384eb00ec501bcc5e4
Author: Tim Newsome <tim@sifive.com>
Date: Tue Dec 20 14:25:37 2016 -0800
Fix a const-safety issue on GCC-4.9 and above
* config/tc-riscv.c (riscv_pre_output_hook): Remove const from
loc4_frag.
commit 58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba
Author: Andrew Waterman <andrew@sifive.com>
Date: Tue Dec 20 14:25:33 2016 -0800
Avoid creating symbol table entries for registers
Instructions like "jal t0, foo" were erroneously creating symbol table
entries for t0 as well as foo, which causes linking problems. Fix by
reordering instruction alternatives so that t0 is first attempted to
be parsed as a register, rather than as a symbol.
* riscv-opc.c (riscv_opcodes): Reorder jal and call entries.
commit 9ef7906f20e81faa4498761002e6376f4d35c865
Author: Igor Kudrin <ikudrin@accesssoftek.com>
Date: Wed Dec 21 21:23:34 2016 +1030
Do not add padding if an output section is marked as ignored
* ldlang.c (size_input_section): Avoid calling insert_pad
if output_section_statement->ignored is set.
commit 3145b997151d2815065b5c880c1b0d63905d7630
Author: Yury Norov <ynorov@caviumnetworks.com>
Date: Fri Dec 9 21:47:58 2016 +0530
bfd: aarch64: fix word and arrdess size declaration in ilp32 mode
ILP32 has 32-bit word and address, but currently they declared as 64-bit in
bfd_aarch64_arch_ilp32, which breaks further logic of bfd. This patch fixes it.
Glibc testsuite build with patched binutils shows that next tests stop to fail:
iconvdata/mtrace-tst-loading
iconvdata/tst-loading
iconvdata/tst-tables
localedata/mtrace-tst-leaks
localedata/tst-leaks
posix/tst-getaddrinfo4
posix/tst-getaddrinfo5
posix/tst-regex2
commit 4e25adb3956f880efc28bfebabe79be7338b413f
Author: Alan Modra <amodra@gmail.com>
Date: Wed Dec 21 19:13:52 2016 +1030
Remove high bit set characters
gas/
* doc/c-lm32.texi: Fix chars with high bit set.
* testsuite/gas/bfin/vector2.s: Likewise.
gold/
* arm.cc: Fix comment chars with high bit set.
include/
* coff/pe.h: Fix comment chars with high bit set.
* opcode/xgate.h: Likewise.
ld/
* testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.
commit 9962fe293d16e1e1e4d05154e751fc7576226954
Author: Alan Modra <amodra@gmail.com>
Date: Wed Dec 21 19:07:55 2016 +1030
Document character escape sequences
PR gas/10946
* doc/as.texinfo (Chars): Document escape sequences.
commit 7e66a1a05d3fc6cd72e3960608f86962efcaeb9d
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Dec 21 00:00:25 2016 +0000
Automatic date update in version.in
commit 992f1ddc3be1f5195f18beaa801ac50f284b10c5
Author: Pedro Alves <palves@redhat.com>
Date: Tue Dec 20 17:07:19 2016 +0000
gdb: Constify solib_find
gdb/ChangeLog:
2016-12-20 Pedro Alves <palves@redhat.com>
* nto-tdep.c (nto_find_and_open_solib): Constify 'solib'
parameter.
* nto-tdep.h (nto_find_and_open_solib): Constify 'solib'
parameter.
* solib.c (solib_find_1, exec_file_find, solib_find): Constify
in_pathname' parameter.
* solist.h (struct target_so_ops) <find_and_open_solib>: Constify
'soname' parameter.
(exec_file_find, solib_find): Constify 'in_pathname' parameter.
commit 2693a26216c329bd7ec2aae7743409f572de4fa5
Author: Pedro Alves <palves@redhat.com>
Date: Tue Dec 20 15:46:44 2016 +0000
Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains
Nowadays, GDB propagates C++ exceptions across readline using
setjmp/longjmp 89525768cd08 ("Propagate GDB/C++ exceptions across
readline using sj/lj-based TRY/CATCH") because DWARF-based unwinding
can't cross C functions compiled without -fexceptions (see details
from the commit above).
Unfortunately, toolchains that use SjLj-based C++ exceptions got
broken with that fix, because _Unwind_SjLj_Unregister, which is put at
the exit of a function, is not executed due to the longjmp added by
that commit.
(gdb) [New Thread 2936.0xb80]
kill
Thread 1 received signal SIGSEGV, Segmentation fault.
0x03ff662b in ?? ()
top?bt 15
#0 0x03ff662b in ?? ()
#1 0x00526b92 in stdin_event_handler (error=0, client_data=0x172ed8)
at ../../binutils-gdb/gdb/event-top.c:555
#2 0x00525a94 in handle_file_event (ready_mask=<optimized out>,
file_ptr=0x3ff5cb8) at ../../binutils-gdb/gdb/event-loop.c:733
#3 gdb_wait_for_event (block=block@entry=1)
at ../../binutils-gdb/gdb/event-loop.c:884
#4 0x00525bfb in gdb_do_one_event ()
at ../../binutils-gdb/gdb/event-loop.c:347
#5 0x00525ce5 in start_event_loop ()
at ../../binutils-gdb/gdb/event-loop.c:371
#6 0x0051fada in captured_command_loop (data=0x0)
at ../../binutils-gdb/gdb/main.c:324
#7 0x0051cf5d in catch_errors (
func=func@entry=0x51fab0 <captured_command_loop(void*)>,
func_args=func_args@entry=0x0,
errstring=errstring@entry=0x7922bf <VEC_interp_factory_p_quick_push(VEC_inte rp_factory_p*, interp_factory*, char const*, unsigned int)::__PRETTY_FUNCTION__+351> "", mask=mask@entry=RETURN_MASK_ALL)
at ../../binutils-gdb/gdb/exceptions.c:236
#8 0x00520f0c in captured_main (data=0x328feb4)
at ../../binutils-gdb/gdb/main.c:1149
#9 gdb_main (args=args@entry=0x328feb4) at ../../binutils-gdb/gdb/main.c:1159
#10 0x0071e400 in main (argc=1, argv=0x171220)
at ../../binutils-gdb/gdb/gdb.c:32
Fix this by making the functions involved in setjmp/longjmp as
noexcept, so that the compiler knows it doesn't need to emit the
_Unwind_SjLj_Register / _Unwind_SjLj_Unregister calls for C++
exceptions.
Tested on x86_64 Fedora 23 with:
- GCC 5.3.1 w/ DWARF-based exceptions.
- GCC 7 built with --enable-sjlj-exceptions.
gdb/ChangeLog:
2016-12-20 Pedro Alves <palves@redhat.com>
Yao Qi <yao.qi@linaro.org>
PR gdb/20977
* event-top.c (gdb_rl_callback_read_char_wrapper_noexcept): New
noexcept function, factored out from ...
(gdb_rl_callback_read_char_wrapper): ... this.
(gdb_rl_callback_handler): Mark noexcept.
commit ff71884063d048e8f8c03de27d2bac343df4f77a
Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Date: Tue Dec 20 08:42:10 2016 -0500
Set emacs default mode for the GDB directory to C++
Since GDB has switched to C++ but the file names are still .c emacs does
not load the proper mode when opening files in the gdb directory.
This patch fixes that by enabling c++ mode.
This patch also fixes indentation tweaks as discussed in this thread:
https://sourceware.org/ml/gdb-patches/2016-12/msg00074.html
Indent with gdb-code-style.el included and the .dir-locals.el is as such:
namespace TestNameSpace {
class test
{
public:
test test() {}
int m_a;
};
struct teststruct
{
int a;
}
}
gdb/ChangeLog:
* .dir-locals.el: Set c++ mode for the directory and set indent
properly.
* gdb-code-style.el: Set c-set-offset 'innamespace as a safe value
to be used in .dir-locals.el.
commit 11dd08e9a0a2b7115aac32d9599f1bdb0ad12ea6
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 11:38:53 2016 +0000
MIPS16/opcodes: Respect ISA and ASE in disassembly
Limit MIPS16 instruction disassembly according to the ISA level and ASE
set selected, as with the regular MIPS and microMIPS instruction sets.
Retain the property of `objdump -m mips:16' disassembling all MIPS16
instructions however, regardless of any ISA level recorded in the binary
examined.
To validate the disassembler use the GAS test suite for its convenience
of running tests across multiple ISAs, even though placing the tests in
the binutils test suite would be more appropriate. Adjust the single
binutils test which depends on 64-bit instruction disassembly to have
the ISA level required actually recorded in the binary examined.
opcodes/
* mips-dis.c (mips_arch_choices): Use ISA_MIPS64 rather than
ISA_MIPS3 as the `isa' selection in the `bfd_mach_mips16' entry.
(print_insn_mips16): Check opcode entries for validity against
the ISA level and ASE set selected.
binutils/
* testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
rather than `.set' to set the ISA level.
gas/
* testsuite/gas/mips/mips16-sub.d: New test.
* testsuite/gas/mips/mips16-32@mips16-sub.d: New test.
* testsuite/gas/mips/mips16e-32@mips16-sub.d: New test.
* testsuite/gas/mips/mips16e-sub.d: New test.
* testsuite/gas/mips/mips16-32@mips16e-sub.d: New test.
* testsuite/gas/mips/mips16-64@mips16e-sub.d: New test.
* testsuite/gas/mips/mips16e-64-sub.d: New test.
* testsuite/gas/mips/mips16-32@mips16e-64-sub.d: New test.
* testsuite/gas/mips/mips16-64@mips16e-64-sub.d: New test.
* testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: New test.
* testsuite/gas/mips/mips16-sub.s: New test source.
* testsuite/gas/mips/mips16e-sub.s: New test source.
* testsuite/gas/mips/mips16e-64-sub.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
commit 853faf5cc34cfac362f33939543ce569c8ba6341
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 11:34:47 2016 +0000
MIPS/GAS/testsuite: Add RESTORE instruction to `mips16e' test
Add a RESTORE instruction smoke test to the `mips16e' GAS test.
gas/
* testsuite/gas/mips/mips16e.s: Add a RESTORE instruction.
* testsuite/gas/mips/mips16e.d: Adjust accordingly.
commit c60aaac10f9a185541b7f51a3353b95a6c764a4b
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 11:33:49 2016 +0000
MIPS/GAS/testsuite: Extend MIPS16 testing over multiple ISAs
Run the `mips16', `mips16-64', `mips16e-64', `mips16-macro',
`mips16-macro-e' and `mips16-macro-t' GAS tests over multiple MIPS16
ISAs.
gas/
* testsuite/gas/mips/mips16.d: Adjust test for multiple MIPS16
ISA testing.
* testsuite/gas/mips/mips16-64.d: Adjust test for multiple
MIPS16 ISA testing.
* testsuite/gas/mips/mips16e-64.d: Adjust test for multiple
MIPS16 ISA testing.
* testsuite/gas/mips/mips16-macro.d: Adjust test for multiple
MIPS16 ISA testing.
* testsuite/gas/mips/mips16e-64.s: Ensure MIPS16 ISA annotation.
* testsuite/gas/mips/mips16e-64.l: Rename to...
* testsuite/gas/mips/mips16e-32@mips16e-64.l: ... this.
* testsuite/gas/mips/mips16-64@mips16.d: New test.
* testsuite/gas/mips/mips16-64@mips16-64.d: New test.
* testsuite/gas/mips/mips16e-32@mips16e-64.d: New test.
* testsuite/gas/mips/mips16-32@mips16-macro.d: New test.
* testsuite/gas/mips/mips16-64@mips16-macro.d: New test.
* testsuite/gas/mips/mips16e-32@mips16-macro.d: New test.
* testsuite/gas/mips/mips16-32@mips16-macro-e.d: New test.
* testsuite/gas/mips/mips16e-32@mips16-macro-e.d: New test.
* testsuite/gas/mips/mips16-32@mips16-macro-t.d: New test.
* testsuite/gas/mips/mips16e-32@mips16-macro-t.d: New test.
* testsuite/gas/mips/mips16e-32@mips16e-64.l: New stderr output.
* testsuite/gas/mips/mips16-32@mips16-macro.l: New stderr
output.
* testsuite/gas/mips/mips16e-32@mips16-macro.l: New stderr
output.
* testsuite/gas/mips/mips16-32@mips16-macro-e.l: New stderr
output.
* testsuite/gas/mips/mips16e-32@mips16-macro-e.l: New stderr
output.
* testsuite/gas/mips/mips16-32@mips16-macro-t.l: New stderr
output.
* testsuite/gas/mips/mips16e-32@mips16-macro-t.l: New stderr
output.
* testsuite/gas/mips/mips.exp: Run `mips16', `mips16-64',
`mips16-macro', `mips16-macro-t', `mips16-macro-e' and
`mips16e-64' testing across multiple MIPS16 ISAs. Fold
`mips16-macro' and `mips16e-64' list test invocations into
corresponding dump tests.
commit 6b4382006bd5e766581d3357bbc0cff58345d04d
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 02:23:51 2016 +0000
MIPS/GAS/testsuite: Implement individual MIPS16 ISA testing
Implement individual MIPS16 ISA GAS testing for the 32-bit and 64-bit
variants of the base MIPS16 and the MIPS16e ISA each.
gas/
* testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
`mips16e' and `mips16' prefixes.
(run_list_test_arch): Likewise.
Rename `mips16' architecture to `mips16-32'. Add `mips16-64',
`mips16e-32' and `mips16e-64' architectures. Update `rol64',
`mips16e', `elf${el}-rel2' and `elf-rel4' test invocations
accordingly.
* testsuite/gas/mips/mips16e@branch-swap-3.d: New test.
* testsuite/gas/mips/mips16e@branch-swap-4.d: New test.
* testsuite/gas/mips/mips16e@loc-swap-dis.d: New test.
* testsuite/gas/mips/mips16e@loc-swap.d: New test.
commit 23c212516e3a91c74548ceccb597bdeaeb111e26
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 02:10:40 2016 +0000
MIPS/GAS/testsuite: Fix trailing padding in `loc-swap.s'
Pad alignment with zeros rather than NOP instructions, for sensible
multi-ISA MIPS16 testing.
gas/
* testsuite/gas/mips/loc-swap.s: Use zeros rather than NOPs for
trailing alignment padding.
* testsuite/gas/mips/loc-swap.d: Adjust accordingly.
* testsuite/gas/mips/micromips@loc-swap.d: Likewise.
* testsuite/gas/mips/mips16@loc-swap-dis.d: Likewise.
commit 7fd5392005624f8b0522d881aa94bbb470d68cd7
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 02:03:40 2016 +0000
MIPS16: Switch to 32-bit opcode table interpretation
Switch to 32-bit MIPS16 opcode table entry interpretation, similar to
how the microMIPS opcode table is handled, for both the `match' and
`mask' fields, removing special casing for JAL and JALX instructions and
their `a' and `i' operand codes throughout, while retaining automatic
processing of extendable opcodes in assembly and disassembly.
In assembly disallow size enforcement suffixes as appropriate: `.t' for
both 32-bit instructions and macros and `.e' for macros only, making
macro handling consistent with the microMIPS instruction set.
In disassembly fully decode EXTEND prefixes prepended to unsupported
instruction encodings (according to the ISA selection) rather than
dumping them as hexadecimal data along with the following instruction,
removing all special casing for the EXTEND prefix and making its
handling rely on its opcode table entry, except where it is considered a
part of an extendable instruction.
include/
* opcode/mips.h (mips_opcode_32bit_p): New inline function.
gas/
* config/tc-mips.c (micromips_insn_length): Use
`mips_opcode_32bit_p'.
(is_size_valid): Adjust description.
(is_size_valid_16): New function.
(validate_mips_insn): Use `mips_opcode_32bit_p' in MIPS16
operand decoding.
(validate_mips16_insn): Remove `a' and `i' operand code special
casing, use `mips_opcode_32bit_p' to determine instruction
width.
(append_insn): Adjust forced MIPS16 instruction size
determination.
(match_mips16_insn): Likewise. Don't shift the instruction's
opcode with the `a' and `i' operand codes. Use
`mips_opcode_32bit_p' in operand decoding.
(match_mips16_insns): Check for forced instruction size's
validity.
(mips16_ip): Don't force instruction size in the `noautoextend'
mode.
* testsuite/gas/mips/mips16-jal-e.d: New test.
* testsuite/gas/mips/mips16-jal-t.d: New test.
* testsuite/gas/mips/mips16-macro-e.d: New test.
* testsuite/gas/mips/mips16-macro-t.d: New test.
* testsuite/gas/mips/mips16-jal-t.l: New stderr output.
* testsuite/gas/mips/mips16-macro-e.l: New stderr output.
* testsuite/gas/mips/mips16-macro-t.l: New stderr output.
* testsuite/gas/mips/mips16-jal-e.s: New test source.
* testsuite/gas/mips/mips16-jal-t.s: New test source.
* testsuite/gas/mips/mips16-macro-e.s: New test source.
* testsuite/gas/mips/mips16-macro-t.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
opcodes/
* mips-dis.c (print_mips16_insn_arg): Always handle `extend' and
`insn' together, with `extend' as the high-order 16 bits.
(match_kind): New enum.
(print_insn_mips16): Rework for 32-bit instruction matching.
Do not dump EXTEND prefixes here.
* mips16-opc.c (mips16_opcodes): Move "extend" entry to the end.
Recode `match' and `mask' fields as 32-bit in absolute "jal" and
"jalx" entries.
binutils/
* testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
test for separate EXTEND prefix disassembly.
commit 4ebce1a0a5911e71aa2d00932ffb2126ff1f3633
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 01:53:03 2016 +0000
MIPS16/opcodes: Correct 64-bit macros' ISA membership
Limit the DDIV, DDIVU, DREM, DREMU and DSUBU macros to the MIPS III
rather than MIPS I ISA. These macros expand to machine code sequences
including 64-bit instructions which require a 64-bit ISA. Entries for
those instructions are already correctly marked, however the marking is
ignored if entries are used in the process of macro expansion rather
than directly, making it possible to indirectly produce 64-bit machine
code even when output requested has been limited to a 32-bit ISA.
opcodes/
* mips16-opc.c (mips16_opcodes): Set membership to I3 rather
than I1 for the "ddiv", "ddivu", "drem", "dremu" and "dsubu"
INSN_MACRO entries.
gas/
* testsuite/gas/mips/mips16-macro.l: New list test.
* testsuite/gas/mips/mips.exp: Run the new test.
commit c97dda72b905d5ba9b82004bf4e57dd4cf343147
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 01:50:24 2016 +0000
MIPS16/opcodes: Correct I64/SDRASP opcode's ISA membership
Limit the `SD ra, offset(sp)' instruction (I64/SDRASP major/minor
opcode) to the MIPS III rather than MIPS I ISA. This is a 64-bit
instruction requiring a 64-bit ISA. This bug has been there since
forever.
opcodes/
* mips16-opc.c (mips16_opcodes): Set membership to I3 rather
than I1 for the SP-relative "sd"/$ra entry (SDRASP minor
opcode).
gas/
* testsuite/gas/mips/mips16-sdrasp.d: New test.
* testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
* testsuite/gas/mips/mips16-sdrasp.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new test.
commit 95f6ac8822ecbad5530c4488ac54fd46b4c658a2
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Dec 20 01:49:02 2016 +0000
MIPS/GAS/testsuite: Correct NewABI test selection
Make sure all tests that require NewABI support are only run with
`has_newabi' targets, removing numerous `mips-sgi-irix5' failures.
gas/
* testsuite/gas/mips/mips.exp: Limit remaining tests that
require NewABI support to `has_newabi' targets.
commit 78d9f182f5cf4bc0d892af59030b85351b0ceab5
Author: Cary Coutant <ccoutant@gmail.com>
Date: Tue Dec 20 01:03:55 2016 -0800
Update testsuite Makefile with missing dependencies.
2016-12-20 Cary Coutant <ccoutant@gmail.com>
gold/
* testsuite/Makefile.am: Add missing dependencies on gcctestdir/ld
or ../ld-new.
* testsuite/Makefile.in: Regenerate.
commit 092e01962dfbe7db9f5e57ca365b8ca56b4aa96a
Author: Cary Coutant <ccoutant@gmail.com>
Date: Mon Dec 19 19:19:46 2016 -0800
Fix read-beyond-end-of-buffer error in script parsing.
2016-12-19 Cary Coutant <ccoutant@gmail.com>
gold/
PR gold/20949
* script.cc (Lex::get_token): Don't look ahead past NUL characters.
commit 3e67a37820a2838cdbd50f3f697ddc929443ceaa
Author: Andrew Waterman <andrew@sifive.com>
Date: Sun Dec 18 22:53:54 2016 -0800
Correct assembler mnemonic for RISC-V aqrl AMOs
sc is a misnomer, because they aren't inherently sc.
* riscv-opc.c (riscv_opcodes): Rename the "*.sc" instructions to
"*.aqrl".
commit 04386d9ed5f068b74757bfac01670576e4e59b8a
Author: Andrew Waterman <andrew@sifive.com>
Date: Sun Dec 18 22:53:53 2016 -0800
Fix disassembly of RISC-V CSR instructions under -Mno-aliases
This fixes https://github.com/riscv/riscv-binutils-gdb/issues/36.
* riscv-opc.c (riscv_opcodes): Mark the rd* and csr* aliases as
INSN_ALIAS.
commit 755c5297bdbca564e97040ce7f036ed02dc7fa4a
Author: Andrew Waterman <andrew@sifive.com>
Date: Sun Dec 18 22:53:52 2016 -0800
Add canonical JALR for RISC-V
jalr rd,offset(rs1)
rather than
jalr rd,rs1,offset
This matches the format of other instructions.
* riscv-opc.c (riscv_opcodes): Change jr and jalr to "o(s)"
format.
commit d115ab8eee9bb3e13aae86698a4fd91e0ed284e9
Author: Andrew Waterman <andrew@sifive.com>
Date: Sun Dec 18 22:53:51 2016 -0800
Don't define RISC-V .p2align
* config/tc-riscv.c (riscv_pseudo_table): Remove "align",
"p2align", and "balign".
(s_align): Remove.
(riscv_handle_align): New function.
(riscv_frag_align_code): Likewise.
(riscv_make_nops): Likewise.
* config/tc-riscv.h (MAX_MEM_FOR_RS_ALIGN_CODE): Change to 7.
(HANDLE_ALIGN): Define.
(md_do_align): Define.
(riscv_handle_align): Declare.
(riscv_frag_align_code): Likewise.
commit 2922d21da14b4711872371abacb16e8ab7c70894
Author: Andrew Waterman <andrew@sifive.com>
Date: Sun Dec 18 22:53:50 2016 -0800
Re-work RISC-V gas flags: now we just support -mabi and -march
We've decided to standardize on two flags for RISC-V: "-march" sets the
target architecture (which determines which instructions can be
generated), and "-mabi" sets the target ABI. We needed to rework this
because the old flag set didn't support soft-float or single-float ABIs,
and didn't support an x32-style ABI on RISC-V.
Additionally, we've changed the behavior of the -march flag: it's now a
lot stricter and only parses things we can actually understand.
Additionally, it's now lowercase-only: the rationale is that while the
RISC-V ISA manual specifies that ISA strings are case-insensitive, in
Linux-land things are usually case-sensitive. Since this flag can be
used to determine library paths, we didn't want to bake some
case-insensitivity in there that would case trouble later.
This patch implements these two new flags and removes the old flags that
could conflict with these. There wasn't a RISC-V release before, so we
want to just support a clean flag set.
include/
* elf/riscv.h (EF_RISCV_SOFT_FLOAT): Don't define.
(EF_RISCV_FLOAT_ABI, EF_RISCV_FLOAT_ABI_SOFT): Define.
(EF_RISCV_FLOAT_ABI_SINGLE, EF_RISCV_FLOAT_ABI_DOUBLE): Define.
(EF_RISCV_FLOAT_ABI_QUAD): Define.
bfd/
* elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Use
EF_RISCV_FLOAT_ABI_SOFT instead of EF_RISCV_SOFT_FLOAT.
binutils/
* readelf.c (get_machine_flags): Use
EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
EF_RISCV_{SOFT,HARD}_FLOAT.
gas/
* config/tc-riscv.h (xlen): Delete.
* config/tc-riscv.c (xlen): Make static.
(abi_xlen): New variable.
(options): Replace OPTION_{M32,M64,MSOFT_FLOAT,MHARD_FLOAT,MRVC}
with OPTION_MABI.
(md_longopts): Likewise.
(md_parse_option): Likewise.
(riscv_elf_final_processing): Likewise.
* doc/as.texinfo (Target RISC-V options): Likewise.
* doc/c-riscv.texi (OPTIONS): Likewise.
* config/tc-riscv.c (float_mode): Removed.
(float_abi): New type, specifies the floating-point ABI.
(riscv_set_abi): New function.
(riscv_add_subset): Only allow lower-case ISA names and require
them to start with "rv".
(riscv_after_parse_args): Likewise.
opcodes/
* riscv-dis.c (riscv_disassemble_insn): Default to the ELF's
XLEN when none is provided.
commit 1d61f7949f77796ee407466f3ca7f42dcde9251b
Author: Andrew Waterman <andrew@sifive.com>
Date: Sun Dec 18 22:53:49 2016 -0800
Fix an integer overflow in RISC-V relocation handling
* elfnn-riscv.c (bfd_riscv_get_max_alignment): Return bfd_vma
instead of unsigned int.
commit 45f764234a71431b581340957a3c8338e0593fdb
Author: Andrew Waterman <andrew@sifive.com>
Date: Sun Dec 18 22:53:48 2016 -0800
Rework RISC-V relocations
Before this commit we didn't cleanly support CFI directives because the
internal offsets used to get relaxed which broke them. This patch
significantly reworks how we handle linker relaxations:
* DWARF is now properly supported
* There is a ".option norelax" to disable relaxations, for when users
write assembly that can't be relaxed (if it's to be later patched up,
for example).
* There is an additional _RELAX relocation that specifies when previous
relocations can be relaxed.
We're in the process of documenting the RISC-V ELF ABI, which will
include documentation of our relocations
https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md
but we expect that this relocation set will remain ABI compatible in the
future (ie, it's safe to release).
Thanks to Kuan-Lin Chen for figuring out how to correctly relax the
debug info!
include/
* elf/riscv.h: Add R_RISCV_TPREL_I through R_RISCV_SET32.
bfd/
* reloc.c (BFD_RELOC_RISCV_TPREL_I): New relocation.
(BFD_RELOC_RISCV_TPREL_S): Likewise.
(BFD_RELOC_RISCV_RELAX): Likewise.
(BFD_RELOC_RISCV_CFA): Likewise.
(BFD_RELOC_RISCV_SUB6): Likewise.
(BFD_RELOC_RISCV_SET8): Likewise.
(BFD_RELOC_RISCV_SET8): Likewise.
(BFD_RELOC_RISCV_SET16): Likewise.
(BFD_RELOC_RISCV_SET32): Likewise.
* elfnn-riscv.c (perform_relocation): Handle the new
relocations.
(_bfd_riscv_relax_tls_le): Likewise.
(_bfd_riscv_relax_align): Likewise.
(_bfd_riscv_relax_section): Likewise.
(howto_table): Likewise.
(riscv_reloc_map): Likewise.
(relax_func_t): New type.
(_bfd_riscv_relax_call): Add reserve_size argument, which
controls the maximal offset pessimism. Correct type of max_alignment.
(_bfd_riscv_relax_lui): Likewise.
(_bfd_riscv_relax_tls_le): Likewise.
(_bfd_riscv_relax_align): Likewise.
(_bfd_riscv_relax_section): Compute the required reserve size
when relocating and use it to when calling relax_func.
* bfd-in2.h: Regenerate.
* libbfd.h: Likewise.
gas/
* config/tc-riscv.c (riscv_set_options): Add relax.
(riscv_opts): Likewise.
(s_riscv_option): Add relax and norelax.
(riscv_apply_const_reloc): New function.
(append_insn): Move constant relocation handling to
riscv_apply_const_reloc.
(md_pcrel_from): Likewise.
(parse_relocation): Skip BFD_RELOC_UNUSED.
(md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
(md_apply_fix): Likewise.
(riscv_pre_output_hook): New function.
* config/tc-riscv.h (md_pre_output_hook): Define.
(riscv_pre_output_hook): Declare.
(DWARF_CIE_DATA_ALIGNMENT): Always -4.
commit 1d65abb5e2cb1624b358dda27a53a070bec685cc
Author: Andrew Waterman <andrew@sifive.com>
Date: Sun Dec 18 22:53:47 2016 -0800
Formatting changes for RISC-V
This is a mixed bag of format changes:
* Replacing constants with macros (0xffffffff with MINUS_ONE, for
example). There's one technically functional change in here (some
MINUS_ONEs are changed to 0), but it only changes the behavior of an
otherwise-unused field.
* Using 0 instead of 0x0 in the relocation table.
* There were some missing spaces before parens, the spaces have been
added.
* A handful of comments are now more descriptive.
* A bunch of whitespace-only changes, mostly alignment and brace
newlines.
bfd/
* elfnn-riscv.c: Formatting and comment fixes throughout.
* elfxx-riscv.c: Likewise.
(howto_table): Change the src_mask field from MINUS_ONE to 0 for
R_RISCV_TLS_DTPMOD32, R_RISCV_TLS_DTPMOD64, R_RISCV_TLS_DTPREL32,
R_RISCV_TLS_DTPREL64, R_RISCV_TLS_TPREL32, R_RISCV_TLS_TPREL64.
opcodes/
* riscv-opc.c: Formatting fixes.
gas/
* config/tc-riscv.c: Formatting and comment fixes throughout.
commit 96b0927de3ebdb302d8d571c43da3db5ec23847e
Author: Palmer Dabbelt <palmer@dabbelt.com>
Date: Sun Dec 18 22:53:46 2016 -0800
Improve RISC-V LD error message
I recently ran into this error message and found it's not helpful: it
just tells me some temporary file can't be linked. This slightly
improved one at least tells me it's because of an elf32/elf64 conflict.
* elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Improve
error message when linking elf32 and elf64.
commit dd1d944e2321de26f75a21f42750dd38ed964714
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 20 11:48:21 2016 +1030
Add opcodes RISC-V dependencies
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add riscv files.
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
commit 412ffd830b94a860e81e8515140ba5ebc5aa82be
Author: Cary Coutant <ccoutant@gmail.com>
Date: Mon Dec 19 16:37:48 2016 -0800
Fix problem where linker does not place .note sections according to script.
gold/
PR gold/14676
PR gold/20983
* layout.h (Layout::choose_output_section): Add match_input_spec
parameter. Adjust all callers.
* layout.cc (Layout::choose_output_section): Likewise. Pass
match_input_spec to Script_sections::output_section_name().
(Layout::create_note): Pass true for match_input_spec.
* script-sections.h (Script_sections::output_section_name): Add
match_input_spec parameter.
* script-sections.cc (Sections_element::output_section_name): Likewise.
(Output_section_definition::output_section_name): Likewise.
(Script_sections::output_section_name): Likewise.
commit ec5882fbd19a80299e7ae738fca016ef27830ad4
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Tue Dec 20 00:00:32 2016 +0000
Automatic date update in version.in
commit ee7ef219cbfbcf9217b50c4d30e719e2a6182a71
Author: Igor Kudrin <ikudrin@accesssoftek.com>
Date: Mon Dec 19 15:23:59 2016 -0800
Fix an internal error in the constructor of Target_arm.
gold/
* arm.cc (Target_arm::Target_arm): Move initialization code ...
(Target_arm::do_select_as_default_target): ... to here.
* testsuite/Makefile.am (arm_target_lazy_init): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_target_lazy_init.s: New source file.
* testsuite/arm_target_lazy_init.t: New linker script.
commit 89ede9f53b74f84febcd1c2a6db8b03f390b62ec
Author: Cary Coutant <ccoutant@gmail.com>
Date: Mon Dec 19 10:37:23 2016 -0800
Fix forced allocation of common (-d) during -r links.
If the .bss section has other data in it besides common allocations,
gold was subtracting the wrong section start address from the symbol
value.
gold/
PR gold/20976
* symtab.cc (Symbol_table::sized_write_globals): Use address of
output section, not input section.
* testsuite/Makefile.am (pr20976): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/pr20976.c: New source file.
commit 16e69324ec7fbe4ea12f2a0a069ad207ac8e3f97
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Dec 19 15:00:32 2016 +0000
Clean up gdb.gdb/selftest.exp
I recently see the test fails like this,
(gdb) PASS: gdb.gdb/selftest.exp: step over argv initialization
list^M
487 std::vector<struct cmdarg> cmdarg_vec;^M
(gdb) FAIL: gdb.gdb/selftest.exp: unknown source line (after step over argv initialization)
step^M
std::vector<cmdarg, std::allocator<cmdarg> >::vector (this=0x7fffffffdc10) at ../../binutils-gdb/gdb/main.c:487^M
487 std::vector<struct cmdarg> cmdarg_vec;^M
(gdb) FAIL: gdb.gdb/selftest.exp: step into xmalloc call
These fails are caused by using std::vector in commit
f60ee22ea1d62f7004511ec65a3ad76890032d88. selttest.exp should match
the source code of GDB. It is a maintenance pain, so this patch
removes do_steps_and_nexts.
gdb/testsuite:
2016-12-19 Yao Qi <yao.qi@linaro.org>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
(test_with_self): Don't call do_steps_and_nexts, and remove
code about stepping into xmalloc.
commit b25e998d0be7d7ec2a14bfdca03370155355d215
Author: Christian Groessler <chris@groessler.org>
Date: Mon Dec 19 13:56:22 2016 +0100
bfd/elf32-arm.c: Rename 'popcount' to 'elf32_arm_popcount'
bfd/elf32_arm.c contains a function 'popcount' which conflicts
with a function of the same name in NetBSD's libc.
This change also changes popcount's 'sum' variable to signed
since the function returns a signed integer.
bfd/
* elf32-arm.c (elf32_arm_popcount): Rename from 'popcount'. Make
'sum' local variable signed.
commit 91068ec6ae02e85c5ca4fbe3c6e214bd87bb872f
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Mon Dec 19 11:35:14 2016 +0000
MIPS/opcodes: Only examine ELF file structures if SYMTAB_AVAILABLE
Correct commit 640c0ccdc980 ("some objdump -M options, better reg
dumps"), <https://sourceware.org/ml/binutils/2002-12/msg00706.html>, and
only execute code setting up disassembler options based on ELF file
structures if SYMTAB_AVAILABLE is set.
opcodes/
* mips-dis.c (set_default_mips_dis_options) [SYMTAB_AVAILABLE]:
Only examine ELF file structures here.
commit 4df995c77118d07c12fb260dbba0ca2b281324f1
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Mon Dec 19 11:32:05 2016 +0000
MIPS/opcodes: Only call `bfd_mips_elf_get_abiflags' if BFD64
Complement commit 5e7fc731f80e ("MIPS/opcodes: Also set disassembler's
ASE flags from ELF structures") and fix an `--enable-targets=all' GDB
build regression on 32-bit hosts where the MIPS target is a secondary:
../opcodes/libopcodes.a(mips-dis.o): In function `set_default_mips_dis_options':
mips-dis.c:(.text+0x906): undefined reference to `bfd_mips_elf_get_abiflags'
collect2: error: ld returned 1 exit status
make[2]: *** [gdb] Error 1
by avoiding making a call to the `bfd_mips_elf_get_abiflags' function,
which is not available, because there is no MIPS/ELF BFD included in
32-bit BFD builds. This call is only made from a conditional code block
guarded by a check against `bfd_target_elf_flavour', which is dead in
such a configuration, however cannot be optimized away by the compiler.
Also some other MIPS BFDs may be available, such as a.out, ECOFF or PE,
so the disassembler has to remain functional.
opcodes/
* mips-dis.c (set_default_mips_dis_options) [BFD64]: Only call
`bfd_mips_elf_get_abiflags' here.
commit 602a81860a9a64c6a4bf1e338698118b35518b93
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Dec 19 00:00:21 2016 +0000
Automatic date update in version.in
commit 53eab0d3fa9e47acccf6073172663112a1471dad
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Dec 18 00:00:24 2016 +0000
Automatic date update in version.in
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 119 +
bfd/bfd-in2.h | 9 +
bfd/config.in | 2 +-
bfd/configure | 29 +-
bfd/configure.ac | 11 +-
bfd/cpu-aarch64.c | 8 +-
bfd/elf32-arm.c | 15 +-
bfd/elfnn-riscv.c | 114 +-
bfd/elfxx-mips.c | 3 -
bfd/elfxx-riscv.c | 166 +-
bfd/libbfd-in.h | 24 +-
bfd/libbfd.h | 33 +-
bfd/linker.c | 107 +-
bfd/po/bfd.pot | 1478 ++--
bfd/reloc.c | 18 +
bfd/version.h | 2 +-
bfd/version.m4 | 2 +-
binutils/BRANCHES | 1 +
binutils/ChangeLog | 40 +
binutils/NEWS | 2 +
binutils/configure | 20 +-
binutils/po/binutils.pot | 4757 +++++++----
binutils/readelf.c | 21 +-
binutils/testsuite/binutils-all/mips/mips.exp | 1 +
.../binutils-all/mips/mips16-extend-insn.d | 331 +
.../binutils-all/mips/mips16-extend-insn.s | 630 ++
.../binutils-all/mips/mips16-extend-noinsn.d | 18 +-
.../testsuite/binutils-all/mips/mips16-undecoded.s | 2 +-
gas/ChangeLog | 323 +
gas/NEWS | 2 +
gas/config/tc-mips.c | 147 +-
gas/config/tc-msp430.c | 11 +-
gas/config/tc-riscv.c | 571 +-
gas/config/tc-riscv.h | 22 +-
gas/configure | 20 +-
gas/doc/as.texinfo | 18 +-
gas/doc/c-lm32.texi | 2 +-
gas/doc/c-riscv.texi | 23 +-
gas/po/gas.pot | 8921 +++++++++++---------
gas/testsuite/gas/bfin/vector2.s | 10 +-
gas/testsuite/gas/mips/loc-swap.d | 2 +-
gas/testsuite/gas/mips/loc-swap.s | 2 +-
gas/testsuite/gas/mips/micromips@loc-swap.d | 2 +-
gas/testsuite/gas/mips/mips.exp | 170 +-
gas/testsuite/gas/mips/mips16-32@mips16-asmacro.d | 21 +
gas/testsuite/gas/mips/mips16-32@mips16-insn-e.d | 4 +
gas/testsuite/gas/mips/mips16-32@mips16-insn-e.l | 133 +
gas/testsuite/gas/mips/mips16-32@mips16-insn-t.d | 4 +
gas/testsuite/gas/mips/mips16-32@mips16-insn-t.l | 54 +
gas/testsuite/gas/mips/mips16-32@mips16-macro-e.d | 4 +
gas/testsuite/gas/mips/mips16-32@mips16-macro-e.l | 56 +
gas/testsuite/gas/mips/mips16-32@mips16-macro-t.d | 4 +
gas/testsuite/gas/mips/mips16-32@mips16-macro-t.l | 56 +
gas/testsuite/gas/mips/mips16-32@mips16-macro.d | 5 +
gas/testsuite/gas/mips/mips16-32@mips16-macro.l | 12 +
gas/testsuite/gas/mips/mips16-32@mips16-sub.d | 825 ++
gas/testsuite/gas/mips/mips16-32@mips16e-64-sub.d | 16 +
gas/testsuite/gas/mips/mips16-32@mips16e-sub.d | 56 +
gas/testsuite/gas/mips/mips16-64.d | 140 +-
gas/testsuite/gas/mips/mips16-64@mips16-64.d | 686 ++
gas/testsuite/gas/mips/mips16-64@mips16-asmacro.d | 21 +
gas/testsuite/gas/mips/mips16-64@mips16-insn-e.d | 4 +
gas/testsuite/gas/mips/mips16-64@mips16-insn-e.l | 132 +
gas/testsuite/gas/mips/mips16-64@mips16-insn-t.d | 4 +
gas/testsuite/gas/mips/mips16-64@mips16-insn-t.l | 16 +
gas/testsuite/gas/mips/mips16-64@mips16-macro.d | 148 +
gas/testsuite/gas/mips/mips16-64@mips16.d | 684 ++
gas/testsuite/gas/mips/mips16-64@mips16e-64-sub.d | 5 +
gas/testsuite/gas/mips/mips16-64@mips16e-sub.d | 5 +
gas/testsuite/gas/mips/mips16-asmacro.d | 14 +
gas/testsuite/gas/mips/mips16-asmacro.s | 13 +
gas/testsuite/gas/mips/mips16-extend-swap.d | 25 +
gas/testsuite/gas/mips/mips16-extend-swap.s | 21 +
gas/testsuite/gas/mips/mips16-insn-e.d | 3 +
gas/testsuite/gas/mips/mips16-insn-e.l | 130 +
gas/testsuite/gas/mips/mips16-insn-e.s | 187 +
gas/testsuite/gas/mips/mips16-insn-length-noargs.d | 14 +
gas/testsuite/gas/mips/mips16-insn-length-noargs.s | 12 +
gas/testsuite/gas/mips/mips16-insn-t.d | 3 +
gas/testsuite/gas/mips/mips16-insn-t.l | 3 +
gas/testsuite/gas/mips/mips16-insn-t.s | 187 +
gas/testsuite/gas/mips/mips16-jal-e.d | 12 +
gas/testsuite/gas/mips/mips16-jal-e.s | 8 +
gas/testsuite/gas/mips/mips16-jal-t.d | 3 +
gas/testsuite/gas/mips/mips16-jal-t.l | 3 +
gas/testsuite/gas/mips/mips16-jal-t.s | 8 +
gas/testsuite/gas/mips/mips16-macro-e.d | 3 +
gas/testsuite/gas/mips/mips16-macro-e.l | 56 +
gas/testsuite/gas/mips/mips16-macro-e.s | 59 +
gas/testsuite/gas/mips/mips16-macro-t.d | 3 +
gas/testsuite/gas/mips/mips16-macro-t.l | 56 +
gas/testsuite/gas/mips/mips16-macro-t.s | 59 +
gas/testsuite/gas/mips/mips16-macro.d | 2 +-
gas/testsuite/gas/mips/mips16-macro.l | 12 +
gas/testsuite/gas/mips/mips16-relax-unextended-1.d | 3 +
gas/testsuite/gas/mips/mips16-relax-unextended-1.l | 49 +
gas/testsuite/gas/mips/mips16-relax-unextended-1.s | 58 +
gas/testsuite/gas/mips/mips16-relax-unextended-2.d | 3 +
gas/testsuite/gas/mips/mips16-relax-unextended-2.l | 49 +
gas/testsuite/gas/mips/mips16-relax-unextended-2.s | 58 +
gas/testsuite/gas/mips/mips16-sdrasp.d | 3 +
gas/testsuite/gas/mips/mips16-sdrasp.l | 2 +
gas/testsuite/gas/mips/mips16-sdrasp.s | 7 +
gas/testsuite/gas/mips/mips16-sub.d | 671 ++
gas/testsuite/gas/mips/mips16-sub.s | 2 +
gas/testsuite/gas/mips/mips16.d | 136 +-
gas/testsuite/gas/mips/mips16@loc-swap-dis.d | 1 -
gas/testsuite/gas/mips/mips16e-32@mips16-insn-e.d | 4 +
gas/testsuite/gas/mips/mips16e-32@mips16-insn-e.l | 131 +
gas/testsuite/gas/mips/mips16e-32@mips16-insn-t.d | 4 +
gas/testsuite/gas/mips/mips16e-32@mips16-insn-t.l | 43 +
gas/testsuite/gas/mips/mips16e-32@mips16-macro-e.d | 4 +
gas/testsuite/gas/mips/mips16e-32@mips16-macro-e.l | 56 +
gas/testsuite/gas/mips/mips16e-32@mips16-macro-t.d | 4 +
gas/testsuite/gas/mips/mips16e-32@mips16-macro-t.l | 56 +
gas/testsuite/gas/mips/mips16e-32@mips16-macro.d | 5 +
gas/testsuite/gas/mips/mips16e-32@mips16-macro.l | 12 +
gas/testsuite/gas/mips/mips16e-32@mips16-sub.d | 5 +
gas/testsuite/gas/mips/mips16e-32@mips16e-64-sub.d | 5 +
gas/testsuite/gas/mips/mips16e-32@mips16e-64.d | 4 +
.../mips/{mips16e-64.l => mips16e-32@mips16e-64.l} | 0
gas/testsuite/gas/mips/mips16e-64-sub.d | 15 +
gas/testsuite/gas/mips/mips16e-64-sub.s | 2 +
gas/testsuite/gas/mips/mips16e-64.d | 20 +-
gas/testsuite/gas/mips/mips16e-64.s | 2 +-
gas/testsuite/gas/mips/mips16e-sub.d | 49 +
gas/testsuite/gas/mips/mips16e-sub.s | 2 +
gas/testsuite/gas/mips/mips16e.d | 2 +-
gas/testsuite/gas/mips/mips16e.s | 2 +
gas/testsuite/gas/mips/mips16e@branch-swap-3.d | 41 +
gas/testsuite/gas/mips/mips16e@branch-swap-4.d | 5 +
gas/testsuite/gas/mips/mips16e@loc-swap-dis.d | 30 +
gas/testsuite/gas/mips/mips16e@loc-swap.d | 61 +
gdb/.dir-locals.el | 7 +-
gdb/ChangeLog | 464 +
gdb/MAINTAINERS | 2 +-
gdb/NEWS | 7 +
gdb/ada-lang.c | 47 +-
gdb/ada-tasks.c | 63 +-
gdb/auto-load.c | 29 +-
gdb/break-catch-sig.c | 16 +-
gdb/break-catch-syscall.c | 40 +-
gdb/break-catch-throw.c | 52 +-
gdb/breakpoint.c | 591 +-
gdb/cli-out.c | 301 +-
gdb/cli-out.h | 60 +-
gdb/cli/cli-cmds.c | 2 +-
gdb/cli/cli-interp.c | 12 +-
gdb/cli/cli-logging.c | 12 +-
gdb/cli/cli-script.c | 84 +-
gdb/cli/cli-setshow.c | 14 +-
gdb/cp-abi.c | 22 +-
gdb/darwin-nat-info.c | 48 +-
gdb/disasm.c | 51 +-
gdb/doc/ChangeLog | 5 +
gdb/doc/gdb.texinfo | 41 +-
gdb/event-top.c | 23 +-
gdb/gdb-code-style.el | 5 +
gdb/gdb_bfd.c | 16 +-
gdb/gdbserver/ChangeLog | 5 +
gdb/gdbserver/nto-x86-low.c | 2 +-
gdb/gdbserver/win32-i386-low.c | 4 +-
gdb/guile/scm-breakpoint.c | 4 +-
gdb/guile/scm-ports.c | 2 +-
gdb/i386-linux-tdep.c | 25 +-
gdb/i386-tdep.c | 32 +-
gdb/infcmd.c | 32 +-
gdb/inferior.c | 39 +-
gdb/infrun.c | 99 +-
gdb/interps.c | 4 +-
gdb/linespec.c | 2 +-
gdb/linux-thread-db.c | 17 +-
gdb/mi/mi-cmd-env.c | 9 +-
gdb/mi/mi-cmd-file.c | 32 +-
gdb/mi/mi-cmd-info.c | 12 +-
gdb/mi/mi-cmd-stack.c | 12 +-
gdb/mi/mi-cmd-var.c | 77 +-
gdb/mi/mi-interp.c | 81 +-
gdb/mi/mi-main.c | 149 +-
gdb/mi/mi-out.c | 309 +-
gdb/mi/mi-out.h | 69 +-
gdb/mi/mi-symbol-cmds.c | 5 +-
gdb/nto-tdep.c | 3 +-
gdb/nto-tdep.h | 2 +-
gdb/osdata.c | 10 +-
gdb/probe.c | 67 +-
gdb/progspace.c | 20 +-
gdb/psymtab.c | 186 +-
gdb/python/py-breakpoint.c | 6 +-
gdb/python/py-framefilter.c | 88 +-
gdb/record-btrace.c | 44 +-
gdb/remote.c | 4 +-
gdb/skip.c | 44 +-
gdb/solib.c | 47 +-
gdb/solist.h | 6 +-
gdb/source.c | 31 +-
gdb/spu-tdep.c | 124 +-
gdb/stack.c | 84 +-
gdb/symfile.c | 45 +-
gdb/symmisc.c | 219 +-
gdb/testsuite/ChangeLog | 761 ++
gdb/testsuite/gdb.ada/exec_changed.exp | 2 +-
gdb/testsuite/gdb.ada/info_types.exp | 2 +-
gdb/testsuite/gdb.arch/aarch64-atomic-inst.exp | 2 +-
gdb/testsuite/gdb.arch/aarch64-fp.exp | 2 +-
gdb/testsuite/gdb.arch/altivec-abi.exp | 4 +-
gdb/testsuite/gdb.arch/altivec-regs.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-byte.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-dword.exp | 2 +-
.../gdb.arch/amd64-entry-value-inline.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value-param.exp | 2 +-
.../gdb.arch/amd64-entry-value-paramref.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-i386-address.exp | 2 +-
.../gdb.arch/amd64-invalid-stack-middle.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-invalid-stack-top.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-optimout-repeat.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-prologue-skip.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp | 2 +-
.../gdb.arch/amd64-stap-special-operands.exp | 6 +-
gdb/testsuite/gdb.arch/amd64-stap-wrong-subexp.exp | 3 +-
gdb/testsuite/gdb.arch/amd64-tailcall-cxx.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-noret.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-ret.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-self.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-word.exp | 2 +-
gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp | 2 +-
gdb/testsuite/gdb.arch/arm-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/arm-neon.exp | 2 +-
.../gdb.arch/arm-single-step-kernel-helper.exp | 2 +-
gdb/testsuite/gdb.arch/avr-flash-qualifier.exp | 2 +-
gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp | 3 +-
gdb/testsuite/gdb.arch/e500-abi.exp | 2 +-
gdb/testsuite/gdb.arch/e500-regs.exp | 2 +-
gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp | 3 +-
gdb/testsuite/gdb.arch/i386-avx512.exp | 2 +-
gdb/testsuite/gdb.arch/i386-bp_permanent.exp | 2 +-
gdb/testsuite/gdb.arch/i386-byte.exp | 2 +-
gdb/testsuite/gdb.arch/i386-cfi-notcurrent.exp | 2 +-
gdb/testsuite/gdb.arch/i386-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/i386-dr3-watch.exp | 3 +-
gdb/testsuite/gdb.arch/i386-float.exp | 2 +-
gdb/testsuite/gdb.arch/i386-gnu-cfi.exp | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-map.exp | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp | 2 +-
gdb/testsuite/gdb.arch/i386-mpx.exp | 2 +-
gdb/testsuite/gdb.arch/i386-permbkpt.exp | 2 +-
gdb/testsuite/gdb.arch/i386-prologue.exp | 2 +-
gdb/testsuite/gdb.arch/i386-signal.exp | 2 +-
gdb/testsuite/gdb.arch/i386-size-overlap.exp | 2 +-
gdb/testsuite/gdb.arch/i386-unwind.exp | 2 +-
gdb/testsuite/gdb.arch/i386-word.exp | 2 +-
gdb/testsuite/gdb.arch/mips-fcr.exp | 2 +-
gdb/testsuite/gdb.arch/powerpc-d128-regs.exp | 2 +-
gdb/testsuite/gdb.arch/powerpc-stackless.exp | 3 +-
gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp | 2 +-
gdb/testsuite/gdb.arch/s390-stackless.exp | 2 +-
gdb/testsuite/gdb.arch/s390-tdbregs.exp | 2 +-
gdb/testsuite/gdb.arch/s390-vregs.exp | 2 +-
gdb/testsuite/gdb.arch/sparc-sysstep.exp | 2 +-
gdb/testsuite/gdb.arch/thumb-bx-pc.exp | 3 +-
gdb/testsuite/gdb.arch/thumb-singlestep.exp | 5 +-
gdb/testsuite/gdb.arch/thumb2-it.exp | 6 +-
gdb/testsuite/gdb.arch/vsx-regs.exp | 2 +-
gdb/testsuite/gdb.asm/asm-source.exp | 10 +-
gdb/testsuite/gdb.base/a2-run.exp | 2 +-
gdb/testsuite/gdb.base/advance.exp | 3 +-
gdb/testsuite/gdb.base/all-bin.exp | 3 +-
gdb/testsuite/gdb.base/anon.exp | 2 +-
gdb/testsuite/gdb.base/args.exp | 2 +-
gdb/testsuite/gdb.base/arithmet.exp | 3 +-
gdb/testsuite/gdb.base/async-shell.exp | 2 +-
gdb/testsuite/gdb.base/async.exp | 3 +-
gdb/testsuite/gdb.base/attach-pie-noexec.exp | 6 +-
gdb/testsuite/gdb.base/attach-twice.exp | 2 +-
gdb/testsuite/gdb.base/auto-load.exp | 2 +-
gdb/testsuite/gdb.base/bang.exp | 3 +-
gdb/testsuite/gdb.base/bitfields.exp | 3 +-
gdb/testsuite/gdb.base/break-always.exp | 2 +-
gdb/testsuite/gdb.base/break-caller-line.exp | 2 +-
gdb/testsuite/gdb.base/break-entry.exp | 6 +-
gdb/testsuite/gdb.base/break-inline.exp | 2 +-
.../gdb.base/break-on-linker-gcd-function.exp | 2 +-
gdb/testsuite/gdb.base/break-probes.exp | 2 +-
gdb/testsuite/gdb.base/break.exp | 4 +-
gdb/testsuite/gdb.base/breakpoint-shadow.exp | 3 +-
gdb/testsuite/gdb.base/call-ar-st.exp | 3 +-
gdb/testsuite/gdb.base/call-sc.exp | 2 +-
gdb/testsuite/gdb.base/call-signal-resume.exp | 2 +-
gdb/testsuite/gdb.base/call-strs.exp | 3 +-
gdb/testsuite/gdb.base/callfuncs.exp | 4 +-
gdb/testsuite/gdb.base/catch-fork-static.exp | 2 +-
.../gdb.base/catch-gdb-caused-signals.exp | 2 +-
gdb/testsuite/gdb.base/catch-load.exp | 8 +-
gdb/testsuite/gdb.base/catch-signal-fork.exp | 2 +-
gdb/testsuite/gdb.base/catch-signal.exp | 2 +-
gdb/testsuite/gdb.base/catch-syscall.exp | 3 +-
gdb/testsuite/gdb.base/charset.exp | 2 +-
gdb/testsuite/gdb.base/checkpoint.exp | 3 +-
gdb/testsuite/gdb.base/chng-syms.exp | 2 +-
gdb/testsuite/gdb.base/code-expr.exp | 2 +-
gdb/testsuite/gdb.base/code_elim.exp | 4 +-
gdb/testsuite/gdb.base/commands.exp | 2 +-
gdb/testsuite/gdb.base/completion.exp | 3 +-
gdb/testsuite/gdb.base/complex.exp | 3 +-
gdb/testsuite/gdb.base/cond-expr.exp | 2 +-
gdb/testsuite/gdb.base/condbreak.exp | 2 +-
gdb/testsuite/gdb.base/consecutive.exp | 3 +-
.../gdb.base/continue-all-already-running.exp | 2 +-
gdb/testsuite/gdb.base/coredump-filter.exp | 1 -
gdb/testsuite/gdb.base/corefile.exp | 2 +-
gdb/testsuite/gdb.base/dbx.exp | 2 +-
gdb/testsuite/gdb.base/debug-expr.exp | 2 +-
gdb/testsuite/gdb.base/define.exp | 2 +-
gdb/testsuite/gdb.base/del.exp | 3 +-
gdb/testsuite/gdb.base/disabled-location.exp | 2 +-
gdb/testsuite/gdb.base/disasm-end-cu.exp | 2 +-
gdb/testsuite/gdb.base/disasm-optim.exp | 2 +-
gdb/testsuite/gdb.base/display.exp | 3 +-
gdb/testsuite/gdb.base/duplicate-bp.exp | 2 +-
gdb/testsuite/gdb.base/ena-dis-br.exp | 2 +-
gdb/testsuite/gdb.base/ending-run.exp | 2 +-
gdb/testsuite/gdb.base/enumval.exp | 3 +-
gdb/testsuite/gdb.base/environ.exp | 3 +-
gdb/testsuite/gdb.base/eu-strip-infcall.exp | 2 +-
gdb/testsuite/gdb.base/eval-avoid-side-effects.exp | 2 +-
gdb/testsuite/gdb.base/eval-skip.exp | 2 +-
gdb/testsuite/gdb.base/exitsignal.exp | 4 +-
gdb/testsuite/gdb.base/expand-psymtabs.exp | 2 +-
gdb/testsuite/gdb.base/filesym.exp | 2 +-
gdb/testsuite/gdb.base/find-unmapped.exp | 2 +-
gdb/testsuite/gdb.base/finish.exp | 2 +-
gdb/testsuite/gdb.base/float.exp | 2 +-
gdb/testsuite/gdb.base/foll-exec-mode.exp | 4 +-
gdb/testsuite/gdb.base/foll-exec.exp | 4 +-
gdb/testsuite/gdb.base/foll-fork.exp | 3 +-
gdb/testsuite/gdb.base/fortran-sym-case.exp | 2 +-
gdb/testsuite/gdb.base/freebpcmd.exp | 3 +-
gdb/testsuite/gdb.base/func-ptr.exp | 2 +-
gdb/testsuite/gdb.base/func-ptrs.exp | 4 +-
gdb/testsuite/gdb.base/funcargs.exp | 3 +-
gdb/testsuite/gdb.base/gcore-buffer-overflow.exp | 4 +-
gdb/testsuite/gdb.base/gcore-relro-pie.exp | 2 +-
gdb/testsuite/gdb.base/gcore-relro.exp | 2 +-
gdb/testsuite/gdb.base/gcore.exp | 3 +-
gdb/testsuite/gdb.base/gdb1090.exp | 3 +-
gdb/testsuite/gdb.base/gdb11530.exp | 2 +-
gdb/testsuite/gdb.base/gdb11531.exp | 2 +-
gdb/testsuite/gdb.base/gdb1821.exp | 3 +-
gdb/testsuite/gdb.base/gdbindex-stabs.exp | 2 +-
gdb/testsuite/gdb.base/gdbvars.exp | 3 +-
gdb/testsuite/gdb.base/hbreak.exp | 2 +-
gdb/testsuite/gdb.base/hbreak2.exp | 4 +-
gdb/testsuite/gdb.base/included.exp | 3 +-
gdb/testsuite/gdb.base/infcall-input.exp | 3 +-
gdb/testsuite/gdb.base/inferior-died.exp | 2 +-
gdb/testsuite/gdb.base/infnan.exp | 3 +-
gdb/testsuite/gdb.base/info-macros.exp | 9 +-
gdb/testsuite/gdb.base/info-os.exp | 2 +-
gdb/testsuite/gdb.base/info-proc.exp | 5 +-
gdb/testsuite/gdb.base/info-shared.exp | 2 +-
gdb/testsuite/gdb.base/info-target.exp | 2 +-
gdb/testsuite/gdb.base/infoline.exp | 2 +-
gdb/testsuite/gdb.base/interp.exp | 2 +-
gdb/testsuite/gdb.base/interrupt.exp | 2 +-
gdb/testsuite/gdb.base/jit-reader.exp | 4 +-
gdb/testsuite/gdb.base/jit-simple.exp | 4 +-
gdb/testsuite/gdb.base/kill-after-signal.exp | 4 +-
.../gdb.base/kill-detach-inferiors-cmd.exp | 2 +-
gdb/testsuite/gdb.base/label.exp | 3 +-
gdb/testsuite/gdb.base/langs.exp | 2 +-
gdb/testsuite/gdb.base/ldbl_e308.exp | 4 +-
gdb/testsuite/gdb.base/line-symtabs.exp | 2 +-
gdb/testsuite/gdb.base/linespecs.exp | 2 +-
gdb/testsuite/gdb.base/list.exp | 2 +-
gdb/testsuite/gdb.base/long_long.exp | 2 +-
gdb/testsuite/gdb.base/longest-types.exp | 2 +-
gdb/testsuite/gdb.base/maint.exp | 139 +-
gdb/testsuite/gdb.base/max-value-size.exp | 3 +-
gdb/testsuite/gdb.base/memattr.exp | 2 +-
gdb/testsuite/gdb.base/mips_pro.exp | 3 +-
gdb/testsuite/gdb.base/morestack.exp | 4 +-
gdb/testsuite/gdb.base/moribund-step.exp | 2 +-
gdb/testsuite/gdb.base/multi-forks.exp | 2 +-
gdb/testsuite/gdb.base/nested-addr.exp | 2 +-
gdb/testsuite/gdb.base/nextoverexit.exp | 2 +-
gdb/testsuite/gdb.base/noreturn-finish.exp | 2 +-
gdb/testsuite/gdb.base/noreturn-return.exp | 2 +-
gdb/testsuite/gdb.base/nostdlib.exp | 4 +-
gdb/testsuite/gdb.base/offsets.exp | 1 -
gdb/testsuite/gdb.base/opaque.exp | 3 +-
gdb/testsuite/gdb.base/pc-fp.exp | 3 +-
gdb/testsuite/gdb.base/permissions.exp | 2 +-
gdb/testsuite/gdb.base/print-symbol-loading.exp | 4 +-
gdb/testsuite/gdb.base/prologue-include.exp | 2 +-
gdb/testsuite/gdb.base/psymtab.exp | 3 +-
gdb/testsuite/gdb.base/ptype.exp | 2 +-
gdb/testsuite/gdb.base/random-signal.exp | 2 +-
gdb/testsuite/gdb.base/randomize.exp | 3 +-
gdb/testsuite/gdb.base/range-stepping.exp | 2 +-
gdb/testsuite/gdb.base/readline-ask.exp | 2 +-
gdb/testsuite/gdb.base/recpar.exp | 4 +-
gdb/testsuite/gdb.base/recurse.exp | 3 +-
gdb/testsuite/gdb.base/relational.exp | 2 +-
gdb/testsuite/gdb.base/restore.exp | 2 +-
gdb/testsuite/gdb.base/return-nodebug.exp | 2 +-
gdb/testsuite/gdb.base/return.exp | 2 +-
gdb/testsuite/gdb.base/run-after-attach.exp | 2 +-
gdb/testsuite/gdb.base/save-bp.exp | 4 +-
gdb/testsuite/gdb.base/scope.exp | 2 +-
gdb/testsuite/gdb.base/sect-cmd.exp | 6 +-
gdb/testsuite/gdb.base/set-lang-auto.exp | 3 +-
gdb/testsuite/gdb.base/set-noassign.exp | 2 +-
gdb/testsuite/gdb.base/setvar.exp | 3 +-
gdb/testsuite/gdb.base/sigall.exp | 3 +-
gdb/testsuite/gdb.base/sigbpt.exp | 3 +-
gdb/testsuite/gdb.base/siginfo-addr.exp | 3 +-
gdb/testsuite/gdb.base/siginfo-infcall.exp | 2 +-
gdb/testsuite/gdb.base/siginfo-obj.exp | 3 +-
gdb/testsuite/gdb.base/siginfo.exp | 3 +-
gdb/testsuite/gdb.base/signals-state-child.exp | 6 +-
gdb/testsuite/gdb.base/signest.exp | 5 +-
gdb/testsuite/gdb.base/sigstep.exp | 2 +-
gdb/testsuite/gdb.base/sizeof.exp | 3 +-
gdb/testsuite/gdb.base/skip.exp | 2 +-
gdb/testsuite/gdb.base/solib-corrupted.exp | 3 +-
gdb/testsuite/gdb.base/solib-nodir.exp | 2 +-
gdb/testsuite/gdb.base/solib-search.exp | 4 +-
gdb/testsuite/gdb.base/stack-checking.exp | 2 +-
gdb/testsuite/gdb.base/stale-infcall.exp | 2 +-
gdb/testsuite/gdb.base/stap-probe.exp | 6 +-
gdb/testsuite/gdb.base/start.exp | 3 +-
gdb/testsuite/gdb.base/step-break.exp | 3 +-
gdb/testsuite/gdb.base/step-bt.exp | 3 +-
gdb/testsuite/gdb.base/step-line.exp | 3 +-
gdb/testsuite/gdb.base/step-over-exit.exp | 3 +-
gdb/testsuite/gdb.base/step-over-syscall.exp | 2 +-
gdb/testsuite/gdb.base/step-resume-infcall.exp | 2 +-
gdb/testsuite/gdb.base/step-test.exp | 2 +-
gdb/testsuite/gdb.base/store.exp | 2 +-
gdb/testsuite/gdb.base/structs3.exp | 2 +-
gdb/testsuite/gdb.base/sym-file.exp | 4 +-
.../gdb.base/symbol-without-target_section.exp | 2 +-
gdb/testsuite/gdb.base/term.exp | 2 +-
gdb/testsuite/gdb.base/testenv.exp | 2 +-
gdb/testsuite/gdb.base/ui-redirect.exp | 2 +-
gdb/testsuite/gdb.base/until.exp | 2 +-
gdb/testsuite/gdb.base/unwindonsignal.exp | 3 +-
gdb/testsuite/gdb.base/value-double-free.exp | 3 +-
gdb/testsuite/gdb.base/vla-datatypes.exp | 2 +-
gdb/testsuite/gdb.base/vla-ptr.exp | 2 +-
gdb/testsuite/gdb.base/vla-sideeffect.exp | 2 +-
gdb/testsuite/gdb.base/volatile.exp | 2 +-
gdb/testsuite/gdb.base/watch-cond-infcall.exp | 2 +-
gdb/testsuite/gdb.base/watch-cond.exp | 3 +-
gdb/testsuite/gdb.base/watch-non-mem.exp | 3 +-
gdb/testsuite/gdb.base/watch-read.exp | 3 +-
gdb/testsuite/gdb.base/watch-vfork.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint-cond-gone.exp | 3 +-
gdb/testsuite/gdb.base/watchpoint-delete.exp | 3 +-
gdb/testsuite/gdb.base/watchpoint-hw-hit-once.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint-hw.exp | 3 +-
.../gdb.base/watchpoint-stops-at-right-insn.exp | 3 +-
gdb/testsuite/gdb.base/watchpoints.exp | 3 +-
gdb/testsuite/gdb.base/wchar.exp | 2 +-
gdb/testsuite/gdb.base/whatis-exp.exp | 2 +-
gdb/testsuite/gdb.btrace/buffer-size.exp | 2 +-
gdb/testsuite/gdb.btrace/data.exp | 2 +-
gdb/testsuite/gdb.btrace/delta.exp | 2 +-
gdb/testsuite/gdb.btrace/dlopen.exp | 2 +-
gdb/testsuite/gdb.btrace/enable.exp | 2 +-
gdb/testsuite/gdb.btrace/exception.exp | 2 +-
gdb/testsuite/gdb.btrace/function_call_history.exp | 2 +-
gdb/testsuite/gdb.btrace/gcore.exp | 2 +-
gdb/testsuite/gdb.btrace/instruction_history.exp | 2 +-
gdb/testsuite/gdb.btrace/nohist.exp | 2 +-
gdb/testsuite/gdb.btrace/reconnect.exp | 2 +-
gdb/testsuite/gdb.btrace/record_goto-step.exp | 2 +-
gdb/testsuite/gdb.btrace/record_goto.exp | 2 +-
gdb/testsuite/gdb.btrace/rn-dl-bind.exp | 2 +-
gdb/testsuite/gdb.btrace/segv.exp | 2 +-
gdb/testsuite/gdb.btrace/step.exp | 2 +-
gdb/testsuite/gdb.btrace/stepi.exp | 2 +-
gdb/testsuite/gdb.btrace/tailcall-only.exp | 2 +-
gdb/testsuite/gdb.btrace/tailcall.exp | 2 +-
gdb/testsuite/gdb.btrace/tsx.exp | 2 +-
gdb/testsuite/gdb.btrace/unknown_functions.exp | 2 +-
gdb/testsuite/gdb.btrace/vdso.exp | 2 +-
gdb/testsuite/gdb.compile/compile-ifunc.exp | 4 +-
gdb/testsuite/gdb.compile/compile-ops.exp | 2 +-
gdb/testsuite/gdb.compile/compile-print.exp | 2 +-
gdb/testsuite/gdb.compile/compile-setjmp.exp | 2 +-
gdb/testsuite/gdb.cp/abstract-origin.exp | 2 +-
gdb/testsuite/gdb.cp/ambiguous.exp | 2 +-
gdb/testsuite/gdb.cp/annota2.exp | 2 +-
gdb/testsuite/gdb.cp/annota3.exp | 2 +-
gdb/testsuite/gdb.cp/anon-ns.exp | 2 +-
gdb/testsuite/gdb.cp/anon-struct.exp | 2 +-
gdb/testsuite/gdb.cp/anon-union.exp | 2 +-
gdb/testsuite/gdb.cp/arg-reference.exp | 2 +-
gdb/testsuite/gdb.cp/baseenum.exp | 2 +-
gdb/testsuite/gdb.cp/bool.exp | 2 +-
gdb/testsuite/gdb.cp/breakpoint.exp | 2 +-
gdb/testsuite/gdb.cp/bs15503.exp | 2 +-
gdb/testsuite/gdb.cp/call-c.exp | 2 +-
gdb/testsuite/gdb.cp/casts.exp | 4 +-
gdb/testsuite/gdb.cp/chained-calls.exp | 2 +-
gdb/testsuite/gdb.cp/class2.exp | 2 +-
gdb/testsuite/gdb.cp/classes.exp | 2 +-
gdb/testsuite/gdb.cp/cmpd-minsyms.exp | 2 +-
gdb/testsuite/gdb.cp/converts.exp | 2 +-
gdb/testsuite/gdb.cp/cp-relocate.exp | 2 +-
gdb/testsuite/gdb.cp/cpcompletion.exp | 2 +-
gdb/testsuite/gdb.cp/cpexprs.exp | 2 +-
gdb/testsuite/gdb.cp/cplabel.exp | 2 +-
gdb/testsuite/gdb.cp/cplusfuncs.exp | 2 +-
gdb/testsuite/gdb.cp/cpsizeof.exp | 2 +-
gdb/testsuite/gdb.cp/ctti.exp | 2 +-
gdb/testsuite/gdb.cp/derivation.exp | 2 +-
gdb/testsuite/gdb.cp/destrprint.exp | 2 +-
gdb/testsuite/gdb.cp/dispcxx.exp | 2 +-
gdb/testsuite/gdb.cp/enum-class.exp | 2 +-
gdb/testsuite/gdb.cp/exception.exp | 2 +-
gdb/testsuite/gdb.cp/exceptprint.exp | 2 +-
gdb/testsuite/gdb.cp/expand-psymtabs-cxx.exp | 2 +-
gdb/testsuite/gdb.cp/expand-sals.exp | 2 +-
gdb/testsuite/gdb.cp/extern-c.exp | 2 +-
gdb/testsuite/gdb.cp/filename.exp | 2 +-
gdb/testsuite/gdb.cp/formatted-ref.exp | 2 +-
gdb/testsuite/gdb.cp/fpointer.exp | 2 +-
gdb/testsuite/gdb.cp/gdb1355.exp | 2 +-
gdb/testsuite/gdb.cp/gdb2495.exp | 2 +-
gdb/testsuite/gdb.cp/hang.exp | 2 +-
gdb/testsuite/gdb.cp/impl-this.exp | 2 +-
gdb/testsuite/gdb.cp/infcall-dlopen.exp | 2 +-
gdb/testsuite/gdb.cp/inherit.exp | 2 +-
gdb/testsuite/gdb.cp/iostream.exp | 2 +-
gdb/testsuite/gdb.cp/koenig.exp | 2 +-
gdb/testsuite/gdb.cp/local.exp | 2 +-
gdb/testsuite/gdb.cp/m-data.exp | 2 +-
gdb/testsuite/gdb.cp/m-static.exp | 2 +-
gdb/testsuite/gdb.cp/mb-ctor.exp | 2 +-
gdb/testsuite/gdb.cp/mb-inline.exp | 2 +-
gdb/testsuite/gdb.cp/mb-templates.exp | 2 +-
gdb/testsuite/gdb.cp/member-name.exp | 2 +-
gdb/testsuite/gdb.cp/member-ptr.exp | 2 +-
gdb/testsuite/gdb.cp/meth-typedefs.exp | 2 +-
gdb/testsuite/gdb.cp/method.exp | 2 +-
gdb/testsuite/gdb.cp/method2.exp | 3 +-
gdb/testsuite/gdb.cp/minsym-fallback.exp | 2 +-
gdb/testsuite/gdb.cp/misc.exp | 2 +-
gdb/testsuite/gdb.cp/namelessclass.exp | 2 +-
gdb/testsuite/gdb.cp/namespace-enum.exp | 2 +-
gdb/testsuite/gdb.cp/namespace-nested-import.exp | 2 +-
gdb/testsuite/gdb.cp/namespace.exp | 2 +-
gdb/testsuite/gdb.cp/nextoverthrow.exp | 2 +-
gdb/testsuite/gdb.cp/no-dmgl-verbose.exp | 2 +-
gdb/testsuite/gdb.cp/non-trivial-retval.exp | 2 +-
gdb/testsuite/gdb.cp/noparam.exp | 2 +-
gdb/testsuite/gdb.cp/nsdecl.exp | 2 +-
gdb/testsuite/gdb.cp/nsimport.exp | 2 +-
gdb/testsuite/gdb.cp/nsnested.exp | 2 +-
gdb/testsuite/gdb.cp/nsnoimports.exp | 2 +-
gdb/testsuite/gdb.cp/nsrecurs.exp | 2 +-
gdb/testsuite/gdb.cp/nsstress.exp | 2 +-
gdb/testsuite/gdb.cp/nsusing.exp | 2 +-
gdb/testsuite/gdb.cp/operator.exp | 2 +-
gdb/testsuite/gdb.cp/oranking.exp | 2 +-
gdb/testsuite/gdb.cp/overload-const.exp | 2 +-
gdb/testsuite/gdb.cp/overload.exp | 2 +-
gdb/testsuite/gdb.cp/ovldbreak.exp | 2 +-
gdb/testsuite/gdb.cp/ovsrch.exp | 2 +-
gdb/testsuite/gdb.cp/paren-type.exp | 2 +-
gdb/testsuite/gdb.cp/parse-lang.exp | 2 +-
gdb/testsuite/gdb.cp/pass-by-ref.exp | 2 +-
gdb/testsuite/gdb.cp/pr-1023.exp | 2 +-
gdb/testsuite/gdb.cp/pr-1210.exp | 2 +-
gdb/testsuite/gdb.cp/pr-574.exp | 2 +-
gdb/testsuite/gdb.cp/pr10687.exp | 2 +-
gdb/testsuite/gdb.cp/pr12028.exp | 2 +-
gdb/testsuite/gdb.cp/pr17132.exp | 2 +-
gdb/testsuite/gdb.cp/pr17494.exp | 2 +-
gdb/testsuite/gdb.cp/pr9067.exp | 2 +-
gdb/testsuite/gdb.cp/pr9167.exp | 2 +-
gdb/testsuite/gdb.cp/pr9631.exp | 2 +-
gdb/testsuite/gdb.cp/printmethod.exp | 2 +-
gdb/testsuite/gdb.cp/psmang.exp | 2 +-
gdb/testsuite/gdb.cp/psymtab-parameter.exp | 2 +-
gdb/testsuite/gdb.cp/ptype-cv-cp.exp | 2 +-
gdb/testsuite/gdb.cp/ptype-flags.exp | 2 +-
gdb/testsuite/gdb.cp/re-set-overloaded.exp | 2 +-
gdb/testsuite/gdb.cp/ref-types.exp | 2 +-
gdb/testsuite/gdb.cp/rtti.exp | 2 +-
gdb/testsuite/gdb.cp/scope-err.exp | 2 +-
gdb/testsuite/gdb.cp/shadow.exp | 2 +-
gdb/testsuite/gdb.cp/smartp.exp | 2 +-
gdb/testsuite/gdb.cp/static-method.exp | 2 +-
gdb/testsuite/gdb.cp/static-print-quit.exp | 4 +-
gdb/testsuite/gdb.cp/temargs.exp | 2 +-
gdb/testsuite/gdb.cp/templates.exp | 2 +-
gdb/testsuite/gdb.cp/try_catch.exp | 2 +-
gdb/testsuite/gdb.cp/typedef-operator.exp | 2 +-
gdb/testsuite/gdb.cp/typeid.exp | 2 +-
gdb/testsuite/gdb.cp/userdef.exp | 2 +-
gdb/testsuite/gdb.cp/using-crash.exp | 2 +-
gdb/testsuite/gdb.cp/var-tag.exp | 2 +-
gdb/testsuite/gdb.cp/virtbase.exp | 2 +-
gdb/testsuite/gdb.cp/virtfunc.exp | 2 +-
gdb/testsuite/gdb.cp/virtfunc2.exp | 2 +-
gdb/testsuite/gdb.cp/vla-cxx.exp | 2 +-
gdb/testsuite/gdb.disasm/t01_mov.exp | 4 +-
gdb/testsuite/gdb.disasm/t02_mova.exp | 4 +-
gdb/testsuite/gdb.disasm/t03_add.exp | 4 +-
gdb/testsuite/gdb.disasm/t04_sub.exp | 4 +-
gdb/testsuite/gdb.disasm/t05_cmp.exp | 4 +-
gdb/testsuite/gdb.disasm/t06_ari2.exp | 4 +-
gdb/testsuite/gdb.disasm/t07_ari3.exp | 4 +-
gdb/testsuite/gdb.disasm/t08_or.exp | 4 +-
gdb/testsuite/gdb.disasm/t09_xor.exp | 4 +-
gdb/testsuite/gdb.disasm/t10_and.exp | 4 +-
gdb/testsuite/gdb.disasm/t11_logs.exp | 4 +-
gdb/testsuite/gdb.disasm/t12_bit.exp | 4 +-
gdb/testsuite/gdb.disasm/t13_otr.exp | 4 +-
gdb/testsuite/gdb.dlang/circular.exp | 2 +-
gdb/testsuite/gdb.dwarf2/arr-stride.exp | 2 +-
gdb/testsuite/gdb.dwarf2/arr-subrange.exp | 2 +-
gdb/testsuite/gdb.dwarf2/atomic-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/bad-regnum.exp | 2 +-
.../gdb.dwarf2/bitfield-parent-optimized-out.exp | 2 +-
gdb/testsuite/gdb.dwarf2/callframecfa.exp | 2 +-
gdb/testsuite/gdb.dwarf2/clztest.exp | 2 +-
gdb/testsuite/gdb.dwarf2/corrupt.exp | 2 +-
gdb/testsuite/gdb.dwarf2/data-loc.exp | 5 +-
gdb/testsuite/gdb.dwarf2/dup-psym.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp | 2 +-
.../gdb.dwarf2/dw2-bad-mips-linkage-name.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-bad-unresolved.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-basic.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-canonicalize-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-common-block.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-compressed.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-const.exp | 2 +-
.../gdb.dwarf2/dw2-cp-infcall-ref-static.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-cu-size.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dup-frame.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-entry-value.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-icycle.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inline-break.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-intercu.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-intermix.exp | 2 +-
.../gdb.dwarf2/dw2-lexical-block-bare.exp | 2 +-
.../gdb.dwarf2/dw2-linkage-name-trust.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-noloc.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-call.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-out-param.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-opt-structptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-param-error.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-producer.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ranges-base.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-regno-invalid.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-restore.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-restrict.exp | 2 +-
.../gdb.dwarf2/dw2-single-line-discriminators.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-strp.exp | 2 +-
.../gdb.dwarf2/dw2-undefined-ret-addr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-unresolved.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dwz.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp | 5 +-
gdb/testsuite/gdb.dwarf2/enum-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/gdb-index.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implptr-64bit.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implref-array.exp | 5 +-
gdb/testsuite/gdb.dwarf2/implref-const.exp | 5 +-
gdb/testsuite/gdb.dwarf2/implref-global.exp | 5 +-
gdb/testsuite/gdb.dwarf2/implref-struct.exp | 5 +-
gdb/testsuite/gdb.dwarf2/mac-fileno.exp | 2 +-
gdb/testsuite/gdb.dwarf2/main-subprogram.exp | 2 +-
gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp | 2 +-
gdb/testsuite/gdb.dwarf2/method-ptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/missing-sig-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/nonvar-access.exp | 2 +-
gdb/testsuite/gdb.dwarf2/opaque-type-lookup.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pieces.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pr10770.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pr13961.exp | 2 +-
gdb/testsuite/gdb.dwarf2/staticvirtual.exp | 2 +-
gdb/testsuite/gdb.dwarf2/subrange.exp | 2 +-
gdb/testsuite/gdb.dwarf2/symtab-producer.exp | 2 +-
gdb/testsuite/gdb.dwarf2/trace-crash.exp | 2 +-
gdb/testsuite/gdb.dwarf2/typeddwarf.exp | 2 +-
gdb/testsuite/gdb.dwarf2/valop.exp | 2 +-
gdb/testsuite/gdb.dwarf2/watch-notconst.exp | 2 +-
gdb/testsuite/gdb.fortran/array-element.exp | 2 +-
gdb/testsuite/gdb.fortran/charset.exp | 2 +-
gdb/testsuite/gdb.fortran/common-block.exp | 2 +-
gdb/testsuite/gdb.fortran/complex.exp | 3 +-
.../gdb.fortran/derived-type-function.exp | 2 +-
gdb/testsuite/gdb.fortran/derived-type.exp | 2 +-
gdb/testsuite/gdb.fortran/logical.exp | 2 +-
gdb/testsuite/gdb.fortran/module.exp | 2 +-
gdb/testsuite/gdb.fortran/multi-dim.exp | 2 +-
gdb/testsuite/gdb.fortran/nested-funcs.exp | 2 +-
gdb/testsuite/gdb.fortran/print-formatted.exp | 2 +-
gdb/testsuite/gdb.fortran/subarray.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-alloc-assoc.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-datatypes.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-history.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-ptr-info.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-ptype-sub.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-ptype.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-sizeof.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-type.exp | 2 +-
.../gdb.fortran/vla-value-sub-arbitrary.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-value-sub.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-value.exp | 2 +-
gdb/testsuite/gdb.fortran/whatis_type.exp | 2 +-
gdb/testsuite/gdb.gdb/selftest.exp | 293 -
gdb/testsuite/gdb.go/chan.exp | 4 +-
gdb/testsuite/gdb.go/handcall.exp | 4 +-
gdb/testsuite/gdb.go/hello.exp | 4 +-
gdb/testsuite/gdb.go/integers.exp | 4 +-
gdb/testsuite/gdb.go/methods.exp | 4 +-
gdb/testsuite/gdb.go/package.exp | 4 +-
gdb/testsuite/gdb.go/strings.exp | 4 +-
gdb/testsuite/gdb.go/types.exp | 4 +-
gdb/testsuite/gdb.go/unsafe.exp | 4 +-
gdb/testsuite/gdb.guile/scm-arch.exp | 2 +-
gdb/testsuite/gdb.guile/scm-block.exp | 2 +-
gdb/testsuite/gdb.guile/scm-breakpoint.exp | 2 +-
gdb/testsuite/gdb.guile/scm-cmd.exp | 2 +-
gdb/testsuite/gdb.guile/scm-disasm.exp | 2 +-
gdb/testsuite/gdb.guile/scm-equal.exp | 2 +-
gdb/testsuite/gdb.guile/scm-frame-args.exp | 2 +-
gdb/testsuite/gdb.guile/scm-frame-inline.exp | 2 +-
gdb/testsuite/gdb.guile/scm-frame.exp | 2 +-
gdb/testsuite/gdb.guile/scm-iterator.exp | 2 +-
gdb/testsuite/gdb.guile/scm-math.exp | 2 +-
gdb/testsuite/gdb.guile/scm-objfile.exp | 2 +-
gdb/testsuite/gdb.guile/scm-ports.exp | 2 +-
gdb/testsuite/gdb.guile/scm-symbol.exp | 2 +-
gdb/testsuite/gdb.guile/scm-symtab.exp | 2 +-
gdb/testsuite/gdb.guile/scm-value-cc.exp | 2 +-
gdb/testsuite/gdb.guile/types-module.exp | 2 +-
gdb/testsuite/gdb.linespec/break-ask.exp | 2 +-
gdb/testsuite/gdb.linespec/cpexplicit.exp | 2 +-
gdb/testsuite/gdb.linespec/explicit.exp | 2 +-
gdb/testsuite/gdb.linespec/keywords.exp | 2 +-
gdb/testsuite/gdb.linespec/linespec.exp | 2 +-
gdb/testsuite/gdb.linespec/ls-dollar.exp | 2 +-
gdb/testsuite/gdb.linespec/ls-errs.exp | 2 +-
gdb/testsuite/gdb.linespec/skip-two.exp | 4 +-
gdb/testsuite/gdb.linespec/thread.exp | 2 +-
gdb/testsuite/gdb.mi/mi-async.exp | 2 +-
gdb/testsuite/gdb.mi/mi-basics.exp | 2 +-
gdb/testsuite/gdb.mi/mi-break.exp | 2 +-
gdb/testsuite/gdb.mi/mi-catch-load.exp | 6 +-
gdb/testsuite/gdb.mi/mi-cli.exp | 2 +-
gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp | 2 +-
gdb/testsuite/gdb.mi/mi-console.exp | 2 +-
gdb/testsuite/gdb.mi/mi-detach.exp | 2 +-
gdb/testsuite/gdb.mi/mi-disassemble.exp | 2 +-
gdb/testsuite/gdb.mi/mi-eval.exp | 2 +-
gdb/testsuite/gdb.mi/mi-file-transfer.exp | 2 +-
gdb/testsuite/gdb.mi/mi-file.exp | 2 +-
gdb/testsuite/gdb.mi/mi-fill-memory.exp | 2 +-
.../gdb.mi/mi-inheritance-syntax-error.exp | 2 +-
gdb/testsuite/gdb.mi/mi-linespec-err-cp.exp | 2 +-
gdb/testsuite/gdb.mi/mi-logging.exp | 2 +-
gdb/testsuite/gdb.mi/mi-memory-changed.exp | 2 +-
gdb/testsuite/gdb.mi/mi-read-memory.exp | 2 +-
gdb/testsuite/gdb.mi/mi-record-changed.exp | 2 +-
gdb/testsuite/gdb.mi/mi-reg-undefined.exp | 2 +-
gdb/testsuite/gdb.mi/mi-regs.exp | 2 +-
gdb/testsuite/gdb.mi/mi-return.exp | 2 +-
gdb/testsuite/gdb.mi/mi-reverse.exp | 2 +-
gdb/testsuite/gdb.mi/mi-simplerun.exp | 2 +-
gdb/testsuite/gdb.mi/mi-solib.exp | 2 +-
gdb/testsuite/gdb.mi/mi-stack.exp | 2 +-
gdb/testsuite/gdb.mi/mi-stepi.exp | 2 +-
gdb/testsuite/gdb.mi/mi-syn-frame.exp | 2 +-
gdb/testsuite/gdb.mi/mi-until.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-block.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-child.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-cmd.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-cp.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-display.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-invalidate.exp | 6 +-
.../mi-var-list-children-invalid-grandchild.exp | 2 +-
gdb/testsuite/gdb.mi/mi-vla-fortran.exp | 2 +-
gdb/testsuite/gdb.mi/mi-watch.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-var-child.exp | 2 +-
.../gdb.mi/user-selected-context-sync.exp | 2 +-
gdb/testsuite/gdb.modula2/unbounded-array.exp | 3 +-
gdb/testsuite/gdb.multi/dummy-frame-restore.exp | 2 +-
gdb/testsuite/gdb.multi/multi-arch-exec.exp | 4 +-
gdb/testsuite/gdb.multi/multi-arch.exp | 4 +-
gdb/testsuite/gdb.multi/tids.exp | 2 +-
gdb/testsuite/gdb.multi/watchpoint-multi.exp | 4 +-
gdb/testsuite/gdb.opencl/callfuncs.exp | 2 +-
gdb/testsuite/gdb.opencl/convs_casts.exp | 2 +-
gdb/testsuite/gdb.opencl/datatypes.exp | 2 +-
gdb/testsuite/gdb.opencl/operators.exp | 2 +-
gdb/testsuite/gdb.opencl/vec_comps.exp | 2 +-
gdb/testsuite/gdb.opt/clobbered-registers-O2.exp | 2 +-
gdb/testsuite/gdb.opt/inline-break.exp | 2 +-
gdb/testsuite/gdb.opt/inline-bt.exp | 4 +-
gdb/testsuite/gdb.opt/inline-cmds.exp | 4 +-
gdb/testsuite/gdb.opt/inline-locals.exp | 2 +-
.../gdb.pascal/case-insensitive-symbols.exp | 2 +-
gdb/testsuite/gdb.pascal/floats.exp | 2 +-
gdb/testsuite/gdb.pascal/gdb11492.exp | 2 +-
gdb/testsuite/gdb.python/lib-types.exp | 2 +-
gdb/testsuite/gdb.python/py-arch.exp | 2 +-
gdb/testsuite/gdb.python/py-as-string.exp | 2 +-
gdb/testsuite/gdb.python/py-bad-printers.exp | 2 +-
gdb/testsuite/gdb.python/py-block.exp | 2 +-
.../gdb.python/py-breakpoint-create-fail.exp | 2 +-
gdb/testsuite/gdb.python/py-breakpoint.exp | 2 +-
gdb/testsuite/gdb.python/py-caller-is.exp | 2 +-
gdb/testsuite/gdb.python/py-cmd.exp | 2 +-
gdb/testsuite/gdb.python/py-explore-cc.exp | 2 +-
gdb/testsuite/gdb.python/py-explore.exp | 2 +-
gdb/testsuite/gdb.python/py-finish-breakpoint.exp | 4 +-
gdb/testsuite/gdb.python/py-finish-breakpoint2.exp | 2 +-
gdb/testsuite/gdb.python/py-frame-args.exp | 2 +-
gdb/testsuite/gdb.python/py-frame-inline.exp | 2 +-
gdb/testsuite/gdb.python/py-frame.exp | 2 +-
gdb/testsuite/gdb.python/py-framefilter-mi.exp | 2 +-
gdb/testsuite/gdb.python/py-infthread.exp | 2 +-
gdb/testsuite/gdb.python/py-lazy-string.exp | 2 +-
gdb/testsuite/gdb.python/py-linetable.exp | 2 +-
gdb/testsuite/gdb.python/py-mi-events.exp | 2 +-
gdb/testsuite/gdb.python/py-mi-objfile.exp | 2 +-
gdb/testsuite/gdb.python/py-mi.exp | 2 +-
gdb/testsuite/gdb.python/py-objfile.exp | 4 +-
gdb/testsuite/gdb.python/py-pp-integral.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-maint.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-re-notag.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-registration.exp | 2 +-
gdb/testsuite/gdb.python/py-recurse-unwind.exp | 2 +-
gdb/testsuite/gdb.python/py-strfns.exp | 2 +-
gdb/testsuite/gdb.python/py-symbol.exp | 2 +-
gdb/testsuite/gdb.python/py-symtab.exp | 2 +-
gdb/testsuite/gdb.python/py-sync-interp.exp | 2 +-
gdb/testsuite/gdb.python/py-typeprint.exp | 2 +-
gdb/testsuite/gdb.python/py-unwind-maint.exp | 2 +-
gdb/testsuite/gdb.python/py-unwind.exp | 2 +-
gdb/testsuite/gdb.python/py-value-cc.exp | 2 +-
gdb/testsuite/gdb.python/py-xmethods.exp | 2 +-
.../gdb.reverse/amd64-tailcall-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/break-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/break-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/consecutive-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/consecutive-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/finish-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp | 2 +-
gdb/testsuite/gdb.reverse/finish-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/fstatat-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/getresuid-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i386-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/i386-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i386-sse-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i387-env-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i387-stack-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/insn-reverse.exp | 3 +-
.../gdb.reverse/machinestate-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/machinestate.exp | 2 +-
.../gdb.reverse/next-reverse-bkpt-over-sr.exp | 2 +-
gdb/testsuite/gdb.reverse/pipe-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/readv-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/recvmsg-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/rerun-prec.exp | 2 +-
gdb/testsuite/gdb.reverse/s390-mvcle.exp | 2 +-
gdb/testsuite/gdb.reverse/step-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/step-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/time-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/until-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/until-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/waitpid-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/watch-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/watch-reverse.exp | 2 +-
gdb/testsuite/gdb.rust/generics.exp | 4 +-
gdb/testsuite/gdb.rust/methods.exp | 4 +-
gdb/testsuite/gdb.rust/modules.exp | 4 +-
gdb/testsuite/gdb.rust/simple.exp | 4 +-
.../gdb.server/connect-with-no-symbol-file.exp | 2 +-
gdb/testsuite/gdb.server/ext-attach.exp | 2 +-
gdb/testsuite/gdb.server/ext-restart.exp | 2 +-
gdb/testsuite/gdb.server/ext-wrapper.exp | 2 +-
gdb/testsuite/gdb.server/file-transfer.exp | 2 +-
gdb/testsuite/gdb.server/server-exec-info.exp | 2 +-
gdb/testsuite/gdb.server/server-kill.exp | 2 +-
gdb/testsuite/gdb.server/server-mon.exp | 2 +-
gdb/testsuite/gdb.server/wrapper.exp | 2 +-
gdb/testsuite/gdb.stabs/exclfwd.exp | 2 +-
gdb/testsuite/gdb.stabs/gdb11479.exp | 4 +-
.../gdb.threads/clone-new-thread-event.exp | 2 +-
gdb/testsuite/gdb.threads/corethreads.exp | 2 +-
gdb/testsuite/gdb.threads/current-lwp-dead.exp | 4 +-
gdb/testsuite/gdb.threads/dlopen-libpthread.exp | 4 +-
gdb/testsuite/gdb.threads/gcore-thread.exp | 2 +-
gdb/testsuite/gdb.threads/sigstep-threads.exp | 2 +-
gdb/testsuite/gdb.threads/watchpoint-fork.exp | 2 +-
gdb/testsuite/gdb.trace/actions-changed.exp | 2 +-
gdb/testsuite/gdb.trace/backtrace.exp | 3 +-
gdb/testsuite/gdb.trace/change-loc.exp | 2 +-
gdb/testsuite/gdb.trace/circ.exp | 2 +-
gdb/testsuite/gdb.trace/collection.exp | 2 +-
gdb/testsuite/gdb.trace/disconnected-tracing.exp | 3 +-
gdb/testsuite/gdb.trace/ftrace.exp | 3 +-
.../gdb.trace/mi-trace-frame-collected.exp | 2 +-
gdb/testsuite/gdb.trace/mi-trace-unavailable.exp | 2 +-
gdb/testsuite/gdb.trace/mi-traceframe-changed.exp | 4 +-
gdb/testsuite/gdb.trace/mi-tsv-changed.exp | 2 +-
gdb/testsuite/gdb.trace/no-attach-trace.exp | 2 +-
gdb/testsuite/gdb.trace/passc-dyn.exp | 14 +-
gdb/testsuite/gdb.trace/qtro.exp | 2 +-
gdb/testsuite/gdb.trace/range-stepping.exp | 2 +-
gdb/testsuite/gdb.trace/read-memory.exp | 3 +-
gdb/testsuite/gdb.trace/save-trace.exp | 2 +-
gdb/testsuite/gdb.trace/signal.exp | 3 +-
gdb/testsuite/gdb.trace/status-stop.exp | 3 +-
gdb/testsuite/gdb.trace/tfile.exp | 2 +-
gdb/testsuite/gdb.trace/trace-break.exp | 3 +-
gdb/testsuite/gdb.trace/trace-buffer-size.exp | 3 +-
gdb/testsuite/gdb.trace/trace-condition.exp | 3 +-
gdb/testsuite/gdb.trace/tracefile-pseudo-reg.exp | 2 +-
gdb/testsuite/gdb.trace/tstatus.exp | 3 +-
gdb/testsuite/gdb.trace/unavailable.exp | 2 +-
gdb/testsuite/gdb.trace/while-dyn.exp | 2 +-
gdb/testsuite/gdb.trace/while-stepping.exp | 2 +-
gdb/thread.c | 100 +-
gdb/top.c | 2 +-
gdb/tracepoint.c | 146 +-
gdb/tui/tui-interp.c | 6 +-
gdb/tui/tui-io.c | 6 +-
gdb/tui/tui-io.h | 3 +-
gdb/tui/tui-out.c | 143 +-
gdb/tui/tui-out.h | 48 +
gdb/tui/tui.h | 2 -
gdb/ui-out.c | 503 +-
gdb/ui-out.h | 268 +-
gdb/utils.c | 4 +-
gold/ChangeLog | 130 +
gold/NEWS | 18 +
gold/arm.cc | 59 +-
gold/layout.cc | 101 +-
gold/layout.h | 5 +-
gold/options.h | 3 +
gold/output.cc | 2 +-
gold/output.h | 1 +
gold/script-sections.cc | 17 +-
gold/script-sections.h | 5 +-
gold/script.cc | 35 +-
gold/symtab.cc | 106 +-
gold/symtab.h | 15 +-
gold/testsuite/Makefile.am | 120 +-
gold/testsuite/Makefile.in | 309 +-
gold/testsuite/arm_target_lazy_init.s | 2 +
gold/testsuite/arm_target_lazy_init.t | 1 +
gold/testsuite/bnd_ifunc_1.s | 16 +
gold/testsuite/bnd_ifunc_1.sh | 36 +
gold/testsuite/bnd_ifunc_2.s | 28 +
gold/testsuite/bnd_ifunc_2.sh | 50 +
gold/testsuite/bnd_plt_1.s | 9 +
gold/testsuite/bnd_plt_1.sh | 52 +
gold/testsuite/ifuncmod1.sh | 29 +
gold/testsuite/pr20976.c | 34 +
gold/testsuite/ver_test_8.sh | 32 +
gold/version.cc | 2 +-
gold/x86_64.cc | 520 ++-
gprof/ChangeLog | 8 +
gprof/configure | 20 +-
gprof/po/gprof.pot | 175 +-
include/ChangeLog | 35 +
include/coff/pe.h | 2 +-
include/elf/riscv.h | 24 +-
include/opcode/mips.h | 30 +-
include/opcode/xgate.h | 16 +-
ld/ChangeLog | 26 +
ld/NEWS | 2 +
ld/configure | 20 +-
ld/ldlang.c | 3 +-
ld/po/ld.pot | 1433 ++--
ld/testsuite/ld-scripts/sysroot-prefix.exp | 6 +-
opcodes/ChangeLog | 138 +
opcodes/Makefile.am | 7 +-
opcodes/Makefile.in | 15 +-
opcodes/aclocal.m4 | 1 +
opcodes/config.in | 3 +
opcodes/configure | 120 +-
opcodes/configure.ac | 19 +
opcodes/mips-dis.c | 202 +-
opcodes/mips16-opc.c | 187 +-
opcodes/po/POTFILES.in | 2 +
opcodes/po/opcodes.pot | 1008 ++-
opcodes/riscv-dis.c | 8 +-
opcodes/riscv-opc.c | 109 +-
sim/aarch64/ChangeLog | 6 +
sim/aarch64/simulator.c | 28 +
sim/testsuite/sim/aarch64/ChangeLog | 4 +
sim/testsuite/sim/aarch64/fcmp.s | 146 +
1018 files changed, 25155 insertions(+), 12467 deletions(-)
create mode 100644 binutils/testsuite/binutils-all/mips/mips16-extend-insn.d
create mode 100644 binutils/testsuite/binutils-all/mips/mips16-extend-insn.s
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-asmacro.d
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-insn-e.d
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-insn-e.l
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-insn-t.d
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-insn-t.l
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-macro-e.d
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-macro-e.l
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-macro-t.d
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-macro-t.l
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-macro.d
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-macro.l
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16e-64-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16-32@mips16e-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16-64.d
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16-asmacro.d
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16-insn-e.d
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16-insn-e.l
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16-insn-t.d
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16-insn-t.l
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16-macro.d
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16.d
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16e-64-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16-64@mips16e-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16-asmacro.d
create mode 100644 gas/testsuite/gas/mips/mips16-asmacro.s
create mode 100644 gas/testsuite/gas/mips/mips16-extend-swap.d
create mode 100644 gas/testsuite/gas/mips/mips16-extend-swap.s
create mode 100644 gas/testsuite/gas/mips/mips16-insn-e.d
create mode 100644 gas/testsuite/gas/mips/mips16-insn-e.l
create mode 100644 gas/testsuite/gas/mips/mips16-insn-e.s
create mode 100644 gas/testsuite/gas/mips/mips16-insn-length-noargs.d
create mode 100644 gas/testsuite/gas/mips/mips16-insn-length-noargs.s
create mode 100644 gas/testsuite/gas/mips/mips16-insn-t.d
create mode 100644 gas/testsuite/gas/mips/mips16-insn-t.l
create mode 100644 gas/testsuite/gas/mips/mips16-insn-t.s
create mode 100644 gas/testsuite/gas/mips/mips16-jal-e.d
create mode 100644 gas/testsuite/gas/mips/mips16-jal-e.s
create mode 100644 gas/testsuite/gas/mips/mips16-jal-t.d
create mode 100644 gas/testsuite/gas/mips/mips16-jal-t.l
create mode 100644 gas/testsuite/gas/mips/mips16-jal-t.s
create mode 100644 gas/testsuite/gas/mips/mips16-macro-e.d
create mode 100644 gas/testsuite/gas/mips/mips16-macro-e.l
create mode 100644 gas/testsuite/gas/mips/mips16-macro-e.s
create mode 100644 gas/testsuite/gas/mips/mips16-macro-t.d
create mode 100644 gas/testsuite/gas/mips/mips16-macro-t.l
create mode 100644 gas/testsuite/gas/mips/mips16-macro-t.s
create mode 100644 gas/testsuite/gas/mips/mips16-macro.l
create mode 100644 gas/testsuite/gas/mips/mips16-relax-unextended-1.d
create mode 100644 gas/testsuite/gas/mips/mips16-relax-unextended-1.l
create mode 100644 gas/testsuite/gas/mips/mips16-relax-unextended-1.s
create mode 100644 gas/testsuite/gas/mips/mips16-relax-unextended-2.d
create mode 100644 gas/testsuite/gas/mips/mips16-relax-unextended-2.l
create mode 100644 gas/testsuite/gas/mips/mips16-relax-unextended-2.s
create mode 100644 gas/testsuite/gas/mips/mips16-sdrasp.d
create mode 100644 gas/testsuite/gas/mips/mips16-sdrasp.l
create mode 100644 gas/testsuite/gas/mips/mips16-sdrasp.s
create mode 100644 gas/testsuite/gas/mips/mips16-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16-sub.s
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-insn-e.d
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-insn-e.l
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-insn-t.d
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-insn-t.l
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-macro-e.d
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-macro-e.l
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-macro-t.d
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-macro-t.l
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-macro.d
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-macro.l
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16e-64-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16e-32@mips16e-64.d
rename gas/testsuite/gas/mips/{mips16e-64.l => mips16e-32@mips16e-64.l} (100%)
create mode 100644 gas/testsuite/gas/mips/mips16e-64-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16e-64-sub.s
create mode 100644 gas/testsuite/gas/mips/mips16e-sub.d
create mode 100644 gas/testsuite/gas/mips/mips16e-sub.s
create mode 100644 gas/testsuite/gas/mips/mips16e@branch-swap-3.d
create mode 100644 gas/testsuite/gas/mips/mips16e@branch-swap-4.d
create mode 100644 gas/testsuite/gas/mips/mips16e@loc-swap-dis.d
create mode 100644 gas/testsuite/gas/mips/mips16e@loc-swap.d
create mode 100644 gdb/tui/tui-out.h
create mode 100644 gold/testsuite/arm_target_lazy_init.s
create mode 100644 gold/testsuite/arm_target_lazy_init.t
create mode 100644 gold/testsuite/bnd_ifunc_1.s
create mode 100755 gold/testsuite/bnd_ifunc_1.sh
create mode 100644 gold/testsuite/bnd_ifunc_2.s
create mode 100755 gold/testsuite/bnd_ifunc_2.sh
create mode 100644 gold/testsuite/bnd_plt_1.s
create mode 100755 gold/testsuite/bnd_plt_1.sh
create mode 100755 gold/testsuite/ifuncmod1.sh
create mode 100644 gold/testsuite/pr20976.c
create mode 100755 gold/testsuite/ver_test_8.sh
create mode 100644 sim/testsuite/sim/aarch64/fcmp.s
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8c09c2c..38f7d39 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,122 @@
+2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
+
+ * bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Revert
+ 2016-02-23 change and remove EI_ABIVERSION 5 support.
+
+2016-12-23 Alan Modra <amodra@gmail.com>
+
+ * linker.c (generic_link_check_archive_element): Call target
+ bfd_link_add_symbols to add element symbols.
+
+2016-12-23 Alan Modra <amodra@gmail.com>
+
+ * linker.c (generic_link_add_symbols): Delete. Merge into..
+ (_bfd_generic_link_add_symbols): ..here.
+ (generic_link_check_archive_element_no_collect): Delete.
+ (generic_link_check_archive_element_collect): Likewise.
+ (generic_link_add_object_symbols): Remove "collect" param. Update
+ callers.
+ (generic_link_add_symbol_list): Likewise.
+ (generic_link_check_archive_element): Likewise. Call
+ bfd_link_add_symbols rather than generic_link_add_object_symbols.
+ * libbfd-in.h (_bfd_generic_link_add_symbols_collect): Delete.
+ * libbfd.h: Regenerate.
+
+2016-12-23 Alan Modra <amodra@gmail.com>
+
+ PR binutils/20464
+ PR binutils/14625
+ * configure.ac: Revert 2016-05-25 configure change setting
+ want_64_bit_archive for mips64 and s390x. Revise USE_64_BIT_ARCHIVE
+ description.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+
+2016-12-23 Tristan Gingold <gingold@adacore.com>
+
+ * version.m4: Bump version to 2.28.51
+ * configure: Regenerate.
+
+2016-12-23 Tristan Gingold <gingold@adacore.com>
+
+ * po/bfd.pot: Regenerate.
+
+2016-12-22 Alan Modra <amodra@gmail.com>
+
+ * libbfd-in.h (_bfd_vms_lib_slurp_armap): Use _bfd_noarchive function.
+ (_bfd_vms_lib_slurp_extended_name_table: Likewise.
+ (_bfd_vms_lib_construct_extended_name_table: Likewise.
+ (_bfd_vms_lib_truncate_arname: Likewise.
+ (_bfd_vms_lib_write_armap: Likewise.
+ (_bfd_vms_lib_read_ar_hdr: Likewise.
+ (_bfd_vms_lib_write_ar_hdr: Likewise.
+ * libbfd.h: Regenerate.
+
+2016-12-21: Yury Norov <ynorov@caviumnetworks.com>
+ Andreas Schwab <schwab@suse.de>
+
+ * cpu-aarch64.c: Fix word and address size declaration in
+ ilp32 mode in bfd_arch_info_type bfd_aarch64_arch_ilp32
+ structure.
+
+2016-12-20 Andrew Waterman <andrew@sifive.com>
+
+ * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Use
+ EF_RISCV_FLOAT_ABI_SOFT instead of EF_RISCV_SOFT_FLOAT.
+
+2016-12-20 Andrew Waterman <andrew@sifive.com>
+
+ * elfnn-riscv.c (bfd_riscv_get_max_alignment): Return bfd_vma
+ instead of unsigned int.
+
+2016-12-20 Andrew Waterman <andrew@sifive.com>
+ Kuan-Lin Chen <kuanlinchentw@gmail.com>
+
+ * reloc.c (BFD_RELOC_RISCV_TPREL_I): New relocation.
+ (BFD_RELOC_RISCV_TPREL_S): Likewise.
+ (BFD_RELOC_RISCV_RELAX): Likewise.
+ (BFD_RELOC_RISCV_CFA): Likewise.
+ (BFD_RELOC_RISCV_SUB6): Likewise.
+ (BFD_RELOC_RISCV_SET8): Likewise.
+ (BFD_RELOC_RISCV_SET8): Likewise.
+ (BFD_RELOC_RISCV_SET16): Likewise.
+ (BFD_RELOC_RISCV_SET32): Likewise.
+ * elfnn-riscv.c (perform_relocation): Handle the new
+ relocations.
+ (_bfd_riscv_relax_tls_le): Likewise.
+ (_bfd_riscv_relax_align): Likewise.
+ (_bfd_riscv_relax_section): Likewise.
+ (howto_table): Likewise.
+ (riscv_reloc_map): Likewise.
+ (relax_func_t): New type.
+ (_bfd_riscv_relax_call): Add reserve_size argument, which
+ controls the maximal offset pessimism. Correct type of max_alignment.
+ (_bfd_riscv_relax_lui): Likewise.
+ (_bfd_riscv_relax_tls_le): Likewise.
+ (_bfd_riscv_relax_align): Likewise.
+ (_bfd_riscv_relax_section): Compute the required reserve size
+ when relocating and use it to when calling relax_func.
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Likewise.
+
+2016-12-20 Andrew Waterman <andrew@sifive.com>
+
+ * elfnn-riscv.c: Formatting and comment fixes throughout.
+ * elfxx-riscv.c: Likewise.
+ (howto_table): Change the src_mask field from MINUS_ONE to 0 for
+ R_RISCV_TLS_DTPMOD32, R_RISCV_TLS_DTPMOD64, R_RISCV_TLS_DTPREL32,
+ R_RISCV_TLS_DTPREL64, R_RISCV_TLS_TPREL32, R_RISCV_TLS_TPREL64.
+
+2016-12-20 Palmer Dabbelt <palmer@dabbelt.com>
+
+ * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Improve
+ error message when linking elf32 and elf64.
+
+2016-12-19 Christian Groessler <chris@groessler.org>
+
+ * elf32-arm.c (elf32_arm_popcount): Rename from 'popcount'. Make
+ 'sum' local variable signed.
+
2016-12-16 fincs <fincs.alt1@gmail.com>
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Add handling
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 1c6b70f..b5ac178 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4737,6 +4737,15 @@ number for the SBIC, SBIS, SBI and CBI instructions */
BFD_RELOC_RISCV_RVC_LUI,
BFD_RELOC_RISCV_GPREL_I,
BFD_RELOC_RISCV_GPREL_S,
+ BFD_RELOC_RISCV_TPREL_I,
+ BFD_RELOC_RISCV_TPREL_S,
+ BFD_RELOC_RISCV_RELAX,
+ BFD_RELOC_RISCV_CFA,
+ BFD_RELOC_RISCV_SUB6,
+ BFD_RELOC_RISCV_SET6,
+ BFD_RELOC_RISCV_SET8,
+ BFD_RELOC_RISCV_SET16,
+ BFD_RELOC_RISCV_SET32,
/* Renesas RL78 Relocations. */
BFD_RELOC_RL78_NEG8,
diff --git a/bfd/config.in b/bfd/config.in
index 341afae..2d5a381 100644
--- a/bfd/config.in
+++ b/bfd/config.in
@@ -337,7 +337,7 @@
/* Name of host specific header file to include in trad-core.c. */
#undef TRAD_HEADER
-/* Define if we should use 64-bit archives. */
+/* Define if 64-bit archives should always be used. */
#undef USE_64_BIT_ARCHIVE
/* Use b modifier when opening binary files? */
diff --git a/bfd/configure b/bfd/configure
index ab239fe..2f05cad 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for bfd 2.27.51.
+# Generated by GNU Autoconf 2.64 for bfd 2.28.51.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
@@ -556,8 +556,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='bfd'
PACKAGE_TARNAME='bfd'
-PACKAGE_VERSION='2.27.51'
-PACKAGE_STRING='bfd 2.27.51'
+PACKAGE_VERSION='2.28.51'
+PACKAGE_STRING='bfd 2.28.51'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1354,7 +1354,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures bfd 2.27.51 to adapt to many kinds of systems.
+\`configure' configures bfd 2.28.51 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1425,7 +1425,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of bfd 2.27.51:";;
+ short | recursive ) echo "Configuration of bfd 2.28.51:";;
esac
cat <<\_ACEOF
@@ -1546,7 +1546,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-bfd configure 2.27.51
+bfd configure 2.28.51
generated by GNU Autoconf 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2188,7 +2188,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by bfd $as_me 2.27.51, which was
+It was created by bfd $as_me 2.28.51, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ $0 $@
@@ -3997,7 +3997,7 @@ fi
# Define the identity of the package.
PACKAGE='bfd'
- VERSION='2.27.51'
+ VERSION='2.28.51'
cat >>confdefs.h <<_ACEOF
@@ -14655,15 +14655,6 @@ else # all_targets is true
selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
fi # all_targets is true
-if test "x$want_64_bit_archive" = xunset; then
- # 64-bit MIPS and s390 ELF targets use 64-bit archives.
- case "${bfd_backends}" in
- *elf64-mips* | *elf64-s390*)
- want_64_bit_archive=true
- ;;
- esac
-fi
-
# 64-bit archives need a 64-bit bfd_vma.
if test "x$want_64_bit_archive" = xtrue; then
want64=true
@@ -16622,7 +16613,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by bfd $as_me 2.27.51, which was
+This file was extended by bfd $as_me 2.28.51, which was
generated by GNU Autoconf 2.64. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16686,7 +16677,7 @@ Report bugs to the package provider."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-bfd config.status 2.27.51
+bfd config.status 2.28.51
configured by $0, generated by GNU Autoconf 2.64,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 3254dae..944fc56 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -786,20 +786,11 @@ else # all_targets is true
selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
fi # all_targets is true
-if test "x$want_64_bit_archive" = xunset; then
- # 64-bit MIPS and s390 ELF targets use 64-bit archives.
- case "${bfd_backends}" in
- *elf64-mips* | *elf64-s390*)
- want_64_bit_archive=true
- ;;
- esac
-fi
-
# 64-bit archives need a 64-bit bfd_vma.
if test "x$want_64_bit_archive" = xtrue; then
want64=true
AC_DEFINE(USE_64_BIT_ARCHIVE, 1,
- [Define if we should use 64-bit archives.])
+ [Define if 64-bit archives should always be used.])
fi
case ${host64}-${target64}-${want64} in
diff --git a/bfd/cpu-aarch64.c b/bfd/cpu-aarch64.c
index 596d241..1adc670 100644
--- a/bfd/cpu-aarch64.c
+++ b/bfd/cpu-aarch64.c
@@ -100,16 +100,16 @@ scan (const struct bfd_arch_info *info, const char *string)
return FALSE;
}
-#define N(NUMBER, PRINT, DEFAULT, NEXT) \
- { 64, 64, 8, bfd_arch_aarch64, NUMBER, \
+#define N(NUMBER, PRINT, WORDSIZE, DEFAULT, NEXT) \
+ { WORDSIZE, WORDSIZE, 8, bfd_arch_aarch64, NUMBER, \
"aarch64", PRINT, 4, DEFAULT, compatible, scan, \
bfd_arch_default_fill, NEXT }
static const bfd_arch_info_type bfd_aarch64_arch_ilp32 =
- N (bfd_mach_aarch64_ilp32, "aarch64:ilp32", FALSE, NULL);
+ N (bfd_mach_aarch64_ilp32, "aarch64:ilp32", 32, FALSE, NULL);
const bfd_arch_info_type bfd_aarch64_arch =
- N (0, "aarch64", TRUE, &bfd_aarch64_arch_ilp32);
+ N (0, "aarch64", 64, TRUE, &bfd_aarch64_arch_ilp32);
bfd_boolean
bfd_is_aarch64_special_symbol_name (const char *name, int type)
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 8a20260..fd6d3ac 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -3245,12 +3245,13 @@ ctz (unsigned int mask)
}
static inline int
-popcount (unsigned int mask)
+elf32_arm_popcount (unsigned int mask)
{
#if GCC_VERSION >= 3004
return __builtin_popcount (mask);
#else
- unsigned int i, sum = 0;
+ unsigned int i;
+ int sum = 0;
for (i = 0; i < 8 * sizeof (mask); i++)
{
@@ -8496,7 +8497,7 @@ stm32l4xx_need_create_replacing_stub (const insn32 insn,
/* The field encoding the register list is the same for both LDMIA
and LDMDB encodings. */
if (is_thumb2_ldmia (insn) || is_thumb2_ldmdb (insn))
- nb_words = popcount (insn & 0x0000ffff);
+ nb_words = elf32_arm_popcount (insn & 0x0000ffff);
else if (is_thumb2_vldm (insn))
nb_words = (insn & 0xff);
@@ -17903,7 +17904,7 @@ stm32l4xx_create_replacing_stub_ldmia (struct elf32_arm_link_hash_table * htab,
int insn_all_registers = initial_insn & 0x0000ffff;
int insn_low_registers, insn_high_registers;
int usable_register_mask;
- int nb_registers = popcount (insn_all_registers);
+ int nb_registers = elf32_arm_popcount (insn_all_registers);
int restore_pc = (insn_all_registers & (1 << 15)) ? 1 : 0;
int restore_rn = (insn_all_registers & (1 << rn)) ? 1 : 0;
bfd_byte *current_stub_contents = base_stub_contents;
@@ -17947,7 +17948,7 @@ stm32l4xx_create_replacing_stub_ldmia (struct elf32_arm_link_hash_table * htab,
BFD_ASSERT (!wback || !restore_rn);
/* - nb_registers > 8. */
- BFD_ASSERT (popcount (insn_all_registers) > 8);
+ BFD_ASSERT (elf32_arm_popcount (insn_all_registers) > 8);
/* At this point, LDMxx initial insn loads between 9 and 14 registers. */
@@ -18049,7 +18050,7 @@ stm32l4xx_create_replacing_stub_ldmdb (struct elf32_arm_link_hash_table * htab,
int usable_register_mask;
int restore_pc = (insn_all_registers & (1 << 15)) ? 1 : 0;
int restore_rn = (insn_all_registers & (1 << rn)) ? 1 : 0;
- int nb_registers = popcount (insn_all_registers);
+ int nb_registers = elf32_arm_popcount (insn_all_registers);
bfd_byte *current_stub_contents = base_stub_contents;
BFD_ASSERT (is_thumb2_ldmdb (initial_insn));
@@ -18090,7 +18091,7 @@ stm32l4xx_create_replacing_stub_ldmdb (struct elf32_arm_link_hash_table * htab,
BFD_ASSERT (!wback || !restore_rn);
/* - nb_registers > 8. */
- BFD_ASSERT (popcount (insn_all_registers) > 8);
+ BFD_ASSERT (elf32_arm_popcount (insn_all_registers) > 8);
/* At this point, LDMxx initial insn loads between 9 and 14 registers. */
diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c
index 4f11cf6..7f3ca72 100644
--- a/bfd/elfnn-riscv.c
+++ b/bfd/elfnn-riscv.c
@@ -220,7 +220,7 @@ riscv_make_plt_entry (bfd_vma got, bfd_vma addr, uint32_t *entry)
nop */
entry[0] = RISCV_UTYPE (AUIPC, X_T3, RISCV_PCREL_HIGH_PART (got, addr));
- entry[1] = RISCV_ITYPE (LREG, X_T3, X_T3, RISCV_PCREL_LOW_PART(got, addr));
+ entry[1] = RISCV_ITYPE (LREG, X_T3, X_T3, RISCV_PCREL_LOW_PART (got, addr));
entry[2] = RISCV_ITYPE (JALR, X_T1, X_T3, 0);
entry[3] = RISCV_NOP;
}
@@ -1493,6 +1493,7 @@ perform_relocation (const reloc_howto_type *howto,
case R_RISCV_LO12_I:
case R_RISCV_GPREL_I:
case R_RISCV_TPREL_LO12_I:
+ case R_RISCV_TPREL_I:
case R_RISCV_PCREL_LO12_I:
value = ENCODE_ITYPE_IMM (value);
break;
@@ -1500,6 +1501,7 @@ perform_relocation (const reloc_howto_type *howto,
case R_RISCV_LO12_S:
case R_RISCV_GPREL_S:
case R_RISCV_TPREL_LO12_S:
+ case R_RISCV_TPREL_S:
case R_RISCV_PCREL_LO12_S:
value = ENCODE_STYPE_IMM (value);
break;
@@ -1548,10 +1550,15 @@ perform_relocation (const reloc_howto_type *howto,
case R_RISCV_ADD16:
case R_RISCV_ADD32:
case R_RISCV_ADD64:
+ case R_RISCV_SUB6:
case R_RISCV_SUB8:
case R_RISCV_SUB16:
case R_RISCV_SUB32:
case R_RISCV_SUB64:
+ case R_RISCV_SET6:
+ case R_RISCV_SET8:
+ case R_RISCV_SET16:
+ case R_RISCV_SET32:
case R_RISCV_TLS_DTPREL32:
case R_RISCV_TLS_DTPREL64:
break;
@@ -1817,6 +1824,7 @@ riscv_elf_relocate_section (bfd *output_bfd,
switch (r_type)
{
case R_RISCV_NONE:
+ case R_RISCV_RELAX:
case R_RISCV_TPREL_ADD:
case R_RISCV_COPY:
case R_RISCV_JUMP_SLOT:
@@ -1830,6 +1838,10 @@ riscv_elf_relocate_section (bfd *output_bfd,
case R_RISCV_RVC_LUI:
case R_RISCV_LO12_I:
case R_RISCV_LO12_S:
+ case R_RISCV_SET6:
+ case R_RISCV_SET8:
+ case R_RISCV_SET16:
+ case R_RISCV_SET32:
/* These require no special handling beyond perform_relocation. */
break;
@@ -1923,6 +1935,7 @@ riscv_elf_relocate_section (bfd *output_bfd,
}
break;
+ case R_RISCV_SUB6:
case R_RISCV_SUB8:
case R_RISCV_SUB16:
case R_RISCV_SUB32:
@@ -1953,6 +1966,11 @@ riscv_elf_relocate_section (bfd *output_bfd,
case R_RISCV_TPREL_LO12_I:
case R_RISCV_TPREL_LO12_S:
relocation = tpoff (info, relocation);
+ break;
+
+ case R_RISCV_TPREL_I:
+ case R_RISCV_TPREL_S:
+ relocation = tpoff (info, relocation);
if (VALID_ITYPE_IMM (relocation + rel->r_addend))
{
/* We can use tp as the base register. */
@@ -1961,6 +1979,8 @@ riscv_elf_relocate_section (bfd *output_bfd,
insn |= X_TP << OP_SH_RS1;
bfd_put_32 (input_bfd, insn, contents + rel->r_offset);
}
+ else
+ r = bfd_reloc_overflow;
break;
case R_RISCV_GPREL_I:
@@ -2329,7 +2349,7 @@ riscv_elf_finish_dynamic_symbol (bfd *output_bfd,
}
if (h->got.offset != (bfd_vma) -1
- && !(riscv_elf_hash_entry(h)->tls_type & (GOT_TLS_GD | GOT_TLS_IE)))
+ && !(riscv_elf_hash_entry (h)->tls_type & (GOT_TLS_GD | GOT_TLS_IE)))
{
asection *sgot;
asection *srela;
@@ -2561,8 +2581,9 @@ _bfd_riscv_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info)
if (strcmp (bfd_get_target (ibfd), bfd_get_target (obfd)) != 0)
{
(*_bfd_error_handler)
- (_("%B: ABI is incompatible with that of the selected emulation"),
- ibfd);
+ (_("%B: ABI is incompatible with that of the selected emulation:\n"
+ " target emulation `%s' does not match `%s'"),
+ ibfd, bfd_get_target (ibfd), bfd_get_target (obfd));
return FALSE;
}
@@ -2576,8 +2597,8 @@ _bfd_riscv_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info)
return TRUE;
}
- /* Disallow linking soft-float and hard-float. */
- if ((old_flags ^ new_flags) & EF_RISCV_SOFT_FLOAT)
+ /* Disallow linking different float ABIs. */
+ if ((old_flags ^ new_flags) & EF_RISCV_FLOAT_ABI)
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2017-01-02 21:49 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2017-01-02 21:49 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 64ece0de474878ebdb52bed98a989a3ea4928ab7 (commit)
via f47b0d4a49facbfa5c2f0971474593df0a854547 (commit)
via d98164028637041c5de99af0d057bde3f168a8a8 (commit)
via 64859e1487e0ce1e5c430238dd731123371e7a15 (commit)
via f5657270bd9353db74ba802ebed62b7133f7c2a0 (commit)
via 595e0a47f57b414843261303b8aa5036fd1fa1e3 (commit)
via 7bd9df3bcdb1f736b696566b6142cb94d6b9b0d9 (commit)
via 5b86074c4a84e32ca55a6c72c5fca45d97dc9374 (commit)
via 2571583aed598dd3f9651b53434e5f177a0e3cf7 (commit)
via 5c1ad6b5bb2602a0c590f2e49316ccc9fb30e1a9 (commit)
via cb868fd926f3b7201eb97c5b3bab0ce6c2450304 (commit)
via 61baf725eca99af2569262d10aca03dcde2698f6 (commit)
via c113e7ff6176890ef6d73a23f0918aca98b8619f (commit)
via 66abb8241494cae2bce9ca4bcd8e095e3bcfba06 (commit)
via ae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed (commit)
via b7aba156196caf59117741eae5e93b578d0b59f4 (commit)
via 0220170b4d87ce940d40ac98387ff2d7fbed3ab2 (commit)
via 93f11b16ec1f5775c7f6c32b4a39d6dd0fb0c92a (commit)
via 2b100bb5cf206f9254453a00e4b48e32d3584625 (commit)
via 111468496477e97c9414d2d54f97bfdaa380f794 (commit)
via 889294f6ffb380eb37b1f1f3bd22807fa9204c14 (commit)
via 4244d58a4080d057bb9b17554734192821493cb6 (commit)
via 517c4166988047036a57f4bb36e00458b51ade62 (commit)
via 3f66c01be30edcfaedd11d475078f78e464ca4a0 (commit)
via d6deafd0bb04f728d403bee2e07d17ec9ac1353e (commit)
via fa62ef05fc91c19932ded7ccfd1fd0811c7f7e6f (commit)
via 0a7e10188e3c08403fb00b728644d7a95092c732 (commit)
via e81830c5c61a8665c098189d069cc68b0df113d3 (commit)
via ffdc5f48ee608b4750df5e34c10598f0f2c158d3 (commit)
via 913e12d44dc7fc09f965e4b660f437e7e0303c64 (commit)
via 265d97f743a4ba78bcffd7ae8d0ea02668a58df3 (commit)
via 6142c999f2a9700d568eb25462a5d622d220b4cb (commit)
via 0fa6f7cee7dedb600799234b1e2d52c5b0da8f96 (commit)
via 9acc85a62eb76c270724bba15c889d2d05567b6a (commit)
via b733bcb7f58c42e0e0d94a3f266a4193030e5f3a (commit)
via 7ff34266fd831f828286e556f9cd681c42c0412c (commit)
via 28985b6ba2fa968058429b767dc727d254c6ad13 (commit)
via 5474d94f03aedba2f832006dc7d680cc15792a7b (commit)
via 9d19e4fdb7c684329c8b1b72796a0071708dabc7 (commit)
via 09a1b0e9437f4e6c868b47322a84193a5ae3a391 (commit)
via 3bdb50600c3d20e355637b48fc317e8ad70ba93d (commit)
via 4e008fde3ab059a011ec487686b7f3e5324c0a44 (commit)
from 1d5ee950ea1753fff1c6c80fc94095f5f7fcf98b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 64ece0de474878ebdb52bed98a989a3ea4928ab7
Merge: 1d5ee95 f47b0d4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Mon Jan 2 22:32:14 2017 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit f47b0d4a49facbfa5c2f0971474593df0a854547
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 23:57:58 2017 +1030
Regen opcodes cgen files
* epiphany-desc.h: Regenerate.
* epiphany-opc.h: Regenerate.
* fr30-desc.h: Regenerate.
* fr30-opc.h: Regenerate.
* frv-desc.h: Regenerate.
* frv-opc.h: Regenerate.
* ip2k-desc.h: Regenerate.
* ip2k-opc.h: Regenerate.
* iq2000-desc.h: Regenerate.
* iq2000-opc.h: Regenerate.
* lm32-desc.h: Regenerate.
* lm32-opc.h: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-opc.h: Regenerate.
* m32r-desc.h: Regenerate.
* m32r-opc.h: Regenerate.
* mep-desc.h: Regenerate.
* mep-opc.h: Regenerate.
* mt-desc.h: Regenerate.
* mt-opc.h: Regenerate.
* or1k-desc.h: Regenerate.
* or1k-opc.h: Regenerate.
* xc16x-desc.h: Regenerate.
* xc16x-opc.h: Regenerate.
* xstormy16-desc.h: Regenerate.
* xstormy16-opc.h: Regenerate.
commit d98164028637041c5de99af0d057bde3f168a8a8
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 22:45:37 2017 +1030
Run more ld tests when not native
Many of the ld tests are not run for cross builds, in some cases
because the test needs to run a newly linked executable, and in others
simply because it was easier to write the test for native only. Even
when a test needs to run, it's good to compile and link to exercise
the linker. So that's what this patch does. I've also rid us of
the old ld_link procedure with all the HOSTING_CRT0 etc. setup. It's
much simpler to just link with $CC.
This does mean that a cross build with cross-compiler installed but
no cross C-library will give lots of failures. If that turns out to
be too annoying, I guess we can write a tcl procedure to detect it and
not run all the extra tests.
* Makefile.am (bootstrap): Delete rule.
(ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
(HOSTING_CRT0, HOSTING_SCRT0): Don't define.
(HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
* configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
(HOSTING_LIBS, HOSTING_SLIBS): Likewise.
* configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
* Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/config/default.exp (get_link_files): Delete.
(HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
define.
(ld_simple_link): Delete.
* testsuite/lib/ld-lib.exp (default_ld_link): Delete
(default_ld_simple_link): Rename to default_ld_link.
(ld_simple_link_defsyms): Rename to ld_link_defsyms.
(run_ld_link_tests): Use ld_link, not ld_simple_link.
(run_cc_link_tests): Likewise.
(run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
Don't run exe when not native, and return unsupported.
* testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
Link ld1 etc. using $CC.
* testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
* testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
* testsuite/ld-cygwin/exe-export.exp: Likewise.
* testsuite/ld-elf/binutils.exp: Likewise.
* testsuite/ld-elf/eh-group.exp: Likewise.
* testsuite/ld-elf/exclude.exp: Likewise.
* testsuite/ld-elf/frame.exp: Likewise.
* testsuite/ld-elf/sec-to-seg.exp: Likewise.
* testsuite/ld-elf/tls_common.exp: Likewise.
* testsuite/ld-elfcomm/elfcomm.exp: Likewise.
* testsuite/ld-fastcall/fastcall.exp: Likewise.
* testsuite/ld-gc/gc.exp: Likewise.
* testsuite/ld-ifunc/binutils.exp: Likewise.
* testsuite/ld-mep/mep.exp: Likewise.
* testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
* testsuite/ld-mn10300/mn10300.exp: Likewise.
* testsuite/ld-nios2/nios2.exp: Likewise.
* testsuite/ld-pe/pe-compile.exp: Likewise.
* testsuite/ld-pe/pe-run.exp: Likewise.
* testsuite/ld-pe/pe-run2.exp: Likewise.
* testsuite/ld-plugin/plugin.exp: Likewise.
* testsuite/ld-scripts/align.exp: Likewise.
* testsuite/ld-scripts/alignof.exp: Likewise.
* testsuite/ld-scripts/assert.exp: Likewise.
* testsuite/ld-scripts/defined.exp: Likewise.
* testsuite/ld-scripts/extern.exp: Likewise.
* testsuite/ld-scripts/log2.exp: Likewise.
* testsuite/ld-scripts/map-address.exp: Likewise.
* testsuite/ld-scripts/phdrs.exp: Likewise.
* testsuite/ld-scripts/phdrs2.exp: Likewise.
* testsuite/ld-scripts/script.exp: Likewise.
* testsuite/ld-scripts/section-flags.exp: Likewise.
* testsuite/ld-scripts/sizeof.exp: Likewise.
* testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
* testsuite/ld-scripts/weak.exp: Likewise.
* testsuite/ld-selective/selective.exp: Likewise.
* testsuite/ld-sh/sh.exp: Likewise.
* testsuite/ld-sh/sh64/relax.exp: Likewise.
* testsuite/ld-sh/sh64/relfail.exp: Likewise.
* testsuite/ld-srec/srec.exp: Likewise.
* testsuite/ld-tic6x/tic6x.exp: Likewise.
* testsuite/ld-undefined/weak-undef.exp: Likewise.
* testsuite/ld-versados/versados.exp: Likewise.
* testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
* testsuite/ld-xtensa/coalesce.exp: Likewise.
* testsuite/ld-xtensa/diff_overflow.exp: Likewise.
* testsuite/ld-xtensa/lcall.exp: Likewise.
* testsuite/ld-elf/audit.exp: Run non-native too.
* testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
gcc -Wl, options.
* testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
not ld_simple_link. Add -Wl,--no-as-needed to some tests.
* testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
* testsuite/ld-elf/indirect.exp: Run non-native too. Add
-Wl,--no-as-needed to most tests.
* testsuite/ld-elf/shared.exp: Run non-native too. Use braces
to simplify quoting. Set run_tests using [list] rather than
brace assignment to expand $extralibs. Add -Wl,--no-as-needed
to many test. Prefix ld options with -Wl,.
(mix_pic_and_non_pic): Don't run exe if not native.
* testsuite/ld-elf/wrap.exp: Run non-native too. Add
-Wl,--no-as-needed and prefix ld options with -Wl,.
* testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
not ld_simple_link.
* testsuite/ld-elfvsb/elfvsb.exp: Likewise.
(visibility_test): Don't run exe if not native.
* testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
not ld_simple_link.
(build_exec): Don't run exe if not native.
* testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
to some tests and prefix ld options with -Wl,. Expect GNU
for hppa-linux even when no ifuncs. Delete cleanup.
* testsuite/ld-pie/pie.exp: Run non-native too.
* testsuite/ld-plugin/lto.exp: Likewise.
* testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
not ld_simple_link.
(shared_test): Don't run exe if not native.
* testsuite/ld-size/size.exp: Run non-native too. Add
-Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
* testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
to some tests and prefix ld options with -Wl,. Expect GNU
for hppa-linux even when no unique syms. Delete cleanup.
* testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
tests and prefix ld options with -Wl,.
* testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
commit 64859e1487e0ce1e5c430238dd731123371e7a15
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 22:43:15 2017 +1030
Support -z relro on metag
* emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
commit f5657270bd9353db74ba802ebed62b7133f7c2a0
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 22:33:47 2017 +1030
Support -z relro on hppa
PR ld/21000
* emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
(DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
* scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
is already defined.
commit 595e0a47f57b414843261303b8aa5036fd1fa1e3
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 22:31:27 2017 +1030
Don't make symbols dynamic other than undef weak
Fixes: tmpdir/pr14525: symbol lookup error: tmpdir/pr14525: undefined
symbol: __executable_start
FAIL: PIE PR ld/14525
* elf32-hppa.c (ensure_undef_weak_dynamic): New function.
(allocate_plt_static, allocate_dynrelocs): Use it.
commit 7bd9df3bcdb1f736b696566b6142cb94d6b9b0d9
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 22:28:29 2017 +1030
Set SHF_INFO_LINK for .PARISC.unwind
This flag should be set for any section header using sh_info to
point to another section.
Fixes a readelf warning about an unexpected value in info field,
resulting in FAIL: Build warn libbar.so
* elf-hppa.h (elf_hppa_fake_sections): Set SHF_INFO_LINK for
.PARISC.unwind section.
commit 5b86074c4a84e32ca55a6c72c5fca45d97dc9374
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 22:06:28 2017 +1030
PR20989, sparc GOT sequence optimisation
PR ld/20989
* elfxx-sparc.c (gdop_relative_offset_ok): New function.
(_bfd_sparc_elf_relocate_section): Use it to validate GOT
indirect to GOT pointer relative code edit.
commit 2571583aed598dd3f9651b53434e5f177a0e3cf7
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 14:06:43 2017 +1030
Update year range in copyright notice of all files.
commit 5c1ad6b5bb2602a0c590f2e49316ccc9fb30e1a9
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jan 2 13:55:05 2017 +1030
ChangeLog rotation
commit cb868fd926f3b7201eb97c5b3bab0ce6c2450304
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Jan 2 00:00:21 2017 +0000
Automatic date update in version.in
commit 61baf725eca99af2569262d10aca03dcde2698f6
Author: Joel Brobecker <brobecker@adacore.com>
Date: Sun Jan 1 10:50:51 2017 +0400
update copyright year range in GDB files
This applies the second part of GDB's End of Year Procedure, which
updates the copyright year range in all of GDB's files.
gdb/ChangeLog:
Update copyright year range in all GDB files.
commit c113e7ff6176890ef6d73a23f0918aca98b8619f
Author: Joel Brobecker <brobecker@adacore.com>
Date: Sun Jan 1 10:39:54 2017 +0400
Rotate GDB main ChangeLog for 2017
This patch rotates the GDB main ChangeLog file as per our "Start
of New Year Procedure".
2017-01-01 Joel Brobecker <brobecker@adacore.com>
* config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
commit 66abb8241494cae2bce9ca4bcd8e095e3bcfba06
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Jan 1 00:00:22 2017 +0000
Automatic date update in version.in
commit ae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 31 21:02:35 2016 +1030
Fix riscv breakage
* disassemble.c (disassembler): Add break accidentally removed
by PRU patch.
commit b7aba156196caf59117741eae5e93b578d0b59f4
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 31 18:25:35 2016 +1030
Create sdynrelro for elfn32 mips too
* elfn32-mips.c (elf_backend_want_dynrelro): Define.
commit 0220170b4d87ce940d40ac98387ff2d7fbed3ab2
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Fri Dec 30 12:39:49 2016 +0200
PRU LD Port
* NEWS: Mention new PRU target.
* Makefile.am: Add PRU target.
* configure.tgt: Ditto.
* emulparams/pruelf.sh: New file.
* emultempl/pruelf.em: New file.
* scripttempl/pru.sc: New file.
* Makefile.in: Regenerate.
* testsuite/ld-pru/emit-relocs-1.d: New PRU testcase file.
* testsuite/ld-pru/emit-relocs-1.ld: Ditto.
* testsuite/ld-pru/emit-relocs-1a.s: Ditto.
* testsuite/ld-pru/emit-relocs-1b.s
* testsuite/ld-pru/ldi32.d: Ditto.
* testsuite/ld-pru/ldi32.s: Ditto.
* testsuite/ld-pru/ldi32_symbol.s: Ditto.
* testsuite/ld-pru/norelax_ldi32-data.d: Ditto.
* testsuite/ld-pru/norelax_ldi32-dis.d: Ditto.
* testsuite/ld-pru/pcrel_s10.d: Ditto.
* testsuite/ld-pru/pcrel_s10.s: Ditto.
* testsuite/ld-pru/pcrel_s10_label.s: Ditto.
* testsuite/ld-pru/pcrel_u8-illegal.d: Ditto.
* testsuite/ld-pru/pcrel_u8-illegal.s: Ditto.
* testsuite/ld-pru/pcrel_u8-illegal2.d: Ditto.
* testsuite/ld-pru/pcrel_u8-illegal2.s: Ditto.
* testsuite/ld-pru/pcrel_u8-illegal3.d: Ditto.
* testsuite/ld-pru/pcrel_u8-illegal3.s: Ditto.
* testsuite/ld-pru/pcrel_u8.d: Ditto.
* testsuite/ld-pru/pcrel_u8.s: Ditto.
* testsuite/ld-pru/pcrel_u8_label.s: Ditto.
* testsuite/ld-pru/pmem.d: Ditto.
* testsuite/ld-pru/pmem.s: Ditto.
* testsuite/ld-pru/pmem_symbol.s: Ditto.
* testsuite/ld-pru/pru.exp: Ditto.
* testsuite/ld-pru/relax_ldi32-data.d: Ditto.
* testsuite/ld-pru/relax_ldi32-dis.d: Ditto.
* testsuite/ld-pru/relax_ldi32.s: Ditto.
* testsuite/ld-pru/relax_ldi32_symbol.s: Ditto.
* testsuite/ld-pru/reloc.d: Ditto.
* testsuite/ld-pru/reloc.s: Ditto.
* testsuite/ld-pru/reloc_symbol.s: Ditto.
* testsuite/ld-pru/u16.d: Ditto.
* testsuite/ld-pru/u16.s: Ditto.
* testsuite/ld-pru/u16_symbol.s: Ditto.
PRU does not export __end symbol because it is ambiguous for it.
Users are expected to use instead the section markers __text_end,
__data_end, __bss_end or __noinit_end.
* testsuite/lib/ld-lib.exp (check_shared_lib_support): No shared
libraries are supported for PRU.
(check_gc_sections_available): Mark PRU as not supported.
* testsuite/ld-elf/eh-frame-hdr.d: Disable for PRU.
* testsuite/ld-elf/endsym.d: Likewise.
* testsuite/ld-elf/group8a.d: Likewise.
* testsuite/ld-elf/group8b.d: Likewise.
* testsuite/ld-elf/group9a.d: Likewise.
* testsuite/ld-elf/group9b.d: Likewise.
* testsuite/ld-elf/merge.d: Likewise.
* testsuite/ld-elf/pr12851.d: Likewise.
* testsuite/ld-elf/pr14926.d: Likewise.
* testsuite/ld-elf/sec-to-seg.exp: Likewise.
* testsuite/ld-elf/sec64k.exp: Mark sec64k case as too big for PRU.
* testsuite/ld-srec/srec.exp (run_srec_test): Add setup for PRU.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
commit 93f11b16ec1f5775c7f6c32b4a39d6dd0fb0c92a
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Tue Dec 27 22:43:38 2016 +0200
PRU GAS Port
* NEWS: Mention new PRU target.
* Makefile.am: Add PRU target.
* config/obj-elf.c: Ditto.
* configure.tgt: Ditto.
* config/tc-pru.c: New file.
* config/tc-pru.h: New file.
* doc/Makefile.am: Add documentation for PRU GAS port.
* doc/all.texi, Ditto.
* doc/as.texinfo: Ditto.
* doc/c-pru.texi: Document PRU GAS options.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
* testsuite/gas/pru/alu.d: New file for PRU GAS testsuite.
* testsuite/gas/pru/alu.s: Ditto.
* testsuite/gas/pru/branch.d: Ditto.
* testsuite/gas/pru/branch.s: Ditto.
* testsuite/gas/pru/illegal.l: Ditto.
* testsuite/gas/pru/illegal.s: Ditto.
* testsuite/gas/pru/ldi.d: Ditto.
* testsuite/gas/pru/ldi.s: Ditto.
* testsuite/gas/pru/ldst.d: Ditto.
* testsuite/gas/pru/ldst.s: Ditto.
* testsuite/gas/pru/loop.d: Ditto.
* testsuite/gas/pru/loop.s: Ditto.
* testsuite/gas/pru/misc.d: Ditto.
* testsuite/gas/pru/misc.s: Ditto.
* testsuite/gas/pru/pru.exp: Ditto.
* testsuite/gas/pru/pseudo.d: Ditto.
* testsuite/gas/pru/pseudo.s: Ditto.
* testsuite/gas/pru/warn_reglabel.l: Ditto.
* testsuite/gas/pru/warn_reglabel.s: Ditto.
* testsuite/gas/pru/xfr.d: Ditto.
* testsuite/gas/pru/xfr.s: Ditto.
* testsuite/gas/lns/lns.exp: Mark lns-common-1-alt variant for PRU.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
commit 2b100bb5cf206f9254453a00e4b48e32d3584625
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Fri Dec 30 12:39:47 2016 +0200
PRU Binutils port
* readelf.c (guess_is_rela): Add EM_TI_PRU.
(dump_relocations): Invoke elf_pru_reloc_type.
(get_machine_name): Handle EM_TI_PRU.
(is_32bit_abs_reloc): Handle R_PRU_BFD_RELOC_32.
(is_16bit_abs_reloc): Handle R_PRU_BFD_RELOC_16.
(is_none_reloc): Handle PRU_NONE and PRU_DIFF variants.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
commit 111468496477e97c9414d2d54f97bfdaa380f794
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Fri Dec 30 12:39:50 2016 +0200
PRU Opcode Port
opcodes/
* Makefile.am: Add PRU source files.
* configure.ac: Add PRU target.
* disassemble.c (disassembler): Register PRU arch.
* pru-dis.c: New file.
* pru-opc.c: New file.
* Makefile.in: Regenerate.
* configure: Regenerate.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
commit 889294f6ffb380eb37b1f1f3bd22807fa9204c14
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Fri Dec 30 12:39:46 2016 +0200
PRU BFD support
include/
* elf/common.h: Add PRU ELF.
* elf/pru.h: New file.
* opcode/pru.h: New file.
* dis-asm.h (print_insn_pru): Declare.
bfd/
* archures.c: Add bfd_arch_pru.
* Makefile.am: Add PRU target.
* config.bfd: Ditto.
* configure.ac: Ditto.
* elf-bfd.h (enum elf_target_id): Add PRU_ELF_DATA.
* targets.c: Add pru_elf32_vec.
* reloc.c: Add PRU relocations.
* cpu-pru.c: New file.
* elf32-pru.c: New file.
* Makefile.in: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
* bfd-in2.h: Regenerate
* libbfd.h: Regenerate.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
commit 4244d58a4080d057bb9b17554734192821493cb6
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Fri Dec 30 12:39:51 2016 +0200
Add PRU ELF ID to elfcpp
* elfcpp.h (enum EM): Add EM_TI_PRU.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
commit 517c4166988047036a57f4bb36e00458b51ade62
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Fri Dec 30 12:39:59 2016 +0200
ld testsuite: Sanitize output from ld
Leading dashes from an LD error message confuse send_log, because the
string is taken to be an option.
This patch fixes the following DejaGnu error:
--defsym:1: undefined symbol `foo2' referenced in expression
failed with: <--defsym:1: undefined symbol `foo2' referenced in expression>, no expected output
ERROR: tcl error sourcing .../ld/testsuite/ld-gc/gc.exp.
ERROR: usage: send [args] string
while executing
"send_log "$comp_output\n""
(procedure "run_dump_test" line 376)
* testsuite/lib/ld-lib.exp (run_dump_test): Pass -- to send_log.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
commit 3f66c01be30edcfaedd11d475078f78e464ca4a0
Author: Alan Modra <amodra@gmail.com>
Date: Fri Dec 30 16:27:54 2016 +1030
Import config.sub
* config.sub: Import from upstream.
commit d6deafd0bb04f728d403bee2e07d17ec9ac1353e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Dec 31 00:00:21 2016 +0000
Automatic date update in version.in
commit fa62ef05fc91c19932ded7ccfd1fd0811c7f7e6f
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Fri Dec 30 00:00:20 2016 +0000
Automatic date update in version.in
commit 0a7e10188e3c08403fb00b728644d7a95092c732
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Dec 29 15:47:40 2016 +0000
Return 'int' rather than 'unsigned short' in avrdis_opcode
avrdis_opcode return type is unsigned short, but -1 at the end of
this function is returned. Additionally, print_insn_avr doesn't
handle when -1 (in case of memory error) is returned from
avrdis_opcode.
This patch changes avrdis_opcode returning int indicating the error,
and adds a new argument for instruction we got on success. The
opcode is 16-bit, so I change local variables type to uint16_t,
and include "bfd_stdint.h" as a result. On memory error,
print_insn_avr returns -1, which is a common convention among most
of print_insn_$ARCH functions.
opcodes:
2016-12-29 Yao Qi <yao.qi@linaro.org>
* avr-dis.c: Include "bfd_stdint.h"
(avrdis_opcode): Change return type to int, add argument
insn. Set *INSN on success.
(print_insn_avr): Check return value of avrdis_opcode, and
return -1 on error.
commit e81830c5c61a8665c098189d069cc68b0df113d3
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 29 22:49:41 2016 +1030
link_hash_copy_indirect and symbol flags
A while ago HJ fixed PR ld/18720 with commit 6e33951ed, which, among
other things, modified _bfd_elf_link_hash_copy_indirect to not copy
ref_dynamic, ref_regular, ref_regular_nonweak, non_got_ref, needs_plt
and pointer_equality_needed when setting up an indirect non-versioned
symbol pointing to a non-default versioned symbol. I didn't notice at
the time, but the pr18720 testcase fails on hppa-linux with
"internal error, aborting at binutils-gdb-2.28/bfd/elf32-hppa.c:3933
in elf32_hppa_relocate_section".
Now hppa-linux creates entries in the plt even for local functions, if
they are referenced using plabel (function pointer) relocations. So
needs_plt is set for foo when processing pr18720a.o. When the aliases
in pr28720b.o are processed, we get an indirection from foo to
foo@FOO, but don't copy needs_plt. Since foo@FOO is the "real" symbol
that is used after that point, no plt entry is made for foo and we
bomb when relocating the plabel.
As shown by the hppa-linux scenario, needs_plt should be copied even
for non-default versioned symbols. I believe all of the others ought
to be copied too, with the exception of ref_dynamic. Not copying
ref_dynamic is right because if a shared lib references "foo" it
should not be satisfied by any non-default version "foo@FOO".
* elflink.c (_bfd_elf_link_hash_copy_indirect): Only omit
copying one flag, ref_dynamic, when versioned_hidden.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Use same
logic for copying weakdef flags. Copy plabel flag and merge
tls_type.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Use same logic
for copying weakdef flags.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elfnn-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elf64-x86-64.c (elf_x86_64_copy_indirect_symbol): Likewise.
Simplify.
commit ffdc5f48ee608b4750df5e34c10598f0f2c158d3
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Dec 29 00:00:21 2016 +0000
Automatic date update in version.in
commit 913e12d44dc7fc09f965e4b660f437e7e0303c64
Author: Andreas Schwab <schwab@linux-m68k.org>
Date: Wed Dec 28 18:28:22 2016 +0100
Fix comment typo
* copy-relocs.h: Fix comment typo.
commit 265d97f743a4ba78bcffd7ae8d0ea02668a58df3
Author: Cary Coutant <ccoutant@gmail.com>
Date: Wed Dec 28 08:29:43 2016 -0800
Add explicit instantiations for build_compressed_section_map().
gold/
PR gold/20996
* object.cc (build_compressed_section_map): Add explicit instantiations.
commit 6142c999f2a9700d568eb25462a5d622d220b4cb
Author: Cary Coutant <ccoutant@gmail.com>
Date: Wed Dec 28 08:22:59 2016 -0800
Fix last ChangeLog entry.
* copy-relocs.cc (Copy_relocs::make_copy_reloc): Use .data.rel.ro for
read-only data when linking with -z relro.
commit 0fa6f7cee7dedb600799234b1e2d52c5b0da8f96
Author: Alan Modra <amodra@gmail.com>
Date: Wed Dec 28 21:59:34 2016 +1030
Check bfd support for bfd_mips_elf_get_abiflags in mips make rule
The previous scheme with a dependency in opcodes on libbfd.la
broke "make distclean".
* configure.ac: Revert 2016-12-23.
* Makefile.am: Likewise.
(MIPS_DEFS): Define.
(mips-dis.lo): Add rule.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
commit 9acc85a62eb76c270724bba15c889d2d05567b6a
Author: Alan Modra <amodra@gmail.com>
Date: Wed Dec 28 17:04:15 2016 +1030
Use dynrelro for symbols in relro sections too
PR ld/20995
bfd/
* elflink.c (elf_link_add_object_symbols): Mark relro sections
in dynamic objects SEC_READONLY.
ld/
* testsuite/ld-elf/pr20995c.s: New test file.
* testsuite/ld-elf/pr20995-2so.r: Likewise.
* testsuite/ld-elf/elf.exp: Run it.
commit b733bcb7f58c42e0e0d94a3f266a4193030e5f3a
Author: Cary Coutant <ccoutant@gmail.com>
Date: Tue Dec 27 20:50:47 2016 -0800
Place copy relocations in .dynbss when target is read-only.
gold/
PR ld/20995
* copy-relocs.cc (Copy_relocs::make_copy_reloc): Use .dynbss for
read-only data when linking with -z relro.
* copy-relocs.h (Copy_relocs::dynrelro_): New data member.
* testsuite/Makefile.am (copy_test_relro): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/copy_test_relro.cc: New source file.
* testsuite/copy_test_relro_1.cc: New source file.
commit 7ff34266fd831f828286e556f9cd681c42c0412c
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Dec 28 00:00:20 2016 +0000
Automatic date update in version.in
commit 28985b6ba2fa968058429b767dc727d254c6ad13
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Tue Dec 27 00:00:23 2016 +0000
Automatic date update in version.in
commit 5474d94f03aedba2f832006dc7d680cc15792a7b
Author: Alan Modra <amodra@gmail.com>
Date: Mon Dec 26 00:30:45 2016 +1030
dynrelro section for read-only dynamic symbols copied into executable
Variables defined in shared libraries are copied into an executable's
.bss section when code in the executable is non-PIC and thus would
require dynamic text relocations to access the variable directly in
the shared library. Recent x86 toolchains also copy variables into
the executable to gain a small speed improvement.
The problem is that if the variable was originally read-only, the copy
in .bss is writable, potentially opening a security hole. This patch
cures that problem by putting the copy in a section that becomes
read-only after ld.so relocation, provided -z relro is in force.
The patch also fixes a microblaze linker segfault on attempting to
use dynamic bss variables.
bfd/
PR ld/20995
* elf-bfd.h (struct elf_link_hash_table): Add sdynrelro and
sreldynrelro.
(struct elf_backend_data): Add want_dynrelro.
* elfxx-target.h (elf_backend_want_dynrelro): Define.
(elfNN_bed): Update initializer.
* elflink.c (_bfd_elf_create_dynamic_sections): Create
sdynrelro and sreldynrelro sections.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Place variables
copied into the executable from read-only sections into sdynrelro.
(elf32_arm_size_dynamic_sections): Handle sdynrelro.
(elf32_arm_finish_dynamic_symbol): Select sreldynrelro for
dynamic relocs in sdynrelro.
(elf_backend_want_dynrelro): Define.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol)
(elf32_hppa_size_dynamic_sections, elf32_hppa_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol)
(elf_i386_size_dynamic_sections, elf_i386_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf32-metag.c (elf_metag_adjust_dynamic_symbol)
(elf_metag_size_dynamic_sections, elf_metag_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf32-microblaze.c (microblaze_elf_adjust_dynamic_symbol)
(microblaze_elf_size_dynamic_sections)
(microblaze_elf_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf32-nios2.c (nios2_elf32_finish_dynamic_symbol)
(nios2_elf32_adjust_dynamic_symbol)
(nios2_elf32_size_dynamic_sections)
(elf_backend_want_dynrelro): As above.
* elf32-or1k.c (or1k_elf_finish_dynamic_symbol)
(or1k_elf_adjust_dynamic_symbol, or1k_elf_size_dynamic_sections)
(elf_backend_want_dynrelro): As above.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol)
(ppc_elf_size_dynamic_sections, ppc_elf_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol)
(elf_s390_size_dynamic_sections, elf_s390_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf32-tic6x.c (elf32_tic6x_adjust_dynamic_symbol)
(elf32_tic6x_size_dynamic_sections)
(elf32_tic6x_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf32-tilepro.c (tilepro_elf_adjust_dynamic_symbol)
(tilepro_elf_size_dynamic_sections)
(tilepro_elf_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol)
(ppc64_elf_size_dynamic_sections, ppc64_elf_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol)
(elf_s390_size_dynamic_sections, elf_s390_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol)
(elf_x86_64_size_dynamic_sections)
(elf_x86_64_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol)
(elfNN_aarch64_size_dynamic_sections)
(elfNN_aarch64_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elfnn-riscv.c (riscv_elf_adjust_dynamic_symbol)
(riscv_elf_size_dynamic_sections, riscv_elf_finish_dynamic_symbol)
(elf_backend_want_dynrelro): As above.
* elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol)
(_bfd_mips_elf_size_dynamic_sections)
(_bfd_mips_vxworks_finish_dynamic_symbol): As above.
* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol)
(_bfd_sparc_elf_size_dynamic_sections)
(_bfd_sparc_elf_finish_dynamic_symbol): As above.
* elfxx-tilegx.c (tilegx_elf_adjust_dynamic_symbol)
(tilegx_elf_size_dynamic_sections)
(tilegx_elf_finish_dynamic_symbol): As above.
* elf32-mips.c (elf_backend_want_dynrelro): Define.
* elf64-mips.c (elf_backend_want_dynrelro): Define.
* elf32-sparc.c (elf_backend_want_dynrelro): Define.
* elf64-sparc.c (elf_backend_want_dynrelro): Define.
* elf32-tilegx.c (elf_backend_want_dynrelro): Define.
* elf64-tilegx.c (elf_backend_want_dynrelro): Define.
* elf32-microblaze.c (microblaze_elf_adjust_dynamic_symbol): Tidy.
(microblaze_elf_size_dynamic_sections): Handle sdynbss.
* elf32-nios2.c (nios2_elf32_size_dynamic_sections): Make use
of linker shortcuts to dynamic sections rather than comparing
names. Correctly set "got" flag.
ld/
PR ld/20995
* testsuite/ld-arm/farcall-mixed-app-v5.d: Update to suit changed
stub hash table traversal caused by section id increment. Accept
the previous output too.
* testsuite/ld-arm/farcall-mixed-app.d: Likewise.
* testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
* testsuite/ld-arm/farcall-mixed-lib.d: Likewise.
* testsuite/ld-elf/pr20995a.s, * testsuite/ld-elf/pr20995b.s,
* testsuite/ld-elf/pr20995.r: New test.
* testsuite/ld-elf/elf.exp: Run it.
commit 9d19e4fdb7c684329c8b1b72796a0071708dabc7
Author: Alan Modra <amodra@gmail.com>
Date: Mon Dec 26 00:21:06 2016 +1030
Put .dynbss and .rel.bss shortcuts in main elf hash table
Also, create .rel{,a}.bss for PIEs on all targets, not just x86.
* elf-bfd.h (struct elf_link_hash_table): Add sdynbss and srelbss.
* elflink.c (_bfd_elf_create_dynamic_sections): Set them. Create
.rel.bss/.rela.bss for executables, both PIE and non-PIE.
* elf32-arc.c (struct elf_arc_link_hash_table): Delete srelbss.
Use ELF hash table var throughout.
* elf32-arm.c (struct elf32_arm_link_hash_table): Delete sdynbss
and srelbss. Use ELF hash table vars throughout.
* elf32-hppa.c (struct elf32_hppa_link_hash_table): Likewise.
* elf32-i386.c (struct elf_i386_link_hash_table): Likewise.
* elf32-metag.c (struct elf_metag_link_hash_table): Likewise.
* elf32-microblaze.c (struct elf32_mb_link_hash_table): Likewise.
* elf32-nios2.c (struct elf32_nios2_link_hash_table): Likewise.
* elf32-or1k.c (struct elf_or1k_link_hash_table): Likewise.
* elf32-ppc.c (struct ppc_elf_link_hash_table): Likewise.
* elf32-s390.c (struct elf_s390_link_hash_table): Likewise.
* elf32-tic6x.c (struct elf32_tic6x_link_hash_table): Likewise.
* elf32-tilepro.c (struct tilepro_elf_link_hash_table): Likewise.
* elf64-ppc.c (struct ppc_link_hash_table): Likewise.
* elf64-s390.c (struct elf_s390_link_hash_table): Likewise.
* elf64-x86-64.c (struct elf_x86_64_link_hash_table): Likewise.
* elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Likewise.
* elfnn-riscv.c (struct riscv_elf_link_hash_table): Likewise.
* elfxx-mips.c (struct mips_elf_link_hash_table): Likewise.
* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Likewise.
* elfxx-sparc.c: Likewise.
* elfxx-tilegx.c (struct tilegx_elf_link_hash_table): Likewise.
* elf32-arc.c (arc_elf_create_dynamic_sections): Delete.
(elf_backend_create_dynamic_sections): Use base ELF version.
* elf32-microblaze.c (microblaze_elf_create_dynamic_sections): Delete.
(elf_backend_create_dynamic_sections): Use base ELF version.
* elf32-or1k.c (or1k_elf_create_dynamic_sections): Delete.
(elf_backend_create_dynamic_sections): Use base ELF version.
* elf32-s390.c (elf_s390_create_dynamic_sections): Delete.
(elf_backend_create_dynamic_sections): Use base ELF version.
* elf64-ppc.c (ppc64_elf_create_dynamic_sections): Delete.
(elf_backend_create_dynamic_sections): Use base ELF version.
* elf64-s390.c (elf_s390_create_dynamic_sections): Delete.
(elf_backend_create_dynamic_sections): Use base ELF version.
* elf32-tilepro.c (tilepro_elf_create_dynamic_sections): Remove
extraneous tests.
* elfnn-aarch64.c (elfNN_aarch64_create_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Likewise.
* elfxx-tilegx.c (tilegx_elf_create_dynamic_sections): Likewise.
* elf32-i386.c (elf_i386_create_dynamic_sections): Don't create
".rel.bss" for executables.
* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Don't create
".rela.bss" for executables.
* elf32-nios2.c (nios2_elf32_create_dynamic_sections): Don't
ignore return status from _bfd_elf_create_dynamic_sections.
commit 09a1b0e9437f4e6c868b47322a84193a5ae3a391
Author: Alan Modra <amodra@gmail.com>
Date: Mon Dec 26 09:40:58 2016 +1030
Correct .dynbss in script
The only target that renames .bss is tic6x, turning .bss into .far,
and .sbss into .bss. .dynbss is not renamed to .dynfar by BFD.
* scripttempl/elf.sc: Don't use $BSS_NAME in .dynbss.
commit 3bdb50600c3d20e355637b48fc317e8ad70ba93d
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Dec 26 00:00:32 2016 +0000
Automatic date update in version.in
commit 4e008fde3ab059a011ec487686b7f3e5324c0a44
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Dec 25 00:00:21 2016 +0000
Automatic date update in version.in
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 +
bfd/ChangeLog | 4098 +--------
bfd/ChangeLog-2016 | 4293 ++++++++
bfd/MAINTAINERS | 2 +-
bfd/Makefile.am | 6 +-
bfd/Makefile.in | 8 +-
bfd/PORTING | 2 +-
bfd/README | 2 +-
bfd/TODO | 2 +-
bfd/acinclude.m4 | 2 +-
bfd/aix386-core.c | 2 +-
bfd/aix5ppc-core.c | 2 +-
bfd/aout-adobe.c | 2 +-
bfd/aout-arm.c | 2 +-
bfd/aout-cris.c | 2 +-
bfd/aout-ns32k.c | 2 +-
bfd/aout-sparcle.c | 2 +-
bfd/aout-target.h | 2 +-
bfd/aout-tic30.c | 2 +-
bfd/aout0.c | 2 +-
bfd/aout32.c | 2 +-
bfd/aout64.c | 2 +-
bfd/aoutf1.h | 2 +-
bfd/aoutx.h | 2 +-
bfd/arc-got.h | 2 +-
bfd/arc-plt.def | 2 +-
bfd/arc-plt.h | 2 +-
bfd/archive.c | 2 +-
bfd/archive64.c | 2 +-
bfd/archures.c | 6 +-
bfd/armnetbsd.c | 2 +-
bfd/bfd-in.h | 2 +-
bfd/bfd-in2.h | 39 +-
bfd/bfd.c | 2 +-
bfd/bfd.m4 | 2 +-
bfd/bfdio.c | 2 +-
bfd/bfdwin.c | 2 +-
bfd/binary.c | 2 +-
bfd/bout.c | 2 +-
bfd/cache.c | 2 +-
bfd/cf-i386lynx.c | 2 +-
bfd/cf-sparclynx.c | 2 +-
bfd/cisco-core.c | 2 +-
bfd/coff-alpha.c | 2 +-
bfd/coff-apollo.c | 2 +-
bfd/coff-arm.c | 2 +-
bfd/coff-aux.c | 2 +-
bfd/coff-bfd.c | 2 +-
bfd/coff-bfd.h | 2 +-
bfd/coff-go32.c | 2 +-
bfd/coff-h8300.c | 2 +-
bfd/coff-h8500.c | 2 +-
bfd/coff-i386.c | 2 +-
bfd/coff-i860.c | 2 +-
bfd/coff-i960.c | 2 +-
bfd/coff-ia64.c | 2 +-
bfd/coff-m68k.c | 2 +-
bfd/coff-m88k.c | 2 +-
bfd/coff-mcore.c | 2 +-
bfd/coff-mips.c | 2 +-
bfd/coff-ppc.c | 2 +-
bfd/coff-rs6000.c | 2 +-
bfd/coff-sh.c | 2 +-
bfd/coff-sparc.c | 2 +-
bfd/coff-stgo32.c | 2 +-
bfd/coff-svm68k.c | 2 +-
bfd/coff-tic30.c | 2 +-
bfd/coff-tic4x.c | 2 +-
bfd/coff-tic54x.c | 2 +-
bfd/coff-tic80.c | 2 +-
bfd/coff-u68k.c | 2 +-
bfd/coff-w65.c | 2 +-
bfd/coff-we32k.c | 2 +-
bfd/coff-x86_64.c | 2 +-
bfd/coff-z80.c | 2 +-
bfd/coff-z8k.c | 2 +-
bfd/coff64-rs6000.c | 2 +-
bfd/coffcode.h | 2 +-
bfd/coffgen.c | 2 +-
bfd/cofflink.c | 2 +-
bfd/coffswap.h | 2 +-
bfd/compress.c | 2 +-
bfd/config.bfd | 8 +-
bfd/configure | 1 +
bfd/configure.ac | 3 +-
bfd/configure.com | 2 +-
bfd/configure.host | 2 +-
bfd/corefile.c | 2 +-
bfd/cpu-aarch64.c | 2 +-
bfd/cpu-alpha.c | 2 +-
bfd/cpu-arc.c | 2 +-
bfd/cpu-arm.c | 2 +-
bfd/cpu-avr.c | 2 +-
bfd/cpu-bfin.c | 2 +-
bfd/cpu-cr16.c | 2 +-
bfd/cpu-cr16c.c | 2 +-
bfd/cpu-cris.c | 2 +-
bfd/cpu-crx.c | 2 +-
bfd/cpu-d10v.c | 2 +-
bfd/cpu-d30v.c | 2 +-
bfd/cpu-dlx.c | 2 +-
bfd/cpu-epiphany.c | 2 +-
bfd/cpu-fr30.c | 2 +-
bfd/cpu-frv.c | 2 +-
bfd/cpu-ft32.c | 2 +-
bfd/cpu-h8300.c | 2 +-
bfd/cpu-h8500.c | 2 +-
bfd/cpu-hppa.c | 2 +-
bfd/cpu-i370.c | 2 +-
bfd/cpu-i386.c | 2 +-
bfd/cpu-i860.c | 2 +-
bfd/cpu-i960.c | 2 +-
bfd/cpu-ia64-opc.c | 2 +-
bfd/cpu-ia64.c | 2 +-
bfd/cpu-iamcu.c | 2 +-
bfd/cpu-ip2k.c | 2 +-
bfd/cpu-iq2000.c | 2 +-
bfd/cpu-k1om.c | 2 +-
bfd/cpu-l1om.c | 2 +-
bfd/cpu-lm32.c | 2 +-
bfd/cpu-m10200.c | 2 +-
bfd/cpu-m10300.c | 2 +-
bfd/cpu-m32c.c | 2 +-
bfd/cpu-m32r.c | 2 +-
bfd/cpu-m68hc11.c | 2 +-
bfd/cpu-m68hc12.c | 2 +-
bfd/cpu-m68k.c | 2 +-
bfd/cpu-m88k.c | 2 +-
bfd/cpu-m9s12x.c | 2 +-
bfd/cpu-m9s12xg.c | 2 +-
bfd/cpu-mcore.c | 2 +-
bfd/cpu-mep.c | 2 +-
bfd/cpu-metag.c | 2 +-
bfd/cpu-microblaze.c | 2 +-
bfd/cpu-mips.c | 2 +-
bfd/cpu-mmix.c | 2 +-
bfd/cpu-moxie.c | 2 +-
bfd/cpu-msp430.c | 2 +-
bfd/cpu-mt.c | 2 +-
bfd/cpu-nds32.c | 2 +-
bfd/cpu-nios2.c | 2 +-
bfd/cpu-ns32k.c | 2 +-
bfd/cpu-or1k.c | 2 +-
bfd/cpu-pdp11.c | 2 +-
bfd/cpu-pj.c | 2 +-
bfd/cpu-plugin.c | 2 +-
bfd/cpu-powerpc.c | 2 +-
bfd/cpu-pru.c | 43 +
bfd/cpu-riscv.c | 2 +-
bfd/cpu-rl78.c | 2 +-
bfd/cpu-rs6000.c | 2 +-
bfd/cpu-rx.c | 2 +-
bfd/cpu-s390.c | 2 +-
bfd/cpu-score.c | 2 +-
bfd/cpu-sh.c | 2 +-
bfd/cpu-sparc.c | 2 +-
bfd/cpu-spu.c | 2 +-
bfd/cpu-tic30.c | 2 +-
bfd/cpu-tic4x.c | 2 +-
bfd/cpu-tic54x.c | 2 +-
bfd/cpu-tic6x.c | 2 +-
bfd/cpu-tic80.c | 2 +-
bfd/cpu-tilegx.c | 2 +-
bfd/cpu-tilepro.c | 2 +-
bfd/cpu-v850.c | 2 +-
bfd/cpu-v850_rh850.c | 2 +-
bfd/cpu-vax.c | 2 +-
bfd/cpu-visium.c | 2 +-
bfd/cpu-w65.c | 2 +-
bfd/cpu-we32k.c | 2 +-
bfd/cpu-xc16x.c | 2 +-
bfd/cpu-xgate.c | 2 +-
bfd/cpu-xstormy16.c | 2 +-
bfd/cpu-xtensa.c | 2 +-
bfd/cpu-z80.c | 2 +-
bfd/cpu-z8k.c | 2 +-
bfd/demo64.c | 2 +-
bfd/development.sh | 2 +-
bfd/doc/Makefile.am | 2 +-
bfd/doc/Makefile.in | 2 +-
bfd/doc/bfd.texinfo | 6 +-
bfd/doc/bfdint.texi | 4 +-
bfd/doc/bfdsumm.texi | 2 +-
bfd/doc/chew.c | 2 +-
bfd/doc/makefile.vms | 2 +-
bfd/dwarf1.c | 2 +-
bfd/dwarf2.c | 2 +-
bfd/ecoff.c | 2 +-
bfd/ecofflink.c | 2 +-
bfd/ecoffswap.h | 2 +-
bfd/elf-attrs.c | 2 +-
bfd/elf-bfd.h | 8 +-
bfd/elf-eh-frame.c | 2 +-
bfd/elf-hppa.h | 3 +-
bfd/elf-ifunc.c | 2 +-
bfd/elf-linux-core.h | 2 +-
bfd/elf-m10200.c | 2 +-
bfd/elf-m10300.c | 2 +-
bfd/elf-nacl.c | 2 +-
bfd/elf-nacl.h | 2 +-
bfd/elf-s390-common.c | 2 +-
bfd/elf-strtab.c | 2 +-
bfd/elf-vxworks.c | 2 +-
bfd/elf-vxworks.h | 2 +-
bfd/elf.c | 2 +-
bfd/elf32-am33lin.c | 2 +-
bfd/elf32-arc.c | 60 +-
bfd/elf32-arm.c | 44 +-
bfd/elf32-avr.c | 2 +-
bfd/elf32-avr.h | 2 +-
bfd/elf32-bfin.c | 2 +-
bfd/elf32-cr16.c | 2 +-
bfd/elf32-cr16c.c | 2 +-
bfd/elf32-cris.c | 2 +-
bfd/elf32-crx.c | 2 +-
bfd/elf32-d10v.c | 2 +-
bfd/elf32-d30v.c | 2 +-
bfd/elf32-dlx.c | 2 +-
bfd/elf32-dlx.h | 2 +-
bfd/elf32-epiphany.c | 2 +-
bfd/elf32-fr30.c | 2 +-
bfd/elf32-frv.c | 2 +-
bfd/elf32-ft32.c | 4 +-
bfd/elf32-gen.c | 2 +-
bfd/elf32-h8300.c | 2 +-
bfd/elf32-hppa.c | 108 +-
bfd/elf32-hppa.h | 2 +-
bfd/elf32-i370.c | 2 +-
bfd/elf32-i386.c | 60 +-
bfd/elf32-i860.c | 2 +-
bfd/elf32-i960.c | 2 +-
bfd/elf32-ip2k.c | 2 +-
bfd/elf32-iq2000.c | 2 +-
bfd/elf32-lm32.c | 2 +-
bfd/elf32-m32c.c | 2 +-
bfd/elf32-m32r.c | 2 +-
bfd/elf32-m68hc11.c | 2 +-
bfd/elf32-m68hc12.c | 2 +-
bfd/elf32-m68hc1x.c | 2 +-
bfd/elf32-m68hc1x.h | 2 +-
bfd/elf32-m68k.c | 2 +-
bfd/elf32-m88k.c | 2 +-
bfd/elf32-mcore.c | 2 +-
bfd/elf32-mep.c | 2 +-
bfd/elf32-metag.c | 35 +-
bfd/elf32-metag.h | 2 +-
bfd/elf32-microblaze.c | 76 +-
bfd/elf32-mips.c | 3 +-
bfd/elf32-moxie.c | 4 +-
bfd/elf32-msp430.c | 2 +-
bfd/elf32-mt.c | 2 +-
bfd/elf32-nds32.c | 2 +-
bfd/elf32-nds32.h | 2 +-
bfd/elf32-nios2.c | 63 +-
bfd/elf32-nios2.h | 2 +-
bfd/elf32-or1k.c | 70 +-
bfd/elf32-pj.c | 2 +-
bfd/elf32-ppc.c | 25 +-
bfd/elf32-ppc.h | 2 +-
bfd/elf32-pru.c | 1469 +++
bfd/elf32-rl78.c | 2 +-
bfd/elf32-rx.c | 2 +-
bfd/elf32-rx.h | 2 +-
bfd/elf32-s390.c | 67 +-
bfd/elf32-score.c | 2 +-
bfd/elf32-score.h | 2 +-
bfd/elf32-score7.c | 2 +-
bfd/elf32-sh-relocs.h | 2 +-
bfd/elf32-sh-symbian.c | 2 +-
bfd/elf32-sh.c | 5 +-
bfd/elf32-sh64-com.c | 2 +-
bfd/elf32-sh64.c | 2 +-
bfd/elf32-sh64.h | 2 +-
bfd/elf32-sparc.c | 3 +-
bfd/elf32-spu.c | 2 +-
bfd/elf32-spu.h | 2 +-
bfd/elf32-tic6x.c | 44 +-
bfd/elf32-tic6x.h | 2 +-
bfd/elf32-tilegx.c | 3 +-
bfd/elf32-tilegx.h | 2 +-
bfd/elf32-tilepro.c | 51 +-
bfd/elf32-tilepro.h | 2 +-
bfd/elf32-v850.c | 2 +-
bfd/elf32-vax.c | 2 +-
bfd/elf32-visium.c | 2 +-
bfd/elf32-xc16x.c | 2 +-
bfd/elf32-xgate.c | 2 +-
bfd/elf32-xgate.h | 2 +-
bfd/elf32-xstormy16.c | 2 +-
bfd/elf32-xtensa.c | 2 +-
bfd/elf32.c | 2 +-
bfd/elf64-alpha.c | 2 +-
bfd/elf64-gen.c | 2 +-
bfd/elf64-hppa.c | 2 +-
bfd/elf64-hppa.h | 2 +-
bfd/elf64-ia64-vms.c | 2 +-
bfd/elf64-mips.c | 3 +-
bfd/elf64-mmix.c | 2 +-
bfd/elf64-ppc.c | 93 +-
bfd/elf64-ppc.h | 2 +-
bfd/elf64-s390.c | 70 +-
bfd/elf64-sh64.c | 2 +-
bfd/elf64-sparc.c | 3 +-
bfd/elf64-tilegx.c | 3 +-
bfd/elf64-tilegx.h | 2 +-
bfd/elf64-x86-64.c | 71 +-
bfd/elf64.c | 2 +-
bfd/elfcode.h | 2 +-
bfd/elfcore.h | 2 +-
bfd/elflink.c | 65 +-
bfd/elfn32-mips.c | 3 +-
bfd/elfnn-aarch64.c | 52 +-
bfd/elfnn-ia64.c | 5 +-
bfd/elfnn-riscv.c | 37 +-
bfd/elfxx-aarch64.c | 2 +-
bfd/elfxx-aarch64.h | 2 +-
bfd/elfxx-ia64.c | 2 +-
bfd/elfxx-ia64.h | 2 +-
bfd/elfxx-mips.c | 46 +-
bfd/elfxx-mips.h | 2 +-
bfd/elfxx-riscv.c | 2 +-
bfd/elfxx-riscv.h | 2 +-
bfd/elfxx-sparc.c | 68 +-
bfd/elfxx-sparc.h | 6 +-
bfd/elfxx-target.h | 6 +-
bfd/elfxx-tilegx.c | 48 +-
bfd/elfxx-tilegx.h | 2 +-
bfd/epoc-pe-arm.c | 2 +-
bfd/epoc-pei-arm.c | 2 +-
bfd/format.c | 2 +-
bfd/freebsd.h | 2 +-
bfd/gen-aout.c | 2 +-
bfd/genlink.h | 2 +-
bfd/hash.c | 2 +-
bfd/host-aout.c | 2 +-
bfd/hosts/alphalinux.h | 2 +-
bfd/hosts/alphavms.h | 2 +-
bfd/hosts/decstation.h | 2 +-
bfd/hosts/delta68.h | 2 +-
bfd/hosts/dpx2.h | 2 +-
bfd/hosts/hp300bsd.h | 2 +-
bfd/hosts/i386bsd.h | 2 +-
bfd/hosts/i386linux.h | 2 +-
bfd/hosts/i386mach3.h | 2 +-
bfd/hosts/i386sco.h | 2 +-
bfd/hosts/i860mach3.h | 2 +-
bfd/hosts/m68kaux.h | 2 +-
bfd/hosts/m68klinux.h | 2 +-
bfd/hosts/m88kmach3.h | 2 +-
bfd/hosts/mipsbsd.h | 2 +-
bfd/hosts/mipsmach3.h | 2 +-
bfd/hosts/news-mips.h | 2 +-
bfd/hosts/news.h | 2 +-
bfd/hosts/pc532mach.h | 2 +-
bfd/hosts/riscos.h | 2 +-
bfd/hosts/symmetry.h | 2 +-
bfd/hosts/tahoe.h | 2 +-
bfd/hosts/vaxbsd.h | 2 +-
bfd/hosts/vaxlinux.h | 2 +-
bfd/hosts/vaxult.h | 2 +-
bfd/hosts/vaxult2.h | 2 +-
bfd/hosts/x86-64linux.h | 2 +-
bfd/hp300bsd.c | 2 +-
bfd/hp300hpux.c | 2 +-
bfd/hppabsd-core.c | 2 +-
bfd/hpux-core.c | 2 +-
bfd/i386aout.c | 2 +-
bfd/i386bsd.c | 2 +-
bfd/i386dynix.c | 2 +-
bfd/i386freebsd.c | 2 +-
bfd/i386linux.c | 2 +-
bfd/i386lynx.c | 2 +-
bfd/i386mach3.c | 2 +-
bfd/i386msdos.c | 2 +-
bfd/i386netbsd.c | 2 +-
bfd/i386os9k.c | 2 +-
bfd/ieee.c | 2 +-
bfd/ihex.c | 2 +-
bfd/init.c | 2 +-
bfd/irix-core.c | 2 +-
bfd/libaout.h | 2 +-
bfd/libbfd-in.h | 2 +-
bfd/libbfd.c | 2 +-
bfd/libbfd.h | 14 +-
bfd/libcoff-in.h | 2 +-
bfd/libcoff.h | 2 +-
bfd/libecoff.h | 2 +-
bfd/libhppa.h | 2 +-
bfd/libieee.h | 2 +-
bfd/libnlm.h | 2 +-
bfd/liboasys.h | 2 +-
bfd/libpei.h | 2 +-
bfd/libxcoff.h | 2 +-
bfd/linker.c | 2 +-
bfd/lynx-core.c | 2 +-
bfd/m68k4knetbsd.c | 2 +-
bfd/m68klinux.c | 2 +-
bfd/m68knetbsd.c | 2 +-
bfd/m88kmach3.c | 2 +-
bfd/m88kopenbsd.c | 2 +-
bfd/mach-o-aarch64.c | 2 +-
bfd/mach-o-arm.c | 2 +-
bfd/mach-o-i386.c | 2 +-
bfd/mach-o-target.c | 2 +-
bfd/mach-o-x86-64.c | 2 +-
bfd/mach-o.c | 2 +-
bfd/mach-o.h | 2 +-
bfd/makefile.vms | 2 +-
bfd/mep-relocs.pl | 2 +-
bfd/merge.c | 2 +-
bfd/mipsbsd.c | 2 +-
bfd/mmo.c | 2 +-
bfd/netbsd-core.c | 2 +-
bfd/netbsd.h | 2 +-
bfd/newsos3.c | 2 +-
bfd/nlm-target.h | 2 +-
bfd/nlm.c | 2 +-
bfd/nlm32-alpha.c | 2 +-
bfd/nlm32-i386.c | 2 +-
bfd/nlm32-ppc.c | 2 +-
bfd/nlm32-sparc.c | 2 +-
bfd/nlm32.c | 2 +-
bfd/nlm64.c | 2 +-
bfd/nlmcode.h | 2 +-
bfd/nlmswap.h | 2 +-
bfd/ns32k.h | 2 +-
bfd/ns32knetbsd.c | 2 +-
bfd/oasys.c | 2 +-
bfd/opncls.c | 2 +-
bfd/osf-core.c | 2 +-
bfd/pc532-mach.c | 2 +-
bfd/pdp11.c | 2 +-
bfd/pe-arm-wince.c | 2 +-
bfd/pe-arm.c | 2 +-
bfd/pe-i386.c | 2 +-
bfd/pe-mcore.c | 2 +-
bfd/pe-mips.c | 2 +-
bfd/pe-ppc.c | 2 +-
bfd/pe-sh.c | 2 +-
bfd/pe-x86_64.c | 2 +-
bfd/peXXigen.c | 2 +-
bfd/pef-traceback.h | 2 +-
bfd/pef.c | 2 +-
bfd/pef.h | 2 +-
bfd/pei-arm-wince.c | 2 +-
bfd/pei-arm.c | 2 +-
bfd/pei-i386.c | 2 +-
bfd/pei-ia64.c | 2 +-
bfd/pei-mcore.c | 2 +-
bfd/pei-mips.c | 2 +-
bfd/pei-ppc.c | 2 +-
bfd/pei-sh.c | 2 +-
bfd/pei-x86_64.c | 2 +-
bfd/peicode.h | 2 +-
bfd/plugin.c | 2 +-
bfd/plugin.h | 2 +-
bfd/po/Make-in | 2 +-
bfd/po/SRC-POTFILES.in | 2 +
bfd/ppcboot.c | 2 +-
bfd/ptrace-core.c | 2 +-
bfd/reloc.c | 50 +-
bfd/reloc16.c | 2 +-
bfd/riscix.c | 2 +-
bfd/rs6000-core.c | 2 +-
bfd/sco5-core.c | 2 +-
bfd/section.c | 2 +-
bfd/simple.c | 2 +-
bfd/som.c | 2 +-
bfd/som.h | 2 +-
bfd/sparclinux.c | 2 +-
bfd/sparclynx.c | 2 +-
bfd/sparcnetbsd.c | 2 +-
bfd/srec.c | 2 +-
bfd/stab-syms.c | 2 +-
bfd/stabs.c | 2 +-
bfd/sunos.c | 2 +-
bfd/syms.c | 2 +-
bfd/sysdep.h | 2 +-
bfd/targets.c | 5 +-
bfd/tekhex.c | 2 +-
bfd/trad-core.c | 2 +-
bfd/vax1knetbsd.c | 2 +-
bfd/vaxbsd.c | 2 +-
bfd/vaxnetbsd.c | 2 +-
bfd/verilog.c | 2 +-
bfd/versados.c | 2 +-
bfd/version.h | 2 +-
bfd/vms-alpha.c | 2 +-
bfd/vms-lib.c | 2 +-
bfd/vms-misc.c | 2 +-
bfd/vms.h | 2 +-
bfd/warning.m4 | 2 +-
bfd/xcofflink.c | 2 +-
bfd/xsym.c | 2 +-
bfd/xsym.h | 2 +-
bfd/xtensa-isa.c | 2 +-
bfd/xtensa-modules.c | 2 +-
binutils/BRANCHES | 2 +-
binutils/ChangeLog | 964 +--
binutils/ChangeLog-2016 | 985 ++
binutils/MAINTAINERS | 2 +-
binutils/Makefile.am | 2 +-
binutils/Makefile.in | 2 +-
binutils/NEWS | 2 +-
binutils/README | 2 +-
binutils/addr2line.c | 2 +-
binutils/ar.c | 2 +-
binutils/arlex.l | 2 +-
binutils/arparse.y | 2 +-
binutils/arsup.c | 2 +-
binutils/arsup.h | 2 +-
binutils/bfdtest1.c | 2 +-
binutils/bfdtest2.c | 2 +-
binutils/bin2c.c | 2 +-
binutils/binemul.c | 2 +-
binutils/binemul.h | 2 +-
binutils/bucomm.c | 2 +-
binutils/bucomm.h | 2 +-
binutils/budbg.h | 2 +-
binutils/coffdump.c | 2 +-
binutils/coffgrok.c | 2 +-
binutils/coffgrok.h | 2 +-
binutils/configure.ac | 2 +-
binutils/configure.com | 2 +-
binutils/configure.tgt | 2 +-
binutils/cxxfilt.c | 2 +-
binutils/debug.c | 2 +-
binutils/debug.h | 2 +-
binutils/deflex.l | 2 +-
binutils/defparse.y | 2 +-
binutils/dlltool.c | 2 +-
binutils/dlltool.h | 2 +-
binutils/dllwrap.c | 2 +-
binutils/doc/Makefile.am | 2 +-
binutils/doc/Makefile.in | 2 +-
binutils/doc/binutils.texi | 2 +-
binutils/dwarf-mode.el | 2 +-
binutils/dwarf.c | 2 +-
binutils/dwarf.h | 2 +-
binutils/elfcomm.c | 2 +-
binutils/elfcomm.h | 2 +-
binutils/elfedit.c | 2 +-
binutils/embedspu.sh | 2 +-
binutils/emul_aix.c | 2 +-
binutils/emul_vanilla.c | 2 +-
binutils/filemode.c | 2 +-
binutils/ieee.c | 2 +-
binutils/is-ranlib.c | 2 +-
binutils/is-strip.c | 2 +-
binutils/makefile.vms | 2 +-
binutils/maybe-ranlib.c | 2 +-
binutils/maybe-strip.c | 2 +-
binutils/mclex.c | 2 +-
binutils/mcparse.y | 2 +-
binutils/nlmconv.c | 2 +-
binutils/nlmconv.h | 2 +-
binutils/nlmheader.y | 2 +-
binutils/nm.c | 2 +-
binutils/not-ranlib.c | 2 +-
binutils/not-strip.c | 2 +-
binutils/objcopy.c | 2 +-
binutils/objdump.c | 2 +-
binutils/objdump.h | 2 +-
binutils/od-elf32_avr.c | 2 +-
binutils/od-macho.c | 2 +-
binutils/od-xcoff.c | 2 +-
binutils/po/Make-in | 2 +-
binutils/prdbg.c | 2 +-
binutils/ranlib.sh | 2 +-
binutils/rclex.c | 2 +-
binutils/rcparse.y | 2 +-
binutils/rdcoff.c | 2 +-
binutils/rddbg.c | 2 +-
binutils/readelf.c | 18 +-
binutils/rename.c | 2 +-
binutils/resbin.c | 2 +-
binutils/rescoff.c | 2 +-
binutils/resrc.c | 2 +-
binutils/resres.c | 2 +-
binutils/sanity.sh | 2 +-
binutils/size.c | 2 +-
binutils/srconv.c | 2 +-
binutils/stabs.c | 2 +-
binutils/strings.c | 2 +-
binutils/sysdep.h | 2 +-
binutils/sysdump.c | 2 +-
binutils/sysinfo.y | 2 +-
binutils/syslex.l | 2 +-
binutils/syslex_wrap.c | 2 +-
.../testsuite/binutils-all/aarch64/aarch64.exp | 2 +-
binutils/testsuite/binutils-all/ar.exp | 2 +-
binutils/testsuite/binutils-all/arc/objdump.exp | 2 +-
binutils/testsuite/binutils-all/arm/objdump.exp | 2 +-
binutils/testsuite/binutils-all/bfin/objdump.exp | 2 +-
binutils/testsuite/binutils-all/compress.exp | 2 +-
binutils/testsuite/binutils-all/dlltool.exp | 2 +-
binutils/testsuite/binutils-all/dw2-1.S | 2 +-
binutils/testsuite/binutils-all/dw2-2.S | 2 +-
binutils/testsuite/binutils-all/dw2-3.S | 2 +-
binutils/testsuite/binutils-all/dw2-compressed.S | 2 +-
binutils/testsuite/binutils-all/dw2-ranges.S | 2 +-
binutils/testsuite/binutils-all/elfedit.exp | 2 +-
binutils/testsuite/binutils-all/hppa/objdump.exp | 2 +-
binutils/testsuite/binutils-all/i386/i386.exp | 2 +-
binutils/testsuite/binutils-all/m68k/objdump.exp | 2 +-
binutils/testsuite/binutils-all/mips/mips.exp | 2 +-
binutils/testsuite/binutils-all/nm.exp | 2 +-
binutils/testsuite/binutils-all/objcopy.exp | 2 +-
binutils/testsuite/binutils-all/objdump.exp | 2 +-
binutils/testsuite/binutils-all/readelf.exp | 2 +-
binutils/testsuite/binutils-all/size.exp | 2 +-
binutils/testsuite/binutils-all/update-section.exp | 2 +-
binutils/testsuite/binutils-all/vax/objdump.exp | 2 +-
binutils/testsuite/binutils-all/windres/README | 2 +-
binutils/testsuite/binutils-all/windres/msupdate | 2 +-
.../testsuite/binutils-all/windres/windres.exp | 2 +-
binutils/testsuite/binutils-all/x86-64/x86-64.exp | 2 +-
binutils/testsuite/config/default.exp | 2 +-
binutils/testsuite/lib/binutils-common.exp | 2 +-
binutils/testsuite/lib/utils-lib.exp | 2 +-
binutils/unwind-ia64.c | 2 +-
binutils/unwind-ia64.h | 2 +-
binutils/version.c | 4 +-
binutils/windint.h | 2 +-
binutils/windmc.c | 2 +-
binutils/windmc.h | 2 +-
binutils/windres.c | 2 +-
binutils/windres.h | 2 +-
binutils/winduni.c | 2 +-
binutils/winduni.h | 2 +-
binutils/wrstabs.c | 2 +-
config.sub | 11 +-
elfcpp/ChangeLog | 59 +-
elfcpp/ChangeLog-2016 | 75 +
elfcpp/README | 2 +-
elfcpp/aarch64.h | 2 +-
elfcpp/arm.h | 2 +-
elfcpp/dwarf.h | 2 +-
elfcpp/elfcpp.h | 3 +-
elfcpp/elfcpp_file.h | 2 +-
elfcpp/elfcpp_internal.h | 2 +-
elfcpp/elfcpp_swap.h | 2 +-
elfcpp/i386.h | 2 +-
elfcpp/mips.h | 2 +-
elfcpp/powerpc.h | 2 +-
elfcpp/s390.h | 2 +-
elfcpp/sparc.h | 2 +-
elfcpp/tilegx.h | 2 +-
elfcpp/x86_64.h | 2 +-
gas/CONTRIBUTORS | 2 +-
gas/ChangeLog | 5974 +------------
gas/ChangeLog-2016 | 6024 ++++++++++++
gas/MAINTAINERS | 2 +-
gas/Makefile.am | 4 +-
gas/Makefile.in | 19 +-
gas/NEWS | 4 +-
gas/README | 2 +-
gas/app.c | 2 +-
gas/as.c | 4 +-
gas/as.h | 2 +-
gas/asintl.h | 2 +-
gas/atof-generic.c | 2 +-
gas/bignum.h | 2 +-
gas/bit_fix.h | 2 +-
gas/cgen.c | 2 +-
gas/cgen.h | 2 +-
gas/compress-debug.c | 2 +-
gas/compress-debug.h | 2 +-
gas/cond.c | 2 +-
gas/config/aout_gnu.h | 2 +-
gas/config/atof-ieee.c | 2 +-
gas/config/atof-vax.c | 2 +-
gas/config/bfin-aux.h | 2 +-
gas/config/bfin-defs.h | 2 +-
gas/config/bfin-lex-wrapper.c | 2 +-
gas/config/bfin-lex.l | 2 +-
gas/config/bfin-parse.y | 2 +-
gas/config/e-crisaout.c | 2 +-
gas/config/e-criself.c | 2 +-
gas/config/e-i386aout.c | 2 +-
gas/config/e-i386coff.c | 2 +-
gas/config/e-i386elf.c | 2 +-
gas/config/e-mipself.c | 2 +-
gas/config/itbl-mips.h | 2 +-
gas/config/m68k-parse.h | 2 +-
gas/config/m68k-parse.y | 2 +-
gas/config/obj-aout.c | 2 +-
gas/config/obj-aout.h | 2 +-
gas/config/obj-coff-seh.c | 2 +-
gas/config/obj-coff-seh.h | 2 +-
gas/config/obj-coff.c | 2 +-
gas/config/obj-coff.h | 2 +-
gas/config/obj-ecoff.c | 2 +-
gas/config/obj-ecoff.h | 2 +-
gas/config/obj-elf.c | 6 +-
gas/config/obj-elf.h | 2 +-
gas/config/obj-evax.c | 2 +-
gas/config/obj-evax.h | 2 +-
gas/config/obj-fdpicelf.c | 2 +-
gas/config/obj-fdpicelf.h | 2 +-
gas/config/obj-macho.c | 2 +-
gas/config/obj-macho.h | 2 +-
gas/config/obj-multi.c | 2 +-
gas/config/obj-multi.h | 2 +-
gas/config/obj-som.c | 2 +-
gas/config/obj-som.h | 2 +-
gas/config/rl78-defs.h | 2 +-
gas/config/rl78-parse.y | 2 +-
gas/config/rx-defs.h | 2 +-
gas/config/rx-parse.y | 2 +-
gas/config/tc-aarch64.c | 2 +-
gas/config/tc-aarch64.h | 2 +-
gas/config/tc-alpha.c | 2 +-
gas/config/tc-alpha.h | 2 +-
gas/config/tc-arc.c | 2 +-
gas/config/tc-arc.h | 2 +-
gas/config/tc-arm.c | 2 +-
gas/config/tc-arm.h | 2 +-
gas/config/tc-avr.c | 2 +-
gas/config/tc-avr.h | 2 +-
gas/config/tc-bfin.c | 2 +-
gas/config/tc-bfin.h | 2 +-
gas/config/tc-cr16.c | 2 +-
gas/config/tc-cr16.h | 2 +-
gas/config/tc-cris.c | 2 +-
gas/config/tc-cris.h | 2 +-
gas/config/tc-crx.c | 2 +-
gas/config/tc-crx.h | 2 +-
gas/config/tc-d10v.c | 2 +-
gas/config/tc-d10v.h | 2 +-
gas/config/tc-d30v.c | 2 +-
gas/config/tc-d30v.h | 2 +-
gas/config/tc-dlx.c | 2 +-
gas/config/tc-dlx.h | 2 +-
gas/config/tc-epiphany.c | 2 +-
gas/config/tc-epiphany.h | 2 +-
gas/config/tc-fr30.c | 2 +-
gas/config/tc-fr30.h | 2 +-
gas/config/tc-frv.c | 2 +-
gas/config/tc-frv.h | 2 +-
gas/config/tc-ft32.c | 2 +-
gas/config/tc-ft32.h | 2 +-
gas/config/tc-generic.c | 2 +-
gas/config/tc-generic.h | 2 +-
gas/config/tc-h8300.c | 2 +-
gas/config/tc-h8300.h | 2 +-
gas/config/tc-hppa.c | 2 +-
gas/config/tc-hppa.h | 2 +-
gas/config/tc-i370.c | 2 +-
gas/config/tc-i370.h | 2 +-
gas/config/tc-i386-intel.c | 2 +-
gas/config/tc-i386.c | 2 +-
gas/config/tc-i386.h | 2 +-
gas/config/tc-i860.c | 2 +-
gas/config/tc-i860.h | 2 +-
gas/config/tc-i960.c | 2 +-
gas/config/tc-i960.h | 2 +-
gas/config/tc-ia64.c | 2 +-
gas/config/tc-ia64.h | 2 +-
gas/config/tc-ip2k.c | 2 +-
gas/config/tc-ip2k.h | 2 +-
gas/config/tc-iq2000.c | 2 +-
gas/config/tc-iq2000.h | 2 +-
gas/config/tc-lm32.c | 2 +-
gas/config/tc-lm32.h | 2 +-
gas/config/tc-m32c.c | 2 +-
gas/config/tc-m32c.h | 2 +-
gas/config/tc-m32r.c | 2 +-
gas/config/tc-m32r.h | 2 +-
gas/config/tc-m68851.h | 2 +-
gas/config/tc-m68hc11.c | 2 +-
gas/config/tc-m68hc11.h | 2 +-
gas/config/tc-m68k.c | 2 +-
gas/config/tc-m68k.h | 2 +-
gas/config/tc-mcore.c | 2 +-
gas/config/tc-mcore.h | 2 +-
gas/config/tc-mep.c | 2 +-
gas/config/tc-mep.h | 2 +-
gas/config/tc-metag.c | 2 +-
gas/config/tc-metag.h | 2 +-
gas/config/tc-microblaze.c | 2 +-
gas/config/tc-microblaze.h | 2 +-
gas/config/tc-mips.c | 2 +-
gas/config/tc-mips.h | 2 +-
gas/config/tc-mmix.c | 2 +-
gas/config/tc-mmix.h | 2 +-
gas/config/tc-mn10200.c | 2 +-
gas/config/tc-mn10200.h | 2 +-
gas/config/tc-mn10300.c | 2 +-
gas/config/tc-mn10300.h | 2 +-
gas/config/tc-moxie.c | 2 +-
gas/config/tc-moxie.h | 2 +-
gas/config/tc-msp430.c | 2 +-
gas/config/tc-msp430.h | 2 +-
gas/config/tc-mt.c | 2 +-
gas/config/tc-mt.h | 2 +-
gas/config/tc-nds32.c | 2 +-
gas/config/tc-nds32.h | 2 +-
gas/config/tc-nios2.c | 2 +-
gas/config/tc-nios2.h | 2 +-
gas/config/tc-ns32k.c | 2 +-
gas/config/tc-ns32k.h | 2 +-
gas/config/tc-or1k.c | 2 +-
gas/config/tc-or1k.h | 2 +-
gas/config/tc-pdp11.c | 2 +-
gas/config/tc-pdp11.h | 2 +-
gas/config/tc-pj.c | 2 +-
gas/config/tc-pj.h | 2 +-
gas/config/tc-ppc.c | 2 +-
gas/config/tc-ppc.h | 2 +-
gas/config/tc-pru.c | 1946 ++++
gas/config/tc-pru.h | 154 +
gas/config/tc-riscv.c | 2 +-
gas/config/tc-riscv.h | 2 +-
gas/config/tc-rl78.c | 2 +-
gas/config/tc-rl78.h | 2 +-
gas/config/tc-rx.c | 2 +-
gas/config/tc-rx.h | 2 +-
gas/config/tc-s390.c | 2 +-
gas/config/tc-s390.h | 2 +-
gas/config/tc-score.c | 2 +-
gas/config/tc-score.h | 2 +-
gas/config/tc-score7.c | 2 +-
gas/config/tc-sh.c | 2 +-
gas/config/tc-sh.h | 2 +-
gas/config/tc-sh64.c | 2 +-
gas/config/tc-sh64.h | 2 +-
gas/config/tc-sparc.c | 2 +-
gas/config/tc-sparc.h | 2 +-
gas/config/tc-spu.c | 2 +-
gas/config/tc-spu.h | 2 +-
gas/config/tc-tic30.c | 2 +-
gas/config/tc-tic30.h | 2 +-
gas/config/tc-tic4x.c | 2 +-
gas/config/tc-tic4x.h | 2 +-
gas/config/tc-tic54x.c | 2 +-
gas/config/tc-tic54x.h | 2 +-
gas/config/tc-tic6x.c | 2 +-
gas/config/tc-tic6x.h | 2 +-
gas/config/tc-tilegx.c | 2 +-
gas/config/tc-tilegx.h | 2 +-
gas/config/tc-tilepro.c | 2 +-
gas/config/tc-tilepro.h | 2 +-
gas/config/tc-v850.c | 2 +-
gas/config/tc-v850.h | 2 +-
gas/config/tc-vax.c | 2 +-
gas/config/tc-vax.h | 2 +-
gas/config/tc-visium.c | 2 +-
gas/config/tc-visium.h | 2 +-
gas/config/tc-xc16x.c | 2 +-
gas/config/tc-xc16x.h | 2 +-
gas/config/tc-xgate.c | 2 +-
gas/config/tc-xgate.h | 2 +-
gas/config/tc-xstormy16.c | 2 +-
gas/config/tc-xstormy16.h | 2 +-
gas/config/tc-xtensa.c | 2 +-
gas/config/tc-xtensa.h | 2 +-
gas/config/tc-z80.c | 2 +-
gas/config/tc-z80.h | 2 +-
gas/config/tc-z8k.c | 2 +-
gas/config/tc-z8k.h | 2 +-
gas/config/te-386bsd.h | 2 +-
gas/config/te-aix.h | 2 +-
gas/config/te-aix5.h | 2 +-
gas/config/te-armeabi.h | 2 +-
gas/config/te-armfbsdeabi.h | 2 +-
gas/config/te-armfbsdvfp.h | 2 +-
gas/config/te-armlinuxeabi.h | 2 +-
gas/config/te-dragonfly.h | 2 +-
gas/config/te-dynix.h | 2 +-
gas/config/te-epoc-pe.h | 2 +-
gas/config/te-freebsd.h | 2 +-
gas/config/te-generic.h | 2 +-
gas/config/te-gnu.h | 2 +-
gas/config/te-go32.h | 2 +-
gas/config/te-hppa.h | 2 +-
gas/config/te-hppa64.h | 2 +-
gas/config/te-hppalinux64.h | 2 +-
gas/config/te-hpux.h | 2 +-
gas/config/te-i386aix.h | 2 +-
gas/config/te-ia64aix.h | 2 +-
gas/config/te-interix.h | 2 +-
gas/config/te-irix.h | 2 +-
gas/config/te-linux.h | 2 +-
gas/config/te-lynx.h | 2 +-
gas/config/te-mach.h | 2 +-
gas/config/te-macos.h | 2 +-
gas/config/te-nacl.h | 2 +-
gas/config/te-nbsd.h | 2 +-
gas/config/te-nbsd532.h | 2 +-
gas/config/te-netware.h | 2 +-
gas/config/te-pc532mach.h | 2 +-
gas/config/te-pe.h | 2 +-
gas/config/te-pep.h | 2 +-
gas/config/te-psos.h | 2 +-
gas/config/te-riscix.h | 2 +-
gas/config/te-solaris.h | 2 +-
gas/config/te-sparcaout.h | 2 +-
gas/config/te-sun3.h | 2 +-
gas/config/te-svr4.h | 2 +-
gas/config/te-symbian.h | 2 +-
gas/config/te-tmips.h | 2 +-
gas/config/te-uclinux.h | 2 +-
gas/config/te-vms.c | 2 +-
gas/config/te-vms.h | 2 +-
gas/config/te-vxworks.h | 2 +-
gas/config/te-wince-pe.h | 2 +-
gas/config/vax-inst.h | 2 +-
gas/config/xtensa-istack.h | 2 +-
gas/config/xtensa-relax.c | 2 +-
gas/config/xtensa-relax.h | 2 +-
gas/configure.ac | 2 +-
gas/configure.com | 2 +-
gas/configure.tgt | 4 +-
gas/debug.c | 2 +-
gas/depend.c | 2 +-
gas/doc/Makefile.am | 3 +-
gas/doc/Makefile.in | 3 +-
gas/doc/all.texi | 3 +-
gas/doc/as.texinfo | 38 +-
gas/doc/c-aarch64.texi | 2 +-
gas/doc/c-alpha.texi | 2 +-
gas/doc/c-arc.texi | 2 +-
gas/doc/c-arm.texi | 2 +-
gas/doc/c-avr.texi | 2 +-
gas/doc/c-bfin.texi | 2 +-
gas/doc/c-cr16.texi | 2 +-
gas/doc/c-cris.texi | 2 +-
gas/doc/c-d10v.texi | 2 +-
gas/doc/c-d30v.texi | 2 +-
gas/doc/c-epiphany.texi | 2 +-
gas/doc/c-h8300.texi | 2 +-
gas/doc/c-hppa.texi | 2 +-
gas/doc/c-i370.texi | 2 +-
gas/doc/c-i386.texi | 2 +-
gas/doc/c-i860.texi | 2 +-
gas/doc/c-i960.texi | 2 +-
gas/doc/c-ia64.texi | 2 +-
gas/doc/c-ip2k.texi | 2 +-
gas/doc/c-lm32.texi | 2 +-
gas/doc/c-m32c.texi | 2 +-
gas/doc/c-m32r.texi | 2 +-
gas/doc/c-m68hc11.texi | 2 +-
gas/doc/c-m68k.texi | 2 +-
gas/doc/c-metag.texi | 2 +-
gas/doc/c-microblaze.texi | 2 +-
gas/doc/c-mips.texi | 2 +-
gas/doc/c-mmix.texi | 2 +-
gas/doc/c-msp430.texi | 2 +-
gas/doc/c-mt.texi | 2 +-
gas/doc/c-nds32.texi | 2 +-
gas/doc/c-nios2.texi | 2 +-
gas/doc/c-ns32k.texi | 2 +-
gas/doc/c-pdp11.texi | 2 +-
gas/doc/c-pj.texi | 2 +-
gas/doc/c-ppc.texi | 2 +-
gas/doc/c-pru.texi | 150 +
gas/doc/c-riscv.texi | 2 +-
gas/doc/c-rl78.texi | 2 +-
gas/doc/c-rx.texi | 2 +-
gas/doc/c-s390.texi | 2 +-
gas/doc/c-score.texi | 2 +-
gas/doc/c-sh.texi | 2 +-
gas/doc/c-sh64.texi | 2 +-
gas/doc/c-sparc.texi | 2 +-
gas/doc/c-tic54x.texi | 2 +-
gas/doc/c-tic6x.texi | 2 +-
gas/doc/c-tilegx.texi | 2 +-
gas/doc/c-tilepro.texi | 2 +-
gas/doc/c-v850.texi | 2 +-
gas/doc/c-vax.texi | 2 +-
gas/doc/c-visium.texi | 2 +-
gas/doc/c-xc16x.texi | 2 +-
gas/doc/c-xgate.texi | 2 +-
gas/doc/c-xstormy16.texi | 2 +-
gas/doc/c-xtensa.texi | 2 +-
gas/doc/c-z80.texi | 2 +-
gas/doc/c-z8k.texi | 2 +-
gas/doc/h8.texi | 2 +-
gas/doc/internals.texi | 2 +-
gas/dw2gencfi.c | 2 +-
gas/dw2gencfi.h | 2 +-
gas/dwarf2dbg.c | 2 +-
gas/dwarf2dbg.h | 2 +-
gas/ecoff.c | 2 +-
gas/ecoff.h | 2 +-
gas/ehopt.c | 2 +-
gas/emul-target.h | 2 +-
gas/emul.h | 2 +-
gas/expr.c | 2 +-
gas/expr.h | 2 +-
gas/flonum-copy.c | 2 +-
gas/flonum-konst.c | 2 +-
gas/flonum-mult.c | 2 +-
gas/flonum.h | 2 +-
gas/frags.c | 2 +-
gas/frags.h | 2 +-
gas/hash.c | 2 +-
gas/hash.h | 2 +-
gas/input-file.c | 2 +-
gas/input-file.h | 2 +-
gas/input-scrub.c | 2 +-
gas/itbl-lex-wrapper.c | 2 +-
gas/itbl-lex.h | 2 +-
gas/itbl-lex.l | 2 +-
gas/itbl-ops.c | 2 +-
gas/itbl-ops.h | 2 +-
gas/itbl-parse.y | 2 +-
gas/listing.c | 2 +-
gas/listing.h | 2 +-
gas/literal.c | 2 +-
gas/macro.c | 2 +-
gas/macro.h | 2 +-
gas/makefile.vms | 2 +-
gas/messages.c | 2 +-
gas/obj.h | 2 +-
gas/output-file.c | 2 +-
gas/output-file.h | 2 +-
gas/po/Make-in | 2 +-
gas/po/POTFILES.in | 2 +
gas/read.c | 2 +-
gas/read.h | 2 +-
gas/remap.c | 2 +-
gas/sb.c | 2 +-
gas/sb.h | 2 +-
gas/stabs.c | 2 +-
gas/struc-symbol.h | 2 +-
gas/subsegs.c | 2 +-
gas/subsegs.h | 2 +-
gas/symbols.c | 2 +-
gas/symbols.h | 2 +-
gas/tc.h | 2 +-
gas/testsuite/config/default.exp | 2 +-
gas/testsuite/gas/aarch64/aarch64.exp | 2 +-
gas/testsuite/gas/aarch64/addsub.s | 2 +-
gas/testsuite/gas/aarch64/advsimd-across.s | 2 +-
gas/testsuite/gas/aarch64/advsimd-misc.s | 2 +-
gas/testsuite/gas/aarch64/advsisd-copy.s | 2 +-
gas/testsuite/gas/aarch64/advsisd-misc.s | 2 +-
gas/testsuite/gas/aarch64/alias.s | 2 +-
gas/testsuite/gas/aarch64/bitfield-alias.s | 2 +-
gas/testsuite/gas/aarch64/bitfield-bfm.s | 2 +-
gas/testsuite/gas/aarch64/crc32.s | 2 +-
gas/testsuite/gas/aarch64/crypto.s | 2 +-
gas/testsuite/gas/aarch64/floatdp2.s | 2 +-
gas/testsuite/gas/aarch64/fp-const0-parse.s | 2 +-
gas/testsuite/gas/aarch64/fp_cvt_int.s | 2 +-
gas/testsuite/gas/aarch64/illegal-lse.s | 2 +-
gas/testsuite/gas/aarch64/illegal.s | 2 +-
gas/testsuite/gas/aarch64/ldst-exclusive.s | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.s | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.s | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-pair.s | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-reg-offset.s | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-uns-imm.s | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.s | 2 +-
gas/testsuite/gas/aarch64/lor.s | 2 +-
gas/testsuite/gas/aarch64/lse-atomic.s | 2 +-
gas/testsuite/gas/aarch64/msr.s | 2 +-
gas/testsuite/gas/aarch64/neon-fp-cvt-int.s | 2 +-
gas/testsuite/gas/aarch64/pan.s | 2 +-
gas/testsuite/gas/aarch64/rdma.s | 2 +-
gas/testsuite/gas/aarch64/rm-simd-ext.s | 2 +-
gas/testsuite/gas/aarch64/shifted.s | 2 +-
gas/testsuite/gas/aarch64/sysreg-1.s | 2 +-
gas/testsuite/gas/aarch64/tls.s | 2 +-
gas/testsuite/gas/aarch64/uao.s | 2 +-
gas/testsuite/gas/aarch64/virthostext.s | 2 +-
gas/testsuite/gas/all/gas.exp | 2 +-
gas/testsuite/gas/all/itbl-test.c | 2 +-
gas/testsuite/gas/all/test-example.c | 2 +-
gas/testsuite/gas/all/test-gen.c | 2 +-
gas/testsuite/gas/alpha/alpha.exp | 2 +-
gas/testsuite/gas/arc/arc.exp | 2 +-
gas/testsuite/gas/arc/warn.exp | 2 +-
gas/testsuite/gas/arm/arm.exp | 2 +-
gas/testsuite/gas/arm/maverick.c | 2 +-
gas/testsuite/gas/avr/avr.exp | 2 +-
gas/testsuite/gas/bfin/bfin.exp | 2 +-
gas/testsuite/gas/bfin/error.exp | 2 +-
gas/testsuite/gas/cfi/cfi.exp | 2 +-
gas/testsuite/gas/cr16/cr16.exp | 2 +-
gas/testsuite/gas/cr16/pic.exp | 2 +-
gas/testsuite/gas/cris/cris.exp | 2 +-
gas/testsuite/gas/crx/allinsn.exp | 2 +-
gas/testsuite/gas/d10v/d10v.exp | 2 +-
gas/testsuite/gas/d30v/d30.exp | 2 +-
gas/testsuite/gas/dlx/alltests.exp | 2 +-
gas/testsuite/gas/elf/dwarf2-1.s | 2 +-
gas/testsuite/gas/elf/dwarf2-2.s | 2 +-
gas/testsuite/gas/elf/elf.exp | 2 +-
gas/testsuite/gas/epiphany/allinsn.exp | 2 +-
gas/testsuite/gas/fr30/allinsn.exp | 2 +-
gas/testsuite/gas/fr30/fr30.exp | 2 +-
gas/testsuite/gas/frv/allinsn.exp | 2 +-
gas/testsuite/gas/ft32/ft32.exp | 2 +-
gas/testsuite/gas/h8300/h8300-coff.exp | 2 +-
gas/testsuite/gas/h8300/h8300-elf.exp | 2 +-
gas/testsuite/gas/h8300/h8300.exp | 2 +-
gas/testsuite/gas/h8300/t01_mov.exp | 2 +-
gas/testsuite/gas/h8300/t02_mova.exp | 2 +-
gas/testsuite/gas/h8300/t03_add.exp | 2 +-
gas/testsuite/gas/h8300/t04_sub.exp | 2 +-
gas/testsuite/gas/h8300/t05_cmp.exp | 2 +-
gas/testsuite/gas/h8300/t06_ari2.exp | 2 +-
gas/testsuite/gas/h8300/t07_ari3.exp | 2 +-
gas/testsuite/gas/h8300/t08_or.exp | 2 +-
gas/testsuite/gas/h8300/t09_xor.exp | 2 +-
gas/testsuite/gas/h8300/t10_and.exp | 2 +-
gas/testsuite/gas/h8300/t11_logs.exp | 2 +-
gas/testsuite/gas/h8300/t12_bit.exp | 2 +-
gas/testsuite/gas/h8300/t13_otr.exp | 2 +-
gas/testsuite/gas/hppa/README | 2 +-
gas/testsuite/gas/hppa/basic/basic.exp | 2 +-
gas/testsuite/gas/hppa/parse/parse.exp | 2 +-
gas/testsuite/gas/hppa/reloc/reloc.exp | 2 +-
gas/testsuite/gas/hppa/unsorted/unsorted.exp | 2 +-
gas/testsuite/gas/i386/dw2-compress-1.s | 2 +-
gas/testsuite/gas/i386/i386.exp | 2 +-
gas/testsuite/gas/i386/ilp32/cfi/ilp32.exp | 2 +-
gas/testsuite/gas/i386/ilp32/elf/ilp32.exp | 2 +-
gas/testsuite/gas/i386/ilp32/ilp32.exp | 2 +-
gas/testsuite/gas/i386/ilp32/lns/ilp32.exp | 2 +-
gas/testsuite/gas/i860/README.i860 | 2 +-
gas/testsuite/gas/i860/i860.exp | 2 +-
gas/testsuite/gas/ia64/ia64.exp | 2 +-
gas/testsuite/gas/ieee-fp/x930509a.exp | 2 +-
gas/testsuite/gas/iq2000/allinsn.exp | 2 +-
gas/testsuite/gas/iq2000/load-hazards.exp | 2 +-
gas/testsuite/gas/iq2000/odd-ldw.exp | 2 +-
gas/testsuite/gas/iq2000/odd-sdw.exp | 2 +-
gas/testsuite/gas/iq2000/yield.exp | 2 +-
gas/testsuite/gas/lm32/all.exp | 2 +-
gas/testsuite/gas/lns/lns.exp | 3 +-
gas/testsuite/gas/m32r/allinsn.exp | 2 +-
gas/testsuite/gas/m32r/error.exp | 2 +-
gas/testsuite/gas/m32r/m32r2.exp | 2 +-
gas/testsuite/gas/m32r/m32rx.exp | 2 +-
gas/testsuite/gas/m32r/pic.exp | 2 +-
gas/testsuite/gas/m32r/rel32.exp | 2 +-
gas/testsuite/gas/m68hc11/m68hc11.exp | 2 +-
gas/testsuite/gas/m68k-coff/gas.exp | 2 +-
gas/testsuite/gas/m68k/all.exp | 2 +-
gas/testsuite/gas/mach-o/mach-o.exp | 2 +-
gas/testsuite/gas/macros/macros.exp | 2 +-
gas/testsuite/gas/mcore/allinsn.exp | 2 +-
gas/testsuite/gas/mep/allinsn.exp | 2 +-
gas/testsuite/gas/mep/complex-relocs.exp | 2 +-
gas/testsuite/gas/metag/metag.exp | 2 +-
gas/testsuite/gas/microblaze/allinsn.exp | 2 +-
gas/testsuite/gas/microblaze/endian.exp | 2 +-
gas/testsuite/gas/microblaze/reloc_sym.exp | 2 +-
gas/testsuite/gas/microblaze/special_reg.exp | 2 +-
gas/testsuite/gas/mips/mips.exp | 2 +-
gas/testsuite/gas/mmix/mmix-err.exp | 2 +-
gas/testsuite/gas/mmix/mmix-list.exp | 2 +-
gas/testsuite/gas/mmix/mmix.exp | 2 +-
gas/testsuite/gas/mn10200/basic.exp | 2 +-
gas/testsuite/gas/mn10300/am33-2.c | 2 +-
gas/testsuite/gas/mn10300/basic.exp | 2 +-
gas/testsuite/gas/mri/mri.exp | 2 +-
gas/testsuite/gas/msp430/msp430.exp | 2 +-
gas/testsuite/gas/mt/errors.exp | 2 +-
gas/testsuite/gas/mt/mt.exp | 2 +-
gas/testsuite/gas/mt/relocs.exp | 2 +-
gas/testsuite/gas/nds32/nds32.exp | 2 +-
gas/testsuite/gas/nios2/nios2.exp | 2 +-
gas/testsuite/gas/pdp11/absreloc.s | 2 +-
gas/testsuite/gas/pdp11/opcode.s | 2 +-
gas/testsuite/gas/pdp11/pdp11.exp | 2 +-
gas/testsuite/gas/pe/pe.exp | 2 +-
gas/testsuite/gas/pj/pj.exp | 2 +-
gas/testsuite/gas/ppc/aix.exp | 2 +-
gas/testsuite/gas/ppc/ppc.exp | 2 +-
gas/testsuite/gas/pru/alu.d | 32 +
gas/testsuite/gas/pru/alu.s | 30 +
gas/testsuite/gas/pru/branch.d | 63 +
gas/testsuite/gas/pru/branch.s | 42 +
gas/testsuite/gas/pru/illegal.l | 5 +
gas/testsuite/gas/pru/illegal.s | 11 +
gas/testsuite/gas/pru/ldi.d | 17 +
gas/testsuite/gas/pru/ldi.s | 9 +
gas/testsuite/gas/pru/ldst.d | 33 +
gas/testsuite/gas/pru/ldst.s | 37 +
gas/testsuite/gas/pru/loop.d | 15 +
gas/testsuite/gas/pru/loop.s | 10 +
gas/testsuite/gas/pru/misc.d | 11 +
gas/testsuite/gas/pru/misc.s | 6 +
gas/testsuite/gas/pru/pru.exp | 26 +
gas/testsuite/gas/pru/pseudo.d | 15 +
gas/testsuite/gas/pru/pseudo.s | 10 +
gas/testsuite/gas/pru/warn_reglabel.l | 3 +
gas/testsuite/gas/pru/warn_reglabel.s | 6 +
gas/testsuite/gas/pru/xfr.d | 44 +
gas/testsuite/gas/pru/xfr.s | 52 +
gas/testsuite/gas/riscv/riscv.exp | 2 +-
gas/testsuite/gas/rl78/rl78.exp | 2 +-
gas/testsuite/gas/rx/make-d | 2 +-
gas/testsuite/gas/rx/rx.exp | 2 +-
gas/testsuite/gas/score/relax.exp | 2 +-
gas/testsuite/gas/score/relax_32.exp | 2 +-
gas/testsuite/gas/sh/arch/arch.exp | 2 +-
gas/testsuite/gas/sh/basic.exp | 2 +-
gas/testsuite/gas/sh/err.exp | 2 +-
gas/testsuite/gas/sh/sh64/sh64.exp | 2 +-
gas/testsuite/gas/sparc-solaris/addend.exp | 2 +-
gas/testsuite/gas/sparc-solaris/gas.exp | 2 +-
gas/testsuite/gas/sparc/mismatch.exp | 2 +-
gas/testsuite/gas/sparc/sparc.exp | 2 +-
gas/testsuite/gas/sun4/addend.exp | 2 +-
gas/testsuite/gas/symver/symver.exp | 2 +-
gas/testsuite/gas/tic4x/tic4x.exp | 2 +-
gas/testsuite/gas/tic54x/tic54x.exp | 2 +-
gas/testsuite/gas/tic6x/tic6x.exp | 2 +-
gas/testsuite/gas/tilegx/tilegx.exp | 2 +-
gas/testsuite/gas/tilepro/tilepro.exp | 2 +-
gas/testsuite/gas/v850/basic.exp | 2 +-
gas/testsuite/gas/vax/vax.exp | 2 +-
gas/testsuite/gas/visium/error.exp | 2 +-
gas/testsuite/gas/visium/visium.exp | 2 +-
gas/testsuite/gas/xc16x/xc16x.exp | 2 +-
gas/testsuite/gas/xgate/xgate.exp | 2 +-
gas/testsuite/gas/xstormy16/allinsn.exp | 2 +-
gas/testsuite/gas/xtensa/all.exp | 2 +-
gas/testsuite/gas/xtensa/xtensa-err.exp | 2 +-
gas/testsuite/gas/z80/z80.exp | 2 +-
gas/testsuite/gas/z8k/z8k.exp | 2 +-
gas/testsuite/lib/gas-defs.exp | 2 +-
gas/testsuite/lib/gas-dg.exp | 2 +-
gas/write.c | 2 +-
gas/write.h | 2 +-
gdb/.dir-locals.el | 2 +-
gdb/ChangeLog |10287 +-------------------
gdb/{ChangeLog => ChangeLog-2016} | 0
gdb/Makefile.in | 2 +-
gdb/aarch32-linux-nat.c | 2 +-
gdb/aarch32-linux-nat.h | 2 +-
gdb/aarch64-linux-nat.c | 2 +-
gdb/aarch64-linux-tdep.c | 2 +-
gdb/aarch64-linux-tdep.h | 2 +-
gdb/aarch64-newlib-tdep.c | 2 +-
gdb/aarch64-tdep.c | 2 +-
gdb/aarch64-tdep.h | 2 +-
gdb/acinclude.m4 | 2 +-
gdb/acx_configure_dir.m4 | 2 +-
gdb/ada-exp.y | 2 +-
gdb/ada-lang.c | 2 +-
gdb/ada-lang.h | 2 +-
gdb/ada-lex.l | 2 +-
gdb/ada-operator.def | 2 +-
gdb/ada-tasks.c | 2 +-
gdb/ada-typeprint.c | 2 +-
gdb/ada-valprint.c | 2 +-
gdb/ada-varobj.c | 2 +-
gdb/addrmap.c | 2 +-
gdb/addrmap.h | 2 +-
gdb/agent.c | 2 +-
gdb/aix-thread.c | 2 +-
gdb/alpha-bsd-nat.c | 2 +-
gdb/alpha-bsd-tdep.c | 2 +-
gdb/alpha-bsd-tdep.h | 2 +-
gdb/alpha-fbsd-tdep.c | 2 +-
gdb/alpha-linux-nat.c | 2 +-
gdb/alpha-linux-tdep.c | 2 +-
gdb/alpha-mdebug-tdep.c | 2 +-
gdb/alpha-nbsd-tdep.c | 2 +-
gdb/alpha-obsd-tdep.c | 2 +-
gdb/alpha-tdep.c | 2 +-
gdb/alpha-tdep.h | 2 +-
gdb/amd64-bsd-nat.c | 2 +-
gdb/amd64-darwin-tdep.c | 2 +-
gdb/amd64-darwin-tdep.h | 2 +-
gdb/amd64-dicos-tdep.c | 2 +-
gdb/amd64-fbsd-nat.c | 2 +-
gdb/amd64-fbsd-tdep.c | 2 +-
gdb/amd64-linux-nat.c | 2 +-
gdb/amd64-linux-tdep.c | 2 +-
gdb/amd64-linux-tdep.h | 2 +-
gdb/amd64-nat.c | 2 +-
gdb/amd64-nat.h | 2 +-
gdb/amd64-nbsd-nat.c | 2 +-
gdb/amd64-nbsd-tdep.c | 2 +-
gdb/amd64-obsd-nat.c | 2 +-
gdb/amd64-obsd-tdep.c | 2 +-
gdb/amd64-sol2-tdep.c | 2 +-
gdb/amd64-tdep.c | 2 +-
gdb/amd64-tdep.h | 2 +-
gdb/amd64-windows-nat.c | 2 +-
gdb/amd64-windows-tdep.c | 2 +-
gdb/annotate.c | 2 +-
gdb/annotate.h | 2 +-
gdb/arc-newlib-tdep.c | 2 +-
gdb/arc-tdep.c | 2 +-
gdb/arc-tdep.h | 2 +-
gdb/arch-utils.c | 2 +-
gdb/arch-utils.h | 2 +-
gdb/arch/aarch64-insn.c | 2 +-
gdb/arch/aarch64-insn.h | 2 +-
gdb/arch/arm-get-next-pcs.c | 2 +-
gdb/arch/arm-get-next-pcs.h | 2 +-
gdb/arch/arm-linux.c | 2 +-
gdb/arch/arm-linux.h | 2 +-
gdb/arch/arm.c | 2 +-
gdb/arch/arm.h | 2 +-
gdb/arch/xtensa.h | 2 +-
gdb/arm-bsd-tdep.c | 2 +-
gdb/arm-linux-nat.c | 2 +-
gdb/arm-linux-tdep.c | 2 +-
gdb/arm-linux-tdep.h | 2 +-
gdb/arm-nbsd-nat.c | 2 +-
gdb/arm-nbsd-tdep.c | 2 +-
gdb/arm-obsd-tdep.c | 2 +-
gdb/arm-symbian-tdep.c | 2 +-
gdb/arm-tdep.c | 2 +-
gdb/arm-tdep.h | 2 +-
gdb/arm-wince-tdep.c | 2 +-
gdb/auto-load.c | 2 +-
gdb/auto-load.h | 2 +-
gdb/auxv.c | 2 +-
gdb/auxv.h | 2 +-
gdb/avr-tdep.c | 2 +-
gdb/ax-gdb.c | 2 +-
gdb/ax-gdb.h | 2 +-
gdb/ax-general.c | 2 +-
gdb/ax.h | 2 +-
gdb/ax_cxx_compile_stdcxx.m4 | 2 +-
gdb/bcache.c | 2 +-
gdb/bcache.h | 2 +-
gdb/bfd-target.c | 2 +-
gdb/bfd-target.h | 2 +-
gdb/bfin-linux-tdep.c | 2 +-
gdb/bfin-tdep.c | 2 +-
gdb/bfin-tdep.h | 2 +-
gdb/block.c | 2 +-
gdb/block.h | 2 +-
gdb/blockframe.c | 2 +-
gdb/break-catch-sig.c | 2 +-
gdb/break-catch-syscall.c | 2 +-
gdb/break-catch-throw.c | 2 +-
gdb/breakpoint.c | 2 +-
gdb/breakpoint.h | 2 +-
gdb/bsd-kvm.c | 2 +-
gdb/bsd-kvm.h | 2 +-
gdb/bsd-uthread.c | 2 +-
gdb/bsd-uthread.h | 2 +-
gdb/btrace.c | 2 +-
gdb/btrace.h | 2 +-
gdb/build-id.c | 2 +-
gdb/build-id.h | 2 +-
gdb/buildsym.c | 2 +-
gdb/buildsym.h | 2 +-
gdb/c-exp.y | 2 +-
gdb/c-lang.c | 2 +-
gdb/c-lang.h | 2 +-
gdb/c-typeprint.c | 2 +-
gdb/c-valprint.c | 2 +-
gdb/c-varobj.c | 2 +-
gdb/charset-list.h | 2 +-
gdb/charset.c | 2 +-
gdb/charset.h | 2 +-
gdb/cli-out.c | 2 +-
gdb/cli-out.h | 2 +-
gdb/cli/cli-cmds.c | 2 +-
gdb/cli/cli-cmds.h | 2 +-
gdb/cli/cli-decode.c | 2 +-
gdb/cli/cli-decode.h | 2 +-
gdb/cli/cli-dump.c | 2 +-
gdb/cli/cli-interp.c | 2 +-
gdb/cli/cli-interp.h | 2 +-
gdb/cli/cli-logging.c | 2 +-
gdb/cli/cli-script.c | 2 +-
gdb/cli/cli-script.h | 2 +-
gdb/cli/cli-setshow.c | 2 +-
gdb/cli/cli-setshow.h | 2 +-
gdb/cli/cli-utils.c | 2 +-
gdb/cli/cli-utils.h | 2 +-
gdb/coff-pe-read.c | 2 +-
gdb/coff-pe-read.h | 2 +-
gdb/coffread.c | 2 +-
gdb/command.h | 2 +-
gdb/common/agent.c | 2 +-
gdb/common/agent.h | 2 +-
gdb/common/ax.def | 2 +-
gdb/common/break-common.h | 2 +-
gdb/common/btrace-common.c | 2 +-
gdb/common/btrace-common.h | 2 +-
gdb/common/buffer.c | 2 +-
gdb/common/buffer.h | 2 +-
gdb/common/cleanups.c | 2 +-
gdb/common/cleanups.h | 2 +-
gdb/common/common-debug.c | 2 +-
gdb/common/common-debug.h | 2 +-
gdb/common/common-defs.h | 2 +-
gdb/common/common-exceptions.c | 2 +-
gdb/common/common-exceptions.h | 2 +-
gdb/common/common-regcache.c | 2 +-
gdb/common/common-regcache.h | 2 +-
gdb/common/common-types.h | 2 +-
gdb/common/common-utils.c | 2 +-
gdb/common/common-utils.h | 2 +-
gdb/common/common.host | 2 +-
gdb/common/common.m4 | 2 +-
gdb/common/create-version.sh | 2 +-
gdb/common/enum-flags.h | 2 +-
gdb/common/errors.c | 2 +-
gdb/common/errors.h | 2 +-
gdb/common/fileio.c | 2 +-
gdb/common/fileio.h | 2 +-
gdb/common/filestuff.c | 2 +-
gdb/common/filestuff.h | 2 +-
gdb/common/format.c | 2 +-
gdb/common/format.h | 2 +-
gdb/common/gdb_assert.h | 2 +-
gdb/common/gdb_locale.h | 2 +-
gdb/common/gdb_setjmp.h | 2 +-
gdb/common/gdb_signals.h | 2 +-
gdb/common/gdb_sys_time.h | 2 +-
gdb/common/gdb_unique_ptr.h | 2 +-
gdb/common/gdb_vecs.c | 2 +-
gdb/common/gdb_vecs.h | 2 +-
gdb/common/gdb_wait.h | 2 +-
gdb/common/host-defs.h | 2 +-
gdb/common/mingw-strerror.c | 2 +-
gdb/common/new-op.c | 2 +-
gdb/common/posix-strerror.c | 2 +-
gdb/common/print-utils.c | 2 +-
gdb/common/print-utils.h | 2 +-
gdb/common/ptid.c | 2 +-
gdb/common/ptid.h | 2 +-
gdb/common/queue.h | 2 +-
gdb/common/rsp-low.c | 2 +-
gdb/common/rsp-low.h | 2 +-
gdb/common/run-time-clock.c | 2 +-
gdb/common/run-time-clock.h | 2 +-
gdb/common/scoped_restore.h | 2 +-
gdb/common/signals-state-save-restore.c | 2 +-
gdb/common/signals-state-save-restore.h | 2 +-
gdb/common/signals.c | 2 +-
gdb/common/symbol.h | 2 +-
gdb/common/vec.c | 2 +-
gdb/common/vec.h | 2 +-
gdb/common/version.h | 2 +-
gdb/common/x86-xstate.h | 2 +-
gdb/common/xml-utils.c | 2 +-
gdb/common/xml-utils.h | 2 +-
gdb/compile/compile-c-support.c | 2 +-
gdb/compile/compile-c-symbols.c | 2 +-
gdb/compile/compile-c-types.c | 2 +-
gdb/compile/compile-internal.h | 2 +-
gdb/compile/compile-loc2c.c | 2 +-
gdb/compile/compile-object-load.c | 2 +-
gdb/compile/compile-object-load.h | 2 +-
gdb/compile/compile-object-run.c | 2 +-
gdb/compile/compile-object-run.h | 2 +-
gdb/compile/compile.c | 2 +-
gdb/compile/compile.h | 2 +-
gdb/complaints.c | 2 +-
gdb/complaints.h | 2 +-
gdb/completer.c | 2 +-
gdb/completer.h | 2 +-
gdb/config/aarch64/linux.mh | 2 +-
gdb/config/djgpp/djcheck.sh | 2 +-
gdb/config/djgpp/djconfig.sh | 2 +-
gdb/config/djgpp/fnchange.lst | 1 +
gdb/config/djgpp/langinfo.h | 2 +-
gdb/config/djgpp/nl_types.h | 2 +-
gdb/config/i386/cygwin64.mh | 2 +-
gdb/config/i386/nm-fbsd.h | 2 +-
gdb/config/i386/nm-i386gnu.h | 2 +-
gdb/config/nm-linux.h | 2 +-
gdb/config/nm-nto.h | 2 +-
gdb/config/powerpc/fbsd.mh | 2 +-
gdb/config/sparc/nm-sol2.h | 2 +-
gdb/configure.ac | 2 +-
gdb/continuations.c | 2 +-
gdb/continuations.h | 2 +-
gdb/contrib/ari/create-web-ari-in-src.sh | 2 +-
gdb/contrib/ari/gdb_ari.sh | 2 +-
gdb/contrib/ari/gdb_find.sh | 2 +-
gdb/contrib/ari/update-web-ari.sh | 2 +-
gdb/contrib/cc-with-tweaks.sh | 2 +-
gdb/contrib/cleanup_check.py | 2 +-
gdb/contrib/excheck.py | 2 +-
gdb/contrib/expect-read1.c | 2 +-
gdb/contrib/expect-read1.sh | 2 +-
gdb/contrib/exsummary.py | 2 +-
gdb/contrib/gcc-with-excheck | 2 +-
gdb/contrib/gdb-add-index.sh | 2 +-
gdb/contrib/test_pubnames_and_indexes.py | 2 +-
gdb/copyright.py | 2 +-
gdb/core-regset.c | 2 +-
gdb/corefile.c | 2 +-
gdb/corelow.c | 2 +-
gdb/cp-abi.c | 2 +-
gdb/cp-abi.h | 2 +-
gdb/cp-name-parser.y | 2 +-
gdb/cp-namespace.c | 2 +-
gdb/cp-support.c | 2 +-
gdb/cp-support.h | 2 +-
gdb/cp-valprint.c | 2 +-
gdb/cris-linux-tdep.c | 2 +-
gdb/cris-tdep.c | 2 +-
gdb/cris-tdep.h | 2 +-
gdb/ctf.c | 2 +-
gdb/ctf.h | 2 +-
gdb/d-exp.y | 2 +-
gdb/d-lang.c | 2 +-
gdb/d-lang.h | 2 +-
gdb/d-namespace.c | 2 +-
gdb/d-valprint.c | 2 +-
gdb/darwin-nat-info.c | 2 +-
gdb/darwin-nat.c | 2 +-
gdb/darwin-nat.h | 2 +-
gdb/data-directory/Makefile.in | 2 +-
gdb/dbxread.c | 2 +-
gdb/dcache.c | 2 +-
gdb/dcache.h | 2 +-
gdb/debug.c | 2 +-
gdb/defs.h | 2 +-
gdb/demangle.c | 2 +-
gdb/dfp.c | 2 +-
gdb/dfp.h | 2 +-
gdb/dicos-tdep.c | 2 +-
gdb/dicos-tdep.h | 2 +-
gdb/dictionary.c | 2 +-
gdb/dictionary.h | 2 +-
gdb/disable-implicit-rules.mk | 2 +-
gdb/disasm.c | 2 +-
gdb/disasm.h | 2 +-
gdb/doc/Doxyfile-base.in | 2 +-
gdb/doc/Doxyfile-gdb-api.in | 2 +-
gdb/doc/Doxyfile-gdb-xref.in | 2 +-
gdb/doc/Doxyfile-gdbserver.in | 2 +-
gdb/doc/Makefile.in | 2 +-
gdb/doc/agentexpr.texi | 2 +-
gdb/doc/all-cfg.texi | 2 +-
gdb/doc/annotate.texinfo | 2 +-
gdb/doc/doxy-index.in | 2 +-
gdb/doc/gdb.texinfo | 6 +-
gdb/doc/guile.texi | 2 +-
gdb/doc/observer.texi | 2 +-
gdb/doc/python.texi | 2 +-
gdb/doc/refcard.tex | 6 +-
gdb/doc/stabs.texinfo | 2 +-
gdb/doublest.c | 2 +-
gdb/doublest.h | 2 +-
gdb/dtrace-probe.c | 2 +-
gdb/dummy-frame.c | 2 +-
gdb/dummy-frame.h | 2 +-
gdb/dwarf2-frame-tailcall.c | 2 +-
gdb/dwarf2-frame-tailcall.h | 2 +-
gdb/dwarf2-frame.c | 2 +-
gdb/dwarf2-frame.h | 2 +-
gdb/dwarf2expr.c | 2 +-
gdb/dwarf2expr.h | 2 +-
gdb/dwarf2loc.c | 2 +-
gdb/dwarf2loc.h | 2 +-
gdb/dwarf2read.c | 2 +-
gdb/elfread.c | 2 +-
gdb/environ.c | 2 +-
gdb/environ.h | 2 +-
gdb/eval.c | 2 +-
gdb/event-loop.c | 2 +-
gdb/event-loop.h | 2 +-
gdb/event-top.c | 2 +-
gdb/event-top.h | 2 +-
gdb/exceptions.c | 2 +-
gdb/exceptions.h | 2 +-
gdb/exec.c | 2 +-
gdb/exec.h | 2 +-
gdb/expprint.c | 2 +-
gdb/expression.h | 2 +-
gdb/extension-priv.h | 2 +-
gdb/extension.c | 2 +-
gdb/extension.h | 2 +-
gdb/f-exp.y | 2 +-
gdb/f-lang.c | 2 +-
gdb/f-lang.h | 2 +-
gdb/f-typeprint.c | 2 +-
gdb/f-valprint.c | 2 +-
gdb/fbsd-nat.c | 2 +-
gdb/fbsd-nat.h | 2 +-
gdb/fbsd-tdep.c | 2 +-
gdb/fbsd-tdep.h | 2 +-
gdb/features/Makefile | 2 +-
gdb/features/aarch64-core.xml | 2 +-
gdb/features/aarch64-fpu.xml | 2 +-
gdb/features/aarch64.xml | 2 +-
gdb/features/arc-arcompact.xml | 2 +-
gdb/features/arc-v2.xml | 2 +-
gdb/features/arm/arm-core.xml | 2 +-
gdb/features/arm/arm-fpa.xml | 2 +-
gdb/features/arm/arm-m-profile.xml | 2 +-
gdb/features/arm/arm-vfpv2.xml | 2 +-
gdb/features/arm/arm-vfpv3.xml | 2 +-
gdb/features/arm/arm-with-iwmmxt.xml | 2 +-
gdb/features/arm/arm-with-m-fpa-layout.xml | 2 +-
gdb/features/arm/arm-with-m-vfp-d16.xml | 2 +-
gdb/features/arm/arm-with-m.xml | 2 +-
gdb/features/arm/arm-with-neon.xml | 2 +-
gdb/features/arm/arm-with-vfpv2.xml | 2 +-
gdb/features/arm/arm-with-vfpv3.xml | 2 +-
gdb/features/arm/xscale-iwmmxt.xml | 2 +-
gdb/features/btrace-conf.dtd | 2 +-
gdb/features/btrace.dtd | 2 +-
gdb/features/feature_to_c.sh | 2 +-
gdb/features/gdb-target.dtd | 2 +-
gdb/features/i386/32bit-avx.xml | 2 +-
gdb/features/i386/32bit-avx512.xml | 2 +-
gdb/features/i386/32bit-core.xml | 2 +-
gdb/features/i386/32bit-linux.xml | 2 +-
gdb/features/i386/32bit-mpx.xml | 2 +-
gdb/features/i386/32bit-sse.xml | 2 +-
gdb/features/i386/64bit-avx.xml | 2 +-
gdb/features/i386/64bit-avx512.xml | 2 +-
gdb/features/i386/64bit-core.xml | 2 +-
gdb/features/i386/64bit-linux.xml | 2 +-
gdb/features/i386/64bit-mpx.xml | 2 +-
gdb/features/i386/64bit-sse.xml | 2 +-
gdb/features/i386/amd64-avx-linux.xml | 2 +-
gdb/features/i386/amd64-avx-mpx-linux.xml | 2 +-
gdb/features/i386/amd64-avx-mpx.xml | 2 +-
gdb/features/i386/amd64-avx.xml | 2 +-
gdb/features/i386/amd64-avx512-linux.xml | 2 +-
gdb/features/i386/amd64-avx512.xml | 2 +-
gdb/features/i386/amd64-linux.xml | 2 +-
gdb/features/i386/amd64-mpx-linux.xml | 2 +-
gdb/features/i386/amd64-mpx.xml | 2 +-
gdb/features/i386/amd64.xml | 2 +-
gdb/features/i386/i386-avx-linux.xml | 2 +-
gdb/features/i386/i386-avx-mpx-linux.xml | 2 +-
gdb/features/i386/i386-avx-mpx.xml | 2 +-
gdb/features/i386/i386-avx.xml | 2 +-
gdb/features/i386/i386-avx512-linux.xml | 2 +-
gdb/features/i386/i386-avx512.xml | 2 +-
gdb/features/i386/i386-linux.xml | 2 +-
gdb/features/i386/i386-mmx-linux.xml | 2 +-
gdb/features/i386/i386-mmx.xml | 2 +-
gdb/features/i386/i386-mpx-linux.xml | 2 +-
gdb/features/i386/i386-mpx.xml | 2 +-
gdb/features/i386/i386.xml | 2 +-
gdb/features/i386/x32-avx-linux.xml | 2 +-
gdb/features/i386/x32-avx.xml | 2 +-
gdb/features/i386/x32-avx512-linux.xml | 2 +-
gdb/features/i386/x32-avx512.xml | 2 +-
gdb/features/i386/x32-core.xml | 2 +-
gdb/features/i386/x32-linux.xml | 2 +-
gdb/features/i386/x32.xml | 2 +-
gdb/features/library-list-aix.dtd | 2 +-
gdb/features/library-list-svr4.dtd | 2 +-
gdb/features/library-list.dtd | 2 +-
gdb/features/microblaze-core.xml | 2 +-
gdb/features/microblaze-stack-protect.xml | 2 +-
gdb/features/microblaze-with-stack-protect.xml | 2 +-
gdb/features/microblaze.xml | 2 +-
gdb/features/mips-cp0.xml | 2 +-
gdb/features/mips-cpu.xml | 2 +-
gdb/features/mips-dsp-linux.xml | 2 +-
gdb/features/mips-dsp.xml | 2 +-
gdb/features/mips-fpu.xml | 2 +-
gdb/features/mips-linux.xml | 2 +-
gdb/features/mips64-cp0.xml | 2 +-
gdb/features/mips64-cpu.xml | 2 +-
gdb/features/mips64-dsp-linux.xml | 2 +-
gdb/features/mips64-dsp.xml | 2 +-
gdb/features/mips64-fpu.xml | 2 +-
gdb/features/mips64-linux.xml | 2 +-
gdb/features/nds32-core.xml | 2 +-
gdb/features/nds32-fpu.xml | 2 +-
gdb/features/nds32-system.xml | 2 +-
gdb/features/nds32.xml | 2 +-
gdb/features/nios2-cpu.xml | 2 +-
gdb/features/nios2-linux.xml | 2 +-
gdb/features/nios2.xml | 2 +-
gdb/features/osdata.dtd | 2 +-
gdb/features/rs6000/power-altivec.xml | 2 +-
gdb/features/rs6000/power-core.xml | 2 +-
gdb/features/rs6000/power-fpu-isa205.xml | 2 +-
gdb/features/rs6000/power-fpu.xml | 2 +-
gdb/features/rs6000/power-linux.xml | 2 +-
gdb/features/rs6000/power-oea.xml | 2 +-
gdb/features/rs6000/power-spe.xml | 2 +-
gdb/features/rs6000/power-vsx.xml | 2 +-
gdb/features/rs6000/power64-core.xml | 2 +-
gdb/features/rs6000/power64-linux.xml | 2 +-
gdb/features/rs6000/powerpc-32.xml | 2 +-
gdb/features/rs6000/powerpc-32l.xml | 2 +-
gdb/features/rs6000/powerpc-403.xml | 2 +-
gdb/features/rs6000/powerpc-403gc.xml | 2 +-
gdb/features/rs6000/powerpc-405.xml | 2 +-
gdb/features/rs6000/powerpc-505.xml | 2 +-
gdb/features/rs6000/powerpc-601.xml | 2 +-
gdb/features/rs6000/powerpc-602.xml | 2 +-
gdb/features/rs6000/powerpc-603.xml | 2 +-
gdb/features/rs6000/powerpc-604.xml | 2 +-
gdb/features/rs6000/powerpc-64.xml | 2 +-
gdb/features/rs6000/powerpc-64l.xml | 2 +-
gdb/features/rs6000/powerpc-7400.xml | 2 +-
gdb/features/rs6000/powerpc-750.xml | 2 +-
gdb/features/rs6000/powerpc-860.xml | 2 +-
gdb/features/rs6000/powerpc-altivec32.xml | 2 +-
gdb/features/rs6000/powerpc-altivec32l.xml | 2 +-
gdb/features/rs6000/powerpc-altivec64.xml | 2 +-
gdb/features/rs6000/powerpc-altivec64l.xml | 2 +-
gdb/features/rs6000/powerpc-cell32l.xml | 2 +-
gdb/features/rs6000/powerpc-cell64l.xml | 2 +-
gdb/features/rs6000/powerpc-e500.xml | 2 +-
gdb/features/rs6000/powerpc-e500l.xml | 2 +-
gdb/features/rs6000/powerpc-isa205-32l.xml | 2 +-
gdb/features/rs6000/powerpc-isa205-64l.xml | 2 +-
gdb/features/rs6000/powerpc-isa205-altivec32l.xml | 2 +-
gdb/features/rs6000/powerpc-isa205-altivec64l.xml | 2 +-
gdb/features/rs6000/powerpc-isa205-vsx32l.xml | 2 +-
gdb/features/rs6000/powerpc-isa205-vsx64l.xml | 2 +-
gdb/features/rs6000/powerpc-vsx32.xml | 2 +-
gdb/features/rs6000/powerpc-vsx32l.xml | 2 +-
gdb/features/rs6000/powerpc-vsx64.xml | 2 +-
gdb/features/rs6000/powerpc-vsx64l.xml | 2 +-
gdb/features/rs6000/rs6000.xml | 2 +-
gdb/features/s390-acr.xml | 2 +-
gdb/features/s390-core32.xml | 2 +-
gdb/features/s390-core64.xml | 2 +-
gdb/features/s390-fpr.xml | 2 +-
gdb/features/s390-linux32.xml | 2 +-
gdb/features/s390-linux32v1.xml | 2 +-
gdb/features/s390-linux32v2.xml | 2 +-
gdb/features/s390-linux64.xml | 2 +-
gdb/features/s390-linux64v1.xml | 2 +-
gdb/features/s390-linux64v2.xml | 2 +-
gdb/features/s390-tdb.xml | 2 +-
gdb/features/s390-te-linux64.xml | 2 +-
gdb/features/s390-tevx-linux64.xml | 2 +-
gdb/features/s390-vx-linux64.xml | 2 +-
gdb/features/s390-vx.xml | 2 +-
gdb/features/s390x-core64.xml | 2 +-
gdb/features/s390x-linux64.xml | 2 +-
gdb/features/s390x-linux64v1.xml | 2 +-
gdb/features/s390x-linux64v2.xml | 2 +-
gdb/features/s390x-te-linux64.xml | 2 +-
gdb/features/s390x-tevx-linux64.xml | 2 +-
gdb/features/s390x-vx-linux64.xml | 2 +-
gdb/features/threads.dtd | 2 +-
gdb/features/tic6x-c62x-linux.xml | 2 +-
gdb/features/tic6x-c62x.xml | 2 +-
gdb/features/tic6x-c64x-linux.xml | 2 +-
gdb/features/tic6x-c64x.xml | 2 +-
gdb/features/tic6x-c64xp-linux.xml | 2 +-
gdb/features/tic6x-c64xp.xml | 2 +-
gdb/features/tic6x-c6xp.xml | 2 +-
gdb/features/tic6x-core.xml | 2 +-
gdb/features/tic6x-gp.xml | 2 +-
gdb/features/traceframe-info.dtd | 2 +-
gdb/features/xinclude.dtd | 2 +-
gdb/filesystem.c | 2 +-
gdb/filesystem.h | 2 +-
gdb/findcmd.c | 2 +-
gdb/findvar.c | 2 +-
gdb/fork-child.c | 2 +-
gdb/frame-base.c | 2 +-
gdb/frame-base.h | 2 +-
gdb/frame-unwind.c | 2 +-
gdb/frame-unwind.h | 2 +-
gdb/frame.c | 2 +-
gdb/frame.h | 2 +-
gdb/frv-linux-tdep.c | 2 +-
gdb/frv-tdep.c | 2 +-
gdb/frv-tdep.h | 2 +-
gdb/ft32-tdep.c | 2 +-
gdb/ft32-tdep.h | 2 +-
gdb/gcore.c | 2 +-
gdb/gcore.h | 2 +-
gdb/gcore.in | 2 +-
gdb/gdb-code-style.el | 2 +-
gdb/gdb-demangle.h | 2 +-
gdb/gdb-dlfcn.c | 2 +-
gdb/gdb-dlfcn.h | 2 +-
gdb/gdb-gdb.py | 2 +-
gdb/gdb-stabs.h | 2 +-
gdb/gdb.c | 2 +-
gdb/gdb.h | 2 +-
gdb/gdb_bfd.c | 2 +-
gdb/gdb_bfd.h | 2 +-
gdb/gdb_buildall.sh | 2 +-
gdb/gdb_curses.h | 2 +-
gdb/gdb_expat.h | 2 +-
gdb/gdb_mbuild.sh | 2 +-
gdb/gdb_obstack.c | 2 +-
gdb/gdb_obstack.h | 2 +-
gdb/gdb_proc_service.h | 2 +-
gdb/gdb_regex.h | 2 +-
gdb/gdb_select.h | 2 +-
gdb/gdb_usleep.c | 2 +-
gdb/gdb_usleep.h | 2 +-
gdb/gdb_vfork.h | 2 +-
gdb/gdb_wchar.h | 2 +-
gdb/gdbarch.c | 2 +-
gdb/gdbarch.h | 2 +-
gdb/gdbarch.sh | 4 +-
gdb/gdbcmd.h | 2 +-
gdb/gdbcore.h | 2 +-
gdb/gdbserver/Makefile.in | 2 +-
gdb/gdbserver/ax.c | 2 +-
gdb/gdbserver/ax.h | 2 +-
gdb/gdbserver/configure.ac | 2 +-
gdb/gdbserver/debug.c | 2 +-
gdb/gdbserver/debug.h | 2 +-
gdb/gdbserver/dll.c | 2 +-
gdb/gdbserver/dll.h | 2 +-
gdb/gdbserver/event-loop.c | 2 +-
gdb/gdbserver/event-loop.h | 2 +-
gdb/gdbserver/gdb_proc_service.h | 2 +-
gdb/gdbserver/gdbreplay.c | 4 +-
gdb/gdbserver/gdbthread.h | 2 +-
gdb/gdbserver/hostio-errno.c | 2 +-
gdb/gdbserver/hostio.c | 2 +-
gdb/gdbserver/hostio.h | 2 +-
gdb/gdbserver/i387-fp.c | 2 +-
gdb/gdbserver/i387-fp.h | 2 +-
gdb/gdbserver/inferiors.c | 2 +-
gdb/gdbserver/inferiors.h | 2 +-
gdb/gdbserver/linux-aarch32-low.c | 2 +-
gdb/gdbserver/linux-aarch32-low.h | 2 +-
gdb/gdbserver/linux-aarch64-ipa.c | 2 +-
gdb/gdbserver/linux-aarch64-low.c | 2 +-
gdb/gdbserver/linux-amd64-ipa.c | 2 +-
gdb/gdbserver/linux-arm-low.c | 2 +-
gdb/gdbserver/linux-bfin-low.c | 2 +-
gdb/gdbserver/linux-cris-low.c | 2 +-
gdb/gdbserver/linux-crisv32-low.c | 2 +-
gdb/gdbserver/linux-i386-ipa.c | 2 +-
gdb/gdbserver/linux-ia64-low.c | 2 +-
gdb/gdbserver/linux-low.c | 2 +-
gdb/gdbserver/linux-low.h | 2 +-
gdb/gdbserver/linux-m32r-low.c | 2 +-
gdb/gdbserver/linux-m68k-low.c | 2 +-
gdb/gdbserver/linux-mips-low.c | 2 +-
gdb/gdbserver/linux-nios2-low.c | 2 +-
gdb/gdbserver/linux-ppc-ipa.c | 2 +-
gdb/gdbserver/linux-ppc-low.c | 2 +-
gdb/gdbserver/linux-ppc-tdesc.h | 2 +-
gdb/gdbserver/linux-s390-ipa.c | 2 +-
gdb/gdbserver/linux-s390-low.c | 2 +-
gdb/gdbserver/linux-s390-tdesc.h | 2 +-
gdb/gdbserver/linux-sh-low.c | 2 +-
gdb/gdbserver/linux-sparc-low.c | 2 +-
gdb/gdbserver/linux-tic6x-low.c | 2 +-
gdb/gdbserver/linux-tile-low.c | 2 +-
gdb/gdbserver/linux-x86-low.c | 2 +-
gdb/gdbserver/linux-x86-tdesc.h | 2 +-
gdb/gdbserver/linux-xtensa-low.c | 2 +-
gdb/gdbserver/lynx-i386-low.c | 2 +-
gdb/gdbserver/lynx-low.c | 2 +-
gdb/gdbserver/lynx-low.h | 2 +-
gdb/gdbserver/lynx-ppc-low.c | 2 +-
gdb/gdbserver/mem-break.c | 2 +-
gdb/gdbserver/mem-break.h | 2 +-
gdb/gdbserver/notif.c | 2 +-
gdb/gdbserver/notif.h | 2 +-
gdb/gdbserver/nto-low.c | 2 +-
gdb/gdbserver/nto-low.h | 2 +-
gdb/gdbserver/nto-x86-low.c | 2 +-
gdb/gdbserver/proc-service.c | 2 +-
gdb/gdbserver/proc-service.list | 2 +-
gdb/gdbserver/regcache.c | 2 +-
gdb/gdbserver/regcache.h | 2 +-
gdb/gdbserver/remote-utils.c | 2 +-
gdb/gdbserver/remote-utils.h | 2 +-
gdb/gdbserver/server.c | 4 +-
gdb/gdbserver/server.h | 2 +-
gdb/gdbserver/spu-low.c | 2 +-
gdb/gdbserver/symbol.c | 2 +-
gdb/gdbserver/target.c | 2 +-
gdb/gdbserver/target.h | 2 +-
gdb/gdbserver/tdesc.c | 2 +-
gdb/gdbserver/tdesc.h | 2 +-
gdb/gdbserver/terminal.h | 2 +-
gdb/gdbserver/thread-db.c | 2 +-
gdb/gdbserver/tracepoint.c | 2 +-
gdb/gdbserver/tracepoint.h | 2 +-
gdb/gdbserver/utils.c | 2 +-
gdb/gdbserver/utils.h | 2 +-
gdb/gdbserver/win32-arm-low.c | 2 +-
gdb/gdbserver/win32-i386-low.c | 2 +-
gdb/gdbserver/win32-low.c | 2 +-
gdb/gdbserver/win32-low.h | 2 +-
gdb/gdbserver/wincecompat.c | 2 +-
gdb/gdbserver/wincecompat.h | 2 +-
gdb/gdbserver/x86-low.c | 2 +-
gdb/gdbserver/x86-low.h | 2 +-
gdb/gdbserver/xtensa-xtregs.c | 2 +-
gdb/gdbthread.h | 2 +-
gdb/gdbtypes.c | 2 +-
gdb/gdbtypes.h | 2 +-
gdb/glibc-tdep.c | 2 +-
gdb/glibc-tdep.h | 2 +-
gdb/gnu-nat.c | 2 +-
gdb/gnu-nat.h | 2 +-
gdb/gnu-v2-abi.c | 2 +-
gdb/gnu-v3-abi.c | 2 +-
gdb/gnulib/Makefile.in | 2 +-
gdb/gnulib/configure.ac | 2 +-
gdb/gnulib/update-gnulib.sh | 2 +-
gdb/go-exp.y | 2 +-
gdb/go-lang.c | 2 +-
gdb/go-lang.h | 2 +-
gdb/go-typeprint.c | 2 +-
gdb/go-valprint.c | 2 +-
gdb/go32-nat.c | 2 +-
gdb/gregset.h | 2 +-
gdb/guile/guile-internal.h | 2 +-
gdb/guile/guile.c | 2 +-
gdb/guile/guile.h | 2 +-
gdb/guile/lib/gdb.scm | 2 +-
gdb/guile/lib/gdb/boot.scm | 2 +-
gdb/guile/lib/gdb/experimental.scm | 2 +-
gdb/guile/lib/gdb/init.scm | 2 +-
gdb/guile/lib/gdb/iterator.scm | 2 +-
gdb/guile/lib/gdb/printing.scm | 2 +-
gdb/guile/lib/gdb/support.scm | 2 +-
gdb/guile/lib/gdb/types.scm | 2 +-
gdb/guile/scm-arch.c | 2 +-
gdb/guile/scm-auto-load.c | 2 +-
gdb/guile/scm-block.c | 2 +-
gdb/guile/scm-breakpoint.c | 2 +-
gdb/guile/scm-cmd.c | 2 +-
gdb/guile/scm-disasm.c | 2 +-
gdb/guile/scm-exception.c | 2 +-
gdb/guile/scm-frame.c | 2 +-
gdb/guile/scm-gsmob.c | 2 +-
gdb/guile/scm-iterator.c | 2 +-
gdb/guile/scm-lazy-string.c | 2 +-
gdb/guile/scm-math.c | 2 +-
gdb/guile/scm-objfile.c | 2 +-
gdb/guile/scm-param.c | 2 +-
gdb/guile/scm-ports.c | 2 +-
gdb/guile/scm-pretty-print.c | 2 +-
gdb/guile/scm-progspace.c | 2 +-
gdb/guile/scm-safe-call.c | 2 +-
gdb/guile/scm-string.c | 2 +-
gdb/guile/scm-symbol.c | 2 +-
gdb/guile/scm-symtab.c | 2 +-
gdb/guile/scm-type.c | 2 +-
gdb/guile/scm-utils.c | 2 +-
gdb/guile/scm-value.c | 2 +-
gdb/h8300-tdep.c | 2 +-
gdb/hppa-bsd-tdep.c | 2 +-
gdb/hppa-bsd-tdep.h | 2 +-
gdb/hppa-linux-nat.c | 2 +-
gdb/hppa-linux-offsets.h | 2 +-
gdb/hppa-linux-tdep.c | 2 +-
gdb/hppa-nbsd-nat.c | 2 +-
gdb/hppa-nbsd-tdep.c | 2 +-
gdb/hppa-obsd-nat.c | 2 +-
gdb/hppa-obsd-tdep.c | 2 +-
gdb/hppa-tdep.c | 2 +-
gdb/hppa-tdep.h | 2 +-
gdb/i386-bsd-nat.c | 2 +-
gdb/i386-bsd-nat.h | 2 +-
gdb/i386-bsd-tdep.c | 2 +-
gdb/i386-cygwin-tdep.c | 2 +-
gdb/i386-darwin-nat.c | 2 +-
gdb/i386-darwin-tdep.c | 2 +-
gdb/i386-darwin-tdep.h | 2 +-
gdb/i386-dicos-tdep.c | 2 +-
gdb/i386-fbsd-nat.c | 2 +-
gdb/i386-fbsd-tdep.c | 2 +-
gdb/i386-fbsd-tdep.h | 2 +-
gdb/i386-gnu-nat.c | 2 +-
gdb/i386-gnu-tdep.c | 2 +-
gdb/i386-linux-nat.c | 2 +-
gdb/i386-linux-nat.h | 2 +-
gdb/i386-linux-tdep.c | 2 +-
gdb/i386-linux-tdep.h | 2 +-
gdb/i386-nbsd-nat.c | 2 +-
gdb/i386-nbsd-tdep.c | 2 +-
gdb/i386-nto-tdep.c | 2 +-
gdb/i386-obsd-nat.c | 2 +-
gdb/i386-obsd-tdep.c | 2 +-
gdb/i386-sol2-nat.c | 2 +-
gdb/i386-sol2-tdep.c | 2 +-
gdb/i386-tdep.c | 2 +-
gdb/i386-tdep.h | 2 +-
gdb/i386-v4-nat.c | 2 +-
gdb/i386-windows-nat.c | 2 +-
gdb/i387-tdep.c | 2 +-
gdb/i387-tdep.h | 2 +-
gdb/ia64-libunwind-tdep.c | 2 +-
gdb/ia64-libunwind-tdep.h | 2 +-
gdb/ia64-linux-nat.c | 2 +-
gdb/ia64-linux-tdep.c | 2 +-
gdb/ia64-tdep.c | 2 +-
gdb/ia64-tdep.h | 2 +-
gdb/ia64-vms-tdep.c | 2 +-
gdb/inf-child.c | 2 +-
gdb/inf-child.h | 2 +-
gdb/inf-loop.c | 2 +-
gdb/inf-loop.h | 2 +-
gdb/inf-ptrace.c | 2 +-
gdb/inf-ptrace.h | 2 +-
gdb/infcall.c | 2 +-
gdb/infcall.h | 2 +-
gdb/infcmd.c | 2 +-
gdb/inferior.c | 2 +-
gdb/inferior.h | 2 +-
gdb/inflow.c | 2 +-
gdb/inflow.h | 2 +-
gdb/infrun.c | 2 +-
gdb/infrun.h | 2 +-
gdb/inline-frame.c | 2 +-
gdb/inline-frame.h | 2 +-
gdb/interps.c | 2 +-
gdb/interps.h | 2 +-
gdb/iq2000-tdep.c | 2 +-
gdb/jit-reader.in | 2 +-
gdb/jit.c | 2 +-
gdb/jit.h | 2 +-
gdb/language.c | 2 +-
gdb/language.h | 2 +-
gdb/libiberty.m4 | 2 +-
gdb/libmcheck.m4 | 2 +-
gdb/linespec.c | 2 +-
gdb/linespec.h | 2 +-
gdb/linux-fork.c | 2 +-
gdb/linux-fork.h | 2 +-
gdb/linux-nat.c | 2 +-
gdb/linux-nat.h | 2 +-
gdb/linux-record.c | 2 +-
gdb/linux-record.h | 2 +-
gdb/linux-tdep.c | 2 +-
gdb/linux-tdep.h | 2 +-
gdb/linux-thread-db.c | 2 +-
gdb/lm32-tdep.c | 2 +-
gdb/location.c | 2 +-
gdb/location.h | 2 +-
gdb/m2-exp.y | 2 +-
gdb/m2-lang.c | 2 +-
gdb/m2-lang.h | 2 +-
gdb/m2-typeprint.c | 2 +-
gdb/m2-valprint.c | 2 +-
gdb/m32c-tdep.c | 2 +-
gdb/m32r-linux-nat.c | 2 +-
gdb/m32r-linux-tdep.c | 2 +-
gdb/m32r-tdep.c | 2 +-
gdb/m32r-tdep.h | 2 +-
gdb/m68hc11-tdep.c | 2 +-
gdb/m68k-bsd-nat.c | 2 +-
gdb/m68k-bsd-tdep.c | 2 +-
gdb/m68k-linux-nat.c | 2 +-
gdb/m68k-linux-tdep.c | 2 +-
gdb/m68k-tdep.c | 2 +-
gdb/m68k-tdep.h | 2 +-
gdb/m88k-bsd-nat.c | 2 +-
gdb/m88k-tdep.c | 2 +-
gdb/m88k-tdep.h | 2 +-
gdb/machoread.c | 2 +-
gdb/macrocmd.c | 2 +-
gdb/macroexp.c | 2 +-
gdb/macroexp.h | 2 +-
gdb/macroscope.c | 2 +-
gdb/macroscope.h | 2 +-
gdb/macrotab.c | 2 +-
gdb/macrotab.h | 2 +-
gdb/main.c | 2 +-
gdb/main.h | 2 +-
gdb/maint.c | 2 +-
gdb/maint.h | 2 +-
gdb/make-target-delegates | 2 +-
gdb/mdebugread.c | 2 +-
gdb/mdebugread.h | 2 +-
gdb/mem-break.c | 2 +-
gdb/memattr.c | 2 +-
gdb/memattr.h | 2 +-
gdb/memory-map.c | 2 +-
gdb/memory-map.h | 2 +-
gdb/memrange.c | 2 +-
gdb/memrange.h | 2 +-
gdb/mep-tdep.c | 2 +-
gdb/mi/mi-cmd-break.c | 2 +-
gdb/mi/mi-cmd-break.h | 2 +-
gdb/mi/mi-cmd-catch.c | 2 +-
gdb/mi/mi-cmd-disas.c | 2 +-
gdb/mi/mi-cmd-env.c | 2 +-
gdb/mi/mi-cmd-file.c | 2 +-
gdb/mi/mi-cmd-info.c | 2 +-
gdb/mi/mi-cmd-stack.c | 2 +-
gdb/mi/mi-cmd-target.c | 2 +-
gdb/mi/mi-cmd-var.c | 2 +-
gdb/mi/mi-cmds.c | 2 +-
gdb/mi/mi-cmds.h | 2 +-
gdb/mi/mi-common.c | 2 +-
gdb/mi/mi-common.h | 2 +-
gdb/mi/mi-console.c | 2 +-
gdb/mi/mi-console.h | 2 +-
gdb/mi/mi-getopt.c | 2 +-
gdb/mi/mi-getopt.h | 2 +-
gdb/mi/mi-interp.c | 2 +-
gdb/mi/mi-main.c | 2 +-
gdb/mi/mi-main.h | 2 +-
gdb/mi/mi-out.c | 2 +-
gdb/mi/mi-out.h | 2 +-
gdb/mi/mi-parse.c | 2 +-
gdb/mi/mi-parse.h | 2 +-
gdb/mi/mi-symbol-cmds.c | 2 +-
gdb/microblaze-linux-tdep.c | 2 +-
gdb/microblaze-tdep.c | 2 +-
gdb/microblaze-tdep.h | 2 +-
gdb/mingw-hdep.c | 2 +-
gdb/minidebug.c | 2 +-
gdb/minsyms.c | 2 +-
gdb/minsyms.h | 2 +-
gdb/mips-linux-nat.c | 2 +-
gdb/mips-linux-tdep.c | 2 +-
gdb/mips-linux-tdep.h | 2 +-
gdb/mips-nbsd-nat.c | 2 +-
gdb/mips-nbsd-tdep.c | 2 +-
gdb/mips-nbsd-tdep.h | 2 +-
gdb/mips-sde-tdep.c | 2 +-
gdb/mips-tdep.c | 2 +-
gdb/mips-tdep.h | 2 +-
gdb/mips64-obsd-nat.c | 2 +-
gdb/mips64-obsd-tdep.c | 2 +-
gdb/mipsread.c | 2 +-
gdb/mn10300-linux-tdep.c | 2 +-
gdb/mn10300-tdep.c | 2 +-
gdb/mn10300-tdep.h | 2 +-
gdb/moxie-tdep.c | 2 +-
gdb/moxie-tdep.h | 2 +-
gdb/msp430-tdep.c | 2 +-
gdb/mt-tdep.c | 2 +-
gdb/namespace.c | 2 +-
gdb/namespace.h | 2 +-
gdb/nat/aarch64-linux-hw-point.c | 2 +-
gdb/nat/aarch64-linux-hw-point.h | 2 +-
gdb/nat/aarch64-linux.c | 2 +-
gdb/nat/aarch64-linux.h | 2 +-
gdb/nat/amd64-linux-siginfo.c | 2 +-
gdb/nat/amd64-linux-siginfo.h | 2 +-
gdb/nat/gdb_ptrace.h | 2 +-
gdb/nat/gdb_thread_db.h | 2 +-
gdb/nat/linux-btrace.c | 2 +-
gdb/nat/linux-btrace.h | 2 +-
gdb/nat/linux-namespaces.c | 2 +-
gdb/nat/linux-namespaces.h | 2 +-
gdb/nat/linux-nat.h | 2 +-
gdb/nat/linux-osdata.c | 2 +-
gdb/nat/linux-osdata.h | 2 +-
gdb/nat/linux-personality.c | 2 +-
gdb/nat/linux-personality.h | 2 +-
gdb/nat/linux-procfs.c | 2 +-
gdb/nat/linux-procfs.h | 2 +-
gdb/nat/linux-ptrace.c | 2 +-
gdb/nat/linux-ptrace.h | 2 +-
gdb/nat/linux-waitpid.c | 2 +-
gdb/nat/linux-waitpid.h | 2 +-
gdb/nat/mips-linux-watch.c | 2 +-
gdb/nat/mips-linux-watch.h | 2 +-
gdb/nat/ppc-linux.c | 2 +-
gdb/nat/ppc-linux.h | 2 +-
gdb/nat/x86-cpuid.h | 2 +-
gdb/nat/x86-dregs.c | 2 +-
gdb/nat/x86-dregs.h | 2 +-
gdb/nat/x86-gcc-cpuid.h | 2 +-
gdb/nat/x86-linux-dregs.c | 2 +-
gdb/nat/x86-linux-dregs.h | 2 +-
gdb/nat/x86-linux.c | 2 +-
gdb/nat/x86-linux.h | 2 +-
gdb/nbsd-nat.c | 2 +-
gdb/nbsd-nat.h | 2 +-
gdb/nbsd-tdep.c | 2 +-
gdb/nbsd-tdep.h | 2 +-
gdb/nds32-tdep.c | 2 +-
gdb/nds32-tdep.h | 2 +-
gdb/nios2-linux-tdep.c | 2 +-
gdb/nios2-tdep.c | 2 +-
gdb/nios2-tdep.h | 2 +-
gdb/nto-procfs.c | 2 +-
gdb/nto-tdep.c | 2 +-
gdb/nto-tdep.h | 2 +-
gdb/objc-lang.c | 2 +-
gdb/objc-lang.h | 2 +-
gdb/objfile-flags.h | 2 +-
gdb/objfiles.c | 2 +-
gdb/objfiles.h | 2 +-
gdb/obsd-nat.c | 2 +-
gdb/obsd-nat.h | 2 +-
gdb/obsd-tdep.c | 2 +-
gdb/obsd-tdep.h | 2 +-
gdb/observer.c | 2 +-
gdb/observer.sh | 2 +-
gdb/opencl-lang.c | 2 +-
gdb/osabi.c | 2 +-
gdb/osabi.h | 2 +-
gdb/osdata.c | 2 +-
gdb/osdata.h | 2 +-
gdb/p-exp.y | 2 +-
gdb/p-lang.c | 2 +-
gdb/p-lang.h | 2 +-
gdb/p-typeprint.c | 2 +-
gdb/p-valprint.c | 2 +-
gdb/parse.c | 2 +-
gdb/parser-defs.h | 2 +-
gdb/posix-hdep.c | 2 +-
gdb/ppc-fbsd-nat.c | 2 +-
gdb/ppc-fbsd-tdep.c | 2 +-
gdb/ppc-fbsd-tdep.h | 2 +-
gdb/ppc-linux-nat.c | 2 +-
gdb/ppc-linux-tdep.c | 2 +-
gdb/ppc-linux-tdep.h | 2 +-
gdb/ppc-nbsd-nat.c | 2 +-
gdb/ppc-nbsd-tdep.c | 2 +-
gdb/ppc-nbsd-tdep.h | 2 +-
gdb/ppc-obsd-nat.c | 2 +-
gdb/ppc-obsd-tdep.c | 2 +-
gdb/ppc-obsd-tdep.h | 2 +-
gdb/ppc-ravenscar-thread.c | 2 +-
gdb/ppc-ravenscar-thread.h | 2 +-
gdb/ppc-sysv-tdep.c | 2 +-
gdb/ppc-tdep.h | 2 +-
gdb/ppc64-tdep.c | 2 +-
gdb/ppc64-tdep.h | 2 +-
gdb/printcmd.c | 2 +-
gdb/probe.c | 2 +-
gdb/probe.h | 2 +-
gdb/proc-api.c | 2 +-
gdb/proc-events.c | 2 +-
gdb/proc-flags.c | 2 +-
gdb/proc-service.c | 2 +-
gdb/proc-service.list | 2 +-
gdb/proc-utils.h | 2 +-
gdb/proc-why.c | 2 +-
gdb/procfs.c | 2 +-
gdb/procfs.h | 2 +-
gdb/progspace.c | 2 +-
gdb/progspace.h | 2 +-
gdb/prologue-value.c | 2 +-
gdb/prologue-value.h | 2 +-
gdb/psympriv.h | 2 +-
gdb/psymtab.c | 2 +-
gdb/psymtab.h | 2 +-
gdb/ptrace.m4 | 2 +-
gdb/python/lib/gdb/FrameDecorator.py | 2 +-
gdb/python/lib/gdb/FrameIterator.py | 2 +-
gdb/python/lib/gdb/__init__.py | 2 +-
gdb/python/lib/gdb/command/__init__.py | 2 +-
gdb/python/lib/gdb/command/explore.py | 2 +-
gdb/python/lib/gdb/command/frame_filters.py | 2 +-
gdb/python/lib/gdb/command/pretty_printers.py | 2 +-
gdb/python/lib/gdb/command/prompt.py | 2 +-
gdb/python/lib/gdb/command/type_printers.py | 2 +-
gdb/python/lib/gdb/command/unwinders.py | 2 +-
gdb/python/lib/gdb/command/xmethods.py | 2 +-
gdb/python/lib/gdb/frames.py | 2 +-
gdb/python/lib/gdb/function/__init__.py | 2 +-
gdb/python/lib/gdb/function/as_string.py | 2 +-
gdb/python/lib/gdb/function/caller_is.py | 2 +-
gdb/python/lib/gdb/function/strfns.py | 2 +-
gdb/python/lib/gdb/printer/__init__.py | 2 +-
gdb/python/lib/gdb/printer/bound_registers.py | 2 +-
gdb/python/lib/gdb/printing.py | 2 +-
gdb/python/lib/gdb/prompt.py | 2 +-
gdb/python/lib/gdb/types.py | 2 +-
gdb/python/lib/gdb/unwinder.py | 2 +-
gdb/python/lib/gdb/xmethod.py | 2 +-
gdb/python/py-arch.c | 2 +-
gdb/python/py-auto-load.c | 2 +-
gdb/python/py-block.c | 2 +-
gdb/python/py-bpevent.c | 2 +-
gdb/python/py-breakpoint.c | 2 +-
gdb/python/py-cmd.c | 2 +-
gdb/python/py-continueevent.c | 2 +-
gdb/python/py-event.c | 2 +-
gdb/python/py-event.h | 2 +-
gdb/python/py-events.h | 2 +-
gdb/python/py-evtregistry.c | 2 +-
gdb/python/py-evts.c | 2 +-
gdb/python/py-exitedevent.c | 2 +-
gdb/python/py-finishbreakpoint.c | 2 +-
gdb/python/py-frame.c | 2 +-
gdb/python/py-framefilter.c | 2 +-
gdb/python/py-function.c | 2 +-
gdb/python/py-gdb-readline.c | 2 +-
gdb/python/py-inferior.c | 2 +-
gdb/python/py-infevents.c | 2 +-
gdb/python/py-infthread.c | 2 +-
gdb/python/py-lazy-string.c | 2 +-
gdb/python/py-linetable.c | 2 +-
gdb/python/py-newobjfileevent.c | 2 +-
gdb/python/py-objfile.c | 2 +-
gdb/python/py-param.c | 2 +-
gdb/python/py-prettyprint.c | 2 +-
gdb/python/py-progspace.c | 2 +-
gdb/python/py-signalevent.c | 2 +-
gdb/python/py-stopevent.c | 2 +-
gdb/python/py-stopevent.h | 2 +-
gdb/python/py-symbol.c | 2 +-
gdb/python/py-symtab.c | 2 +-
gdb/python/py-threadevent.c | 2 +-
gdb/python/py-type.c | 2 +-
gdb/python/py-unwind.c | 2 +-
gdb/python/py-utils.c | 2 +-
gdb/python/py-value.c | 2 +-
gdb/python/py-varobj.c | 2 +-
gdb/python/py-xmethods.c | 2 +-
gdb/python/python-internal.h | 2 +-
gdb/python/python.c | 2 +-
gdb/python/python.h | 2 +-
gdb/ravenscar-thread.c | 2 +-
gdb/ravenscar-thread.h | 2 +-
gdb/record-btrace.c | 2 +-
gdb/record-btrace.h | 2 +-
gdb/record-full.c | 2 +-
gdb/record-full.h | 2 +-
gdb/record.c | 2 +-
gdb/record.h | 2 +-
gdb/regcache.c | 2 +-
gdb/regcache.h | 2 +-
gdb/regformats/regdat.sh | 2 +-
gdb/regformats/regdef.h | 2 +-
gdb/reggroups.c | 2 +-
gdb/reggroups.h | 2 +-
gdb/registry.c | 2 +-
gdb/registry.h | 2 +-
gdb/regset.h | 2 +-
gdb/remote-fileio.c | 2 +-
gdb/remote-fileio.h | 2 +-
gdb/remote-notif.c | 2 +-
gdb/remote-notif.h | 2 +-
gdb/remote-sim.c | 2 +-
gdb/remote.c | 2 +-
gdb/remote.h | 2 +-
gdb/reply_mig_hack.awk | 2 +-
gdb/reverse.c | 2 +-
gdb/rl78-tdep.c | 2 +-
gdb/rs6000-aix-tdep.c | 2 +-
gdb/rs6000-aix-tdep.h | 2 +-
gdb/rs6000-lynx178-tdep.c | 2 +-
gdb/rs6000-nat.c | 2 +-
gdb/rs6000-tdep.c | 2 +-
gdb/rs6000-tdep.h | 2 +-
gdb/rust-exp.y | 2 +-
gdb/rust-lang.c | 2 +-
gdb/rust-lang.h | 2 +-
gdb/rx-tdep.c | 2 +-
gdb/s390-linux-nat.c | 2 +-
gdb/s390-linux-tdep.c | 2 +-
gdb/s390-linux-tdep.h | 2 +-
gdb/score-tdep.c | 2 +-
gdb/score-tdep.h | 2 +-
gdb/selftest.c | 2 +-
gdb/selftest.h | 2 +-
gdb/sentinel-frame.c | 2 +-
gdb/sentinel-frame.h | 2 +-
gdb/ser-base.c | 2 +-
gdb/ser-base.h | 2 +-
gdb/ser-event.c | 2 +-
gdb/ser-event.h | 2 +-
gdb/ser-go32.c | 2 +-
gdb/ser-mingw.c | 2 +-
gdb/ser-pipe.c | 2 +-
gdb/ser-tcp.c | 2 +-
gdb/ser-tcp.h | 2 +-
gdb/ser-unix.c | 2 +-
gdb/ser-unix.h | 2 +-
gdb/serial.c | 2 +-
gdb/serial.h | 2 +-
gdb/sh-linux-tdep.c | 2 +-
gdb/sh-nbsd-nat.c | 2 +-
gdb/sh-nbsd-tdep.c | 2 +-
gdb/sh-tdep.c | 2 +-
gdb/sh-tdep.h | 2 +-
gdb/sh64-tdep.c | 2 +-
gdb/sh64-tdep.h | 2 +-
gdb/sim-regno.h | 2 +-
gdb/skip.c | 2 +-
gdb/skip.h | 2 +-
gdb/sol-thread.c | 2 +-
gdb/sol2-tdep.c | 2 +-
gdb/sol2-tdep.h | 2 +-
gdb/solib-aix.c | 2 +-
gdb/solib-aix.h | 2 +-
gdb/solib-darwin.c | 2 +-
gdb/solib-darwin.h | 2 +-
gdb/solib-dsbt.c | 2 +-
gdb/solib-frv.c | 2 +-
gdb/solib-spu.c | 2 +-
gdb/solib-spu.h | 2 +-
gdb/solib-svr4.c | 2 +-
gdb/solib-svr4.h | 2 +-
gdb/solib-target.c | 2 +-
gdb/solib-target.h | 2 +-
gdb/solib.c | 2 +-
gdb/solib.h | 2 +-
gdb/solist.h | 2 +-
gdb/source.c | 2 +-
gdb/source.h | 2 +-
gdb/sparc-linux-nat.c | 2 +-
gdb/sparc-linux-tdep.c | 2 +-
gdb/sparc-nat.c | 2 +-
gdb/sparc-nat.h | 2 +-
gdb/sparc-nbsd-nat.c | 2 +-
gdb/sparc-nbsd-tdep.c | 2 +-
gdb/sparc-obsd-tdep.c | 2 +-
gdb/sparc-ravenscar-thread.c | 2 +-
gdb/sparc-ravenscar-thread.h | 2 +-
gdb/sparc-sol2-nat.c | 2 +-
gdb/sparc-sol2-tdep.c | 2 +-
gdb/sparc-tdep.c | 2 +-
gdb/sparc-tdep.h | 2 +-
gdb/sparc64-fbsd-nat.c | 2 +-
gdb/sparc64-fbsd-tdep.c | 2 +-
gdb/sparc64-linux-nat.c | 2 +-
gdb/sparc64-linux-tdep.c | 2 +-
gdb/sparc64-nat.c | 2 +-
gdb/sparc64-nbsd-nat.c | 2 +-
gdb/sparc64-nbsd-tdep.c | 2 +-
gdb/sparc64-obsd-nat.c | 2 +-
gdb/sparc64-obsd-tdep.c | 2 +-
gdb/sparc64-sol2-tdep.c | 2 +-
gdb/sparc64-tdep.c | 2 +-
gdb/sparc64-tdep.h | 2 +-
gdb/spu-linux-nat.c | 2 +-
gdb/spu-multiarch.c | 2 +-
gdb/spu-tdep.c | 2 +-
gdb/spu-tdep.h | 2 +-
gdb/stabsread.c | 2 +-
gdb/stabsread.h | 2 +-
gdb/stack.c | 2 +-
gdb/stack.h | 2 +-
gdb/stap-probe.c | 2 +-
gdb/stap-probe.h | 2 +-
gdb/std-operator.def | 2 +-
gdb/std-regs.c | 2 +-
gdb/stub-termcap.c | 2 +-
gdb/stubs/buildvms.com | 2 +-
gdb/stubs/ia64vms-stub.c | 2 +-
gdb/symfile-add-flags.h | 2 +-
gdb/symfile-debug.c | 2 +-
gdb/symfile-mem.c | 2 +-
gdb/symfile.c | 2 +-
gdb/symfile.h | 2 +-
gdb/symmisc.c | 2 +-
gdb/symtab.c | 2 +-
gdb/symtab.h | 2 +-
gdb/syscalls/aarch64-linux.xml | 2 +-
gdb/syscalls/aarch64-linux.xml.in | 2 +-
gdb/syscalls/amd64-linux.xml | 2 +-
gdb/syscalls/amd64-linux.xml.in | 2 +-
gdb/syscalls/apply-defaults.xsl | 2 +-
gdb/syscalls/arm-linux.py | 2 +-
gdb/syscalls/arm-linux.xml | 2 +-
gdb/syscalls/arm-linux.xml.in | 2 +-
gdb/syscalls/bfin-linux.xml.in | 2 +-
gdb/syscalls/freebsd.xml | 2 +-
gdb/syscalls/gdb-syscalls.dtd | 2 +-
gdb/syscalls/i386-linux.xml | 2 +-
gdb/syscalls/i386-linux.xml.in | 2 +-
gdb/syscalls/linux-defaults.xml.in | 2 +-
gdb/syscalls/mips-n32-linux.xml | 2 +-
gdb/syscalls/mips-n32-linux.xml.in | 2 +-
gdb/syscalls/mips-n64-linux.xml | 2 +-
gdb/syscalls/mips-n64-linux.xml.in | 2 +-
gdb/syscalls/mips-o32-linux.xml | 2 +-
gdb/syscalls/mips-o32-linux.xml.in | 2 +-
gdb/syscalls/ppc-linux.xml | 2 +-
gdb/syscalls/ppc-linux.xml.in | 2 +-
gdb/syscalls/ppc64-linux.xml | 2 +-
gdb/syscalls/ppc64-linux.xml.in | 2 +-
gdb/syscalls/s390-linux.xml | 2 +-
gdb/syscalls/s390-linux.xml.in | 2 +-
gdb/syscalls/s390x-linux.xml | 2 +-
gdb/syscalls/s390x-linux.xml.in | 2 +-
gdb/syscalls/sparc-linux.xml | 2 +-
gdb/syscalls/sparc-linux.xml.in | 2 +-
gdb/syscalls/sparc64-linux.xml | 2 +-
gdb/syscalls/sparc64-linux.xml.in | 2 +-
gdb/system-gdbinit/elinos.py | 2 +-
gdb/system-gdbinit/wrs-linux.py | 2 +-
gdb/target-dcache.c | 2 +-
gdb/target-dcache.h | 2 +-
gdb/target-debug.h | 2 +-
gdb/target-descriptions.c | 2 +-
gdb/target-descriptions.h | 2 +-
gdb/target-memory.c | 2 +-
gdb/target.c | 2 +-
gdb/target.h | 2 +-
gdb/target/resume.h | 2 +-
gdb/target/target.h | 2 +-
gdb/target/wait.h | 2 +-
gdb/target/waitstatus.c | 2 +-
gdb/target/waitstatus.h | 2 +-
gdb/terminal.h | 2 +-
gdb/testsuite/ChangeLog | 2 +-
gdb/testsuite/ChangeLog-1993-2013 | 2 +-
gdb/testsuite/Makefile.in | 2 +-
gdb/testsuite/analyze-racy-logs.py | 2 +-
gdb/testsuite/boards/cc-with-tweaks.exp | 2 +-
gdb/testsuite/boards/dwarf4-gdb-index.exp | 2 +-
gdb/testsuite/boards/fission-dwp.exp | 2 +-
gdb/testsuite/boards/fission.exp | 2 +-
gdb/testsuite/boards/gdbserver-base.exp | 2 +-
gdb/testsuite/boards/local-remote-host-native.exp | 2 +-
gdb/testsuite/boards/local-remote-host-notty.exp | 2 +-
gdb/testsuite/boards/local-remote-host.exp | 2 +-
gdb/testsuite/boards/native-extended-gdbserver.exp | 2 +-
gdb/testsuite/boards/native-gdbserver.exp | 2 +-
gdb/testsuite/boards/native-stdio-gdbserver.exp | 2 +-
.../boards/remote-gdbserver-on-localhost.exp | 2 +-
gdb/testsuite/boards/remote-stdio-gdbserver.exp | 2 +-
gdb/testsuite/boards/stabs.exp | 2 +-
gdb/testsuite/config/cfdbug.exp | 2 +-
gdb/testsuite/config/d10v.exp | 2 +-
gdb/testsuite/config/default.exp | 2 +-
gdb/testsuite/config/dve.exp | 2 +-
gdb/testsuite/config/extended-gdbserver.exp | 2 +-
gdb/testsuite/config/gdbserver.exp | 2 +-
gdb/testsuite/config/i960.exp | 2 +-
gdb/testsuite/config/m32r.exp | 2 +-
gdb/testsuite/config/mips-idt.exp | 2 +-
gdb/testsuite/config/mips.exp | 2 +-
gdb/testsuite/config/mn10300-eval.exp | 2 +-
gdb/testsuite/config/monitor.exp | 2 +-
gdb/testsuite/config/proelf.exp | 2 +-
gdb/testsuite/config/rom68k.exp | 2 +-
gdb/testsuite/config/sh.exp | 2 +-
gdb/testsuite/config/sid.exp | 2 +-
gdb/testsuite/config/sim.exp | 2 +-
gdb/testsuite/config/slite.exp | 2 +-
gdb/testsuite/config/unix.exp | 2 +-
gdb/testsuite/config/vr4300.exp | 2 +-
gdb/testsuite/config/vr5000.exp | 2 +-
gdb/testsuite/configure.ac | 2 +-
gdb/testsuite/dg-extract-results.sh | 2 +-
gdb/testsuite/gdb.ada/O2_float_param.exp | 2 +-
gdb/testsuite/gdb.ada/O2_float_param/callee.adb | 2 +-
gdb/testsuite/gdb.ada/O2_float_param/callee.ads | 2 +-
gdb/testsuite/gdb.ada/O2_float_param/caller.adb | 2 +-
gdb/testsuite/gdb.ada/O2_float_param/caller.ads | 2 +-
gdb/testsuite/gdb.ada/O2_float_param/foo.adb | 2 +-
gdb/testsuite/gdb.ada/O2_float_param/io.adb | 2 +-
gdb/testsuite/gdb.ada/O2_float_param/io.ads | 2 +-
gdb/testsuite/gdb.ada/access_to_packed_array.exp | 2 +-
.../gdb.ada/access_to_packed_array/foo.adb | 2 +-
.../gdb.ada/access_to_packed_array/pack.adb | 2 +-
.../gdb.ada/access_to_packed_array/pack.ads | 2 +-
gdb/testsuite/gdb.ada/addr_arith.exp | 2 +-
gdb/testsuite/gdb.ada/addr_arith/foo_na07_019.adb | 2 +-
gdb/testsuite/gdb.ada/addr_arith/pck.adb | 2 +-
gdb/testsuite/gdb.ada/addr_arith/pck.ads | 2 +-
gdb/testsuite/gdb.ada/aliased_array.exp | 2 +-
gdb/testsuite/gdb.ada/aliased_array/foo.adb | 2 +-
gdb/testsuite/gdb.ada/aliased_array/pck.adb | 2 +-
gdb/testsuite/gdb.ada/aliased_array/pck.ads | 2 +-
gdb/testsuite/gdb.ada/arr_arr.exp | 2 +-
gdb/testsuite/gdb.ada/arr_arr/foo.adb | 2 +-
gdb/testsuite/gdb.ada/arr_arr/pck.adb | 2 +-
gdb/testsuite/gdb.ada/arr_arr/pck.ads | 2 +-
gdb/testsuite/gdb.ada/array_bounds.exp | 2 +-
gdb/testsuite/gdb.ada/array_bounds/bar.adb | 2 +-
gdb/testsuite/gdb.ada/array_char_idx.exp | 2 +-
gdb/testsuite/gdb.ada/array_char_idx/foo.adb | 2 +-
gdb/testsuite/gdb.ada/array_char_idx/pck.adb | 2 +-
gdb/testsuite/gdb.ada/array_char_idx/pck.ads | 2 +-
gdb/testsuite/gdb.ada/array_of_variable_length.exp | 2 +-
.../gdb.ada/array_of_variable_length/foo.adb | 2 +-
.../gdb.ada/array_of_variable_length/pck.adb | 2 +-
.../gdb.ada/array_of_variable_length/pck.ads | 2 +-
gdb/testsuite/gdb.ada/array_ptr_renaming.exp | 2 +-
gdb/testsuite/gdb.ada/array_ptr_renaming/foo.adb | 2 +-
gdb/testsuite/gdb.ada/array_ptr_renaming/pack.ads | 2 +-
gdb/testsuite/gdb.ada/array_return.exp | 2 +-
gdb/testsuite/gdb.ada/array_return/p.adb | 2 +-
gdb/testsuite/gdb.ada/array_return/pck.adb | 2 +-
gdb/testsuite/gdb.ada/array_return/pck.ads | 2 +-
gdb/testsuite/gdb.ada/array_subscript_addr.exp | 2 +-
gdb/testsuite/gdb.ada/array_subscript_addr/p.adb | 2 +-
gdb/testsuite/gdb.ada/arraydim.exp | 2 +-
gdb/testsuite/gdb.ada/arraydim/foo.adb | 2 +-
gdb/testsuite/gdb.ada/arraydim/inc.c | 2 +-
gdb/testsuite/gdb.ada/arraydim/pck.adb | 2 +-
gdb/testsuite/gdb.ada/arraydim/pck.ads | 2 +-
gdb/testsuite/gdb.ada/arrayidx.exp | 2 +-
gdb/testsuite/gdb.ada/arrayidx/p.adb | 2 +-
gdb/testsuite/gdb.ada/arrayparam.exp | 2 +-
gdb/testsuite/gdb.ada/arrayparam/foo.adb | 2 +-
gdb/testsuite/gdb.ada/arrayparam/pck.adb | 2 +-
gdb/testsuite/gdb.ada/arrayparam/pck.ads | 2 +-
gdb/testsuite/gdb.ada/arrayptr.exp | 2 +-
gdb/testsuite/gdb.ada/arrayptr/foo.adb | 2 +-
gdb/testsuite/gdb.ada/arrayptr/pck.adb | 2 +-
gdb/testsuite/gdb.ada/arrayptr/pck.ads | 2 +-
gdb/testsuite/gdb.ada/assign_1.exp | 2 +-
gdb/testsuite/gdb.ada/atomic_enum.exp | 2 +-
gdb/testsuite/gdb.ada/atomic_enum/foo.adb | 2 +-
gdb/testsuite/gdb.ada/atomic_enum/pck.adb | 2 +-
gdb/testsuite/gdb.ada/atomic_enum/pck.ads | 2 +-
gdb/testsuite/gdb.ada/attr_ref_and_charlit.exp | 2 +-
gdb/testsuite/gdb.ada/attr_ref_and_charlit/foo.adb | 2 +-
gdb/testsuite/gdb.ada/bad-task-bp-keyword.exp | 2 +-
gdb/testsuite/gdb.ada/bad-task-bp-keyword/foo.adb | 2 +-
gdb/testsuite/gdb.ada/boolean_expr.exp | 2 +-
gdb/testsuite/gdb.ada/bp_enum_homonym.exp | 2 +-
gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb | 2 +-
gdb/testsuite/gdb.ada/bp_enum_homonym/pck.adb | 2 +-
gdb/testsuite/gdb.ada/bp_enum_homonym/pck.ads | 2 +-
gdb/testsuite/gdb.ada/bp_on_var.exp | 2 +-
gdb/testsuite/gdb.ada/bp_on_var/foo.adb | 2 +-
gdb/testsuite/gdb.ada/bp_on_var/pck.adb | 2 +-
gdb/testsuite/gdb.ada/bp_on_var/pck.ads | 2 +-
gdb/testsuite/gdb.ada/bp_range_type.exp | 2 +-
gdb/testsuite/gdb.ada/bp_range_type/foo.adb | 2 +-
gdb/testsuite/gdb.ada/bp_range_type/pck.adb | 2 +-
gdb/testsuite/gdb.ada/bp_range_type/pck.ads | 2 +-
gdb/testsuite/gdb.ada/bp_reset.exp | 2 +-
gdb/testsuite/gdb.ada/bp_reset/foo.adb | 2 +-
gdb/testsuite/gdb.ada/bp_reset/io.adb | 2 +-
gdb/testsuite/gdb.ada/bp_reset/io.ads | 2 +-
gdb/testsuite/gdb.ada/bp_reset/pck.adb | 2 +-
gdb/testsuite/gdb.ada/bp_reset/pck.ads | 2 +-
gdb/testsuite/gdb.ada/byte_packed_arr.exp | 2 +-
.../gdb.ada/byte_packed_arr/array_list_g.ads | 2 +-
gdb/testsuite/gdb.ada/byte_packed_arr/reprod.adb | 2 +-
gdb/testsuite/gdb.ada/byte_packed_arr/reprod.ads | 2 +-
.../gdb.ada/byte_packed_arr/reprod_main.adb | 2 +-
gdb/testsuite/gdb.ada/call_pn.exp | 2 +-
gdb/testsuite/gdb.ada/call_pn/foo.adb | 2 +-
gdb/testsuite/gdb.ada/call_pn/pck.adb | 2 +-
gdb/testsuite/gdb.ada/call_pn/pck.ads | 2 +-
gdb/testsuite/gdb.ada/catch_ex.exp | 2 +-
gdb/testsuite/gdb.ada/catch_ex/foo.adb | 2 +-
gdb/testsuite/gdb.ada/char_enum.exp | 2 +-
gdb/testsuite/gdb.ada/char_enum/foo.adb | 2 +-
gdb/testsuite/gdb.ada/char_enum/pck.adb | 2 +-
gdb/testsuite/gdb.ada/char_enum/pck.ads | 2 +-
gdb/testsuite/gdb.ada/char_param.exp | 2 +-
gdb/testsuite/gdb.ada/char_param/foo.adb | 2 +-
gdb/testsuite/gdb.ada/char_param/pck.adb | 2 +-
gdb/testsuite/gdb.ada/char_param/pck.ads | 2 +-
gdb/testsuite/gdb.ada/complete.exp | 2 +-
gdb/testsuite/gdb.ada/complete/aux_pck.adb | 2 +-
gdb/testsuite/gdb.ada/complete/aux_pck.ads | 2 +-
gdb/testsuite/gdb.ada/complete/foo.adb | 2 +-
gdb/testsuite/gdb.ada/complete/pck.adb | 2 +-
gdb/testsuite/gdb.ada/complete/pck.ads | 2 +-
gdb/testsuite/gdb.ada/cond_lang.exp | 2 +-
gdb/testsuite/gdb.ada/cond_lang/a.adb | 2 +-
gdb/testsuite/gdb.ada/cond_lang/foo.c | 2 +-
gdb/testsuite/gdb.ada/cond_lang/mixed.adb | 2 +-
gdb/testsuite/gdb.ada/cond_lang/mixed.ads | 2 +-
gdb/testsuite/gdb.ada/cond_lang/pck.adb | 2 +-
gdb/testsuite/gdb.ada/cond_lang/pck.ads | 2 +-
gdb/testsuite/gdb.ada/disc_arr_bound.exp | 2 +-
.../gdb.ada/disc_arr_bound/foo_n612_026.adb | 2 +-
gdb/testsuite/gdb.ada/disc_arr_bound/pck.adb | 2 +-
gdb/testsuite/gdb.ada/disc_arr_bound/pck.ads | 2 +-
gdb/testsuite/gdb.ada/dot_all.exp | 2 +-
gdb/testsuite/gdb.ada/dot_all/foo.adb | 2 +-
gdb/testsuite/gdb.ada/dot_all/pck.adb | 2 +-
gdb/testsuite/gdb.ada/dot_all/pck.ads | 2 +-
gdb/testsuite/gdb.ada/dyn_arrayidx.exp | 2 +-
gdb/testsuite/gdb.ada/dyn_arrayidx/foo.adb | 2 +-
gdb/testsuite/gdb.ada/dyn_loc.exp | 2 +-
gdb/testsuite/gdb.ada/dyn_loc/p.adb | 2 +-
gdb/testsuite/gdb.ada/dyn_loc/pack.adb | 2 +-
gdb/testsuite/gdb.ada/dyn_loc/pack.ads | 2 +-
gdb/testsuite/gdb.ada/enum_idx_packed.exp | 2 +-
gdb/testsuite/gdb.ada/enum_idx_packed/foo.adb | 2 +-
gdb/testsuite/gdb.ada/enum_idx_packed/pck.adb | 2 +-
gdb/testsuite/gdb.ada/enum_idx_packed/pck.ads | 2 +-
gdb/testsuite/gdb.ada/exec_changed.exp | 2 +-
gdb/testsuite/gdb.ada/exec_changed/first.adb | 2 +-
gdb/testsuite/gdb.ada/exec_changed/second.adb | 2 +-
gdb/testsuite/gdb.ada/expr_delims.exp | 2 +-
gdb/testsuite/gdb.ada/expr_delims/foo.adb | 2 +-
gdb/testsuite/gdb.ada/expr_delims/pck.adb | 2 +-
gdb/testsuite/gdb.ada/expr_delims/pck.ads | 2 +-
gdb/testsuite/gdb.ada/exprs.exp | 2 +-
gdb/testsuite/gdb.ada/exprs/p.adb | 2 +-
gdb/testsuite/gdb.ada/fin_fun_out.exp | 2 +-
gdb/testsuite/gdb.ada/fin_fun_out/bar.adb | 2 +-
gdb/testsuite/gdb.ada/fin_fun_out/bar.ads | 2 +-
gdb/testsuite/gdb.ada/fin_fun_out/foo_o525_013.adb | 2 +-
gdb/testsuite/gdb.ada/fixed_cmp.exp | 2 +-
gdb/testsuite/gdb.ada/fixed_cmp/fixed.adb | 2 +-
gdb/testsuite/gdb.ada/fixed_cmp/pck.adb | 2 +-
gdb/testsuite/gdb.ada/fixed_cmp/pck.ads | 2 +-
gdb/testsuite/gdb.ada/fixed_points.exp | 2 +-
.../gdb.ada/fixed_points/fixed_points.adb | 2 +-
gdb/testsuite/gdb.ada/float_param.exp | 2 +-
gdb/testsuite/gdb.ada/float_param/foo.adb | 2 +-
gdb/testsuite/gdb.ada/float_param/pck.adb | 2 +-
gdb/testsuite/gdb.ada/float_param/pck.ads | 2 +-
gdb/testsuite/gdb.ada/formatted_ref.exp | 2 +-
gdb/testsuite/gdb.ada/formatted_ref/defs.adb | 2 +-
gdb/testsuite/gdb.ada/formatted_ref/defs.ads | 2 +-
.../gdb.ada/formatted_ref/formatted_ref.adb | 2 +-
gdb/testsuite/gdb.ada/frame_args.exp | 2 +-
gdb/testsuite/gdb.ada/frame_args/foo.adb | 2 +-
gdb/testsuite/gdb.ada/frame_args/pck.adb | 2 +-
gdb/testsuite/gdb.ada/frame_args/pck.ads | 2 +-
gdb/testsuite/gdb.ada/fullname_bp.exp | 2 +-
gdb/testsuite/gdb.ada/fullname_bp/dn.adb | 2 +-
gdb/testsuite/gdb.ada/fullname_bp/dn.ads | 2 +-
gdb/testsuite/gdb.ada/fullname_bp/foo.adb | 2 +-
gdb/testsuite/gdb.ada/fullname_bp/pck.adb | 2 +-
gdb/testsuite/gdb.ada/fullname_bp/pck.ads | 2 +-
gdb/testsuite/gdb.ada/fun_addr.exp | 2 +-
gdb/testsuite/gdb.ada/fun_addr/foo.adb | 2 +-
gdb/testsuite/gdb.ada/fun_in_declare.exp | 2 +-
gdb/testsuite/gdb.ada/fun_in_declare/foo.adb | 2 +-
gdb/testsuite/gdb.ada/fun_in_declare/pck.adb | 2 +-
gdb/testsuite/gdb.ada/fun_in_declare/pck.ads | 2 +-
gdb/testsuite/gdb.ada/fun_overload_menu.exp | 2 +-
gdb/testsuite/gdb.ada/fun_overload_menu/foo.adb | 2 +-
gdb/testsuite/gdb.ada/fun_renaming.exp | 2 +-
.../gdb.ada/fun_renaming/fun_renaming.adb | 2 +-
gdb/testsuite/gdb.ada/fun_renaming/pack.adb | 2 +-
gdb/testsuite/gdb.ada/fun_renaming/pack.ads | 2 +-
gdb/testsuite/gdb.ada/funcall_char.exp | 2 +-
gdb/testsuite/gdb.ada/funcall_char/foo.adb | 2 +-
gdb/testsuite/gdb.ada/funcall_param.exp | 2 +-
gdb/testsuite/gdb.ada/funcall_param/foo.adb | 2 +-
gdb/testsuite/gdb.ada/funcall_param/pck.adb | 2 +-
gdb/testsuite/gdb.ada/funcall_param/pck.ads | 2 +-
gdb/testsuite/gdb.ada/funcall_ref.exp | 2 +-
gdb/testsuite/gdb.ada/funcall_ref/foo.adb | 2 +-
gdb/testsuite/gdb.ada/homonym.exp | 2 +-
gdb/testsuite/gdb.ada/homonym/homonym.adb | 2 +-
gdb/testsuite/gdb.ada/homonym/homonym.ads | 2 +-
gdb/testsuite/gdb.ada/homonym/homonym_main.adb | 2 +-
gdb/testsuite/gdb.ada/homonym/pck.adb | 2 +-
gdb/testsuite/gdb.ada/homonym/pck.ads | 2 +-
gdb/testsuite/gdb.ada/info_exc.exp | 2 +-
gdb/testsuite/gdb.ada/info_exc/const.ads | 2 +-
gdb/testsuite/gdb.ada/info_exc/foo.adb | 2 +-
gdb/testsuite/gdb.ada/info_locals_renaming.exp | 2 +-
gdb/testsuite/gdb.ada/info_locals_renaming/foo.adb | 2 +-
gdb/testsuite/gdb.ada/info_locals_renaming/pck.adb | 2 +-
gdb/testsuite/gdb.ada/info_locals_renaming/pck.ads | 2 +-
gdb/testsuite/gdb.ada/info_types.c | 2 +-
gdb/testsuite/gdb.ada/info_types.exp | 2 +-
gdb/testsuite/gdb.ada/int_deref.exp | 2 +-
gdb/testsuite/gdb.ada/int_deref/foo.adb | 2 +-
gdb/testsuite/gdb.ada/int_deref/pck.ads | 2 +-
gdb/testsuite/gdb.ada/interface.exp | 2 +-
gdb/testsuite/gdb.ada/interface/foo.adb | 2 +-
gdb/testsuite/gdb.ada/interface/types.adb | 2 +-
gdb/testsuite/gdb.ada/interface/types.ads | 2 +-
gdb/testsuite/gdb.ada/iwide.exp | 2 +-
gdb/testsuite/gdb.ada/iwide/classes.adb | 2 +-
gdb/testsuite/gdb.ada/iwide/classes.ads | 2 +-
gdb/testsuite/gdb.ada/iwide/p.adb | 2 +-
gdb/testsuite/gdb.ada/lang_switch.exp | 2 +-
gdb/testsuite/gdb.ada/lang_switch/foo.c | 2 +-
gdb/testsuite/gdb.ada/lang_switch/lang_switch.adb | 2 +-
gdb/testsuite/gdb.ada/mi_catch_ex.exp | 2 +-
gdb/testsuite/gdb.ada/mi_catch_ex/foo.adb | 2 +-
gdb/testsuite/gdb.ada/mi_dyn_arr.exp | 2 +-
gdb/testsuite/gdb.ada/mi_dyn_arr/foo.adb | 2 +-
gdb/testsuite/gdb.ada/mi_dyn_arr/pck.adb | 2 +-
gdb/testsuite/gdb.ada/mi_dyn_arr/pck.ads | 2 +-
gdb/testsuite/gdb.ada/mi_ex_cond.exp | 2 +-
gdb/testsuite/gdb.ada/mi_ex_cond/foo.adb | 2 +-
gdb/testsuite/gdb.ada/mi_ex_cond/pck.ads | 2 +-
gdb/testsuite/gdb.ada/mi_exc_info.exp | 2 +-
gdb/testsuite/gdb.ada/mi_exc_info/const.ads | 2 +-
gdb/testsuite/gdb.ada/mi_exc_info/foo.adb | 2 +-
gdb/testsuite/gdb.ada/mi_interface.exp | 2 +-
gdb/testsuite/gdb.ada/mi_interface/foo.adb | 2 +-
gdb/testsuite/gdb.ada/mi_interface/pck.adb | 2 +-
gdb/testsuite/gdb.ada/mi_interface/pck.ads | 2 +-
gdb/testsuite/gdb.ada/mi_task_arg.exp | 2 +-
gdb/testsuite/gdb.ada/mi_task_arg/task_switch.adb | 2 +-
gdb/testsuite/gdb.ada/mi_task_info.exp | 2 +-
gdb/testsuite/gdb.ada/mi_task_info/task_switch.adb | 2 +-
gdb/testsuite/gdb.ada/mi_var_array.exp | 2 +-
gdb/testsuite/gdb.ada/mi_var_array/bar.adb | 2 +-
gdb/testsuite/gdb.ada/mi_var_array/pck.adb | 2 +-
gdb/testsuite/gdb.ada/mi_var_array/pck.ads | 2 +-
gdb/testsuite/gdb.ada/mod_from_name.exp | 2 +-
gdb/testsuite/gdb.ada/mod_from_name/foo.adb | 2 +-
gdb/testsuite/gdb.ada/n_arr_bound.exp | 2 +-
gdb/testsuite/gdb.ada/n_arr_bound/foo.adb | 2 +-
gdb/testsuite/gdb.ada/n_arr_bound/pck.adb | 2 +-
gdb/testsuite/gdb.ada/n_arr_bound/pck.ads | 2 +-
gdb/testsuite/gdb.ada/nested.exp | 2 +-
gdb/testsuite/gdb.ada/nested/hello.adb | 2 +-
gdb/testsuite/gdb.ada/null_array.exp | 2 +-
gdb/testsuite/gdb.ada/null_array/foo.adb | 2 +-
gdb/testsuite/gdb.ada/null_array/pck.adb | 2 +-
gdb/testsuite/gdb.ada/null_array/pck.ads | 2 +-
gdb/testsuite/gdb.ada/null_record.exp | 2 +-
gdb/testsuite/gdb.ada/null_record/bar.adb | 2 +-
gdb/testsuite/gdb.ada/null_record/bar.ads | 2 +-
gdb/testsuite/gdb.ada/null_record/null_record.adb | 2 +-
gdb/testsuite/gdb.ada/operator_bp.exp | 2 +-
gdb/testsuite/gdb.ada/operator_bp/ops.adb | 2 +-
gdb/testsuite/gdb.ada/operator_bp/ops.ads | 2 +-
gdb/testsuite/gdb.ada/operator_bp/ops_test.adb | 2 +-
gdb/testsuite/gdb.ada/optim_drec.exp | 2 +-
gdb/testsuite/gdb.ada/optim_drec/foo.adb | 2 +-
gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp | 2 +-
.../gdb.ada/out_of_line_in_inlined/bar.adb | 2 +-
.../gdb.ada/out_of_line_in_inlined/bar.ads | 2 +-
.../out_of_line_in_inlined/foo_o224_021.adb | 2 +-
gdb/testsuite/gdb.ada/packed_array.exp | 2 +-
gdb/testsuite/gdb.ada/packed_array/pa.adb | 2 +-
gdb/testsuite/gdb.ada/packed_array/pck.adb | 2 +-
gdb/testsuite/gdb.ada/packed_array/pck.ads | 2 +-
gdb/testsuite/gdb.ada/packed_tagged.exp | 2 +-
gdb/testsuite/gdb.ada/packed_tagged/comp_bug.adb | 2 +-
gdb/testsuite/gdb.ada/pckd_arr_ren.exp | 2 +-
gdb/testsuite/gdb.ada/pckd_arr_ren/foo.adb | 2 +-
gdb/testsuite/gdb.ada/pckd_arr_ren/pck.adb | 2 +-
gdb/testsuite/gdb.ada/pckd_arr_ren/pck.ads | 2 +-
gdb/testsuite/gdb.ada/pckd_neg.exp | 2 +-
gdb/testsuite/gdb.ada/pckd_neg/foo_o508_021.adb | 2 +-
gdb/testsuite/gdb.ada/pckd_neg/pck.adb | 2 +-
gdb/testsuite/gdb.ada/pckd_neg/pck.ads | 2 +-
gdb/testsuite/gdb.ada/pkd_arr_elem.exp | 2 +-
gdb/testsuite/gdb.ada/pkd_arr_elem/failure.adb | 2 +-
gdb/testsuite/gdb.ada/pkd_arr_elem/pck.adb | 2 +-
gdb/testsuite/gdb.ada/pkd_arr_elem/pck.ads | 2 +-
gdb/testsuite/gdb.ada/pp-rec-component.exp | 2 +-
gdb/testsuite/gdb.ada/pp-rec-component.py | 2 +-
gdb/testsuite/gdb.ada/pp-rec-component/foo.adb | 2 +-
gdb/testsuite/gdb.ada/pp-rec-component/pck.adb | 2 +-
gdb/testsuite/gdb.ada/pp-rec-component/pck.ads | 2 +-
gdb/testsuite/gdb.ada/print_chars.exp | 2 +-
gdb/testsuite/gdb.ada/print_chars/foo.adb | 2 +-
gdb/testsuite/gdb.ada/print_chars/pck.adb | 2 +-
gdb/testsuite/gdb.ada/print_chars/pck.ads | 2 +-
gdb/testsuite/gdb.ada/print_pc.exp | 2 +-
gdb/testsuite/gdb.ada/ptr_typedef.exp | 2 +-
gdb/testsuite/gdb.ada/ptr_typedef/foo.adb | 2 +-
gdb/testsuite/gdb.ada/ptr_typedef/pck.adb | 2 +-
gdb/testsuite/gdb.ada/ptr_typedef/pck.ads | 2 +-
gdb/testsuite/gdb.ada/ptype_arith_binop.exp | 2 +-
gdb/testsuite/gdb.ada/ptype_field.exp | 2 +-
gdb/testsuite/gdb.ada/ptype_field/foo.adb | 2 +-
gdb/testsuite/gdb.ada/ptype_field/pck.adb | 2 +-
gdb/testsuite/gdb.ada/ptype_field/pck.ads | 2 +-
gdb/testsuite/gdb.ada/ptype_tagged_param.exp | 2 +-
gdb/testsuite/gdb.ada/ptype_tagged_param/foo.adb | 2 +-
gdb/testsuite/gdb.ada/ptype_tagged_param/pck.adb | 2 +-
gdb/testsuite/gdb.ada/ptype_tagged_param/pck.ads | 2 +-
gdb/testsuite/gdb.ada/py_range.exp | 2 +-
gdb/testsuite/gdb.ada/py_range/foo.adb | 2 +-
gdb/testsuite/gdb.ada/py_range/pck.adb | 2 +-
gdb/testsuite/gdb.ada/py_range/pck.ads | 2 +-
gdb/testsuite/gdb.ada/rdv_wait.exp | 2 +-
gdb/testsuite/gdb.ada/rdv_wait/foo.adb | 2 +-
gdb/testsuite/gdb.ada/rdv_wait/pck.adb | 2 +-
gdb/testsuite/gdb.ada/rdv_wait/pck.ads | 2 +-
gdb/testsuite/gdb.ada/rec_comp.exp | 2 +-
gdb/testsuite/gdb.ada/rec_comp/bar_o203_012.adb | 2 +-
gdb/testsuite/gdb.ada/rec_comp/pck.adb | 2 +-
gdb/testsuite/gdb.ada/rec_comp/pck.ads | 2 +-
gdb/testsuite/gdb.ada/rec_return.exp | 2 +-
gdb/testsuite/gdb.ada/rec_return/foo.adb | 2 +-
gdb/testsuite/gdb.ada/rec_return/pck.adb | 2 +-
gdb/testsuite/gdb.ada/rec_return/pck.ads | 2 +-
gdb/testsuite/gdb.ada/ref_param.exp | 2 +-
gdb/testsuite/gdb.ada/ref_param/foo.adb | 2 +-
gdb/testsuite/gdb.ada/ref_param/pck.adb | 2 +-
gdb/testsuite/gdb.ada/ref_param/pck.ads | 2 +-
gdb/testsuite/gdb.ada/ref_tick_size.exp | 2 +-
gdb/testsuite/gdb.ada/ref_tick_size/p.adb | 2 +-
gdb/testsuite/gdb.ada/ref_tick_size/pck.adb | 2 +-
gdb/testsuite/gdb.ada/ref_tick_size/pck.ads | 2 +-
gdb/testsuite/gdb.ada/same_enum.exp | 2 +-
gdb/testsuite/gdb.ada/same_enum/a.adb | 2 +-
gdb/testsuite/gdb.ada/same_enum/pck.adb | 2 +-
gdb/testsuite/gdb.ada/same_enum/pck.ads | 2 +-
gdb/testsuite/gdb.ada/set_pckd_arr_elt.exp | 2 +-
gdb/testsuite/gdb.ada/set_pckd_arr_elt/foo.adb | 2 +-
gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.adb | 2 +-
gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.ads | 2 +-
gdb/testsuite/gdb.ada/set_wstr.exp | 2 +-
gdb/testsuite/gdb.ada/set_wstr/a.adb | 2 +-
gdb/testsuite/gdb.ada/set_wstr/pck.adb | 2 +-
gdb/testsuite/gdb.ada/set_wstr/pck.ads | 2 +-
gdb/testsuite/gdb.ada/small_reg_param.exp | 2 +-
gdb/testsuite/gdb.ada/small_reg_param/foo.adb | 2 +-
gdb/testsuite/gdb.ada/small_reg_param/pck.adb | 2 +-
gdb/testsuite/gdb.ada/small_reg_param/pck.ads | 2 +-
gdb/testsuite/gdb.ada/start.exp | 2 +-
gdb/testsuite/gdb.ada/start/dummy.adb | 2 +-
gdb/testsuite/gdb.ada/str_ref_cmp.exp | 2 +-
gdb/testsuite/gdb.ada/str_ref_cmp/foo.adb | 2 +-
gdb/testsuite/gdb.ada/str_ref_cmp/pck.ads | 2 +-
gdb/testsuite/gdb.ada/str_uninit.exp | 2 +-
gdb/testsuite/gdb.ada/str_uninit/parse.adb | 2 +-
gdb/testsuite/gdb.ada/str_uninit/pck.adb | 2 +-
gdb/testsuite/gdb.ada/str_uninit/pck.ads | 2 +-
gdb/testsuite/gdb.ada/sym_print_name.exp | 2 +-
gdb/testsuite/gdb.ada/sym_print_name/foo.adb | 2 +-
gdb/testsuite/gdb.ada/sym_print_name/pck.adb | 2 +-
gdb/testsuite/gdb.ada/sym_print_name/pck.ads | 2 +-
gdb/testsuite/gdb.ada/taft_type.exp | 2 +-
gdb/testsuite/gdb.ada/taft_type/p.adb | 2 +-
gdb/testsuite/gdb.ada/taft_type/pck.adb | 2 +-
gdb/testsuite/gdb.ada/taft_type/pck.ads | 2 +-
gdb/testsuite/gdb.ada/tagged.exp | 2 +-
gdb/testsuite/gdb.ada/tagged/foo.adb | 2 +-
gdb/testsuite/gdb.ada/tagged/pck.adb | 2 +-
gdb/testsuite/gdb.ada/tagged/pck.ads | 2 +-
gdb/testsuite/gdb.ada/tagged_access.exp | 2 +-
gdb/testsuite/gdb.ada/tagged_access/p.adb | 2 +-
gdb/testsuite/gdb.ada/tagged_access/pack.adb | 2 +-
gdb/testsuite/gdb.ada/tagged_access/pack.ads | 2 +-
gdb/testsuite/gdb.ada/tagged_not_init.exp | 2 +-
gdb/testsuite/gdb.ada/tagged_not_init/foo.adb | 2 +-
gdb/testsuite/gdb.ada/tagged_not_init/pck.adb | 2 +-
gdb/testsuite/gdb.ada/tagged_not_init/pck.ads | 2 +-
gdb/testsuite/gdb.ada/task_bp.exp | 2 +-
gdb/testsuite/gdb.ada/task_bp/foo.adb | 2 +-
gdb/testsuite/gdb.ada/task_bp/pck.adb | 2 +-
gdb/testsuite/gdb.ada/task_bp/pck.ads | 2 +-
gdb/testsuite/gdb.ada/tasks.exp | 2 +-
gdb/testsuite/gdb.ada/tasks/foo.adb | 2 +-
gdb/testsuite/gdb.ada/tick_last_segv.exp | 2 +-
gdb/testsuite/gdb.ada/tick_last_segv/foo.adb | 2 +-
.../gdb.ada/tick_length_array_enum_idx.exp | 2 +-
.../tick_length_array_enum_idx/foo_n207_004.adb | 2 +-
.../gdb.ada/tick_length_array_enum_idx/pck.adb | 2 +-
.../gdb.ada/tick_length_array_enum_idx/pck.ads | 2 +-
gdb/testsuite/gdb.ada/type_coercion.exp | 2 +-
gdb/testsuite/gdb.ada/type_coercion/assign.adb | 2 +-
gdb/testsuite/gdb.ada/type_coercion/ident.adb | 2 +-
gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec.exp | 2 +-
.../gdb.ada/unc_arr_ptr_in_var_rec/foo.adb | 2 +-
.../gdb.ada/unc_arr_ptr_in_var_rec/pck.adb | 2 +-
.../gdb.ada/unc_arr_ptr_in_var_rec/pck.ads | 2 +-
gdb/testsuite/gdb.ada/uninitialized_vars.exp | 2 +-
gdb/testsuite/gdb.ada/uninitialized_vars/parse.adb | 2 +-
.../uninitialized_vars/parse_controlled.ads | 2 +-
gdb/testsuite/gdb.ada/var_arr_attrs.exp | 2 +-
.../gdb.ada/var_arr_attrs/foo_o115_002.adb | 2 +-
gdb/testsuite/gdb.ada/var_arr_attrs/pck.adb | 2 +-
gdb/testsuite/gdb.ada/var_arr_attrs/pck.ads | 2 +-
gdb/testsuite/gdb.ada/var_arr_typedef.exp | 2 +-
gdb/testsuite/gdb.ada/var_arr_typedef/pack.adb | 2 +-
gdb/testsuite/gdb.ada/var_arr_typedef/pack.ads | 2 +-
.../gdb.ada/var_arr_typedef/var_arr_typedef.adb | 2 +-
gdb/testsuite/gdb.ada/var_rec_arr.exp | 2 +-
gdb/testsuite/gdb.ada/var_rec_arr/foo_na09_042.adb | 2 +-
gdb/testsuite/gdb.ada/var_rec_arr/pck.adb | 2 +-
gdb/testsuite/gdb.ada/var_rec_arr/pck.ads | 2 +-
.../gdb.ada/variant_record_packed_array.exp | 2 +-
.../gdb.ada/variant_record_packed_array/foo.adb | 2 +-
.../gdb.ada/variant_record_packed_array/pck.adb | 2 +-
.../gdb.ada/variant_record_packed_array/pck.ads | 2 +-
gdb/testsuite/gdb.ada/watch_arg.exp | 2 +-
gdb/testsuite/gdb.ada/watch_arg/pck.adb | 2 +-
gdb/testsuite/gdb.ada/watch_arg/pck.ads | 2 +-
gdb/testsuite/gdb.ada/watch_arg/watch.adb | 2 +-
gdb/testsuite/gdb.ada/whatis_array_val.exp | 2 +-
gdb/testsuite/gdb.ada/whatis_array_val/foo.adb | 2 +-
gdb/testsuite/gdb.ada/whatis_array_val/pck.adb | 2 +-
gdb/testsuite/gdb.ada/whatis_array_val/pck.ads | 2 +-
gdb/testsuite/gdb.ada/widewide.exp | 2 +-
gdb/testsuite/gdb.ada/widewide/foo.adb | 2 +-
gdb/testsuite/gdb.ada/widewide/pck.adb | 2 +-
gdb/testsuite/gdb.ada/widewide/pck.ads | 2 +-
gdb/testsuite/gdb.ada/win_fu_syms.exp | 2 +-
gdb/testsuite/gdb.ada/win_fu_syms/foo.adb | 2 +-
gdb/testsuite/gdb.ada/win_fu_syms/pck.adb | 2 +-
gdb/testsuite/gdb.ada/win_fu_syms/pck.ads | 2 +-
gdb/testsuite/gdb.arch/aarch64-atomic-inst.c | 2 +-
gdb/testsuite/gdb.arch/aarch64-atomic-inst.exp | 2 +-
gdb/testsuite/gdb.arch/aarch64-fp.c | 2 +-
gdb/testsuite/gdb.arch/aarch64-fp.exp | 2 +-
gdb/testsuite/gdb.arch/alpha-step.c | 2 +-
gdb/testsuite/gdb.arch/alpha-step.exp | 2 +-
gdb/testsuite/gdb.arch/altivec-abi.exp | 2 +-
gdb/testsuite/gdb.arch/altivec-regs.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-byte.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-disp-step.S | 2 +-
gdb/testsuite/gdb.arch/amd64-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-dword.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value-inline.S | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value-inline.c | 2 +-
.../gdb.arch/amd64-entry-value-inline.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value-param.S | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value-param.c | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value-param.exp | 2 +-
.../gdb.arch/amd64-entry-value-paramref.S | 2 +-
.../gdb.arch/amd64-entry-value-paramref.cc | 2 +-
.../gdb.arch/amd64-entry-value-paramref.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value.cc | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-entry-value.s | 2 +-
gdb/testsuite/gdb.arch/amd64-i386-address.S | 2 +-
gdb/testsuite/gdb.arch/amd64-i386-address.exp | 2 +-
.../gdb.arch/amd64-invalid-stack-middle.S | 2 +-
.../gdb.arch/amd64-invalid-stack-middle.c | 2 +-
.../gdb.arch/amd64-invalid-stack-middle.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-invalid-stack-top.c | 2 +-
gdb/testsuite/gdb.arch/amd64-invalid-stack-top.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-optimout-repeat.S | 2 +-
gdb/testsuite/gdb.arch/amd64-optimout-repeat.c | 2 +-
gdb/testsuite/gdb.arch/amd64-optimout-repeat.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-prologue-skip.S | 2 +-
gdb/testsuite/gdb.arch/amd64-prologue-skip.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-prologue-xmm.c | 2 +-
gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-prologue-xmm.s | 2 +-
gdb/testsuite/gdb.arch/amd64-pseudo.c | 2 +-
.../gdb.arch/amd64-stap-optional-prefix.S | 2 +-
.../gdb.arch/amd64-stap-optional-prefix.exp | 2 +-
.../gdb.arch/amd64-stap-special-operands.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-stap-three-arg-disp.c | 2 +-
gdb/testsuite/gdb.arch/amd64-stap-triplet.S | 2 +-
gdb/testsuite/gdb.arch/amd64-stap-triplet.c | 2 +-
gdb/testsuite/gdb.arch/amd64-stap-wrong-subexp.S | 2 +-
gdb/testsuite/gdb.arch/amd64-stap-wrong-subexp.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-cxx.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-cxx1.S | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-cxx1.cc | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-cxx2.S | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-cxx2.cc | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-noret.S | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-noret.c | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-noret.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-ret.S | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-ret.c | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-ret.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-self.S | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-self.c | 2 +-
gdb/testsuite/gdb.arch/amd64-tailcall-self.exp | 2 +-
gdb/testsuite/gdb.arch/amd64-word.exp | 2 +-
gdb/testsuite/gdb.arch/arm-bl-branch-dest.c | 2 +-
gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp | 2 +-
gdb/testsuite/gdb.arch/arm-disp-step.S | 2 +-
gdb/testsuite/gdb.arch/arm-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/arm-neon.c | 2 +-
gdb/testsuite/gdb.arch/arm-neon.exp | 2 +-
.../gdb.arch/arm-single-step-kernel-helper.c | 2 +-
.../gdb.arch/arm-single-step-kernel-helper.exp | 2 +-
gdb/testsuite/gdb.arch/avr-flash-qualifier.c | 2 +-
gdb/testsuite/gdb.arch/avr-flash-qualifier.exp | 2 +-
gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp | 2 +-
gdb/testsuite/gdb.arch/e500-abi.exp | 2 +-
gdb/testsuite/gdb.arch/e500-prologue.c | 2 +-
gdb/testsuite/gdb.arch/e500-prologue.exp | 2 +-
gdb/testsuite/gdb.arch/e500-regs.exp | 2 +-
gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp | 2 +-
gdb/testsuite/gdb.arch/gdb1291.exp | 2 +-
gdb/testsuite/gdb.arch/gdb1291.s | 2 +-
gdb/testsuite/gdb.arch/gdb1431.exp | 2 +-
gdb/testsuite/gdb.arch/gdb1431.s | 2 +-
gdb/testsuite/gdb.arch/gdb1558.c | 2 +-
gdb/testsuite/gdb.arch/gdb1558.exp | 2 +-
gdb/testsuite/gdb.arch/i386-avx.c | 2 +-
gdb/testsuite/gdb.arch/i386-avx.exp | 2 +-
gdb/testsuite/gdb.arch/i386-avx512.c | 2 +-
gdb/testsuite/gdb.arch/i386-avx512.exp | 2 +-
gdb/testsuite/gdb.arch/i386-biarch-core.exp | 2 +-
gdb/testsuite/gdb.arch/i386-bp_permanent.c | 2 +-
gdb/testsuite/gdb.arch/i386-bp_permanent.exp | 2 +-
gdb/testsuite/gdb.arch/i386-byte.exp | 2 +-
gdb/testsuite/gdb.arch/i386-cfi-notcurrent.S | 2 +-
gdb/testsuite/gdb.arch/i386-cfi-notcurrent.exp | 2 +-
gdb/testsuite/gdb.arch/i386-disp-step.S | 2 +-
gdb/testsuite/gdb.arch/i386-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/i386-dr3-watch.c | 2 +-
gdb/testsuite/gdb.arch/i386-dr3-watch.exp | 2 +-
gdb/testsuite/gdb.arch/i386-float.S | 2 +-
gdb/testsuite/gdb.arch/i386-float.exp | 2 +-
gdb/testsuite/gdb.arch/i386-gnu-cfi-asm.S | 2 +-
gdb/testsuite/gdb.arch/i386-gnu-cfi.c | 2 +-
gdb/testsuite/gdb.arch/i386-gnu-cfi.exp | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-map.c | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-map.exp | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c | 2 +-
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp | 2 +-
gdb/testsuite/gdb.arch/i386-mpx.c | 2 +-
gdb/testsuite/gdb.arch/i386-mpx.exp | 2 +-
gdb/testsuite/gdb.arch/i386-permbkpt.S | 2 +-
gdb/testsuite/gdb.arch/i386-permbkpt.exp | 2 +-
gdb/testsuite/gdb.arch/i386-prologue.c | 2 +-
gdb/testsuite/gdb.arch/i386-prologue.exp | 2 +-
gdb/testsuite/gdb.arch/i386-pseudo.c | 2 +-
gdb/testsuite/gdb.arch/i386-signal.c | 2 +-
gdb/testsuite/gdb.arch/i386-signal.exp | 2 +-
gdb/testsuite/gdb.arch/i386-size-overlap.c | 2 +-
gdb/testsuite/gdb.arch/i386-size-overlap.exp | 2 +-
gdb/testsuite/gdb.arch/i386-size.c | 2 +-
gdb/testsuite/gdb.arch/i386-size.exp | 2 +-
gdb/testsuite/gdb.arch/i386-sse-stack-align.S | 2 +-
gdb/testsuite/gdb.arch/i386-sse-stack-align.c | 2 +-
gdb/testsuite/gdb.arch/i386-sse-stack-align.exp | 2 +-
gdb/testsuite/gdb.arch/i386-sse.c | 2 +-
gdb/testsuite/gdb.arch/i386-sse.exp | 2 +-
gdb/testsuite/gdb.arch/i386-stap-eval-lang-ada.S | 2 +-
gdb/testsuite/gdb.arch/i386-stap-eval-lang-ada.c | 2 +-
gdb/testsuite/gdb.arch/i386-stap-eval-lang-ada.exp | 2 +-
gdb/testsuite/gdb.arch/i386-unwind.c | 2 +-
gdb/testsuite/gdb.arch/i386-unwind.exp | 2 +-
gdb/testsuite/gdb.arch/i386-word.exp | 2 +-
gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.S | 2 +-
gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp | 2 +-
gdb/testsuite/gdb.arch/insn-reloc.c | 2 +-
gdb/testsuite/gdb.arch/iwmmxt-regs.c | 2 +-
gdb/testsuite/gdb.arch/iwmmxt-regs.exp | 2 +-
gdb/testsuite/gdb.arch/mips-fcr.c | 2 +-
gdb/testsuite/gdb.arch/mips-fcr.exp | 2 +-
gdb/testsuite/gdb.arch/mips-octeon-bbit.exp | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks-inmain.c | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks-main.c | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks-sin.c | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks-sinfrob.c | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks-sinfrob16.c | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks-sinmain.c | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks-sinmips16.c | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks.exp | 2 +-
gdb/testsuite/gdb.arch/pa-nullify.exp | 2 +-
gdb/testsuite/gdb.arch/powerpc-aix-prologue.c | 2 +-
gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp | 2 +-
gdb/testsuite/gdb.arch/powerpc-d128-regs.c | 2 +-
gdb/testsuite/gdb.arch/powerpc-d128-regs.exp | 2 +-
gdb/testsuite/gdb.arch/powerpc-power.exp | 2 +-
gdb/testsuite/gdb.arch/powerpc-power.s | 2 +-
gdb/testsuite/gdb.arch/powerpc-prologue.c | 2 +-
gdb/testsuite/gdb.arch/powerpc-prologue.exp | 2 +-
gdb/testsuite/gdb.arch/powerpc-stackless.S | 2 +-
gdb/testsuite/gdb.arch/powerpc-stackless.exp | 2 +-
gdb/testsuite/gdb.arch/ppc-dfp.c | 2 +-
gdb/testsuite/gdb.arch/ppc-dfp.exp | 2 +-
gdb/testsuite/gdb.arch/ppc-fp.c | 2 +-
gdb/testsuite/gdb.arch/ppc-fp.exp | 2 +-
gdb/testsuite/gdb.arch/ppc64-atomic-inst.S | 2 +-
gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp | 2 +-
gdb/testsuite/gdb.arch/ppc64-symtab-cordic.exp | 2 +-
gdb/testsuite/gdb.arch/s390-multiarch.c | 2 +-
gdb/testsuite/gdb.arch/s390-multiarch.exp | 2 +-
gdb/testsuite/gdb.arch/s390-stackless.S | 2 +-
gdb/testsuite/gdb.arch/s390-stackless.exp | 2 +-
gdb/testsuite/gdb.arch/s390-tdbregs.c | 2 +-
gdb/testsuite/gdb.arch/s390-tdbregs.exp | 2 +-
gdb/testsuite/gdb.arch/s390-vregs.S | 2 +-
gdb/testsuite/gdb.arch/s390-vregs.exp | 2 +-
gdb/testsuite/gdb.arch/sparc-sysstep.c | 2 +-
gdb/testsuite/gdb.arch/sparc-sysstep.exp | 2 +-
gdb/testsuite/gdb.arch/spu-info.c | 2 +-
gdb/testsuite/gdb.arch/spu-info.exp | 2 +-
gdb/testsuite/gdb.arch/spu-ls.c | 2 +-
gdb/testsuite/gdb.arch/spu-ls.exp | 2 +-
gdb/testsuite/gdb.arch/thumb-bx-pc.S | 2 +-
gdb/testsuite/gdb.arch/thumb-bx-pc.exp | 2 +-
gdb/testsuite/gdb.arch/thumb-prologue.c | 2 +-
gdb/testsuite/gdb.arch/thumb-prologue.exp | 2 +-
gdb/testsuite/gdb.arch/thumb-singlestep.S | 2 +-
gdb/testsuite/gdb.arch/thumb-singlestep.exp | 2 +-
gdb/testsuite/gdb.arch/thumb2-it.S | 2 +-
gdb/testsuite/gdb.arch/thumb2-it.exp | 2 +-
gdb/testsuite/gdb.arch/vsx-regs.exp | 2 +-
gdb/testsuite/gdb.asm/asm-source.exp | 2 +-
gdb/testsuite/gdb.base/a2-run.exp | 2 +-
gdb/testsuite/gdb.base/advance.exp | 2 +-
gdb/testsuite/gdb.base/alias.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-0.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-1.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-2.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-3.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-4.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-5.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-6.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-7.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures.exp.in | 2 +-
gdb/testsuite/gdb.base/all-bin.exp | 2 +-
.../gdb.base/annota-input-while-running.c | 2 +-
.../gdb.base/annota-input-while-running.exp | 2 +-
gdb/testsuite/gdb.base/annota1.exp | 2 +-
gdb/testsuite/gdb.base/annota3.exp | 2 +-
gdb/testsuite/gdb.base/anon.exp | 2 +-
gdb/testsuite/gdb.base/args.exp | 2 +-
gdb/testsuite/gdb.base/argv0-symlink.c | 2 +-
gdb/testsuite/gdb.base/argv0-symlink.exp | 2 +-
gdb/testsuite/gdb.base/arithmet.exp | 2 +-
gdb/testsuite/gdb.base/arrayidx.c | 2 +-
gdb/testsuite/gdb.base/arrayidx.exp | 2 +-
gdb/testsuite/gdb.base/asmlabel.c | 2 +-
gdb/testsuite/gdb.base/asmlabel.exp | 2 +-
gdb/testsuite/gdb.base/assign.exp | 2 +-
gdb/testsuite/gdb.base/async-shell.c | 2 +-
gdb/testsuite/gdb.base/async-shell.exp | 2 +-
gdb/testsuite/gdb.base/async.exp | 2 +-
gdb/testsuite/gdb.base/attach-pie-misread.c | 2 +-
gdb/testsuite/gdb.base/attach-pie-misread.exp | 2 +-
gdb/testsuite/gdb.base/attach-pie-noexec.c | 2 +-
gdb/testsuite/gdb.base/attach-pie-noexec.exp | 2 +-
gdb/testsuite/gdb.base/attach-twice.c | 2 +-
gdb/testsuite/gdb.base/attach-twice.exp | 2 +-
gdb/testsuite/gdb.base/attach-wait-input.c | 2 +-
gdb/testsuite/gdb.base/attach-wait-input.exp | 2 +-
gdb/testsuite/gdb.base/attach.exp | 2 +-
.../gdb.base/auto-connect-native-target.c | 2 +-
.../gdb.base/auto-connect-native-target.exp | 2 +-
gdb/testsuite/gdb.base/auto-load-script | 2 +-
gdb/testsuite/gdb.base/auto-load.c | 2 +-
gdb/testsuite/gdb.base/auto-load.exp | 2 +-
gdb/testsuite/gdb.base/auxv.c | 2 +-
gdb/testsuite/gdb.base/auxv.exp | 2 +-
gdb/testsuite/gdb.base/bad-file.exp | 2 +-
gdb/testsuite/gdb.base/bang.exp | 2 +-
.../gdb.base/batch-preserve-term-settings.c | 2 +-
.../gdb.base/batch-preserve-term-settings.exp | 2 +-
gdb/testsuite/gdb.base/bfp-test.c | 2 +-
gdb/testsuite/gdb.base/bfp-test.exp | 2 +-
gdb/testsuite/gdb.base/bg-execution-repeat.c | 2 +-
gdb/testsuite/gdb.base/bg-execution-repeat.exp | 2 +-
gdb/testsuite/gdb.base/bigcore.c | 2 +-
gdb/testsuite/gdb.base/bigcore.exp | 2 +-
gdb/testsuite/gdb.base/bitfields.exp | 2 +-
gdb/testsuite/gdb.base/bitfields2.exp | 2 +-
gdb/testsuite/gdb.base/bitops.exp | 2 +-
.../gdb.base/bp-cmds-execution-x-script.c | 2 +-
.../gdb.base/bp-cmds-execution-x-script.exp | 2 +-
.../gdb.base/bp-cmds-execution-x-script.gdb | 2 +-
gdb/testsuite/gdb.base/bp-permanent.c | 2 +-
gdb/testsuite/gdb.base/bp-permanent.exp | 2 +-
gdb/testsuite/gdb.base/branch-to-self.c | 2 +-
gdb/testsuite/gdb.base/branch-to-self.exp | 2 +-
gdb/testsuite/gdb.base/break-always.c | 2 +-
gdb/testsuite/gdb.base/break-always.exp | 2 +-
gdb/testsuite/gdb.base/break-caller-line.c | 2 +-
gdb/testsuite/gdb.base/break-caller-line.exp | 2 +-
gdb/testsuite/gdb.base/break-entry.exp | 2 +-
gdb/testsuite/gdb.base/break-fun-addr.exp | 2 +-
gdb/testsuite/gdb.base/break-fun-addr1.c | 2 +-
gdb/testsuite/gdb.base/break-fun-addr2.c | 2 +-
gdb/testsuite/gdb.base/break-idempotent.c | 2 +-
gdb/testsuite/gdb.base/break-idempotent.exp | 2 +-
gdb/testsuite/gdb.base/break-inline.c | 2 +-
gdb/testsuite/gdb.base/break-inline.exp | 2 +-
gdb/testsuite/gdb.base/break-interp-lib.c | 2 +-
gdb/testsuite/gdb.base/break-interp-main.c | 2 +-
gdb/testsuite/gdb.base/break-interp.exp | 2 +-
.../gdb.base/break-main-file-remove-fail.c | 2 +-
.../gdb.base/break-main-file-remove-fail.exp | 2 +-
.../gdb.base/break-on-linker-gcd-function.cc | 2 +-
.../gdb.base/break-on-linker-gcd-function.exp | 2 +-
gdb/testsuite/gdb.base/break-probes-solib.c | 2 +-
gdb/testsuite/gdb.base/break-probes.c | 2 +-
gdb/testsuite/gdb.base/break-probes.exp | 2 +-
gdb/testsuite/gdb.base/break-unload-file.c | 2 +-
gdb/testsuite/gdb.base/break-unload-file.exp | 2 +-
gdb/testsuite/gdb.base/break.c | 2 +-
gdb/testsuite/gdb.base/break.exp | 2 +-
gdb/testsuite/gdb.base/break1.c | 2 +-
gdb/testsuite/gdb.base/breakpoint-in-ro-region.c | 2 +-
gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp | 2 +-
gdb/testsuite/gdb.base/breakpoint-shadow.c | 2 +-
gdb/testsuite/gdb.base/breakpoint-shadow.exp | 2 +-
gdb/testsuite/gdb.base/call-ar-st.exp | 2 +-
gdb/testsuite/gdb.base/call-rt-st.exp | 2 +-
gdb/testsuite/gdb.base/call-sc.c | 2 +-
gdb/testsuite/gdb.base/call-sc.exp | 2 +-
gdb/testsuite/gdb.base/call-signal-resume.exp | 2 +-
gdb/testsuite/gdb.base/call-signals.c | 2 +-
gdb/testsuite/gdb.base/call-strs.exp | 2 +-
gdb/testsuite/gdb.base/callexit.c | 2 +-
gdb/testsuite/gdb.base/callexit.exp | 2 +-
gdb/testsuite/gdb.base/callfuncs.c | 2 +-
gdb/testsuite/gdb.base/callfuncs.exp | 2 +-
gdb/testsuite/gdb.base/catch-fork-kill.c | 2 +-
gdb/testsuite/gdb.base/catch-fork-kill.exp | 2 +-
gdb/testsuite/gdb.base/catch-fork-static.exp | 2 +-
gdb/testsuite/gdb.base/catch-gdb-caused-signals.c | 2 +-
.../gdb.base/catch-gdb-caused-signals.exp | 2 +-
gdb/testsuite/gdb.base/catch-load-so.c | 2 +-
gdb/testsuite/gdb.base/catch-load.c | 2 +-
gdb/testsuite/gdb.base/catch-load.exp | 2 +-
gdb/testsuite/gdb.base/catch-signal-fork.c | 2 +-
gdb/testsuite/gdb.base/catch-signal-fork.exp | 2 +-
gdb/testsuite/gdb.base/catch-signal-siginfo-cond.c | 2 +-
.../gdb.base/catch-signal-siginfo-cond.exp | 2 +-
gdb/testsuite/gdb.base/catch-signal.c | 2 +-
gdb/testsuite/gdb.base/catch-signal.exp | 2 +-
gdb/testsuite/gdb.base/catch-syscall.exp | 2 +-
gdb/testsuite/gdb.base/charset-malloc.c | 2 +-
gdb/testsuite/gdb.base/charset.c | 2 +-
gdb/testsuite/gdb.base/charset.exp | 2 +-
gdb/testsuite/gdb.base/checkpoint-ns.exp | 2 +-
gdb/testsuite/gdb.base/checkpoint.c | 2 +-
gdb/testsuite/gdb.base/checkpoint.exp | 2 +-
gdb/testsuite/gdb.base/chng-syms.exp | 2 +-
gdb/testsuite/gdb.base/code-expr.exp | 2 +-
gdb/testsuite/gdb.base/code_elim.exp | 2 +-
gdb/testsuite/gdb.base/code_elim1.c | 2 +-
gdb/testsuite/gdb.base/code_elim2.c | 2 +-
gdb/testsuite/gdb.base/command-line-input.exp | 2 +-
gdb/testsuite/gdb.base/commands.exp | 2 +-
gdb/testsuite/gdb.base/compare-sections.c | 2 +-
gdb/testsuite/gdb.base/compare-sections.exp | 2 +-
gdb/testsuite/gdb.base/completion.exp | 2 +-
gdb/testsuite/gdb.base/complex.c | 2 +-
gdb/testsuite/gdb.base/complex.exp | 2 +-
gdb/testsuite/gdb.base/comprdebug.exp | 2 +-
gdb/testsuite/gdb.base/cond-eval-mode.c | 2 +-
gdb/testsuite/gdb.base/cond-eval-mode.exp | 2 +-
gdb/testsuite/gdb.base/cond-expr.exp | 2 +-
gdb/testsuite/gdb.base/condbreak-call-false.c | 2 +-
gdb/testsuite/gdb.base/condbreak-call-false.exp | 2 +-
gdb/testsuite/gdb.base/condbreak.exp | 2 +-
gdb/testsuite/gdb.base/consecutive-step-over.c | 2 +-
gdb/testsuite/gdb.base/consecutive-step-over.exp | 2 +-
gdb/testsuite/gdb.base/consecutive.exp | 2 +-
gdb/testsuite/gdb.base/constvars.exp | 2 +-
.../gdb.base/continue-all-already-running.c | 2 +-
.../gdb.base/continue-all-already-running.exp | 2 +-
gdb/testsuite/gdb.base/coredump-filter.c | 2 +-
gdb/testsuite/gdb.base/coredump-filter.exp | 2 +-
gdb/testsuite/gdb.base/corefile.exp | 2 +-
gdb/testsuite/gdb.base/coremaker.c | 2 +-
gdb/testsuite/gdb.base/ctxobj-f.c | 2 +-
gdb/testsuite/gdb.base/ctxobj-m.c | 2 +-
gdb/testsuite/gdb.base/ctxobj-v.c | 2 +-
gdb/testsuite/gdb.base/ctxobj.exp | 2 +-
gdb/testsuite/gdb.base/cursal.c | 2 +-
gdb/testsuite/gdb.base/cursal.exp | 2 +-
gdb/testsuite/gdb.base/cvexpr.c | 2 +-
gdb/testsuite/gdb.base/cvexpr.exp | 2 +-
gdb/testsuite/gdb.base/dbx.exp | 2 +-
gdb/testsuite/gdb.base/dcache-line-read-error.c | 2 +-
gdb/testsuite/gdb.base/dcache-line-read-error.exp | 2 +-
gdb/testsuite/gdb.base/debug-expr.exp | 2 +-
gdb/testsuite/gdb.base/default.exp | 2 +-
gdb/testsuite/gdb.base/define.exp | 2 +-
gdb/testsuite/gdb.base/del.c | 2 +-
gdb/testsuite/gdb.base/del.exp | 2 +-
gdb/testsuite/gdb.base/detach.exp | 2 +-
gdb/testsuite/gdb.base/dfp-exprs.exp | 2 +-
gdb/testsuite/gdb.base/dfp-test.c | 2 +-
gdb/testsuite/gdb.base/dfp-test.exp | 2 +-
gdb/testsuite/gdb.base/disabled-location.c | 2 +-
gdb/testsuite/gdb.base/disabled-location.exp | 2 +-
gdb/testsuite/gdb.base/disasm-end-cu-1.c | 2 +-
gdb/testsuite/gdb.base/disasm-end-cu-2.c | 2 +-
gdb/testsuite/gdb.base/disasm-end-cu.exp | 2 +-
gdb/testsuite/gdb.base/disasm-optim.S | 2 +-
gdb/testsuite/gdb.base/disasm-optim.c | 2 +-
gdb/testsuite/gdb.base/disasm-optim.exp | 2 +-
gdb/testsuite/gdb.base/disasm-optim.h | 2 +-
gdb/testsuite/gdb.base/display.exp | 2 +-
gdb/testsuite/gdb.base/dmsym.c | 2 +-
gdb/testsuite/gdb.base/dmsym.exp | 2 +-
gdb/testsuite/gdb.base/dmsym_main.c | 2 +-
.../gdb.base/double-prompt-target-event-error.c | 2 +-
.../gdb.base/double-prompt-target-event-error.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-bp-same-addr.c | 2 +-
gdb/testsuite/gdb.base/dprintf-bp-same-addr.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-detach.c | 2 +-
gdb/testsuite/gdb.base/dprintf-detach.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-next.c | 2 +-
gdb/testsuite/gdb.base/dprintf-next.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-non-stop.c | 2 +-
gdb/testsuite/gdb.base/dprintf-non-stop.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-pending.c | 2 +-
gdb/testsuite/gdb.base/dprintf-pending.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-pendshr.c | 2 +-
gdb/testsuite/gdb.base/dprintf.c | 2 +-
gdb/testsuite/gdb.base/dprintf.exp | 2 +-
gdb/testsuite/gdb.base/dso2dso-dso1.c | 2 +-
gdb/testsuite/gdb.base/dso2dso-dso1.h | 2 +-
gdb/testsuite/gdb.base/dso2dso-dso2.c | 2 +-
gdb/testsuite/gdb.base/dso2dso-dso2.h | 2 +-
gdb/testsuite/gdb.base/dso2dso.c | 2 +-
gdb/testsuite/gdb.base/dso2dso.exp | 2 +-
gdb/testsuite/gdb.base/dtrace-probe.c | 2 +-
gdb/testsuite/gdb.base/dtrace-probe.d | 2 +-
gdb/testsuite/gdb.base/dtrace-probe.exp | 2 +-
gdb/testsuite/gdb.base/dump.exp | 2 +-
gdb/testsuite/gdb.base/dup-sect.S | 2 +-
gdb/testsuite/gdb.base/dup-sect.exp | 2 +-
gdb/testsuite/gdb.base/duplicate-bp.c | 2 +-
gdb/testsuite/gdb.base/duplicate-bp.exp | 2 +-
gdb/testsuite/gdb.base/echo.exp | 2 +-
gdb/testsuite/gdb.base/empty_exe.exp | 2 +-
gdb/testsuite/gdb.base/ena-dis-br.exp | 2 +-
gdb/testsuite/gdb.base/ending-run.exp | 2 +-
gdb/testsuite/gdb.base/enum_cond.c | 2 +-
gdb/testsuite/gdb.base/enum_cond.exp | 2 +-
gdb/testsuite/gdb.base/enumval.c | 2 +-
gdb/testsuite/gdb.base/enumval.exp | 2 +-
gdb/testsuite/gdb.base/environ.exp | 2 +-
gdb/testsuite/gdb.base/eu-strip-infcall.c | 2 +-
gdb/testsuite/gdb.base/eu-strip-infcall.exp | 2 +-
gdb/testsuite/gdb.base/eval-avoid-side-effects.exp | 2 +-
gdb/testsuite/gdb.base/eval-skip.exp | 2 +-
gdb/testsuite/gdb.base/eval.exp | 2 +-
gdb/testsuite/gdb.base/examine-backward.c | 2 +-
gdb/testsuite/gdb.base/examine-backward.exp | 2 +-
gdb/testsuite/gdb.base/exe-lock.exp | 2 +-
gdb/testsuite/gdb.base/exec-invalid-sysroot.exp | 2 +-
gdb/testsuite/gdb.base/execl-update-breakpoints.c | 2 +-
.../gdb.base/execl-update-breakpoints.exp | 2 +-
gdb/testsuite/gdb.base/execution-termios.c | 2 +-
gdb/testsuite/gdb.base/execution-termios.exp | 2 +-
gdb/testsuite/gdb.base/exitsignal.exp | 2 +-
gdb/testsuite/gdb.base/expand-psymtabs.c | 2 +-
gdb/testsuite/gdb.base/expand-psymtabs.exp | 2 +-
gdb/testsuite/gdb.base/exprs.exp | 2 +-
gdb/testsuite/gdb.base/fileio.exp | 2 +-
gdb/testsuite/gdb.base/filesym.c | 2 +-
gdb/testsuite/gdb.base/filesym.exp | 2 +-
gdb/testsuite/gdb.base/find-unmapped.c | 2 +-
gdb/testsuite/gdb.base/find-unmapped.exp | 2 +-
gdb/testsuite/gdb.base/find.c | 2 +-
gdb/testsuite/gdb.base/find.exp | 2 +-
gdb/testsuite/gdb.base/finish.exp | 2 +-
gdb/testsuite/gdb.base/fixsection.c | 2 +-
gdb/testsuite/gdb.base/fixsection.exp | 2 +-
gdb/testsuite/gdb.base/float.c | 2 +-
gdb/testsuite/gdb.base/float.exp | 2 +-
gdb/testsuite/gdb.base/float128.c | 2 +-
gdb/testsuite/gdb.base/float128.exp | 2 +-
gdb/testsuite/gdb.base/floatn.c | 2 +-
gdb/testsuite/gdb.base/floatn.exp | 2 +-
gdb/testsuite/gdb.base/foll-exec-mode.c | 2 +-
gdb/testsuite/gdb.base/foll-exec-mode.exp | 2 +-
gdb/testsuite/gdb.base/foll-exec.c | 2 +-
gdb/testsuite/gdb.base/foll-exec.exp | 2 +-
gdb/testsuite/gdb.base/foll-fork.exp | 2 +-
gdb/testsuite/gdb.base/foll-vfork-exit.c | 2 +-
gdb/testsuite/gdb.base/foll-vfork.c | 2 +-
gdb/testsuite/gdb.base/foll-vfork.exp | 2 +-
gdb/testsuite/gdb.base/fork-running-state.c | 2 +-
gdb/testsuite/gdb.base/fork-running-state.exp | 2 +-
gdb/testsuite/gdb.base/fortran-sym-case.c | 2 +-
gdb/testsuite/gdb.base/fortran-sym-case.exp | 2 +-
gdb/testsuite/gdb.base/frame-args.c | 2 +-
gdb/testsuite/gdb.base/frame-args.exp | 2 +-
gdb/testsuite/gdb.base/freebpcmd.c | 2 +-
gdb/testsuite/gdb.base/freebpcmd.exp | 2 +-
gdb/testsuite/gdb.base/fullname.c | 2 +-
gdb/testsuite/gdb.base/fullname.exp | 2 +-
gdb/testsuite/gdb.base/fullpath-expand-func.c | 2 +-
gdb/testsuite/gdb.base/fullpath-expand.c | 2 +-
gdb/testsuite/gdb.base/fullpath-expand.exp | 2 +-
gdb/testsuite/gdb.base/func-ptr.c | 2 +-
gdb/testsuite/gdb.base/func-ptr.exp | 2 +-
gdb/testsuite/gdb.base/func-ptrs.c | 2 +-
gdb/testsuite/gdb.base/func-ptrs.exp | 2 +-
gdb/testsuite/gdb.base/funcargs.exp | 2 +-
gdb/testsuite/gdb.base/gcore-buffer-overflow.c | 2 +-
gdb/testsuite/gdb.base/gcore-buffer-overflow.exp | 2 +-
gdb/testsuite/gdb.base/gcore-relro-lib.c | 2 +-
gdb/testsuite/gdb.base/gcore-relro-main.c | 2 +-
gdb/testsuite/gdb.base/gcore-relro-pie.c | 2 +-
gdb/testsuite/gdb.base/gcore-relro-pie.exp | 2 +-
gdb/testsuite/gdb.base/gcore-relro.exp | 2 +-
gdb/testsuite/gdb.base/gcore.c | 2 +-
gdb/testsuite/gdb.base/gcore.exp | 2 +-
gdb/testsuite/gdb.base/gdb-sigterm-2.exp | 2 +-
gdb/testsuite/gdb.base/gdb-sigterm.c | 2 +-
gdb/testsuite/gdb.base/gdb-sigterm.exp | 2 +-
gdb/testsuite/gdb.base/gdb1056.exp | 2 +-
gdb/testsuite/gdb.base/gdb1090.c | 2 +-
gdb/testsuite/gdb.base/gdb1090.exp | 2 +-
gdb/testsuite/gdb.base/gdb11530.c | 2 +-
gdb/testsuite/gdb.base/gdb11530.exp | 2 +-
gdb/testsuite/gdb.base/gdb11531.c | 2 +-
gdb/testsuite/gdb.base/gdb11531.exp | 2 +-
gdb/testsuite/gdb.base/gdb1250.c | 2 +-
gdb/testsuite/gdb.base/gdb1250.exp | 2 +-
gdb/testsuite/gdb.base/gdb1555-main.c | 2 +-
gdb/testsuite/gdb.base/gdb1555.c | 2 +-
gdb/testsuite/gdb.base/gdb1555.exp | 2 +-
gdb/testsuite/gdb.base/gdb1821.c | 2 +-
gdb/testsuite/gdb.base/gdb1821.exp | 2 +-
gdb/testsuite/gdb.base/gdbhistsize-history.exp | 2 +-
gdb/testsuite/gdb.base/gdbindex-stabs-dwarf.c | 2 +-
gdb/testsuite/gdb.base/gdbindex-stabs.c | 2 +-
gdb/testsuite/gdb.base/gdbindex-stabs.exp | 2 +-
gdb/testsuite/gdb.base/gdbinit-history.exp | 2 +-
gdb/testsuite/gdb.base/gdbvars.exp | 2 +-
.../gdb.base/global-var-nested-by-dso-solib1.c | 2 +-
.../gdb.base/global-var-nested-by-dso-solib2.c | 2 +-
gdb/testsuite/gdb.base/global-var-nested-by-dso.c | 2 +-
.../gdb.base/global-var-nested-by-dso.exp | 2 +-
gdb/testsuite/gdb.base/gnu-debugdata.c | 2 +-
gdb/testsuite/gdb.base/gnu-debugdata.exp | 2 +-
gdb/testsuite/gdb.base/gnu-ifunc-lib.c | 2 +-
gdb/testsuite/gdb.base/gnu-ifunc.c | 2 +-
gdb/testsuite/gdb.base/gnu-ifunc.exp | 2 +-
gdb/testsuite/gdb.base/gnu_vector.c | 2 +-
gdb/testsuite/gdb.base/gnu_vector.exp | 2 +-
gdb/testsuite/gdb.base/hashline1.exp | 2 +-
gdb/testsuite/gdb.base/hashline2.exp | 2 +-
gdb/testsuite/gdb.base/hashline3.exp | 2 +-
.../gdb.base/hbreak-in-shr-unsupported-shr.c | 2 +-
gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.c | 2 +-
.../gdb.base/hbreak-in-shr-unsupported.exp | 2 +-
gdb/testsuite/gdb.base/hbreak-unmapped.c | 2 +-
gdb/testsuite/gdb.base/hbreak-unmapped.exp | 2 +-
gdb/testsuite/gdb.base/hbreak.c | 2 +-
gdb/testsuite/gdb.base/hbreak.exp | 2 +-
gdb/testsuite/gdb.base/hbreak2.exp | 2 +-
gdb/testsuite/gdb.base/help.exp | 2 +-
gdb/testsuite/gdb.base/history-duplicates.exp | 2 +-
gdb/testsuite/gdb.base/hook-stop.c | 2 +-
gdb/testsuite/gdb.base/hook-stop.exp | 2 +-
gdb/testsuite/gdb.base/huge.exp | 2 +-
gdb/testsuite/gdb.base/ifelse.exp | 2 +-
gdb/testsuite/gdb.base/included.c | 2 +-
gdb/testsuite/gdb.base/included.exp | 2 +-
gdb/testsuite/gdb.base/included.h | 2 +-
gdb/testsuite/gdb.base/infcall-exec.c | 2 +-
gdb/testsuite/gdb.base/infcall-exec.exp | 2 +-
gdb/testsuite/gdb.base/infcall-exec2.c | 2 +-
gdb/testsuite/gdb.base/infcall-input.c | 2 +-
gdb/testsuite/gdb.base/infcall-input.exp | 2 +-
gdb/testsuite/gdb.base/inferior-died.c | 2 +-
gdb/testsuite/gdb.base/inferior-died.exp | 2 +-
gdb/testsuite/gdb.base/infnan.c | 2 +-
gdb/testsuite/gdb.base/infnan.exp | 2 +-
gdb/testsuite/gdb.base/info-fun-solib.c | 2 +-
gdb/testsuite/gdb.base/info-fun.c | 2 +-
gdb/testsuite/gdb.base/info-fun.exp | 2 +-
gdb/testsuite/gdb.base/info-macros.exp | 2 +-
gdb/testsuite/gdb.base/info-os.c | 2 +-
gdb/testsuite/gdb.base/info-os.exp | 2 +-
gdb/testsuite/gdb.base/info-proc.exp | 2 +-
gdb/testsuite/gdb.base/info-shared-solib1.c | 2 +-
gdb/testsuite/gdb.base/info-shared-solib2.c | 2 +-
gdb/testsuite/gdb.base/info-shared.c | 2 +-
gdb/testsuite/gdb.base/info-shared.exp | 2 +-
gdb/testsuite/gdb.base/info-target.exp | 2 +-
gdb/testsuite/gdb.base/infoline.c | 2 +-
gdb/testsuite/gdb.base/infoline.exp | 2 +-
gdb/testsuite/gdb.base/interact.exp | 2 +-
gdb/testsuite/gdb.base/interp.c | 2 +-
gdb/testsuite/gdb.base/interp.exp | 2 +-
gdb/testsuite/gdb.base/interrupt-noterm.c | 2 +-
gdb/testsuite/gdb.base/interrupt-noterm.exp | 2 +-
gdb/testsuite/gdb.base/interrupt.exp | 2 +-
gdb/testsuite/gdb.base/jit-attach-pie.c | 2 +-
gdb/testsuite/gdb.base/jit-attach-pie.exp | 2 +-
gdb/testsuite/gdb.base/jit-main.c | 2 +-
gdb/testsuite/gdb.base/jit-reader.exp | 2 +-
gdb/testsuite/gdb.base/jit-simple-dl.c | 2 +-
gdb/testsuite/gdb.base/jit-simple-jit.c | 2 +-
gdb/testsuite/gdb.base/jit-simple.c | 2 +-
gdb/testsuite/gdb.base/jit-simple.exp | 2 +-
gdb/testsuite/gdb.base/jit-so.exp | 2 +-
gdb/testsuite/gdb.base/jit-solib.c | 2 +-
gdb/testsuite/gdb.base/jit.exp | 2 +-
gdb/testsuite/gdb.base/jithost.c | 2 +-
gdb/testsuite/gdb.base/jithost.h | 2 +-
gdb/testsuite/gdb.base/jitreader.c | 2 +-
gdb/testsuite/gdb.base/jump.exp | 2 +-
gdb/testsuite/gdb.base/kill-after-signal.c | 2 +-
gdb/testsuite/gdb.base/kill-after-signal.exp | 2 +-
gdb/testsuite/gdb.base/kill-detach-inferiors-cmd.c | 2 +-
.../gdb.base/kill-detach-inferiors-cmd.exp | 2 +-
gdb/testsuite/gdb.base/killed-outside.c | 2 +-
gdb/testsuite/gdb.base/killed-outside.exp | 2 +-
gdb/testsuite/gdb.base/label.exp | 2 +-
gdb/testsuite/gdb.base/langs.exp | 2 +-
gdb/testsuite/gdb.base/langs1.f | 2 +-
gdb/testsuite/gdb.base/ldbl_e308.c | 2 +-
gdb/testsuite/gdb.base/ldbl_e308.exp | 2 +-
gdb/testsuite/gdb.base/line-symtabs.c | 2 +-
gdb/testsuite/gdb.base/line-symtabs.exp | 2 +-
gdb/testsuite/gdb.base/line-symtabs.h | 2 +-
gdb/testsuite/gdb.base/lineinc.exp | 2 +-
gdb/testsuite/gdb.base/linespecs.exp | 2 +-
gdb/testsuite/gdb.base/list.exp | 2 +-
gdb/testsuite/gdb.base/logical.exp | 2 +-
gdb/testsuite/gdb.base/long_long.c | 2 +-
gdb/testsuite/gdb.base/long_long.exp | 2 +-
gdb/testsuite/gdb.base/longest-types.c | 2 +-
gdb/testsuite/gdb.base/longest-types.exp | 2 +-
gdb/testsuite/gdb.base/longjmp.c | 2 +-
gdb/testsuite/gdb.base/longjmp.exp | 2 +-
gdb/testsuite/gdb.base/macscp.exp | 2 +-
gdb/testsuite/gdb.base/maint.exp | 2 +-
gdb/testsuite/gdb.base/max-value-size.c | 2 +-
gdb/testsuite/gdb.base/max-value-size.exp | 2 +-
gdb/testsuite/gdb.base/memattr.c | 2 +-
gdb/testsuite/gdb.base/memattr.exp | 2 +-
gdb/testsuite/gdb.base/mips_pro.exp | 2 +-
gdb/testsuite/gdb.base/miscexprs.exp | 2 +-
gdb/testsuite/gdb.base/morestack.c | 2 +-
gdb/testsuite/gdb.base/morestack.exp | 2 +-
gdb/testsuite/gdb.base/moribund-step.exp | 2 +-
gdb/testsuite/gdb.base/multi-forks.c | 2 +-
gdb/testsuite/gdb.base/multi-forks.exp | 2 +-
.../gdb.base/multi-line-starts-subshell.exp | 2 +-
gdb/testsuite/gdb.base/nested-addr.c | 2 +-
gdb/testsuite/gdb.base/nested-addr.exp | 2 +-
gdb/testsuite/gdb.base/nested-subp1.c | 2 +-
gdb/testsuite/gdb.base/nested-subp1.exp | 2 +-
gdb/testsuite/gdb.base/nested-subp2.c | 2 +-
gdb/testsuite/gdb.base/nested-subp2.exp | 2 +-
gdb/testsuite/gdb.base/nested-subp3.c | 2 +-
gdb/testsuite/gdb.base/nested-subp3.exp | 2 +-
gdb/testsuite/gdb.base/new-ui-echo.c | 2 +-
gdb/testsuite/gdb.base/new-ui-echo.exp | 2 +-
gdb/testsuite/gdb.base/new-ui-pending-input.c | 2 +-
gdb/testsuite/gdb.base/new-ui-pending-input.exp | 2 +-
gdb/testsuite/gdb.base/new-ui.c | 2 +-
gdb/testsuite/gdb.base/new-ui.exp | 2 +-
gdb/testsuite/gdb.base/nextoverexit.c | 2 +-
gdb/testsuite/gdb.base/nextoverexit.exp | 2 +-
gdb/testsuite/gdb.base/nodebug.exp | 2 +-
gdb/testsuite/gdb.base/nofield.c | 2 +-
gdb/testsuite/gdb.base/nofield.exp | 2 +-
gdb/testsuite/gdb.base/noreturn-finish.c | 2 +-
gdb/testsuite/gdb.base/noreturn-finish.exp | 2 +-
gdb/testsuite/gdb.base/noreturn-return.c | 2 +-
gdb/testsuite/gdb.base/noreturn-return.exp | 2 +-
gdb/testsuite/gdb.base/normal.c | 2 +-
gdb/testsuite/gdb.base/nostdlib.c | 2 +-
gdb/testsuite/gdb.base/nostdlib.exp | 2 +-
gdb/testsuite/gdb.base/offsets.c | 2 +-
gdb/testsuite/gdb.base/offsets.exp | 2 +-
gdb/testsuite/gdb.base/opaque.exp | 2 +-
gdb/testsuite/gdb.base/overlays.exp | 2 +-
gdb/testsuite/gdb.base/page.exp | 2 +-
.../gdb.base/paginate-after-ctrl-c-running.c | 2 +-
.../gdb.base/paginate-after-ctrl-c-running.exp | 2 +-
gdb/testsuite/gdb.base/paginate-bg-execution.c | 2 +-
gdb/testsuite/gdb.base/paginate-bg-execution.exp | 2 +-
.../gdb.base/paginate-execution-startup.c | 2 +-
.../gdb.base/paginate-execution-startup.exp | 2 +-
gdb/testsuite/gdb.base/paginate-inferior-exit.c | 2 +-
gdb/testsuite/gdb.base/paginate-inferior-exit.exp | 2 +-
gdb/testsuite/gdb.base/pc-fp.exp | 2 +-
gdb/testsuite/gdb.base/pending.c | 2 +-
gdb/testsuite/gdb.base/pending.exp | 2 +-
gdb/testsuite/gdb.base/pendshr.c | 2 +-
gdb/testsuite/gdb.base/permissions.exp | 2 +-
gdb/testsuite/gdb.base/pie-execl.c | 2 +-
gdb/testsuite/gdb.base/pie-execl.exp | 2 +-
gdb/testsuite/gdb.base/pointers.exp | 2 +-
gdb/testsuite/gdb.base/pr10179.exp | 2 +-
gdb/testsuite/gdb.base/pr11022.c | 2 +-
gdb/testsuite/gdb.base/pr11022.exp | 2 +-
gdb/testsuite/gdb.base/prelink-lib.c | 2 +-
gdb/testsuite/gdb.base/prelink.c | 2 +-
gdb/testsuite/gdb.base/prelink.exp | 2 +-
gdb/testsuite/gdb.base/print-file-var-lib1.c | 2 +-
gdb/testsuite/gdb.base/print-file-var-lib2.c | 2 +-
gdb/testsuite/gdb.base/print-file-var-main.c | 2 +-
gdb/testsuite/gdb.base/print-file-var.exp | 2 +-
gdb/testsuite/gdb.base/print-symbol-loading-lib.c | 2 +-
gdb/testsuite/gdb.base/print-symbol-loading-main.c | 2 +-
gdb/testsuite/gdb.base/print-symbol-loading.exp | 2 +-
gdb/testsuite/gdb.base/printcmds.exp | 2 +-
gdb/testsuite/gdb.base/prologue-include.c | 2 +-
gdb/testsuite/gdb.base/prologue-include.exp | 2 +-
gdb/testsuite/gdb.base/prologue-include.h | 2 +-
gdb/testsuite/gdb.base/prologue.c | 2 +-
gdb/testsuite/gdb.base/prologue.exp | 2 +-
gdb/testsuite/gdb.base/psymtab.exp | 2 +-
gdb/testsuite/gdb.base/ptr-typedef.c | 2 +-
gdb/testsuite/gdb.base/ptr-typedef.exp | 2 +-
gdb/testsuite/gdb.base/ptype.exp | 2 +-
gdb/testsuite/gdb.base/quit.exp | 2 +-
gdb/testsuite/gdb.base/radix.exp | 2 +-
gdb/testsuite/gdb.base/random-signal.c | 2 +-
gdb/testsuite/gdb.base/random-signal.exp | 2 +-
gdb/testsuite/gdb.base/randomize.c | 2 +-
gdb/testsuite/gdb.base/randomize.exp | 2 +-
gdb/testsuite/gdb.base/range-stepping.c | 2 +-
gdb/testsuite/gdb.base/range-stepping.exp | 2 +-
gdb/testsuite/gdb.base/readline-ask.c | 2 +-
gdb/testsuite/gdb.base/readline-ask.exp | 2 +-
gdb/testsuite/gdb.base/readline-ask.inputrc | 2 +-
gdb/testsuite/gdb.base/readline.exp | 2 +-
gdb/testsuite/gdb.base/realname-expand-real.c | 2 +-
gdb/testsuite/gdb.base/realname-expand.c | 2 +-
gdb/testsuite/gdb.base/realname-expand.exp | 2 +-
gdb/testsuite/gdb.base/recpar.c | 2 +-
gdb/testsuite/gdb.base/recpar.exp | 2 +-
gdb/testsuite/gdb.base/recurse.exp | 2 +-
gdb/testsuite/gdb.base/relational.exp | 2 +-
gdb/testsuite/gdb.base/relativedebug.c | 2 +-
gdb/testsuite/gdb.base/relativedebug.exp | 2 +-
gdb/testsuite/gdb.base/relocate.c | 2 +-
gdb/testsuite/gdb.base/relocate.exp | 2 +-
gdb/testsuite/gdb.base/remote.exp | 2 +-
gdb/testsuite/gdb.base/remotetimeout.exp | 2 +-
gdb/testsuite/gdb.base/reread.exp | 2 +-
gdb/testsuite/gdb.base/restore.c | 2 +-
gdb/testsuite/gdb.base/restore.exp | 2 +-
gdb/testsuite/gdb.base/return-nodebug.c | 2 +-
gdb/testsuite/gdb.base/return-nodebug.exp | 2 +-
gdb/testsuite/gdb.base/return-nodebug1.c | 2 +-
gdb/testsuite/gdb.base/return.c | 2 +-
gdb/testsuite/gdb.base/return.exp | 2 +-
gdb/testsuite/gdb.base/return2.exp | 2 +-
gdb/testsuite/gdb.base/run-after-attach.c | 2 +-
gdb/testsuite/gdb.base/run-after-attach.exp | 2 +-
gdb/testsuite/gdb.base/save-bp.c | 2 +-
gdb/testsuite/gdb.base/save-bp.exp | 2 +-
gdb/testsuite/gdb.base/savedregs.c | 2 +-
gdb/testsuite/gdb.base/savedregs.exp | 2 +-
gdb/testsuite/gdb.base/scope.exp | 2 +-
gdb/testsuite/gdb.base/sect-cmd.exp | 2 +-
gdb/testsuite/gdb.base/segv.c | 2 +-
gdb/testsuite/gdb.base/sep-proc.c | 2 +-
gdb/testsuite/gdb.base/sep.c | 2 +-
gdb/testsuite/gdb.base/sep.exp | 2 +-
gdb/testsuite/gdb.base/sepdebug.c | 2 +-
gdb/testsuite/gdb.base/sepdebug.exp | 2 +-
gdb/testsuite/gdb.base/sepdebug2.c | 2 +-
gdb/testsuite/gdb.base/sepsymtab.c | 2 +-
gdb/testsuite/gdb.base/sepsymtab.exp | 2 +-
gdb/testsuite/gdb.base/set-inferior-tty.c | 2 +-
gdb/testsuite/gdb.base/set-inferior-tty.exp | 2 +-
gdb/testsuite/gdb.base/set-lang-auto.exp | 2 +-
gdb/testsuite/gdb.base/set-noassign.exp | 2 +-
gdb/testsuite/gdb.base/setshow.exp | 2 +-
gdb/testsuite/gdb.base/setvar.exp | 2 +-
gdb/testsuite/gdb.base/shell.exp | 2 +-
gdb/testsuite/gdb.base/shlib-call.exp | 2 +-
gdb/testsuite/gdb.base/shreloc.exp | 2 +-
gdb/testsuite/gdb.base/sigall.exp | 2 +-
gdb/testsuite/gdb.base/sigaltstack.c | 2 +-
gdb/testsuite/gdb.base/sigaltstack.exp | 2 +-
gdb/testsuite/gdb.base/sigbpt.c | 2 +-
gdb/testsuite/gdb.base/sigbpt.exp | 2 +-
gdb/testsuite/gdb.base/sigchld.c | 2 +-
gdb/testsuite/gdb.base/sigchld.exp | 2 +-
gdb/testsuite/gdb.base/siginfo-addr.c | 2 +-
gdb/testsuite/gdb.base/siginfo-addr.exp | 2 +-
gdb/testsuite/gdb.base/siginfo-infcall.c | 2 +-
gdb/testsuite/gdb.base/siginfo-infcall.exp | 2 +-
gdb/testsuite/gdb.base/siginfo-obj.c | 2 +-
gdb/testsuite/gdb.base/siginfo-obj.exp | 2 +-
gdb/testsuite/gdb.base/siginfo-thread.c | 2 +-
gdb/testsuite/gdb.base/siginfo-thread.exp | 2 +-
gdb/testsuite/gdb.base/siginfo.c | 2 +-
gdb/testsuite/gdb.base/siginfo.exp | 2 +-
gdb/testsuite/gdb.base/signals-state-child.c | 2 +-
gdb/testsuite/gdb.base/signals-state-child.exp | 2 +-
gdb/testsuite/gdb.base/signals.exp | 2 +-
gdb/testsuite/gdb.base/signest.c | 2 +-
gdb/testsuite/gdb.base/signest.exp | 2 +-
gdb/testsuite/gdb.base/signull.c | 2 +-
gdb/testsuite/gdb.base/signull.exp | 2 +-
gdb/testsuite/gdb.base/sigrepeat.c | 2 +-
gdb/testsuite/gdb.base/sigrepeat.exp | 2 +-
gdb/testsuite/gdb.base/sigstep.c | 2 +-
gdb/testsuite/gdb.base/sigstep.exp | 2 +-
gdb/testsuite/gdb.base/sizeof.exp | 2 +-
gdb/testsuite/gdb.base/skip-solib.exp | 2 +-
gdb/testsuite/gdb.base/skip.c | 2 +-
gdb/testsuite/gdb.base/skip.exp | 2 +-
gdb/testsuite/gdb.base/skip1.c | 2 +-
gdb/testsuite/gdb.base/so-disc-shr.c | 2 +-
gdb/testsuite/gdb.base/so-impl-ld.exp | 2 +-
gdb/testsuite/gdb.base/solib-corrupted.exp | 2 +-
gdb/testsuite/gdb.base/solib-disc.c | 2 +-
gdb/testsuite/gdb.base/solib-disc.exp | 2 +-
gdb/testsuite/gdb.base/solib-display-lib.c | 2 +-
gdb/testsuite/gdb.base/solib-display-main.c | 2 +-
gdb/testsuite/gdb.base/solib-display.exp | 2 +-
gdb/testsuite/gdb.base/solib-nodir.exp | 2 +-
gdb/testsuite/gdb.base/solib-overlap-lib.c | 2 +-
gdb/testsuite/gdb.base/solib-overlap-main.c | 2 +-
gdb/testsuite/gdb.base/solib-overlap.exp | 2 +-
gdb/testsuite/gdb.base/solib-search-lib1.c | 2 +-
gdb/testsuite/gdb.base/solib-search-lib2.c | 2 +-
gdb/testsuite/gdb.base/solib-search.c | 2 +-
gdb/testsuite/gdb.base/solib-search.exp | 2 +-
gdb/testsuite/gdb.base/solib-search.h | 2 +-
gdb/testsuite/gdb.base/solib-symbol-lib.c | 2 +-
gdb/testsuite/gdb.base/solib-symbol-main.c | 2 +-
gdb/testsuite/gdb.base/solib-symbol.exp | 2 +-
gdb/testsuite/gdb.base/solib-weak.c | 2 +-
gdb/testsuite/gdb.base/solib-weak.exp | 2 +-
gdb/testsuite/gdb.base/source-dir.exp | 2 +-
gdb/testsuite/gdb.base/source-error.gdb | 2 +-
gdb/testsuite/gdb.base/source-execution.c | 2 +-
gdb/testsuite/gdb.base/source-execution.exp | 2 +-
gdb/testsuite/gdb.base/source-execution.gdb | 2 +-
gdb/testsuite/gdb.base/source-nofile.gdb | 2 +-
gdb/testsuite/gdb.base/source-test.gdb | 2 +-
gdb/testsuite/gdb.base/source.exp | 2 +-
gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.c | 2 +-
gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp | 2 +-
gdb/testsuite/gdb.base/sss-bp-on-user-bp.c | 2 +-
gdb/testsuite/gdb.base/sss-bp-on-user-bp.exp | 2 +-
gdb/testsuite/gdb.base/stack-checking.c | 2 +-
gdb/testsuite/gdb.base/stack-checking.exp | 2 +-
gdb/testsuite/gdb.base/stale-infcall.c | 2 +-
gdb/testsuite/gdb.base/stale-infcall.exp | 2 +-
gdb/testsuite/gdb.base/stap-probe.c | 2 +-
gdb/testsuite/gdb.base/stap-probe.exp | 2 +-
gdb/testsuite/gdb.base/start.c | 2 +-
gdb/testsuite/gdb.base/start.exp | 2 +-
gdb/testsuite/gdb.base/statistics.exp | 2 +-
gdb/testsuite/gdb.base/step-break.c | 2 +-
gdb/testsuite/gdb.base/step-break.exp | 2 +-
gdb/testsuite/gdb.base/step-bt.c | 2 +-
gdb/testsuite/gdb.base/step-bt.exp | 2 +-
gdb/testsuite/gdb.base/step-line.c | 2 +-
gdb/testsuite/gdb.base/step-line.exp | 2 +-
gdb/testsuite/gdb.base/step-line.inp | 2 +-
gdb/testsuite/gdb.base/step-over-clone.c | 2 +-
gdb/testsuite/gdb.base/step-over-exit.c | 2 +-
gdb/testsuite/gdb.base/step-over-exit.exp | 2 +-
gdb/testsuite/gdb.base/step-over-fork.c | 2 +-
gdb/testsuite/gdb.base/step-over-no-symbols.exp | 2 +-
gdb/testsuite/gdb.base/step-over-syscall.exp | 2 +-
gdb/testsuite/gdb.base/step-over-vfork.c | 2 +-
gdb/testsuite/gdb.base/step-resume-infcall.c | 2 +-
gdb/testsuite/gdb.base/step-resume-infcall.exp | 2 +-
.../gdb.base/step-sw-breakpoint-adjust-pc.c | 2 +-
.../gdb.base/step-sw-breakpoint-adjust-pc.exp | 2 +-
gdb/testsuite/gdb.base/step-symless.c | 2 +-
gdb/testsuite/gdb.base/step-symless.exp | 2 +-
gdb/testsuite/gdb.base/step-test.exp | 2 +-
gdb/testsuite/gdb.base/store.exp | 2 +-
gdb/testsuite/gdb.base/structs.c | 2 +-
gdb/testsuite/gdb.base/structs.exp | 2 +-
gdb/testsuite/gdb.base/structs2.exp | 2 +-
gdb/testsuite/gdb.base/structs3.c | 2 +-
gdb/testsuite/gdb.base/structs3.exp | 2 +-
gdb/testsuite/gdb.base/subst.exp | 2 +-
gdb/testsuite/gdb.base/sym-file-lib.c | 2 +-
gdb/testsuite/gdb.base/sym-file-loader.c | 2 +-
gdb/testsuite/gdb.base/sym-file-loader.h | 2 +-
gdb/testsuite/gdb.base/sym-file-main.c | 2 +-
gdb/testsuite/gdb.base/sym-file.exp | 2 +-
.../gdb.base/symbol-without-target_section.c | 2 +-
.../gdb.base/symbol-without-target_section.exp | 2 +-
gdb/testsuite/gdb.base/symtab-search-order-1.c | 2 +-
.../gdb.base/symtab-search-order-shlib-1.c | 2 +-
gdb/testsuite/gdb.base/symtab-search-order.c | 2 +-
gdb/testsuite/gdb.base/symtab-search-order.exp | 2 +-
gdb/testsuite/gdb.base/term.c | 2 +-
gdb/testsuite/gdb.base/term.exp | 2 +-
gdb/testsuite/gdb.base/testenv.c | 2 +-
gdb/testsuite/gdb.base/testenv.exp | 2 +-
gdb/testsuite/gdb.base/trace-commands.exp | 2 +-
gdb/testsuite/gdb.base/tui-layout.c | 2 +-
gdb/testsuite/gdb.base/tui-layout.exp | 2 +-
gdb/testsuite/gdb.base/twice.exp | 2 +-
gdb/testsuite/gdb.base/type-opaque-lib.c | 2 +-
gdb/testsuite/gdb.base/type-opaque-main.c | 2 +-
gdb/testsuite/gdb.base/type-opaque.exp | 2 +-
gdb/testsuite/gdb.base/ui-redirect.exp | 2 +-
gdb/testsuite/gdb.base/unload.c | 2 +-
gdb/testsuite/gdb.base/unload.exp | 2 +-
gdb/testsuite/gdb.base/unloadshr.c | 2 +-
gdb/testsuite/gdb.base/unloadshr2.c | 2 +-
gdb/testsuite/gdb.base/until-nodebug.exp | 2 +-
gdb/testsuite/gdb.base/until.exp | 2 +-
gdb/testsuite/gdb.base/unwindonsignal.c | 2 +-
gdb/testsuite/gdb.base/unwindonsignal.exp | 2 +-
gdb/testsuite/gdb.base/valgrind-db-attach.c | 2 +-
gdb/testsuite/gdb.base/valgrind-db-attach.exp | 2 +-
gdb/testsuite/gdb.base/valgrind-disp-step.c | 2 +-
gdb/testsuite/gdb.base/valgrind-disp-step.exp | 2 +-
gdb/testsuite/gdb.base/valgrind-infcall.c | 2 +-
gdb/testsuite/gdb.base/valgrind-infcall.exp | 2 +-
gdb/testsuite/gdb.base/value-double-free.c | 2 +-
gdb/testsuite/gdb.base/value-double-free.exp | 2 +-
gdb/testsuite/gdb.base/varargs.exp | 2 +-
gdb/testsuite/gdb.base/vdso-warning.c | 2 +-
gdb/testsuite/gdb.base/vdso-warning.exp | 2 +-
gdb/testsuite/gdb.base/vforked-prog.c | 2 +-
gdb/testsuite/gdb.base/vla-datatypes.c | 2 +-
gdb/testsuite/gdb.base/vla-datatypes.exp | 2 +-
gdb/testsuite/gdb.base/vla-ptr.c | 2 +-
gdb/testsuite/gdb.base/vla-ptr.exp | 2 +-
gdb/testsuite/gdb.base/vla-sideeffect.c | 2 +-
gdb/testsuite/gdb.base/vla-sideeffect.exp | 2 +-
gdb/testsuite/gdb.base/vla-stub-define.c | 2 +-
gdb/testsuite/gdb.base/vla-stub.c | 2 +-
gdb/testsuite/gdb.base/vla-stub.exp | 2 +-
gdb/testsuite/gdb.base/volatile.exp | 2 +-
gdb/testsuite/gdb.base/watch-bitfields.c | 2 +-
gdb/testsuite/gdb.base/watch-bitfields.exp | 2 +-
gdb/testsuite/gdb.base/watch-cond-infcall.c | 2 +-
gdb/testsuite/gdb.base/watch-cond-infcall.exp | 2 +-
gdb/testsuite/gdb.base/watch-cond.c | 2 +-
gdb/testsuite/gdb.base/watch-cond.exp | 2 +-
gdb/testsuite/gdb.base/watch-non-mem.c | 2 +-
gdb/testsuite/gdb.base/watch-non-mem.exp | 2 +-
gdb/testsuite/gdb.base/watch-read.c | 2 +-
gdb/testsuite/gdb.base/watch-read.exp | 2 +-
gdb/testsuite/gdb.base/watch-vfork.c | 2 +-
gdb/testsuite/gdb.base/watch-vfork.exp | 2 +-
gdb/testsuite/gdb.base/watch_thread_num.c | 2 +-
gdb/testsuite/gdb.base/watch_thread_num.exp | 2 +-
.../gdb.base/watchpoint-cond-gone-stripped.c | 2 +-
gdb/testsuite/gdb.base/watchpoint-cond-gone.c | 2 +-
gdb/testsuite/gdb.base/watchpoint-cond-gone.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint-delete.c | 2 +-
gdb/testsuite/gdb.base/watchpoint-delete.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint-hw-hit-once.c | 2 +-
gdb/testsuite/gdb.base/watchpoint-hw-hit-once.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint-hw.c | 2 +-
gdb/testsuite/gdb.base/watchpoint-hw.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint-reuse-slot.c | 2 +-
gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint-solib-shr.c | 2 +-
gdb/testsuite/gdb.base/watchpoint-solib.c | 2 +-
gdb/testsuite/gdb.base/watchpoint-solib.exp | 2 +-
.../gdb.base/watchpoint-stops-at-right-insn.c | 2 +-
.../gdb.base/watchpoint-stops-at-right-insn.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint.exp | 2 +-
gdb/testsuite/gdb.base/watchpoints.c | 2 +-
gdb/testsuite/gdb.base/watchpoints.exp | 2 +-
gdb/testsuite/gdb.base/wchar.c | 2 +-
gdb/testsuite/gdb.base/wchar.exp | 2 +-
gdb/testsuite/gdb.base/weaklib1.c | 2 +-
gdb/testsuite/gdb.base/weaklib2.c | 2 +-
gdb/testsuite/gdb.base/whatis-exp.exp | 2 +-
gdb/testsuite/gdb.base/whatis.c | 2 +-
gdb/testsuite/gdb.base/whatis.exp | 2 +-
gdb/testsuite/gdb.base/wrong_frame_bt_full-main.c | 2 +-
.../gdb.base/wrong_frame_bt_full-opaque.c | 2 +-
gdb/testsuite/gdb.base/wrong_frame_bt_full.exp | 2 +-
gdb/testsuite/gdb.btrace/buffer-size.exp | 2 +-
gdb/testsuite/gdb.btrace/data.c | 2 +-
gdb/testsuite/gdb.btrace/data.exp | 2 +-
gdb/testsuite/gdb.btrace/delta.exp | 2 +-
gdb/testsuite/gdb.btrace/dlopen-dso.c | 2 +-
gdb/testsuite/gdb.btrace/dlopen.c | 2 +-
gdb/testsuite/gdb.btrace/dlopen.exp | 2 +-
gdb/testsuite/gdb.btrace/enable.c | 2 +-
gdb/testsuite/gdb.btrace/enable.exp | 2 +-
gdb/testsuite/gdb.btrace/exception.cc | 2 +-
gdb/testsuite/gdb.btrace/exception.exp | 2 +-
gdb/testsuite/gdb.btrace/function_call_history.c | 2 +-
gdb/testsuite/gdb.btrace/function_call_history.exp | 2 +-
gdb/testsuite/gdb.btrace/gcore.exp | 2 +-
gdb/testsuite/gdb.btrace/i686-record_goto.S | 2 +-
gdb/testsuite/gdb.btrace/i686-tailcall-only.S | 2 +-
gdb/testsuite/gdb.btrace/i686-tailcall.S | 2 +-
gdb/testsuite/gdb.btrace/instruction_history.S | 2 +-
gdb/testsuite/gdb.btrace/instruction_history.c | 2 +-
gdb/testsuite/gdb.btrace/instruction_history.exp | 2 +-
gdb/testsuite/gdb.btrace/multi-thread-step.c | 2 +-
gdb/testsuite/gdb.btrace/multi-thread-step.exp | 2 +-
gdb/testsuite/gdb.btrace/nohist.exp | 2 +-
gdb/testsuite/gdb.btrace/non-stop.c | 2 +-
gdb/testsuite/gdb.btrace/non-stop.exp | 2 +-
gdb/testsuite/gdb.btrace/reconnect.c | 2 +-
gdb/testsuite/gdb.btrace/reconnect.exp | 2 +-
gdb/testsuite/gdb.btrace/record_goto-step.exp | 2 +-
gdb/testsuite/gdb.btrace/record_goto.c | 2 +-
gdb/testsuite/gdb.btrace/record_goto.exp | 2 +-
gdb/testsuite/gdb.btrace/rn-dl-bind.c | 2 +-
gdb/testsuite/gdb.btrace/rn-dl-bind.exp | 2 +-
gdb/testsuite/gdb.btrace/segv.c | 2 +-
gdb/testsuite/gdb.btrace/segv.exp | 2 +-
gdb/testsuite/gdb.btrace/step.exp | 2 +-
gdb/testsuite/gdb.btrace/stepi.exp | 2 +-
gdb/testsuite/gdb.btrace/tailcall-only.c | 2 +-
gdb/testsuite/gdb.btrace/tailcall-only.exp | 2 +-
gdb/testsuite/gdb.btrace/tailcall.c | 2 +-
gdb/testsuite/gdb.btrace/tailcall.exp | 2 +-
gdb/testsuite/gdb.btrace/tsx.c | 2 +-
gdb/testsuite/gdb.btrace/tsx.exp | 2 +-
gdb/testsuite/gdb.btrace/unknown_functions.c | 2 +-
gdb/testsuite/gdb.btrace/unknown_functions.exp | 2 +-
gdb/testsuite/gdb.btrace/vdso.c | 2 +-
gdb/testsuite/gdb.btrace/vdso.exp | 2 +-
gdb/testsuite/gdb.btrace/x86-tsx.S | 2 +-
gdb/testsuite/gdb.btrace/x86_64-record_goto.S | 2 +-
gdb/testsuite/gdb.btrace/x86_64-tailcall-only.S | 2 +-
gdb/testsuite/gdb.btrace/x86_64-tailcall.S | 2 +-
gdb/testsuite/gdb.cell/arch.exp | 2 +-
gdb/testsuite/gdb.cell/break-spu.c | 2 +-
gdb/testsuite/gdb.cell/break.c | 2 +-
gdb/testsuite/gdb.cell/break.exp | 2 +-
gdb/testsuite/gdb.cell/bt-spu.c | 2 +-
gdb/testsuite/gdb.cell/bt.c | 2 +-
gdb/testsuite/gdb.cell/bt.exp | 2 +-
gdb/testsuite/gdb.cell/bt2-spu.c | 2 +-
gdb/testsuite/gdb.cell/core.exp | 2 +-
gdb/testsuite/gdb.cell/coremaker-spu.c | 2 +-
gdb/testsuite/gdb.cell/coremaker.c | 2 +-
gdb/testsuite/gdb.cell/data-spu.c | 2 +-
gdb/testsuite/gdb.cell/data.c | 2 +-
gdb/testsuite/gdb.cell/data.exp | 2 +-
gdb/testsuite/gdb.cell/dwarfaddr.S | 2 +-
gdb/testsuite/gdb.cell/dwarfaddr.exp | 2 +-
gdb/testsuite/gdb.cell/ea-cache-spu.c | 2 +-
gdb/testsuite/gdb.cell/ea-cache.c | 2 +-
gdb/testsuite/gdb.cell/ea-cache.exp | 2 +-
gdb/testsuite/gdb.cell/ea-standalone.c | 2 +-
gdb/testsuite/gdb.cell/ea-standalone.exp | 2 +-
gdb/testsuite/gdb.cell/ea-test.c | 2 +-
gdb/testsuite/gdb.cell/ea-test.exp | 2 +-
gdb/testsuite/gdb.cell/f-regs.exp | 2 +-
gdb/testsuite/gdb.cell/fork-spu.c | 2 +-
gdb/testsuite/gdb.cell/fork.c | 2 +-
gdb/testsuite/gdb.cell/fork.exp | 2 +-
gdb/testsuite/gdb.cell/gcore.exp | 2 +-
gdb/testsuite/gdb.cell/mem-access-spu.c | 2 +-
gdb/testsuite/gdb.cell/mem-access.c | 2 +-
gdb/testsuite/gdb.cell/mem-access.exp | 2 +-
gdb/testsuite/gdb.cell/ptype.exp | 2 +-
gdb/testsuite/gdb.cell/registers.exp | 2 +-
gdb/testsuite/gdb.cell/size-spu.c | 2 +-
gdb/testsuite/gdb.cell/size.c | 2 +-
gdb/testsuite/gdb.cell/sizeof.exp | 2 +-
gdb/testsuite/gdb.cell/solib-symbol.exp | 2 +-
gdb/testsuite/gdb.cell/solib.exp | 2 +-
gdb/testsuite/gdb.compile/compile-constvar.S | 2 +-
gdb/testsuite/gdb.compile/compile-constvar.c | 2 +-
gdb/testsuite/gdb.compile/compile-ifunc.c | 2 +-
gdb/testsuite/gdb.compile/compile-ifunc.exp | 2 +-
gdb/testsuite/gdb.compile/compile-mod.c | 2 +-
gdb/testsuite/gdb.compile/compile-nodebug.c | 2 +-
gdb/testsuite/gdb.compile/compile-ops.c | 2 +-
gdb/testsuite/gdb.compile/compile-ops.exp | 2 +-
gdb/testsuite/gdb.compile/compile-print.c | 2 +-
gdb/testsuite/gdb.compile/compile-print.exp | 2 +-
gdb/testsuite/gdb.compile/compile-setjmp-mod.c | 2 +-
gdb/testsuite/gdb.compile/compile-setjmp.c | 2 +-
gdb/testsuite/gdb.compile/compile-setjmp.exp | 2 +-
gdb/testsuite/gdb.compile/compile-shlib.c | 2 +-
gdb/testsuite/gdb.compile/compile-tls.c | 2 +-
gdb/testsuite/gdb.compile/compile-tls.exp | 2 +-
gdb/testsuite/gdb.compile/compile.c | 2 +-
gdb/testsuite/gdb.compile/compile.exp | 2 +-
gdb/testsuite/gdb.cp/abstract-origin.cc | 2 +-
gdb/testsuite/gdb.cp/abstract-origin.exp | 2 +-
gdb/testsuite/gdb.cp/ambiguous.exp | 2 +-
gdb/testsuite/gdb.cp/annota2.exp | 2 +-
gdb/testsuite/gdb.cp/annota3.exp | 2 +-
gdb/testsuite/gdb.cp/anon-ns.cc | 2 +-
gdb/testsuite/gdb.cp/anon-ns.exp | 2 +-
gdb/testsuite/gdb.cp/anon-ns2.cc | 2 +-
gdb/testsuite/gdb.cp/anon-struct.cc | 2 +-
gdb/testsuite/gdb.cp/anon-struct.exp | 2 +-
gdb/testsuite/gdb.cp/anon-union.exp | 2 +-
gdb/testsuite/gdb.cp/arg-reference.cc | 2 +-
gdb/testsuite/gdb.cp/arg-reference.exp | 2 +-
gdb/testsuite/gdb.cp/baseenum.cc | 2 +-
gdb/testsuite/gdb.cp/baseenum.exp | 2 +-
gdb/testsuite/gdb.cp/bool.cc | 2 +-
gdb/testsuite/gdb.cp/bool.exp | 2 +-
gdb/testsuite/gdb.cp/breakpoint.cc | 2 +-
gdb/testsuite/gdb.cp/breakpoint.exp | 2 +-
gdb/testsuite/gdb.cp/bs15503.cc | 2 +-
gdb/testsuite/gdb.cp/bs15503.exp | 2 +-
gdb/testsuite/gdb.cp/call-c-1.c | 2 +-
gdb/testsuite/gdb.cp/call-c.cc | 2 +-
gdb/testsuite/gdb.cp/call-c.exp | 2 +-
gdb/testsuite/gdb.cp/casts.exp | 2 +-
gdb/testsuite/gdb.cp/casts03.cc | 2 +-
gdb/testsuite/gdb.cp/chained-calls.cc | 2 +-
gdb/testsuite/gdb.cp/chained-calls.exp | 2 +-
gdb/testsuite/gdb.cp/class2.cc | 2 +-
gdb/testsuite/gdb.cp/class2.exp | 2 +-
gdb/testsuite/gdb.cp/classes.cc | 2 +-
gdb/testsuite/gdb.cp/classes.exp | 2 +-
gdb/testsuite/gdb.cp/cmpd-minsyms.cc | 2 +-
gdb/testsuite/gdb.cp/cmpd-minsyms.exp | 2 +-
gdb/testsuite/gdb.cp/converts.exp | 2 +-
gdb/testsuite/gdb.cp/cp-relocate.cc | 2 +-
gdb/testsuite/gdb.cp/cp-relocate.exp | 2 +-
gdb/testsuite/gdb.cp/cpcompletion.exp | 2 +-
gdb/testsuite/gdb.cp/cpexprs.cc | 2 +-
gdb/testsuite/gdb.cp/cpexprs.exp | 2 +-
gdb/testsuite/gdb.cp/cplabel.cc | 2 +-
gdb/testsuite/gdb.cp/cplabel.exp | 2 +-
gdb/testsuite/gdb.cp/cplusfuncs.exp | 2 +-
gdb/testsuite/gdb.cp/cpsizeof.cc | 2 +-
gdb/testsuite/gdb.cp/cpsizeof.exp | 2 +-
gdb/testsuite/gdb.cp/ctti.exp | 2 +-
gdb/testsuite/gdb.cp/cttiadd.cc | 2 +-
gdb/testsuite/gdb.cp/cttiadd1.cc | 2 +-
gdb/testsuite/gdb.cp/cttiadd2.cc | 2 +-
gdb/testsuite/gdb.cp/cttiadd3.cc | 2 +-
gdb/testsuite/gdb.cp/debug-expr.exp | 2 +-
gdb/testsuite/gdb.cp/demangle.exp | 2 +-
gdb/testsuite/gdb.cp/derivation.cc | 2 +-
gdb/testsuite/gdb.cp/derivation.exp | 2 +-
gdb/testsuite/gdb.cp/derivation2.cc | 2 +-
gdb/testsuite/gdb.cp/destrprint.exp | 2 +-
gdb/testsuite/gdb.cp/dispcxx.cc | 2 +-
gdb/testsuite/gdb.cp/dispcxx.exp | 2 +-
gdb/testsuite/gdb.cp/enum-class.cc | 2 +-
gdb/testsuite/gdb.cp/enum-class.exp | 2 +-
gdb/testsuite/gdb.cp/exception.cc | 2 +-
gdb/testsuite/gdb.cp/exception.exp | 2 +-
gdb/testsuite/gdb.cp/exceptprint.cc | 2 +-
gdb/testsuite/gdb.cp/exceptprint.exp | 2 +-
gdb/testsuite/gdb.cp/expand-psymtabs-cxx.cc | 2 +-
gdb/testsuite/gdb.cp/expand-psymtabs-cxx.exp | 2 +-
gdb/testsuite/gdb.cp/expand-sals.cc | 2 +-
gdb/testsuite/gdb.cp/expand-sals.exp | 2 +-
gdb/testsuite/gdb.cp/extern-c.cc | 2 +-
gdb/testsuite/gdb.cp/extern-c.exp | 2 +-
gdb/testsuite/gdb.cp/filename.cc | 2 +-
gdb/testsuite/gdb.cp/filename.exp | 2 +-
gdb/testsuite/gdb.cp/formatted-ref.cc | 2 +-
gdb/testsuite/gdb.cp/formatted-ref.exp | 2 +-
gdb/testsuite/gdb.cp/fpointer.exp | 2 +-
gdb/testsuite/gdb.cp/gdb1355.exp | 2 +-
gdb/testsuite/gdb.cp/gdb2384-base.cc | 2 +-
gdb/testsuite/gdb.cp/gdb2384-base.h | 2 +-
gdb/testsuite/gdb.cp/gdb2384.cc | 2 +-
gdb/testsuite/gdb.cp/gdb2384.exp | 2 +-
gdb/testsuite/gdb.cp/gdb2495.cc | 2 +-
gdb/testsuite/gdb.cp/gdb2495.exp | 2 +-
gdb/testsuite/gdb.cp/hang.exp | 2 +-
gdb/testsuite/gdb.cp/impl-this.cc | 2 +-
gdb/testsuite/gdb.cp/impl-this.exp | 2 +-
gdb/testsuite/gdb.cp/includefile | 2 +-
gdb/testsuite/gdb.cp/infcall-dlopen-lib.cc | 2 +-
gdb/testsuite/gdb.cp/infcall-dlopen.cc | 2 +-
gdb/testsuite/gdb.cp/infcall-dlopen.exp | 2 +-
gdb/testsuite/gdb.cp/inherit.exp | 2 +-
gdb/testsuite/gdb.cp/iostream.cc | 2 +-
gdb/testsuite/gdb.cp/iostream.exp | 2 +-
gdb/testsuite/gdb.cp/koenig.exp | 2 +-
gdb/testsuite/gdb.cp/local.exp | 2 +-
gdb/testsuite/gdb.cp/m-data.exp | 2 +-
gdb/testsuite/gdb.cp/m-static.exp | 2 +-
gdb/testsuite/gdb.cp/maint.exp | 2 +-
gdb/testsuite/gdb.cp/mb-ctor.exp | 2 +-
gdb/testsuite/gdb.cp/mb-inline.exp | 2 +-
gdb/testsuite/gdb.cp/mb-inline.h | 2 +-
gdb/testsuite/gdb.cp/mb-inline1.cc | 2 +-
gdb/testsuite/gdb.cp/mb-inline2.cc | 2 +-
gdb/testsuite/gdb.cp/mb-templates.exp | 2 +-
gdb/testsuite/gdb.cp/member-name.cc | 2 +-
gdb/testsuite/gdb.cp/member-name.exp | 2 +-
gdb/testsuite/gdb.cp/member-ptr.cc | 2 +-
gdb/testsuite/gdb.cp/member-ptr.exp | 2 +-
gdb/testsuite/gdb.cp/meth-typedefs.cc | 2 +-
gdb/testsuite/gdb.cp/meth-typedefs.exp | 2 +-
gdb/testsuite/gdb.cp/method.exp | 2 +-
gdb/testsuite/gdb.cp/method2.exp | 2 +-
gdb/testsuite/gdb.cp/minsym-fallback-main.cc | 2 +-
gdb/testsuite/gdb.cp/minsym-fallback.cc | 2 +-
gdb/testsuite/gdb.cp/minsym-fallback.exp | 2 +-
gdb/testsuite/gdb.cp/minsym-fallback.h | 2 +-
gdb/testsuite/gdb.cp/misc.cc | 2 +-
gdb/testsuite/gdb.cp/misc.exp | 2 +-
gdb/testsuite/gdb.cp/namelessclass.S | 2 +-
gdb/testsuite/gdb.cp/namelessclass.cc | 2 +-
gdb/testsuite/gdb.cp/namelessclass.exp | 2 +-
gdb/testsuite/gdb.cp/namespace-enum.exp | 2 +-
gdb/testsuite/gdb.cp/namespace-nested-import.exp | 2 +-
gdb/testsuite/gdb.cp/namespace.exp | 2 +-
gdb/testsuite/gdb.cp/namespace1.cc | 2 +-
gdb/testsuite/gdb.cp/nextoverthrow.cc | 2 +-
gdb/testsuite/gdb.cp/nextoverthrow.exp | 2 +-
gdb/testsuite/gdb.cp/no-dmgl-verbose.cc | 2 +-
gdb/testsuite/gdb.cp/no-dmgl-verbose.exp | 2 +-
gdb/testsuite/gdb.cp/non-trivial-retval.cc | 2 +-
gdb/testsuite/gdb.cp/non-trivial-retval.exp | 2 +-
gdb/testsuite/gdb.cp/noparam.cc | 2 +-
gdb/testsuite/gdb.cp/noparam.exp | 2 +-
gdb/testsuite/gdb.cp/nsalias.cc | 2 +-
gdb/testsuite/gdb.cp/nsalias.exp | 2 +-
gdb/testsuite/gdb.cp/nsdecl.exp | 2 +-
gdb/testsuite/gdb.cp/nsimport.exp | 2 +-
gdb/testsuite/gdb.cp/nsnested.exp | 2 +-
gdb/testsuite/gdb.cp/nsnoimports.exp | 2 +-
gdb/testsuite/gdb.cp/nsrecurs.exp | 2 +-
gdb/testsuite/gdb.cp/nsstress.exp | 2 +-
gdb/testsuite/gdb.cp/nsusing.exp | 2 +-
gdb/testsuite/gdb.cp/operator.exp | 2 +-
gdb/testsuite/gdb.cp/oranking.exp | 2 +-
gdb/testsuite/gdb.cp/overload-const.cc | 2 +-
gdb/testsuite/gdb.cp/overload-const.exp | 2 +-
gdb/testsuite/gdb.cp/overload.exp | 2 +-
gdb/testsuite/gdb.cp/ovldbreak.exp | 2 +-
gdb/testsuite/gdb.cp/ovsrch.exp | 2 +-
gdb/testsuite/gdb.cp/ovsrch.h | 2 +-
gdb/testsuite/gdb.cp/ovsrch1.cc | 2 +-
gdb/testsuite/gdb.cp/ovsrch2.cc | 2 +-
gdb/testsuite/gdb.cp/ovsrch3.cc | 2 +-
gdb/testsuite/gdb.cp/ovsrch4.cc | 2 +-
gdb/testsuite/gdb.cp/paren-type.cc | 2 +-
gdb/testsuite/gdb.cp/paren-type.exp | 2 +-
gdb/testsuite/gdb.cp/parse-lang.cc | 2 +-
gdb/testsuite/gdb.cp/parse-lang.exp | 2 +-
gdb/testsuite/gdb.cp/pass-by-ref.cc | 2 +-
gdb/testsuite/gdb.cp/pass-by-ref.exp | 2 +-
gdb/testsuite/gdb.cp/pr-1023.exp | 2 +-
gdb/testsuite/gdb.cp/pr-1210.exp | 2 +-
gdb/testsuite/gdb.cp/pr-574.cc | 2 +-
gdb/testsuite/gdb.cp/pr-574.exp | 2 +-
gdb/testsuite/gdb.cp/pr10687.exp | 2 +-
gdb/testsuite/gdb.cp/pr10728.exp | 2 +-
gdb/testsuite/gdb.cp/pr12028.exp | 2 +-
gdb/testsuite/gdb.cp/pr17132.cc | 2 +-
gdb/testsuite/gdb.cp/pr17132.exp | 2 +-
gdb/testsuite/gdb.cp/pr17494.cc | 2 +-
gdb/testsuite/gdb.cp/pr17494.exp | 2 +-
gdb/testsuite/gdb.cp/pr9067.exp | 2 +-
gdb/testsuite/gdb.cp/pr9167.exp | 2 +-
gdb/testsuite/gdb.cp/pr9631.cc | 2 +-
gdb/testsuite/gdb.cp/pr9631.exp | 2 +-
gdb/testsuite/gdb.cp/printmethod.cc | 2 +-
gdb/testsuite/gdb.cp/printmethod.exp | 2 +-
gdb/testsuite/gdb.cp/psmang.exp | 2 +-
gdb/testsuite/gdb.cp/psmang1.cc | 2 +-
gdb/testsuite/gdb.cp/psmang2.cc | 2 +-
gdb/testsuite/gdb.cp/psymtab-parameter.cc | 2 +-
gdb/testsuite/gdb.cp/psymtab-parameter.exp | 2 +-
gdb/testsuite/gdb.cp/ptype-cv-cp.cc | 2 +-
gdb/testsuite/gdb.cp/ptype-cv-cp.exp | 2 +-
gdb/testsuite/gdb.cp/ptype-flags.cc | 2 +-
gdb/testsuite/gdb.cp/ptype-flags.exp | 2 +-
gdb/testsuite/gdb.cp/punctuator.exp | 2 +-
gdb/testsuite/gdb.cp/re-set-overloaded.cc | 2 +-
gdb/testsuite/gdb.cp/re-set-overloaded.exp | 2 +-
gdb/testsuite/gdb.cp/readnow-language.cc | 2 +-
gdb/testsuite/gdb.cp/readnow-language.exp | 2 +-
gdb/testsuite/gdb.cp/ref-params.cc | 2 +-
gdb/testsuite/gdb.cp/ref-params.exp | 2 +-
gdb/testsuite/gdb.cp/ref-types.cc | 2 +-
gdb/testsuite/gdb.cp/ref-types.exp | 2 +-
gdb/testsuite/gdb.cp/rtti.exp | 2 +-
gdb/testsuite/gdb.cp/rtti.h | 2 +-
gdb/testsuite/gdb.cp/rtti1.cc | 2 +-
gdb/testsuite/gdb.cp/rtti2.cc | 2 +-
gdb/testsuite/gdb.cp/scope-err.cc | 2 +-
gdb/testsuite/gdb.cp/scope-err.exp | 2 +-
gdb/testsuite/gdb.cp/shadow.exp | 2 +-
gdb/testsuite/gdb.cp/smartp.cc | 2 +-
gdb/testsuite/gdb.cp/smartp.exp | 2 +-
gdb/testsuite/gdb.cp/static-method.cc | 2 +-
gdb/testsuite/gdb.cp/static-method.exp | 2 +-
gdb/testsuite/gdb.cp/static-print-quit.cc | 2 +-
gdb/testsuite/gdb.cp/static-print-quit.exp | 2 +-
gdb/testsuite/gdb.cp/temargs.cc | 2 +-
gdb/testsuite/gdb.cp/temargs.exp | 2 +-
gdb/testsuite/gdb.cp/templates.exp | 2 +-
gdb/testsuite/gdb.cp/try_catch.cc | 2 +-
gdb/testsuite/gdb.cp/try_catch.exp | 2 +-
gdb/testsuite/gdb.cp/typedef-operator.cc | 2 +-
gdb/testsuite/gdb.cp/typedef-operator.exp | 2 +-
gdb/testsuite/gdb.cp/typeid.cc | 2 +-
gdb/testsuite/gdb.cp/typeid.exp | 2 +-
gdb/testsuite/gdb.cp/userdef.cc | 2 +-
gdb/testsuite/gdb.cp/userdef.exp | 2 +-
gdb/testsuite/gdb.cp/using-crash.cc | 2 +-
gdb/testsuite/gdb.cp/using-crash.exp | 2 +-
gdb/testsuite/gdb.cp/var-tag-2.cc | 2 +-
gdb/testsuite/gdb.cp/var-tag-3.cc | 2 +-
gdb/testsuite/gdb.cp/var-tag-4.cc | 2 +-
gdb/testsuite/gdb.cp/var-tag.cc | 2 +-
gdb/testsuite/gdb.cp/var-tag.exp | 2 +-
gdb/testsuite/gdb.cp/virtbase.exp | 2 +-
gdb/testsuite/gdb.cp/virtfunc.cc | 2 +-
gdb/testsuite/gdb.cp/virtfunc.exp | 2 +-
gdb/testsuite/gdb.cp/virtfunc2.cc | 2 +-
gdb/testsuite/gdb.cp/virtfunc2.exp | 2 +-
gdb/testsuite/gdb.cp/vla-cxx.cc | 2 +-
gdb/testsuite/gdb.cp/vla-cxx.exp | 2 +-
gdb/testsuite/gdb.disasm/am33.exp | 2 +-
gdb/testsuite/gdb.disasm/h8300s.exp | 2 +-
gdb/testsuite/gdb.disasm/hppa.exp | 2 +-
gdb/testsuite/gdb.disasm/mn10300.exp | 2 +-
gdb/testsuite/gdb.disasm/sh3.exp | 2 +-
gdb/testsuite/gdb.disasm/t01_mov.exp | 2 +-
gdb/testsuite/gdb.disasm/t02_mova.exp | 2 +-
gdb/testsuite/gdb.disasm/t03_add.exp | 2 +-
gdb/testsuite/gdb.disasm/t04_sub.exp | 2 +-
gdb/testsuite/gdb.disasm/t05_cmp.exp | 2 +-
gdb/testsuite/gdb.disasm/t06_ari2.exp | 2 +-
gdb/testsuite/gdb.disasm/t07_ari3.exp | 2 +-
gdb/testsuite/gdb.disasm/t08_or.exp | 2 +-
gdb/testsuite/gdb.disasm/t09_xor.exp | 2 +-
gdb/testsuite/gdb.disasm/t10_and.exp | 2 +-
gdb/testsuite/gdb.disasm/t11_logs.exp | 2 +-
gdb/testsuite/gdb.disasm/t12_bit.exp | 2 +-
gdb/testsuite/gdb.disasm/t13_otr.exp | 2 +-
gdb/testsuite/gdb.dlang/circular.c | 2 +-
gdb/testsuite/gdb.dlang/circular.exp | 2 +-
gdb/testsuite/gdb.dlang/demangle.exp | 2 +-
gdb/testsuite/gdb.dlang/expression.exp | 2 +-
gdb/testsuite/gdb.dlang/primitive-types.exp | 2 +-
gdb/testsuite/gdb.dlang/properties.exp | 2 +-
gdb/testsuite/gdb.dwarf2/arr-stride.c | 2 +-
gdb/testsuite/gdb.dwarf2/arr-stride.exp | 2 +-
gdb/testsuite/gdb.dwarf2/arr-subrange.c | 2 +-
gdb/testsuite/gdb.dwarf2/arr-subrange.exp | 2 +-
gdb/testsuite/gdb.dwarf2/atomic-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/atomic.c | 2 +-
gdb/testsuite/gdb.dwarf2/bad-regnum.c | 2 +-
gdb/testsuite/gdb.dwarf2/bad-regnum.exp | 2 +-
.../gdb.dwarf2/bitfield-parent-optimized-out.exp | 2 +-
gdb/testsuite/gdb.dwarf2/callframecfa.S | 2 +-
gdb/testsuite/gdb.dwarf2/callframecfa.exp | 2 +-
gdb/testsuite/gdb.dwarf2/clztest.S | 2 +-
gdb/testsuite/gdb.dwarf2/clztest.exp | 2 +-
gdb/testsuite/gdb.dwarf2/comp-unit-lang.c | 2 +-
gdb/testsuite/gdb.dwarf2/comp-unit-lang.exp | 2 +-
gdb/testsuite/gdb.dwarf2/corrupt.c | 2 +-
gdb/testsuite/gdb.dwarf2/corrupt.exp | 2 +-
gdb/testsuite/gdb.dwarf2/count.exp | 2 +-
gdb/testsuite/gdb.dwarf2/data-loc.c | 2 +-
gdb/testsuite/gdb.dwarf2/data-loc.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dup-psym.S | 2 +-
gdb/testsuite/gdb.dwarf2/dup-psym.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-hello.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp | 2 +-
.../gdb.dwarf2/dw2-bad-mips-linkage-name.c | 2 +-
.../gdb.dwarf2/dw2-bad-mips-linkage-name.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S | 2 +-
.../gdb.dwarf2/dw2-bad-parameter-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-bad-unresolved.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-bad-unresolved.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-basic.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-basic.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-canonicalize-type.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-canonicalize-type.exp | 2 +-
.../gdb.dwarf2/dw2-case-insensitive-debug.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-common-block.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-common-block.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-compressed.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-compressed.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-const.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-const.exp | 2 +-
.../gdb.dwarf2/dw2-cp-infcall-ref-static-main.c | 2 +-
.../gdb.dwarf2/dw2-cp-infcall-ref-static.S | 2 +-
.../gdb.dwarf2/dw2-cp-infcall-ref-static.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-cu-size.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-cu-size.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dos-drive.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dos-drive.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S | 2 +-
.../gdb.dwarf2/dw2-double-set-die-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dup-frame.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dup-frame.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dup-frame.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-entry-value-main.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-entry-value.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-entry-value.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-error.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-error.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-error.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-filename.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-filename.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-icycle.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-icycle.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-icycle.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inheritance.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inline-break.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inline-break.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inline-param-main.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inline-param.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-intercu.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-intercu.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-intermix.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-intermix.exp | 2 +-
.../gdb.dwarf2/dw2-lexical-block-bare.exp | 2 +-
.../gdb.dwarf2/dw2-linkage-name-trust-main.cc | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.S | 2 +-
.../gdb.dwarf2/dw2-linkage-name-trust.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.exp | 2 +-
.../gdb.dwarf2/dw2-namespaceless-anonymous.S | 2 +-
.../gdb.dwarf2/dw2-namespaceless-anonymous.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-noloc-main.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-noloc.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-noloc.exp | 2 +-
.../gdb.dwarf2/dw2-objfile-overlap-inner.S | 2 +-
.../gdb.dwarf2/dw2-objfile-overlap-outer.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-objfile-overlap.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-call.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-call.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-out-param.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-opt-structptr.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-opt-structptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-param-error-main.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-param-error.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-param-error.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-producer.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-producer.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ranges-base.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ranges-base.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ranges.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ranges.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ranges2.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ranges3.c | 2 +-
.../gdb.dwarf2/dw2-ref-missing-frame-func.c | 2 +-
.../gdb.dwarf2/dw2-ref-missing-frame-main.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-regno-invalid.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-restore.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-restore.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-restrict.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-restrict.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-restrict.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.exp | 2 +-
.../gdb.dwarf2/dw2-single-line-discriminators.S | 2 +-
.../gdb.dwarf2/dw2-single-line-discriminators.c | 2 +-
.../gdb.dwarf2/dw2-single-line-discriminators.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-strp.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-strp.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-undefined-ret-addr.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-undefined-ret-addr.c | 2 +-
.../gdb.dwarf2/dw2-undefined-ret-addr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-unresolved.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-unresolved.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.S | 2 +-
gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dwp-sepdebug.c | 2 +-
gdb/testsuite/gdb.dwarf2/dwp-sepdebug.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dwp-symlink.c | 2 +-
gdb/testsuite/gdb.dwarf2/dwp-symlink.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dwz.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dwzbuildid.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dynarr-ptr.c | 2 +-
gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/enum-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/fission-base.S | 2 +-
gdb/testsuite/gdb.dwarf2/fission-base.c | 2 +-
gdb/testsuite/gdb.dwarf2/fission-base.exp | 2 +-
gdb/testsuite/gdb.dwarf2/fission-loclists-pie.S | 2 +-
gdb/testsuite/gdb.dwarf2/fission-loclists-pie.exp | 2 +-
gdb/testsuite/gdb.dwarf2/fission-loclists.S | 2 +-
gdb/testsuite/gdb.dwarf2/fission-loclists.exp | 2 +-
gdb/testsuite/gdb.dwarf2/fission-mix.c | 2 +-
gdb/testsuite/gdb.dwarf2/fission-mix.exp | 2 +-
gdb/testsuite/gdb.dwarf2/fission-mix.h | 2 +-
gdb/testsuite/gdb.dwarf2/fission-mix2.c | 2 +-
gdb/testsuite/gdb.dwarf2/fission-reread.S | 2 +-
gdb/testsuite/gdb.dwarf2/fission-reread.exp | 2 +-
gdb/testsuite/gdb.dwarf2/gdb-index.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implptr-64bit.S | 2 +-
gdb/testsuite/gdb.dwarf2/implptr-64bit.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implptr.c | 2 +-
gdb/testsuite/gdb.dwarf2/implptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implptrconst.c | 2 +-
gdb/testsuite/gdb.dwarf2/implptrconst.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implptrpiece.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implref-array.c | 2 +-
gdb/testsuite/gdb.dwarf2/implref-array.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implref-const.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implref-global.c | 2 +-
gdb/testsuite/gdb.dwarf2/implref-global.exp | 2 +-
gdb/testsuite/gdb.dwarf2/implref-struct.c | 2 +-
gdb/testsuite/gdb.dwarf2/implref-struct.exp | 2 +-
gdb/testsuite/gdb.dwarf2/mac-fileno.S | 2 +-
gdb/testsuite/gdb.dwarf2/mac-fileno.exp | 2 +-
gdb/testsuite/gdb.dwarf2/main-subprogram.c | 2 +-
gdb/testsuite/gdb.dwarf2/main-subprogram.exp | 2 +-
gdb/testsuite/gdb.dwarf2/main.c | 2 +-
gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.S | 2 +-
gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp | 2 +-
gdb/testsuite/gdb.dwarf2/method-ptr.cc | 2 +-
gdb/testsuite/gdb.dwarf2/method-ptr.exp | 2 +-
gdb/testsuite/gdb.dwarf2/missing-sig-type.exp | 2 +-
gdb/testsuite/gdb.dwarf2/nonvar-access.exp | 2 +-
gdb/testsuite/gdb.dwarf2/nostaticblock.exp | 2 +-
gdb/testsuite/gdb.dwarf2/opaque-type-lookup-2.c | 2 +-
gdb/testsuite/gdb.dwarf2/opaque-type-lookup.c | 2 +-
gdb/testsuite/gdb.dwarf2/opaque-type-lookup.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.S | 2 +-
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.c | 2 +-
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pieces.S | 2 +-
gdb/testsuite/gdb.dwarf2/pieces.c | 2 +-
gdb/testsuite/gdb.dwarf2/pieces.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pr10770.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pr11465.S | 2 +-
gdb/testsuite/gdb.dwarf2/pr11465.exp | 2 +-
gdb/testsuite/gdb.dwarf2/pr13961.S | 2 +-
gdb/testsuite/gdb.dwarf2/pr13961.exp | 2 +-
gdb/testsuite/gdb.dwarf2/staticvirtual.exp | 2 +-
gdb/testsuite/gdb.dwarf2/subrange.exp | 2 +-
gdb/testsuite/gdb.dwarf2/symtab-producer.exp | 2 +-
gdb/testsuite/gdb.dwarf2/trace-crash.exp | 2 +-
gdb/testsuite/gdb.dwarf2/typeddwarf-amd64.S | 2 +-
gdb/testsuite/gdb.dwarf2/typeddwarf.S | 2 +-
gdb/testsuite/gdb.dwarf2/typeddwarf.exp | 2 +-
gdb/testsuite/gdb.dwarf2/valop.S | 2 +-
gdb/testsuite/gdb.dwarf2/valop.exp | 2 +-
gdb/testsuite/gdb.dwarf2/watch-notconst.c | 2 +-
gdb/testsuite/gdb.dwarf2/watch-notconst.exp | 2 +-
gdb/testsuite/gdb.dwarf2/watch-notconst2.S | 2 +-
gdb/testsuite/gdb.dwarf2/watch-notconst2.c | 2 +-
gdb/testsuite/gdb.fortran/array-element.exp | 2 +-
gdb/testsuite/gdb.fortran/array-element.f | 2 +-
gdb/testsuite/gdb.fortran/charset.exp | 2 +-
gdb/testsuite/gdb.fortran/common-block.exp | 2 +-
gdb/testsuite/gdb.fortran/common-block.f90 | 2 +-
gdb/testsuite/gdb.fortran/complex.exp | 2 +-
gdb/testsuite/gdb.fortran/complex.f | 2 +-
.../gdb.fortran/derived-type-function.exp | 2 +-
.../gdb.fortran/derived-type-function.f90 | 2 +-
gdb/testsuite/gdb.fortran/derived-type.exp | 2 +-
gdb/testsuite/gdb.fortran/derived-type.f90 | 2 +-
gdb/testsuite/gdb.fortran/exprs.exp | 2 +-
gdb/testsuite/gdb.fortran/library-module-lib.f90 | 2 +-
gdb/testsuite/gdb.fortran/library-module-main.f90 | 2 +-
gdb/testsuite/gdb.fortran/library-module.exp | 2 +-
gdb/testsuite/gdb.fortran/logical.exp | 2 +-
gdb/testsuite/gdb.fortran/logical.f90 | 2 +-
gdb/testsuite/gdb.fortran/module.exp | 2 +-
gdb/testsuite/gdb.fortran/module.f90 | 2 +-
gdb/testsuite/gdb.fortran/multi-dim.exp | 2 +-
gdb/testsuite/gdb.fortran/multi-dim.f90 | 2 +-
gdb/testsuite/gdb.fortran/nested-funcs.exp | 2 +-
gdb/testsuite/gdb.fortran/nested-funcs.f90 | 2 +-
gdb/testsuite/gdb.fortran/print-formatted.exp | 2 +-
gdb/testsuite/gdb.fortran/print-formatted.f90 | 2 +-
gdb/testsuite/gdb.fortran/subarray.exp | 2 +-
gdb/testsuite/gdb.fortran/subarray.f | 2 +-
gdb/testsuite/gdb.fortran/type.f90 | 2 +-
gdb/testsuite/gdb.fortran/types.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-alloc-assoc.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-datatypes.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-datatypes.f90 | 2 +-
gdb/testsuite/gdb.fortran/vla-history.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-ptr-info.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-ptype-sub.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-ptype.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-sizeof.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-sub.f90 | 2 +-
gdb/testsuite/gdb.fortran/vla-type.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-type.f90 | 2 +-
.../gdb.fortran/vla-value-sub-arbitrary.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-value-sub.exp | 2 +-
gdb/testsuite/gdb.fortran/vla-value.exp | 2 +-
gdb/testsuite/gdb.fortran/vla.f90 | 2 +-
gdb/testsuite/gdb.fortran/whatis_type.exp | 2 +-
gdb/testsuite/gdb.gdb/complaints.exp | 2 +-
gdb/testsuite/gdb.gdb/observer.exp | 2 +-
gdb/testsuite/gdb.gdb/python-interrupts.exp | 2 +-
gdb/testsuite/gdb.gdb/python-selftest.exp | 2 +-
gdb/testsuite/gdb.gdb/selftest.exp | 2 +-
gdb/testsuite/gdb.gdb/unittest.exp | 2 +-
gdb/testsuite/gdb.gdb/xfullpath.exp | 2 +-
gdb/testsuite/gdb.go/basic-types.exp | 2 +-
gdb/testsuite/gdb.go/chan.exp | 2 +-
gdb/testsuite/gdb.go/handcall.exp | 2 +-
gdb/testsuite/gdb.go/hello.exp | 2 +-
gdb/testsuite/gdb.go/integers.exp | 2 +-
gdb/testsuite/gdb.go/methods.exp | 2 +-
gdb/testsuite/gdb.go/package.exp | 2 +-
gdb/testsuite/gdb.go/print.exp | 2 +-
gdb/testsuite/gdb.go/strings.exp | 2 +-
gdb/testsuite/gdb.go/types.exp | 2 +-
gdb/testsuite/gdb.go/unsafe.exp | 2 +-
gdb/testsuite/gdb.guile/guile.exp | 2 +-
gdb/testsuite/gdb.guile/scm-arch.c | 2 +-
gdb/testsuite/gdb.guile/scm-arch.exp | 2 +-
gdb/testsuite/gdb.guile/scm-block.c | 2 +-
gdb/testsuite/gdb.guile/scm-block.exp | 2 +-
gdb/testsuite/gdb.guile/scm-breakpoint.c | 2 +-
gdb/testsuite/gdb.guile/scm-breakpoint.exp | 2 +-
gdb/testsuite/gdb.guile/scm-cmd.c | 2 +-
gdb/testsuite/gdb.guile/scm-cmd.exp | 2 +-
gdb/testsuite/gdb.guile/scm-disasm.c | 2 +-
gdb/testsuite/gdb.guile/scm-disasm.exp | 2 +-
gdb/testsuite/gdb.guile/scm-equal.c | 2 +-
gdb/testsuite/gdb.guile/scm-equal.exp | 2 +-
gdb/testsuite/gdb.guile/scm-error-1.scm | 2 +-
gdb/testsuite/gdb.guile/scm-error-2.scm | 2 +-
gdb/testsuite/gdb.guile/scm-error.exp | 2 +-
gdb/testsuite/gdb.guile/scm-frame-args.c | 2 +-
gdb/testsuite/gdb.guile/scm-frame-args.exp | 2 +-
gdb/testsuite/gdb.guile/scm-frame-args.scm | 2 +-
gdb/testsuite/gdb.guile/scm-frame-inline.c | 2 +-
gdb/testsuite/gdb.guile/scm-frame-inline.exp | 2 +-
gdb/testsuite/gdb.guile/scm-frame.exp | 2 +-
gdb/testsuite/gdb.guile/scm-gsmob.exp | 2 +-
gdb/testsuite/gdb.guile/scm-iterator.c | 2 +-
gdb/testsuite/gdb.guile/scm-iterator.exp | 2 +-
gdb/testsuite/gdb.guile/scm-math.c | 2 +-
gdb/testsuite/gdb.guile/scm-math.exp | 2 +-
gdb/testsuite/gdb.guile/scm-objfile-script-gdb.in | 2 +-
gdb/testsuite/gdb.guile/scm-objfile-script.c | 2 +-
gdb/testsuite/gdb.guile/scm-objfile-script.exp | 2 +-
gdb/testsuite/gdb.guile/scm-objfile.c | 2 +-
gdb/testsuite/gdb.guile/scm-objfile.exp | 2 +-
gdb/testsuite/gdb.guile/scm-parameter.exp | 2 +-
gdb/testsuite/gdb.guile/scm-ports.c | 2 +-
gdb/testsuite/gdb.guile/scm-ports.exp | 2 +-
gdb/testsuite/gdb.guile/scm-pretty-print.c | 2 +-
gdb/testsuite/gdb.guile/scm-pretty-print.exp | 2 +-
gdb/testsuite/gdb.guile/scm-pretty-print.scm | 2 +-
gdb/testsuite/gdb.guile/scm-progspace.c | 2 +-
gdb/testsuite/gdb.guile/scm-progspace.exp | 2 +-
gdb/testsuite/gdb.guile/scm-section-script.c | 2 +-
gdb/testsuite/gdb.guile/scm-section-script.exp | 2 +-
gdb/testsuite/gdb.guile/scm-section-script.scm | 2 +-
gdb/testsuite/gdb.guile/scm-symbol.c | 2 +-
gdb/testsuite/gdb.guile/scm-symbol.exp | 2 +-
gdb/testsuite/gdb.guile/scm-symtab-2.c | 2 +-
gdb/testsuite/gdb.guile/scm-symtab.c | 2 +-
gdb/testsuite/gdb.guile/scm-symtab.exp | 2 +-
gdb/testsuite/gdb.guile/scm-type.c | 2 +-
gdb/testsuite/gdb.guile/scm-type.exp | 2 +-
gdb/testsuite/gdb.guile/scm-value-cc.cc | 2 +-
gdb/testsuite/gdb.guile/scm-value-cc.exp | 2 +-
gdb/testsuite/gdb.guile/scm-value.c | 2 +-
gdb/testsuite/gdb.guile/scm-value.exp | 2 +-
gdb/testsuite/gdb.guile/source2.scm | 2 +-
gdb/testsuite/gdb.guile/types-module.cc | 2 +-
gdb/testsuite/gdb.guile/types-module.exp | 2 +-
gdb/testsuite/gdb.linespec/3explicit.c | 2 +-
gdb/testsuite/gdb.linespec/base/one/header.h | 2 +-
gdb/testsuite/gdb.linespec/base/two/header.h | 2 +-
gdb/testsuite/gdb.linespec/break-ask.exp | 2 +-
gdb/testsuite/gdb.linespec/break-asm-file.c | 2 +-
gdb/testsuite/gdb.linespec/break-asm-file.exp | 2 +-
gdb/testsuite/gdb.linespec/break-asm-file0.s | 2 +-
gdb/testsuite/gdb.linespec/break-asm-file1.s | 2 +-
gdb/testsuite/gdb.linespec/cpexplicit.cc | 2 +-
gdb/testsuite/gdb.linespec/cpexplicit.exp | 2 +-
gdb/testsuite/gdb.linespec/explicit.c | 2 +-
gdb/testsuite/gdb.linespec/explicit.exp | 2 +-
gdb/testsuite/gdb.linespec/explicit2.c | 2 +-
gdb/testsuite/gdb.linespec/keywords.c | 2 +-
gdb/testsuite/gdb.linespec/keywords.exp | 2 +-
gdb/testsuite/gdb.linespec/linespec.exp | 2 +-
gdb/testsuite/gdb.linespec/ls-dollar.cc | 2 +-
gdb/testsuite/gdb.linespec/ls-dollar.exp | 2 +-
gdb/testsuite/gdb.linespec/ls-errs.c | 2 +-
gdb/testsuite/gdb.linespec/ls-errs.exp | 2 +-
gdb/testsuite/gdb.linespec/macro-relative.c | 2 +-
gdb/testsuite/gdb.linespec/macro-relative.exp | 2 +-
gdb/testsuite/gdb.linespec/skip-two.exp | 2 +-
gdb/testsuite/gdb.linespec/thread.c | 2 +-
gdb/testsuite/gdb.linespec/thread.exp | 2 +-
gdb/testsuite/gdb.mi/array.f | 2 +-
gdb/testsuite/gdb.mi/basics.c | 2 +-
gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c | 2 +-
gdb/testsuite/gdb.mi/dw2-ref-missing-frame-main.c | 2 +-
gdb/testsuite/gdb.mi/dw2-ref-missing-frame.S | 2 +-
gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp | 2 +-
gdb/testsuite/gdb.mi/gdb2549.exp | 2 +-
gdb/testsuite/gdb.mi/gdb669.exp | 2 +-
gdb/testsuite/gdb.mi/gdb680.exp | 2 +-
gdb/testsuite/gdb.mi/gdb701.exp | 2 +-
gdb/testsuite/gdb.mi/gdb792.exp | 2 +-
gdb/testsuite/gdb.mi/mi-async-run.c | 2 +-
gdb/testsuite/gdb.mi/mi-async-run.exp | 2 +-
gdb/testsuite/gdb.mi/mi-async.exp | 2 +-
gdb/testsuite/gdb.mi/mi-basics.exp | 2 +-
gdb/testsuite/gdb.mi/mi-break.exp | 2 +-
gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 2 +-
gdb/testsuite/gdb.mi/mi-catch-load-so.c | 2 +-
gdb/testsuite/gdb.mi/mi-catch-load.c | 2 +-
gdb/testsuite/gdb.mi/mi-catch-load.exp | 2 +-
gdb/testsuite/gdb.mi/mi-cli.exp | 2 +-
gdb/testsuite/gdb.mi/mi-cmd-error.exp | 2 +-
gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp | 2 +-
.../gdb.mi/mi-condbreak-call-thr-state-mt.c | 2 +-
.../gdb.mi/mi-condbreak-call-thr-state-st.c | 2 +-
gdb/testsuite/gdb.mi/mi-condbreak-call-thr-state.c | 2 +-
.../gdb.mi/mi-condbreak-call-thr-state.exp | 2 +-
gdb/testsuite/gdb.mi/mi-console.exp | 2 +-
gdb/testsuite/gdb.mi/mi-detach.exp | 2 +-
gdb/testsuite/gdb.mi/mi-disassemble.exp | 2 +-
gdb/testsuite/gdb.mi/mi-dprintf-pending.c | 2 +-
gdb/testsuite/gdb.mi/mi-dprintf-pending.exp | 2 +-
gdb/testsuite/gdb.mi/mi-dprintf-pendshr.c | 2 +-
gdb/testsuite/gdb.mi/mi-dprintf.c | 2 +-
gdb/testsuite/gdb.mi/mi-dprintf.exp | 2 +-
gdb/testsuite/gdb.mi/mi-editing.exp | 2 +-
gdb/testsuite/gdb.mi/mi-eval.exp | 2 +-
gdb/testsuite/gdb.mi/mi-exec-run.exp | 2 +-
gdb/testsuite/gdb.mi/mi-exit-code.c | 2 +-
gdb/testsuite/gdb.mi/mi-exit-code.exp | 2 +-
gdb/testsuite/gdb.mi/mi-file-transfer.exp | 2 +-
gdb/testsuite/gdb.mi/mi-file.exp | 2 +-
gdb/testsuite/gdb.mi/mi-fill-memory.exp | 2 +-
gdb/testsuite/gdb.mi/mi-fullname-deleted.exp | 2 +-
gdb/testsuite/gdb.mi/mi-hack-cli.exp | 2 +-
gdb/testsuite/gdb.mi/mi-i-cmd.exp | 2 +-
gdb/testsuite/gdb.mi/mi-info-os.exp | 2 +-
.../gdb.mi/mi-inheritance-syntax-error.exp | 2 +-
gdb/testsuite/gdb.mi/mi-language.exp | 2 +-
gdb/testsuite/gdb.mi/mi-linespec-err-cp.cc | 2 +-
gdb/testsuite/gdb.mi/mi-linespec-err-cp.exp | 2 +-
gdb/testsuite/gdb.mi/mi-logging.exp | 2 +-
gdb/testsuite/gdb.mi/mi-memory-changed.exp | 2 +-
gdb/testsuite/gdb.mi/mi-nonstop-exit.exp | 2 +-
gdb/testsuite/gdb.mi/mi-nonstop.exp | 2 +-
gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp | 2 +-
gdb/testsuite/gdb.mi/mi-nsintrall.exp | 2 +-
gdb/testsuite/gdb.mi/mi-nsmoribund.exp | 2 +-
gdb/testsuite/gdb.mi/mi-nsthrexec.exp | 2 +-
gdb/testsuite/gdb.mi/mi-pending.c | 2 +-
gdb/testsuite/gdb.mi/mi-pending.exp | 2 +-
gdb/testsuite/gdb.mi/mi-pendshr.c | 2 +-
gdb/testsuite/gdb.mi/mi-pendshr2.c | 2 +-
gdb/testsuite/gdb.mi/mi-pthreads.exp | 2 +-
gdb/testsuite/gdb.mi/mi-read-memory.exp | 2 +-
gdb/testsuite/gdb.mi/mi-record-changed.exp | 2 +-
gdb/testsuite/gdb.mi/mi-reg-undefined.S | 2 +-
gdb/testsuite/gdb.mi/mi-reg-undefined.c | 2 +-
gdb/testsuite/gdb.mi/mi-reg-undefined.exp | 2 +-
gdb/testsuite/gdb.mi/mi-regs.exp | 2 +-
gdb/testsuite/gdb.mi/mi-return.exp | 2 +-
gdb/testsuite/gdb.mi/mi-reverse.exp | 2 +-
gdb/testsuite/gdb.mi/mi-simplerun.exp | 2 +-
gdb/testsuite/gdb.mi/mi-solib.exp | 2 +-
gdb/testsuite/gdb.mi/mi-stack.c | 2 +-
gdb/testsuite/gdb.mi/mi-stack.exp | 2 +-
gdb/testsuite/gdb.mi/mi-start.c | 2 +-
gdb/testsuite/gdb.mi/mi-start.exp | 2 +-
gdb/testsuite/gdb.mi/mi-stepi.exp | 2 +-
gdb/testsuite/gdb.mi/mi-stepn.c | 2 +-
gdb/testsuite/gdb.mi/mi-stepn.exp | 2 +-
gdb/testsuite/gdb.mi/mi-syn-frame.exp | 2 +-
gdb/testsuite/gdb.mi/mi-threads-interrupt.c | 2 +-
gdb/testsuite/gdb.mi/mi-threads-interrupt.exp | 2 +-
gdb/testsuite/gdb.mi/mi-undefined-cmd.exp | 2 +-
gdb/testsuite/gdb.mi/mi-until.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-block.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-child-f.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-child.c | 2 +-
gdb/testsuite/gdb.mi/mi-var-child.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-cmd.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-cp.cc | 2 +-
gdb/testsuite/gdb.mi/mi-var-cp.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-create-rtti.c | 2 +-
gdb/testsuite/gdb.mi/mi-var-create-rtti.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-display.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-invalidate.exp | 2 +-
.../mi-var-list-children-invalid-grandchild.c | 2 +-
.../mi-var-list-children-invalid-grandchild.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-rtti.cc | 2 +-
gdb/testsuite/gdb.mi/mi-var-rtti.exp | 2 +-
gdb/testsuite/gdb.mi/mi-vla-c99.exp | 2 +-
gdb/testsuite/gdb.mi/mi-vla-fortran.exp | 2 +-
gdb/testsuite/gdb.mi/mi-watch-nonstop.exp | 2 +-
gdb/testsuite/gdb.mi/mi-watch.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-amd64-entry-value.c | 2 +-
gdb/testsuite/gdb.mi/mi2-amd64-entry-value.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-amd64-entry-value.s | 2 +-
gdb/testsuite/gdb.mi/mi2-prompt.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-var-child.exp | 2 +-
gdb/testsuite/gdb.mi/new-ui-mi-sync.c | 2 +-
gdb/testsuite/gdb.mi/new-ui-mi-sync.exp | 2 +-
gdb/testsuite/gdb.mi/non-stop-exit.c | 2 +-
gdb/testsuite/gdb.mi/non-stop.c | 2 +-
gdb/testsuite/gdb.mi/ns-stale-regcache.c | 2 +-
gdb/testsuite/gdb.mi/nsintrall.c | 2 +-
gdb/testsuite/gdb.mi/nsmoribund.c | 2 +-
gdb/testsuite/gdb.mi/nsthrexec.c | 2 +-
gdb/testsuite/gdb.mi/pending.c | 2 +-
gdb/testsuite/gdb.mi/pendshr1.c | 2 +-
gdb/testsuite/gdb.mi/pendshr2.c | 2 +-
gdb/testsuite/gdb.mi/pr11022.c | 2 +-
gdb/testsuite/gdb.mi/pr11022.exp | 2 +-
gdb/testsuite/gdb.mi/pthreads.c | 2 +-
gdb/testsuite/gdb.mi/solib-lib.c | 2 +-
gdb/testsuite/gdb.mi/solib-main.c | 2 +-
gdb/testsuite/gdb.mi/user-selected-context-sync.c | 2 +-
.../gdb.mi/user-selected-context-sync.exp | 2 +-
gdb/testsuite/gdb.mi/var-cmd.c | 2 +-
gdb/testsuite/gdb.mi/vla.c | 2 +-
gdb/testsuite/gdb.mi/vla.f90 | 2 +-
gdb/testsuite/gdb.mi/watch-nonstop.c | 2 +-
gdb/testsuite/gdb.modula2/unbounded-array.exp | 2 +-
gdb/testsuite/gdb.modula2/unbounded1.c | 2 +-
gdb/testsuite/gdb.multi/base.exp | 2 +-
gdb/testsuite/gdb.multi/bkpt-multi-exec.exp | 2 +-
gdb/testsuite/gdb.multi/dummy-frame-restore.c | 2 +-
gdb/testsuite/gdb.multi/dummy-frame-restore.exp | 2 +-
gdb/testsuite/gdb.multi/goodbye.c | 2 +-
gdb/testsuite/gdb.multi/hangout.c | 2 +-
gdb/testsuite/gdb.multi/hello.c | 2 +-
gdb/testsuite/gdb.multi/info-threads.exp | 2 +-
gdb/testsuite/gdb.multi/multi-arch-exec.c | 2 +-
gdb/testsuite/gdb.multi/multi-arch-exec.exp | 2 +-
gdb/testsuite/gdb.multi/multi-arch.exp | 2 +-
gdb/testsuite/gdb.multi/multi-attach.c | 2 +-
gdb/testsuite/gdb.multi/multi-attach.exp | 2 +-
gdb/testsuite/gdb.multi/remove-inferiors.c | 2 +-
gdb/testsuite/gdb.multi/remove-inferiors.exp | 2 +-
gdb/testsuite/gdb.multi/tids.c | 2 +-
gdb/testsuite/gdb.multi/tids.exp | 2 +-
gdb/testsuite/gdb.multi/watchpoint-multi-exit.c | 2 +-
gdb/testsuite/gdb.multi/watchpoint-multi-exit.exp | 2 +-
gdb/testsuite/gdb.multi/watchpoint-multi.c | 2 +-
gdb/testsuite/gdb.multi/watchpoint-multi.exp | 2 +-
gdb/testsuite/gdb.objc/basicclass.exp | 2 +-
gdb/testsuite/gdb.objc/nondebug.exp | 2 +-
gdb/testsuite/gdb.objc/objcdecode.exp | 2 +-
gdb/testsuite/gdb.objc/print.exp | 2 +-
gdb/testsuite/gdb.opencl/callfuncs.cl | 2 +-
gdb/testsuite/gdb.opencl/callfuncs.exp | 2 +-
gdb/testsuite/gdb.opencl/convs_casts.cl | 2 +-
gdb/testsuite/gdb.opencl/convs_casts.exp | 2 +-
gdb/testsuite/gdb.opencl/datatypes.cl | 2 +-
gdb/testsuite/gdb.opencl/datatypes.exp | 2 +-
gdb/testsuite/gdb.opencl/operators.cl | 2 +-
gdb/testsuite/gdb.opencl/operators.exp | 2 +-
gdb/testsuite/gdb.opencl/vec_comps.cl | 2 +-
gdb/testsuite/gdb.opencl/vec_comps.exp | 2 +-
gdb/testsuite/gdb.opt/clobbered-registers-O2.c | 2 +-
gdb/testsuite/gdb.opt/clobbered-registers-O2.exp | 2 +-
gdb/testsuite/gdb.opt/inline-break.c | 2 +-
gdb/testsuite/gdb.opt/inline-break.exp | 2 +-
gdb/testsuite/gdb.opt/inline-bt.c | 2 +-
gdb/testsuite/gdb.opt/inline-bt.exp | 2 +-
gdb/testsuite/gdb.opt/inline-cmds.c | 2 +-
gdb/testsuite/gdb.opt/inline-cmds.exp | 2 +-
gdb/testsuite/gdb.opt/inline-locals.c | 2 +-
gdb/testsuite/gdb.opt/inline-locals.exp | 2 +-
gdb/testsuite/gdb.opt/inline-markers.c | 2 +-
gdb/testsuite/gdb.opt/solib-intra-step-lib.c | 2 +-
gdb/testsuite/gdb.opt/solib-intra-step-main.c | 2 +-
gdb/testsuite/gdb.opt/solib-intra-step.exp | 2 +-
.../gdb.pascal/case-insensitive-symbols.exp | 2 +-
.../gdb.pascal/case-insensitive-symbols.pas | 2 +-
gdb/testsuite/gdb.pascal/floats.exp | 2 +-
gdb/testsuite/gdb.pascal/floats.pas | 2 +-
gdb/testsuite/gdb.pascal/gdb11492.exp | 2 +-
gdb/testsuite/gdb.pascal/gdb11492.pas | 2 +-
gdb/testsuite/gdb.pascal/hello.exp | 2 +-
gdb/testsuite/gdb.pascal/integers.exp | 2 +-
gdb/testsuite/gdb.pascal/integers.pas | 2 +-
gdb/testsuite/gdb.pascal/print.exp | 2 +-
gdb/testsuite/gdb.pascal/stub-method.exp | 2 +-
gdb/testsuite/gdb.pascal/stub-method.pas | 2 +-
gdb/testsuite/gdb.pascal/types.exp | 2 +-
gdb/testsuite/gdb.perf/backtrace.c | 2 +-
gdb/testsuite/gdb.perf/backtrace.exp | 2 +-
gdb/testsuite/gdb.perf/backtrace.py | 2 +-
gdb/testsuite/gdb.perf/disassemble.exp | 2 +-
gdb/testsuite/gdb.perf/disassemble.py | 2 +-
gdb/testsuite/gdb.perf/gm-hello.cc | 2 +-
gdb/testsuite/gdb.perf/gm-pervasive-typedef.cc | 2 +-
gdb/testsuite/gdb.perf/gm-pervasive-typedef.h | 2 +-
gdb/testsuite/gdb.perf/gm-std.cc | 2 +-
gdb/testsuite/gdb.perf/gm-std.h | 2 +-
gdb/testsuite/gdb.perf/gm-use-cerr.cc | 2 +-
gdb/testsuite/gdb.perf/gm-utils.h | 2 +-
gdb/testsuite/gdb.perf/gmonster-null-lookup.py | 2 +-
.../gdb.perf/gmonster-pervasive-typedef.py | 2 +-
gdb/testsuite/gdb.perf/gmonster-print-cerr.py | 2 +-
gdb/testsuite/gdb.perf/gmonster-ptype-string.py | 2 +-
gdb/testsuite/gdb.perf/gmonster-runto-main.py | 2 +-
gdb/testsuite/gdb.perf/gmonster-select-file.py | 2 +-
gdb/testsuite/gdb.perf/gmonster1-null-lookup.exp | 2 +-
.../gdb.perf/gmonster1-pervasive-typedef.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster1-print-cerr.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster1-ptype-string.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster1-runto-main.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster1-select-file.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster1.cc | 2 +-
gdb/testsuite/gdb.perf/gmonster1.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster2-null-lookup.exp | 2 +-
.../gdb.perf/gmonster2-pervasive-typedef.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster2-print-cerr.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster2-ptype-string.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster2-runto-main.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster2-select-file.exp | 2 +-
gdb/testsuite/gdb.perf/gmonster2.cc | 2 +-
gdb/testsuite/gdb.perf/gmonster2.exp | 2 +-
gdb/testsuite/gdb.perf/lib/perftest/__init__.py | 2 +-
gdb/testsuite/gdb.perf/lib/perftest/measure.py | 2 +-
gdb/testsuite/gdb.perf/lib/perftest/perftest.py | 2 +-
gdb/testsuite/gdb.perf/lib/perftest/reporter.py | 2 +-
gdb/testsuite/gdb.perf/lib/perftest/testresult.py | 2 +-
gdb/testsuite/gdb.perf/lib/perftest/utils.py | 2 +-
gdb/testsuite/gdb.perf/single-step.c | 2 +-
gdb/testsuite/gdb.perf/single-step.exp | 2 +-
gdb/testsuite/gdb.perf/single-step.py | 2 +-
gdb/testsuite/gdb.perf/skip-command.cc | 2 +-
gdb/testsuite/gdb.perf/skip-command.exp | 2 +-
gdb/testsuite/gdb.perf/skip-command.py | 2 +-
gdb/testsuite/gdb.perf/skip-prologue.c | 2 +-
gdb/testsuite/gdb.perf/skip-prologue.exp | 2 +-
gdb/testsuite/gdb.perf/skip-prologue.py | 2 +-
gdb/testsuite/gdb.perf/solib.c | 2 +-
gdb/testsuite/gdb.perf/solib.exp | 2 +-
gdb/testsuite/gdb.perf/solib.py | 2 +-
.../gdb.python/amd64-py-framefilter-invalidarg.S | 2 +-
gdb/testsuite/gdb.python/lib-types.cc | 2 +-
gdb/testsuite/gdb.python/lib-types.exp | 2 +-
gdb/testsuite/gdb.python/py-arch.c | 2 +-
gdb/testsuite/gdb.python/py-arch.exp | 2 +-
gdb/testsuite/gdb.python/py-as-string.c | 2 +-
gdb/testsuite/gdb.python/py-as-string.exp | 2 +-
gdb/testsuite/gdb.python/py-bad-printers.c | 2 +-
gdb/testsuite/gdb.python/py-bad-printers.exp | 2 +-
gdb/testsuite/gdb.python/py-bad-printers.py | 2 +-
gdb/testsuite/gdb.python/py-block.c | 2 +-
gdb/testsuite/gdb.python/py-block.exp | 2 +-
.../gdb.python/py-breakpoint-create-fail.c | 2 +-
.../gdb.python/py-breakpoint-create-fail.exp | 2 +-
.../gdb.python/py-breakpoint-create-fail.py | 2 +-
gdb/testsuite/gdb.python/py-breakpoint.c | 2 +-
gdb/testsuite/gdb.python/py-breakpoint.exp | 2 +-
gdb/testsuite/gdb.python/py-caller-is.c | 2 +-
gdb/testsuite/gdb.python/py-caller-is.exp | 2 +-
gdb/testsuite/gdb.python/py-cmd.c | 2 +-
gdb/testsuite/gdb.python/py-cmd.exp | 2 +-
gdb/testsuite/gdb.python/py-completion.exp | 2 +-
gdb/testsuite/gdb.python/py-completion.py | 2 +-
gdb/testsuite/gdb.python/py-error.exp | 2 +-
gdb/testsuite/gdb.python/py-error.py | 2 +-
gdb/testsuite/gdb.python/py-events-shlib.c | 2 +-
gdb/testsuite/gdb.python/py-events.c | 2 +-
gdb/testsuite/gdb.python/py-events.exp | 2 +-
gdb/testsuite/gdb.python/py-events.py | 2 +-
gdb/testsuite/gdb.python/py-evsignal.exp | 2 +-
gdb/testsuite/gdb.python/py-evthreads.c | 2 +-
gdb/testsuite/gdb.python/py-evthreads.exp | 2 +-
gdb/testsuite/gdb.python/py-explore-cc.exp | 2 +-
gdb/testsuite/gdb.python/py-explore.c | 2 +-
gdb/testsuite/gdb.python/py-explore.cc | 2 +-
gdb/testsuite/gdb.python/py-explore.exp | 2 +-
gdb/testsuite/gdb.python/py-finish-breakpoint.c | 2 +-
gdb/testsuite/gdb.python/py-finish-breakpoint.exp | 2 +-
gdb/testsuite/gdb.python/py-finish-breakpoint.py | 2 +-
gdb/testsuite/gdb.python/py-finish-breakpoint2.cc | 2 +-
gdb/testsuite/gdb.python/py-finish-breakpoint2.exp | 2 +-
gdb/testsuite/gdb.python/py-finish-breakpoint2.py | 2 +-
gdb/testsuite/gdb.python/py-frame-args.c | 2 +-
gdb/testsuite/gdb.python/py-frame-args.exp | 2 +-
gdb/testsuite/gdb.python/py-frame-args.py | 2 +-
gdb/testsuite/gdb.python/py-frame-inline.c | 2 +-
gdb/testsuite/gdb.python/py-frame-inline.exp | 2 +-
gdb/testsuite/gdb.python/py-frame.exp | 2 +-
gdb/testsuite/gdb.python/py-framefilter-gdb.py.in | 2 +-
.../gdb.python/py-framefilter-invalidarg-gdb.py.in | 2 +-
.../gdb.python/py-framefilter-invalidarg.exp | 2 +-
.../gdb.python/py-framefilter-invalidarg.py | 2 +-
gdb/testsuite/gdb.python/py-framefilter-mi.c | 2 +-
gdb/testsuite/gdb.python/py-framefilter-mi.exp | 2 +-
gdb/testsuite/gdb.python/py-framefilter.c | 2 +-
gdb/testsuite/gdb.python/py-framefilter.exp | 2 +-
gdb/testsuite/gdb.python/py-framefilter.py | 2 +-
gdb/testsuite/gdb.python/py-function.exp | 2 +-
gdb/testsuite/gdb.python/py-inferior.exp | 2 +-
gdb/testsuite/gdb.python/py-infthread.exp | 2 +-
gdb/testsuite/gdb.python/py-lazy-string.c | 2 +-
gdb/testsuite/gdb.python/py-lazy-string.exp | 2 +-
gdb/testsuite/gdb.python/py-linetable.S | 2 +-
gdb/testsuite/gdb.python/py-linetable.c | 2 +-
gdb/testsuite/gdb.python/py-linetable.exp | 2 +-
gdb/testsuite/gdb.python/py-lookup-type.exp | 2 +-
gdb/testsuite/gdb.python/py-mi-events-gdb.py | 2 +-
gdb/testsuite/gdb.python/py-mi-events.c | 2 +-
gdb/testsuite/gdb.python/py-mi-events.exp | 2 +-
gdb/testsuite/gdb.python/py-mi-objfile-gdb.py | 2 +-
gdb/testsuite/gdb.python/py-mi-objfile.c | 2 +-
gdb/testsuite/gdb.python/py-mi-objfile.exp | 2 +-
gdb/testsuite/gdb.python/py-mi.exp | 2 +-
gdb/testsuite/gdb.python/py-objfile-script-gdb.py | 2 +-
gdb/testsuite/gdb.python/py-objfile-script.c | 2 +-
gdb/testsuite/gdb.python/py-objfile-script.exp | 2 +-
gdb/testsuite/gdb.python/py-objfile.c | 2 +-
gdb/testsuite/gdb.python/py-objfile.exp | 2 +-
gdb/testsuite/gdb.python/py-parameter.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-integral.c | 2 +-
gdb/testsuite/gdb.python/py-pp-integral.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-integral.py | 2 +-
gdb/testsuite/gdb.python/py-pp-maint.c | 2 +-
gdb/testsuite/gdb.python/py-pp-maint.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-maint.py | 2 +-
gdb/testsuite/gdb.python/py-pp-re-notag.c | 2 +-
gdb/testsuite/gdb.python/py-pp-re-notag.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-re-notag.py | 2 +-
gdb/testsuite/gdb.python/py-pp-registration.c | 2 +-
gdb/testsuite/gdb.python/py-pp-registration.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-registration.py | 2 +-
gdb/testsuite/gdb.python/py-prettyprint.c | 2 +-
gdb/testsuite/gdb.python/py-prettyprint.exp | 2 +-
gdb/testsuite/gdb.python/py-prettyprint.py | 2 +-
gdb/testsuite/gdb.python/py-progspace.c | 2 +-
gdb/testsuite/gdb.python/py-progspace.exp | 2 +-
gdb/testsuite/gdb.python/py-prompt.c | 2 +-
gdb/testsuite/gdb.python/py-prompt.exp | 2 +-
gdb/testsuite/gdb.python/py-recurse-unwind.c | 2 +-
gdb/testsuite/gdb.python/py-recurse-unwind.exp | 2 +-
gdb/testsuite/gdb.python/py-recurse-unwind.py | 2 +-
gdb/testsuite/gdb.python/py-section-script.c | 2 +-
gdb/testsuite/gdb.python/py-section-script.exp | 2 +-
gdb/testsuite/gdb.python/py-section-script.py | 2 +-
gdb/testsuite/gdb.python/py-shared-sl.c | 2 +-
gdb/testsuite/gdb.python/py-shared.c | 2 +-
gdb/testsuite/gdb.python/py-shared.exp | 2 +-
gdb/testsuite/gdb.python/py-strfns.c | 2 +-
gdb/testsuite/gdb.python/py-strfns.exp | 2 +-
gdb/testsuite/gdb.python/py-symbol.c | 2 +-
gdb/testsuite/gdb.python/py-symbol.exp | 2 +-
gdb/testsuite/gdb.python/py-symtab.exp | 2 +-
gdb/testsuite/gdb.python/py-sync-interp.c | 2 +-
gdb/testsuite/gdb.python/py-sync-interp.exp | 2 +-
gdb/testsuite/gdb.python/py-template.cc | 2 +-
gdb/testsuite/gdb.python/py-template.exp | 2 +-
gdb/testsuite/gdb.python/py-type.c | 2 +-
gdb/testsuite/gdb.python/py-type.exp | 2 +-
gdb/testsuite/gdb.python/py-typeprint.cc | 2 +-
gdb/testsuite/gdb.python/py-typeprint.exp | 2 +-
gdb/testsuite/gdb.python/py-typeprint.py | 2 +-
gdb/testsuite/gdb.python/py-unwind-maint.c | 2 +-
gdb/testsuite/gdb.python/py-unwind-maint.exp | 2 +-
gdb/testsuite/gdb.python/py-unwind-maint.py | 2 +-
gdb/testsuite/gdb.python/py-unwind.c | 2 +-
gdb/testsuite/gdb.python/py-unwind.exp | 2 +-
gdb/testsuite/gdb.python/py-unwind.py | 2 +-
gdb/testsuite/gdb.python/py-value-cc.cc | 2 +-
gdb/testsuite/gdb.python/py-value-cc.exp | 2 +-
gdb/testsuite/gdb.python/py-value.c | 2 +-
gdb/testsuite/gdb.python/py-value.exp | 2 +-
gdb/testsuite/gdb.python/py-xmethods.cc | 2 +-
gdb/testsuite/gdb.python/py-xmethods.exp | 2 +-
gdb/testsuite/gdb.python/py-xmethods.py | 2 +-
gdb/testsuite/gdb.python/python-1.c | 2 +-
gdb/testsuite/gdb.python/python.c | 2 +-
gdb/testsuite/gdb.python/python.exp | 2 +-
gdb/testsuite/gdb.python/source1 | 2 +-
gdb/testsuite/gdb.python/source2.py | 2 +-
gdb/testsuite/gdb.reverse/amd64-tailcall-reverse.S | 2 +-
gdb/testsuite/gdb.reverse/amd64-tailcall-reverse.c | 2 +-
.../gdb.reverse/amd64-tailcall-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/break-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/break-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/break-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/consecutive-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/consecutive-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/consecutive-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/finish-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp | 2 +-
gdb/testsuite/gdb.reverse/finish-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/finish-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/fstatat-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/fstatat-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/getresuid-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/getresuid-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i386-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/i386-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/i386-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i386-sse-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/i386-sse-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i387-env-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i387-stack-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/insn-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/insn-reverse.exp | 2 +-
.../gdb.reverse/machinestate-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/machinestate.c | 2 +-
gdb/testsuite/gdb.reverse/machinestate.exp | 2 +-
gdb/testsuite/gdb.reverse/ms1.c | 2 +-
.../gdb.reverse/next-reverse-bkpt-over-sr.exp | 2 +-
gdb/testsuite/gdb.reverse/pipe-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/pipe-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/readv-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/readv-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/recvmsg-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/recvmsg-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/rerun-prec.c | 2 +-
gdb/testsuite/gdb.reverse/rerun-prec.exp | 2 +-
gdb/testsuite/gdb.reverse/s390-mvcle.c | 2 +-
gdb/testsuite/gdb.reverse/s390-mvcle.exp | 2 +-
gdb/testsuite/gdb.reverse/shr.h | 2 +-
gdb/testsuite/gdb.reverse/shr1.c | 2 +-
gdb/testsuite/gdb.reverse/shr2.c | 2 +-
gdb/testsuite/gdb.reverse/sigall-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/sigall-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/sigall-reverse.exp | 2 +-
.../gdb.reverse/singlejmp-reverse-nodebug.S | 2 +-
.../gdb.reverse/singlejmp-reverse-nodebug.c | 2 +-
gdb/testsuite/gdb.reverse/singlejmp-reverse.S | 2 +-
gdb/testsuite/gdb.reverse/singlejmp-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/singlejmp-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/solib-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/solib-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/solib-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/step-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/step-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/step-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/time-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/time-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/until-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/until-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/until-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/ur1.c | 2 +-
gdb/testsuite/gdb.reverse/waitpid-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/waitpid-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/watch-precsave.exp | 2 +-
gdb/testsuite/gdb.reverse/watch-reverse.c | 2 +-
gdb/testsuite/gdb.reverse/watch-reverse.exp | 2 +-
gdb/testsuite/gdb.rust/expr.exp | 2 +-
gdb/testsuite/gdb.rust/generics.exp | 2 +-
gdb/testsuite/gdb.rust/generics.rs | 2 +-
gdb/testsuite/gdb.rust/methods.exp | 2 +-
gdb/testsuite/gdb.rust/methods.rs | 2 +-
gdb/testsuite/gdb.rust/modules.exp | 2 +-
gdb/testsuite/gdb.rust/modules.rs | 2 +-
gdb/testsuite/gdb.rust/simple.exp | 2 +-
gdb/testsuite/gdb.rust/simple.rs | 2 +-
gdb/testsuite/gdb.server/connect-stopped-target.c | 2 +-
.../gdb.server/connect-stopped-target.exp | 2 +-
.../gdb.server/connect-with-no-symbol-file.c | 2 +-
.../gdb.server/connect-with-no-symbol-file.exp | 2 +-
.../gdb.server/connect-without-multi-process.c | 2 +-
.../gdb.server/connect-without-multi-process.exp | 2 +-
gdb/testsuite/gdb.server/ext-attach.c | 2 +-
gdb/testsuite/gdb.server/ext-attach.exp | 2 +-
gdb/testsuite/gdb.server/ext-restart.exp | 2 +-
gdb/testsuite/gdb.server/ext-run.exp | 2 +-
gdb/testsuite/gdb.server/ext-wrapper.exp | 2 +-
gdb/testsuite/gdb.server/file-transfer.exp | 2 +-
gdb/testsuite/gdb.server/no-thread-db.c | 2 +-
gdb/testsuite/gdb.server/no-thread-db.exp | 2 +-
gdb/testsuite/gdb.server/non-existing-program.exp | 2 +-
gdb/testsuite/gdb.server/server-exec-info.exp | 2 +-
gdb/testsuite/gdb.server/server-kill.c | 2 +-
gdb/testsuite/gdb.server/server-kill.exp | 2 +-
gdb/testsuite/gdb.server/server-mon.exp | 2 +-
gdb/testsuite/gdb.server/server-run.exp | 2 +-
gdb/testsuite/gdb.server/server.c | 2 +-
gdb/testsuite/gdb.server/solib-list-lib.c | 2 +-
gdb/testsuite/gdb.server/solib-list-main.c | 2 +-
gdb/testsuite/gdb.server/solib-list.exp | 2 +-
gdb/testsuite/gdb.server/wrapper.c | 2 +-
gdb/testsuite/gdb.server/wrapper.exp | 2 +-
gdb/testsuite/gdb.stabs/exclfwd.exp | 2 +-
gdb/testsuite/gdb.stabs/exclfwd.h | 2 +-
gdb/testsuite/gdb.stabs/exclfwd1.c | 2 +-
gdb/testsuite/gdb.stabs/exclfwd2.c | 2 +-
gdb/testsuite/gdb.stabs/gdb11479.c | 2 +-
gdb/testsuite/gdb.stabs/gdb11479.exp | 2 +-
gdb/testsuite/gdb.stabs/weird.exp | 2 +-
gdb/testsuite/gdb.threads/attach-into-signal.c | 2 +-
gdb/testsuite/gdb.threads/attach-into-signal.exp | 2 +-
.../gdb.threads/attach-many-short-lived-threads.c | 2 +-
.../attach-many-short-lived-threads.exp | 2 +-
gdb/testsuite/gdb.threads/attach-stopped.c | 2 +-
gdb/testsuite/gdb.threads/attach-stopped.exp | 2 +-
gdb/testsuite/gdb.threads/bp_in_thread.c | 2 +-
gdb/testsuite/gdb.threads/bp_in_thread.exp | 2 +-
gdb/testsuite/gdb.threads/break-while-running.c | 2 +-
gdb/testsuite/gdb.threads/break-while-running.exp | 2 +-
gdb/testsuite/gdb.threads/clone-attach-detach.c | 2 +-
gdb/testsuite/gdb.threads/clone-attach-detach.exp | 2 +-
gdb/testsuite/gdb.threads/clone-new-thread-event.c | 2 +-
.../gdb.threads/clone-new-thread-event.exp | 2 +-
gdb/testsuite/gdb.threads/clone-thread_db.c | 2 +-
gdb/testsuite/gdb.threads/clone-thread_db.exp | 2 +-
.../gdb.threads/continue-pending-after-query.c | 2 +-
.../gdb.threads/continue-pending-after-query.exp | 2 +-
.../gdb.threads/continue-pending-status.c | 2 +-
.../gdb.threads/continue-pending-status.exp | 2 +-
gdb/testsuite/gdb.threads/corethreads.c | 2 +-
gdb/testsuite/gdb.threads/corethreads.exp | 2 +-
gdb/testsuite/gdb.threads/create-fail.c | 2 +-
gdb/testsuite/gdb.threads/create-fail.exp | 2 +-
gdb/testsuite/gdb.threads/current-lwp-dead.c | 2 +-
gdb/testsuite/gdb.threads/current-lwp-dead.exp | 2 +-
gdb/testsuite/gdb.threads/dlopen-libpthread-lib.c | 2 +-
gdb/testsuite/gdb.threads/dlopen-libpthread.c | 2 +-
gdb/testsuite/gdb.threads/dlopen-libpthread.exp | 2 +-
gdb/testsuite/gdb.threads/execl.c | 2 +-
gdb/testsuite/gdb.threads/execl.exp | 2 +-
gdb/testsuite/gdb.threads/execl1.c | 2 +-
gdb/testsuite/gdb.threads/fork-child-threads.c | 2 +-
gdb/testsuite/gdb.threads/fork-child-threads.exp | 2 +-
gdb/testsuite/gdb.threads/fork-plus-threads.c | 2 +-
gdb/testsuite/gdb.threads/fork-plus-threads.exp | 2 +-
gdb/testsuite/gdb.threads/fork-thread-pending.c | 2 +-
gdb/testsuite/gdb.threads/fork-thread-pending.exp | 2 +-
.../gdb.threads/forking-threads-plus-breakpoint.c | 2 +-
.../forking-threads-plus-breakpoint.exp | 2 +-
gdb/testsuite/gdb.threads/gcore-stale-thread.c | 2 +-
gdb/testsuite/gdb.threads/gcore-stale-thread.exp | 2 +-
gdb/testsuite/gdb.threads/gcore-thread.exp | 2 +-
gdb/testsuite/gdb.threads/hand-call-in-threads.c | 2 +-
gdb/testsuite/gdb.threads/hand-call-in-threads.exp | 2 +-
gdb/testsuite/gdb.threads/hand-call-new-thread.c | 2 +-
gdb/testsuite/gdb.threads/hand-call-new-thread.exp | 2 +-
gdb/testsuite/gdb.threads/ia64-sigill.c | 2 +-
gdb/testsuite/gdb.threads/ia64-sigill.exp | 2 +-
gdb/testsuite/gdb.threads/info-threads-cur-sal-2.c | 2 +-
gdb/testsuite/gdb.threads/info-threads-cur-sal.c | 2 +-
gdb/testsuite/gdb.threads/info-threads-cur-sal.exp | 2 +-
gdb/testsuite/gdb.threads/interrupted-hand-call.c | 2 +-
.../gdb.threads/interrupted-hand-call.exp | 2 +-
gdb/testsuite/gdb.threads/kill.c | 2 +-
gdb/testsuite/gdb.threads/kill.exp | 2 +-
gdb/testsuite/gdb.threads/killed.c | 2 +-
gdb/testsuite/gdb.threads/killed.exp | 2 +-
gdb/testsuite/gdb.threads/leader-exit.c | 2 +-
gdb/testsuite/gdb.threads/leader-exit.exp | 2 +-
gdb/testsuite/gdb.threads/linux-dp.exp | 2 +-
.../gdb.threads/local-watch-wrong-thread.c | 2 +-
.../gdb.threads/local-watch-wrong-thread.exp | 2 +-
gdb/testsuite/gdb.threads/manythreads.c | 2 +-
gdb/testsuite/gdb.threads/manythreads.exp | 2 +-
.../gdb.threads/multi-create-ns-info-thr.exp | 2 +-
gdb/testsuite/gdb.threads/multi-create.c | 2 +-
gdb/testsuite/gdb.threads/multi-create.exp | 2 +-
gdb/testsuite/gdb.threads/multiple-step-overs.c | 2 +-
gdb/testsuite/gdb.threads/multiple-step-overs.exp | 2 +-
gdb/testsuite/gdb.threads/names.c | 2 +-
gdb/testsuite/gdb.threads/names.exp | 2 +-
gdb/testsuite/gdb.threads/next-bp-other-thread.c | 2 +-
gdb/testsuite/gdb.threads/next-bp-other-thread.exp | 2 +-
.../gdb.threads/next-while-other-thread-longjmps.c | 2 +-
.../next-while-other-thread-longjmps.exp | 2 +-
gdb/testsuite/gdb.threads/no-unwaited-for-left.c | 2 +-
gdb/testsuite/gdb.threads/no-unwaited-for-left.exp | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exc-1.c | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exc-1.exp | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exc-2.c | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exc-2.exp | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exc-3.c | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exc-3.exp | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exc-4.c | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exc-4.exp | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exit.c | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exit.exp | 2 +-
gdb/testsuite/gdb.threads/non-stop-fair-events.c | 2 +-
gdb/testsuite/gdb.threads/non-stop-fair-events.exp | 2 +-
gdb/testsuite/gdb.threads/pending-step.c | 2 +-
gdb/testsuite/gdb.threads/pending-step.exp | 2 +-
gdb/testsuite/gdb.threads/print-threads.exp | 2 +-
.../gdb.threads/process-dies-while-detaching.c | 2 +-
.../gdb.threads/process-dies-while-detaching.exp | 2 +-
.../gdb.threads/process-dies-while-handling-bp.c | 2 +-
.../gdb.threads/process-dies-while-handling-bp.exp | 2 +-
gdb/testsuite/gdb.threads/pthread_cond_wait.c | 2 +-
gdb/testsuite/gdb.threads/pthread_cond_wait.exp | 2 +-
gdb/testsuite/gdb.threads/pthreads.c | 2 +-
gdb/testsuite/gdb.threads/pthreads.exp | 2 +-
gdb/testsuite/gdb.threads/queue-signal.c | 2 +-
gdb/testsuite/gdb.threads/queue-signal.exp | 2 +-
gdb/testsuite/gdb.threads/reconnect-signal.c | 2 +-
gdb/testsuite/gdb.threads/reconnect-signal.exp | 2 +-
gdb/testsuite/gdb.threads/schedlock.c | 2 +-
gdb/testsuite/gdb.threads/schedlock.exp | 2 +-
gdb/testsuite/gdb.threads/siginfo-threads.c | 2 +-
gdb/testsuite/gdb.threads/siginfo-threads.exp | 2 +-
.../gdb.threads/signal-command-handle-nopass.c | 2 +-
.../gdb.threads/signal-command-handle-nopass.exp | 2 +-
.../signal-command-multiple-signals-pending.c | 2 +-
.../signal-command-multiple-signals-pending.exp | 2 +-
.../gdb.threads/signal-delivered-right-thread.c | 2 +-
.../gdb.threads/signal-delivered-right-thread.exp | 2 +-
gdb/testsuite/gdb.threads/signal-sigtrap.c | 2 +-
gdb/testsuite/gdb.threads/signal-sigtrap.exp | 2 +-
.../signal-while-stepping-over-bp-other-thread.c | 2 +-
.../signal-while-stepping-over-bp-other-thread.exp | 2 +-
gdb/testsuite/gdb.threads/sigstep-threads.c | 2 +-
gdb/testsuite/gdb.threads/sigstep-threads.exp | 2 +-
gdb/testsuite/gdb.threads/sigthread.exp | 2 +-
gdb/testsuite/gdb.threads/staticthreads.c | 2 +-
gdb/testsuite/gdb.threads/staticthreads.exp | 2 +-
.../gdb.threads/step-bg-decr-pc-switch-thread.c | 2 +-
.../gdb.threads/step-bg-decr-pc-switch-thread.exp | 2 +-
.../gdb.threads/step-over-lands-on-breakpoint.c | 2 +-
.../gdb.threads/step-over-lands-on-breakpoint.exp | 2 +-
.../gdb.threads/step-over-trips-on-watchpoint.c | 2 +-
.../gdb.threads/step-over-trips-on-watchpoint.exp | 2 +-
gdb/testsuite/gdb.threads/stepi-random-signal.c | 2 +-
gdb/testsuite/gdb.threads/stepi-random-signal.exp | 2 +-
gdb/testsuite/gdb.threads/switch-threads.c | 2 +-
gdb/testsuite/gdb.threads/switch-threads.exp | 2 +-
gdb/testsuite/gdb.threads/thread-execl.c | 2 +-
gdb/testsuite/gdb.threads/thread-execl.exp | 2 +-
gdb/testsuite/gdb.threads/thread-find.exp | 2 +-
gdb/testsuite/gdb.threads/thread-specific-bp.c | 2 +-
gdb/testsuite/gdb.threads/thread-specific-bp.exp | 2 +-
gdb/testsuite/gdb.threads/thread-specific.c | 2 +-
gdb/testsuite/gdb.threads/thread-specific.exp | 2 +-
.../gdb.threads/thread-unwindonsignal.exp | 2 +-
gdb/testsuite/gdb.threads/thread_check.c | 2 +-
gdb/testsuite/gdb.threads/thread_check.exp | 2 +-
gdb/testsuite/gdb.threads/thread_events.c | 2 +-
gdb/testsuite/gdb.threads/thread_events.exp | 2 +-
gdb/testsuite/gdb.threads/threadapply.c | 2 +-
gdb/testsuite/gdb.threads/threadapply.exp | 2 +-
gdb/testsuite/gdb.threads/threxit-hop-specific.c | 2 +-
gdb/testsuite/gdb.threads/threxit-hop-specific.exp | 2 +-
gdb/testsuite/gdb.threads/tid-reuse.c | 2 +-
gdb/testsuite/gdb.threads/tid-reuse.exp | 2 +-
gdb/testsuite/gdb.threads/tls-nodebug.exp | 2 +-
gdb/testsuite/gdb.threads/tls-shared.exp | 2 +-
gdb/testsuite/gdb.threads/tls-so_extern.c | 2 +-
gdb/testsuite/gdb.threads/tls-so_extern.exp | 2 +-
gdb/testsuite/gdb.threads/tls-so_extern_main.c | 2 +-
gdb/testsuite/gdb.threads/tls-var-main.c | 2 +-
gdb/testsuite/gdb.threads/tls-var.c | 2 +-
gdb/testsuite/gdb.threads/tls-var.exp | 2 +-
gdb/testsuite/gdb.threads/tls.exp | 2 +-
gdb/testsuite/gdb.threads/tls2.c | 2 +-
gdb/testsuite/gdb.threads/watchpoint-fork-child.c | 2 +-
gdb/testsuite/gdb.threads/watchpoint-fork-mt.c | 2 +-
gdb/testsuite/gdb.threads/watchpoint-fork-parent.c | 2 +-
gdb/testsuite/gdb.threads/watchpoint-fork-st.c | 2 +-
gdb/testsuite/gdb.threads/watchpoint-fork.exp | 2 +-
gdb/testsuite/gdb.threads/watchpoint-fork.h | 2 +-
gdb/testsuite/gdb.threads/watchthreads-reorder.c | 2 +-
gdb/testsuite/gdb.threads/watchthreads-reorder.exp | 2 +-
gdb/testsuite/gdb.threads/watchthreads.c | 2 +-
gdb/testsuite/gdb.threads/watchthreads.exp | 2 +-
gdb/testsuite/gdb.threads/watchthreads2.c | 2 +-
gdb/testsuite/gdb.threads/watchthreads2.exp | 2 +-
gdb/testsuite/gdb.threads/wp-replication.c | 2 +-
gdb/testsuite/gdb.threads/wp-replication.exp | 2 +-
gdb/testsuite/gdb.trace/actions-changed.c | 2 +-
gdb/testsuite/gdb.trace/actions-changed.exp | 2 +-
gdb/testsuite/gdb.trace/actions.c | 2 +-
gdb/testsuite/gdb.trace/actions.exp | 2 +-
gdb/testsuite/gdb.trace/ax.exp | 2 +-
gdb/testsuite/gdb.trace/backtrace.exp | 2 +-
gdb/testsuite/gdb.trace/change-loc-1.c | 2 +-
gdb/testsuite/gdb.trace/change-loc-2.c | 2 +-
gdb/testsuite/gdb.trace/change-loc.c | 2 +-
gdb/testsuite/gdb.trace/change-loc.exp | 2 +-
gdb/testsuite/gdb.trace/change-loc.h | 2 +-
gdb/testsuite/gdb.trace/circ.c | 2 +-
gdb/testsuite/gdb.trace/circ.exp | 2 +-
gdb/testsuite/gdb.trace/collection.c | 2 +-
gdb/testsuite/gdb.trace/collection.exp | 2 +-
gdb/testsuite/gdb.trace/deltrace.exp | 2 +-
gdb/testsuite/gdb.trace/disconnected-tracing.c | 2 +-
gdb/testsuite/gdb.trace/disconnected-tracing.exp | 2 +-
gdb/testsuite/gdb.trace/entry-values.c | 2 +-
gdb/testsuite/gdb.trace/entry-values.exp | 2 +-
gdb/testsuite/gdb.trace/ftrace-lock.c | 2 +-
gdb/testsuite/gdb.trace/ftrace-lock.exp | 2 +-
gdb/testsuite/gdb.trace/ftrace.c | 2 +-
gdb/testsuite/gdb.trace/ftrace.exp | 2 +-
gdb/testsuite/gdb.trace/infotrace.exp | 2 +-
.../gdb.trace/mi-trace-frame-collected.exp | 2 +-
gdb/testsuite/gdb.trace/mi-trace-save.exp | 2 +-
gdb/testsuite/gdb.trace/mi-trace-unavailable.exp | 2 +-
gdb/testsuite/gdb.trace/mi-traceframe-changed.exp | 2 +-
gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp | 2 +-
gdb/testsuite/gdb.trace/mi-tsv-changed.exp | 2 +-
gdb/testsuite/gdb.trace/no-attach-trace.c | 2 +-
gdb/testsuite/gdb.trace/no-attach-trace.exp | 2 +-
gdb/testsuite/gdb.trace/packetlen.exp | 2 +-
gdb/testsuite/gdb.trace/passc-dyn.exp | 2 +-
gdb/testsuite/gdb.trace/passcount.exp | 2 +-
gdb/testsuite/gdb.trace/pending.c | 2 +-
gdb/testsuite/gdb.trace/pending.exp | 2 +-
gdb/testsuite/gdb.trace/pendshr1.c | 2 +-
gdb/testsuite/gdb.trace/pendshr2.c | 2 +-
gdb/testsuite/gdb.trace/pr16508.exp | 2 +-
gdb/testsuite/gdb.trace/qtro.c | 2 +-
gdb/testsuite/gdb.trace/qtro.exp | 2 +-
gdb/testsuite/gdb.trace/range-stepping.c | 2 +-
gdb/testsuite/gdb.trace/range-stepping.exp | 2 +-
gdb/testsuite/gdb.trace/read-memory.c | 2 +-
gdb/testsuite/gdb.trace/read-memory.exp | 2 +-
gdb/testsuite/gdb.trace/report.exp | 2 +-
gdb/testsuite/gdb.trace/save-trace.exp | 2 +-
gdb/testsuite/gdb.trace/signal.c | 2 +-
gdb/testsuite/gdb.trace/signal.exp | 2 +-
gdb/testsuite/gdb.trace/stap-trace.c | 2 +-
gdb/testsuite/gdb.trace/stap-trace.exp | 2 +-
gdb/testsuite/gdb.trace/status-stop.c | 2 +-
gdb/testsuite/gdb.trace/status-stop.exp | 2 +-
gdb/testsuite/gdb.trace/strace.c | 2 +-
gdb/testsuite/gdb.trace/strace.exp | 2 +-
gdb/testsuite/gdb.trace/tfile.c | 2 +-
gdb/testsuite/gdb.trace/tfile.exp | 2 +-
gdb/testsuite/gdb.trace/tfind.exp | 2 +-
gdb/testsuite/gdb.trace/trace-break.c | 2 +-
gdb/testsuite/gdb.trace/trace-break.exp | 2 +-
gdb/testsuite/gdb.trace/trace-buffer-size.c | 2 +-
gdb/testsuite/gdb.trace/trace-buffer-size.exp | 2 +-
gdb/testsuite/gdb.trace/trace-common.h | 2 +-
gdb/testsuite/gdb.trace/trace-condition.c | 2 +-
gdb/testsuite/gdb.trace/trace-condition.exp | 2 +-
gdb/testsuite/gdb.trace/trace-enable-disable.c | 2 +-
gdb/testsuite/gdb.trace/trace-enable-disable.exp | 2 +-
gdb/testsuite/gdb.trace/trace-mt.c | 2 +-
gdb/testsuite/gdb.trace/trace-mt.exp | 2 +-
gdb/testsuite/gdb.trace/trace-unavailable.c | 2 +-
gdb/testsuite/gdb.trace/tracecmd.exp | 2 +-
gdb/testsuite/gdb.trace/tracefile-pseudo-reg.c | 2 +-
gdb/testsuite/gdb.trace/tracefile-pseudo-reg.exp | 2 +-
gdb/testsuite/gdb.trace/tspeed.c | 2 +-
gdb/testsuite/gdb.trace/tspeed.exp | 2 +-
gdb/testsuite/gdb.trace/tstatus.exp | 2 +-
gdb/testsuite/gdb.trace/tsv.exp | 2 +-
gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c | 2 +-
.../gdb.trace/unavailable-dwarf-piece.exp | 2 +-
gdb/testsuite/gdb.trace/unavailable.cc | 2 +-
gdb/testsuite/gdb.trace/unavailable.exp | 2 +-
gdb/testsuite/gdb.trace/while-dyn.exp | 2 +-
gdb/testsuite/gdb.trace/while-stepping.exp | 2 +-
gdb/testsuite/gdb.xml/maint_print_struct.exp | 2 +-
gdb/testsuite/gdb.xml/maint_print_struct.xml | 2 +-
gdb/testsuite/gdb.xml/tdesc-arch.exp | 2 +-
gdb/testsuite/gdb.xml/tdesc-errors.exp | 2 +-
gdb/testsuite/gdb.xml/tdesc-regs.exp | 2 +-
gdb/testsuite/gdb.xml/tdesc-xinclude.exp | 2 +-
gdb/testsuite/lib/ada.exp | 2 +-
gdb/testsuite/lib/append_gdb_boards_dir.exp | 2 +-
gdb/testsuite/lib/build-piece.exp | 2 +-
gdb/testsuite/lib/cache.exp | 2 +-
gdb/testsuite/lib/cell.exp | 2 +-
gdb/testsuite/lib/cl_util.c | 2 +-
gdb/testsuite/lib/cl_util.h | 2 +-
gdb/testsuite/lib/compiler.c | 2 +-
gdb/testsuite/lib/compiler.cc | 2 +-
gdb/testsuite/lib/cp-support.exp | 2 +-
gdb/testsuite/lib/d-support.exp | 2 +-
gdb/testsuite/lib/dtrace.exp | 2 +-
gdb/testsuite/lib/dwarf.exp | 2 +-
gdb/testsuite/lib/fortran.exp | 2 +-
gdb/testsuite/lib/future.exp | 2 +-
gdb/testsuite/lib/gdb-guile.exp | 2 +-
gdb/testsuite/lib/gdb-python.exp | 2 +-
gdb/testsuite/lib/gdb-utils.exp | 2 +-
gdb/testsuite/lib/gdb.exp | 2 +-
gdb/testsuite/lib/gdbserver-support.exp | 2 +-
gdb/testsuite/lib/gen-perf-test.exp | 2 +-
gdb/testsuite/lib/go.exp | 2 +-
gdb/testsuite/lib/mi-support.exp | 2 +-
gdb/testsuite/lib/objc.exp | 2 +-
gdb/testsuite/lib/opencl.exp | 2 +-
gdb/testsuite/lib/opencl_hostapp.c | 2 +-
gdb/testsuite/lib/pascal.exp | 2 +-
gdb/testsuite/lib/pdtrace.in | 2 +-
gdb/testsuite/lib/perftest.exp | 2 +-
gdb/testsuite/lib/prelink-support.exp | 2 +-
gdb/testsuite/lib/prompt.exp | 2 +-
gdb/testsuite/lib/range-stepping-support.exp | 2 +-
gdb/testsuite/lib/read1.c | 2 +-
gdb/testsuite/lib/rust-support.exp | 2 +-
gdb/testsuite/lib/selftest-support.exp | 2 +-
gdb/testsuite/lib/set_unbuffered_mode.c | 2 +-
gdb/testsuite/lib/trace-support.exp | 2 +-
gdb/testsuite/lib/unbuffer_output.c | 2 +-
gdb/thread-fsm.c | 2 +-
gdb/thread-fsm.h | 2 +-
gdb/thread.c | 2 +-
gdb/tic6x-linux-tdep.c | 2 +-
gdb/tic6x-tdep.c | 2 +-
gdb/tic6x-tdep.h | 2 +-
gdb/tid-parse.c | 2 +-
gdb/tid-parse.h | 2 +-
gdb/tilegx-linux-nat.c | 2 +-
gdb/tilegx-linux-tdep.c | 2 +-
gdb/tilegx-tdep.c | 2 +-
gdb/tilegx-tdep.h | 2 +-
gdb/top.c | 4 +-
gdb/top.h | 2 +-
gdb/tracefile-tfile.c | 2 +-
gdb/tracefile.c | 2 +-
gdb/tracepoint.c | 2 +-
gdb/tracepoint.h | 2 +-
gdb/trad-frame.c | 2 +-
gdb/trad-frame.h | 2 +-
gdb/tramp-frame.c | 2 +-
gdb/tramp-frame.h | 2 +-
gdb/transform.m4 | 2 +-
gdb/tui/tui-command.c | 2 +-
gdb/tui/tui-command.h | 2 +-
gdb/tui/tui-data.c | 2 +-
gdb/tui/tui-data.h | 2 +-
gdb/tui/tui-disasm.c | 2 +-
gdb/tui/tui-disasm.h | 2 +-
gdb/tui/tui-file.c | 2 +-
gdb/tui/tui-file.h | 2 +-
gdb/tui/tui-hooks.c | 2 +-
gdb/tui/tui-hooks.h | 2 +-
gdb/tui/tui-interp.c | 2 +-
gdb/tui/tui-io.c | 2 +-
gdb/tui/tui-io.h | 2 +-
gdb/tui/tui-layout.c | 2 +-
gdb/tui/tui-layout.h | 2 +-
gdb/tui/tui-out.c | 2 +-
gdb/tui/tui-out.h | 2 +-
gdb/tui/tui-regs.c | 2 +-
gdb/tui/tui-regs.h | 2 +-
gdb/tui/tui-source.c | 2 +-
gdb/tui/tui-source.h | 2 +-
gdb/tui/tui-stack.c | 2 +-
gdb/tui/tui-stack.h | 2 +-
gdb/tui/tui-win.c | 2 +-
gdb/tui/tui-win.h | 2 +-
gdb/tui/tui-windata.c | 2 +-
gdb/tui/tui-windata.h | 2 +-
gdb/tui/tui-wingeneral.c | 2 +-
gdb/tui/tui-wingeneral.h | 2 +-
gdb/tui/tui-winsource.c | 2 +-
gdb/tui/tui-winsource.h | 2 +-
gdb/tui/tui.c | 2 +-
gdb/tui/tui.h | 2 +-
gdb/typeprint.c | 2 +-
gdb/typeprint.h | 2 +-
gdb/ui-file.c | 2 +-
gdb/ui-file.h | 2 +-
gdb/ui-out.c | 2 +-
gdb/ui-out.h | 2 +-
gdb/unwind_stop_reasons.def | 2 +-
gdb/user-regs.c | 2 +-
gdb/user-regs.h | 2 +-
gdb/utils-selftests.c | 2 +-
gdb/utils.c | 2 +-
gdb/utils.h | 2 +-
gdb/v850-tdep.c | 2 +-
gdb/valarith.c | 2 +-
gdb/valops.c | 2 +-
gdb/valprint.c | 2 +-
gdb/valprint.h | 2 +-
gdb/value.c | 2 +-
gdb/value.h | 2 +-
gdb/varobj-iter.h | 2 +-
gdb/varobj.c | 2 +-
gdb/varobj.h | 2 +-
gdb/vax-bsd-nat.c | 2 +-
gdb/vax-nbsd-tdep.c | 2 +-
gdb/vax-tdep.c | 2 +-
gdb/vax-tdep.h | 2 +-
gdb/warning.m4 | 2 +-
gdb/windows-nat.c | 2 +-
gdb/windows-nat.h | 2 +-
gdb/windows-tdep.c | 2 +-
gdb/windows-tdep.h | 2 +-
gdb/x86-bsd-nat.c | 2 +-
gdb/x86-bsd-nat.h | 2 +-
gdb/x86-linux-nat.c | 2 +-
gdb/x86-linux-nat.h | 2 +-
gdb/x86-nat.c | 2 +-
gdb/x86-nat.h | 2 +-
gdb/xcoffread.c | 2 +-
gdb/xcoffread.h | 2 +-
gdb/xml-support.c | 2 +-
gdb/xml-support.h | 2 +-
gdb/xml-syscall.c | 2 +-
gdb/xml-syscall.h | 2 +-
gdb/xml-tdesc.c | 2 +-
gdb/xml-tdesc.h | 2 +-
gdb/xstormy16-tdep.c | 2 +-
gdb/xtensa-config.c | 2 +-
gdb/xtensa-linux-nat.c | 2 +-
gdb/xtensa-linux-tdep.c | 2 +-
gdb/xtensa-tdep.c | 2 +-
gdb/xtensa-tdep.h | 2 +-
gdb/xtensa-xtregs.c | 2 +-
gdb/yy-remap.h | 2 +-
gold/ChangeLog | 1636 +----
gold/ChangeLog-2016 | 1668 ++++
gold/Makefile.am | 2 +-
gold/Makefile.in | 6 +-
gold/NEWS | 2 +-
gold/README | 2 +-
gold/aarch64-reloc-property.cc | 2 +-
gold/aarch64-reloc-property.h | 2 +-
gold/aarch64-reloc.def | 2 +-
gold/aarch64.cc | 2 +-
gold/archive.cc | 2 +-
gold/archive.h | 2 +-
gold/arm-reloc-property.cc | 2 +-
gold/arm-reloc-property.h | 2 +-
gold/arm-reloc.def | 2 +-
gold/arm.cc | 2 +-
gold/attributes.cc | 2 +-
gold/attributes.h | 2 +-
gold/binary.cc | 2 +-
gold/binary.h | 2 +-
gold/common.cc | 2 +-
gold/common.h | 2 +-
gold/compressed_output.cc | 2 +-
gold/compressed_output.h | 2 +-
gold/configure.ac | 2 +-
gold/configure.tgt | 2 +-
gold/copy-relocs.cc | 46 +-
gold/copy-relocs.h | 11 +-
gold/cref.cc | 2 +-
gold/cref.h | 2 +-
gold/debug.h | 2 +-
gold/defstd.cc | 2 +-
gold/defstd.h | 2 +-
gold/descriptors.cc | 2 +-
gold/descriptors.h | 2 +-
gold/dirsearch.cc | 2 +-
gold/dirsearch.h | 2 +-
gold/dwarf_reader.cc | 2 +-
gold/dwarf_reader.h | 2 +-
gold/dwp.cc | 4 +-
gold/dwp.h | 2 +-
gold/dynobj.cc | 2 +-
gold/dynobj.h | 2 +-
gold/ehframe.cc | 2 +-
gold/ehframe.h | 2 +-
gold/errors.cc | 2 +-
gold/errors.h | 2 +-
gold/expression.cc | 2 +-
gold/ffsll.c | 2 +-
gold/fileread.cc | 2 +-
gold/fileread.h | 2 +-
gold/freebsd.h | 2 +-
gold/ftruncate.c | 2 +-
gold/gc.cc | 2 +-
gold/gc.h | 2 +-
gold/gdb-index.cc | 2 +-
gold/gdb-index.h | 2 +-
gold/gold-threads.cc | 2 +-
gold/gold-threads.h | 2 +-
gold/gold.cc | 2 +-
gold/gold.h | 2 +-
gold/i386.cc | 2 +-
gold/icf.cc | 2 +-
gold/icf.h | 2 +-
gold/incremental-dump.cc | 2 +-
gold/incremental.cc | 2 +-
gold/incremental.h | 2 +-
gold/int_encoding.cc | 2 +-
gold/int_encoding.h | 2 +-
gold/layout.cc | 2 +-
gold/layout.h | 2 +-
gold/main.cc | 2 +-
gold/mapfile.cc | 2 +-
gold/mapfile.h | 2 +-
gold/merge.cc | 2 +-
gold/merge.h | 2 +-
gold/mips.cc | 2 +-
gold/mremap.c | 2 +-
gold/nacl.cc | 2 +-
gold/nacl.h | 2 +-
gold/object.cc | 34 +-
gold/object.h | 2 +-
gold/options.cc | 2 +-
gold/options.h | 2 +-
gold/output.cc | 2 +-
gold/output.h | 2 +-
gold/parameters.cc | 2 +-
gold/parameters.h | 2 +-
gold/plugin.cc | 2 +-
gold/plugin.h | 2 +-
gold/po/Make-in | 2 +-
gold/powerpc.cc | 2 +-
gold/pread.c | 2 +-
gold/readsyms.cc | 2 +-
gold/readsyms.h | 2 +-
gold/reduced_debug_output.cc | 2 +-
gold/reduced_debug_output.h | 2 +-
gold/reloc-types.h | 2 +-
gold/reloc.cc | 2 +-
gold/reloc.h | 2 +-
gold/resolve.cc | 2 +-
gold/s390.cc | 2 +-
gold/script-c.h | 2 +-
gold/script-sections.cc | 2 +-
gold/script-sections.h | 2 +-
gold/script.cc | 2 +-
gold/script.h | 2 +-
gold/sparc.cc | 2 +-
gold/stringpool.cc | 2 +-
gold/stringpool.h | 2 +-
gold/symtab.cc | 2 +-
gold/symtab.h | 2 +-
gold/system.h | 2 +-
gold/target-reloc.h | 2 +-
gold/target-select.cc | 2 +-
gold/target-select.h | 2 +-
gold/target.cc | 2 +-
gold/target.h | 2 +-
gold/testsuite/Makefile.am | 10 +
gold/testsuite/Makefile.in | 33 +-
gold/testsuite/aarch64_reloc_none.sh | 2 +-
gold/testsuite/aarch64_relocs.sh | 2 +-
gold/testsuite/arm_abs_global.sh | 2 +-
gold/testsuite/arm_attr_merge.sh | 2 +-
gold/testsuite/arm_branch_in_range.sh | 2 +-
gold/testsuite/arm_branch_out_of_range.sh | 2 +-
gold/testsuite/arm_branch_range.t | 2 +-
gold/testsuite/arm_cortex_a8.sh | 2 +-
gold/testsuite/arm_exidx_test.sh | 2 +-
gold/testsuite/arm_farcall_arm_arm.sh | 2 +-
gold/testsuite/arm_farcall_arm_thumb.sh | 2 +-
gold/testsuite/arm_farcall_thumb_arm.sh | 2 +-
gold/testsuite/arm_farcall_thumb_thumb.sh | 2 +-
gold/testsuite/arm_fix_1176.sh | 2 +-
gold/testsuite/arm_fix_v4bx.sh | 2 +-
gold/testsuite/arm_target1_abs.sh | 2 +-
gold/testsuite/arm_target1_rel.sh | 2 +-
gold/testsuite/arm_target2_abs.sh | 2 +-
gold/testsuite/arm_target2_got_rel.sh | 2 +-
gold/testsuite/arm_target2_rel.sh | 2 +-
gold/testsuite/arm_thm_jump11.t | 2 +-
gold/testsuite/arm_thm_jump8.t | 2 +-
gold/testsuite/arm_unaligned_reloc.sh | 2 +-
gold/testsuite/basic_test.cc | 2 +-
gold/testsuite/binary_test.cc | 2 +-
gold/testsuite/binary_unittest.cc | 2 +-
gold/testsuite/bnd_ifunc_1.sh | 2 +-
gold/testsuite/bnd_ifunc_2.sh | 2 +-
gold/testsuite/bnd_plt_1.sh | 2 +-
gold/testsuite/common_test_1.c | 2 +-
gold/testsuite/common_test_1_v1.c | 2 +-
gold/testsuite/common_test_1_v2.c | 2 +-
gold/testsuite/common_test_2.c | 2 +-
gold/testsuite/common_test_3.c | 2 +-
gold/testsuite/constructor_test.cc | 2 +-
gold/testsuite/copy_test.cc | 2 +-
gold/testsuite/copy_test_1.cc | 2 +-
gold/testsuite/copy_test_2.cc | 2 +-
gold/testsuite/copy_test_protected.cc | 2 +-
gold/testsuite/copy_test_protected.sh | 2 +-
gold/testsuite/copy_test_relro.cc | 45 +
gold/testsuite/copy_test_relro_1.cc | 26 +
gold/testsuite/copy_test_v1.cc | 2 +-
gold/testsuite/debug_msg.cc | 2 +-
gold/testsuite/debug_msg.sh | 2 +-
gold/testsuite/defsym_test.sh | 2 +-
gold/testsuite/discard_locals_relocatable_test.c | 2 +-
gold/testsuite/discard_locals_test.c | 2 +-
gold/testsuite/discard_locals_test.sh | 2 +-
gold/testsuite/dwp_test.h | 2 +-
gold/testsuite/dwp_test_1.cc | 2 +-
gold/testsuite/dwp_test_1.sh | 2 +-
gold/testsuite/dwp_test_1b.cc | 2 +-
gold/testsuite/dwp_test_2.cc | 2 +-
gold/testsuite/dwp_test_2.sh | 2 +-
gold/testsuite/dwp_test_main.cc | 2 +-
gold/testsuite/dyn_weak_ref.sh | 2 +-
gold/testsuite/dyn_weak_ref_1.c | 2 +-
gold/testsuite/dyn_weak_ref_2.c | 2 +-
gold/testsuite/dynamic_list.sh | 2 +-
gold/testsuite/dynamic_list_2.cc | 2 +-
gold/testsuite/dynamic_list_2.t | 2 +-
gold/testsuite/dynamic_list_lib1.cc | 2 +-
gold/testsuite/dynamic_list_lib2.cc | 2 +-
gold/testsuite/eh_test_2.sh | 2 +-
gold/testsuite/ehdr_start_def.cc | 2 +-
gold/testsuite/ehdr_start_test.cc | 2 +-
gold/testsuite/ehdr_start_test.t | 2 +-
gold/testsuite/ehdr_start_test_4.sh | 2 +-
gold/testsuite/exception_test.h | 2 +-
gold/testsuite/exception_test_1.cc | 2 +-
gold/testsuite/exception_test_2.cc | 2 +-
gold/testsuite/exception_test_main.cc | 2 +-
gold/testsuite/exclude_libs_test.sh | 2 +-
gold/testsuite/file_in_many_sections.c | 2 +-
gold/testsuite/file_in_many_sections_test.sh | 2 +-
gold/testsuite/final_layout.cc | 2 +-
gold/testsuite/final_layout.sh | 2 +-
gold/testsuite/gc_comdat_test.sh | 2 +-
gold/testsuite/gc_comdat_test_1.cc | 2 +-
gold/testsuite/gc_comdat_test_2.cc | 2 +-
gold/testsuite/gc_dynamic_list_test.c | 2 +-
gold/testsuite/gc_dynamic_list_test.sh | 2 +-
gold/testsuite/gc_dynamic_list_test.t | 2 +-
gold/testsuite/gc_orphan_section_test.cc | 2 +-
gold/testsuite/gc_orphan_section_test.sh | 2 +-
gold/testsuite/gc_tls_test.cc | 2 +-
gold/testsuite/gc_tls_test.sh | 2 +-
gold/testsuite/gdb_index_test.cc | 2 +-
gold/testsuite/gdb_index_test_1.sh | 2 +-
gold/testsuite/gdb_index_test_2.sh | 2 +-
gold/testsuite/gdb_index_test_2_gabi.sh | 2 +-
gold/testsuite/gdb_index_test_3.c | 2 +-
gold/testsuite/gdb_index_test_3.sh | 2 +-
gold/testsuite/gdb_index_test_4.sh | 2 +-
gold/testsuite/gdb_index_test_comm.sh | 2 +-
gold/testsuite/hidden_test.sh | 2 +-
gold/testsuite/hidden_test_1.c | 2 +-
gold/testsuite/hidden_test_main.c | 2 +-
gold/testsuite/i386_mov_to_lea.sh | 2 +-
gold/testsuite/icf_keep_unique_test.cc | 2 +-
gold/testsuite/icf_keep_unique_test.sh | 2 +-
gold/testsuite/icf_preemptible_functions_test.cc | 2 +-
gold/testsuite/icf_preemptible_functions_test.sh | 2 +-
gold/testsuite/icf_safe_so_test.cc | 2 +-
gold/testsuite/icf_safe_so_test.sh | 2 +-
gold/testsuite/icf_safe_test.cc | 2 +-
gold/testsuite/icf_safe_test.sh | 2 +-
gold/testsuite/icf_sht_rel_addend_test.sh | 2 +-
gold/testsuite/icf_sht_rel_addend_test_1.cc | 2 +-
gold/testsuite/icf_sht_rel_addend_test_2.cc | 2 +-
gold/testsuite/icf_string_merge_test.cc | 2 +-
gold/testsuite/icf_string_merge_test.sh | 2 +-
gold/testsuite/icf_test.cc | 2 +-
gold/testsuite/icf_test.sh | 2 +-
.../testsuite/icf_virtual_function_folding_test.cc | 2 +-
gold/testsuite/ifuncmod1.sh | 2 +-
gold/testsuite/incr_comdat_test_1.cc | 2 +-
gold/testsuite/incr_comdat_test_2_v1.cc | 2 +-
gold/testsuite/incr_comdat_test_2_v2.cc | 2 +-
gold/testsuite/incr_comdat_test_2_v3.cc | 2 +-
gold/testsuite/incremental_test.sh | 2 +-
gold/testsuite/incremental_test_1.c | 2 +-
gold/testsuite/incremental_test_2.c | 2 +-
gold/testsuite/initpri1.c | 2 +-
gold/testsuite/initpri2.c | 2 +-
gold/testsuite/initpri3.c | 2 +-
gold/testsuite/justsyms.t | 2 +-
gold/testsuite/justsyms_1.cc | 2 +-
gold/testsuite/justsyms_2.cc | 2 +-
gold/testsuite/justsyms_exec.c | 2 +-
gold/testsuite/justsyms_lib.c | 2 +-
gold/testsuite/large.c | 2 +-
gold/testsuite/large_symbol_alignment.cc | 2 +-
gold/testsuite/leb128_unittest.cc | 2 +-
gold/testsuite/many_sections_test.cc | 2 +-
gold/testsuite/memory_test.sh | 2 +-
gold/testsuite/merge_string_literals.sh | 2 +-
gold/testsuite/merge_string_literals_1.cc | 2 +-
gold/testsuite/merge_string_literals_2.cc | 2 +-
gold/testsuite/missing_key_func.cc | 2 +-
gold/testsuite/missing_key_func.sh | 2 +-
gold/testsuite/no_version_test.c | 2 +-
gold/testsuite/no_version_test.sh | 2 +-
gold/testsuite/object_unittest.cc | 2 +-
gold/testsuite/overflow_unittest.cc | 2 +-
gold/testsuite/pie_copyrelocs_shared_test.cc | 2 +-
gold/testsuite/pie_copyrelocs_test.cc | 2 +-
gold/testsuite/plugin_common_test_1.c | 2 +-
gold/testsuite/plugin_common_test_2.c | 2 +-
gold/testsuite/plugin_final_layout.cc | 2 +-
gold/testsuite/plugin_final_layout.sh | 2 +-
gold/testsuite/plugin_layout_with_alignment.c | 2 +-
gold/testsuite/plugin_layout_with_alignment.sh | 2 +-
gold/testsuite/plugin_section_alignment.cc | 2 +-
gold/testsuite/plugin_section_order.c | 2 +-
gold/testsuite/plugin_test.c | 2 +-
gold/testsuite/plugin_test_1.sh | 2 +-
gold/testsuite/plugin_test_10.sh | 2 +-
gold/testsuite/plugin_test_11.sh | 2 +-
gold/testsuite/plugin_test_2.sh | 2 +-
gold/testsuite/plugin_test_3.sh | 2 +-
gold/testsuite/plugin_test_4.sh | 2 +-
gold/testsuite/plugin_test_6.sh | 2 +-
gold/testsuite/plugin_test_7.sh | 2 +-
gold/testsuite/plugin_test_7_1.c | 2 +-
gold/testsuite/plugin_test_7_2.c | 2 +-
gold/testsuite/plugin_test_9b_elf.cc | 2 +-
gold/testsuite/plugin_test_9b_ir.cc | 2 +-
gold/testsuite/plugin_test_start_lib.sh | 3 +-
gold/testsuite/plugin_test_tls.sh | 2 +-
gold/testsuite/pr12826.sh | 2 +-
gold/testsuite/pr14265.sh | 2 +-
gold/testsuite/pr18689.sh | 2 +-
gold/testsuite/pr20717.sh | 2 +-
gold/testsuite/pr20976.c | 2 +-
gold/testsuite/protected_1.cc | 2 +-
gold/testsuite/protected_2.cc | 2 +-
gold/testsuite/protected_3.cc | 2 +-
gold/testsuite/protected_4.cc | 2 +-
gold/testsuite/protected_main_1.cc | 2 +-
gold/testsuite/protected_main_2.cc | 2 +-
gold/testsuite/protected_main_3.cc | 2 +-
gold/testsuite/relro_script_test.t | 2 +-
gold/testsuite/relro_test.cc | 2 +-
gold/testsuite/relro_test.sh | 2 +-
gold/testsuite/relro_test_main.cc | 2 +-
gold/testsuite/retain_symbols_file_test.sh | 2 +-
gold/testsuite/script_test_1.h | 2 +-
gold/testsuite/script_test_1.t | 2 +-
gold/testsuite/script_test_10.sh | 2 +-
gold/testsuite/script_test_10.t | 2 +-
gold/testsuite/script_test_12.t | 2 +-
gold/testsuite/script_test_12a.c | 2 +-
gold/testsuite/script_test_12i.t | 2 +-
gold/testsuite/script_test_13.sh | 2 +-
gold/testsuite/script_test_14.sh | 2 +-
gold/testsuite/script_test_14.t | 2 +-
gold/testsuite/script_test_15a.sh | 2 +-
gold/testsuite/script_test_15a.t | 2 +-
gold/testsuite/script_test_15b.sh | 2 +-
gold/testsuite/script_test_15b.t | 2 +-
gold/testsuite/script_test_15c.sh | 2 +-
gold/testsuite/script_test_15c.t | 2 +-
gold/testsuite/script_test_1a.cc | 2 +-
gold/testsuite/script_test_1b.cc | 2 +-
gold/testsuite/script_test_2.cc | 2 +-
gold/testsuite/script_test_2.t | 2 +-
gold/testsuite/script_test_2a.cc | 2 +-
gold/testsuite/script_test_2b.cc | 2 +-
gold/testsuite/script_test_3.sh | 2 +-
gold/testsuite/script_test_3.t | 2 +-
gold/testsuite/script_test_4.sh | 2 +-
gold/testsuite/script_test_4.t | 2 +-
gold/testsuite/script_test_5.cc | 2 +-
gold/testsuite/script_test_5.sh | 2 +-
gold/testsuite/script_test_5.t | 2 +-
gold/testsuite/script_test_6.sh | 2 +-
gold/testsuite/script_test_6.t | 2 +-
gold/testsuite/script_test_7.sh | 2 +-
gold/testsuite/script_test_7.t | 2 +-
gold/testsuite/script_test_8.sh | 2 +-
gold/testsuite/script_test_9.cc | 2 +-
gold/testsuite/script_test_9.sh | 2 +-
gold/testsuite/searched_file_test.cc | 2 +-
gold/testsuite/searched_file_test_lib.cc | 2 +-
gold/testsuite/section_sorting_name.cc | 2 +-
gold/testsuite/section_sorting_name.sh | 2 +-
gold/testsuite/split_i386.sh | 2 +-
gold/testsuite/split_s390.sh | 2 +-
gold/testsuite/split_x32.sh | 2 +-
gold/testsuite/split_x86_64.sh | 2 +-
gold/testsuite/start_lib_test_1.c | 2 +-
gold/testsuite/start_lib_test_2.c | 2 +-
gold/testsuite/start_lib_test_3.c | 2 +-
gold/testsuite/start_lib_test_main.c | 2 +-
gold/testsuite/strong_ref_weak_def.sh | 2 +-
gold/testsuite/strong_ref_weak_def_1.c | 2 +-
gold/testsuite/strong_ref_weak_def_2.c | 2 +-
gold/testsuite/test.cc | 2 +-
gold/testsuite/test.h | 2 +-
gold/testsuite/testfile.cc | 2 +-
gold/testsuite/testfile.h | 2 +-
gold/testsuite/testmain.cc | 2 +-
gold/testsuite/text_section_grouping.cc | 2 +-
gold/testsuite/text_section_grouping.sh | 2 +-
gold/testsuite/thin_archive_main.cc | 2 +-
gold/testsuite/thin_archive_test_1.cc | 2 +-
gold/testsuite/thin_archive_test_2.cc | 2 +-
gold/testsuite/thin_archive_test_3.cc | 2 +-
gold/testsuite/thin_archive_test_4.cc | 2 +-
gold/testsuite/thumb2_branch_range.t | 2 +-
gold/testsuite/thumb_branch_range.t | 2 +-
gold/testsuite/tls_pie_test.sh | 2 +-
gold/testsuite/tls_test.cc | 2 +-
gold/testsuite/tls_test.h | 2 +-
gold/testsuite/tls_test_c.c | 2 +-
gold/testsuite/tls_test_file2.cc | 2 +-
gold/testsuite/tls_test_main.cc | 2 +-
gold/testsuite/two_file_shared.sh | 2 +-
gold/testsuite/two_file_test.h | 2 +-
gold/testsuite/two_file_test_1.cc | 2 +-
gold/testsuite/two_file_test_1_v1.cc | 2 +-
gold/testsuite/two_file_test_1b.cc | 2 +-
gold/testsuite/two_file_test_1b_v1.cc | 2 +-
gold/testsuite/two_file_test_2.cc | 2 +-
gold/testsuite/two_file_test_2_tls.cc | 2 +-
gold/testsuite/two_file_test_2_v1.cc | 2 +-
gold/testsuite/two_file_test_main.cc | 2 +-
gold/testsuite/two_file_test_tls.cc | 2 +-
gold/testsuite/undef_symbol.cc | 2 +-
gold/testsuite/undef_symbol.sh | 2 +-
gold/testsuite/undef_symbol_main.cc | 2 +-
gold/testsuite/ver_matching_def.cc | 2 +-
gold/testsuite/ver_matching_test.sh | 2 +-
gold/testsuite/ver_test.h | 2 +-
gold/testsuite/ver_test_1.cc | 2 +-
gold/testsuite/ver_test_1.sh | 2 +-
gold/testsuite/ver_test_10.script | 2 +-
gold/testsuite/ver_test_10.sh | 2 +-
gold/testsuite/ver_test_13.sh | 2 +-
gold/testsuite/ver_test_2.cc | 2 +-
gold/testsuite/ver_test_2.script | 2 +-
gold/testsuite/ver_test_2.sh | 2 +-
gold/testsuite/ver_test_3.cc | 2 +-
gold/testsuite/ver_test_4.cc | 2 +-
gold/testsuite/ver_test_4.script | 2 +-
gold/testsuite/ver_test_4.sh | 2 +-
gold/testsuite/ver_test_5.cc | 2 +-
gold/testsuite/ver_test_5.script | 2 +-
gold/testsuite/ver_test_5.sh | 2 +-
gold/testsuite/ver_test_6.c | 2 +-
gold/testsuite/ver_test_7.cc | 2 +-
gold/testsuite/ver_test_7.sh | 2 +-
gold/testsuite/ver_test_8.script | 2 +-
gold/testsuite/ver_test_8.sh | 2 +-
gold/testsuite/ver_test_9.cc | 2 +-
gold/testsuite/ver_test_main.cc | 2 +-
gold/testsuite/ver_test_main_2.cc | 2 +-
gold/testsuite/weak_alias_test_1.cc | 2 +-
gold/testsuite/weak_alias_test_2.cc | 2 +-
gold/testsuite/weak_alias_test_3.cc | 2 +-
gold/testsuite/weak_alias_test_4.cc | 2 +-
gold/testsuite/weak_alias_test_5.cc | 2 +-
gold/testsuite/weak_alias_test_main.cc | 2 +-
gold/testsuite/weak_plt.sh | 2 +-
gold/testsuite/weak_plt_main.cc | 2 +-
gold/testsuite/weak_plt_shared.cc | 2 +-
gold/testsuite/weak_test.cc | 2 +-
gold/testsuite/weak_undef.h | 2 +-
gold/testsuite/weak_undef_file1.cc | 2 +-
gold/testsuite/weak_undef_file2.cc | 2 +-
gold/testsuite/weak_undef_file3.cc | 2 +-
gold/testsuite/weak_undef_file4.cc | 2 +-
gold/testsuite/weak_undef_test.cc | 2 +-
gold/testsuite/weak_undef_test_2.cc | 2 +-
gold/testsuite/weak_unresolved_symbols_test.cc | 2 +-
gold/testsuite/x32_overflow_pc32.sh | 2 +-
gold/testsuite/x86_64_indirect_call_to_direct.sh | 2 +-
gold/testsuite/x86_64_mov_to_lea.sh | 2 +-
gold/testsuite/x86_64_overflow_pc32.sh | 2 +-
gold/tilegx.cc | 2 +-
gold/timer.cc | 2 +-
gold/timer.h | 2 +-
gold/tls.h | 2 +-
gold/token.h | 2 +-
gold/version.cc | 4 +-
gold/workqueue-internal.h | 2 +-
gold/workqueue-threads.cc | 2 +-
gold/workqueue.cc | 2 +-
gold/workqueue.h | 2 +-
gold/x86_64.cc | 2 +-
gold/yyscript.y | 2 +-
gprof/ChangeLog | 95 +-
gprof/{ChangeLog => ChangeLog-2016} | 0
gprof/MAINTAINERS | 2 +-
gprof/Makefile.am | 2 +-
gprof/Makefile.in | 2 +-
gprof/README | 2 +-
gprof/TODO | 2 +-
gprof/basic_blocks.c | 2 +-
gprof/basic_blocks.h | 2 +-
gprof/bb_exit_func.c | 2 +-
gprof/bbconv.pl | 2 +-
gprof/bsd_callg_bl.m | 2 +-
gprof/call_graph.c | 2 +-
gprof/call_graph.h | 2 +-
gprof/cg_arcs.h | 2 +-
gprof/cg_dfn.h | 2 +-
gprof/cg_print.c | 2 +-
gprof/cg_print.h | 2 +-
gprof/configure.ac | 2 +-
gprof/corefile.c | 2 +-
gprof/corefile.h | 2 +-
gprof/flat_bl.m | 2 +-
gprof/fsf_callg_bl.m | 2 +-
gprof/gmon_io.c | 2 +-
gprof/gmon_io.h | 2 +-
gprof/gmon_out.h | 2 +-
gprof/gprof.texi | 6 +-
gprof/hertz.h | 2 +-
gprof/hist.c | 2 +-
gprof/hist.h | 2 +-
gprof/po/Make-in | 2 +-
gprof/search_list.c | 2 +-
gprof/search_list.h | 2 +-
gprof/source.c | 2 +-
gprof/source.h | 2 +-
gprof/sym_ids.c | 2 +-
gprof/sym_ids.h | 2 +-
gprof/symtab.c | 2 +-
gprof/symtab.h | 2 +-
gprof/utils.h | 2 +-
include/ChangeLog | 822 +--
include/ChangeLog-2016 | 841 ++
include/MAINTAINERS | 2 +-
include/alloca-conf.h | 2 +-
include/ansidecl.h | 2 +-
include/aout/adobe.h | 2 +-
include/aout/aout64.h | 2 +-
include/aout/ar.h | 2 +-
include/aout/dynix3.h | 2 +-
include/aout/encap.h | 2 +-
include/aout/host.h | 2 +-
include/aout/hp.h | 2 +-
include/aout/hp300hpux.h | 2 +-
include/aout/hppa.h | 2 +-
include/aout/ranlib.h | 2 +-
include/aout/reloc.h | 2 +-
include/aout/stab.def | 2 +-
include/aout/stab_gnu.h | 2 +-
include/aout/sun4.h | 2 +-
include/bfdlink.h | 2 +-
include/binary-io.h | 2 +-
include/bout.h | 2 +-
include/cgen/basic-modes.h | 2 +-
include/cgen/basic-ops.h | 2 +-
include/cgen/bitset.h | 2 +-
include/coff/alpha.h | 2 +-
include/coff/apollo.h | 2 +-
include/coff/arm.h | 2 +-
include/coff/aux-coff.h | 2 +-
include/coff/ecoff.h | 2 +-
include/coff/external.h | 2 +-
include/coff/go32exe.h | 2 +-
include/coff/h8300.h | 2 +-
include/coff/h8500.h | 2 +-
include/coff/i386.h | 2 +-
include/coff/i860.h | 2 +-
include/coff/i960.h | 2 +-
include/coff/ia64.h | 2 +-
include/coff/internal.h | 2 +-
include/coff/m68k.h | 2 +-
include/coff/m88k.h | 2 +-
include/coff/mcore.h | 2 +-
include/coff/mips.h | 2 +-
include/coff/mipspe.h | 2 +-
include/coff/pe.h | 2 +-
include/coff/powerpc.h | 2 +-
include/coff/rs6000.h | 2 +-
include/coff/rs6k64.h | 2 +-
include/coff/sh.h | 2 +-
include/coff/sparc.h | 2 +-
include/coff/ti.h | 2 +-
include/coff/tic30.h | 2 +-
include/coff/tic4x.h | 2 +-
include/coff/tic54x.h | 2 +-
include/coff/tic80.h | 2 +-
include/coff/w65.h | 2 +-
include/coff/we32k.h | 2 +-
include/coff/x86_64.h | 2 +-
include/coff/xcoff.h | 2 +-
include/coff/z80.h | 2 +-
include/coff/z8k.h | 2 +-
include/demangle.h | 2 +-
include/dis-asm.h | 3 +-
include/dwarf2.def | 2 +-
include/dwarf2.h | 2 +-
include/dyn-string.h | 2 +-
include/elf/aarch64.h | 2 +-
include/elf/alpha.h | 2 +-
include/elf/arc-reloc.def | 2 +-
include/elf/arc.h | 2 +-
include/elf/arm.h | 2 +-
include/elf/avr.h | 2 +-
include/elf/bfin.h | 2 +-
include/elf/common.h | 4 +-
include/elf/cr16.h | 2 +-
include/elf/cr16c.h | 2 +-
include/elf/cris.h | 2 +-
include/elf/crx.h | 2 +-
include/elf/d10v.h | 2 +-
include/elf/d30v.h | 2 +-
include/elf/dlx.h | 2 +-
include/elf/dwarf.h | 2 +-
include/elf/epiphany.h | 2 +-
include/elf/external.h | 2 +-
include/elf/fr30.h | 2 +-
include/elf/frv.h | 2 +-
include/elf/ft32.h | 2 +-
include/elf/h8.h | 2 +-
include/elf/hppa.h | 2 +-
include/elf/i370.h | 2 +-
include/elf/i386.h | 2 +-
include/elf/i860.h | 2 +-
include/elf/i960.h | 2 +-
include/elf/ia64.h | 2 +-
include/elf/internal.h | 2 +-
include/elf/ip2k.h | 2 +-
include/elf/iq2000.h | 2 +-
include/elf/lm32.h | 2 +-
include/elf/m32c.h | 2 +-
include/elf/m32r.h | 2 +-
include/elf/m68hc11.h | 2 +-
include/elf/m68k.h | 2 +-
include/elf/mcore.h | 2 +-
include/elf/mep.h | 2 +-
include/elf/metag.h | 2 +-
include/elf/microblaze.h | 2 +-
include/elf/mips.h | 2 +-
include/elf/mmix.h | 2 +-
include/elf/mn10200.h | 2 +-
include/elf/mn10300.h | 2 +-
include/elf/moxie.h | 2 +-
include/elf/msp430.h | 2 +-
include/elf/mt.h | 2 +-
include/elf/nds32.h | 2 +-
include/elf/nios2.h | 2 +-
include/elf/or1k.h | 2 +-
include/elf/pj.h | 2 +-
include/elf/ppc.h | 2 +-
include/elf/ppc64.h | 2 +-
include/elf/pru.h | 55 +
include/elf/reloc-macros.h | 2 +-
include/elf/riscv.h | 2 +-
include/elf/rl78.h | 2 +-
include/elf/rx.h | 2 +-
include/elf/s390.h | 2 +-
include/elf/score.h | 2 +-
include/elf/sh.h | 2 +-
include/elf/sparc.h | 2 +-
include/elf/spu.h | 2 +-
include/elf/tic6x-attrs.h | 2 +-
include/elf/tic6x.h | 2 +-
include/elf/tilegx.h | 2 +-
include/elf/tilepro.h | 2 +-
include/elf/v850.h | 2 +-
include/elf/vax.h | 2 +-
include/elf/visium.h | 2 +-
include/elf/vxworks.h | 2 +-
include/elf/x86-64.h | 2 +-
include/elf/xc16x.h | 2 +-
include/elf/xgate.h | 2 +-
include/elf/xstormy16.h | 2 +-
include/elf/xtensa.h | 2 +-
include/environ.h | 2 +-
include/fibheap.h | 2 +-
include/filenames.h | 2 +-
include/floatformat.h | 2 +-
include/fnmatch.h | 2 +-
include/fopen-bin.h | 2 +-
include/fopen-same.h | 2 +-
include/fopen-vms.h | 2 +-
include/gcc-c-fe.def | 2 +-
include/gcc-c-interface.h | 2 +-
include/gcc-interface.h | 2 +-
include/gdb/ChangeLog | 2 +-
include/gdb/callback.h | 2 +-
include/gdb/fileio.h | 2 +-
include/gdb/gdb-index.h | 2 +-
include/gdb/remote-sim.h | 2 +-
include/gdb/section-scripts.h | 2 +-
include/gdb/signals.def | 2 +-
include/gdb/signals.h | 2 +-
include/gdb/sim-aarch64.h | 2 +-
include/gdb/sim-arm.h | 2 +-
include/gdb/sim-bfin.h | 2 +-
include/gdb/sim-cr16.h | 2 +-
include/gdb/sim-d10v.h | 2 +-
include/gdb/sim-frv.h | 2 +-
include/gdb/sim-ft32.h | 2 +-
include/gdb/sim-h8300.h | 2 +-
include/gdb/sim-lm32.h | 2 +-
include/gdb/sim-m32c.h | 2 +-
include/gdb/sim-ppc.h | 2 +-
include/gdb/sim-rl78.h | 2 +-
include/gdb/sim-rx.h | 2 +-
include/gdb/sim-sh.h | 2 +-
include/getopt.h | 2 +-
include/hashtab.h | 2 +-
include/hp-symtab.h | 2 +-
include/ieee.h | 2 +-
include/leb128.h | 2 +-
include/libiberty.h | 2 +-
include/longlong.h | 2 +-
include/lto-symtab.h | 2 +-
include/mach-o/arm.h | 2 +-
include/mach-o/arm64.h | 2 +-
include/mach-o/codesign.h | 2 +-
include/mach-o/external.h | 2 +-
include/mach-o/loader.h | 2 +-
include/mach-o/reloc.h | 2 +-
include/mach-o/unwind.h | 2 +-
include/mach-o/x86-64.h | 2 +-
include/md5.h | 2 +-
include/nlm/alpha-ext.h | 2 +-
include/nlm/common.h | 2 +-
include/nlm/external.h | 2 +-
include/nlm/i386-ext.h | 2 +-
include/nlm/internal.h | 2 +-
include/nlm/ppc-ext.h | 2 +-
include/nlm/sparc32-ext.h | 2 +-
include/oasys.h | 2 +-
include/objalloc.h | 2 +-
include/obstack.h | 2 +-
include/opcode/aarch64.h | 2 +-
include/opcode/alpha.h | 2 +-
include/opcode/arc-func.h | 2 +-
include/opcode/arc.h | 2 +-
include/opcode/arm.h | 2 +-
include/opcode/avr.h | 2 +-
include/opcode/bfin.h | 2 +-
include/opcode/cgen.h | 2 +-
include/opcode/convex.h | 2 +-
include/opcode/cr16.h | 2 +-
include/opcode/cris.h | 2 +-
include/opcode/crx.h | 2 +-
include/opcode/d10v.h | 2 +-
include/opcode/d30v.h | 2 +-
include/opcode/dlx.h | 2 +-
include/opcode/ft32.h | 2 +-
include/opcode/h8300.h | 2 +-
include/opcode/hppa.h | 2 +-
include/opcode/i370.h | 2 +-
include/opcode/i386.h | 2 +-
include/opcode/i860.h | 2 +-
include/opcode/i960.h | 2 +-
include/opcode/ia64.h | 2 +-
include/opcode/m68hc11.h | 2 +-
include/opcode/m68k.h | 2 +-
include/opcode/m88k.h | 2 +-
include/opcode/metag.h | 2 +-
include/opcode/mips.h | 2 +-
include/opcode/mmix.h | 2 +-
include/opcode/mn10200.h | 2 +-
include/opcode/mn10300.h | 2 +-
include/opcode/moxie.h | 2 +-
include/opcode/msp430-decode.h | 2 +-
include/opcode/msp430.h | 2 +-
include/opcode/nds32.h | 2 +-
include/opcode/nios2.h | 2 +-
include/opcode/nios2r1.h | 2 +-
include/opcode/nios2r2.h | 2 +-
include/opcode/np1.h | 2 +-
include/opcode/ns32k.h | 2 +-
include/opcode/pdp11.h | 2 +-
include/opcode/pj.h | 2 +-
include/opcode/pn.h | 2 +-
include/opcode/ppc.h | 2 +-
include/opcode/pru.h | 411 +
include/opcode/pyr.h | 2 +-
include/opcode/riscv.h | 2 +-
include/opcode/rl78.h | 2 +-
include/opcode/rx.h | 2 +-
include/opcode/s390.h | 2 +-
include/opcode/score-datadep.h | 2 +-
include/opcode/score-inst.h | 2 +-
include/opcode/sparc.h | 2 +-
include/opcode/spu-insns.h | 2 +-
include/opcode/spu.h | 2 +-
include/opcode/tahoe.h | 2 +-
include/opcode/tic30.h | 2 +-
include/opcode/tic4x.h | 2 +-
include/opcode/tic54x.h | 2 +-
include/opcode/tic6x-control-registers.h | 2 +-
include/opcode/tic6x-insn-formats.h | 2 +-
include/opcode/tic6x-opcode-table.h | 2 +-
include/opcode/tic6x.h | 2 +-
include/opcode/tic80.h | 2 +-
include/opcode/tilegx.h | 2 +-
include/opcode/tilepro.h | 2 +-
include/opcode/v850.h | 2 +-
include/opcode/vax.h | 2 +-
include/opcode/visium.h | 2 +-
include/opcode/xgate.h | 2 +-
include/os9k.h | 2 +-
include/partition.h | 2 +-
include/plugin-api.h | 2 +-
include/progress.h | 2 +-
include/safe-ctype.h | 2 +-
include/sha1.h | 2 +-
include/simple-object.h | 2 +-
include/som/aout.h | 2 +-
include/som/clock.h | 2 +-
include/som/internal.h | 2 +-
include/som/lst.h | 2 +-
include/som/reloc.h | 2 +-
include/sort.h | 2 +-
include/splay-tree.h | 2 +-
include/symcat.h | 2 +-
include/timeval-utils.h | 2 +-
include/vms/dcx.h | 2 +-
include/vms/dmt.h | 2 +-
include/vms/dsc.h | 2 +-
include/vms/dst.h | 2 +-
include/vms/eeom.h | 2 +-
include/vms/egps.h | 2 +-
include/vms/egsd.h | 2 +-
include/vms/egst.h | 2 +-
include/vms/egsy.h | 2 +-
include/vms/eiaf.h | 2 +-
include/vms/eicp.h | 2 +-
include/vms/eidc.h | 2 +-
include/vms/eiha.h | 2 +-
include/vms/eihd.h | 2 +-
include/vms/eihi.h | 2 +-
include/vms/eihs.h | 2 +-
include/vms/eihvn.h | 2 +-
include/vms/eisd.h | 2 +-
include/vms/emh.h | 2 +-
include/vms/eobjrec.h | 2 +-
include/vms/esdf.h | 2 +-
include/vms/esdfm.h | 2 +-
include/vms/esdfv.h | 2 +-
include/vms/esgps.h | 2 +-
include/vms/esrf.h | 2 +-
include/vms/etir.h | 2 +-
include/vms/internal.h | 2 +-
include/vms/lbr.h | 2 +-
include/vms/prt.h | 2 +-
include/vms/shl.h | 2 +-
include/vtv-change-permission.h | 2 +-
include/xregex2.h | 2 +-
include/xtensa-config.h | 2 +-
include/xtensa-isa-internal.h | 2 +-
include/xtensa-isa.h | 2 +-
ld/ChangeLog | 4143 +--------
ld/ChangeLog-2016 | 4124 ++++++++
ld/MAINTAINERS | 2 +-
ld/Makefile.am | 69 +-
ld/Makefile.in | 69 +-
ld/NEWS | 4 +-
ld/README | 2 +-
ld/configure | 12 +-
ld/configure.ac | 6 +-
ld/configure.host | 233 +-
ld/configure.tgt | 3 +-
ld/deffile.h | 2 +-
ld/deffilep.y | 2 +-
ld/emulparams/README | 2 +-
ld/emulparams/elf32metag.sh | 1 +
ld/emulparams/hppalinux.sh | 13 +-
ld/emulparams/pruelf.sh | 19 +
ld/emultempl/README | 2 +-
ld/emultempl/aarch64elf.em | 2 +-
ld/emultempl/aix.em | 2 +-
ld/emultempl/alphaelf.em | 2 +-
ld/emultempl/arclinux.em | 2 +-
ld/emultempl/armcoff.em | 2 +-
ld/emultempl/armelf.em | 2 +-
ld/emultempl/avrelf.em | 2 +-
ld/emultempl/beos.em | 2 +-
ld/emultempl/bfin.em | 2 +-
ld/emultempl/cr16elf.em | 2 +-
ld/emultempl/crxelf.em | 2 +-
ld/emultempl/elf-generic.em | 2 +-
ld/emultempl/elf32.em | 2 +-
ld/emultempl/epiphanyelf_4x4.em | 2 +-
ld/emultempl/genelf.em | 2 +-
ld/emultempl/generic.em | 2 +-
ld/emultempl/gld960.em | 2 +-
ld/emultempl/gld960c.em | 2 +-
ld/emultempl/hppaelf.em | 2 +-
ld/emultempl/ia64elf.em | 2 +-
ld/emultempl/irix.em | 2 +-
ld/emultempl/linux.em | 2 +-
ld/emultempl/lnk960.em | 2 +-
ld/emultempl/m68hc1xelf.em | 2 +-
ld/emultempl/m68kcoff.em | 2 +-
ld/emultempl/m68kelf.em | 2 +-
ld/emultempl/metagelf.em | 2 +-
ld/emultempl/mipself.em | 2 +-
ld/emultempl/mmix-elfnmmo.em | 2 +-
ld/emultempl/mmixelf.em | 2 +-
ld/emultempl/mmo.em | 2 +-
ld/emultempl/msp430.em | 2 +-
ld/emultempl/nds32elf.em | 2 +-
ld/emultempl/needrelax.em | 2 +-
ld/emultempl/netbsd.em | 2 +-
ld/emultempl/nios2elf.em | 2 +-
ld/emultempl/pe.em | 2 +-
ld/emultempl/pep.em | 2 +-
ld/emultempl/ppc32elf.em | 2 +-
ld/emultempl/ppc64elf.em | 2 +-
ld/emultempl/pruelf.em | 50 +
ld/emultempl/riscvelf.em | 2 +-
ld/emultempl/rxelf.em | 2 +-
ld/emultempl/scoreelf.em | 2 +-
ld/emultempl/sh64elf.em | 2 +-
ld/emultempl/solaris2.em | 2 +-
ld/emultempl/spu_ovl.S | 2 +-
ld/emultempl/spuelf.em | 2 +-
ld/emultempl/sunos.em | 2 +-
ld/emultempl/tic6xdsbt.em | 2 +-
ld/emultempl/ticoff.em | 2 +-
ld/emultempl/v850elf.em | 2 +-
ld/emultempl/vanilla.em | 2 +-
ld/emultempl/vms.em | 2 +-
ld/emultempl/vxworks.em | 2 +-
ld/emultempl/xtensaelf.em | 2 +-
ld/emultempl/z80.em | 2 +-
ld/gen-doc.texi | 2 +-
ld/genscripts.sh | 2 +-
ld/h8-doc.texi | 2 +-
ld/ld.h | 2 +-
ld/ld.texinfo | 6 +-
ld/ldbuildid.c | 2 +-
ld/ldbuildid.h | 2 +-
ld/ldcref.c | 2 +-
ld/ldctor.c | 2 +-
ld/ldctor.h | 2 +-
ld/ldemul.c | 2 +-
ld/ldemul.h | 2 +-
ld/ldexp.c | 2 +-
ld/ldexp.h | 2 +-
ld/ldfile.c | 2 +-
ld/ldfile.h | 2 +-
ld/ldgram.y | 2 +-
ld/ldint.texinfo | 6 +-
ld/ldlang.c | 2 +-
ld/ldlang.h | 2 +-
ld/ldlex-wrapper.c | 2 +-
ld/ldlex.h | 2 +-
ld/ldlex.l | 2 +-
ld/ldmain.c | 2 +-
ld/ldmain.h | 2 +-
ld/ldmisc.c | 2 +-
ld/ldmisc.h | 2 +-
ld/ldver.c | 4 +-
ld/ldver.h | 2 +-
ld/ldwrite.c | 2 +-
ld/ldwrite.h | 2 +-
ld/lexsup.c | 2 +-
ld/mri.c | 2 +-
ld/mri.h | 2 +-
ld/pe-dll.c | 2 +-
ld/pe-dll.h | 2 +-
ld/pep-dll.c | 2 +-
ld/pep-dll.h | 2 +-
ld/plugin.c | 2 +-
ld/plugin.h | 2 +-
ld/po/Make-in | 2 +-
ld/scripttempl/DWARF.sc | 2 +-
ld/scripttempl/README | 2 +-
ld/scripttempl/aix.sc | 4 +-
ld/scripttempl/alpha.sc | 4 +-
ld/scripttempl/alphavms.sc | 4 +-
ld/scripttempl/aout.sc | 4 +-
ld/scripttempl/arclinux.sc | 4 +-
ld/scripttempl/armaout.sc | 4 +-
ld/scripttempl/armbpabi.sc | 4 +-
ld/scripttempl/armcoff.sc | 4 +-
ld/scripttempl/avr.sc | 4 +-
ld/scripttempl/avrtiny.sc | 4 +-
ld/scripttempl/crisaout.sc | 4 +-
ld/scripttempl/delta68.sc | 4 +-
ld/scripttempl/dlx.sc | 4 +-
ld/scripttempl/elf.sc | 32 +-
ld/scripttempl/elf32cr16.sc | 4 +-
ld/scripttempl/elf32cr16c.sc | 4 +-
ld/scripttempl/elf32crx.sc | 4 +-
ld/scripttempl/elf32msp430.sc | 4 +-
ld/scripttempl/elf32msp430_3.sc | 4 +-
ld/scripttempl/elf32sh-symbian.sc | 4 +-
ld/scripttempl/elf32xc16x.sc | 4 +-
ld/scripttempl/elf32xc16xl.sc | 4 +-
ld/scripttempl/elf32xc16xs.sc | 4 +-
ld/scripttempl/elf64hppa.sc | 4 +-
ld/scripttempl/elf_chaos.sc | 4 +-
ld/scripttempl/elfd10v.sc | 4 +-
ld/scripttempl/elfd30v.sc | 4 +-
ld/scripttempl/elfi370.sc | 4 +-
ld/scripttempl/elfm68hc11.sc | 4 +-
ld/scripttempl/elfm68hc12.sc | 4 +-
ld/scripttempl/elfmicroblaze.sc | 4 +-
ld/scripttempl/elfxgate.sc | 4 +-
ld/scripttempl/elfxtensa.sc | 4 +-
ld/scripttempl/epiphany_4x4.sc | 4 +-
ld/scripttempl/epocpe.sc | 4 +-
ld/scripttempl/h8300.sc | 4 +-
ld/scripttempl/h8300h.sc | 4 +-
ld/scripttempl/h8300hn.sc | 4 +-
ld/scripttempl/h8300s.sc | 4 +-
ld/scripttempl/h8300sn.sc | 4 +-
ld/scripttempl/h8300sx.sc | 4 +-
ld/scripttempl/h8300sxn.sc | 4 +-
ld/scripttempl/h8500.sc | 4 +-
ld/scripttempl/h8500b.sc | 4 +-
ld/scripttempl/h8500c.sc | 4 +-
ld/scripttempl/h8500m.sc | 4 +-
ld/scripttempl/h8500s.sc | 4 +-
ld/scripttempl/hppaelf.sc | 4 +-
ld/scripttempl/i386beos.sc | 4 +-
ld/scripttempl/i386coff.sc | 4 +-
ld/scripttempl/i386go32.sc | 4 +-
ld/scripttempl/i386msdos.sc | 4 +-
ld/scripttempl/i860coff.sc | 4 +-
ld/scripttempl/i960.sc | 4 +-
ld/scripttempl/ia64vms.sc | 4 +-
ld/scripttempl/ip2k.sc | 4 +-
ld/scripttempl/iq2000.sc | 4 +-
ld/scripttempl/m68kaux.sc | 4 +-
ld/scripttempl/m68kcoff.sc | 4 +-
ld/scripttempl/m88kbcs.sc | 4 +-
ld/scripttempl/mcorepe.sc | 4 +-
ld/scripttempl/mep.sc | 4 +-
ld/scripttempl/mips.sc | 4 +-
ld/scripttempl/mipsbsd.sc | 4 +-
ld/scripttempl/mmo.sc | 4 +-
ld/scripttempl/moxie.sc | 4 +-
ld/scripttempl/nds32elf.sc | 4 +-
ld/scripttempl/nw.sc | 4 +-
ld/scripttempl/pe.sc | 4 +-
ld/scripttempl/pep.sc | 4 +-
ld/scripttempl/pj.sc | 4 +-
ld/scripttempl/ppcpe.sc | 4 +-
ld/scripttempl/pru.sc | 179 +
ld/scripttempl/psos.sc | 4 +-
ld/scripttempl/riscix.sc | 4 +-
ld/scripttempl/sh.sc | 4 +-
ld/scripttempl/sparccoff.sc | 4 +-
ld/scripttempl/st2000.sc | 4 +-
ld/scripttempl/tic30aout.sc | 4 +-
ld/scripttempl/tic30coff.sc | 4 +-
ld/scripttempl/tic4xcoff.sc | 4 +-
ld/scripttempl/tic54xcoff.sc | 4 +-
ld/scripttempl/tic80coff.sc | 4 +-
ld/scripttempl/v850.sc | 4 +-
ld/scripttempl/v850_rh850.sc | 4 +-
ld/scripttempl/vanilla.sc | 2 +-
ld/scripttempl/visium.sc | 2 +-
ld/scripttempl/w65.sc | 4 +-
ld/scripttempl/xstormy16.sc | 4 +-
ld/scripttempl/z80.sc | 4 +-
ld/scripttempl/z8000.sc | 4 +-
ld/sysdep.h | 2 +-
ld/testplug.c | 2 +-
ld/testplug2.c | 2 +-
ld/testplug3.c | 2 +-
ld/testplug4.c | 2 +-
ld/testsuite/config/default.exp | 37 +-
ld/testsuite/ld-aarch64/aarch64-elf.exp | 2 +-
ld/testsuite/ld-alpha/alpha.exp | 2 +-
ld/testsuite/ld-arc/arc.exp | 2 +-
ld/testsuite/ld-arm/arm-elf.exp | 2 +-
ld/testsuite/ld-arm/export-class.exp | 2 +-
ld/testsuite/ld-arm/farcall-mixed-app-v5.d | 16 +-
ld/testsuite/ld-arm/farcall-mixed-app.d | 16 +-
ld/testsuite/ld-arm/farcall-mixed-lib-v4t.d | 16 +-
ld/testsuite/ld-arm/farcall-mixed-lib.d | 16 +-
ld/testsuite/ld-auto-import/auto-import.exp | 2 +-
ld/testsuite/ld-avr/avr.exp | 2 +-
ld/testsuite/ld-bootstrap/bootstrap.exp | 62 +-
ld/testsuite/ld-cdtest/cdtest.exp | 6 +-
ld/testsuite/ld-checks/checks.exp | 6 +-
ld/testsuite/ld-cris/cris.exp | 2 +-
ld/testsuite/ld-crx/crx.exp | 2 +-
ld/testsuite/ld-cygwin/exe-export.exp | 4 +-
ld/testsuite/ld-d10v/d10v.exp | 2 +-
ld/testsuite/ld-discard/discard.exp | 2 +-
ld/testsuite/ld-elf/audit.exp | 7 +-
ld/testsuite/ld-elf/binutils.exp | 4 +-
ld/testsuite/ld-elf/comm-data.exp | 2 +-
ld/testsuite/ld-elf/compress.exp | 19 +-
ld/testsuite/ld-elf/compress1.s | 2 +-
ld/testsuite/ld-elf/dwarf.exp | 11 +-
ld/testsuite/ld-elf/eh-frame-hdr.d | 2 +-
ld/testsuite/ld-elf/eh-group.exp | 4 +-
ld/testsuite/ld-elf/elf.exp | 72 +-
ld/testsuite/ld-elf/endsym.d | 1 +
ld/testsuite/ld-elf/exclude.exp | 16 +-
ld/testsuite/ld-elf/export-class.exp | 2 +-
ld/testsuite/ld-elf/frame.exp | 6 +-
ld/testsuite/ld-elf/group8a.d | 2 +-
ld/testsuite/ld-elf/group8b.d | 2 +-
ld/testsuite/ld-elf/group9a.d | 2 +-
ld/testsuite/ld-elf/group9b.d | 2 +-
ld/testsuite/ld-elf/indirect.exp | 39 +-
ld/testsuite/ld-elf/merge.d | 2 +-
ld/testsuite/ld-elf/pr12851.d | 2 +-
ld/testsuite/ld-elf/pr14926.d | 2 +-
ld/testsuite/ld-elf/pr20995-2so.r | 3 +
ld/testsuite/ld-elf/pr20995.r | 5 +
ld/testsuite/ld-elf/pr20995a.s | 11 +
ld/testsuite/ld-elf/pr20995b.s | 13 +
ld/testsuite/ld-elf/pr20995c.s | 13 +
ld/testsuite/ld-elf/provide-hidden.exp | 2 +-
ld/testsuite/ld-elf/sec-to-seg.exp | 5 +-
ld/testsuite/ld-elf/sec64k.exp | 5 +-
ld/testsuite/ld-elf/shared.exp | 327 +-
ld/testsuite/ld-elf/tls_common.exp | 10 +-
ld/testsuite/ld-elf/wrap.exp | 11 +-
ld/testsuite/ld-elfcomm/elfcomm.exp | 12 +-
ld/testsuite/ld-elfvers/vers.exp | 14 +-
ld/testsuite/ld-elfvsb/elfvsb.exp | 29 +-
ld/testsuite/ld-elfweak/elfweak.exp | 24 +-
ld/testsuite/ld-fastcall/fastcall.exp | 4 +-
ld/testsuite/ld-frv/fdpic.exp | 2 +-
ld/testsuite/ld-frv/frv-elf.exp | 2 +-
ld/testsuite/ld-frv/tls.exp | 2 +-
ld/testsuite/ld-gc/gc.exp | 10 +-
ld/testsuite/ld-h8300/h8300.exp | 2 +-
ld/testsuite/ld-i386/export-class.exp | 2 +-
ld/testsuite/ld-i386/i386.exp | 2 +-
ld/testsuite/ld-i386/no-plt.exp | 2 +-
ld/testsuite/ld-i386/tls.exp | 2 +-
ld/testsuite/ld-ia64/ia64.exp | 2 +-
ld/testsuite/ld-ia64/line.exp | 2 +-
ld/testsuite/ld-ifunc/binutils.exp | 4 +-
ld/testsuite/ld-ifunc/ifunc.exp | 65 +-
ld/testsuite/ld-libs/libs.exp | 2 +-
ld/testsuite/ld-linkonce/linkonce.exp | 2 +-
ld/testsuite/ld-m68hc11/m68hc11.exp | 2 +-
ld/testsuite/ld-m68k/m68k-got.exp | 2 +-
ld/testsuite/ld-m68k/m68k.exp | 2 +-
ld/testsuite/ld-mep/mep.exp | 4 +-
ld/testsuite/ld-metag/metag.exp | 2 +-
ld/testsuite/ld-mips-elf/comm-data.exp | 2 +-
ld/testsuite/ld-mips-elf/export-class.exp | 2 +-
ld/testsuite/ld-mips-elf/mips-elf-flags.exp | 6 +-
ld/testsuite/ld-mips-elf/mips-elf.exp | 2 +-
ld/testsuite/ld-misc/defsym.exp | 2 +-
ld/testsuite/ld-mmix/mmix.exp | 2 +-
ld/testsuite/ld-mn10300/mn10300.exp | 6 +-
ld/testsuite/ld-nds32/nds32.exp | 2 +-
ld/testsuite/ld-nios2/nios2.exp | 2 +-
ld/testsuite/ld-pe/pe-compile.exp | 6 +-
ld/testsuite/ld-pe/pe-run.exp | 14 +-
ld/testsuite/ld-pe/pe-run2.exp | 14 +-
ld/testsuite/ld-pe/pe.exp | 2 +-
ld/testsuite/ld-pie/pie.exp | 11 +-
ld/testsuite/ld-plugin/lto.exp | 7 +-
ld/testsuite/ld-plugin/plugin.exp | 4 +-
ld/testsuite/ld-powerpc/aix52.exp | 2 +-
ld/testsuite/ld-powerpc/export-class.exp | 2 +-
ld/testsuite/ld-powerpc/powerpc.exp | 2 +-
ld/testsuite/ld-pru/emit-relocs-1.d | 37 +
ld/testsuite/ld-pru/emit-relocs-1.ld | 20 +
ld/testsuite/ld-pru/emit-relocs-1a.s | 24 +
ld/testsuite/ld-pru/emit-relocs-1b.s | 18 +
ld/testsuite/ld-pru/ldi32.d | 12 +
ld/testsuite/ld-pru/ldi32.s | 6 +
ld/testsuite/ld-pru/ldi32_symbol.s | 2 +
ld/testsuite/ld-pru/norelax_ldi32-data.d | 20 +
ld/testsuite/ld-pru/norelax_ldi32-dis.d | 29 +
ld/testsuite/ld-pru/pcrel_s10.d | 18 +
ld/testsuite/ld-pru/pcrel_s10.s | 7 +
ld/testsuite/ld-pru/pcrel_s10_label.s | 9 +
ld/testsuite/ld-pru/pcrel_u8-illegal.d | 7 +
ld/testsuite/ld-pru/pcrel_u8-illegal.s | 9 +
ld/testsuite/ld-pru/pcrel_u8-illegal2.d | 7 +
ld/testsuite/ld-pru/pcrel_u8-illegal2.s | 7 +
ld/testsuite/ld-pru/pcrel_u8-illegal3.d | 7 +
ld/testsuite/ld-pru/pcrel_u8-illegal3.s | 7 +
ld/testsuite/ld-pru/pcrel_u8.d | 15 +
ld/testsuite/ld-pru/pcrel_u8.s | 9 +
ld/testsuite/ld-pru/pcrel_u8_label.s | 4 +
ld/testsuite/ld-pru/pmem.d | 15 +
ld/testsuite/ld-pru/pmem.s | 15 +
ld/testsuite/ld-pru/pmem_symbol.s | 13 +
ld/testsuite/ld-pru/pru.exp | 8 +
ld/testsuite/ld-pru/relax_ldi32-data.d | 19 +
ld/testsuite/ld-pru/relax_ldi32-dis.d | 27 +
ld/testsuite/ld-pru/relax_ldi32.s | 30 +
ld/testsuite/ld-pru/relax_ldi32_symbol.s | 5 +
ld/testsuite/ld-pru/reloc.d | 14 +
ld/testsuite/ld-pru/reloc.s | 9 +
ld/testsuite/ld-pru/reloc_symbol.s | 24 +
ld/testsuite/ld-pru/u16.d | 11 +
ld/testsuite/ld-pru/u16.s | 4 +
ld/testsuite/ld-pru/u16_symbol.s | 2 +
ld/testsuite/ld-s390/s390.exp | 2 +-
ld/testsuite/ld-scripts/align.exp | 4 +-
ld/testsuite/ld-scripts/alignof.exp | 4 +-
ld/testsuite/ld-scripts/assert.exp | 4 +-
ld/testsuite/ld-scripts/crossref.exp | 2 +-
ld/testsuite/ld-scripts/data.exp | 2 +-
ld/testsuite/ld-scripts/default-script.exp | 2 +-
ld/testsuite/ld-scripts/defined.exp | 4 +-
ld/testsuite/ld-scripts/dynamic-sections.exp | 2 +-
ld/testsuite/ld-scripts/empty-address.exp | 2 +-
ld/testsuite/ld-scripts/empty-aligned.exp | 2 +-
ld/testsuite/ld-scripts/empty-orphan.exp | 2 +-
ld/testsuite/ld-scripts/exclude-file.exp | 2 +-
ld/testsuite/ld-scripts/expr.exp | 2 +-
ld/testsuite/ld-scripts/extern.exp | 4 +-
ld/testsuite/ld-scripts/include.exp | 2 +-
ld/testsuite/ld-scripts/log2.exp | 4 +-
ld/testsuite/ld-scripts/map-address.exp | 4 +-
ld/testsuite/ld-scripts/overlay-size.exp | 2 +-
ld/testsuite/ld-scripts/phdrs.exp | 4 +-
ld/testsuite/ld-scripts/phdrs2.exp | 4 +-
ld/testsuite/ld-scripts/phdrs3.exp | 2 +-
ld/testsuite/ld-scripts/print-memory-usage.exp | 2 +-
ld/testsuite/ld-scripts/provide.exp | 2 +-
ld/testsuite/ld-scripts/rgn-at.exp | 2 +-
ld/testsuite/ld-scripts/rgn-over.exp | 2 +-
ld/testsuite/ld-scripts/script.exp | 10 +-
ld/testsuite/ld-scripts/section-flags.exp | 4 +-
ld/testsuite/ld-scripts/section-match.exp | 2 +-
ld/testsuite/ld-scripts/size.exp | 2 +-
ld/testsuite/ld-scripts/sizeof.exp | 4 +-
ld/testsuite/ld-scripts/sort.exp | 2 +-
ld/testsuite/ld-scripts/sysroot-prefix.exp | 4 +-
ld/testsuite/ld-scripts/weak.exp | 4 +-
ld/testsuite/ld-selective/sel-dump.exp | 2 +-
ld/testsuite/ld-selective/selective.exp | 4 +-
ld/testsuite/ld-sh/arch/arch.exp | 2 +-
ld/testsuite/ld-sh/rd-sh.exp | 2 +-
ld/testsuite/ld-sh/sh-vxworks.exp | 2 +-
ld/testsuite/ld-sh/sh.exp | 10 +-
ld/testsuite/ld-sh/sh64/rd-sh64.exp | 2 +-
ld/testsuite/ld-sh/sh64/relax.exp | 4 +-
ld/testsuite/ld-sh/sh64/relfail.exp | 4 +-
ld/testsuite/ld-sh/sh64/sh64.exp | 2 +-
ld/testsuite/ld-shared/shared.exp | 17 +-
ld/testsuite/ld-size/size.exp | 26 +-
ld/testsuite/ld-sparc/sparc.exp | 2 +-
ld/testsuite/ld-spu/spu.exp | 2 +-
ld/testsuite/ld-srec/srec.exp | 13 +-
ld/testsuite/ld-tic6x/tic6x.exp | 14 +-
ld/testsuite/ld-tilegx/tilegx.exp | 2 +-
ld/testsuite/ld-tilepro/tilepro.exp | 2 +-
ld/testsuite/ld-undefined/entry.exp | 2 +-
ld/testsuite/ld-undefined/require-defined.exp | 2 +-
ld/testsuite/ld-undefined/undefined.exp | 2 +-
ld/testsuite/ld-undefined/weak-undef.exp | 8 +-
ld/testsuite/ld-unique/unique.exp | 42 +-
ld/testsuite/ld-v850/v850.exp | 2 +-
ld/testsuite/ld-vax-elf/export-class.exp | 2 +-
ld/testsuite/ld-vax-elf/vax-elf.exp | 2 +-
ld/testsuite/ld-versados/versados.exp | 6 +-
ld/testsuite/ld-visium/visium.exp | 2 +-
ld/testsuite/ld-vxworks/vxworks.exp | 2 +-
ld/testsuite/ld-x86-64/dwarfreloc.exp | 6 +-
ld/testsuite/ld-x86-64/export-class.exp | 2 +-
ld/testsuite/ld-x86-64/line.exp | 2 +-
ld/testsuite/ld-x86-64/mpx.exp | 2 +-
ld/testsuite/ld-x86-64/no-plt.exp | 2 +-
ld/testsuite/ld-x86-64/tls.exp | 14 +-
ld/testsuite/ld-x86-64/x86-64.exp | 50 +-
ld/testsuite/ld-xc16x/xc16x.exp | 2 +-
ld/testsuite/ld-xstormy16/xstormy16.exp | 2 +-
ld/testsuite/ld-xtensa/coalesce.exp | 4 +-
ld/testsuite/ld-xtensa/diff_overflow.exp | 4 +-
ld/testsuite/ld-xtensa/lcall.exp | 4 +-
ld/testsuite/ld-xtensa/xtensa.exp | 2 +-
ld/testsuite/ld-z8k/z8k.exp | 2 +-
ld/testsuite/lib/ld-lib.exp | 68 +-
opcodes/ChangeLog | 2158 +----
opcodes/ChangeLog-2016 | 2179 +++++
opcodes/MAINTAINERS | 2 +-
opcodes/Makefile.am | 22 +-
opcodes/Makefile.in | 24 +-
opcodes/aarch64-asm-2.c | 2 +-
opcodes/aarch64-asm.c | 2 +-
opcodes/aarch64-asm.h | 2 +-
opcodes/aarch64-dis-2.c | 2 +-
opcodes/aarch64-dis.c | 2 +-
opcodes/aarch64-dis.h | 2 +-
opcodes/aarch64-gen.c | 4 +-
opcodes/aarch64-opc-2.c | 2 +-
opcodes/aarch64-opc.c | 2 +-
opcodes/aarch64-opc.h | 2 +-
opcodes/aarch64-tbl.h | 2 +-
opcodes/aclocal.m4 | 1 -
opcodes/alpha-dis.c | 2 +-
opcodes/alpha-opc.c | 2 +-
opcodes/arc-dis.c | 2 +-
opcodes/arc-dis.h | 2 +-
opcodes/arc-ext-tbl.h | 2 +-
opcodes/arc-ext.c | 2 +-
opcodes/arc-ext.h | 2 +-
opcodes/arc-fxi.h | 2 +-
opcodes/arc-opc.c | 2 +-
opcodes/arc-regs.h | 2 +-
opcodes/arc-tbl.h | 2 +-
opcodes/arm-dis.c | 2 +-
opcodes/avr-dis.c | 23 +-
opcodes/bfin-dis.c | 2 +-
opcodes/cgen-asm.c | 2 +-
opcodes/cgen-asm.in | 2 +-
opcodes/cgen-bitset.c | 2 +-
opcodes/cgen-dis.c | 2 +-
opcodes/cgen-dis.in | 2 +-
opcodes/cgen-ibld.in | 2 +-
opcodes/cgen-opc.c | 2 +-
opcodes/cgen.sh | 2 +-
opcodes/config.in | 3 -
opcodes/configure | 101 +-
opcodes/configure.ac | 22 +-
opcodes/configure.com | 2 +-
opcodes/cr16-dis.c | 2 +-
opcodes/cr16-opc.c | 2 +-
opcodes/cris-dis.c | 2 +-
opcodes/cris-opc.c | 2 +-
opcodes/crx-dis.c | 2 +-
opcodes/crx-opc.c | 2 +-
opcodes/d10v-dis.c | 2 +-
opcodes/d10v-opc.c | 2 +-
opcodes/d30v-dis.c | 2 +-
opcodes/d30v-opc.c | 2 +-
opcodes/dis-buf.c | 2 +-
opcodes/dis-init.c | 2 +-
opcodes/disassemble.c | 8 +-
opcodes/dlx-dis.c | 2 +-
opcodes/epiphany-asm.c | 2 +-
opcodes/epiphany-desc.c | 2 +-
opcodes/epiphany-desc.h | 10 +-
opcodes/epiphany-dis.c | 2 +-
opcodes/epiphany-ibld.c | 2 +-
opcodes/epiphany-opc.c | 2 +-
opcodes/epiphany-opc.h | 10 +-
opcodes/fr30-asm.c | 2 +-
opcodes/fr30-desc.c | 2 +-
opcodes/fr30-desc.h | 10 +-
opcodes/fr30-dis.c | 2 +-
opcodes/fr30-ibld.c | 2 +-
opcodes/fr30-opc.c | 2 +-
opcodes/fr30-opc.h | 10 +-
opcodes/frv-asm.c | 2 +-
opcodes/frv-desc.c | 2 +-
opcodes/frv-desc.h | 10 +-
opcodes/frv-dis.c | 2 +-
opcodes/frv-ibld.c | 2 +-
opcodes/frv-opc.c | 2 +-
opcodes/frv-opc.h | 10 +-
opcodes/ft32-dis.c | 2 +-
opcodes/ft32-opc.c | 2 +-
opcodes/h8300-dis.c | 2 +-
opcodes/h8500-dis.c | 2 +-
opcodes/h8500-opc.h | 2 +-
opcodes/hppa-dis.c | 2 +-
opcodes/i370-dis.c | 2 +-
opcodes/i370-opc.c | 2 +-
opcodes/i386-dis.c | 2 +-
opcodes/i386-gen.c | 4 +-
opcodes/i386-init.h | 2 +-
opcodes/i386-opc.c | 2 +-
opcodes/i386-opc.h | 2 +-
opcodes/i386-opc.tbl | 2 +-
opcodes/i386-reg.tbl | 2 +-
opcodes/i386-tbl.h | 2 +-
opcodes/i860-dis.c | 2 +-
opcodes/i960-dis.c | 2 +-
opcodes/ia64-asmtab.c | 2 +-
opcodes/ia64-asmtab.h | 2 +-
opcodes/ia64-dis.c | 2 +-
opcodes/ia64-gen.c | 4 +-
opcodes/ia64-opc-a.c | 2 +-
opcodes/ia64-opc-b.c | 2 +-
opcodes/ia64-opc-d.c | 2 +-
opcodes/ia64-opc-f.c | 2 +-
opcodes/ia64-opc-i.c | 2 +-
opcodes/ia64-opc-m.c | 2 +-
opcodes/ia64-opc-x.c | 2 +-
opcodes/ia64-opc.c | 2 +-
opcodes/ia64-opc.h | 2 +-
opcodes/ip2k-asm.c | 2 +-
opcodes/ip2k-desc.c | 2 +-
opcodes/ip2k-desc.h | 10 +-
opcodes/ip2k-dis.c | 2 +-
opcodes/ip2k-ibld.c | 2 +-
opcodes/ip2k-opc.c | 2 +-
opcodes/ip2k-opc.h | 10 +-
opcodes/iq2000-asm.c | 2 +-
opcodes/iq2000-desc.c | 2 +-
opcodes/iq2000-desc.h | 10 +-
opcodes/iq2000-dis.c | 2 +-
opcodes/iq2000-ibld.c | 2 +-
opcodes/iq2000-opc.c | 2 +-
opcodes/iq2000-opc.h | 10 +-
opcodes/lm32-asm.c | 2 +-
opcodes/lm32-desc.c | 2 +-
opcodes/lm32-desc.h | 10 +-
opcodes/lm32-dis.c | 2 +-
opcodes/lm32-ibld.c | 2 +-
opcodes/lm32-opc.c | 2 +-
opcodes/lm32-opc.h | 10 +-
opcodes/lm32-opinst.c | 2 +-
opcodes/m10200-dis.c | 2 +-
opcodes/m10200-opc.c | 2 +-
opcodes/m10300-dis.c | 2 +-
opcodes/m10300-opc.c | 2 +-
opcodes/m32c-asm.c | 2 +-
opcodes/m32c-desc.c | 2 +-
opcodes/m32c-desc.h | 10 +-
opcodes/m32c-dis.c | 2 +-
opcodes/m32c-ibld.c | 2 +-
opcodes/m32c-opc.c | 2 +-
opcodes/m32c-opc.h | 10 +-
opcodes/m32r-asm.c | 2 +-
opcodes/m32r-desc.c | 2 +-
opcodes/m32r-desc.h | 10 +-
opcodes/m32r-dis.c | 2 +-
opcodes/m32r-ibld.c | 2 +-
opcodes/m32r-opc.c | 2 +-
opcodes/m32r-opc.h | 10 +-
opcodes/m32r-opinst.c | 2 +-
opcodes/m68hc11-dis.c | 2 +-
opcodes/m68hc11-opc.c | 2 +-
opcodes/m68k-dis.c | 2 +-
opcodes/m68k-opc.c | 2 +-
opcodes/m88k-dis.c | 2 +-
opcodes/makefile.vms | 2 +-
opcodes/mcore-dis.c | 2 +-
opcodes/mcore-opc.h | 2 +-
opcodes/mep-asm.c | 2 +-
opcodes/mep-desc.c | 2 +-
opcodes/mep-desc.h | 10 +-
opcodes/mep-dis.c | 2 +-
opcodes/mep-ibld.c | 2 +-
opcodes/mep-opc.c | 2 +-
opcodes/mep-opc.h | 10 +-
opcodes/metag-dis.c | 2 +-
opcodes/microblaze-dis.c | 2 +-
opcodes/microblaze-dis.h | 2 +-
opcodes/microblaze-opc.h | 2 +-
opcodes/microblaze-opcm.h | 2 +-
opcodes/micromips-opc.c | 2 +-
opcodes/mips-dis.c | 2 +-
opcodes/mips-formats.h | 2 +-
opcodes/mips-opc.c | 2 +-
opcodes/mips16-opc.c | 2 +-
opcodes/mmix-dis.c | 2 +-
opcodes/mmix-opc.c | 2 +-
opcodes/moxie-dis.c | 2 +-
opcodes/moxie-opc.c | 2 +-
opcodes/msp430-decode.c | 2 +-
opcodes/msp430-decode.opc | 2 +-
opcodes/msp430-dis.c | 2 +-
opcodes/mt-asm.c | 2 +-
opcodes/mt-desc.c | 2 +-
opcodes/mt-desc.h | 10 +-
opcodes/mt-dis.c | 2 +-
opcodes/mt-ibld.c | 2 +-
opcodes/mt-opc.c | 2 +-
opcodes/mt-opc.h | 10 +-
opcodes/nds32-asm.c | 2 +-
opcodes/nds32-asm.h | 2 +-
opcodes/nds32-dis.c | 2 +-
opcodes/nds32-opc.h | 2 +-
opcodes/nios2-dis.c | 2 +-
opcodes/nios2-opc.c | 2 +-
opcodes/ns32k-dis.c | 2 +-
opcodes/opc2c.c | 2 +-
opcodes/opintl.h | 2 +-
opcodes/or1k-asm.c | 2 +-
opcodes/or1k-desc.c | 2 +-
opcodes/or1k-desc.h | 10 +-
opcodes/or1k-dis.c | 2 +-
opcodes/or1k-ibld.c | 2 +-
opcodes/or1k-opc.c | 2 +-
opcodes/or1k-opc.h | 10 +-
opcodes/or1k-opinst.c | 2 +-
opcodes/pdp11-dis.c | 2 +-
opcodes/pdp11-opc.c | 2 +-
opcodes/pj-dis.c | 2 +-
opcodes/pj-opc.c | 2 +-
opcodes/po/Make-in | 2 +-
opcodes/po/POTFILES.in | 2 +
opcodes/ppc-dis.c | 2 +-
opcodes/ppc-opc.c | 2 +-
opcodes/pru-dis.c | 286 +
opcodes/pru-opc.c | 236 +
opcodes/riscv-dis.c | 2 +-
opcodes/riscv-opc.c | 2 +-
opcodes/rl78-decode.c | 2 +-
opcodes/rl78-decode.opc | 2 +-
opcodes/rl78-dis.c | 2 +-
opcodes/rx-decode.c | 2 +-
opcodes/rx-decode.opc | 2 +-
opcodes/rx-dis.c | 2 +-
opcodes/s390-dis.c | 2 +-
opcodes/s390-mkopc.c | 2 +-
opcodes/s390-opc.c | 2 +-
opcodes/s390-opc.txt | 2 +-
opcodes/score-dis.c | 2 +-
opcodes/score-opc.h | 2 +-
opcodes/score7-dis.c | 2 +-
opcodes/sh-dis.c | 2 +-
opcodes/sh-opc.h | 2 +-
opcodes/sh64-dis.c | 2 +-
opcodes/sh64-opc.c | 2 +-
opcodes/sh64-opc.h | 2 +-
opcodes/sparc-dis.c | 2 +-
opcodes/sparc-opc.c | 2 +-
opcodes/spu-dis.c | 2 +-
opcodes/spu-opc.c | 2 +-
opcodes/sysdep.h | 2 +-
opcodes/tic30-dis.c | 2 +-
opcodes/tic4x-dis.c | 2 +-
opcodes/tic54x-dis.c | 2 +-
opcodes/tic54x-opc.c | 2 +-
opcodes/tic6x-dis.c | 2 +-
opcodes/tic80-dis.c | 2 +-
opcodes/tic80-opc.c | 2 +-
opcodes/tilegx-dis.c | 2 +-
opcodes/tilegx-opc.c | 2 +-
opcodes/tilepro-dis.c | 2 +-
opcodes/tilepro-opc.c | 2 +-
opcodes/v850-dis.c | 2 +-
opcodes/v850-opc.c | 2 +-
opcodes/vax-dis.c | 2 +-
opcodes/visium-dis.c | 2 +-
opcodes/visium-opc.c | 2 +-
opcodes/w65-dis.c | 2 +-
opcodes/w65-opc.h | 2 +-
opcodes/xc16x-asm.c | 2 +-
opcodes/xc16x-desc.c | 2 +-
opcodes/xc16x-desc.h | 10 +-
opcodes/xc16x-dis.c | 2 +-
opcodes/xc16x-ibld.c | 2 +-
opcodes/xc16x-opc.c | 2 +-
opcodes/xc16x-opc.h | 10 +-
opcodes/xgate-dis.c | 2 +-
opcodes/xgate-opc.c | 2 +-
opcodes/xstormy16-asm.c | 2 +-
opcodes/xstormy16-desc.c | 2 +-
opcodes/xstormy16-desc.h | 10 +-
opcodes/xstormy16-dis.c | 2 +-
opcodes/xstormy16-ibld.c | 2 +-
opcodes/xstormy16-opc.c | 2 +-
opcodes/xstormy16-opc.h | 10 +-
opcodes/xtensa-dis.c | 2 +-
opcodes/z80-dis.c | 2 +-
opcodes/z8k-dis.c | 2 +-
opcodes/z8k-opc.h | 2 +-
opcodes/z8kgen.c | 4 +-
sim/Makefile.in | 2 +-
sim/aarch64/Makefile.in | 2 +-
sim/aarch64/configure.ac | 2 +-
sim/aarch64/cpustate.c | 2 +-
sim/aarch64/cpustate.h | 2 +-
sim/aarch64/decode.h | 2 +-
sim/aarch64/interp.c | 2 +-
sim/aarch64/memory.c | 2 +-
sim/aarch64/memory.h | 2 +-
sim/aarch64/sim-main.h | 2 +-
sim/aarch64/simulator.c | 2 +-
sim/aarch64/simulator.h | 2 +-
sim/arm/Makefile.in | 2 +-
sim/arm/iwmmxt.c | 2 +-
sim/arm/iwmmxt.h | 2 +-
sim/arm/maverick.c | 2 +-
sim/arm/sim-main.h | 2 +-
sim/arm/wrapper.c | 2 +-
sim/avr/Makefile.in | 2 +-
sim/avr/interp.c | 2 +-
sim/avr/sim-main.h | 2 +-
sim/bfin/Makefile.in | 2 +-
sim/bfin/arch.h | 2 +-
sim/bfin/bfin-sim.c | 2 +-
sim/bfin/bfin-sim.h | 2 +-
sim/bfin/devices.c | 2 +-
sim/bfin/devices.h | 2 +-
sim/bfin/dv-bfin_cec.c | 2 +-
sim/bfin/dv-bfin_cec.h | 2 +-
sim/bfin/dv-bfin_ctimer.c | 2 +-
sim/bfin/dv-bfin_ctimer.h | 2 +-
sim/bfin/dv-bfin_dma.c | 2 +-
sim/bfin/dv-bfin_dma.h | 2 +-
sim/bfin/dv-bfin_dmac.c | 2 +-
sim/bfin/dv-bfin_dmac.h | 2 +-
sim/bfin/dv-bfin_ebiu_amc.c | 2 +-
sim/bfin/dv-bfin_ebiu_amc.h | 2 +-
sim/bfin/dv-bfin_ebiu_ddrc.c | 2 +-
sim/bfin/dv-bfin_ebiu_ddrc.h | 2 +-
sim/bfin/dv-bfin_ebiu_sdc.c | 2 +-
sim/bfin/dv-bfin_ebiu_sdc.h | 2 +-
sim/bfin/dv-bfin_emac.c | 2 +-
sim/bfin/dv-bfin_emac.h | 2 +-
sim/bfin/dv-bfin_eppi.c | 2 +-
sim/bfin/dv-bfin_eppi.h | 2 +-
sim/bfin/dv-bfin_evt.c | 2 +-
sim/bfin/dv-bfin_evt.h | 2 +-
sim/bfin/dv-bfin_gpio.c | 2 +-
sim/bfin/dv-bfin_gpio.h | 2 +-
sim/bfin/dv-bfin_gpio2.c | 2 +-
sim/bfin/dv-bfin_gpio2.h | 2 +-
sim/bfin/dv-bfin_gptimer.c | 2 +-
sim/bfin/dv-bfin_gptimer.h | 2 +-
sim/bfin/dv-bfin_jtag.c | 2 +-
sim/bfin/dv-bfin_jtag.h | 2 +-
sim/bfin/dv-bfin_mmu.c | 2 +-
sim/bfin/dv-bfin_mmu.h | 2 +-
sim/bfin/dv-bfin_nfc.c | 2 +-
sim/bfin/dv-bfin_nfc.h | 2 +-
sim/bfin/dv-bfin_otp.c | 2 +-
sim/bfin/dv-bfin_otp.h | 2 +-
sim/bfin/dv-bfin_pfmon.c | 2 +-
sim/bfin/dv-bfin_pfmon.h | 2 +-
sim/bfin/dv-bfin_pint.c | 2 +-
sim/bfin/dv-bfin_pint.h | 2 +-
sim/bfin/dv-bfin_pll.c | 2 +-
sim/bfin/dv-bfin_pll.h | 2 +-
sim/bfin/dv-bfin_ppi.c | 2 +-
sim/bfin/dv-bfin_ppi.h | 2 +-
sim/bfin/dv-bfin_rtc.c | 2 +-
sim/bfin/dv-bfin_rtc.h | 2 +-
sim/bfin/dv-bfin_sic.c | 2 +-
sim/bfin/dv-bfin_sic.h | 2 +-
sim/bfin/dv-bfin_spi.c | 2 +-
sim/bfin/dv-bfin_spi.h | 2 +-
sim/bfin/dv-bfin_trace.c | 2 +-
sim/bfin/dv-bfin_trace.h | 2 +-
sim/bfin/dv-bfin_twi.c | 2 +-
sim/bfin/dv-bfin_twi.h | 2 +-
sim/bfin/dv-bfin_uart.c | 2 +-
sim/bfin/dv-bfin_uart.h | 2 +-
sim/bfin/dv-bfin_uart2.c | 2 +-
sim/bfin/dv-bfin_uart2.h | 2 +-
sim/bfin/dv-bfin_wdog.c | 2 +-
sim/bfin/dv-bfin_wdog.h | 2 +-
sim/bfin/dv-bfin_wp.c | 2 +-
sim/bfin/dv-bfin_wp.h | 2 +-
sim/bfin/dv-eth_phy.c | 2 +-
sim/bfin/gui.c | 2 +-
sim/bfin/gui.h | 2 +-
sim/bfin/insn_list.def | 2 +-
sim/bfin/interp.c | 2 +-
sim/bfin/linux-fixed-code.s | 2 +-
sim/bfin/machs.c | 2 +-
sim/bfin/machs.h | 2 +-
sim/bfin/proc_list.def | 2 +-
sim/bfin/sim-main.h | 2 +-
sim/common/Make-common.in | 2 +-
sim/common/Makefile.in | 2 +-
sim/common/callback.c | 2 +-
sim/common/cgen-cpu.h | 2 +-
sim/common/cgen-defs.h | 2 +-
sim/common/cgen-engine.h | 2 +-
sim/common/cgen-mem.h | 2 +-
sim/common/cgen-ops.h | 2 +-
sim/common/cgen-par.c | 2 +-
sim/common/cgen-par.h | 2 +-
sim/common/cgen-run.c | 2 +-
sim/common/cgen-scache.c | 2 +-
sim/common/cgen-scache.h | 2 +-
sim/common/cgen-sim.h | 2 +-
sim/common/cgen-trace.c | 2 +-
sim/common/cgen-trace.h | 2 +-
sim/common/cgen-types.h | 2 +-
sim/common/cgen-utils.c | 2 +-
sim/common/dv-cfi.c | 2 +-
sim/common/dv-cfi.h | 2 +-
sim/common/dv-core.c | 2 +-
sim/common/dv-glue.c | 2 +-
sim/common/dv-pal.c | 2 +-
sim/common/dv-sockser.c | 2 +-
sim/common/dv-sockser.h | 2 +-
sim/common/genmloop.sh | 2 +-
sim/common/hw-alloc.c | 2 +-
sim/common/hw-alloc.h | 2 +-
sim/common/hw-base.c | 2 +-
sim/common/hw-base.h | 2 +-
sim/common/hw-device.c | 2 +-
sim/common/hw-device.h | 2 +-
sim/common/hw-events.c | 2 +-
sim/common/hw-events.h | 2 +-
sim/common/hw-handles.c | 2 +-
sim/common/hw-handles.h | 2 +-
sim/common/hw-instances.c | 2 +-
sim/common/hw-instances.h | 2 +-
sim/common/hw-main.h | 2 +-
sim/common/hw-ports.c | 2 +-
sim/common/hw-ports.h | 2 +-
sim/common/hw-properties.c | 2 +-
sim/common/hw-properties.h | 2 +-
sim/common/hw-tree.c | 2 +-
sim/common/hw-tree.h | 2 +-
sim/common/nrun.c | 2 +-
sim/common/run.1 | 2 +-
sim/common/sim-abort.c | 2 +-
sim/common/sim-alu.h | 2 +-
sim/common/sim-arange.c | 2 +-
sim/common/sim-arange.h | 2 +-
sim/common/sim-assert.h | 2 +-
sim/common/sim-base.h | 2 +-
sim/common/sim-basics.h | 2 +-
sim/common/sim-bits.c | 2 +-
sim/common/sim-bits.h | 2 +-
sim/common/sim-close.c | 2 +-
sim/common/sim-command.c | 2 +-
sim/common/sim-config.c | 2 +-
sim/common/sim-config.h | 2 +-
sim/common/sim-core.c | 2 +-
sim/common/sim-core.h | 2 +-
sim/common/sim-cpu.c | 2 +-
sim/common/sim-cpu.h | 2 +-
sim/common/sim-endian.c | 2 +-
sim/common/sim-endian.h | 2 +-
sim/common/sim-engine.c | 2 +-
sim/common/sim-engine.h | 2 +-
sim/common/sim-events.c | 2 +-
sim/common/sim-events.h | 2 +-
sim/common/sim-fpu.c | 2 +-
sim/common/sim-fpu.h | 2 +-
sim/common/sim-hload.c | 2 +-
sim/common/sim-hrw.c | 2 +-
sim/common/sim-hw.c | 2 +-
sim/common/sim-hw.h | 2 +-
sim/common/sim-info.c | 2 +-
sim/common/sim-inline.c | 2 +-
sim/common/sim-inline.h | 2 +-
sim/common/sim-io.c | 2 +-
sim/common/sim-io.h | 2 +-
sim/common/sim-load.c | 2 +-
sim/common/sim-memopt.c | 2 +-
sim/common/sim-memopt.h | 2 +-
sim/common/sim-model.c | 2 +-
sim/common/sim-model.h | 2 +-
sim/common/sim-module.c | 2 +-
sim/common/sim-module.h | 2 +-
sim/common/sim-n-bits.h | 2 +-
sim/common/sim-n-core.h | 2 +-
sim/common/sim-n-endian.h | 2 +-
sim/common/sim-options.c | 2 +-
sim/common/sim-options.h | 2 +-
sim/common/sim-profile.c | 2 +-
sim/common/sim-profile.h | 2 +-
sim/common/sim-reason.c | 2 +-
sim/common/sim-reg.c | 2 +-
sim/common/sim-resume.c | 2 +-
sim/common/sim-run.c | 2 +-
sim/common/sim-signal.c | 2 +-
sim/common/sim-signal.h | 2 +-
sim/common/sim-stop.c | 2 +-
sim/common/sim-syscall.c | 2 +-
sim/common/sim-syscall.h | 2 +-
sim/common/sim-trace.c | 2 +-
sim/common/sim-trace.h | 2 +-
sim/common/sim-types.h | 2 +-
sim/common/sim-utils.c | 2 +-
sim/common/sim-utils.h | 2 +-
sim/common/sim-watch.c | 2 +-
sim/common/sim-watch.h | 2 +-
sim/common/syscall.c | 2 +-
sim/common/version.h | 2 +-
sim/cr16/Makefile.in | 2 +-
sim/cr16/cr16_sim.h | 2 +-
sim/cr16/gencode.c | 2 +-
sim/cr16/interp.c | 2 +-
sim/cr16/sim-main.h | 2 +-
sim/cr16/simops.c | 2 +-
sim/cris/Makefile.in | 2 +-
sim/cris/arch.c | 2 +-
sim/cris/arch.h | 2 +-
sim/cris/cpuall.h | 2 +-
sim/cris/cpuv10.c | 2 +-
sim/cris/cpuv10.h | 2 +-
sim/cris/cpuv32.c | 2 +-
sim/cris/cpuv32.h | 2 +-
sim/cris/cris-desc.c | 2 +-
sim/cris/cris-desc.h | 2 +-
sim/cris/cris-opc.h | 2 +-
sim/cris/cris-sim.h | 2 +-
sim/cris/cris-tmpl.c | 2 +-
sim/cris/crisv10f.c | 2 +-
sim/cris/crisv32f.c | 2 +-
sim/cris/decodev10.c | 2 +-
sim/cris/decodev10.h | 2 +-
sim/cris/decodev32.c | 2 +-
sim/cris/decodev32.h | 2 +-
sim/cris/dv-cris.c | 2 +-
sim/cris/dv-cris_900000xx.c | 2 +-
sim/cris/dv-rv.c | 2 +-
sim/cris/mloop.in | 2 +-
sim/cris/modelv10.c | 2 +-
sim/cris/modelv32.c | 2 +-
sim/cris/rvdummy.c | 2 +-
sim/cris/semcrisv10f-switch.c | 2 +-
sim/cris/semcrisv32f-switch.c | 2 +-
sim/cris/sim-if.c | 2 +-
sim/cris/sim-main.h | 2 +-
sim/cris/traps.c | 2 +-
sim/d10v/Makefile.in | 2 +-
sim/d10v/sim-main.h | 2 +-
sim/erc32/Makefile.in | 2 +-
sim/erc32/configure.ac | 2 +-
sim/erc32/erc32.c | 2 +-
sim/erc32/exec.c | 2 +-
sim/erc32/float.c | 2 +-
sim/erc32/func.c | 2 +-
sim/erc32/help.c | 2 +-
sim/erc32/interf.c | 2 +-
sim/erc32/sis.c | 2 +-
sim/erc32/sis.h | 2 +-
sim/erc32/startsim | 2 +-
sim/frv/Makefile.in | 2 +-
sim/frv/arch.c | 2 +-
sim/frv/arch.h | 2 +-
sim/frv/cache.c | 2 +-
sim/frv/cache.h | 2 +-
sim/frv/cpu.c | 2 +-
sim/frv/cpu.h | 2 +-
sim/frv/cpuall.h | 2 +-
sim/frv/decode.c | 2 +-
sim/frv/decode.h | 2 +-
sim/frv/frv-sim.h | 2 +-
sim/frv/frv.c | 2 +-
sim/frv/interrupts.c | 2 +-
sim/frv/memory.c | 2 +-
sim/frv/mloop.in | 2 +-
sim/frv/model.c | 2 +-
sim/frv/options.c | 2 +-
sim/frv/pipeline.c | 2 +-
sim/frv/profile-fr400.c | 2 +-
sim/frv/profile-fr400.h | 2 +-
sim/frv/profile-fr450.c | 2 +-
sim/frv/profile-fr500.c | 2 +-
sim/frv/profile-fr500.h | 2 +-
sim/frv/profile-fr550.c | 2 +-
sim/frv/profile-fr550.h | 2 +-
sim/frv/profile.c | 2 +-
sim/frv/profile.h | 2 +-
sim/frv/registers.c | 2 +-
sim/frv/registers.h | 2 +-
sim/frv/reset.c | 2 +-
sim/frv/sem.c | 2 +-
sim/frv/sim-if.c | 2 +-
sim/frv/sim-main.h | 2 +-
sim/frv/traps.c | 2 +-
sim/ft32/Makefile.in | 2 +-
sim/ft32/ft32-sim.h | 2 +-
sim/ft32/interp.c | 2 +-
sim/ft32/sim-main.h | 2 +-
sim/h8300/Makefile.in | 2 +-
sim/igen/Makefile.in | 2 +-
sim/igen/compare_igen_models | 2 +-
sim/igen/filter.c | 2 +-
sim/igen/filter.h | 2 +-
sim/igen/filter_host.c | 2 +-
sim/igen/filter_host.h | 2 +-
sim/igen/gen-engine.c | 2 +-
sim/igen/gen-engine.h | 2 +-
sim/igen/gen-icache.c | 2 +-
sim/igen/gen-icache.h | 2 +-
sim/igen/gen-idecode.c | 2 +-
sim/igen/gen-idecode.h | 2 +-
sim/igen/gen-itable.c | 2 +-
sim/igen/gen-itable.h | 2 +-
sim/igen/gen-model.c | 2 +-
sim/igen/gen-model.h | 2 +-
sim/igen/gen-semantics.c | 2 +-
sim/igen/gen-semantics.h | 2 +-
sim/igen/gen-support.c | 2 +-
sim/igen/gen-support.h | 2 +-
sim/igen/gen.c | 2 +-
sim/igen/gen.h | 2 +-
sim/igen/igen.c | 2 +-
sim/igen/igen.h | 2 +-
sim/igen/ld-cache.c | 2 +-
sim/igen/ld-cache.h | 2 +-
sim/igen/ld-decode.c | 2 +-
sim/igen/ld-decode.h | 2 +-
sim/igen/ld-insn.c | 2 +-
sim/igen/ld-insn.h | 2 +-
sim/igen/lf.c | 2 +-
sim/igen/lf.h | 2 +-
sim/igen/misc.c | 2 +-
sim/igen/misc.h | 2 +-
sim/igen/table.c | 2 +-
sim/igen/table.h | 2 +-
sim/iq2000/Makefile.in | 2 +-
sim/iq2000/arch.c | 2 +-
sim/iq2000/arch.h | 2 +-
sim/iq2000/cpu.c | 2 +-
sim/iq2000/cpu.h | 2 +-
sim/iq2000/cpuall.h | 2 +-
sim/iq2000/decode.c | 2 +-
sim/iq2000/decode.h | 2 +-
sim/iq2000/iq2000.c | 2 +-
sim/iq2000/mloop.in | 2 +-
sim/iq2000/model.c | 2 +-
sim/iq2000/sem-switch.c | 2 +-
sim/iq2000/sem.c | 2 +-
sim/iq2000/sim-if.c | 2 +-
sim/lm32/arch.c | 2 +-
sim/lm32/arch.h | 2 +-
sim/lm32/cpu.c | 2 +-
sim/lm32/cpu.h | 2 +-
sim/lm32/cpuall.h | 2 +-
sim/lm32/decode.c | 2 +-
sim/lm32/decode.h | 2 +-
sim/lm32/dv-lm32cpu.c | 2 +-
sim/lm32/dv-lm32timer.c | 2 +-
sim/lm32/dv-lm32uart.c | 2 +-
sim/lm32/lm32-sim.h | 2 +-
sim/lm32/lm32.c | 2 +-
sim/lm32/model.c | 2 +-
sim/lm32/sem-switch.c | 2 +-
sim/lm32/sem.c | 2 +-
sim/lm32/sim-if.c | 2 +-
sim/lm32/sim-main.h | 2 +-
sim/lm32/traps.c | 2 +-
sim/lm32/user.c | 2 +-
sim/m32c/Makefile.in | 2 +-
sim/m32c/configure.ac | 2 +-
sim/m32c/cpu.h | 2 +-
sim/m32c/gdb-if.c | 2 +-
sim/m32c/int.c | 2 +-
sim/m32c/int.h | 2 +-
sim/m32c/load.c | 2 +-
sim/m32c/load.h | 2 +-
sim/m32c/m32c.opc | 2 +-
sim/m32c/main.c | 2 +-
sim/m32c/mem.c | 2 +-
sim/m32c/mem.h | 2 +-
sim/m32c/misc.c | 2 +-
sim/m32c/misc.h | 2 +-
sim/m32c/opc2c.c | 2 +-
sim/m32c/r8c.opc | 2 +-
sim/m32c/reg.c | 2 +-
sim/m32c/safe-fgets.c | 2 +-
sim/m32c/safe-fgets.h | 2 +-
sim/m32c/srcdest.c | 2 +-
sim/m32c/syscalls.c | 2 +-
sim/m32c/syscalls.h | 2 +-
sim/m32c/trace.c | 2 +-
sim/m32c/trace.h | 2 +-
sim/m32r/Makefile.in | 2 +-
sim/m32r/arch.c | 2 +-
sim/m32r/arch.h | 2 +-
sim/m32r/cpu.c | 2 +-
sim/m32r/cpu.h | 2 +-
sim/m32r/cpu2.c | 2 +-
sim/m32r/cpu2.h | 2 +-
sim/m32r/cpuall.h | 2 +-
sim/m32r/cpux.c | 2 +-
sim/m32r/cpux.h | 2 +-
sim/m32r/decode.c | 2 +-
sim/m32r/decode.h | 2 +-
sim/m32r/decode2.c | 2 +-
sim/m32r/decode2.h | 2 +-
sim/m32r/decodex.c | 2 +-
sim/m32r/decodex.h | 2 +-
sim/m32r/dv-m32r_cache.c | 2 +-
sim/m32r/dv-m32r_cache.h | 2 +-
sim/m32r/dv-m32r_uart.c | 2 +-
sim/m32r/dv-m32r_uart.h | 2 +-
sim/m32r/m32r-sim.h | 2 +-
sim/m32r/m32r.c | 2 +-
sim/m32r/m32r2.c | 2 +-
sim/m32r/m32rx.c | 2 +-
sim/m32r/mloop.in | 2 +-
sim/m32r/mloop2.in | 2 +-
sim/m32r/mloopx.in | 2 +-
sim/m32r/model.c | 2 +-
sim/m32r/model2.c | 2 +-
sim/m32r/modelx.c | 2 +-
sim/m32r/sem-switch.c | 2 +-
sim/m32r/sem.c | 2 +-
sim/m32r/sem2-switch.c | 2 +-
sim/m32r/semx-switch.c | 2 +-
sim/m32r/sim-if.c | 2 +-
sim/m32r/traps-linux.c | 2 +-
sim/m32r/traps.c | 2 +-
sim/m68hc11/Makefile.in | 2 +-
sim/m68hc11/dv-m68hc11.c | 2 +-
sim/m68hc11/dv-m68hc11eepr.c | 2 +-
sim/m68hc11/dv-m68hc11sio.c | 2 +-
sim/m68hc11/dv-m68hc11spi.c | 2 +-
sim/m68hc11/dv-m68hc11tim.c | 2 +-
sim/m68hc11/dv-nvram.c | 2 +-
sim/m68hc11/emulos.c | 2 +-
sim/m68hc11/gencode.c | 2 +-
sim/m68hc11/interp.c | 2 +-
sim/m68hc11/interrupts.c | 2 +-
sim/m68hc11/interrupts.h | 2 +-
sim/m68hc11/m68hc11_sim.c | 2 +-
sim/m68hc11/sim-main.h | 2 +-
sim/mcore/Makefile.in | 2 +-
sim/mcore/interp.c | 2 +-
sim/mcore/sim-main.h | 2 +-
sim/microblaze/Makefile.in | 2 +-
sim/microblaze/interp.c | 2 +-
sim/microblaze/microblaze.h | 2 +-
sim/microblaze/microblaze.isa | 2 +-
sim/microblaze/sim-main.h | 2 +-
sim/mips/configure.ac | 2 +-
sim/mips/cp1.c | 2 +-
sim/mips/cp1.h | 2 +-
sim/mips/dsp.c | 2 +-
sim/mips/dsp.igen | 2 +-
sim/mips/dsp2.igen | 2 +-
sim/mips/dv-tx3904cpu.c | 2 +-
sim/mips/dv-tx3904irc.c | 2 +-
sim/mips/dv-tx3904sio.c | 2 +-
sim/mips/dv-tx3904tmr.c | 2 +-
sim/mips/m16e.igen | 2 +-
sim/mips/mdmx.c | 2 +-
sim/mips/mdmx.igen | 2 +-
sim/mips/micromips.igen | 2 +-
sim/mips/micromipsdsp.igen | 2 +-
sim/mips/micromipsrun.c | 2 +-
sim/mips/mips3264r2.igen | 2 +-
sim/mips/mips3d.igen | 2 +-
sim/mips/sb1.igen | 2 +-
sim/mips/sim-main.h | 2 +-
sim/mips/smartmips.igen | 2 +-
sim/mn10300/Makefile.in | 2 +-
sim/mn10300/dv-mn103cpu.c | 2 +-
sim/mn10300/dv-mn103int.c | 2 +-
sim/mn10300/dv-mn103iop.c | 2 +-
sim/mn10300/dv-mn103ser.c | 2 +-
sim/mn10300/dv-mn103tim.c | 2 +-
sim/mn10300/sim-main.h | 2 +-
sim/moxie/Makefile.in | 2 +-
sim/moxie/interp.c | 2 +-
sim/moxie/sim-main.h | 2 +-
sim/msp430/Makefile.in | 2 +-
sim/msp430/configure.ac | 2 +-
sim/msp430/msp430-sim.c | 2 +-
sim/msp430/msp430-sim.h | 2 +-
sim/msp430/sim-main.h | 2 +-
sim/ppc/altivec.igen | 2 +-
sim/ppc/altivec_expression.h | 2 +-
sim/ppc/altivec_registers.h | 2 +-
sim/ppc/dp-bit.c | 2 +-
sim/ppc/e500.igen | 2 +-
sim/ppc/e500_expression.h | 2 +-
sim/ppc/e500_registers.h | 2 +-
sim/ppc/gdb-sim.c | 2 +-
sim/ppc/psim.texinfo | 2 +-
sim/rl78/Makefile.in | 2 +-
sim/rl78/configure.ac | 2 +-
sim/rl78/cpu.c | 2 +-
sim/rl78/cpu.h | 2 +-
sim/rl78/gdb-if.c | 2 +-
sim/rl78/load.c | 2 +-
sim/rl78/load.h | 2 +-
sim/rl78/main.c | 2 +-
sim/rl78/mem.c | 2 +-
sim/rl78/mem.h | 2 +-
sim/rl78/rl78.c | 2 +-
sim/rl78/trace.c | 2 +-
sim/rl78/trace.h | 2 +-
sim/rx/Makefile.in | 2 +-
sim/rx/configure.ac | 2 +-
sim/rx/cpu.h | 2 +-
sim/rx/err.c | 2 +-
sim/rx/err.h | 2 +-
sim/rx/fpu.c | 2 +-
sim/rx/fpu.h | 2 +-
sim/rx/gdb-if.c | 2 +-
sim/rx/load.c | 2 +-
sim/rx/load.h | 2 +-
sim/rx/main.c | 2 +-
sim/rx/mem.c | 2 +-
sim/rx/mem.h | 2 +-
sim/rx/misc.c | 2 +-
sim/rx/misc.h | 2 +-
sim/rx/reg.c | 2 +-
sim/rx/rx.c | 2 +-
sim/rx/syscalls.c | 2 +-
sim/rx/syscalls.h | 2 +-
sim/rx/trace.c | 2 +-
sim/rx/trace.h | 2 +-
sim/sh/Makefile.in | 2 +-
sim/sh/sim-main.h | 2 +-
sim/sh64/Makefile.in | 2 +-
sim/sh64/arch.c | 2 +-
sim/sh64/arch.h | 2 +-
sim/sh64/cpu.c | 2 +-
sim/sh64/cpu.h | 2 +-
sim/sh64/cpuall.h | 2 +-
sim/sh64/decode-compact.c | 2 +-
sim/sh64/decode-compact.h | 2 +-
sim/sh64/decode-media.c | 2 +-
sim/sh64/decode-media.h | 2 +-
sim/sh64/defs-compact.h | 2 +-
sim/sh64/defs-media.h | 2 +-
sim/sh64/eng.h | 2 +-
sim/sh64/sem-compact-switch.c | 2 +-
sim/sh64/sem-compact.c | 2 +-
sim/sh64/sem-media-switch.c | 2 +-
sim/sh64/sem-media.c | 2 +-
sim/sh64/sh-desc.c | 2 +-
sim/sh64/sh-desc.h | 2 +-
sim/sh64/sh-opc.h | 2 +-
sim/sh64/sh64-sim.h | 2 +-
sim/sh64/sh64.c | 2 +-
sim/sh64/sim-if.c | 2 +-
sim/testsuite/Makefile.in | 2 +-
sim/testsuite/common/bits-gen.c | 2 +-
sim/testsuite/d10v-elf/Makefile.in | 2 +-
sim/testsuite/frv-elf/Makefile.in | 2 +-
sim/testsuite/m32r-elf/Makefile.in | 2 +-
sim/testsuite/mips64el-elf/Makefile.in | 2 +-
sim/testsuite/sim/cris/asm/asm.exp | 2 +-
sim/testsuite/sim/cris/c/c.exp | 2 +-
sim/testsuite/sim/cris/hw/rv-n-cris/rvc.exp | 2 +-
sim/testsuite/sim/m32c/blinky.s | 2 +-
sim/testsuite/sim/m32c/gloss.s | 2 +-
sim/testsuite/sim/m32c/sample.ld | 2 +-
sim/testsuite/sim/m32c/sample.s | 2 +-
sim/testsuite/sim/m32c/sample2.c | 2 +-
sim/testsuite/sim/mips/hilo-hazard-4.s | 2 +-
sim/testsuite/sim/mips/mips32-dsp.s | 2 +-
sim/testsuite/sim/mips/testutils.inc | 2 +-
sim/testsuite/sim/mips/utils-dsp.inc | 2 +-
sim/testsuite/sim/mips/utils-fpu.inc | 2 +-
sim/testsuite/sim/mips/utils-mdmx.inc | 2 +-
sim/v850/Makefile.in | 2 +-
7687 files changed, 35917 insertions(+), 39550 deletions(-)
create mode 100644 bfd/ChangeLog-2016
create mode 100644 bfd/cpu-pru.c
create mode 100644 bfd/elf32-pru.c
create mode 100644 binutils/ChangeLog-2016
create mode 100644 elfcpp/ChangeLog-2016
create mode 100644 gas/ChangeLog-2016
create mode 100644 gas/config/tc-pru.c
create mode 100644 gas/config/tc-pru.h
create mode 100644 gas/doc/c-pru.texi
create mode 100644 gas/testsuite/gas/pru/alu.d
create mode 100644 gas/testsuite/gas/pru/alu.s
create mode 100644 gas/testsuite/gas/pru/branch.d
create mode 100644 gas/testsuite/gas/pru/branch.s
create mode 100644 gas/testsuite/gas/pru/illegal.l
create mode 100644 gas/testsuite/gas/pru/illegal.s
create mode 100644 gas/testsuite/gas/pru/ldi.d
create mode 100644 gas/testsuite/gas/pru/ldi.s
create mode 100644 gas/testsuite/gas/pru/ldst.d
create mode 100644 gas/testsuite/gas/pru/ldst.s
create mode 100644 gas/testsuite/gas/pru/loop.d
create mode 100644 gas/testsuite/gas/pru/loop.s
create mode 100644 gas/testsuite/gas/pru/misc.d
create mode 100644 gas/testsuite/gas/pru/misc.s
create mode 100644 gas/testsuite/gas/pru/pru.exp
create mode 100644 gas/testsuite/gas/pru/pseudo.d
create mode 100644 gas/testsuite/gas/pru/pseudo.s
create mode 100644 gas/testsuite/gas/pru/warn_reglabel.l
create mode 100644 gas/testsuite/gas/pru/warn_reglabel.s
create mode 100644 gas/testsuite/gas/pru/xfr.d
create mode 100644 gas/testsuite/gas/pru/xfr.s
copy gdb/{ChangeLog => ChangeLog-2016} (100%)
create mode 100644 gold/ChangeLog-2016
create mode 100644 gold/testsuite/copy_test_relro.cc
create mode 100644 gold/testsuite/copy_test_relro_1.cc
copy gprof/{ChangeLog => ChangeLog-2016} (100%)
create mode 100644 include/ChangeLog-2016
create mode 100644 include/elf/pru.h
create mode 100644 include/opcode/pru.h
create mode 100644 ld/ChangeLog-2016
create mode 100644 ld/emulparams/pruelf.sh
create mode 100644 ld/emultempl/pruelf.em
create mode 100644 ld/scripttempl/pru.sc
create mode 100644 ld/testsuite/ld-elf/pr20995-2so.r
create mode 100644 ld/testsuite/ld-elf/pr20995.r
create mode 100644 ld/testsuite/ld-elf/pr20995a.s
create mode 100644 ld/testsuite/ld-elf/pr20995b.s
create mode 100644 ld/testsuite/ld-elf/pr20995c.s
create mode 100644 ld/testsuite/ld-pru/emit-relocs-1.d
create mode 100644 ld/testsuite/ld-pru/emit-relocs-1.ld
create mode 100644 ld/testsuite/ld-pru/emit-relocs-1a.s
create mode 100644 ld/testsuite/ld-pru/emit-relocs-1b.s
create mode 100644 ld/testsuite/ld-pru/ldi32.d
create mode 100644 ld/testsuite/ld-pru/ldi32.s
create mode 100644 ld/testsuite/ld-pru/ldi32_symbol.s
create mode 100644 ld/testsuite/ld-pru/norelax_ldi32-data.d
create mode 100644 ld/testsuite/ld-pru/norelax_ldi32-dis.d
create mode 100644 ld/testsuite/ld-pru/pcrel_s10.d
create mode 100644 ld/testsuite/ld-pru/pcrel_s10.s
create mode 100644 ld/testsuite/ld-pru/pcrel_s10_label.s
create mode 100644 ld/testsuite/ld-pru/pcrel_u8-illegal.d
create mode 100644 ld/testsuite/ld-pru/pcrel_u8-illegal.s
create mode 100644 ld/testsuite/ld-pru/pcrel_u8-illegal2.d
create mode 100644 ld/testsuite/ld-pru/pcrel_u8-illegal2.s
create mode 100644 ld/testsuite/ld-pru/pcrel_u8-illegal3.d
create mode 100644 ld/testsuite/ld-pru/pcrel_u8-illegal3.s
create mode 100644 ld/testsuite/ld-pru/pcrel_u8.d
create mode 100644 ld/testsuite/ld-pru/pcrel_u8.s
create mode 100644 ld/testsuite/ld-pru/pcrel_u8_label.s
create mode 100644 ld/testsuite/ld-pru/pmem.d
create mode 100644 ld/testsuite/ld-pru/pmem.s
create mode 100644 ld/testsuite/ld-pru/pmem_symbol.s
create mode 100644 ld/testsuite/ld-pru/pru.exp
create mode 100644 ld/testsuite/ld-pru/relax_ldi32-data.d
create mode 100644 ld/testsuite/ld-pru/relax_ldi32-dis.d
create mode 100644 ld/testsuite/ld-pru/relax_ldi32.s
create mode 100644 ld/testsuite/ld-pru/relax_ldi32_symbol.s
create mode 100644 ld/testsuite/ld-pru/reloc.d
create mode 100644 ld/testsuite/ld-pru/reloc.s
create mode 100644 ld/testsuite/ld-pru/reloc_symbol.s
create mode 100644 ld/testsuite/ld-pru/u16.d
create mode 100644 ld/testsuite/ld-pru/u16.s
create mode 100644 ld/testsuite/ld-pru/u16_symbol.s
create mode 100644 opcodes/ChangeLog-2016
create mode 100644 opcodes/pru-dis.c
create mode 100644 opcodes/pru-opc.c
First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 1852129..1e9a495 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-12-31 Alan Modra <amodra@gmail.com>
+
+ * config.sub: Import from upstream.
+
2016-12-08 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 38f7d39..420f1fc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,4097 +1,27 @@
-2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
+2017-01-02 Alan Modra <amodra@gmail.com>
- * bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Revert
- 2016-02-23 change and remove EI_ABIVERSION 5 support.
+ * elf32-hppa.c (ensure_undef_weak_dynamic): New function.
+ (allocate_plt_static, allocate_dynrelocs): Use it.
-2016-12-23 Alan Modra <amodra@gmail.com>
+2017-01-02 Alan Modra <amodra@gmail.com>
- * linker.c (generic_link_check_archive_element): Call target
- bfd_link_add_symbols to add element symbols.
+ * elf-hppa.h (elf_hppa_fake_sections): Set SHF_INFO_LINK for
+ .PARISC.unwind section.
-2016-12-23 Alan Modra <amodra@gmail.com>
+2017-01-02 Alan Modra <amodra@gmail.com>
- * linker.c (generic_link_add_symbols): Delete. Merge into..
- (_bfd_generic_link_add_symbols): ..here.
- (generic_link_check_archive_element_no_collect): Delete.
- (generic_link_check_archive_element_collect): Likewise.
- (generic_link_add_object_symbols): Remove "collect" param. Update
- callers.
- (generic_link_add_symbol_list): Likewise.
- (generic_link_check_archive_element): Likewise. Call
- bfd_link_add_symbols rather than generic_link_add_object_symbols.
- * libbfd-in.h (_bfd_generic_link_add_symbols_collect): Delete.
- * libbfd.h: Regenerate.
+ PR ld/20989
+ * elfxx-sparc.c (gdop_relative_offset_ok): New function.
+ (_bfd_sparc_elf_relocate_section): Use it to validate GOT
+ indirect to GOT pointer relative code edit.
-2016-12-23 Alan Modra <amodra@gmail.com>
-
- PR binutils/20464
- PR binutils/14625
- * configure.ac: Revert 2016-05-25 configure change setting
- want_64_bit_archive for mips64 and s390x. Revise USE_64_BIT_ARCHIVE
- description.
- * configure: Regenerate.
- * config.in: Regenerate.
-
-2016-12-23 Tristan Gingold <gingold@adacore.com>
-
- * version.m4: Bump version to 2.28.51
- * configure: Regenerate.
-
-2016-12-23 Tristan Gingold <gingold@adacore.com>
-
- * po/bfd.pot: Regenerate.
-
-2016-12-22 Alan Modra <amodra@gmail.com>
-
- * libbfd-in.h (_bfd_vms_lib_slurp_armap): Use _bfd_noarchive function.
- (_bfd_vms_lib_slurp_extended_name_table: Likewise.
- (_bfd_vms_lib_construct_extended_name_table: Likewise.
- (_bfd_vms_lib_truncate_arname: Likewise.
- (_bfd_vms_lib_write_armap: Likewise.
- (_bfd_vms_lib_read_ar_hdr: Likewise.
- (_bfd_vms_lib_write_ar_hdr: Likewise.
- * libbfd.h: Regenerate.
-
-2016-12-21: Yury Norov <ynorov@caviumnetworks.com>
- Andreas Schwab <schwab@suse.de>
-
- * cpu-aarch64.c: Fix word and address size declaration in
- ilp32 mode in bfd_arch_info_type bfd_aarch64_arch_ilp32
- structure.
-
-2016-12-20 Andrew Waterman <andrew@sifive.com>
-
- * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Use
- EF_RISCV_FLOAT_ABI_SOFT instead of EF_RISCV_SOFT_FLOAT.
-
-2016-12-20 Andrew Waterman <andrew@sifive.com>
-
- * elfnn-riscv.c (bfd_riscv_get_max_alignment): Return bfd_vma
- instead of unsigned int.
-
-2016-12-20 Andrew Waterman <andrew@sifive.com>
- Kuan-Lin Chen <kuanlinchentw@gmail.com>
-
- * reloc.c (BFD_RELOC_RISCV_TPREL_I): New relocation.
- (BFD_RELOC_RISCV_TPREL_S): Likewise.
- (BFD_RELOC_RISCV_RELAX): Likewise.
- (BFD_RELOC_RISCV_CFA): Likewise.
- (BFD_RELOC_RISCV_SUB6): Likewise.
- (BFD_RELOC_RISCV_SET8): Likewise.
- (BFD_RELOC_RISCV_SET8): Likewise.
- (BFD_RELOC_RISCV_SET16): Likewise.
- (BFD_RELOC_RISCV_SET32): Likewise.
- * elfnn-riscv.c (perform_relocation): Handle the new
- relocations.
- (_bfd_riscv_relax_tls_le): Likewise.
- (_bfd_riscv_relax_align): Likewise.
- (_bfd_riscv_relax_section): Likewise.
- (howto_table): Likewise.
- (riscv_reloc_map): Likewise.
- (relax_func_t): New type.
- (_bfd_riscv_relax_call): Add reserve_size argument, which
- controls the maximal offset pessimism. Correct type of max_alignment.
- (_bfd_riscv_relax_lui): Likewise.
- (_bfd_riscv_relax_tls_le): Likewise.
- (_bfd_riscv_relax_align): Likewise.
- (_bfd_riscv_relax_section): Compute the required reserve size
- when relocating and use it to when calling relax_func.
- * bfd-in2.h: Regenerate.
- * libbfd.h: Likewise.
-
-2016-12-20 Andrew Waterman <andrew@sifive.com>
-
- * elfnn-riscv.c: Formatting and comment fixes throughout.
- * elfxx-riscv.c: Likewise.
- (howto_table): Change the src_mask field from MINUS_ONE to 0 for
- R_RISCV_TLS_DTPMOD32, R_RISCV_TLS_DTPMOD64, R_RISCV_TLS_DTPREL32,
- R_RISCV_TLS_DTPREL64, R_RISCV_TLS_TPREL32, R_RISCV_TLS_TPREL64.
-
-2016-12-20 Palmer Dabbelt <palmer@dabbelt.com>
-
- * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Improve
- error message when linking elf32 and elf64.
-
-2016-12-19 Christian Groessler <chris@groessler.org>
-
- * elf32-arm.c (elf32_arm_popcount): Rename from 'popcount'. Make
- 'sum' local variable signed.
-
-2016-12-16 fincs <fincs.alt1@gmail.com>
-
- * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Add handling
- for info->gc_keep_exported.
- (bfd_elf_gc_sections): Likewise.
-
-2016-12-15 Alan Modra <amodra@gmail.com>
-
- PR ld/20968
- PR ld/20908
- * elflink.c (bfd_elf_final_link): Revert 2016-12-02 change. Move
- reloc counting code later after ELF flavour test.
-
-2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
-
- * bfd-in.h (elf_internal_abiflags_v0): New struct declaration.
- (bfd_mips_elf_get_abiflags): New prototype.
- * elfxx-mips.c (bfd_mips_elf_get_abiflags): New function.
- * bfd-in2.h: Regenerate.
-
-2016-12-14 Yury Norov <ynorov@caviumnetworks.com>
-
- * bfd/elfnn-aarch64.c: fix TLS relaxations for ilp32 where
- TCB_SIZE is used.
-
-2016-12-13 Alan Modra <amodra@gmail.com>
-
- * elf64-hppa.c (elf64_hppa_modify_segment_map): Don't add PHDR
- for objcopy/strip or when a ld script specifies PHDRS.
-
-2016-12-13 Alan Modra <amodra@gmail.com>
-
- * elf32-rx.c (elf32_rx_modify_program_headers): Don't adjust
- segments that include the ELF file header or program headers.
-
-2016-12-08 Alan Modra <amodra@gmail.com>
-
- PR ld/20932
- * elflink.c (bfd_elf_record_link_assignment): Handle warning symbols.
-
-2016-12-07 Nick Clifton <nickc@redhat.com>
-
- PR ld/20932
- * elflink.c (bfd_elf_record_link_assignment): Replace call to
- abort with an error message and error return value.
-
-2016-12-06 Nick Clifton <nickc@redhat.com>
-
- PR binutils/20931
- * elf.c (copy_special_section_fields): Check for an invalid
- sh_link field before attempting to follow it.
-
- PR binutils/20929
- * aoutx.h (squirt_out_relocs): Check for relocs without an
- associated symbol.
-
-2016-12-06 Alan Modra <amodra@gmail.com>
-
- * elf64-ppc.c (ok_lo_toc_insn): Add r_type param. Recognize
- lq,lfq,lxv,lxsd,lxssp,lfdp,stq,stfq,stxv,stxsd,stxssp,stfdp.
- Don't match lmd and stmd.
-
-2016-12-05 Alyssa Milburn <amilburn@zall.org>
-
- * elfxx-sparc.c: Do not stop processing relocations after
- partially relaxing a call with WDISP30.
-
-2016-12-05 Nick Clifton <nickc@redhat.com>
-
- PR binutils/20905
- * peicode.h (pe_ILF_object_p): Use strnlen to avoid running over
- the end of the string buffer.
-
- PR binutils/20907
- * peicode.h (pe_ILF_build_a_bfd): Replace abort with error return.
-
- PR binutils/20921
- * aoutx.h (squirt_out_relocs): Check for and report any relocs
- that could not be recognised.
-
- PR binutils/20922
- * elf.c (find_link): Check for null headers before attempting to
- match them.
-
- PR ld/20925
- * aoutx.h (aout_link_add_symbols): Replace BFD_ASSERT with return
- FALSE.
-
- PR ld/20924
- (aout_link_add_symbols): Fix off by one error checking for
- overflow of string offset.
-
-2016-12-03 Alan Modra <amodra@gmail.com>
-
- * elf64-ppc.c (struct ppc_link_hash_entry): Delete "was_undefined".
- (struct ppc_link_hash_table): Delete "twiddled_syms". Add
- "need_func_desc_adj".
- (lookup_fdh): Link direct fdh sym via oh field and set flags.
- (make_fdh): Make strong and weak undefined function descriptor
- symbols.
- (ppc64_elf_merge_symbol): New function.
- (elf_backend_merge_symbol): Define.
- (ppc64_elf_archive_symbol_lookup): Don't test undefweak for fake
- function descriptors.
- (add_symbol_adjust): Don't twiddle symbols to undefweak.
- Propagate more ref flags to function descriptor symbol. Make
- some function descriptor symbols dynamic.
- (ppc64_elf_before_check_relocs): Only run add_symbol_adjust for
- ELFv1. Set need_func_desc_adj. Don't fix undefs list.
- (ppc64_elf_check_relocs): Set non_ir_ref for descriptors.
- Don't call lookup_fdh here.
- (ppc64_elf_gc_sections): New function.
- (bfd_elf64_bfd_gc_sections): Define.
- (ppc64_elf_gc_mark_hook): Mark descriptor.
- (func_desc_adjust): Don't make fake function descriptor syms strong
- here. Exit earlier on non-dotsyms. Take note of elf.dynamic
- flag when deciding whether a dynamic function descriptor might
- be needed. Transfer elf.dynamic and set elf.needs_plt. Move
- plt regardless of visibility. Make descriptor dynamic if
- entry sym is dynamic, not for other cases.
- (ppc64_elf_func_desc_adjust): Don't run func_desc_adjust if
- already done.
- (ppc64_elf_edit_opd): Use oh field rather than lookup_fdh.
- (ppc64_elf_size_stubs): Likewise.
- (ppc_build_one_stub): Don't clear was_undefined. Only set sym
- undefweak if stub symbol is defined.
- (undo_symbol_twiddle, ppc64_elf_restore_symbols): Delete.
- * elf64-ppc.h (ppc64_elf_restore_symbols): Don't declare.
-
-2016-12-03 Alan Modra <amodra@gmail.com>
-
- * elf64-ppc.c (ppc64_elf_hide_symbol): Access hash table as
- elf_link_hash_table rather than ppc_link_hash_table.
-
-2016-12-03 Alan Modra <amodra@gmail.com>
-
- * elf64-ppc.c (add_symbol_adjust): Delete dead code.
-
-2016-12-03 Alan Modra <amodra@gmail.com>
-
- * elf64-ppc.c (add_symbol_adjust): Correct order of tests for
- warning and indirect symbols.
-
-2016-12-03 Alan Modra <amodra@gmail.com>
-
- * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy dynamic
- flags when direct symbol is versioned_hidden.
-
-2016-12-02 Nick Clifton <nickc@redhat.com>
-
- PR ld/20908
- * elflink.c (bfd_elf_final_link): Check for ELF flavour binaries
- when following indirect links.
-
- PR ld/20909
- * aoutx.h (aout_link_add_symbols): Fix off-by-one error in check
- for an illegal string offset.
-
-2016-12-02 Gary Benson <gbenson@redhat.com>
-
- * elf.c (_bfd_elf_make_section_from_shdr): Pass offset to
- elf_parse_notes.
-
-2016-12-02 Josh Conner <joshconner@google.com>
-
- * config.bfd: Add support for fuchsia (OS).
-
-2016-12-01 Yury Norov <ynorov@caviumnetworks.com>
-
- PR ld/20868
- * elfnn-aarch64.c (elfNN_aarch64_tls_relax): Use 32-bit accesses
- to the GOT when operating in 32-bit mode.
-
-2016-12-01 Ma Jiang <ma.jiang@zte.com.cn>
-
- PR ld/16720
- * elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
- test for HI16 relocs.
-
-2016-12-01 Nick Clifton <nickc@redhat.com>
-
- PR binutils/20891
- * aoutx.h (find_nearest_line): Handle the case where the main file
- name and the directory name are both empty.
-
- PR binutils/20892
- * aoutx.h (find_nearest_line): Handle the case where the function
- name is empty.
-
-2016-11-30 Alan Modra <amodra@gmail.com>
-
- * elf.c (get_program_header_size): Revert accidental change.
-
-2016-11-30 Alan Modra <amodra@gmail.com>
-
- PR ld/20886
- * elf64-ppc.c (ppc64_elf_size_stubs): Make rawsize max size seen
- on any pass past STUB_SHRINK_ITER.
-
-2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
-
- * elflink.c (_bfd_elf_fix_symbol_flags): Hide hidden versioned
- symbol in executable.
- (elf_link_output_extsym): Don't change bind from global to
- local when linking executable.
-
-2016-11-28 Nick Clifton <nickc@redhat.com>
-
- PR ld/20815
- * elf.c (phdr_sorter): Delete.
- (assign_file_positions_except_relocs): Do not sort program
- headers.
-
-2016-11-25 Jon Turney <jon.turney@dronecode.org.uk>
-
- PR ld/20193
- * peXXigen.c (rsrc_process_section): Do not shrink the merged
- .rsrc section.
-
-2016-11-24 Jiong Wang <jiong.wang@arm.com>
-
- PR target/20737
- * elf32-arm.c (elf32_arm_final_link_relocate): Bind defined symbol
- locally in PIE.
-
-2016-11-24 Kuan-Lin Chen <kuanlinchentw@gmail.com>
-
- * bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.
-
-2016-11-23 Nick Clifton <nickc@redhat.com>
-
- PR ld/20815
- * elf.c (elf_modify_segment_map): Allow empty LOAD segments if
- they contain the program headers.
- (_bfd_elf_map_sections_to_segments): If the linker created the
- PHDR segment then always attempt to include it in a LOAD segment.
- (assign_file_positions_for_non_load_sections): Allow LOAD segments
- to overlap PHDR segments.
- (phdr_sorter): New function. Sorts program headers.
- (assign_file_positions_except_relocs): Sort the program headers
- before writing them out. Issue an error if the PHDR segment is
- not covered by a LOAD segment, unless the backend allows it.
- * elf-bfd.h (struct elf_backend_data): Add
- elf_backend_allow_non_load_phdr.
- * elfxx-target.h (elf_backend_allow_non_load_phdr): Provide
- default definition that returns FALSE.
- (elfNN_bed): Initialise the elf_backend_allow_non_load_phdr
- field.
- * elf64-hppa.c (elf64_hppa_allow_non_load_phdr): New function.
- Returns TRUE.
- (elf_backend_allow_non_load_phdr): Define.
- * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Do not
- place the interpreter string into the .interp section if the
- nointerp flag is set in the link info structure.
- * elf32-arc.c (elf_arc_size_dynamic_sections): Likewise.
- * elf32-score7.c (score_elf_final_link_relocate): Allow for the
- _gp symbol not being part of the output.
-
-2016-11-23 Alan Modra <amodra@gmail.com>
-
- * elf-bfd.h (struct elf_backend_data): Add dtrel_excludes_plt.
- * elfxx-target.h (elf_backend_dtrel_excludes_plt): Define.
- (elfNN_bed): Init new field.
- * elflink.c (bfd_elf_final_link): Add and use htab variable. Handle
- dtrel_excludes_plt.
- * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_sections): Delete
- DT_RELASZ code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-arc.c (elf_arc_finish_dynamic_sections): Delete DT_RELASZ code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-arm.c (elf32_arm_finish_dynamic_sections): Delete code
- subtracting off plt relocs from DT_RELSZ, DT_RELASZ.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-cr16.c (_bfd_cr16_elf_finish_dynamic_sections): Delete
- DT_RELASZ code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-cris.c (elf_cris_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Delete DT_RELASZ
- and DT_RELA code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-i386.c (elf_i386_finish_dynamic_sections): Delete DT_RELSZ
- and DT_REL code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-lm32.c (lm32_elf_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-m32r.c (m32r_elf_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-m68k.c (elf_m68k_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-metag.c (elf_metag_finish_dynamic_sections): Delete DT_RELASZ
- and DT_RELA code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Delete
- DT_RELASZ and DT_RELA code. Use ELF htab shortcuts for other
- dynamic sections.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-mips.c (elf_backend_dtrel_excludes_plt): Define.
- * elf32-nds32.c (nds32_elf_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-or1k.c (or1k_elf_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-ppc.c (ppc_elf_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-sh.c (sh_elf_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-sparc.c (elf_backend_dtrel_excludes_plt): Define.
- * elf32-vax.c (elf_vax_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Delete DT_RELASZ
- and DT_RELA code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections): Delete
- DT_RELASZ code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elfnn-ia64.c (elfNN_ia64_finish_dynamic_sections): Delete DT_RELASZ
- code.
- (elf_backend_dtrel_excludes_plt): Define.
- * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Delete
- DT_RELASZ code.
- * elfxx-sparc.c (sparc_finish_dyn): Delete DT_RELASZ code.
-
-2016-11-23 Alan Modra <amodra@gmail.com>
-
- * elf-m10300.c (mn10300_elf_check_relocs): Use elf htab shortcuts
- to dynamic sections.
- (mn10300_elf_final_link_relocate): Likewise.
- (_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise.
- (_bfd_mn10300_elf_size_dynamic_sections): Likewise.
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-12-17 15:04 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-12-17 15:04 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via e5a9dc602b2337032f812bf9b5462d981eeef82a (commit)
via ddb9ad345c9b4a8cfe2c9a71190ecf408454e745 (commit)
via 97f00e367c8222cda51bc7c0e9d3073a487a5976 (commit)
via db7b55faa1a11e632ddf57505c9bb64bc783471a (commit)
via 221855059a11ab76aa909a5df4104354f9384139 (commit)
via 4c4067e410581fe5c6190407b4fd410e7b71f9e4 (commit)
via a961cdd5f139d3c3e09170db52bd8df7dafae13f (commit)
via 02aa377fbdd17b763b1e32ad72ccfd1c617ce463 (commit)
via cadf97cf20cf76af35e41075dff81197fbec0e51 (commit)
via 5e7fc731f80e0d08385a05ad47dda332a49d9341 (commit)
via 8184783a4069e04deb2e43b4ad0d66d80f1ad2df (commit)
via eefc3365838ed15c02bd7da39fbc31c00d07b398 (commit)
via 353abf7c10561aab3e8e7ffce6e270c3743376f0 (commit)
via 63e014fccdd91a89873554f6b33d7128d7112813 (commit)
via c1fc2d7ee590f3bc87ee79c36e7216b0b6bb054b (commit)
via 7acd51d6971f12b832cd7281f669a7ae7feddf45 (commit)
via 98fa61facff8fb041205950d642f5403372bfd96 (commit)
via a02c3512655cc2c8ad68e4b656959b7d284acc7d (commit)
via 6650f7bd18f8161b9f666d3e65a6346e23a9d85f (commit)
via fc8e0108db6c60f2ecefb4004cddb94e8824fd42 (commit)
via 591be3e4a841ac56bb3ee094447b708d58a6d4b8 (commit)
via 03fb64f837bd8466ba6e7b7cb8880f5c6c87daab (commit)
via a6a51754740513db76fdee3aa153cdd51e87a24a (commit)
via aa785360cfa271505394080c8e367017782ca57a (commit)
via 963201cf5d29c4dc718b5fb3507e085b302ff896 (commit)
via 9282b95ab7bfe1cdf471e9dd609ae0ea7bbed925 (commit)
via 971f1d27d2ee2732f9ab2fa75923007b40e2bbec (commit)
via 1bec0c8632397f3c5cdcf27bbb53318f6a6af7e0 (commit)
via 1336427510a5ffe7ed8f0c402cc9d315cc679952 (commit)
via bfbf34de2f27672282d4fa4c0916cc41890dcc6c (commit)
via d81222d3863037a90e0402cf438f7e45600feea2 (commit)
via 75c6202b1d13b892581e8dd56b8e0664815390c1 (commit)
via 22b05d33b4c870d65972ff8aefdd297ddc66d139 (commit)
via 6392030005291f7c783da2247b63ae31dc8352e0 (commit)
via ea0ffd5be2dfd6ee696fc15294d7b2bf29f267a7 (commit)
via d32a48b9f2d8a374b7ce3f2c47cc9a1c3b184838 (commit)
via 88acc2e16743fc1e6384758c9a68cd6d2a8bbd46 (commit)
via d36cab83a963f5bb3773e0218cc02f63b0851d0b (commit)
via 029e9d52de3ac7fe984dc079ebd24506fd1eace7 (commit)
via 3a0b8f7ddb874283879baaf8af6d11094f4c4999 (commit)
via cc90de49738ad220bd1d3d001b492679fc488fe1 (commit)
via 5d9f66cb84b9f228c1082d3a1037355edceddded (commit)
via e83563a9ed0dd6ccc415c4b0cce373fc3264b7a5 (commit)
via 98fdf25a43abdad5784e762466fdd7bd59b0899e (commit)
via ec6f610ffcc411237e9f8955dd2227cefd255af2 (commit)
via 4783ebbcfa35032ac2742f403258a14b647d9ba6 (commit)
via 64c111834081a117f902cffc15dadbc535f1c65e (commit)
via f17ecb4baca990b57cc57e8337c4e03ecee02742 (commit)
via 55af478400524cba7994e353fd9a98ef1543df2f (commit)
via 1736a7bd96e8927c3f889a35f9153df4fd19d833 (commit)
via f94f411b8308674eb4f790a9fcad0ffa30b568e5 (commit)
via a28aa6edd4ba848c110cd73fd4e29c2bbdb2cb72 (commit)
via 1a31b34a18d61dee55042f2ab23c8fa9203fe6ef (commit)
via f1b5deee16144a75aa605bf37ed38d461587d399 (commit)
via fc2f703edb656c69b0026a006c6063cdb255e06a (commit)
via 198cd59d289209ad63cdd6da45e02a1c12b423a7 (commit)
via 364ca42e71dfdce3f34e97ef028f7e3d5b5d880e (commit)
via c752a4cccb99ba73f51eff74b394dcdcd26d4c59 (commit)
via 53488a6e194af11c2528e5e284facb8a6171b695 (commit)
via cfccf141f0db8de28ba21a8920939c30e123d73e (commit)
via 39f66f3ae25ebd3a065218ce880280fd5b4b861c (commit)
via 860b03a8f357d1565bd9d79ae25121059b2d28ae (commit)
via 731f7c4ea30cc409c45412eec15e3d66afe051f5 (commit)
via bf355b690f07315bf2704e349c4f1c9ca611f031 (commit)
via 329d01f70ea6367a9593c9b31e268c06dd729ec9 (commit)
via 3a2488dd21a895df3ffb49048f5de1a83ce2ddd4 (commit)
via 1d262527cf7ef3cdd2c015dc3540b47996e94d37 (commit)
via 980d0cdd2fc40c30f3ddef644659d7d0dc00ed40 (commit)
via 69a2af1016e03239f7af4e55268bd27fc500f800 (commit)
via da17fe9de923fcee29e6f809693eb7e590966575 (commit)
via 8e2a4f11d477986aa360a3b588d35a194efe58f8 (commit)
via c3187fa5cc72734e6fc766a85d657018c0516bad (commit)
via 21389b7f3451a482e14fef9bd32257c4c87f4317 (commit)
via 0947023d1d4b5d8803a1065d622f707010b2bcdc (commit)
via 785102a7d34f2d48f9a1616bf931fea6de2385fb (commit)
via a9617a426d001a748168fbc399fcc77e6d8d3cac (commit)
via e9e431d19426a6dd6b8923850398b847af0a1532 (commit)
via e2f9914792465953ca945333d0cbedf0b2d7b3d6 (commit)
via 14f6890677849172a4b13779acd9089c9baa3a81 (commit)
via 4b0781150f69b6ff251dac447c77e4d4f6598da8 (commit)
via 5f5c6e032e8d5303e9903c0538f84f76bb4d8733 (commit)
via 343fa6906329eb5ec070cf2c05884e49a1cb9d46 (commit)
via 6725647ca2a0adc9206059814725102b53ea6478 (commit)
via b8760d2cb51517789110c7b2dbd8f61dce08291d (commit)
via be0fcbee1d47558af13288c6aece922dd4be6df5 (commit)
via c2596ca5d7f6ab6d38882bf0f0fc44fe352afcb1 (commit)
via 1c3a5fbe155614a0f87079b953df0d7618e0ab50 (commit)
via a5018ae555cdf491005907c03f997558ba15fc47 (commit)
via dc60b26d983494a3cdec0d4f167ed98fde1a832a (commit)
via 86a6934561f0048624f3ff83f5d3c2565514f0aa (commit)
via 5590c2bae0fb41e90bc9698e55d8ec1fe22a9173 (commit)
via 4f3ca05b487e9755018b4c9a053a2e6c35d8a7df (commit)
via 8b929e420a810afe23d5ba57a98109c74d1d5816 (commit)
via 92744f058094edd0b29bf9762f4ac26e4c6743c2 (commit)
via 5eecd8621b955fb99860fc1b0d87074071f42f72 (commit)
via 005304aae36522a90bbe169faea36db559d0f3d6 (commit)
via 7c2ba67e6ab10879968c938aefd4d0d0b4ce79bc (commit)
via 5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7 (commit)
via 39eeab253474493bc9477dbb2bd9c8041f05764b (commit)
via fc72affa6875e81fc9d495a216a8bcb34045ffcd (commit)
via e99f7af2bfbdb08c9cc454d6e5c82e70d34b957e (commit)
via efe4db3f06b77934bd81f393194e0fdcfeecf811 (commit)
via 82d93790a85300d8452450b6d43efb6b15b53788 (commit)
via f49547a604b4dd2c75e3636d4a422d52edc4fa6c (commit)
via 14c1428b29fff12d8119ce6f4703be0de08197af (commit)
via fa6631b4eecfcca00c13b9594e6336dffd40982f (commit)
via 406bd128dba2a59d0736839fc87a59bce319076c (commit)
via 9b5481c63ab5e1e66e8f23681741039754eabcce (commit)
via 52c4f3bdd5957a31b671a9791f462be5e8eadd85 (commit)
via e2996cc315d6ea242e1a954dc20246485ccc8512 (commit)
via c28eeff2eabbba2246799470f3713716fa629680 (commit)
via 0691188992efa4afab80bfdf966479bc331ce0a4 (commit)
via 49e8a725825c77aacc7458b9d7771cb2fa2f64c7 (commit)
via a12fd8e1b1c9c6a16e3cc9fc477d7e459776b587 (commit)
via 597e138ca0cf96889a1965d06d28552c1d1174d2 (commit)
via a55c9876bb111fd301b4762cf501de0040b8f9db (commit)
via 88add6d8e794073758b5398c52bbb76ab40a2923 (commit)
via daae68f4f372e0618d6b9c64ec0f1f74eae6ab3d (commit)
via 39d4daf68e696bbf2db417abe677b2e68f3aace9 (commit)
via e9a1e93ecab4e67aacb9cd6a5a953c8c0bc23027 (commit)
via df9236f89620c3897b2257854b9a4eedc89217ba (commit)
via 668650d58d61d9d170f3e5b5c1657ed1c3e2b34b (commit)
via 4132f1c0dfe6bb8984c0dd521388ba6b7b32a4af (commit)
via 8c5b4e5228ec94923fbdfb0008926b0b2a3f51c2 (commit)
via 4e95fbcd79b84308417fc25ce12cacdb2a61c0d0 (commit)
via ca16c5b392b1c78019fea1710c4f4433161626c5 (commit)
via f522190fa7f04a8d9a1dfc51d0cf69973c08afb5 (commit)
via b8ac28419be22fe0cc72f6eaaba1ab029610fc71 (commit)
via 35dc6e06960790cd60b890c14e45f82f110b898f (commit)
via 8400d40d954ec3b4a3fe9200645a1b6e90ba46f4 (commit)
via 474436e67c72d2426e79e600d725812514db0dbe (commit)
via 4193bc588b4e66da0ed502eaef6e7ce85272fb42 (commit)
via 10c56208ee8ce4d51de64277207b84a5d1be8c95 (commit)
via bef721e278d9ba3178e679eda38ac86ef2dc0d5d (commit)
via 107c2d628b924de1854d6d254d60e97e1887ce4a (commit)
via df3ee9ca894f7e831713c332aa7820a6463c2435 (commit)
via ec835369f121c11d6e9484ed8c6c11097ad545c5 (commit)
via 01770bbde902e075e524b518ac6c1087a4cc1cfb (commit)
via 7ed7e438bf8a21983eeaeec0617868f8bab06197 (commit)
via d7f399a8de4c55eb841db6493597a587fac002de (commit)
via 008459ea88ad4fdcb7da37dad7f68888ef6ecc47 (commit)
via 531336e3a0b79ed60cfc36ad2d6579b6a71175da (commit)
via 0c1b455e294c6debb4efedc7f1346f3c43249f15 (commit)
via f5ac6ab387ef0974f6348ac7febc691fbb6c0eb4 (commit)
via a9752fdf83985f62a0c343311a9cb42ad13f9876 (commit)
via e5a873b7071d74320d4e0cbbc2f358dcf2322557 (commit)
via fe6fae079099c0eeb3186086d6b150800c0e8770 (commit)
via 233c8c27eb81b0a3ab5182dcb59c7306ba9bd3f3 (commit)
via 68c638d6e655a937a48770a5df765e6ebbc5b890 (commit)
via 08698b7b46c9c932530dcbcd7e851d27a7d2c503 (commit)
via d5451cd45325d12b2cc3d10ffe67f09b0e26b967 (commit)
via 432ec0814b01a93b88eddf13092ea6abef34652d (commit)
via 4d9a9006139d1ceea787cdda871dff8943e493f0 (commit)
via 018572b88885ae67d22612937fa1e4fd98d5f5ad (commit)
via 397b8d2a9fb6651924c311f41b90cabeb3fc3ae9 (commit)
via be2884c1ea9b96fdb04c6d244d9e7aa1b654a47a (commit)
via 376c3ecd17d0636bcf4e527c2e2ca2f94822fe64 (commit)
via 6a67d49e559b432ead2859e9bb327852adb53112 (commit)
via 36d18bc526b055be896d8dc319cb3ade42238534 (commit)
via 77a179e77b38161e461f5e37512f0b3fc3582181 (commit)
via 33b2fac610fff1255a24763277a4bf77f1b59ef1 (commit)
via 909c0aa5824080c287b390f82726cf5bfb7011e3 (commit)
via 37e20dd6599203c4e261fc3a2e86711c90cbbed9 (commit)
via c5209615263fd0444da28cdfb6661ad287909a70 (commit)
via 78afa7f8599e46eb94a93510b383dfb35e549f7e (commit)
via 0f1254327820d7b3f67f873aa40e76679f067288 (commit)
via 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e (commit)
via fb9feb35913d4cf26baf01e1638b18af301f5387 (commit)
via cd2ddb6cde55a20d191e1002dbe1977df695cda9 (commit)
via bb95117e107fe58ecd35683bf0e8da3b414378ff (commit)
via de97fdd4a05cd7ad0b05444f1721f26c1ad9322f (commit)
via 9f058c10cef5987ee1f1cb28c9a8cf5ef1ec4d11 (commit)
via cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c (commit)
via bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69 (commit)
via 88256e713c707aeb850688071150d32f9cca5a91 (commit)
via 88ddd4a1ef8818984f87f574b424ccdc7db19660 (commit)
via 69ace2200106348a1b00d509a6a234337c104c17 (commit)
via 4cbd84083ea89e870526ed0c80d462084887ba6e (commit)
via 4ee1d7e401a8c1aedfdc86aac7faa8267eab1e5c (commit)
via cec4b2e3fee8ae2c41089fc7454da56f676f653c (commit)
via 5cd1d8bcc24e948e86a636161e6d72f6316545a7 (commit)
via 40a0bfddf07620f5321927b3231502debb3b73bc (commit)
via e82ab856bb4689330c29fb9f1c57a8555b26380e (commit)
via 6d6ad65b43efa17a825702297331fcb290445a18 (commit)
via a37a2806e3289294ed214aed3c8a45db46026b39 (commit)
via 50455f1ab2935f7321215dfa681745c9b1cb5b19 (commit)
via 95a23284a3db0ec85bb0b11c70e6b5acf00563f6 (commit)
via b9b118c3bb29052ee76c6bf32b99962cda5113ba (commit)
via 4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277 (commit)
via 56df3084847984aeddd8c24ca997242ec8c5a369 (commit)
via 5486f16481dffa1c1a0d1fd9e38b97e3678078ed (commit)
via 5084b13657023904cb60737abdf4cefb539a5fc4 (commit)
via ad02e4fe877f3a874145dd045626501245e65624 (commit)
via 7913a64cab3930fe524f0e38f85cfca11bd52dcb (commit)
via e9a38e0f5287ce7b4629f5f923191e38dd7355c0 (commit)
via 502d895cd1ca5d4abf4ef55984cbf5239aeaef0c (commit)
via ea3d7d1cab4221ab729327bb4d957352c79d05f0 (commit)
via f0e9390be5bbfa3ee777d81dacfccd713ebddb68 (commit)
via abe7c33b45288b407e6d001aad713183d4bab5c6 (commit)
via ee881e5d3312ea5396bddc37e8673b77bf549b4b (commit)
via 0a0640e3ba9a668c4c317520c48246e1cc8d75ca (commit)
via aec6cd371d194f93cb7651c219b75eed05bdda98 (commit)
via 268ebe95201d2ebdcf68cad9dc67ff6d1e25be9e (commit)
via 157686a88644b111658c661fc225881e75f3b0db (commit)
via cd58485720b47d80fed0b281d15a9198f43eaf0c (commit)
via abfcb414b9900ef996b1665323a950610dbdca43 (commit)
via 1a0884415891b197972f8acf59131c3c9376807f (commit)
via 7dc54575d91a2b41f6c3e838eec44a7017a24436 (commit)
via ee40d8d45213caf0cfb63e603f0fd5a58532e751 (commit)
via 4deb8f714d555a2f530e37c3e7af32bc42fdda58 (commit)
from 72b1c453cd44cb3c0d4e42a3d319f6b464c919cf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit e5a9dc602b2337032f812bf9b5462d981eeef82a
Merge: 72b1c45 ddb9ad3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 17 16:00:56 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit ddb9ad345c9b4a8cfe2c9a71190ecf408454e745
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Dec 17 00:00:25 2016 +0000
Automatic date update in version.in
commit 97f00e367c8222cda51bc7c0e9d3073a487a5976
Author: Bernhard Heckel <bernhard.heckel@intel.com>
Date: Thu Dec 15 14:04:11 2016 +0100
Darwin: Fix gdb compilation.
Due to changes introduced by
commit 4d01a485d29732b19743e8b138897f3509e071b0
('struct expression *' -> gdb::unique_xmalloc_ptr<expression>)
compilation is broken on Darwin.
../gdb/darwin-nat-info.c:733:8: error: assigning to 'struct expression *'
from incompatible type
'expression_up' (aka 'std::__1::unique_ptr<expression, gdb::xfree_deleter<expression> >')
expr = parse_expression (exp);
Beside compilation, memory leak was solved as 'make_clean_up' was not called in previous
version.
2016-12-16 Bernhard Heckel <bernhard.heckel@intel.com>
gdb/Changelog:
* darwin-nat-info.c (info_mach_region_command): Use expression_up.
commit db7b55faa1a11e632ddf57505c9bb64bc783471a
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Dec 16 10:59:36 2016 +0000
Fix compile time warning building arm-dis.c
commit 221855059a11ab76aa909a5df4104354f9384139
Author: fincs <fincs.alt1@gmail.com>
Date: Fri Dec 16 13:42:02 2016 +1030
Implement and document --gc-keep-exported
include/
* bfdlink.h (struct bfd_link_info): Add gc_keep_exported.
bfd/
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Add handling
for info->gc_keep_exported.
(bfd_elf_gc_sections): Likewise.
ld/
* ld.texinfo: Document --gc-keep-exported.
* ldlex.h (enum option_values): Add OPTION_GC_KEEP_EXPORTED.
* lexsup.c (parse_args): Add handling for --gc-keep-exported.
commit 4c4067e410581fe5c6190407b4fd410e7b71f9e4
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Fri Dec 16 00:00:26 2016 +0000
Automatic date update in version.in
commit a961cdd5f139d3c3e09170db52bd8df7dafae13f
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 15 21:29:44 2016 +1030
Linking non-ELF file broken by PR20908 fix
PR ld/20968
PR ld/20908
* elflink.c (bfd_elf_final_link): Revert 2016-12-02 change. Move
reloc counting code later after ELF flavour test.
commit 02aa377fbdd17b763b1e32ad72ccfd1c617ce463
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Dec 15 00:00:24 2016 +0000
Automatic date update in version.in
commit cadf97cf20cf76af35e41075dff81197fbec0e51
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 14 22:17:05 2016 +0000
MAINTAINERS: Add myself as a MIPS maintainer
* MAINTAINERS (Maintainers for particular sims): Add myself as
a MIPS maintainer.
commit 5e7fc731f80e0d08385a05ad47dda332a49d9341
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 14 21:49:56 2016 +0000
MIPS/opcodes: Also set disassembler's ASE flags from ELF structures
Respect any ASE flags recorded in ELF file structures for the purpose of
selecting instructions to be disassembled, preventing code from being
hex-dumped even though having been clearly indicated as valid at the
assembly time. Use date from the MIPS ABI flags structure if present,
and otherwise there may be an MDMX ASE flag set in the ELF file header.
For backwards compatibility only set extra flags and do not clear any,
preserving all previously set by the architecture selected to be
disassembled for.
include/
* elf/mips.h (Elf_Internal_ABIFlags_v0): Also declare struct
typedef as `elf_internal_abiflags_v0'.
bfd/
* bfd-in.h (elf_internal_abiflags_v0): New struct declaration.
(bfd_mips_elf_get_abiflags): New prototype.
* elfxx-mips.c (bfd_mips_elf_get_abiflags): New function.
* bfd-in2.h: Regenerate.
opcodes/
* mips-dis.c (mips_convert_abiflags_ases): New function.
(set_default_mips_dis_options): Also infer ASE flags from ELF
file structures.
binutils/
* testsuite/binutils-all/mips/mips-ase-1.d: New test.
* testsuite/binutils-all/mips/mips-ase-2.d: New test.
* testsuite/binutils-all/mips/mips-ase-3.d: New test.
* testsuite/binutils-all/mips/mips-ase-1.s: New test source.
* testsuite/binutils-all/mips/mips-ase-2.s: New test source.
* testsuite/binutils-all/mips/mips.exp: Run the new tests.
commit 8184783a4069e04deb2e43b4ad0d66d80f1ad2df
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 14 21:27:00 2016 +0000
MIPS/opcodes: Reorder ELF file header flag handling in disassembler
Move ELF file header flag interpretation code, used to set disassembler
options, beyond architecture setup. No functional change as the effects
of both code sections are disjoint from each other, but this provides
for a further expansion of ELF file header flag interpretation.
opcodes/
* mips-dis.c (set_default_mips_dis_options): Reorder ELF file
header flag interpretation code.
commit eefc3365838ed15c02bd7da39fbc31c00d07b398
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 14 21:20:01 2016 +0000
MIPS16/GAS: Fix assertion failures with relocations on 16-bit instructions
Complement commit c9775dde3277 ("MIPS16: Add R_MIPS16_PC16_S1 branch
relocation support)" and report an assembly error when a relocation is
required for an instruction, currently a branch only, that has been
forced to use its unextended encoding, either with the use of an
explicit `.t' mnemonic suffix, or by means of `.set noautoextend' being
active, fixing an assertion failure currently caused instead.
gas/
* config/tc-mips.c (md_convert_frag): Report an error instead of
asserting on `ext'.
* testsuite/gas/mips/mips16-branch-unextended-1.d: New test.
* testsuite/gas/mips/mips16-branch-unextended-2.d: New test.
* testsuite/gas/mips/mips16-branch-unextended-1.s: New test
source.
* testsuite/gas/mips/mips16-branch-unextended-2.s: New test.
* testsuite/gas/mips/mips16-branch-unextended.l: New stderr
output.
* testsuite/gas/mips/mips.exp: Run the new tests.
commit 353abf7c10561aab3e8e7ffce6e270c3743376f0
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 14 21:18:16 2016 +0000
MIPS16: Fix SP-relative SD instruction annotation
Fix the annotation of SP-relative SD instructions incorrectly marked as
reading from the PC rather than SP, which in turn prevented their 16-bit
forms from being scheduled into jump delay slots. This bug has been
there since forever.
opcodes/
* mips16-opc.c (mips16_opcodes): Set RD_SP rather than RD_PC in
`pinfo2' with SP-relative "sd" entries.
gas/
* testsuite/gas/mips/mips16-sprel-swap.d: New test.
* testsuite/gas/mips/mips16-sprel-swap.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new test.
commit 63e014fccdd91a89873554f6b33d7128d7112813
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 14 21:14:33 2016 +0000
MIPS16/opcodes: Fix and clarify MIPS16e commentary
Correct the note about JALRC/JRC being compact jumps rather than
branches, and add a reference from where the remaining MIPS16e additions
live and the jumps used to be too, complementing commit ceb94aa50d68
("Update insn_mo when converting to a MIPS16e compact jump"),
<https://sourceware.org/ml/binutils/2011-06/msg00369.html>.
opcodes/
* mips16-opc.c (mips16_opcodes): Update comments on MIPS16e
compact jumps.
commit c1fc2d7ee590f3bc87ee79c36e7216b0b6bb054b
Author: Yury Norov <ynorov@caviumnetworks.com>
Date: Sat Dec 3 18:50:43 2016 +0530
ld: aarch64: fix TLS relaxation where TCB_SIZE is used
TCB_SIZE is 2*sizeof(void *), which is 0x10 for lp64, and 0x8 for
ilp32. During relaxation, ld goes to do a replace:
bl __tls_get_addr => add R0, R0, TCB_SIZE
But actual implementation is:
bfd_putl32 (0x91004000, contents + rel->r_offset + 4);
Which is equivalent of add x0, x0, 0x10. This is wrong for ilp32.
The possible fix for it is:
bfd_putl32 (0x91000000 | (TCB_SIZE<<10), contents + rel->r_offset + 4);
But ilp32 also needs w-registers, so it's simpler to put proper
instruction in #if/#else condition.
There are 2 such relaxations in elfNN_aarch64_tls_relax(), and so 2 new
tests added for ilp32 mode to test it.
Yury
* bfd/elfnn-aarch64.c: fix TLS relaxations for ilp32 where
TCB_SIZE is used.
* ld/testsuite/ld-aarch64/aarch64-elf.exp: Add tests for the case.
* ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d: New file.
* ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d: New file.
Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
commit 7acd51d6971f12b832cd7281f669a7ae7feddf45
Author: Yury Norov <ynorov@caviumnetworks.com>
Date: Wed Dec 14 11:57:42 2016 +0530
Revert "bfd: aarch64: fix word and arrdess size declaration in ilp32 mode"
This reverts commit a02c3512655cc2c8ad68e4b656959b7d284acc7d.
commit 98fa61facff8fb041205950d642f5403372bfd96
Author: Yury Norov <ynorov@caviumnetworks.com>
Date: Wed Dec 14 11:56:54 2016 +0530
Revert "ld: aarch64: fix TLS relaxation where TCB_SIZE is used"
This reverts commit 6650f7bd18f8161b9f666d3e65a6346e23a9d85f.
commit a02c3512655cc2c8ad68e4b656959b7d284acc7d
Author: Yury Norov <ynorov@caviumnetworks.com>
Date: Fri Dec 9 21:17:01 2016 +0530
bfd: aarch64: fix word and arrdess size declaration in ilp32 mode
commit 6650f7bd18f8161b9f666d3e65a6346e23a9d85f
Author: Yury Norov <ynorov@caviumnetworks.com>
Date: Sat Dec 3 18:50:43 2016 +0530
ld: aarch64: fix TLS relaxation where TCB_SIZE is used
TCB_SIZE is 2*sizeof(void *), which is 0x10 for lp64, and 0x8 for
ilp32. During relaxation, ld goes to do a replace:
bl __tls_get_addr => add R0, R0, TCB_SIZE
But actual implementation is:
bfd_putl32 (0x91004000, contents + rel->r_offset + 4);
Which is equivalent of add x0, x0, 0x10. This is wrong for ilp32.
The possible fix for it is:
bfd_putl32 (0x91000000 | (TCB_SIZE<<10), contents + rel->r_offset + 4);
But ilp32 also needs w-registers, so it's simpler to put proper
instruction in #if/#else condition.
THere are 2 such relaxations in elfNN_aarch64_tls_relax(), and so 2 new
tests added for ilp32 mode to test it.
Yury
commit fc8e0108db6c60f2ecefb4004cddb94e8824fd42
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Dec 14 00:00:23 2016 +0000
Automatic date update in version.in
commit 591be3e4a841ac56bb3ee094447b708d58a6d4b8
Author: Cary Coutant <ccoutant@gmail.com>
Date: Tue Dec 13 13:01:13 2016 -0800
Add --orphan-handling option.
gold/
PR gold/20749
* options.h (--orphan-handling): New option.
(General_options::Orphan_handling): New enum.
(General_options::orphan_handling_enum): New method.
(General_options::set_orphan_handling_enum): New method.
(General_options::orphan_handling_enum_): New data member.
* options.cc (General_options::General_options): Initialize new member.
(General_options::finalize): Convert --orphan-handling argument to enum.
* script-sections.cc (Script_sections::output_section_name): Check it.
commit 03fb64f837bd8466ba6e7b7cb8880f5c6c87daab
Author: Cary Coutant <ccoutant@gmail.com>
Date: Tue Dec 13 11:49:22 2016 -0800
Do not use linker script to place static relocation sections.
gold/
PR gold/20522
* layout.cc (Layout::choose_output_section): Add is_reloc parameter.
Adjust all callers. Do not use linker script for is_reloc sections.
(Layout::layout_reloc): Pass is_reloc == true.
* layout.h (Layout::choose_output_section): Add is_reloc parameter.
commit a6a51754740513db76fdee3aa153cdd51e87a24a
Author: Renlin Li <renlin.li@arm.com>
Date: Tue Dec 13 12:37:18 2016 +0000
[Binutils][AARCH64]Remove Cn register for coprocessor CRn, CRm field
The internal CN register representation for coprocessor fields used in aarch64
sys, sysl instructions are removed in this patch.
After the change, those fields are represented as immediate. Related checks are
added as well.
opcodes/
* aarch64-opc.c (aarch64_opnd_qualifiers): New CR value range
qualifier.
(operand_general_constraint_met_p): Remove case for CP_REG.
(aarch64_print_operand): Print CRn, CRm operand using imm field.
* aarch64-tbl.h (QL_SYS): Use CR qualifier.
(QL_SYSL): Likewise.
(aarch64_opcode_table): Change CRn, CRm operand class and type.
* aarch64-opc-2.c : Regenerate.
* aarch64-asm-2.c : Likewise.
* aarch64-dis-2.c : Likewise.
include/
* opcode/aarch64.h (aarch64_operand_class): Remove
AARCH64_OPND_CLASS_CP_REG.
(enum aarch64_opnd): Change AARCH64_OPND_Cn to AARCH64_OPND_CRn,
AARCH64_OPND_Cm to AARCH64_OPND_CRm.
(aarch64_opnd_qualifier): Define AARCH64_OPND_QLF_CR qualifier.
gas/
* config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
(get_reg_expected_msg): Remove CN register case.
(parse_operands): rewrite parser for CRn, CRm operand.
(reg_names): Remove CN register.
* testsuite/gas/aarch64/diagnostic.s: Add a new test case.
* testsuite/gas/aarch64/diagnostic.l: Adjust error message.
commit aa785360cfa271505394080c8e367017782ca57a
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 13 17:05:20 2016 +0000
PE linker script improvements.
PR ld/19254
* scripttempl/pe.sc (.fini): KEEP this section.
(.gcc_except_table): Likewise.
(.pdata): Also accept .pdata*.
commit 963201cf5d29c4dc718b5fb3507e085b302ff896
Author: Jim Wilson <jim.wilson@linaro.org>
Date: Tue Dec 13 08:35:31 2016 -0800
Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes.
sim/aarch64
* simulator.c (NEG, POS): Move before set_flags_for_add64.
(set_flags_for_add64): Replace with a modified copy of
set_flags_for_sub64.
sim/testsuite/sim/aarch64
* testutils.inc (pass): Move .Lpass to start.
(fail): Move .Lfail to start. Return 1 instead of 0.
(start): Moved .Lpass and .Lfail to here.
* adds.s: New.
* fstur.s: New.
* tbnz.s: New.
commit 9282b95ab7bfe1cdf471e9dd609ae0ea7bbed925
Author: Jiong Wang <jiong.wang@arm.com>
Date: Tue Dec 13 12:52:59 2016 +0000
[AArch64] Recognize R_AARCH64_P32_ABS32 as 32-bit relocation in readelf
binutils/
* readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
commit 971f1d27d2ee2732f9ab2fa75923007b40e2bbec
Author: Jiong Wang <jiong.wang@arm.com>
Date: Tue Dec 13 12:50:17 2016 +0000
[AArch64] Make LD testcases support ILP32 mode
ld/
* testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_lp64_emul): New
function.
(run_dump_test_lp64): New function which pass LP64 mode options to both
assembler and linker when building test binary.
(aarch64elftests): Remove eh-frame-merge test.
(eh-frame-merge-lp64): Restrict eh-frame-merge test to LP64 only.
(run_dump_test): Migrate to run_dump_test_lp64 if the test source was
written for LP64 only.
* testsuite/ld-aarch64/erratum843419.d: Support ILP32 mode.
* testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
* testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
* testsuite/ld-aarch64/farcall-b.d: Likewise.
* testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
* testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
* testsuite/ld-aarch64/farcall-bl.d: Likewise.
* testsuite/ld-aarch64/ifunc-15.d: Likewise.
* testsuite/ld-aarch64/ifunc-16.d: Likewise.
* testsuite/ld-aarch64/ifunc-5a-local.d: Likewise.
* testsuite/ld-aarch64/ifunc-5a.d: Likewise.
* testsuite/ld-aarch64/ifunc-5b-local.d: Likewise.
* testsuite/ld-aarch64/ifunc-5b.d: Likewise.
* testsuite/ld-aarch64/ifunc-5r-local.d: Likewise.
* testsuite/ld-aarch64/ifunc-6a.d: Likewise.
* testsuite/ld-aarch64/ifunc-6b.d: Likewise.
* testsuite/ld-aarch64/ifunc-7a.d: Likewise.
* testsuite/ld-aarch64/ifunc-7b.d: Likewise.
* testsuite/ld-aarch64/ifunc-8.d: Likewise.
* testsuite/ld-aarch64/limit-b.d: Likewise.
* testsuite/ld-aarch64/limit-bl.d: Likewise.
commit 1bec0c8632397f3c5cdcf27bbb53318f6a6af7e0
Author: Jiong Wang <jiong.wang@arm.com>
Date: Tue Dec 13 12:46:35 2016 +0000
[AArch64] Make GAS testcases support ILP32 mode
gas/
* gas/testsuite/gas/aarch64/addsub.d: Support ILP32 mode.
* gas/testsuite/gas/aarch64/advsimd-across.d: Likewise.
* gas/testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
* gas/testsuite/gas/aarch64/advsimd-fp16.d: Likewise.
* gas/testsuite/gas/aarch64/advsimd-misc.d: Likewise.
* gas/testsuite/gas/aarch64/advsisd-copy.d: Likewise.
* gas/testsuite/gas/aarch64/advsisd-misc.d: Likewise.
* gas/testsuite/gas/aarch64/alias.d: Likewise.
* gas/testsuite/gas/aarch64/armv8-ras-1.d: Likewise.
* gas/testsuite/gas/aarch64/b_1.d: Likewise.
* gas/testsuite/gas/aarch64/beq_1.d: Likewise.
* gas/testsuite/gas/aarch64/bitfield-dump: Likewise.
* gas/testsuite/gas/aarch64/bitfield-no-aliases.d: Likewise.
* gas/testsuite/gas/aarch64/codealign.d: Likewise.
* gas/testsuite/gas/aarch64/codealign_1.d: Likewise.
* gas/testsuite/gas/aarch64/crc32-directive.d: Likewise.
* gas/testsuite/gas/aarch64/crc32.d: Likewise.
* gas/testsuite/gas/aarch64/crypto-directive.d: Likewise.
* gas/testsuite/gas/aarch64/crypto.d: Likewise.
* gas/testsuite/gas/aarch64/dwarf.d: Likewise.
* gas/testsuite/gas/aarch64/float-fp16.d: Likewise.
* gas/testsuite/gas/aarch64/floatdp2.d: Likewise.
* gas/testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
* gas/testsuite/gas/aarch64/fp-const0-parse.d: Likewise.
* gas/testsuite/gas/aarch64/fp_cvt_int.d: Likewise.
* gas/testsuite/gas/aarch64/fpmov.d: Likewise.
* gas/testsuite/gas/aarch64/inst-directive.d: Likewise.
* gas/testsuite/gas/aarch64/ldr_1.d: Likewise.
* gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
* gas/testsuite/gas/aarch64/ldst-exclusive.d: Likewise.
* gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
* gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
* gas/testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
* gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
* gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
* gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
* gas/testsuite/gas/aarch64/lor-directive.d: Likewise.
* gas/testsuite/gas/aarch64/lor.d: Likewise.
* gas/testsuite/gas/aarch64/lse-atomic.d: Likewise.
* gas/testsuite/gas/aarch64/mapmisc.d: Likewise.
* gas/testsuite/gas/aarch64/mov-no-aliases.d: Likewise.
* gas/testsuite/gas/aarch64/mov.d: Likewise.
* gas/testsuite/gas/aarch64/movi.d: Likewise.
* gas/testsuite/gas/aarch64/movw_label.d: Likewise.
* gas/testsuite/gas/aarch64/msr.d: Likewise.
* gas/testsuite/gas/aarch64/neon-fp-cvt-int.d: Likewise.
* gas/testsuite/gas/aarch64/neon-frint.d: Likewise.
* gas/testsuite/gas/aarch64/neon-ins.d: Likewise.
* gas/testsuite/gas/aarch64/neon-not.d: Likewise.
* gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d: Likewise.
* gas/testsuite/gas/aarch64/neon-vfp-reglist.d: Likewise.
* gas/testsuite/gas/aarch64/no-aliases.d: Likewise.
* gas/testsuite/gas/aarch64/optional.d: Likewise.
* gas/testsuite/gas/aarch64/pac.d: Likewise.
* gas/testsuite/gas/aarch64/pan-directive.d: Likewise.
* gas/testsuite/gas/aarch64/pan.d: Likewise.
* gas/testsuite/gas/aarch64/rdma-directive.d: Likewise.
* gas/testsuite/gas/aarch64/rdma.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_g0.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_g1.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-tlsldm-1.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d: Likewise.
* gas/testsuite/gas/aarch64/shifted.d: Likewise.
* gas/testsuite/gas/aarch64/sve.d: Likewise.
* gas/testsuite/gas/aarch64/symbol.d: Likewise.
* gas/testsuite/gas/aarch64/sysreg-1.d: Likewise.
* gas/testsuite/gas/aarch64/sysreg-2.d: Likewise.
* gas/testsuite/gas/aarch64/sysreg-3.d: Likewise.
* gas/testsuite/gas/aarch64/sysreg.d: Likewise.
* gas/testsuite/gas/aarch64/system-2.d: Likewise.
* gas/testsuite/gas/aarch64/system-3.d: Likewise.
* gas/testsuite/gas/aarch64/system.d: Likewise.
* gas/testsuite/gas/aarch64/tbz_1.d: Likewise.
* gas/testsuite/gas/aarch64/tlbi_op.d: Likewise.
* gas/testsuite/gas/aarch64/tls.d: Likewise.
* gas/testsuite/gas/aarch64/uao-directive.d: Likewise.
* gas/testsuite/gas/aarch64/uao.d: Likewise.
* gas/testsuite/gas/aarch64/virthostext-directive.d: Likewise.
* gas/testsuite/gas/aarch64/virthostext.d: Likewise.
* gas/testsuite/gas/aarch64/adr_1.d: Restrict test under -mabi=lp64.
* gas/testsuite/gas/aarch64/int-insns.d: Likewise.
* gas/testsuite/gas/aarch64/programmer-friendly.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-data.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_g2.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst16.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst32.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst64.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst8.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-gotoff_g1.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-gottprel_g1.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-insn.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g0_nc.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d: Likewise.
* gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d: Likewise.
* gas/testsuite/gas/aarch64/tail_padding.d: Likewise.
* gas/testsuite/gas/aarch64/tls-desc.d: Likewise.
commit 1336427510a5ffe7ed8f0c402cc9d315cc679952
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 13 11:19:23 2016 +0000
Add a 'Past Maintainers' section to the MAINTAINERS file. Retire Mark Mitchell's name to this section.
* MAINTAINERS (Past Maintainers): New section. Move Mark
Mitchell's name here.
commit bfbf34de2f27672282d4fa4c0916cc41890dcc6c
Author: Cary Coutant <ccoutant@gmail.com>
Date: Mon Dec 12 18:51:29 2016 -0800
When using linker scripts, place linker-generated sections by the output section name.
2016-12-12 Igor Kudrin <ikudrin@accesssoftek.com>
Cary Coutant <ccoutant@gmail.com>
gold/
PR gold/14676
* script-sections.cc (Output_section_definition::output_section_name):
For linker-generated sections, compare with output section name.
* testsuite/Makefile.am (script_test_13): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/script_test_13.c: New source file.
* testsuite/script_test_13.sh: New script.
* testsuite/script_test_13.t: New linker script.
commit d81222d3863037a90e0402cf438f7e45600feea2
Author: Cary Coutant <ccoutant@gmail.com>
Date: Mon Dec 12 17:52:09 2016 -0800
Fix edge cases in orphan section placement.
There were still some cases I found where orphan section placement
was screwy -- where the script has no output section description for
either .data or .bss, a .bss orphan section ends up getting placed
before the .data section. In addition, if there is an output section
description for a data section not named .data (e.g., .rela.dyn),
the orphan .bss gets placed before it. This patch cleans that up,
by tracking the last allocated section even as we're adding orphans.
I've also improved segment layout in the absence of a PHDRS clause.
A zero-length NOBITS section will no longer force a new segment
when followed by a PROGBITS section.
2016-12-12 Cary Coutant <ccoutant@gmail.com>
gold/
* script-sections.cc (Orphan_section_placement::update_last_alloc):
New method.
(Orphan_section_placement::find_place): Place orphan .data section
after either RODATA or TEXT.
(Script_sections::place_orphan): Call update_last_alloc for allocated
sections.
(Script_sections::create_segments): Improve handling of BSS.
commit 75c6202b1d13b892581e8dd56b8e0664815390c1
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Tue Dec 13 00:00:25 2016 +0000
Automatic date update in version.in
commit 22b05d33b4c870d65972ff8aefdd297ddc66d139
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 13 09:30:06 2016 +1030
Don't add PHDR for objcopy/strip or ld script specifying PHDRS
HPPA64 needs to add a DT_PHDR header for shared libs. That's fine
when linking but shouldn't happen for strip/objcopy. Also PHDR must
come first so there's no need to look at all program headers.
bfd/
* elf64-hppa.c (elf64_hppa_modify_segment_map): Don't add PHDR
for objcopy/strip or when a ld script specifies PHDRS.
ld/
* testsuite/ld-elf/nobits-1.d: Remove xfail for hppa64.
* testsuite/ld-elf/note-1.d: Likewise.
* testsuite/ld-elf/note-2.d: Likewise.
commit 6392030005291f7c783da2247b63ae31dc8352e0
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 13 09:29:47 2016 +1030
Don't fudge p_vaddr when PHDR in segment
RX does horrible fudges to PT_LOAD p_vaddr, that affect the testsuite
and mean the target won't support dynamic objects. The latter
probably doesn't matter too much since RX is an embedded target, but
it's easy to stop some of the fudges in order to reduce special cases
for RX in the testsuite. The changes make sense in isolation too.
bfd/
* elf32-rx.c (elf32_rx_modify_program_headers): Don't adjust
segments that include the ELF file header or program headers.
ld/
* testsuite/ld-elf/flags1.d: Run for RX.
* testsuite/ld-scripts/phdrs.exp: Likewise.
* testsuite/ld-scripts/pr14962.d: Likewise.
* testsuite/ld-scripts/pr14962-2.d: Likewise.
commit ea0ffd5be2dfd6ee696fc15294d7b2bf29f267a7
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 13 09:29:26 2016 +1030
[GOLD] Allow for larger alignment in script_test_15
PowerPC64 aligns .got to a 256 byte boundary. This tends to bump the
data segment file size.
PR gold/16711
* testsuite/script_test_15a.sh: Allows larger p_filesz.
* testsuite/script_test_15b.sh: Likewise.
* testsuite/script_test_15c.sh: Likewise.
commit d32a48b9f2d8a374b7ce3f2c47cc9a1c3b184838
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 13 09:21:56 2016 +1030
[GOLD] Adjust testcase for PowerPC64
Since the linker created .TOC. symbol is placed at roughly .got+32k,
.toc input sections must be placed in or after .got if .toc entries
are accessed using 16-bit signed offset relocs. crt1.o contains such
a relocation.
PR gold/20717
* testsuite/pr20717.t: Add .got output section containing .toc.
commit 88acc2e16743fc1e6384758c9a68cd6d2a8bbd46
Author: Nathan Sidwell <nathan@acm.org>
Date: Mon Dec 12 12:52:37 2016 -0500
Port c++/78252 from GCC
PR c++/78252
* cp-demangle.c (struct d_print_info): Add is_lambda_arg field.
(d_print_init): Initialize it.
(d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check
is_lambda_arg for auto.
<DEMANGLE_COMPONENT_REFERENCE,
DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when
is_lambda_arg.
<DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg
printing.
* testsuite/demangle-expected: Add lambda auto mangling cases.
commit d36cab83a963f5bb3773e0218cc02f63b0851d0b
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Dec 12 09:09:43 2016 +0000
Remove assert on exec_bfd in cris_delayed_get_disassembler
cris_delayed_get_disassembler has an assert that exec_bfd can't be
NULL, but this assert can be triggered like this,
(gdb) set architecture cris
The target architecture is assumed to be cris
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
0x00000000:
../../binutils-gdb/gdb/cris-tdep.c:3798: internal-error: int cris_delayed_get_disassembler(bfd_vma, disassemble_info*): Assertion `exec_bfd != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
however, cris_get_disassembler does have code to handle the case that
bfd is NULL,
/* If there's no bfd in sight, we return what is valid as input in all
contexts if fed back to the assembler: disassembly *with* register
prefix. Unfortunately this will be totally wrong for v32. */
if (abfd == NULL)
return print_insn_cris_with_register_prefix;
This patch is to remove this assert.
gdb:
2016-12-12 Yao Qi <yao.qi@linaro.org>
PR tdep/20955
* cris-tdep.c (cris_delayed_get_disassembler): Remove the
assert.
commit 029e9d52de3ac7fe984dc079ebd24506fd1eace7
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Dec 12 09:03:34 2016 +0000
Handle memory error in print_insn_rx
Nowadays, memory error in rx disassembly is not handled, so if I
start a fresh GDB, and disassemble,
(gdb) set architecture rx
The target architecture is assumed to be rx
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
0x00000000: brk
0x00000001: brk
0x00000002: brk
0x00000003: brk
the output is wrong. This patch adds code to call dis->memory_error_func
on memory error, and longjmp to print_insn_rx. With this patch applied,
(gdb) set architecture rx
The target architecture is assumed to be rx
(gdb) disassemble 0,+4
Dump of assembler code from 0x0 to 0x4:
0x00000000: Cannot access memory at address 0x0
opcodes:
2016-12-12 Yao Qi <yao.qi@linaro.org>
* rx-dis.c: Include <setjmp.h>
(struct private): New.
(rx_get_byte): Check return value of read_memory_func, and
call memory_error_func and OPCODES_SIGLONGJMP on error.
(print_insn_rx): Call OPCODES_SIGSETJMP.
commit 3a0b8f7ddb874283879baaf8af6d11094f4c4999
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Dec 12 09:03:34 2016 +0000
Handle memory error in print_insn_rl78_common
Nowadays, memory error in rl78 disassembly is not handled, so if I
start a fresh GDB, and disassemble,
(gdb) set architecture rl78
The target architecture is assumed to be rl78
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
0x00000000: nop
0x00000001: nop
0x00000002: nop
0x00000003: nop
the output is wrong. This patch adds code to call dis->memory_error_func
on memory error, and longjmp to print_insn_rl78_common. With this
patch applied,
(gdb) set architecture rl78
The target architecture is assumed to be rl78
(gdb) disassemble 0,+4
Dump of assembler code from 0x0 to 0x4:
0x00000000: Cannot access memory at address 0x0
opcodes:
2016-12-12 Yao Qi <yao.qi@linaro.org>
* rl78-dis.c: Include <setjmp.h>.
(struct private): New.
(rl78_get_byte): Check return value of read_memory_func, and
call memory_error_func and OPCODES_SIGLONGJMP on error.
(print_insn_rl78_common): Call OPCODES_SIGJMP.
commit cc90de49738ad220bd1d3d001b492679fc488fe1
Author: Igor Kudrin <ikudrin@accesssoftek.com>
Date: Sun Dec 11 20:31:09 2016 -0800
Fix earlier ChangeLog entry to give Igor credit, add testcases.
2016-12-01 Cary Coutant <ccoutant@gmail.com>
Igor Kudrin <ikudrin@accesssoftek.com>
PR gold/20717
* script-sections.cc (Script_sections): Set *keep to false when
no match.
2016-12-11 Igor Kudrin <ikudrin@accesssoftek.com>
PR gold/20717
* testsuite/Makefile.am (pr20717): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/pr20717.c: New test source file.
* testsuite/pr20717.sh: New test script.
* testsuite/pr20717.t: New test linker script.
commit 5d9f66cb84b9f228c1082d3a1037355edceddded
Author: Cary Coutant <ccoutant@gmail.com>
Date: Sun Dec 11 17:31:25 2016 -0800
Fix problems with bss handling in linker scripts.
PR 16711 noted that gold allocates file space for BSS sections when using
a linker script. I've fixed that by rewriting set_section_addresses and
set_section_list_addresses to track the file offset separate from the
current virtual address, so that BSS sections do not move the file offset.
Now, if a series of BSS sections come at the end of a segment, we do not
allocate file space; but if a script forces them into the middle of a
segment, we will still allocate file space (matching Gnu ld behavior).
I've also added a warning when that happens.
That exposed another problem where orphan .bss sections were sometimes
placed in the middle of a segment. For example, if the script mentions
the .got section, but both .data and .bss are orphans, gold would put
both .data and .bss in front of .got. I've fixed that by ensuring that
orphan BSS sections are always placed after all other allocated sections.
It also exposed a problem where the SUBALIGN property is not handled
properly. The ld manual clearly states that it should override input section
alignment, whether greater or less than the given alignment, but gold would
only increase an input section's alignment. Gold would also place the output
section based on its original alignment before the SUBALIGN property took
effect, leading to a misaligned output section (where the input section
was properly aligned in memory, but was not aligned relative to the start
of the section), in violation of the ELF/gABI spec. I've fixed that by
making sure that the SUBALIGN property overrides the internal alignment of
the input sections as well as the external alignment of the output section.
This affected the behavior of script_test_2, which was written to expect
a misaligned section.
The net effect is, I think, improved compatibility with the BFD linker.
There are still cases where orphan placement differs, but the differences
should be rarer and less important. ALIGN and SUBALIGN behavior is closer,
but still not an exact match -- I still found cases where ld would create
a misaligned output section, and where gold will properly align it.
gold/
PR gold/16711
* output.cc (Output_section::set_final_data_size): Calculate data size
based on relative offset rather than file offset.
(Output_segment::set_section_addresses): Track file offset separately
from address offset.
(Output_segment::set_section_list_addresses): Add pfoff parameter.
Track file offset separately. Don't move file offset for BSS
sections.
* output.h (Output_segment::set_section_list_addresses): Add pfoff
parameter.
* script-sections.cc (Orphan_section_placement): Add PLACE_LAST_ALLOC.
(Orphan_section_placement::Orphan_section_placement): Initialize it.
(Orphan_section_placement::output_section_init): Track last allocated
section.
(Orphan_section_placement::find_place): Place BSS after last allocated
section.
(Output_section_element_input::set_section_addresses): Always override
input section alignment when SUBALIGN is specified.
(Output_section_definition::set_section_addresses): Override alignment
of output section when SUBALIGN is specified.
* testsuite/Makefile.am (script_test_15a, script_test_15b)
(script_test_15c): New test cases.
* testsuite/Makefile.in: Regenerate.
* testsuite/script_test_2.cc: Adjust expected layout.
* testsuite/script_test_15.c: New source file.
* testsuite/script_test_15a.sh: New shell script.
* testsuite/script_test_15a.t: New linker script.
* testsuite/script_test_15b.sh: New shell script.
* testsuite/script_test_15b.t: New linker script.
* testsuite/script_test_15c.sh: New shell script.
* testsuite/script_test_15c.t: New linker script.
commit e83563a9ed0dd6ccc415c4b0cce373fc3264b7a5
Author: Cary Coutant <ccoutant@gmail.com>
Date: Sun Dec 11 16:40:11 2016 -0800
Regenerate Makefile.in to get rid of annoying diffs caused by non-deterministic automake.
* Makefile.in: Regenerate.
commit 98fdf25a43abdad5784e762466fdd7bd59b0899e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Dec 12 00:00:21 2016 +0000
Automatic date update in version.in
commit ec6f610ffcc411237e9f8955dd2227cefd255af2
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Dec 11 00:00:23 2016 +0000
Automatic date update in version.in
commit 4783ebbcfa35032ac2742f403258a14b647d9ba6
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Dec 10 00:00:21 2016 +0000
Automatic date update in version.in
commit 64c111834081a117f902cffc15dadbc535f1c65e
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 9 23:11:40 2016 +0000
MIPS16: Remove unused `>' operand code
This code has never been used throughout the repository history, and
likely not before either, as due to the assymetry of MIPS16 instruction
set encoding there are no 32-bit shift operations having their immediate
shift count placed in the position of the usual `rx' instruction field.
gas/
* config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.
include/
* opcode/mips.h: Remove references to `>' operand code.
opcodes/
* mips16-opc.c (decode_mips16_operand) <'>'>: Remove cases.
commit f17ecb4baca990b57cc57e8337c4e03ecee02742
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 9 22:50:07 2016 +0000
MIPS16/opcodes: Use hexadecimal interpretation for the `e' operand code
Make the `e' operand code used with raw EXTEND instructions use the
hexadecimal rather than decimal format, for consistency with what is
actually produced by code in `print_insn_mips16' dedicated to EXTEND
disassembly. Due to that special handling the operand code is only
interpreted for assembly however, which accepts either format either
way, so there is no functional change here.
opcodes/
* mips16-opc.c (decode_mips16_operand) <'e'>: Use HINT rather
than UINT.
gas/
* testsuite/gas/mips/mips16-extend.d: New test.
* testsuite/gas/mips/mips16-extend.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new test.
commit 55af478400524cba7994e353fd9a98ef1543df2f
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Fri Dec 9 22:27:00 2016 +0000
MIPS16/opcodes: Reformat raw EXTEND and undecoded output
Use a tab rather than a space to separate `extend' and its uninterpreted
argument output, like with regular instructions. Separate hexadecimal
halves of undecoded extended instructions output with a space instead of
presenting them concatenated.
opcodes/
* mips-dis.c (print_insn_mips16): Use a tab rather than a space
to separate `extend' and its uninterpreted argument output.
Separate hexadecimal halves of undecoded extended instructions
output.
binutils/
* testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
* testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
source.
* testsuite/binutils-all/mips/mips.exp: Run the new test.
commit 1736a7bd96e8927c3f889a35f9153df4fd19d833
Author: Pedro Alves <palves@redhat.com>
Date: Fri Dec 9 16:08:49 2016 +0000
gdb: Remove support for obsolete OSABIs and a.out
gdb/ChangeLog:
2016-12-09 Pedro Alves <palves@redhat.com>
* Makefile.in (ALL_TARGET_OBS): Remove vax-obsd-tdep.o.
* alpha-fbsd-tdep.c (_initialize_alphafbsd_tdep): Adjust.
* alpha-nbsd-tdep.c: Move comment to _initialize_alphanbsd_tdep.
(alphanbsd_core_osabi_sniffer): Delete.
(_initialize_alphanbsd_tdep): No longer handle a.out.
* alpha-obsd-tdep.c (_initialize_alphaobsd_tdep): Adjust.
* amd64-fbsd-tdep.c (_initialize_amd64fbsd_tdep): Adjust.
* amd64-nbsd-tdep.c (_initialize_amd64nbsd_tdep): Adjust.
* amd64-obsd-tdep.c (amd64obsd_supply_regset)
(amd64obsd_combined_regset)
(amd64obsd_iterate_over_regset_sections, amd64obsd_core_init_abi):
Delete.
(_initialize_amd64obsd_tdep): Don't handle a.out.
* arm-nbsd-nat.c (struct md_core, fetch_core_registers)
(arm_netbsd_core_fns): Delete.
(_initialize_arm_netbsd_nat): Don't register arm_netbsd_core_fns.
* arm-nbsd-tdep.c (arm_netbsd_aout_init_abi)
(arm_netbsd_aout_osabi_sniffer): Delete.
(_initialize_arm_netbsd_tdep): Don't handle a.out.
* arm-obsd-tdep.c (armobsd_core_osabi_sniffer): Delete.
(_initialize_armobsd_tdep): Don't handle a.out.
* arm-tdep.c (arm_gdbarch_init): Remove bfd_target_aout_flavour
case.
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Remove
SunOS a.out handling.
* configure.tgt (vax-*-netbsd* | vax-*-knetbsd*-gnu): Remove
vax-obsd-tdep.o from gdb_target_objs.
(vax-*-openbsd*): Likewise.
(*-*-freebsd*): Adjust default gdb_osabi.
(*-*-openbsd*): Likewise.
* dbxread.c (block_address_function_relative): Delete.
(dbx_symfile_read): Remove reference to
block_address_function_relative.
(dbx_symfile_read): Don't call read_dbx_dynamic_symtab.
(read_dbx_dynamic_symtab): Delete.
(process_one_symbol): Remove references to
block_address_function_relative.
* defs.h (GDB_OSABI_FREEBSD_AOUT, GDB_OSABI_NETBSD_AOUT): Remove.
(GDB_OSABI_FREEBSD_ELF): Rename to ...
(GDB_OSABI_FREEBSD): ... this.
(GDB_OSABI_NETBSD_ELF): Rename to ...
(GDB_OSABI_NETBSD): ... this.
(GDB_OSABI_OPENBSD_ELF): Rename to ...
(GDB_OSABI_OPENBSD): ... this.
(GDB_OSABI_HPUX_ELF, GDB_OSABI_HPUX_SOM): Remove.
* fbsd-tdep.c: Adjust comment.
* hppa-nbsd-tdep.c (_initialize_hppanbsd_tdep): Adjust.
* hppa-obsd-tdep.c (GDB_OSABI_NETBSD_CORE): Delete.
(hppaobsd_core_osabi_sniffer): Delete.
(_initialize_hppabsd_tdep): Don't handle a.out.
* hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't handle
GDB_OSABI_HPUX_SOM.
(hppa_gdbarch_init): Likewise.
* i386-bsd-tdep.c (i386bsd_aout_osabi_sniffer)
(i386bsd_core_osabi_sniffer, _initialize_i386bsd_tdep): Delete.
* i386-fbsd-tdep.c (i386fbsdaout_init_abi): Delete. Merge bits
with ...
(i386fbsd_init_abi): ... this.
(_initialize_i386fbsd_tdep): Don't handle a.out.
* i386-nbsd-tdep.c (_initialize_i386nbsd_tdep): Adjust.
* i386-obsd-tdep.c (i386obsd_aout_supply_regset)
(i386obsd_aout_gregset)
(i386obsd_aout_iterate_over_regset_sections): Delete.
(i386obsd_init_abi): Merge with i386obsd_elf_init_abi.
(i386obsd_aout_init_abi): Delete.
(_initialize_i386obsd_tdep): Don't handle a.out.
* m68k-bsd-tdep.c (m68kobsd_sigtramp_cache_init)
(m68kobsd_sigtramp): Delete.
(m68kbsd_init_abi): Merge with ...
(m68kbsd_elf_init_abi): ... this, and delete it.
(m68kbsd_aout_init_abi): Delete.
(m68kbsd_aout_osabi_sniffer, m68kbsd_core_osabi_sniffer): Delete.
(_initialize_m68kbsd_tdep): Don't handle a.out.
* mips-nbsd-tdep.c (_initialize_mipsnbsd_tdep): Adjust.
* mips64-obsd-tdep.c (_initialize_mips64obsd_tdep): Adjust.
* osabi.c (gdb_osabi_names): Remove "a.out" entries. Drop "ELF"
suffixes. Remove "HP-UX" entries.
(generic_elf_osabi_sniff_abi_tag_sections): Adjust.
(generic_elf_osabi_sniffer): No longer handle GDB_OSABI_HPUX_ELF.
Adjust.
(_initialize_ppcfbsd_tdep): Adjust.
* ppc-nbsd-tdep.c (_initialize_ppcnbsd_tdep): Adjust.
* ppc-obsd-tdep.c (GDB_OSABI_NETBSD_CORE)
(ppcobsd_core_osabi_sniffer): Delete.
(_initialize_ppcobsd_tdep): Don't handle a.out.
* rs6000-tdep.c (rs6000_gdbarch_init): Adjust.
* sh-nbsd-tdep.c (GDB_OSABI_NETBSD_CORE)
(shnbsd_core_osabi_sniffer): Delete.
(_initialize_shnbsd_tdep): Don't handle a.out.
* solib.c (clear_solib): Don't handle SunOS/a.out.
* sparc-nbsd-tdep.c (sparc32nbsd_init_abi): Make extern.
(sparc32nbsd_aout_init_abi): Delete.
(sparc32nbsd_elf_init_abi): Merged into sparc32nbsd_init_abi.
(sparcnbsd_aout_osabi_sniffer): Delete.
(GDB_OSABI_NETBSD_CORE, sparcnbsd_core_osabi_sniffer): Delete.
(_initialize_sparcnbsd_tdep): No longer handle a.out.
* sparc-obsd-tdep.c (sparc32obsd_init_abi)
(_initialize_sparc32obsd_tdep): Adjust.
* sparc-tdep.h (sparc32nbsd_elf_init_abi): Rename to ...
(sparc32nbsd_init_abi): ... this.
* sparc64-fbsd-tdep.c (_initialize_sparc64fbsd_tdep): Adjust.
* sparc64-nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Adjust.
* sparc64-obsd-tdep.c (_initialize_sparc64obsd_tdep): Adjust.
* stabsread.c: Update comment.
* symmisc.c (print_objfile_statistics): Don't mention "a.out" in
output.
* vax-nbsd-tdep.c (_initialize_vaxnbsd_tdep): Adjust.
* vax-obsd-tdep.c: Delete file.
commit f94f411b8308674eb4f790a9fcad0ffa30b568e5
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Dec 9 15:44:48 2016 +0000
Add ChangeLog entries
ChangeLog entries are missed in my two previous commits.
commit a28aa6edd4ba848c110cd73fd4e29c2bbdb2cb72
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Dec 9 15:27:43 2016 +0000
Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily
I build GDB with all targets enabled, and "set architecture rx",
GDB crashes,
(gdb) set architecture rx
Program received signal SIGSEGV, Segmentation fault.
append_flags_type_flag (type=0x20cc360, bitpos=bitpos@entry=0, name=name@entry=0xd27529 "C") at ../../binutils-gdb/gdb/gdbtypes.c:4926
4926 name);
(gdb) bt 10
#0 append_flags_type_flag (type=0x20cc360, bitpos=bitpos@entry=0, name=name@entry=0xd27529 "C") at ../../binutils-gdb/gdb/gdbtypes.c:4926
#1 0x00000000004ce725 in rx_gdbarch_init (info=..., arches=<optimized out>) at ../../binutils-gdb/gdb/rx-tdep.c:1051
#2 0x00000000006b05a4 in gdbarch_find_by_info (info=...) at ../../binutils-gdb/gdb/gdbarch.c:5269
#3 0x000000000060eee4 in gdbarch_update_p (info=...) at ../../binutils-gdb/gdb/arch-utils.c:557
#4 0x000000000060f8a8 in set_architecture (ignore_args=<optimized out>, from_tty=1, c=<optimized out>) at ../../binutils-gdb/gdb/arch-utils.c:531
#5 0x0000000000593d0b in do_set_command (arg=<optimized out>, arg@entry=0x20bee81 "rx ", from_tty=from_tty@entry=1, c=c@entry=0x20b1540)
at ../../binutils-gdb/gdb/cli/cli-setshow.c:455
#6 0x00000000007665c3 in execute_command (p=<optimized out>, p@entry=0x20bee70 "set architecture rx ", from_tty=1) at ../../binutils-gdb/gdb/top.c:666
#7 0x00000000006935f4 in command_handler (command=0x20bee70 "set architecture rx ") at ../../binutils-gdb/gdb/event-top.c:577
#8 0x00000000006938d8 in command_line_handler (rl=<optimized out>) at ../../binutils-gdb/gdb/event-top.c:767
#9 0x0000000000692c2c in gdb_rl_callback_handler (rl=0x20be7f0 "") at ../../binutils-gdb/gdb/event-top.c:200
The cause is that we want to access some builtin types in gdbarch init, but
it is not initialized yet. I fix it by creating the type when it is to be
used. We've already done this in sparc, sparc64 and m68k.
gdb:
2016-12-09 Yao Qi <yao.qi@linaro.org>
PR tdep/20954
* rx-tdep.c (rx_psw_type): New function.
(rx_fpsw_type): New function.
(rx_register_type): Call rx_psw_type and rx_fpsw_type.
(rx_gdbarch_init): Move code to rx_psw_type and
rx_fpsw_type.
gdb/testsuite:
2016-12-09 Yao Qi <yao.qi@linaro.org>
* gdb.base/all-architectures.exp.in: Remove kfail for "rx".
commit 1a31b34a18d61dee55042f2ab23c8fa9203fe6ef
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Dec 9 15:27:43 2016 +0000
Create tdep->rl78_psw_type lazily
I build GDB for all targets enabled. When I "set architecture rl78",
GDB crashes,
(gdb) set architecture rl78
Program received signal SIGSEGV, Segmentation fault.
append_flags_type_flag (type=0x20cc0e0, bitpos=bitpos@entry=0, name=name@entry=0x11dba3f "CY") at ../../binutils-gdb/gdb/gdbtypes.c:4926
4926 name);
(gdb) bt 10
#0 append_flags_type_flag (type=0x20cc0e0, bitpos=bitpos@entry=0, name=name@entry=0x11dba3f "CY") at ../../binutils-gdb/gdb/gdbtypes.c:4926
#1 0x00000000004aaca8 in rl78_gdbarch_init (info=..., arches=<optimized out>) at ../../binutils-gdb/gdb/rl78-tdep.c:1410
#2 0x00000000006b05a4 in gdbarch_find_by_info (info=...) at ../../binutils-gdb/gdb/gdbarch.c:5269
#3 0x000000000060eee4 in gdbarch_update_p (info=...) at ../../binutils-gdb/gdb/arch-utils.c:557
#4 0x000000000060f8a8 in set_architecture (ignore_args=<optimized out>, from_tty=1, c=<optimized out>) at ../../binutils-gdb/gdb/arch-utils.c:531
#5 0x0000000000593d0b in do_set_command (arg=<optimized out>, arg@entry=0x20be851 "rl78", from_tty=from_tty@entry=1, c=c@entry=0x20b1540)
at ../../binutils-gdb/gdb/cli/cli-setshow.c:455
#6 0x00000000007665c3 in execute_command (p=<optimized out>, p@entry=0x20be840 "set architecture rl78", from_tty=1) at ../../binutils-gdb/gdb/top.c:666
#7 0x00000000006935f4 in command_handler (command=0x20be840 "set architecture rl78") at ../../binutils-gdb/gdb/event-top.c:577
#8 0x00000000006938d8 in command_line_handler (rl=<optimized out>) at ../../binutils-gdb/gdb/event-top.c:767
#9 0x0000000000692c2c in gdb_rl_callback_handler (rl=0x20be890 "") at ../../binutils-gdb/gdb/event-top.c:200
The cause is that we want to access some builtin types in gdbarch init, but
it is not initialized yet. I fix it by creating the type when it is to be
used. We've already done this in sparc, sparc64 and m68k.
gdb:
2016-12-09 Yao Qi <yao.qi@linaro.org>
PR tdep/20953
* rl78-tdep.c (rl78_psw_type): New function.
(rl78_register_type): Call rl78_psw_type.
(rl78_gdbarch_init): Move code to rl78_psw_type.
gdb/testsuite:
2016-12-09 Yao Qi <yao.qi@linaro.org>
* gdb.base/all-architectures.exp.in: Remove kfail for rl78.
commit f1b5deee16144a75aa605bf37ed38d461587d399
Author: Pedro Alves <palves@redhat.com>
Date: Fri Dec 9 14:59:09 2016 +0000
Add test that exercises all bfd architecture, osabi, endian, etc. combinations
This adds a test that exposes several problems fixed by earlier
patches:
#1 - Buffer overrun when host/target formats match, but sizes don't.
https://sourceware.org/ml/gdb-patches/2016-03/msg00125.html
#2 - Missing handling for FR-V FR300.
https://sourceware.org/ml/gdb-patches/2016-03/msg00117.html
#3 - BFD architectures with spaces in their names (v850).
https://sourceware.org/ml/binutils/2016-03/msg00108.html
#4 - The OS ABI names with spaces issue.
https://sourceware.org/ml/gdb-patches/2016-03/msg00116.html
#5 - Bogus HP/PA long double format.
https://sourceware.org/ml/gdb-patches/2016-03/msg00122.html
#6 - Cris big endian internal error.
https://sourceware.org/ml/gdb-patches/2016-03/msg00126.html
#7 - Several PowerPC bfd archs/machines not handled by gdb.
https://sourceware.org/bugzilla/show_bug.cgi?id=19797
And hopefully helps catch others in the future.
This started out as a test that simply did,
gdb -ex "print 1.0L"
to exercise #1 above.
Then to cover both 32-bit target / 64-bit host and the converse, I
thought of having the testcase print the floats twice, once with the
architecture set to "i386" and then to "i386:x86-64". This way it
wouldn't matter whether gdb was built as 32-bit or a 64-bit program.
Then I thought that other archs might have similar host/target
floatformat conversion issues as well. Instead of hardcoding some
architectures in the test file, I thought we could just iterate over
all bfd architectures and OS ABIs supported by the gdb build being
tested. This is what then exposed all the other problems listed
above...
With an --enable-targets=all, this exercises over 14 thousand
combinations. If left in a single test file, it all consistenly runs
in under a minute on my machine (An Intel i7-4810MQ @ 2.8 MHZ running
Fedora 23). Split in 8 chunks, as in this commit, it runs in around
25 seconds, with make -j8.
To avoid flooding the gdb.sum file, it avoids calling "pass" on each
tested combination/iteration. I'm explicitly not implementing that by
passing an empty message to gdb_test / gdb_test_multiple, because I
still want a FAIL to be logged in gdb.sum. So instead this puts the
internal passes in the gdb.log file, only, prefixed "IPASS:", for
internal pass. TBC, if some iteration fails, it'll still show up as
FAIL in gdb.sum. If this is an approach that takes on, I can see us
extending the common bits to support it for all testcases.
gdb/testsuite/ChangeLog:
2016-12-09 Pedro Alves <palves@redhat.com>
* gdb.base/all-architectures-0.exp: New file.
* gdb.base/all-architectures-1.exp: New file.
* gdb.base/all-architectures-2.exp: New file.
* gdb.base/all-architectures-3.exp: New file.
* gdb.base/all-architectures-4.exp: New file.
* gdb.base/all-architectures-5.exp: New file.
* gdb.base/all-architectures-6.exp: New file.
* gdb.base/all-architectures-7.exp: New file.
* gdb.base/all-architectures.exp.in: New file.
commit fc2f703edb656c69b0026a006c6063cdb255e06a
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Dec 9 09:51:20 2016 +0000
Use code cache in aarch64 prologue analyzer
This patch change aarch prologue analyzer using code cache, in order
to improve the performance of remote debugging.
gdb.perf/skip-prologue.exp (measured by wall-time) is improved when
the program is compiled without debug information.
Original Patched Original Patched
without dbg without dbg with dbg with dbg
/ 11.1635239124 9.99472999573 9.65339517593 9.66648793221
-fstack-protector-all 11.2560930252 9.338118 9.63896489143 9.59474396706
gdb:
2016-12-9 Yao Qi <yao.qi@linaro.org>
* aarch64-tdep.c (instruction_reader::read): Call
read_code_unsigned_integer instead of
read_memory_unsigned_integer.
commit 198cd59d289209ad63cdd6da45e02a1c12b423a7
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Dec 9 09:51:20 2016 +0000
Use code cache in arm prologue analyzer
This patch change arm prologue analyzer using code cache, in order
to improve the performance of remote debugging.
gdb.perf/skip-prologue.exp (measured by wall-time) is improved a lot,
Original Patched Original Patched
without dbg without dbg with dbg with dbg
-marm 14.166741848 9.32852292061 11.4908499718 9.16302204132
-marm 14.6705040932 9.34849786758 18.2788009644 9.14823913574
\-fstack-protector-all
-mthumb 34.4391930103 10.6062178612 13.7886838913 10.3094120026
-mthumb
\-fstack-protector-all 34.9310460091 10.6413481236 25.3875930309 10.6294929981
gdb:
2016-12-09 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (skip_prologue_function): Call
read_code_unsigned_integer instead of
read_memory_unsigned_integer.
(thumb_analyze_prologue): Likewise.
(arm_analyze_load_stack_chk_guard): Likewise.
(arm_skip_stack_protector): Likewise.
(arm_analyze_prologue):Likewise.
(extend_buffer_earlier): Call target_read_code instead
of target_read_memory.
(arm_adjust_breakpoint_address): Likewise.
commit 364ca42e71dfdce3f34e97ef028f7e3d5b5d880e
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Dec 9 09:51:20 2016 +0000
Compile gdb.perf/skip-prologue.c with and without debug info
gdb.perf/skip-prologue.exp is intended to measure the performance of
skipping prologue with prologue analysis by setting breakpoints.
However, if program is compiled with debug info, GDB is smart to
skip prologue by line table from debug info, so prologue analysis
is not exercised at all.
This patch adds a parameter COMPILE to specify compiling with
debug information, otherwise, it is compiled without debug
information.
gdb/testsuite:
2016-12-09 Yao Qi <yao.qi@linaro.org>
* gdb.perf/skip-prologue.exp: Add parameter COMPILE.
commit c752a4cccb99ba73f51eff74b394dcdcd26d4c59
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Wed May 25 18:54:40 2016 +0200
Hurd: Adjust to changes to "push pruning old threads down to the target"
For "info threads", we currently run into:
$ gdb/gdb -q -nw -nx --batch -ex start -ex info\ threads bfd/doc/chew
Temporary breakpoint 1 at 0x80486e0: file ../../../W._C._Handy/bfd/doc/chew.c, line 1535.
[New Thread 10656.5]
Thread 4 hit Temporary breakpoint 1, main (ac=1, av=0x102cd84) at ../../../W._C._Handy/bfd/doc/chew.c:1535
1535 {
Id Target Id Frame
1 bogus thread id 1 Can't fetch registers from thread bogus thread id 1: No such thread
Before commit e8032dde10b743253125d7defb5f5503b21c1d26,
gdb/thread.c:update_thread_list used to call prune_threads, after that change
it doesn't anymore, and we don't implement the to_update_thread_list target
method where the prune_threads call got moved. For now, apply a fix, related
to commit c82f56d9d760a9b4034eeaac44f2f0fa5779ff69 "Hurd: Adjust to
startup-with-shell changes", which restores the previous behavior:
Id Target Id Frame
* 4 Thread 10688.4 main (ac=1, av=0x102cd84) at ../../../W._C._Handy/bfd/doc/chew.c:1535
5 Thread 10688.5 0x0106096c in ?? () from /lib/i386-gnu/libc.so.0.3
Not perfect, but at least better.
gdb/
* gnu-nat.c (gnu_create_inferior): After startup_inferior, call
prune_threads.
commit 53488a6e194af11c2528e5e284facb8a6171b695
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Thu Dec 8 18:42:03 2016 +0100
Avoid PATH_MAX usage
On GNU/Hurd, there is no "#define PATH_MAX", so this failed to build.
gdb/
* inferior.c (print_selected_inferior): Avoid PATH_MAX usage.
commit cfccf141f0db8de28ba21a8920939c30e123d73e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Fri Dec 9 00:00:25 2016 +0000
Automatic date update in version.in
commit 39f66f3ae25ebd3a065218ce880280fd5b4b861c
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Thu Dec 8 23:29:37 2016 +0000
MIPS16/opcodes: Fix off-by-one indentation in `print_mips16_insn_arg'
opcodes/
* mips-dis.c (print_mips16_insn_arg): Remove extraneous
indentation space across.
commit 860b03a8f357d1565bd9d79ae25121059b2d28ae
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Thu Dec 8 23:29:01 2016 +0000
MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment
Complement commit dd8b7c222e0e ("MIPS: mips16e jalrc/jrc opcodes"),
<https://sourceware.org/ml/binutils/2005-07/msg00349.html>, and stop the
disassembler making a delay-slot adjustment for PC-relative operations
following either MIPS16e compact jumps, or undefined RR/J(AL)R(C)
encodings that have the `l' (link) and `ra' (source register is `ra')
bits set both at a time. Adjust code description for accuracy. Add a
suitable test case.
opcodes/
* mips-dis.c (print_mips16_insn_arg): Avoid delay-slot
adjustment for PC-relative operations following MIPS16e compact
jumps or undefined RR/J(AL)R(C) encodings.
binutils/
* testsuite/binutils-all/mips/mips16-pcrel.d: New test.
* testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
* testsuite/binutils-all/mips/mips.exp: Run the new test.
commit 731f7c4ea30cc409c45412eec15e3d66afe051f5
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Thu Dec 8 22:55:42 2016 +0000
ARC/GAS: Correct a `spaces' global shadowing error
Fix a commit a9752fdf8398 ("[ARC] Sync cpu names with the ones accepted
by GCC.") build regression:
cc1: warnings being treated as errors
.../gas/config/tc-arc.c: In function 'arc_show_cpu_list':
.../gas/config/tc-arc.c:3452: error: declaration of 'spaces' shadows a global declaration
.../gas/../include/libiberty.h:248: error: shadowed declaration is here
make[4]: *** [tc-arc.o] Error 1
in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").
gas/
* config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
variable to `space_buf'.
commit bf355b690f07315bf2704e349c4f1c9ca611f031
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Thu Dec 8 22:53:39 2016 +0000
ARM/GAS: Correct an `index' global shadowing error
Fix a commit 008a97eff0ca ("[GAS][ARM]Generate unpredictable warning for
pc used in data processing instructions with register-shifted register
operand.") build regression:
cc1: warnings being treated as errors
.../gas/config/tc-arm.c: In function 'encode_arm_shift':
.../gas/config/tc-arm.c:7439: error: declaration of 'index' shadows a global declaration
/usr/include/string.h:303: error: shadowed declaration is here
make[4]: *** [tc-arm.o] Error 1
in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").
gas/
* config/tc-arm.c (encode_arm_shift): Rename `index' local
variable to `op_index'.
commit 329d01f70ea6367a9593c9b31e268c06dd729ec9
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Thu Dec 8 22:51:44 2016 +0000
AArch64/opcodes: Correct another `index' global shadowing error
Fix a commit c2c4ff8d52a2 ("[AArch64] Add ARMv8.3 FCMLA and FCADD
instructions") build regression:
cc1: warnings being treated as errors
.../opcodes/aarch64-dis.c: In function 'aarch64_ext_sve_addr_rr_lsl':
.../opcodes/aarch64-dis.c:1324: error: declaration of 'index' shadows a global declaration
/usr/include/string.h:303: error: shadowed declaration is here
make[4]: *** [aarch64-asm.lo] Error 1
in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").
opcodes/
* aarch64-asm.c (aarch64_ins_reglane): Rename `index' local
variable to `reglane_index'.
commit 3a2488dd21a895df3ffb49048f5de1a83ce2ddd4
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 8 07:25:09 2016 -0600
Fix crash when disassembling invalid range on powerpc vle
I got a report of a gdb crash for vle and further investigation showed an
attempt to disassemble an invalid memory range. I tracked the crash down
to the code in get_powerpc_dialect, where we fail to make sure we have a
valid section pointer before dereferencing it.
There is no such problem for rs6000-based disassembling.
opcodes/ChangeLog:
2016-12-08 Luis Machado <lgustavo@codesourcery.com>
* ppc-dis.c (get_powerpc_dialect): Check NULL info->section.
commit 1d262527cf7ef3cdd2c015dc3540b47996e94d37
Author: Etienne Buira <etienne.buira@gmail.com>
Date: Thu Dec 8 12:52:21 2016 +0000
Always use a hex prefix when displaying the alignment of program headers.
* readelf.c (process_program_headers): Always use hex prefix when
displaying the segment alignment.
commit 980d0cdd2fc40c30f3ddef644659d7d0dc00ed40
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 8 16:08:29 2016 +1030
[GOLD] Don't assert in powerpc stub_table
A branch in a non-exec section that needs a stub can lead to this
assertion.
* powerpc.cc (Powerpc_relobj::stub_table): Return NULL rather
then asserting.
commit 69a2af1016e03239f7af4e55268bd27fc500f800
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 8 10:49:28 2016 +1030
[GOLD] fix typo in --stub-group-multi help
* options.h (--stub-group-multi): Fix typo.
commit da17fe9de923fcee29e6f809693eb7e590966575
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 8 09:50:17 2016 +1030
sync binutils config/ with gcc
config/
* acx.m4: Import from gcc.
* bootstrap-asan.mk: Likewise.
* multi.m4: Likewise.
/
* configure: Regnerate.
gas/
* configure: Regnerate.
ld/
* configure: Regnerate.
libiberty/
* configure: Regnerate.
zlib/
* configure: Regnerate.
commit 8e2a4f11d477986aa360a3b588d35a194efe58f8
Author: Alan Modra <amodra@gmail.com>
Date: Thu Dec 8 09:51:00 2016 +1030
PR20932, Internal error during record link assignment
PR ld/20932
* elflink.c (bfd_elf_record_link_assignment): Handle warning symbols.
commit c3187fa5cc72734e6fc766a85d657018c0516bad
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Thu Dec 8 09:45:59 2016 +0100
Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid
Follow-up to commit 14f6890677849172a4b13779acd9089c9baa3a81.
global_thread_id_to_ptid expects global thread numbers, which are nowadays only
used in MI, never presented to the user in the CLI. Since this is a CLI
command, it should accept the inferior-qualified format instead.
gdb/
* gnu-nat.c (set_sig_thread_cmd): Use parse_thread_id instead of
global_thread_id_to_ptid.
commit 21389b7f3451a482e14fef9bd32257c4c87f4317
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Mon Dec 5 11:59:03 2016 +0100
Hurd, C++: Mach/Hurd headers and MIG stubs are not yet fit for C++
..., so handle these in "C" mode still:
gdb/
* config/i386/i386gnu.mh (%_S.o %_U.o): Add "-x c" to
"COMPILE.post".
* gnu-nat.c: #include Mach/Hurd headers before all others. Wrap
Mach/Hurd headers and MIG stubs' prototypes in 'extern "C"'.
* i386-gnu-nat.c: Likewise.
commit 0947023d1d4b5d8803a1065d622f707010b2bcdc
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Fri Nov 25 11:02:17 2016 +0100
Hurd, C++: kern_return_t vs. error_t
GNU/Hurd uses its own "typedef enum __error_t_codes error_t;"
([glibc]/sysdeps/mach/hurd/bits/errno.h), contrary to the default
"typedef int error_t;" ([glibc]/stdlib/errno.h).
The Mach/Hurd RPCs return kern_return_t values, for which, upon assigning them
to an error_t variable, GCC in C++ mode tells us "error: invalid conversion
from 'kern_return_t {aka int}' to 'error_t {aka __error_t_codes}'". Instead of
casting all these RPC return values to "error_t", just use "kern_return_t"
variables:
gdb/
* gnu-nat.c (proc_get_exception_port, proc_set_exception_port)
(INF_RESUME_MSGPORT_RPC, proc_get_state, _proc_get_exc_port)
(proc_steal_exc_port, proc_restore_exc_port, make_proc)
(inf_startup, inf_set_pid, inf_validate_procinfo)
(inf_validate_task_sc, inf_set_traced, inf_validate_procs)
(inf_signal, inf_continue, gnu_wait, S_exception_raise_request)
(do_mach_notify_dead_name, S_proc_wait_reply)
(S_msg_sig_post_untraced_reply, S_msg_sig_post_reply)
(port_msgs_queued, gnu_read_inferior, gnu_write_inferior)
(gnu_find_memory_regions, steal_exc_port, thread_takeover_sc_cmd)
(flush_inferior_icache): Instead of "error_t" use "kern_return_t".
* i386-gnu-nat.c (fetch_fpregs, store_fpregs, i386_gnu_dr_get)
(i386_gnu_dr_set): Likewise.
commit 785102a7d34f2d48f9a1616bf931fea6de2385fb
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Fri Nov 25 15:16:13 2016 +0100
Hurd, C++: Avoid "const char *" to "char *" casts
... by a bit of code refactoring:
gdb/
* gnu-nat.c (set_task_pause_cmd, set_signals_cmd)
(set_exceptions_cmd): Add variants taking an "int arg" instead of
a "char *". Make the "char *" variants use the former.
(set_noninvasive_cmd): Also use the "int arg" variants.
commit a9617a426d001a748168fbc399fcc77e6d8d3cac
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Fri Nov 25 14:56:01 2016 +0100
Hurd, C++: Avoid GNU C nested functions
..., which C++ doesn't allow, so...
gdb/
* gnu-nat.c (gnu_create_inferior): Move nested "trace_me"
function...
(gnu_ptrace_me): ... here.
commit e9e431d19426a6dd6b8923850398b847af0a1532
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Fri Nov 25 11:01:39 2016 +0100
Hurd, C++: Explicitly cast "void *"
C++ doesn't do implicit type conversions from "void *", so we have to...
gdb/
* i386-gnu-nat.c (i386_gnu_dr_set_control_one)
(i386_gnu_dr_set_addr_one): Explicitly cast "void *".
commit e2f9914792465953ca945333d0cbedf0b2d7b3d6
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Dec 8 00:00:27 2016 +0000
Automatic date update in version.in
commit 14f6890677849172a4b13779acd9089c9baa3a81
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Tue May 24 19:36:57 2016 +0200
Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes
[...]/gdb/gnu-nat.c: In function 'set_sig_thread_cmd':
[...]/gdb/gnu-nat.c:2973:7: warning: implicit declaration of function 'thread_id_to_pid' [-Wimplicit-function-declaration]
ptid_t ptid = thread_id_to_pid (atoi (args));
^
[...]/gdb/gnu-nat.c:2973:7: error: invalid initializer
That's commit 5d5658a1d3c3eb2a09c03f2f0662a1c01963c869, which renamed
`thread_id_to_pid` to `global_thread_id_to_ptid`.
gdb/
* gnu-nat.c (set_sig_thread_cmd): Call global_thread_id_to_ptid
instead of thread_id_to_pid.
commit 4b0781150f69b6ff251dac447c77e4d4f6598da8
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 7 03:12:50 2016 +0000
MIPS/include: opcode/mips.h: Correct INSN_CHIP_MASK
Complement commit e407c74b5b60 ("Support for MIPS R5900 (Sony Playstation
2)"), <https://sourceware.org/ml/binutils/2012-12/msg00240.html>, and
commit 2c62985659da ("MIPS: Add Octeon 3 support") and update the chip
mask accordingly.
include/
* opcode/mips.h (INSN_CHIP_MASK): Update according to bit use.
commit 5f5c6e032e8d5303e9903c0538f84f76bb4d8733
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 7 02:55:27 2016 +0000
MIPS/opcodes: Correct an `interaction' comment typo
opcodes/
* mips-dis.c (print_mips16_insn_arg): Fix comment typo.
commit 343fa6906329eb5ec070cf2c05884e49a1cb9d46
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 7 02:53:03 2016 +0000
MIPS16/opcodes: Update opcode table comment
opcodes/
* mips16-opc.c (mips16_opcodes): Update comment naming structure
members.
commit 6725647ca2a0adc9206059814725102b53ea6478
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 7 02:35:33 2016 +0000
MIPS/opcodes: Reformat `-M' disassembler option's help text
Align output produced consistently and fix other formatting issues.
opcodes/
* mips-dis.c (print_mips_disassembler_options): Reformat output.
commit b8760d2cb51517789110c7b2dbd8f61dce08291d
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 7 02:27:57 2016 +0000
MIPS/include: opcode/mips.h: Add a comment for ASE_DSPR3
Complement commit 8f4f9071ad5f ("Add MIPS32 DSPr3 support.").
include/
* opcode/mips.h (ASE_DSPR3): Add a comment.
commit be0fcbee1d47558af13288c6aece922dd4be6df5
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Dec 7 02:24:18 2016 +0000
MIPS/GAS: Use local `isa' consistently in `is_opcode_valid'
Replace a global `mips_opts.isa' reference in `is_opcode_valid' and use
a local copy just made in `isa'. No functional change.
gas/
* config/tc-mips.c (is_opcode_valid): Use local `isa'
consistently.
commit c2596ca5d7f6ab6d38882bf0f0fc44fe352afcb1
Author: Nick Clifton <nickc@redhat.com>
Date: Wed Dec 7 10:19:42 2016 +0000
Fix internal error in the linker by replacing a call to abort with an error message.
PR ld/20932
* elflink.c (bfd_elf_record_link_assignment): Replace call to
abort with an error message and error return value.
commit 1c3a5fbe155614a0f87079b953df0d7618e0ab50
Author: Alan Modra <amodra@gmail.com>
Date: Wed Dec 7 14:15:59 2016 +1030
[GOLD] PowerPC --stub-group-multi
Adds a new option, defaulting to off, that allows a group of stubs to
serve multiple output sections. Prior to this patch powerpc gold
allowed this unconditionally, which is a little unsafe with clever
code that discards/reuses sections at runtime.
* options.h (--stub-group-multi): New PowerPC option.
* powerpc.cc (Stub_control): Add multi_os_ var and param
to constructor. Sort start_ var later. Comment State.
(Stub_control::can_add_to_stub_group): Heed multi_os_.
(Target_powerpc::group_sections): Update.
commit a5018ae555cdf491005907c03f997558ba15fc47
Author: Alan Modra <amodra@gmail.com>
Date: Wed Dec 7 14:12:26 2016 +1030
[GOLD] powerpc64le-linux fails to link large Linux kernel
Gold attaches stubs to an existing section in contrast to ld.bfd which
inserts a new section for stubs. If we want stubs before branches,
then the stubs must be added to the previous section. Adding to the
previous section is a disaster if there is a large gap between the
previous section and the group.
PR gold/20878
* powerpc.cc (Stub_control): Replace stubs_always_before_branch_
with stubs_always_after_branch_, group_end_addr_ with
group_start_addr_.
(Stub_control::can_add_to_stub_group): Rewrite to suit scanning
sections by increasing address.
(Target_powerpc::group_sections): Scan that way. Delete corner
case.
* options.h (--stub-group-size): Update help string.
commit dc60b26d983494a3cdec0d4f167ed98fde1a832a
Author: Alan Modra <amodra@gmail.com>
Date: Wed Dec 7 14:11:57 2016 +1030
[GOLD] PowerPC stub debug
Some more debug output, and a little hardening.
* powerpc.cc (Stub_table_owner): Provide constructor.
(Powerpc_relobj::set_stub_table): Resize fill with -1.
(Target_powerpc::Branch_info::make_stub): Provide target debug
output on returning false.
commit 86a6934561f0048624f3ff83f5d3c2565514f0aa
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Dec 7 00:00:19 2016 +0000
Automatic date update in version.in
commit 5590c2bae0fb41e90bc9698e55d8ec1fe22a9173
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Tue Dec 6 16:19:33 2016 -0500
Remove unnecessary inferior lookup in inferior_command
In the case where we switch to a non-running inferior, we do a
"find_inferior_id (num)", although we did the same call right before.
gdb/ChangeLog:
* inferior.c (inferior_command): Remove duplicate
find_inferior_id call.
commit 4f3ca05b487e9755018b4c9a053a2e6c35d8a7df
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 6 16:53:57 2016 +0000
Fix seg-fault in strip when copying a corrupt binary.
PR binutils/20931
* elf.c (copy_special_section_fields): Check for an invalid
sh_link field before attempting to follow it.
commit 8b929e420a810afe23d5ba57a98109c74d1d5816
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 6 16:26:42 2016 +0000
Fix seg-fault running strip on a corrupt binary.
PR binutils/20930
* objcopy.c (mark_symbols_used_in_relocations): Check for a null
symbol pointer pointer before attempting to mark the symbol as
kept.
commit 92744f058094edd0b29bf9762f4ac26e4c6743c2
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 6 15:58:15 2016 +0000
Fix seg-fault running strip on a corrupt binary.
PR binutils/20929
* aoutx.h (squirt_out_relocs): Check for relocs without an
associated symbol.
commit 5eecd8621b955fb99860fc1b0d87074071f42f72
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 6 15:34:33 2016 +0000
fix typo
commit 005304aae36522a90bbe169faea36db559d0f3d6
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 6 15:31:14 2016 +0000
Stop the assembler from running out of memory when asked to generate a huge number of spaces.
PR gas/20901
* read.c (s_space): Place an upper limit on the number of spaces
generated.
commit 7c2ba67e6ab10879968c938aefd4d0d0b4ce79bc
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Dec 6 14:25:51 2016 +0000
Assert on lval_register
This patch adds asserts where the value's lval must be lval_register.
This triggers an error in frame_register_unwind because VALUE_REGNUM
is used but value's lval is not lval_register.
This also reveals a design issue in frame_register_unwind, that is
arguments addrp and realnump are mutually exclusive, we either use
addrp (for lval_memory), or use realnump (for lval_register). This
can be done in a separate patch.
gdb:
2016-12-06 Yao Qi <yao.qi@linaro.org>
* frame.c (frame_register_unwind): Set *realnump if *lvalp is
lval_register.
* value.c (deprecated_value_next_frame_id_hack): Assert
value->lval is lval_register.
(deprecated_value_regnum_hack): Likewise.
commit 5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 6 14:13:57 2016 +0000
Fix mmix assembler test to account for changes in the error messages produced by the assembler.
PR gas/20896
* testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
to account for patch to next_char_of_string.
commit 39eeab253474493bc9477dbb2bd9c8041f05764b
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 6 16:06:14 2016 +1030
PowerPC64 toc optimisation for power9
Recognize power9 and a few other insns from older machines. Fixes
linker complaints like "toc optimization is not supported for
0xf4090002 instruction". 0xf4090002 is stxsd v0,0(r9)
bfd/
* elf64-ppc.c (ok_lo_toc_insn): Add r_type param. Recognize
lq,lfq,lxv,lxsd,lxssp,lfdp,stq,stfq,stxv,stxsd,stxssp,stfdp.
Don't match lmd and stmd.
ld/
* testsuite/ld-powerpc/tocopt7.s,
* testsuite/ld-powerpc/tocopt7.out,
* testsuite/ld-powerpc/tocopt7.d: New test.
* testsuite/ld-powerpc/tocopt8.s,
* testsuite/ld-powerpc/tocopt8.d: New test.
* testsuite/ld-powerpc/powerpc.exp: Run them.
commit fc72affa6875e81fc9d495a216a8bcb34045ffcd
Author: DJ Delorie <dj@redhat.com>
Date: Tue Dec 6 01:40:44 2016 -0500
argv.c (expandargv): Check for directories passed as @-files.
gcc pr 78584
commit e99f7af2bfbdb08c9cc454d6e5c82e70d34b957e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Tue Dec 6 00:00:23 2016 +0000
Automatic date update in version.in
commit efe4db3f06b77934bd81f393194e0fdcfeecf811
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 6 07:53:51 2016 +1030
Fix gold/testsuite/file_in_many_sections_test.sh file mode
chmod a+x
commit 82d93790a85300d8452450b6d43efb6b15b53788
Author: Cary Coutant <ccoutant@gmail.com>
Date: Mon Dec 5 10:41:09 2016 -0800
Fix problem where absolute local symbols are omitted when output has many sections.
2016-12-05 Cary Coutant <ccoutant@gmail.com>
Tristan Gingold <gingold@adacore.com>
gold/
* object.cc (Sized_relobj_file::do_count_local_symbols): Check
is_ordinary before using shndx.
* testsuite/Makefile.am (file_in_many_sections_test.sh): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/file_in_many_sections.c: New source file.
* testsuite/file_in_many_sections_test.sh: New script.
commit f49547a604b4dd2c75e3636d4a422d52edc4fa6c
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 17:36:45 2016 +0000
Fix fault in assembler when passed a bogus input file.
PR gas/20902
* read.c (next_char_of_string): Do end advance past the end of the
buffer.
commit 14c1428b29fff12d8119ce6f4703be0de08197af
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 16:54:59 2016 +0000
Fix ICE in assembler when passed a bogus input file.
PR gas/20904
* as.h (SKIP_ALL_WHITESPACE): New macro.
* expr.c (operand): Use it.
commit fa6631b4eecfcca00c13b9594e6336dffd40982f
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 16:34:45 2016 +0000
Fix seg-fault in the binutils utilities when reading a corrupt input file.
PR binutils/20905
* peicode.h (pe_ILF_object_p): Use strnlen to avoid running over
the end of the string buffer.
commit 406bd128dba2a59d0736839fc87a59bce319076c
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 16:00:43 2016 +0000
Fix seg-fault in linker when passed a bogus input script.
PR ld/20906
* ldlex.l: Check for bogus strings in linker scripts.
commit 9b5481c63ab5e1e66e8f23681741039754eabcce
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Mon Dec 5 16:57:53 2016 +0100
binutils: add myself to MAINTAINERS
2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
* MAINTAINERS: Add myself as maintainer for the SPARC targets.
commit 52c4f3bdd5957a31b671a9791f462be5e8eadd85
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 14:59:02 2016 +0000
Fix abort when running tools on a bogus binary.
PR binutils/20907
* peicode.h (pe_ILF_build_a_bfd): Replace abort with error return.
commit e2996cc315d6ea242e1a954dc20246485ccc8512
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 14:32:30 2016 +0000
Fix seg-fault running strip on a corrupt binary.
PR binutils/20921
* aoutx.h (squirt_out_relocs): Check for and report any relocs
that could not be recognised.
commit c28eeff2eabbba2246799470f3713716fa629680
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Mon Dec 5 14:24:17 2016 +0000
[ARM] Add ARMv8.3 VCMLA and VCADD instructions
Add support for VCMLA and VCADD advanced SIMD complex number instructions.
The command line option is -march=armv8.3-a+fp16+simd for enabling all
instructions.
In arm-dis.c the formatting syntax was abused a bit to select between
0 vs 90 or 180 vs 270 or 90 vs 270 based on a bit value instead of
duplicating entries in the opcode table.
gas/
* config/tc-arm.c (do_vcmla, do_vcadd): Define.
(neon_scalar_for_vcmla): Define.
(enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
(NEON_ENC_TAB): Add DDSI and QQSI variants.
(insns): Add vcmla and vcadd.
* testsuite/gas/arm/armv8_3-a-simd.d: New.
* testsuite/gas/arm/armv8_3-a-simd.s: New.
* testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
* testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
* testsuite/gas/arm/armv8_3-a-simd-bad.s: New.
opcodes/
* arm-dis.c (coprocessor_opcodes): Add vcmla and vcadd.
(print_insn_coprocessor): Add 'V' format for neon D or Q regs.
commit 0691188992efa4afab80bfdf966479bc331ce0a4
Author: Claudiu Zissulescu <claziss@synopsys.com>
Date: Mon Dec 5 15:09:48 2016 +0100
[ARC] Don't check extAuxRegister second argument for sign.
gas/
2016-12-05 Claudiu Zissulescu <claziss@synopsys.com>
* testsuite/gas/arc/textauxregister-1.d: New file.
* testsuite/gas/arc/textauxregister-1.s: Likewise.
* testsuite/gas/arc/textcondcode-err.s: Likewise.
* testsuite/gas/arc/textcoreregister-err.s: Likewise.
* config/tc-arc.c (tokenize_extregister): Return bfd_boolean,
don't check second argument of extension auxiliary register for
signess.
(arc_extcorereg): Consider the return of tokenize_extregister
function call.
commit 49e8a725825c77aacc7458b9d7771cb2fa2f64c7
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Mon Dec 5 14:13:27 2016 +0000
[ARM] Add ARMv8.3 VJCVT instruction
Add support for VJCVT javascript conversion instruction.
gas/
* config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
(insns): Add vjcvt.
* testsuite/gas/aarch64/armv8_3-a-fp.s: New.
* testsuite/gas/aarch64/armv8_3-a-fp.d: New.
* testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
* testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
* testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.
opcodes/
* arm-dis.c (coprocessor_opcodes): Add vjcvt.
commit a12fd8e1b1c9c6a16e3cc9fc477d7e459776b587
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Mon Dec 5 14:07:25 2016 +0000
[ARM] Add ARMv8.3 command line option and feature flag
ARMv8.3 is an architectural extension of ARMv8. Add the
feature macro and -march=armv8.3-a gas command line option
for the ARM target.
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions
gas/
* config/tc-arm.c (arm_archs): Add "armv8.3-a".
* doc/c-arm.texi (-march): Add "armv8.3-a".
include/
* opcode/arm.h (ARM_EXT2_V8_3A, ARM_AEXT2_V8_3A): New.
(ARM_ARCH_V8_3A): New.
commit 597e138ca0cf96889a1965d06d28552c1d1174d2
Author: Alyssa Milburn <amilburn@zall.org>
Date: Sun Dec 4 22:59:18 2016 -0800
bfd,ld: Continue after partially-successful relaxed call relocations in sparc.
bfd/ChangeLog:
2016-12-05 Alyssa Milburn <amilburn@zall.org>
* elfxx-sparc.c: Do not stop processing relocations after
partially relaxing a call with WDISP30.
ld/ChangeLog:
2016-12-05 Alyssa Milburn <amilburn@zall.org>
* testsuite/ld-sparc/wdispcall.s: New file.
* testsuite/ld-sparc/wdispcall.dd: Likewise.
* testsuite/ld-sparc/sparc.exp: Run new test.
commit a55c9876bb111fd301b4762cf501de0040b8f9db
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 13:35:50 2016 +0000
Fix seg-fault attempting to strip a corrupt binary.
PR binutils/20922
* elf.c (find_link): Check for null headers before attempting to
match them.
commit 88add6d8e794073758b5398c52bbb76ab40a2923
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 13:11:01 2016 +0000
Fix seg-fault running strip on a corrupt binary.
PR ld/20923
* objcopy.c (mark_symbols_used_in_relocations): Check for a null
symbol pointer before attempting to mark the symbol as kept.
commit daae68f4f372e0618d6b9c64ec0f1f74eae6ab3d
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 12:25:34 2016 +0000
Fix seg-fault in linker parsing a corrupt input file.
PR ld/20924
(aout_link_add_symbols): Fix off by one error checking for
overflow of string offset.
commit 39d4daf68e696bbf2db417abe677b2e68f3aace9
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 12:14:22 2016 +0000
Fix assertion failure in linker triggered by corrupt input file.
PR ld/20925
* aoutx.h (aout_link_add_symbols): Replace BFD_ASSERT with return
FALSE.
commit e9a1e93ecab4e67aacb9cd6a5a953c8c0bc23027
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Dec 5 11:25:26 2016 +0000
fix typo
commit df9236f89620c3897b2257854b9a4eedc89217ba
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Dec 5 00:00:22 2016 +0000
Automatic date update in version.in
commit 668650d58d61d9d170f3e5b5c1657ed1c3e2b34b
Author: Jim Wilson <jim.wilson@linaro.org>
Date: Sat Dec 3 17:29:44 2016 -0800
Fix bugs with tbnz/tbz instructions.
sim/aarch64
* simulator.c (tbnz, tbz): Cast 1 to uint64_t before shifting.
(dexTestBranchImmediate): Shift high bit of pos by 5 not 4.
commit 4132f1c0dfe6bb8984c0dd521388ba6b7b32a4af
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Dec 4 00:00:23 2016 +0000
Automatic date update in version.in
commit 8c5b4e5228ec94923fbdfb0008926b0b2a3f51c2
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 21:00:01 2016 +1030
PowerPC64 dot-symbol compatibility bugfixes
Lots of fixes for the compatibility code that handles linking of
-mcall-aixdesc code (or that generated by 12 year old gcc) with
current ELFv1 ABI code.
1) A reference to a dot-symbol in an object file wasn't satisfied by a
function descriptor in later object files.
2) The as-needed code had bit-rotted; Shared libs now need a strong
reference to be counted as needed.
3) --gc-sections involving dot-symbols was broken, needing
func_desc_adjust to be run early and lots of other fixes.
bfd/
* elf64-ppc.c (struct ppc_link_hash_entry): Delete "was_undefined".
(struct ppc_link_hash_table): Delete "twiddled_syms". Add
"need_func_desc_adj".
(lookup_fdh): Link direct fdh sym via oh field and set flags.
(make_fdh): Make strong and weak undefined function descriptor
symbols.
(ppc64_elf_merge_symbol): New function.
(elf_backend_merge_symbol): Define.
(ppc64_elf_archive_symbol_lookup): Don't test undefweak for fake
function descriptors.
(add_symbol_adjust): Don't twiddle symbols to undefweak.
Propagate more ref flags to function descriptor symbol. Make
some function descriptor symbols dynamic.
(ppc64_elf_before_check_relocs): Only run add_symbol_adjust for
ELFv1. Set need_func_desc_adj. Don't fix undefs list.
(ppc64_elf_check_relocs): Set non_ir_ref for descriptors.
Don't call lookup_fdh here.
(ppc64_elf_gc_sections): New function.
(bfd_elf64_bfd_gc_sections): Define.
(ppc64_elf_gc_mark_hook): Mark descriptor.
(func_desc_adjust): Don't make fake function descriptor syms strong
here. Exit earlier on non-dotsyms. Take note of elf.dynamic
flag when deciding whether a dynamic function descriptor might
be needed. Transfer elf.dynamic and set elf.needs_plt. Move
plt regardless of visibility. Make descriptor dynamic if
entry sym is dynamic, not for other cases.
(ppc64_elf_func_desc_adjust): Don't run func_desc_adjust if
already done.
(ppc64_elf_edit_opd): Use oh field rather than lookup_fdh.
(ppc64_elf_size_stubs): Likewise.
(ppc_build_one_stub): Don't clear was_undefined. Only set sym
undefweak if stub symbol is defined.
(undo_symbol_twiddle, ppc64_elf_restore_symbols): Delete.
* elf64-ppc.h (ppc64_elf_restore_symbols): Don't declare.
ld/
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't call
ppc64_elf_restore_symbols.
* testsuite/ld-powerpc/dotsym1.d: New.
* testsuite/ld-powerpc/dotsym2.d: New.
* testsuite/ld-powerpc/dotsym3.d: New.
* testsuite/ld-powerpc/dotsym4.d: New.
* testsuite/ld-powerpc/dotsymref.s: New.
* testsuite/ld-powerpc/nodotsym.s: New.
* testsuite/ld-powerpc/powerpc.exp: Run new tests.
commit 4e95fbcd79b84308417fc25ce12cacdb2a61c0d0
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 20:59:43 2016 +1030
PowerPC64 dot-sym testsuite fixes
This illustrates quite well why dot-symbols had to go. PowerPC64 gcc
for Linux stopped producing them 12 years ago, but the Linux kernel
still persists in using them so it's necessary to keep and
regression test ld support.
* testsuite/ld-elf/indirect1b.c: Give dot-symbol a version too.
* testsuite/ld-elf/indirect2.c: Likewise.
* testsuite/ld-elf/indirect3b.c: Likewise.
* testsuite/ld-elf/indirect4b.c: Likewise.
* testsuite/ld-elf/pr18718.c: Likewise.
* testsuite/ld-elf/pr18720b.c: Likewise.
* testsuite/ld-elf/pr19553c.c: Likewise.
* testsuite/ld-elfvers/vers.h (FUNC_SYMVER): Define.
* testsuite/ld-elfvers/vers1.c: Use FUNC_SYMVER for functions.
* testsuite/ld-elfvers/vers4.c: Likewise.
* testsuite/ld-elfvers/vers5.c: Likewise.
* testsuite/ld-elfvers/vers6.c: Likewise.
* testsuite/ld-elfvers/vers7a.c: Likewise.
* testsuite/ld-elfvers/vers9.c: Likewise.
* testsuite/ld-elfvers/vers15.c: Likewise.
* testsuite/ld-elfvers/vers18.c: Likewise.
* testsuite/ld-elfvers/vers22a.c: Likewise.
* testsuite/ld-elfvers/vers23a.c: Likewise.
* testsuite/ld-elfvers/vers27d1.c: Likewise.
* testsuite/ld-elfvers/vers21.c: Likewise.
(_old_bar): Use attribute weak rather than asm weak.
* testsuite/ld-ifunc/pr16467b.c: Give dot-symbol a version.
* testsuite/ld-plugin/pr12760b.c: Define warning on .bar rather than
bar for ppc64 -mcall-aixdesc.
* testsuite/ld-plugin/pr16746a.c: Similarly for foobar.
* testsuite/ld-plugin/pr16746b.c: Likewise.
* testsuite/ld-elf/shared.exp: Allow dot-symbol in warnings and errors.
* testsuite/ld-plugin/lto.exp: Likewise.
* testsuite/ld-plugin/plugin-6.d: Likewise.
* testsuite/ld-plugin/plugin-7.d: Likewise.
* testsuite/ld-plugin/plugin-8.d: Likewise.
* testsuite/ld-plugin/plugin-13.d: Likewise.
* testsuite/ld-plugin/plugin-14.d: Likewise.
* testsuite/ld-plugin/plugin-15.d: Likewise.
* testsuite/ld-plugin/plugin-16.d: Likewise.
* testsuite/ld-plugin/plugin-20.d: Likewise.
* testsuite/ld-plugin/plugin-21.d: Likewise.
* testsuite/ld-plugin/plugin-22.d: Likewise.
* testsuite/ld-plugin/plugin-23.d: Likewise.
* testsuite/ld-plugin/plugin.exp: Define .main and .puts for ppc64
-mcall-aixdesc.
* testsuite/ld-elfvers/vers.exp (test_ar): Trim dot-symbols.
(objdump_dynsymstuff): Likewise.
(objdump_symstuff): Likewise. Pack flags to keep column count
consistent.
* testsuite/ld-elfweak/elfweak.exp (objdump_dynsymstuff,
objdump_symstuff): As for vers.exp.
* testsuite/ld-elfvers/vers6.sym: Allow dot-symbols.
* testsuite/ld-elfvers/vers1.sym: Allow missing F flag for
-mcall-aixdesc .opd syms and adjust for flag packing.
* testsuite/ld-elfvers/vers4.sym: Likewise.
* testsuite/ld-elfvers/vers4a.sym: Likewise.
* testsuite/ld-elfvers/vers7a.sym: Likewise.
* testsuite/ld-elfvers/vers9.sym: Likewise.
* testsuite/ld-elfvers/vers15.sym: Likewise.
* testsuite/ld-elfvers/vers18.sym: Likewise.
* testsuite/ld-elfvers/vers21.sym: Likewise.
* testsuite/ld-elfvers/vers22a.sym: Likewise.
* testsuite/ld-elfvers/vers23a.sym: Likewise.
* testsuite/ld-elfvers/vers27d.sym: Likewise.
* testsuite/ld-elfweak/strong.sym: Likewise.
* testsuite/ld-elfweak/strongcomm.sym: Likewise.
* testsuite/ld-elfweak/strongdata.sym: Likewise.
commit ca16c5b392b1c78019fea1710c4f4433161626c5
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 20:59:19 2016 +1030
ld-elfvers don't fail on non-empty results
* testsuite/ld-elfvers/vers.exp (objdump_dynsymstuff): Don't abort
on non-empty results with empty expected.
commit f522190fa7f04a8d9a1dfc51d0cf69973c08afb5
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 20:58:55 2016 +1030
Correct cdtest g++ version test
Fixes declaration conflict with built-in strncpy.
* testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
commit b8ac28419be22fe0cc72f6eaaba1ab029610fc71
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 20:58:15 2016 +1030
Tidy ppc64_elf_hide_symbol
* elf64-ppc.c (ppc64_elf_hide_symbol): Access hash table as
elf_link_hash_table rather than ppc_link_hash_table.
commit 35dc6e06960790cd60b890c14e45f82f110b898f
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 20:57:50 2016 +1030
PowerPC64 add_symbol_adjust
* elf64-ppc.c (add_symbol_adjust): Delete dead code.
commit 8400d40d954ec3b4a3fe9200645a1b6e90ba46f4
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 20:57:27 2016 +1030
Indirect and warning symbols
It's possible but unlikely that an indirect symbol points at a warning
symbol.
* elf64-ppc.c (add_symbol_adjust): Correct order of tests for
warning and indirect symbols.
commit 474436e67c72d2426e79e600d725812514db0dbe
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 20:55:25 2016 +1030
ppc64_elf_copy_indirect_symbol versioned_hidden fix
As per _bfd_elf_link_hash_copy_indirect.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy dynamic
flags when direct symbol is versioned_hidden.
commit 4193bc588b4e66da0ed502eaef6e7ce85272fb42
Author: Alan Modra <amodra@gmail.com>
Date: Sat Dec 3 20:54:57 2016 +1030
try_copy_symbol_type node_class check
* ldexp.c (try_copy_symbol_type): Remove unnecessary check.
commit 10c56208ee8ce4d51de64277207b84a5d1be8c95
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Dec 3 00:00:22 2016 +0000
Automatic date update in version.in
commit bef721e278d9ba3178e679eda38ac86ef2dc0d5d
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Fri Dec 2 17:12:37 2016 -0500
Introduce enum_flag type for ui_out flags
This patch changes the ui_out flags to be an enum flag.
gdb/ChangeLog:
* ui-out.h: Include "common/enum-flags.h".
(enum ui_flags): Rename to ...
(enum ui_out_flag): ... this.
(ui_out_flags): Define enum flag type.
(ui_out_test_flags): Change type of parameter to ui_out_flags.
(ui_out_new): Likewise.
* ui-out.c (ui_out_test_flags): Likewise.
(ui_out_new): Likewise.
* cli-out.c (cli_out_new): Update variable type.
* mi/mi-out.c (mi_out_new): Likewise.
* tui/tui-out.c (tui_out_new): Likewise.
commit 107c2d628b924de1854d6d254d60e97e1887ce4a
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Fri Dec 2 13:36:15 2016 -0600
Remove unneeded pattern matching in gdb.base/maint.exp
This gets rid of more useless pattern matching cases in gdb.base/maint.exp.
gdb/testsuite/ChangeLog:
2016-12-02 Luis Machado <lgustavo@codesourcery.com>
* gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
possible.
Remove useless pattern-matching code.
commit df3ee9ca894f7e831713c332aa7820a6463c2435
Author: Pedro Alves <palves@redhat.com>
Date: Fri Dec 2 19:17:14 2016 +0000
Support an "unlimited" number of user-defined arguments
New in v2:
- A few adjustments / simplifications were possible now that we
require C++11:
. Use std::unique_ptr to make the user_args_stack std::vector own
its elements:
static std::vector<std::unique_ptr<user_args>> user_args_stack;
. use vector::emplace_back to construct elements directly in the
corresponding vectors.
. use std::to_string instead of adding a gdb::to_string
replacement.
- Now includes a test.
Docs/NEWS are unchanged from v1 and have already been approved.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I recently wrote a user-defined command that could benefit from
supporting an unlimited number of arguments:
http://palves.net/list-active-signal-handlers-with-gdb/
E.g., 'info signal-dispositions 1 2 3 4 5 6 7 8 9 10 11'
However, we currently only support up to 10 arguments passed to
user-defined commands ($arg0..$arg9).
I can't find a good reason for that, other than "old code with hard
coded limits". This patch removes that limit and modernizes the code
along the way:
- Makes the user_args struct a real C++ class that uses std::vector
for storage.
- Removes the "next" pointer from within user_args and uses a
std::vector to maintain a stack instead.
- Adds a new RAII-based scoped_user_args_level class to help
push/pop user args in the stack instead of using a cleanup.
gdb/ChangeLog:
2016-12-02 Pedro Alves <palves@redhat.com>
* NEWS: Mention that user commands now accept an unlimited number
of arguments.
* cli/cli-script.c: Include <vector>.
(struct string_view): New type.
(MAXUSERARGS): Delete.
(struct user_args): Now a C++ class.
(user_args_stack): New.
(struct scoped_user_args_level): New type.
(execute_user_command): Use scoped_user_args_level.
(arg_cleanup): Delete.
(setup_user_args): Deleted, and refactored as ...
(user_args::user_args): ... this new constructor. Limit of number
of arguments removed.
(insert_user_defined_cmd_args): Defer to user_args_stack.
(user_args::insert_args): New, bits based on old
insert_user_defined_cmd_args with limit of number of arguments
eliminated.
gdb/doc/ChangeLog:
2016-12-02 Pedro Alves <palves@redhat.com>
* gdb.texinfo (User-defined Commands): Limit on number of
arguments passed to user-defined commands removed; update.
gdb/testsuite/ChangeLog:
2016-12-02 Pedro Alves <palves@redhat.com>
* gdb.base/commands.exp (user_defined_command_manyargs_test): New
procedure.
(top level): Call it.
commit ec835369f121c11d6e9484ed8c6c11097ad545c5
Author: Pedro Alves <palves@redhat.com>
Date: Fri Dec 2 19:17:13 2016 +0000
Test user-defined gdb commands and arguments stack
We're missing a test that makes sure that arguments to user-defined
commands are handled correctly when a user-defined command calls
another user-defined command / recurses.
The following patch changes that code, so add such a test first so we
can be confident won't be breaking this use case.
gdb/testsuite/ChangeLog:
2016-12-02 Pedro Alves <palves@redhat.com>
* gdb.base/commands.exp (user_defined_command_args_stack_test):
New procedure.
(top level): Call it.
commit 01770bbde902e075e524b518ac6c1087a4cc1cfb
Author: Pedro Alves <palves@redhat.com>
Date: Fri Dec 2 19:17:13 2016 +0000
Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution
It'd be handy to be able to iterate over command arguments in
user-defined commands, in order to support optional arguments
($arg0..$argN).
I thought I could make it work with "eval", but alas, it doesn't work
currently. E.g., with:
define test
set $i = 0
while $i < $argc
eval "print $arg%d", $i
set $i = $i + 1
end
end
we get:
(gdb) test 1
$1 = void
(gdb) test 1 2 3
$2 = void
$3 = void
$4 = void
(gdb)
The problem is that "eval" doesn't do user-defined command arguments
substitution after expanding its own argument. This patch fixes that,
which makes the example above work:
(gdb) test 1
$1 = 1
(gdb) test 1 2 3
$2 = 1
$3 = 2
$4 = 3
(gdb)
New test included, similar the above, but also exercises expanding
$argc.
I think this is likely to simplify many scripts out there, so I'm
adding an example to the manual and mentioning it in NEWS as well.
gdb/ChangeLog:
2016-12-02 Pedro Alves <palves@redhat.com>
PR cli/20559
* NEWS: Mention "eval" expands user-defined command arguments.
* cli/cli-script.c (execute_control_command): Adjust to rename.
(insert_args): Rename to ...
(insert_user_defined_cmd_args): ... this, and make extern.
* cli/cli-script.h (insert_user_defined_cmd_args): New
declaration.
* printcmd.c: Include "cli/cli-script.h".
(eval_command): Call insert_user_defined_cmd_args.
gdb/doc/ChangeLog:
2016-12-02 Pedro Alves <palves@redhat.com>
PR cli/20559
* gdb.texinfo (Define): Add example of using "eval" to process a
variable number of arguments.
(Output) <eval>: Add anchor.
gdb/testsuite/ChangeLog:
2016-12-02 Pedro Alves <palves@redhat.com>
PR cli/20559
* gdb.base/commands.exp (user_defined_command_args_eval): New
procedure.
(top level): Call it.
commit 7ed7e438bf8a21983eeaeec0617868f8bab06197
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Dec 2 17:53:42 2016 +0000
Fix typo in changelog entry
commit d7f399a8de4c55eb841db6493597a587fac002de
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Dec 2 17:46:26 2016 +0000
Fix seg-fault in linker when passed a corrupt binary input file.
PR lf/20908
* elflink.c (bfd_elf_final_link): Check for ELF flavour binaries
when following indirect links.
commit 008459ea88ad4fdcb7da37dad7f68888ef6ecc47
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Fri Dec 2 11:37:57 2016 -0600
Revert change to gdb.cp/ovldbreak.exp
This reverts the timeout handling (removed by
018572b88885ae67d22612937fa1e4fd98d5f5ad) for gdb.cp/ovldbreak.exp until we
decide what to do about this particular function.
gdb/testsuite/ChangeLog:
2016-12-02 Luis Machado <lgustavo@codesourcery.com>
* gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
timeout handling.
commit 531336e3a0b79ed60cfc36ad2d6579b6a71175da
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Dec 2 16:41:14 2016 +0000
Fix seg-fault in the linker when examining a corrupt binary.
PR ld/20909
* aoutx.h (aout_link_add_symbols): Fix off-by-one error in check
for an illegal string offset.
commit 0c1b455e294c6debb4efedc7f1346f3c43249f15
Author: Tom Tromey <tom@tromey.com>
Date: Sun Nov 13 20:56:34 2016 -0700
PR symtab/16264 - support DW_AT_main_subprogram
This patch adds support for DW_AT_main_subprogram.
This is PR symtab/16264.
DW_AT_main_subprogram is used to mark a program's entry point. GCC
can emit this, and I hope to change the Rust compiler to emit it as
well.
GDB already supports an older, pre-DWARF 4 convention adopted by
FORTRAN compilers, namely to emit DW_AT_calling_convention for the
"main" function. However, I think this support in GDB had a small
bug, in that it seems to rely on the DW_AT_name being read before
DW_AT_calling_convention. This patch fixes this as well.
Built and regtested on x86-64 Fedora 24 and the buildbot. New test
case included.
2016-12-02 Tom Tromey <tom@tromey.com>
PR symtab/16264:
* dwarf2read.c (struct partial_die_info) <main_subprogram>: New
member.
(add_partial_symbol): Call set_objfile_main_name.
(read_partial_die): Handle DW_AT_main_subprogram.
<DW_AT_calling_convention>: don't call set_objfile_main_name, but
set main_subprogram flag.
2016-12-02 Tom Tromey <tom@tromey.com>
* gdb.dwarf2/main-subprogram.c: New file.
* gdb.dwarf2/main-subprogram.exp: New file.
commit f5ac6ab387ef0974f6348ac7febc691fbb6c0eb4
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Dec 2 15:43:53 2016 +0000
Fix seg-fault in the linker when attempting to print out a malicious linker script.
PR ld/20910
* ldmain.c (main): Prevent evaluation of %<char> sequences when
printing out a linker script.
commit a9752fdf83985f62a0c343311a9cb42ad13f9876
Author: Claudiu Zissulescu <claziss@synopsys.com>
Date: Fri Dec 2 16:08:10 2016 +0100
[ARC] Sync cpu names with the ones accepted by GCC.
gas/
2016-12-02 Claudiu Zissulescu <claziss@synopsys.com>
* testsuite/gas/arc/cpu-em-err.s: New file.
* testsuite/gas/arc/cpu-em4-err.s: Likewise.
* testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
* testsuite/gas/arc/cpu-hs-err.s: Likewise.
* testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
* testsuite/gas/arc/noargs_a7.s: Add .cpu.
* config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
(ARC_CPU_TYPE_A7xx): Likewise.
(ARC_CPU_TYPE_AV2EM): Likewise.
(ARC_CPU_TYPE_AV2HS): Likewise.
(cpu_types): Update list of known CPU names.
(arc_show_cpu_list): New function.
(md_show_usage): Print accepted CPU names.
(cl_features): New variable.
(arc_select_cpu): Use cl_features.
(arc_option): Allow various .cpu names.
(md_parse_option): Set cl_features.
* doc/c-arc.texi: Update -mcpu and .cpu documentation.
commit e5a873b7071d74320d4e0cbbc2f358dcf2322557
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Fri Dec 2 10:16:51 2016 -0500
Rename some trace functions
This patch renames a few trace-related functions, so that they adhere to
the de facto standard of naming command entry point functions
<command>_command. I like the ease of looking up a command entry point
if they all follow that rule.
An enum label "tstop_command" conflicts with a new function name, so I
renamed this one trace_stop_command.
In v2:
- Rename functions of the trace_find family, as well as
trace_dump_command.
gdb/ChangeLog:
* tracefile-tfile.c (tfile_write_status): Adjust to renames.
* tracefile.c (trace_save_command): Rename to...
(tsave_command): ...this.
(_initialize_tracefile): Adjust to renames.
* tracepoint.c (trace_actions_command): Rename to...
(actions_command): ...this.
(trace_start_command): Rename to...
(tstart_command): ...this, and adjust to renames..
(trace_stop_command): Rename to...
(tstop_command): ...this.
(trace_status_command): Rename to...
(tstatus_command): ...this, and adjust to renames.
(trace_find_command): Rename to...
(tfind_command): ...this.
(trace_find_pc_command): Rename to...
(tfind_pc_command): ...this.
(trace_find_tracepoint_command): Rename to...
(tfind_tracepoint_command): ...this.
(trace_find_line_command): Rename to...
(tfind_line_command): ...this.
(trace_find_range_command): Rename to...
(tfind_range_command): ...this.
(trace_find_outside_command): Rename to...
(tfind_outside_command): ...this.
(trace_dump_command): Rename to...
(tdump_command): ...this.
(tfind_1): Adjust to renames.
(trace_find_end_command): Rename to...
(tfind_end_command): ...this, and adjust to renames..
(trace_status_mi): Adjust to renames.
(parse_trace_status): Adjust to renames.
(_initialize_tracepoint): Adjust to renames.
* tracepoint.h (enum trace_stop_reason) <tstop_command>: Rename
to...
<trace_stop_command>: ...this.
commit fe6fae079099c0eeb3186086d6b150800c0e8770
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Dec 2 15:03:05 2016 +0000
Fix seg-fault in linker when applying relocs to a corrupt binary.
PR ld/20911
* ldctor.c (ldctor_build_sets): Produce alternative error message
if the reloc was being applied to a special section.
commit 233c8c27eb81b0a3ab5182dcb59c7306ba9bd3f3
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Fri Dec 2 09:55:09 2016 -0500
Remove mi_out_data::suppress_output
The suppress_output field of the mi_ui_out_data structure is never actually
set to 1/true. We can therefore remove it, and remove all the
if (suppress_output)
checks.
gdb/ChangeLog:
* mi/mi-out.c (mi_ui_out_data) <suppress_output>: Remove.
(mi_table_body): Remove suppress_output check.
(mi_table_end): Likewise.
(mi_table_header): Likewise.
(mi_begin): Likewise.
(mi_end): Likewise.
(mi_field_int): Likewise.
(mi_field_string): Likewise.
(mi_field_fmt): Likewise.
(mi_out_data_ctor): Likewise.
commit 68c638d6e655a937a48770a5df765e6ebbc5b890
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Dec 2 14:40:46 2016 +0000
Fix seg-fault linking corrupt binary.
PR ld/20912
* emultempl/elf32.em (_place_orphan): Test for ELF format of the
orphan before looking for the SHF_EXCLUDE flag.
commit 08698b7b46c9c932530dcbcd7e851d27a7d2c503
Author: Gary Benson <gbenson@redhat.com>
Date: Tue Nov 29 11:14:02 2016 +0000
Always pass a valid section header offset to elf_parse_notes
_bfd_elf_make_section_from_shdr calls elf_parse_notes with an offset
of -1. This argument is used to calculate Elf_Internal_Note.descpos,
which ends up set to a positive but meaningless value. This commit
updates _bfd_elf_make_section_from_shdr to pass the correct offset to
elf_parse_notes, making Elf_Internal_Note.descpos correct in all cases.
bfd/ChangeLog:
* elf.c (_bfd_elf_make_section_from_shdr): Pass offset to
elf_parse_notes.
commit d5451cd45325d12b2cc3d10ffe67f09b0e26b967
Author: Josh Conner <joshconner@google.com>
Date: Fri Dec 2 10:44:29 2016 +0000
Add support for Fushia OS.
* configure.ac: Add fuchsia to targets that use ELF.
* configure: Regenerated.
bfd * configure.tgt: Add support for fuchsia (OS).
gas * configure.tgt: Add support for fuchsia (OS).
ld * Makefile.am: Add dependency information for earmelf_fuchsia.c.
* Makefile.in: Regenerate.
* configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
x86_64-*-fuchsia* targets.
* emulparams/armelf_fuchsia.sh: New file.
* emulparams/armelfb_fuchsia.sh: New file.
commit 432ec0814b01a93b88eddf13092ea6abef34652d
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Dec 2 09:37:30 2016 +0000
[AArch64] Recognize STR instruction in prologue
This patch teaches GDB AArch64 backend to recognize STR instructions
in prologue, like 'str x19, [sp, #-48]!' or 'str w0, [sp, #44]'.
The unit test is added too.
gdb:
2016-12-02 Yao Qi <yao.qi@linaro.org>
Pedro Alves <palves@redhat.com>
* aarch64-tdep.c (aarch64_analyze_prologue): Recognize STR
instruction.
(aarch64_analyze_prologue_test): More tests.
commit 4d9a9006139d1ceea787cdda871dff8943e493f0
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Dec 2 09:37:30 2016 +0000
Add unit test to aarch64 prologue analyzer
We don't have an effective way to test prologue analyzer which is
highly dependent on instruction patterns in prologue generated by
compiler. GDB prologue analyzer may not handle the new sequences
generated by new compiler, or may still handle some sequences that
generated by very old compilers which are no longer used. The
former is a functionality issue, while the latter is a maintenance
issue.
The input and output of prologue analyzer is quite clear, so it
fits for unit test. The input is series of instructions, and the
output are 1) where prologue end, 2) where registers are saved.
In aarch64, they are represented in 'struct aarch64_prologue_cache'.
This patch refactors aarch64_analyze_prologue so it can read
instructions from either real target or test harness. In unit
test aarch64_analyze_prologue_test, aarch64_analyze_prologue gets
instructions we prepared in the test, as the input of prologue
analyzer. Then, we checked various fields in
'struct aarch64_prologue_cache'.
gdb:
2016-12-02 Yao Qi <yao.qi@linaro.org>
Pedro Alves <palves@redhat.com>
* aarch64-tdep.c: Include "selftest.h".
(abstract_instruction_reader): New class.
(instruction_reader): New class.
(aarch64_analyze_prologue): Add new parameter reader. Call
reader.read instead of read_memory_unsigned_integer.
[GDB_SELF_TEST] (instruction_reader_test): New class.
(aarch64_analyze_prologue_test): New function.
(_initialize_aarch64_tdep) [GDB_SELF_TEST]: Register
selftests::aarch64_analyze_prologue_test.
* trad-frame.c (trad_frame_cache_zalloc):
(trad_frame_alloc_saved_regs): Add a new function.
* trad-frame.h (trad_frame_alloc_saved_regs): Declare.
commit 018572b88885ae67d22612937fa1e4fd98d5f5ad
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 22:07:02 2016 -0600
Don't handle timeout inside gdb_test_multiple
This fixes a few cases where the testcase is explicitly handling timeouts
inside gdb_test_multiple when it is not necessary.
It also converts two gdb_test_multiple calls to gdb_test_no_output calls
(also removing the timeout handling).
gdb/testsuite/ChangeLog:
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
* gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
* gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
gdb_test_no_output for a couple of cases.
* gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
commit 397b8d2a9fb6651924c311f41b90cabeb3fc3ae9
Author: Cary Coutant <ccoutant@gmail.com>
Date: Thu Dec 1 19:54:05 2016 -0800
Fix problem where orphan section is treated as a KEEP section.
gold/
PR gold/20717
* script-sections.cc (Script_sections): Set *keep to false when
no match.
commit be2884c1ea9b96fdb04c6d244d9e7aa1b654a47a
Author: Cary Coutant <ccoutant@gmail.com>
Date: Thu Dec 1 19:00:30 2016 -0800
Fix problem causing internal error when -z max-page-size is used.
If the default starting address is less than the new ABI page size,
we end up misaligning the file header, causing an internal error.
gold/
PR gold/20834
* target.h (Target::default_text_segment_address): Bump default
start address up to ABI page size.
commit 376c3ecd17d0636bcf4e527c2e2ca2f94822fe64
Author: Cary Coutant <ccoutant@gmail.com>
Date: Thu Dec 1 16:32:38 2016 -0800
Implement --push-state/--pop-state.
gold/
PR gold/18989
* options.cc (General_options::object_format_to_string): New function.
(General_options::copy_from_posdep_options): New function.
(General_options::parse_push_state): New function.
(General_options::parse_pop_state): New function.
* options.h (--push-state, --pop-state): New options.
(General_options::object_format_to_string): New method.
(General_options::set_incremental_disposition): New method.
(General_options::copy_from_posdep_options): New method.
(General_options::options_stack_): New data member.
commit 6a67d49e559b432ead2859e9bb327852adb53112
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Fri Dec 2 00:00:35 2016 +0000
Automatic date update in version.in
commit 36d18bc526b055be896d8dc319cb3ade42238534
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Dec 1 16:20:02 2016 -0500
Class-ify ui_out_table
This patch makes a class out of the ui_out_table structure, the
structure responsible for managing the generation of an UI table.
To simplify the ui_out_table object, I changed it so that it can only be
used for generating a single object. Instead of clearing the header
list when starting a new table, we an ui_out_table when starting a
table and delete it when we're done. Therefore, the checks:
if (uiout->table->flag)
if (!uiout->table->flag)
are respectively replaced with
if (uiout->table != nullptr)
if (uiout->table == nullptr)
Note: I removed the check at the beginning of ui_out_begin, because
there is an equivalent check at the beginning of verify_field.
New in v2:
- use "enum class" for ui_out_table::state and update references.
gdb/ChangeLog:
* ui-out.c (enum ui_out_table_state): Move to class
ui_out_table as ui_out_table::state.
(struct ui_out_table): Change to ...
(class ui_out_table): ... this.
<flag>: Remove.
<entry_level>: Rename to ...
<m_entry_level>: ... this.
<columns>: Rename to ...
<m_nr_cols>: ... this.
<id>: Rename to ...
<m_id>: ... this.
<headers>: Rename to ...
<m_headers>: ... this.
<headers_iterator>: Rename to ...
<m_headers_iterator>: ... this.
<start_body, append_header, start_row, get_next_header,
query_field, current_state, entry_level>: New methods.
(struct ui_out) <table>: Change type to unique_ptr to
ui_out_table.
(append_header_to_list, get_next_header, clear_header_list,
clear_table): Remove.
(ui_out_table_begin): Instantiate ui_out_table object. Update
table check.
(ui_out_table_body): Update table check, replace code with call
to ui_out_table::start_body.
(ui_out_table_end): Update table check, replace manual cleanup
with assignment of uiout->table unique_ptr to nullptr.
(ui_out_table_header): Update table check, replace call to
append_header_to_list with call to append_header method.
(ui_out_begin): Remove one table state check, update another.
Replace code with call to start_row method.
(verify_field): Update table checks.
(ui_out_query_field): Update table check, replace code with call
to query_field method.
(ui_out_new): Remove table initialization code.
commit 77a179e77b38161e461f5e37512f0b3fc3582181
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Dec 1 16:10:45 2016 -0500
ui_out_table: Replace boolean flag with enum
This patch is just a little cleanup, it replaces the body_flag field of
ui_out_table with an enum. It expresses more explicitly the
intent of the field (check that state == TABLE_STATE_HEADERS conveys
more what we want to do than checking for !body_flag).
New in v2:
- Remove unnecessary ui_out_table_state::.
gdb/ChangeLog:
* ui-out.c (enum ui_out_table_state): New enum.
(struct ui_out_table) <body_flag>: Remove field.
<state>: New field.
(ui_out_table_begin): Replace usages of body_flag with state.
(ui_out_table_body): Likewise.
(ui_out_table_end): Likewise.
(ui_out_table_header): Likewise.
(ui_out_begin): Likewise.
(verify_field): Likewise.
(ui_out_new): Likewise.
commit 33b2fac610fff1255a24763277a4bf77f1b59ef1
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Dec 1 16:05:17 2016 -0500
Simplify ui-out level code
Now that we use a vector to store the levels, we don't have to keep a
separate level field in ui_out to keep track of the current level. We
can efficiently derive it from the vector size. That causes a little
change in the meaning of the level, as in they are now 1-based instead
of 0-based (the initial level has the "id" 1 now), but it shouldn't
change anything in the behavior.
Additionally, push_level and pop_level don't really need to return the
new level, making them return void simplifies the code a bit.
Finally, the ui_out_begin/ui_out_end callbacks in the ui_out_impl
interface don't need to be passed the level, it's never actually used.
New in v2:
- Remove or update stale comments.
gdb/ChangeLog:
* ui-out.h (ui_out_begin_ftype): Remove level parameter.
(ui_out_end_ftype): Likewise.
* ui-out.c (struct ui_out) <level>: Replace field with a method
that dynamically computes the result.
(current_level): Get vector's back item instead of using
uiout->level.
(push_level): Make return type void.
(pop_level): Make return type void and update access to
ui_out::level.
(uo_begin): Remove level parameter.
(uo_end): Likewise.
(ui_out_table_begin): Update access to uiout::level.
(ui_out_begin): Don't read return value from push_level, call
uiout->level() instead, update call to uo_begin.
(ui_out_end): Don't read return value from pop_level, update
call to uo_end.
(verify_field): Update access to uiout->level.
(ui_out_new): Don't initialize ui_out::level, call push_level
to push the initial level instead of doing it by hand.
* cli-out.c (cli_begin): Remove level parameter.
(cli_end): Likewise.
* mi/mi-out.c (mi_begin): Likewise.
(mi_end): Likewise.
commit 909c0aa5824080c287b390f82726cf5bfb7011e3
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Dec 1 16:04:43 2016 -0500
Class-ify ui_out_level
This patch changes struct ui_out_level to be a real C++ class. No
behavioral changes.
gdb/ChangeLog:
* ui-out.c (struct ui_out_level): Replace with ...
(class ui_out_level): ... this.
(current_level): Update.
(push_level): Update.
(pop_level): Update.
(verify_field): Update.
(ui_out_new): Update.
commit 37e20dd6599203c4e261fc3a2e86711c90cbbed9
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Dec 1 16:02:00 2016 -0500
Class-ify ui_out_hdr
This patch makes ui_out_hdr (the object that represents an ui-out table
header) a proper C++ class. No behavior changes, it's all about
encapsulation.
gdb/ChangeLog:
* ui-out.c (struct ui_out_hdr): Replace with ...
(class ui_out_hdr): ... this.
(append_header_to_list): Update.
(get_next_header): Update.
(ui_out_query_field): Update.
commit c5209615263fd0444da28cdfb6661ad287909a70
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Dec 1 15:59:01 2016 -0500
Use std::string for ui_out_hdr's text fields
This patch makes ui_out_hdr use std::string for its text fields. It
makes freeing automatic when the object is deleted.
gdb/ChangeLog:
* mi/mi-out.c (mi_table_header): Change char * args to
std::string.
* cli-out.c (cli_table_header): Likewise.
* ui-out.h (table_header_ftype): Likewise.
(ui_out_table_header): Constify colhdr argument.
(ui_out_query_field): Constify col_name argument.
* ui-out.c (ui_out_hdr) <col_name, colhdr>: Change type to
std::string.
(uo_table_header): Change char * args to std::string.
(ui_out_table_header): Likewise.
(get_next_header): Constify colhdr argument and adapt.
(clear_header_list): Don't free col_name/colhdr fields.
(append_header_to_list): Change char * args to std::string and
adapt.
(verify_field): Constify variable.
(ui_out_query_field): Constify col_name argument and adapt.
* breakpoint.c (wrap_indent_at_field): Constify variable.
commit 78afa7f8599e46eb94a93510b383dfb35e549f7e
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Dec 1 15:58:40 2016 -0500
Replace hand-made linked list of ui_out_hdr by vector and iterator
Instead of keeping pointers to first, last and current ui_out_hdr in
ui_out_table, we can use an std::vector and an iterator. Direct random
access of to vector helps make get_next_header a bit nicer by avoiding
iterating on all the headers. append_header_to_list is also a bit
simpler.
Also, using unique_ptr inside the vector allows expressing the ownership
of the ui_out_hdr objects by the ui_out_table object, and it simplifies
the destruction.
gdb/ChangeLog:
* ui-out.c (struct ui_out_hdr) <next>: Remove.
(struct ui_out_table) <header_first, header_last, header_next>: Remove.
<headers, headers_iterator>: New fields.
(ui_out_table_body): Update for the new data structure.
(ui_out_begin): Likewise.
(clear_header_list): Likewise.
(append_header_to_list): Likewise.
(get_next_header): Likewise.
(ui_out_query_field): Likewise.
(ui_out_new): Likewise.
commit 0f1254327820d7b3f67f873aa40e76679f067288
Author: Cary Coutant <ccoutant@gmail.com>
Date: Thu Dec 1 12:50:21 2016 -0800
Fix internal error when relaxing branches to STT_SECTION symbols.
gold/
PR gold/20807
* aarch64.cc (Target_aarch64::scan_reloc_section_for_stubs): Handle
section symbols correctly.
* arm.cc (Target_arm): Likewise.
* powerpc.cc (Target_powerpc): Likewise.
commit 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 14:47:50 2016 -0600
Fixup testcases outputting own name as a test name and standardize failed compilation messages
Changes in v3:
- Adjusted some testcases where the message "failed to compile" was not unique.
Changes in v2:
- Addressed comments from reviewers.
- Fixed spurious whitespaces.
- Changed compilation failure messages that included source/binary paths to
ones that are short and deterministic.
---
Another bit of cleanup to the testsuite. We have a number of tests that are
not honoring the rule of not outputting their own name as a test name.
I fixed up all the offenders i could find with the following regular
expression:
"(xfail|kfail|kpass|fail|pass|unsupported|untested) ([A-Za-z0-9]+|\\\$(.)*testfile(.)*)\.exp$"
gdb/testsuite/ChangeLog:
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names and standardize compilation error messages throughout
the following files:
* gdb.ada/start.exp
* gdb.arch/alpha-step.exp
* gdb.arch/e500-prologue.exp
* gdb.arch/ftrace-insn-reloc.exp
* gdb.arch/gdb1291.exp
* gdb.arch/gdb1431.exp
* gdb.arch/gdb1558.exp
* gdb.arch/i386-dr3-watch.exp
* gdb.arch/i386-sse-stack-align.exp
* gdb.arch/ia64-breakpoint-shadow.exp
* gdb.arch/pa-nullify.exp
* gdb.arch/powerpc-aix-prologue.exp
* gdb.arch/thumb-bx-pc.exp
* gdb.base/annota1.exp
* gdb.base/annota3.exp
* gdb.base/arrayidx.exp
* gdb.base/assign.exp
* gdb.base/attach.exp
* gdb.base/auxv.exp
* gdb.base/bang.exp
* gdb.base/bfp-test.exp
* gdb.base/bigcore.exp
* gdb.base/bitfields2.exp
* gdb.base/break-fun-addr.exp
* gdb.base/break-probes.exp
* gdb.base/call-rt-st.exp
* gdb.base/callexit.exp
* gdb.base/catch-fork-kill.exp
* gdb.base/charset.exp
* gdb.base/checkpoint.exp
* gdb.base/comprdebug.exp
* gdb.base/constvars.exp
* gdb.base/coredump-filter.exp
* gdb.base/cursal.exp
* gdb.base/cvexpr.exp
* gdb.base/detach.exp
* gdb.base/display.exp
* gdb.base/dmsym.exp
* gdb.base/dprintf-pending.exp
* gdb.base/dso2dso.exp
* gdb.base/dtrace-probe.exp
* gdb.base/dump.exp
* gdb.base/enum_cond.exp
* gdb.base/exe-lock.exp
* gdb.base/exec-invalid-sysroot.exp
* gdb.base/execl-update-breakpoints.exp
* gdb.base/exprs.exp
* gdb.base/fileio.exp
* gdb.base/find.exp
* gdb.base/finish.exp
* gdb.base/fixsection.exp
* gdb.base/foll-vfork.exp
* gdb.base/frame-args.exp
* gdb.base/gcore.exp
* gdb.base/gdb1250.exp
* gdb.base/global-var-nested-by-dso.exp
* gdb.base/gnu-ifunc.exp
* gdb.base/hashline1.exp
* gdb.base/hashline2.exp
* gdb.base/hashline3.exp
* gdb.base/hbreak-in-shr-unsupported.exp
* gdb.base/huge.exp
* gdb.base/infcall-input.exp
* gdb.base/info-fun.exp
* gdb.base/info-shared.exp
* gdb.base/jit-simple.exp
* gdb.base/jit-so.exp
* gdb.base/jit.exp
* gdb.base/jump.exp
* gdb.base/label.exp
* gdb.base/lineinc.exp
* gdb.base/logical.exp
* gdb.base/longjmp.exp
* gdb.base/macscp.exp
* gdb.base/miscexprs.exp
* gdb.base/new-ui-echo.exp
* gdb.base/new-ui-pending-input.exp
* gdb.base/new-ui.exp
* gdb.base/nodebug.exp
* gdb.base/nofield.exp
* gdb.base/offsets.exp
* gdb.base/overlays.exp
* gdb.base/pending.exp
* gdb.base/pointers.exp
* gdb.base/pr11022.exp
* gdb.base/printcmds.exp
* gdb.base/prologue.exp
* gdb.base/ptr-typedef.exp
* gdb.base/realname-expand.exp
* gdb.base/relativedebug.exp
* gdb.base/relocate.exp
* gdb.base/remote.exp
* gdb.base/reread.exp
* gdb.base/return2.exp
* gdb.base/savedregs.exp
* gdb.base/sep.exp
* gdb.base/sepdebug.exp
* gdb.base/sepsymtab.exp
* gdb.base/set-inferior-tty.exp
* gdb.base/setshow.exp
* gdb.base/shlib-call.exp
* gdb.base/sigaltstack.exp
* gdb.base/siginfo-addr.exp
* gdb.base/signals.exp
* gdb.base/signull.exp
* gdb.base/sigrepeat.exp
* gdb.base/so-impl-ld.exp
* gdb.base/solib-display.exp
* gdb.base/solib-overlap.exp
* gdb.base/solib-search.exp
* gdb.base/solib-symbol.exp
* gdb.base/structs.exp
* gdb.base/structs2.exp
* gdb.base/symtab-search-order.exp
* gdb.base/twice.exp
* gdb.base/unload.exp
* gdb.base/varargs.exp
* gdb.base/watchpoint-solib.exp
* gdb.base/watchpoint.exp
* gdb.base/whatis.exp
* gdb.base/wrong_frame_bt_full.exp
* gdb.btrace/dlopen.exp
* gdb.cell/ea-standalone.exp
* gdb.cell/ea-test.exp
* gdb.cp/dispcxx.exp
* gdb.cp/gdb2384.exp
* gdb.cp/method2.exp
* gdb.cp/nextoverthrow.exp
* gdb.cp/pr10728.exp
* gdb.disasm/am33.exp
* gdb.disasm/h8300s.exp
* gdb.disasm/mn10300.exp
* gdb.disasm/sh3.exp
* gdb.dwarf2/dw2-dir-file-name.exp
* gdb.fortran/complex.exp
* gdb.fortran/library-module.exp
* gdb.guile/scm-pretty-print.exp
* gdb.guile/scm-symbol.exp
* gdb.guile/scm-type.exp
* gdb.guile/scm-value.exp
* gdb.linespec/linespec.exp
* gdb.mi/gdb701.exp
* gdb.mi/gdb792.exp
* gdb.mi/mi-breakpoint-changed.exp
* gdb.mi/mi-dprintf-pending.exp
* gdb.mi/mi-dprintf.exp
* gdb.mi/mi-exit-code.exp
* gdb.mi/mi-pending.exp
* gdb.mi/mi-solib.exp
* gdb.mi/new-ui-mi-sync.exp
* gdb.mi/pr11022.exp
* gdb.mi/user-selected-context-sync.exp
* gdb.opt/solib-intra-step.exp
* gdb.python/py-events.exp
* gdb.python/py-finish-breakpoint.exp
* gdb.python/py-mi.exp
* gdb.python/py-prettyprint.exp
* gdb.python/py-shared.exp
* gdb.python/py-symbol.exp
* gdb.python/py-template.exp
* gdb.python/py-type.exp
* gdb.python/py-value.exp
* gdb.reverse/solib-precsave.exp
* gdb.reverse/solib-reverse.exp
* gdb.server/solib-list.exp
* gdb.stabs/weird.exp
* gdb.threads/reconnect-signal.exp
* gdb.threads/stepi-random-signal.exp
* gdb.trace/actions.exp
* gdb.trace/ax.exp
* gdb.trace/backtrace.exp
* gdb.trace/change-loc.exp
* gdb.trace/deltrace.exp
* gdb.trace/ftrace-lock.exp
* gdb.trace/ftrace.exp
* gdb.trace/infotrace.exp
* gdb.trace/mi-tracepoint-changed.exp
* gdb.trace/packetlen.exp
* gdb.trace/passcount.exp
* gdb.trace/pending.exp
* gdb.trace/range-stepping.exp
* gdb.trace/report.exp
* gdb.trace/stap-trace.exp
* gdb.trace/tfind.exp
* gdb.trace/trace-break.exp
* gdb.trace/trace-condition.exp
* gdb.trace/trace-enable-disable.exp
* gdb.trace/trace-mt.exp
* gdb.trace/tracecmd.exp
* gdb.trace/tspeed.exp
* gdb.trace/tsv.exp
* lib/perftest.exp
commit fb9feb35913d4cf26baf01e1638b18af301f5387
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 14:46:28 2016 -0600
Fix test names starting with uppercase using multi-line gdb_test_multiple
This fixes offender testcases that have test names starting with uppercase
when using gdb_test_multiple in a multi-line construct.
gdb/testsuite/ChangeLog
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
* gdb.cp/gdb2495.exp: Replace gdb_test_multiple
with gdb_test_no_output.
Use command as test name.
commit cd2ddb6cde55a20d191e1002dbe1977df695cda9
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 14:45:32 2016 -0600
Fix test names starting with uppercase using multi-line gdb_test_no_output
This fixes offender testcases that have test names starting with uppercase
when using gdb_test_no_output in a multi-line construct.
gdb/testsuite/ChangeLog
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout the files.
* gdb.ada/assign_1.exp
* gdb.ada/boolean_expr.exp
* gdb.base/arrayidx.exp
* gdb.base/del.exp
* gdb.base/gcore-buffer-overflow.exp
* gdb.base/testenv.exp
* gdb.compile/compile.exp
* gdb.python/py-framefilter-invalidarg.exp
* gdb.python/py-framefilter.exp
commit bb95117e107fe58ecd35683bf0e8da3b414378ff
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 14:44:38 2016 -0600
Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test
This fixes offender testcases that have test names starting with uppercase
when using gdb_test/mi_gdb_test in a multi-line construct.
gdb/testsuite/ChangeLog
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout the files.
* gdb.ada/array_return.exp
* gdb.ada/expr_delims.exp
* gdb.ada/mi_dyn_arr.exp
* gdb.ada/mi_interface.exp
* gdb.ada/mi_var_array.exp
* gdb.ada/watch_arg.exp
* gdb.arch/alpha-step.exp
* gdb.arch/altivec-regs.exp
* gdb.arch/e500-regs.exp
* gdb.arch/powerpc-d128-regs.exp
* gdb.base/arrayidx.exp
* gdb.base/break.exp
* gdb.base/checkpoint.exp
* gdb.base/debug-expr.exp
* gdb.base/dmsym.exp
* gdb.base/radix.exp
* gdb.base/sepdebug.exp
* gdb.base/testenv.exp
* gdb.base/watch_thread_num.exp
* gdb.base/watchpoint-cond-gone.exp
* gdb.cell/break.exp
* gdb.cell/ea-cache.exp
* gdb.compile/compile.exp
* gdb.cp/gdb2495.exp
* gdb.gdb/selftest.exp
* gdb.gdb/xfullpath.exp
* gdb.go/hello.exp
* gdb.go/integers.exp
* gdb.objc/basicclass.exp
* gdb.pascal/hello.exp
* gdb.pascal/integers.exp
* gdb.python/py-breakpoint.exp
* gdb.python/py-cmd.exp
* gdb.python/py-linetable.exp
* gdb.python/py-xmethods.exp
* gdb.python/python.exp
* gdb.reverse/consecutive-precsave.exp
* gdb.reverse/finish-precsave.exp
* gdb.reverse/i386-precsave.exp
* gdb.reverse/machinestate-precsave.exp
* gdb.reverse/sigall-precsave.exp
* gdb.reverse/solib-precsave.exp
* gdb.reverse/step-precsave.exp
* gdb.reverse/until-precsave.exp
* gdb.reverse/watch-precsave.exp
* gdb.threads/leader-exit.exp
* gdb.threads/pthreads.exp
* gdb.threads/wp-replication.exp
* gdb.trace/actions.exp
* gdb.trace/mi-tsv-changed.exp
* gdb.trace/tsv.exp
commit de97fdd4a05cd7ad0b05444f1721f26c1ad9322f
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 14:43:42 2016 -0600
Fix test names starting with uppercase using gdb_test_multiple
This fixes offender testcases that have test names starting with uppercase
when using gdb_test_multiple in a single-line construct.
gdb/testsuite/ChangeLog
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout the files.
* gdb.arch/i386-bp_permanent.exp
* gdb.arch/i386-gnu-cfi.exp
* gdb.base/disasm-end-cu.exp
* gdb.base/macscp.exp
* gdb.base/pending.exp
* gdb.base/watch_thread_num.exp
* gdb.cp/exception.exp
* gdb.cp/gdb2495.exp
* gdb.cp/local.exp
* gdb.python/py-evsignal.exp
* gdb.python/python.exp
* gdb.trace/tracecmd.exp
commit 9f058c10cef5987ee1f1cb28c9a8cf5ef1ec4d11
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 14:42:48 2016 -0600
Fix test names starting with uppercase using gdb_test_no_output
This fixes offender testcases that have test names starting with uppercase
when using gdb_test_no_output in a single-line construct.
gdb/testsuite/ChangeLog
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout the files.
* gdb.base/charset.exp
* gdb.base/eval.exp
* gdb.base/multi-forks.exp
* gdb.guile/scm-progspace.exp
* gdb.opencl/datatypes.exp
* gdb.python/py-block.exp
* gdb.python/py-function.exp
* gdb.python/py-symbol.exp
* gdb.python/py-symtab.exp
* gdb.python/py-xmethods.exp
* gdb.reverse/break-precsave.exp
* gdb.reverse/break-reverse.exp
* gdb.reverse/consecutive-precsave.exp
* gdb.reverse/consecutive-reverse.exp
* gdb.reverse/finish-precsave.exp
* gdb.reverse/finish-reverse-bkpt.exp
* gdb.reverse/finish-reverse.exp
* gdb.reverse/fstatat-reverse.exp
* gdb.reverse/getresuid-reverse.exp
* gdb.reverse/i386-precsave.exp
* gdb.reverse/i386-reverse.exp
* gdb.reverse/i386-sse-reverse.exp
* gdb.reverse/i387-stack-reverse.exp
* gdb.reverse/insn-reverse.exp
* gdb.reverse/machinestate-precsave.exp
* gdb.reverse/machinestate.exp
* gdb.reverse/next-reverse-bkpt-over-sr.exp
* gdb.reverse/pipe-reverse.exp
* gdb.reverse/readv-reverse.exp
* gdb.reverse/recvmsg-reverse.exp
* gdb.reverse/rerun-prec.exp
* gdb.reverse/s390-mvcle.exp
* gdb.reverse/sigall-precsave.exp
* gdb.reverse/sigall-reverse.exp
* gdb.reverse/solib-precsave.exp
* gdb.reverse/solib-reverse.exp
* gdb.reverse/step-precsave.exp
* gdb.reverse/step-reverse.exp
* gdb.reverse/time-reverse.exp
* gdb.reverse/until-precsave.exp
* gdb.reverse/until-reverse.exp
* gdb.reverse/waitpid-reverse.exp
* gdb.reverse/watch-precsave.exp
* gdb.reverse/watch-reverse.exp
commit cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 14:41:23 2016 -0600
Fix test names starting with uppercase using gdb_test on a single line.
Changes in v3:
Fixed incorrect substitutions.
This fixes offender testcases that have test names starting with uppercase
when using gdb_test in a single line construct.
gdb/testsuite/ChangeLog
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout the files.
* gdb.arch/i386-mpx-simple_segv.exp
* gdb.arch/i386-mpx.exp
* gdb.arch/i386-permbkpt.exp
* gdb.arch/pa-nullify.exp
* gdb.arch/powerpc-d128-regs.exp
* gdb.arch/vsx-regs.exp
* gdb.base/bfp-test.exp
* gdb.base/break.exp
* gdb.base/breakpoint-shadow.exp
* gdb.base/callfuncs.exp
* gdb.base/charset.exp
* gdb.base/commands.exp
* gdb.base/completion.exp
* gdb.base/dfp-test.exp
* gdb.base/echo.exp
* gdb.base/ending-run.exp
* gdb.base/eval.exp
* gdb.base/expand-psymtabs.exp
* gdb.base/float128.exp
* gdb.base/floatn.exp
* gdb.base/foll-exec-mode.exp
* gdb.base/gdb1056.exp
* gdb.base/gdb11531.exp
* gdb.base/kill-after-signal.exp
* gdb.base/multi-forks.exp
* gdb.base/overlays.exp
* gdb.base/pending.exp
* gdb.base/sepdebug.exp
* gdb.base/testenv.exp
* gdb.base/valgrind-db-attach.exp
* gdb.base/watch_thread_num.exp
* gdb.base/watchpoint-cond-gone.exp
* gdb.base/watchpoint.exp
* gdb.base/watchpoints.exp
* gdb.cp/arg-reference.exp
* gdb.cp/baseenum.exp
* gdb.cp/operator.exp
* gdb.cp/shadow.exp
* gdb.dwarf2/dw2-op-out-param.exp
* gdb.dwarf2/dw2-reg-undefined.exp
* gdb.go/chan.exp
* gdb.go/hello.exp
* gdb.go/integers.exp
* gdb.go/methods.exp
* gdb.go/package.exp
* gdb.guile/scm-parameter.exp
* gdb.guile/scm-progspace.exp
* gdb.guile/scm-value.exp
* gdb.mi/mi-pending.exp
* gdb.mi/user-selected-context-sync.exp
* gdb.multi/multi-attach.exp
* gdb.multi/tids.exp
* gdb.opt/clobbered-registers-O2.exp
* gdb.pascal/floats.exp
* gdb.pascal/integers.exp
* gdb.python/py-block.exp
* gdb.python/py-events.exp
* gdb.python/py-parameter.exp
* gdb.python/py-symbol.exp
* gdb.python/py-symtab.exp
* gdb.python/py-type.exp
* gdb.python/py-value.exp
* gdb.python/py-xmethods.exp
* gdb.python/python.exp
* gdb.reverse/break-precsave.exp
* gdb.reverse/consecutive-precsave.exp
* gdb.reverse/finish-precsave.exp
* gdb.reverse/i386-precsave.exp
* gdb.reverse/machinestate-precsave.exp
* gdb.reverse/sigall-precsave.exp
* gdb.reverse/solib-precsave.exp
* gdb.reverse/step-precsave.exp
* gdb.reverse/until-precsave.exp
* gdb.reverse/watch-precsave.exp
* gdb.server/ext-attach.exp
* gdb.server/ext-restart.exp
* gdb.server/ext-run.exp
* gdb.server/ext-wrapper.exp
* gdb.stabs/gdb11479.exp
* gdb.stabs/weird.exp
* gdb.threads/attach-many-short-lived-threads.exp
* gdb.threads/kill.exp
* gdb.threads/watchpoint-fork.exp
commit bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 14:40:05 2016 -0600
Fix test names starting with uppercase output by basic functions
The following patch is based on the previous patch i sent and handles cases of
test names that start with an uppercase letter. Test names should start with
lowercase unless it starts with the name of a technology, architecture, ISA
etc.
This first patch addresses cases of test names output explicitly via xfail,
kfail, kpass, fail, pass, unsupported, untested and also names set with the
pattern "set test" and "set testname".
gdb/testsuite/ChangeLog:
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout all the files below.
* gdb.ada/array_return.exp
* gdb.ada/catch_ex.exp
* gdb.ada/info_exc.exp
* gdb.ada/mi_catch_ex.exp
* gdb.ada/mi_dyn_arr.exp
* gdb.ada/mi_ex_cond.exp
* gdb.ada/mi_exc_info.exp
* gdb.ada/mi_interface.exp
* gdb.ada/mi_task_arg.exp
* gdb.ada/mi_task_info.exp
* gdb.ada/mi_var_array.exp
* gdb.arch/alpha-step.exp
* gdb.arch/amd64-disp-step.exp
* gdb.arch/arm-disp-step.exp
* gdb.arch/disp-step-insn-reloc.exp
* gdb.arch/e500-prologue.exp
* gdb.arch/ftrace-insn-reloc.exp
* gdb.arch/gdb1558.exp
* gdb.arch/i386-bp_permanent.exp
* gdb.arch/i386-disp-step.exp
* gdb.arch/i386-float.exp
* gdb.arch/i386-gnu-cfi.exp
* gdb.arch/ia64-breakpoint-shadow.exp
* gdb.arch/mips16-thunks.exp
* gdb.arch/pa-nullify.exp
* gdb.arch/powerpc-aix-prologue.exp
* gdb.arch/powerpc-power.exp
* gdb.arch/ppc-dfp.exp
* gdb.arch/s390-tdbregs.exp
* gdb.arch/spu-info.exp
* gdb.arch/spu-ls.exp
* gdb.arch/thumb-bx-pc.exp
* gdb.base/advance.exp
* gdb.base/annota-input-while-running.exp
* gdb.base/arrayidx.exp
* gdb.base/asmlabel.exp
* gdb.base/async.exp
* gdb.base/attach-wait-input.exp
* gdb.base/auto-connect-native-target.exp
* gdb.base/batch-preserve-term-settings.exp
* gdb.base/bfp-test.exp
* gdb.base/bigcore.exp
* gdb.base/bp-permanent.exp
* gdb.base/break-always.exp
* gdb.base/break-fun-addr.exp
* gdb.base/break-idempotent.exp
* gdb.base/break-main-file-remove-fail.exp
* gdb.base/break-probes.exp
* gdb.base/break-unload-file.exp
* gdb.base/break.exp
* gdb.base/call-ar-st.exp
* gdb.base/call-rt-st.exp
* gdb.base/call-sc.exp
* gdb.base/call-signal-resume.exp
* gdb.base/call-strs.exp
* gdb.base/callexit.exp
* gdb.base/callfuncs.exp
* gdb.base/catch-gdb-caused-signals.exp
* gdb.base/catch-signal-siginfo-cond.exp
* gdb.base/catch-syscall.exp
* gdb.base/compare-sections.exp
* gdb.base/cond-eval-mode.exp
* gdb.base/condbreak-call-false.exp
* gdb.base/consecutive-step-over.exp
* gdb.base/cursal.exp
* gdb.base/disabled-location.exp
* gdb.base/disasm-end-cu.exp
* gdb.base/display.exp
* gdb.base/double-prompt-target-event-error.exp
* gdb.base/dprintf-bp-same-addr.exp
* gdb.base/dprintf-detach.exp
* gdb.base/dprintf-next.exp
* gdb.base/dprintf-non-stop.exp
* gdb.base/dprintf-pending.exp
* gdb.base/dso2dso.exp
* gdb.base/ending-run.exp
* gdb.base/enum_cond.exp
* gdb.base/examine-backward.exp
* gdb.base/exe-lock.exp
* gdb.base/exec-invalid-sysroot.exp
* gdb.base/execl-update-breakpoints.exp
* gdb.base/execution-termios.exp
* gdb.base/fileio.exp
* gdb.base/fixsection.exp
* gdb.base/foll-exec-mode.exp
* gdb.base/foll-exec.exp
* gdb.base/fork-running-state.exp
* gdb.base/frame-args.exp
* gdb.base/fullpath-expand.exp
* gdb.base/func-ptr.exp
* gdb.base/gcore-relro-pie.exp
* gdb.base/gdb1090.exp
* gdb.base/gdb1555.exp
* gdb.base/global-var-nested-by-dso.exp
* gdb.base/gnu-ifunc.exp
* gdb.base/hbreak-in-shr-unsupported.exp
* gdb.base/hbreak-unmapped.exp
* gdb.base/hook-stop.exp
* gdb.base/infcall-input.exp
* gdb.base/info-fun.exp
* gdb.base/info-shared.exp
* gdb.base/interrupt-noterm.exp
* gdb.base/jit-so.exp
* gdb.base/jit.exp
* gdb.base/line-symtabs.exp
* gdb.base/list.exp
* gdb.base/longjmp.exp
* gdb.base/macscp.exp
* gdb.base/max-value-size.exp
* gdb.base/nodebug.exp
* gdb.base/nofield.exp
* gdb.base/overlays.exp
* gdb.base/paginate-after-ctrl-c-running.exp
* gdb.base/paginate-bg-execution.exp
* gdb.base/paginate-inferior-exit.exp
* gdb.base/pending.exp
* gdb.base/pr11022.exp
* gdb.base/printcmds.exp
* gdb.base/ptr-typedef.exp
* gdb.base/ptype.exp
* gdb.base/randomize.exp
* gdb.base/range-stepping.exp
* gdb.base/realname-expand.exp
* gdb.base/relativedebug.exp
* gdb.base/remote.exp
* gdb.base/savedregs.exp
* gdb.base/sepdebug.exp
* gdb.base/set-noassign.exp
* gdb.base/shlib-call.exp
* gdb.base/shreloc.exp
* gdb.base/sigaltstack.exp
* gdb.base/sigbpt.exp
* gdb.base/siginfo-addr.exp
* gdb.base/siginfo-obj.exp
* gdb.base/siginfo-thread.exp
* gdb.base/signest.exp
* gdb.base/signull.exp
* gdb.base/sigrepeat.exp
* gdb.base/skip.exp
* gdb.base/so-impl-ld.exp
* gdb.base/solib-corrupted.exp
* gdb.base/solib-disc.exp
* gdb.base/solib-display.exp
* gdb.base/solib-overlap.exp
* gdb.base/solib-search.exp
* gdb.base/solib-symbol.exp
* gdb.base/source-execution.exp
* gdb.base/sss-bp-on-user-bp-2.exp
* gdb.base/sss-bp-on-user-bp.exp
* gdb.base/stack-checking.exp
* gdb.base/stale-infcall.exp
* gdb.base/step-break.exp
* gdb.base/step-line.exp
* gdb.base/step-over-exit.exp
* gdb.base/step-test.exp
* gdb.base/structs.exp
* gdb.base/sym-file.exp
* gdb.base/symtab-search-order.exp
* gdb.base/term.exp
* gdb.base/type-opaque.exp
* gdb.base/unload.exp
* gdb.base/until-nodebug.exp
* gdb.base/until.exp
* gdb.base/unwindonsignal.exp
* gdb.base/watch-cond.exp
* gdb.base/watch-non-mem.exp
* gdb.base/watch_thread_num.exp
* gdb.base/watchpoint-reuse-slot.exp
* gdb.base/watchpoint-solib.exp
* gdb.base/watchpoint.exp
* gdb.btrace/dlopen.exp
* gdb.cell/arch.exp
* gdb.cell/break.exp
* gdb.cell/bt.exp
* gdb.cell/core.exp
* gdb.cell/data.exp
* gdb.cell/dwarfaddr.exp
* gdb.cell/ea-cache.exp
* gdb.cell/ea-standalone.exp
* gdb.cell/ea-test.exp
* gdb.cell/f-regs.exp
* gdb.cell/fork.exp
* gdb.cell/gcore.exp
* gdb.cell/mem-access.exp
* gdb.cell/ptype.exp
* gdb.cell/registers.exp
* gdb.cell/sizeof.exp
* gdb.cell/solib-symbol.exp
* gdb.cell/solib.exp
* gdb.compile/compile-tls.exp
* gdb.cp/exception.exp
* gdb.cp/gdb2495.exp
* gdb.cp/local.exp
* gdb.cp/mb-inline.exp
* gdb.cp/mb-templates.exp
* gdb.cp/pr10687.exp
* gdb.cp/pr9167.exp
* gdb.cp/scope-err.exp
* gdb.cp/templates.exp
* gdb.cp/virtfunc.exp
* gdb.dwarf2/dw2-dir-file-name.exp
* gdb.dwarf2/dw2-single-line-discriminators.exp
* gdb.fortran/complex.exp
* gdb.fortran/library-module.exp
* gdb.guile/guile.exp
* gdb.guile/scm-cmd.exp
* gdb.guile/scm-frame-inline.exp
* gdb.guile/scm-objfile.exp
* gdb.guile/scm-pretty-print.exp
* gdb.guile/scm-symbol.exp
* gdb.guile/scm-type.exp
* gdb.guile/scm-value.exp
* gdb.linespec/keywords.exp
* gdb.linespec/ls-errs.exp
* gdb.linespec/macro-relative.exp
* gdb.linespec/thread.exp
* gdb.mi/mi-breakpoint-changed.exp
* gdb.mi/mi-dprintf-pending.exp
* gdb.mi/mi-fullname-deleted.exp
* gdb.mi/mi-logging.exp
* gdb.mi/mi-pending.exp
* gdb.mi/mi-solib.exp
* gdb.mi/new-ui-mi-sync.exp
* gdb.mi/user-selected-context-sync.exp
* gdb.multi/dummy-frame-restore.exp
* gdb.multi/multi-arch-exec.exp
* gdb.multi/remove-inferiors.exp
* gdb.multi/watchpoint-multi-exit.exp
* gdb.opt/solib-intra-step.exp
* gdb.perf/backtrace.exp
* gdb.perf/single-step.exp
* gdb.perf/skip-command.exp
* gdb.perf/skip-prologue.exp
* gdb.perf/solib.exp
* gdb.python/lib-types.exp
* gdb.python/py-as-string.exp
* gdb.python/py-bad-printers.exp
* gdb.python/py-block.exp
* gdb.python/py-breakpoint.exp
* gdb.python/py-cmd.exp
* gdb.python/py-events.exp
* gdb.python/py-evthreads.exp
* gdb.python/py-finish-breakpoint.exp
* gdb.python/py-finish-breakpoint2.exp
* gdb.python/py-frame-inline.exp
* gdb.python/py-frame.exp
* gdb.python/py-inferior.exp
* gdb.python/py-infthread.exp
* gdb.python/py-mi.exp
* gdb.python/py-objfile.exp
* gdb.python/py-pp-maint.exp
* gdb.python/py-pp-registration.exp
* gdb.python/py-prettyprint.exp
* gdb.python/py-recurse-unwind.exp
* gdb.python/py-shared.exp
* gdb.python/py-symbol.exp
* gdb.python/py-symtab.exp
* gdb.python/py-template.exp
* gdb.python/py-type.exp
* gdb.python/py-unwind-maint.exp
* gdb.python/py-unwind.exp
* gdb.python/py-value.exp
* gdb.python/python.exp
* gdb.reverse/finish-reverse-bkpt.exp
* gdb.reverse/insn-reverse.exp
* gdb.reverse/next-reverse-bkpt-over-sr.exp
* gdb.reverse/solib-precsave.exp
* gdb.reverse/solib-reverse.exp
* gdb.stabs/gdb11479.exp
* gdb.stabs/weird.exp
* gdb.threads/fork-child-threads.exp
* gdb.threads/fork-plus-threads.exp
* gdb.threads/fork-thread-pending.exp
* gdb.threads/forking-threads-plus-breakpoint.exp
* gdb.threads/hand-call-in-threads.exp
* gdb.threads/interrupted-hand-call.exp
* gdb.threads/linux-dp.exp
* gdb.threads/local-watch-wrong-thread.exp
* gdb.threads/next-while-other-thread-longjmps.exp
* gdb.threads/non-ldr-exit.exp
* gdb.threads/pending-step.exp
* gdb.threads/print-threads.exp
* gdb.threads/process-dies-while-detaching.exp
* gdb.threads/process-dies-while-handling-bp.exp
* gdb.threads/pthreads.exp
* gdb.threads/queue-signal.exp
* gdb.threads/reconnect-signal.exp
* gdb.threads/signal-command-handle-nopass.exp
* gdb.threads/signal-command-multiple-signals-pending.exp
* gdb.threads/signal-delivered-right-thread.exp
* gdb.threads/signal-sigtrap.exp
* gdb.threads/sigthread.exp
* gdb.threads/staticthreads.exp
* gdb.threads/stepi-random-signal.exp
* gdb.threads/thread-unwindonsignal.exp
* gdb.threads/thread_check.exp
* gdb.threads/thread_events.exp
* gdb.threads/tid-reuse.exp
* gdb.threads/tls-nodebug.exp
* gdb.threads/tls-shared.exp
* gdb.threads/tls-so_extern.exp
* gdb.threads/tls.exp
* gdb.threads/wp-replication.exp
* gdb.trace/actions-changed.exp
* gdb.trace/actions.exp
* gdb.trace/backtrace.exp
* gdb.trace/change-loc.exp
* gdb.trace/collection.exp
* gdb.trace/deltrace.exp
* gdb.trace/disconnected-tracing.exp
* gdb.trace/entry-values.exp
* gdb.trace/ftrace-lock.exp
* gdb.trace/ftrace.exp
* gdb.trace/infotrace.exp
* gdb.trace/mi-trace-frame-collected.exp
* gdb.trace/mi-trace-unavailable.exp
* gdb.trace/mi-traceframe-changed.exp
* gdb.trace/mi-tracepoint-changed.exp
* gdb.trace/mi-tsv-changed.exp
* gdb.trace/no-attach-trace.exp
* gdb.trace/packetlen.exp
* gdb.trace/passc-dyn.exp
* gdb.trace/passcount.exp
* gdb.trace/pending.exp
* gdb.trace/pr16508.exp
* gdb.trace/qtro.exp
* gdb.trace/range-stepping.exp
* gdb.trace/read-memory.exp
* gdb.trace/report.exp
* gdb.trace/save-trace.exp
* gdb.trace/signal.exp
* gdb.trace/stap-trace.exp
* gdb.trace/status-stop.exp
* gdb.trace/strace.exp
* gdb.trace/tfile.exp
* gdb.trace/tfind.exp
* gdb.trace/trace-break.exp
* gdb.trace/trace-condition.exp
* gdb.trace/trace-enable-disable.exp
* gdb.trace/trace-mt.exp
* gdb.trace/tracecmd.exp
* gdb.trace/tracefile-pseudo-reg.exp
* gdb.trace/tspeed.exp
* gdb.trace/tstatus.exp
* gdb.trace/tsv.exp
* gdb.trace/unavailable.exp
* gdb.trace/while-dyn.exp
* gdb.trace/while-stepping.exp
* lib/gdb-guile.exp
* lib/gdb.exp
* lib/mi-support.exp
* lib/pascal.exp
* lib/perftest.exp
* lib/prelink-support.exp
* lib/selftest-support.exp
commit 88256e713c707aeb850688071150d32f9cca5a91
Author: Jim Wilson <jim.wilson@linaro.org>
Date: Thu Dec 1 09:07:55 2016 -0800
Fix typo in ChangeLog entry.
commit 88ddd4a1ef8818984f87f574b424ccdc7db19660
Author: Jim Wilson <jim.wilson@linaro.org>
Date: Thu Dec 1 09:06:07 2016 -0800
Fix bug with FP stur instructions.
sim/aarch64
* simulator.c (fsturs): Switch use of rn and st variables.
(fsturd, fsturq): Likewise
commit 69ace2200106348a1b00d509a6a234337c104c17
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Dec 1 15:20:19 2016 +0000
Fix seg fault attempting to unget an EOF character.
PR gas/20898
* app.c (do_scrub_chars): Do not attempt to unget EOF.
commit 4cbd84083ea89e870526ed0c80d462084887ba6e
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Dec 1 15:02:45 2016 +0000
Fix seg-fault printing assembler statistics when the output file was not created.
PR gas/20897
* subsegs.c (subsegs_print_statistics): Do nothing if no output
file was created.
commit 4ee1d7e401a8c1aedfdc86aac7faa8267eab1e5c
Author: Rudy Y <rudyy.id@gmail.com>
Date: Thu Dec 1 14:43:36 2016 +0000
Fix generation of IDATA[6] for PE files.
PR ld/20880
* pe-dll.c (make_one): Use the hint if the ordinal is -1.
commit cec4b2e3fee8ae2c41089fc7454da56f676f653c
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Dec 1 08:42:11 2016 -0600
Fix calculation of synthetic symbol sizes (ppc64)
The attached patch fixes a problem where nm displays bogus information for
synthetic symbol sizes when --size-sort is used.
This happens because the synthetic symbols (dot symbols for ppc64) are
generated based on their non-dot symbols. The generation process doesn't copy
over the ELF-specific bits of the regular non-dot symbols.
When --size-sort is used, the code attempts to access the symbol size from
the ELF-specific bits and ends up reading gargabe, causing the size to be
displayed incorrectly.
With the patch, i can see dot and non-dot symbols having the same size with
--size-sort.
This doesn't fix the fact that we don't display size information for synthetic
symbols without --size-sort, which i may address in the future.
binutils/ChangeLog:
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
* nm.c (sort_symbols_by_size): Don't read symbol size if symbol
is synthetic.
commit 5cd1d8bcc24e948e86a636161e6d72f6316545a7
Author: Yury Norov <ynorov@caviumnetworks.com>
Date: Thu Dec 1 12:31:51 2016 +0000
Fix accesses to the GOT for AARCH64 operating in 32-bit mode.
PR ld/20868
bfd * elfnn-aarch64.c (elfNN_aarch64_tls_relax): Use 32-bit accesses
to the GOT when operating in 32-bit mode.
ld * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
* testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
test.
* testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
commit 40a0bfddf07620f5321927b3231502debb3b73bc
Author: Ma Jiang <ma.jiang@zte.com.cn>
Date: Thu Dec 1 12:21:30 2016 +0000
Fix handling of MIPS16 HI16 relocs.
PR ld/16720
* elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
test for HI16 relocs.
commit e82ab856bb4689330c29fb9f1c57a8555b26380e
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Dec 1 10:49:39 2016 +0000
Fix a seg-fault disassembling a corrupt binary.
PR binutils/20892
* aoutx.h (find_nearest_line): Handle the case where the function
name is empty.
commit 6d6ad65b43efa17a825702297331fcb290445a18
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Dec 1 10:38:40 2016 +0000
Fix ICE in assembler when passed a corrupt input file.
PR gas/20895
* symbols.c (resolve_symbol_value): Gracefully handle erroneous
symbolic expressions.
commit a37a2806e3289294ed214aed3c8a45db46026b39
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Dec 1 10:26:32 2016 +0000
Fix abort in x86 disassembler.
PR binutils/20893
* i386-dis.c (OP_VEX): Replace call to abort with a append of bad
opcode designator.
commit 50455f1ab2935f7321215dfa681745c9b1cb5b19
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Dec 1 10:15:07 2016 +0000
Fix seg-fault running addr2line on a corrupt binary.
PR binutils/20891
* aoutx.h (find_nearest_line): Handle the case where the main file
name and the directory name are both empty.
commit 95a23284a3db0ec85bb0b11c70e6b5acf00563f6
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Wed Nov 30 21:46:49 2016 -0500
Use std::string in ui_out_table
Use std::string for the id field of the ui_out_table object.
I found that all users of ui_out_table_begin passed a non-NULL value to
the tblid parameter, so we don't have to worry about the NULL case. I
changed the tblid parameter to be a std::string while at it.
gdb/ChangeLog:
* ui-out.c (struct ui_out_table) <id>: Change type to
std::string.
(ui_out_table_begin): Change tblid parameter type to
std::string, adapt code.
update following type change.
(clear_table): Update.
(ui_out_new): Update.
commit b9b118c3bb29052ee76c6bf32b99962cda5113ba
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Wed Nov 30 21:46:08 2016 -0500
Use std::vector for cli_ui_out_data::streams
Use a standard vector instead of the home-made version. I used a vector
of plain pointers, because the cli_ui_out_data object doesn't own the
streams objects (i.e. they shouldn't be deleted when the vector is
deleted).
gdb/ChangeLog:
* cli-out.h (cli_ui_out_data) <streams>: Change type to
std::vector.
* cli-out.c: Remove vec.h include.
(cli_uiout_dtor): Update.
(cli_field_fmt): Update.
(cli_spaces): Update.
(cli_text): Update.
(cli_message): Update.
(cli_flush): Update.
(cli_redirect): Update.
(out_field_fmt): Update.
(field_separator): Update.
(cli_out_data_ctor): Update.
(cli_out_new): Update.
(cli_out_set_stream): Update.
commit 4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Wed Nov 30 21:43:17 2016 -0500
Use std::vector for mi_ui_out_data::streams
Use a standard vector instead of the home-made version. I used a vector
of plain pointers, because the mi_ui_out_data object doesn't own the
streams objects (i.e. they shouldn't be deleted when the vector is
deleted).
gdb/ChangeLog:
* mi/mi-out.c: Remove vec.h include.
(mi_ui_out_data) <streams>: Change type to std::vector.
(mi_field_string): Update.
(mi_field_fmt): Update.
(mi_flush): Update.
(mi_redirect): Update.
(field_separator): Update.
(mi_open): Update.
(mi_close): Update.
(mi_out_buffered): Update.
(mi_out_rewind): Update.
(mi_out_put): Update.
(mi_out_data_ctor): Update.
(mi_out_data_dtor): Don't free streams.
commit 56df3084847984aeddd8c24ca997242ec8c5a369
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Wed Nov 30 21:42:47 2016 -0500
Use std::vector for ui_out::levels
Convert the levels field of struct ui_out to be a vector of unique_ptr
to ui_out_level. This way, the ownership of the ui_out_level objects by
the ui_out instance is clear.
gdb/ChangeLog:
* ui-out.c (ui_out_level_p): Remove typedef.
(DEF_VEC_P (ui_out_level_p)): Remove definition.
(struct ui_out) <levels>: Change type to vector of unique_ptr of
ui_out_level.
(current_level): Update.
(push_level): Update.
(pop_level): Update, don't manually delete the ui_out_level
instance.
(ui_out_new): Update.
commit 5486f16481dffa1c1a0d1fd9e38b97e3678078ed
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Wed Nov 30 21:41:46 2016 -0500
Use new/delete instead of malloc/free-based functions
The following patches introduce C++ vectors and strings as fields of the
various ui_out structures. We therefore need to use new/delete so that
their contructor/destructor is called. I find it simpler to change all
the allocations in a separate preliminary patch, rather than in each
individual patch.
gdb/ChangeLog:
* cli-out.c (cli_uiout_dtor): Use delete instead of xfree.
(cli_out_new): Use new instead of XNEW.
* mi/mi-out.c (mi_out_data_dtor): Use delete instead of xfree.
(mi_out_new): Use new instead of XNEW.
* tui/tui-out.c (tui_out_new): Likewise.
* ui-out.c (push_level): Likewise.
(pop_level): Use delete instead of xfree.
(clear_header_list): Use delete instead of xfree.
(append_header_to_list): Use new instead of XNEW.
(ui_out_new): Likewise.
commit 5084b13657023904cb60737abdf4cefb539a5fc4
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Dec 1 00:00:20 2016 +0000
Automatic date update in version.in
commit ad02e4fe877f3a874145dd045626501245e65624
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Wed Nov 30 16:23:59 2016 -0500
Makefiles: Disable suffix rules and implicit rules
Since we don't use suffix rules nor implicit rules in gdb, we can
disable them. The advantage is a slightly faster make [1].
Here are some numbers about the speedup. I ran this on my trusty old
Intel Q6600, so the time numbers are probably higher than what you'd get
on any recent hardware. I ran "make" in the gdb/ directory of an
already built repository (configured with --enable-targets=all). I
recorded the time of execution (average of 5). I then ran "make -d" and
recorded the number of printed lines, which gives a rough idea of the
number of operations done.
I compared the following configurations, to see the impact of both the
empty .SUFFIXES target and the empty pattern rules, as well as running
"make -r", which can be considered the "ideal" case.
A - baseline
B - baseline + .SUFFIXES
C - baseline + pattern rules
D - baseline + .SUFFIXES + pattern rules
E - baseline + make -r
config | time (s) | "make -d"
-----------------------------
A | 5.74 | 2396643
B | 1.19 | 298469
C | 2.81 | 1266573
D | 1.13 | 245489
E | 1.01 | 163914
We can see that the empty .SUFFIXES target has a bigger impact than the
empty pattern rules, but still it doesn't hurt to disable the implicit
pattern rules as well.
There are still some mentions of implicit rules I can't get rid of in
the "make -d" output. For example, it's trying to build .c files from
.w files:
Looking for an implicit rule for '/home/simark/src/binutils-gdb/gdb/infrun.c'.
Trying pattern rule with stem 'infrun'.
Trying implicit prerequisite '/home/simark/src/binutils-gdb/gdb/infrun.w'.
and trying to build Makefile.in from a bunch of extensions:
Looking for an implicit rule for 'Makefile.in'.
Trying pattern rule with stem 'Makefile.in'.
Trying implicit prerequisite 'Makefile.in.o'.
Trying pattern rule with stem 'Makefile.in'.
Trying implicit prerequisite 'Makefile.in.c'.
Trying pattern rule with stem 'Makefile.in'.
Trying implicit prerequisite 'Makefile.in.cc'.
... many more ...
If somebody knows how to disable them, we can do it, but at this point
the returns are minimal, so it is not that important.
I verified that both in-tree and out-of-tree builds work.
[1] Switching from explicit rules to pattern rules for files in
subdirectories actually made it slower, so this is kind of a way to
redeem myself. But it the end it's faster than it was previously,
so it was all worth it. :)
gdb/ChangeLog:
* disable-implicit-rules.mk: New file.
* Makefile.in: Include disable-implicit-rules.mk.
* data-directory/Makefile.in: Likewise.
* gnulib/Makefile.in: Likewise.
gdb/doc/ChangeLog:
* Makefile.in: Likewise.
gdb/gdbserver/ChangeLog:
* Makefile.in: Include disable-implicit-rules.mk.
gdb/testsuite/ChangeLog:
* Makefile.in: Include disable-implicit-rules.mk.
commit 7913a64cab3930fe524f0e38f85cfca11bd52dcb
Author: Yao Qi <yao.qi@linaro.org>
Date: Wed Nov 30 11:55:56 2016 +0000
[ARM] Read memory as unsigned integer
When GDB read inferior memory as an address or an instruction,
it should be unsigned.
gdb:
2016-11-30 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (arm_scan_prologue): Read memory as unsigned integer.
(arm_exidx_unwind_sniffer): Likewise.
commit e9a38e0f5287ce7b4629f5f923191e38dd7355c0
Author: Alan Modra <amodra@gmail.com>
Date: Mon Nov 28 16:14:56 2016 +1030
Revert accidental elf.c change
* elf.c (get_program_header_size): Revert accidental change.
commit 502d895cd1ca5d4abf4ef55984cbf5239aeaef0c
Author: Nick Clifton <nickc@redhat.com>
Date: Wed Nov 30 11:06:42 2016 +0000
Stop readelf from complaining about out of order PT_LOAD segments.
PR ld/20815
* readelf.c (process_program_headers): Do not warn about out of
order PT_LOAD segments.
commit ea3d7d1cab4221ab729327bb4d957352c79d05f0
Author: Alan Modra <amodra@gmail.com>
Date: Wed Nov 30 15:33:07 2016 +1030
PR20886, looping in ppc64_elf_size_stubs
The PR20886 binary is large enough that there are two stub sections
servicing .text (which is 88M). It so happens that between one
iteration of sizing and the next that one stub section grows while
the other shrinks. Since one section is always growing, the loop
never terminates.
This patch changes the algorithm to not update previous size on
shrinking, once we go past a certain number of iterations.
PR ld/20886
* elf64-ppc.c (ppc64_elf_size_stubs): Make rawsize max size seen
on any pass past STUB_SHRINK_ITER.
commit f0e9390be5bbfa3ee777d81dacfccd713ebddb68
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Nov 30 00:00:20 2016 +0000
Automatic date update in version.in
commit abe7c33b45288b407e6d001aad713183d4bab5c6
Author: Claudiu Zissulescu <claziss@synopsys.com>
Date: Tue Nov 15 15:11:47 2016 +0100
[ARC] Add checking for LP_COUNT reg usage, improve error reporting.
gas/
2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
* config/tc-arc.c (find_opcode_match): New function argument
errmsg.
(assemble_tokens): Collect and report the eventual error message
found during opcode matching process.
* testsuite/gas/arc/lpcount-err.s: New file.
* testsuite/gas/arc/add_s-err.s: Update error message.
opcode/
2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
* arc-opc.c (insert_ra_chk): New function.
(insert_rb_chk): Likewise.
(insert_rad): Update text error message.
(insert_rcd): Likewise.
(insert_rhv2): Likewise.
(insert_r0): Likewise.
(insert_r1): Likewise.
(insert_r2): Likewise.
(insert_r3): Likewise.
(insert_sp): Likewise.
(insert_gp): Likewise.
(insert_pcl): Likewise.
(insert_blink): Likewise.
(insert_ilink1): Likewise.
(insert_ilink2): Likewise.
(insert_ras): Likewise.
(insert_rbs): Likewise.
(insert_rcs): Likewise.
(insert_simm3s): Likewise.
(insert_rrange): Likewise.
(insert_fpel): Likewise.
(insert_blinkel): Likewise.
(insert_pcel): Likewise.
(insert_nps_3bit_dst): Likewise.
(insert_nps_3bit_dst_short): Likewise.
(insert_nps_3bit_src2_short): Likewise.
(insert_nps_bitop_size_2b): Likewise.
(MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Likewise.
(RA_CHK): Define.
(RB): Adjust.
(RB_CHK): Define.
(RC): Adjust.
* arc-dis.c (print_insn_arc): Add LOAD and STORE class.
* arc-tbl.h (div, divu): All instructions are DIVREM class.
Change first insn argument to check for LP_COUNT usage.
(rem): Likewise.
(ld, ldd): All instructions are LOAD class. Change first insn
argument to check for LP_COUNT usage.
(st, std): All instructions are STORE class.
(mac, mpy, dmac, mul, dmpy): All instructions are MPY class.
Change first insn argument to check for LP_COUNT usage.
(mov): All instructions are MOVE class. Change first insn
argument to check for LP_COUNT usage.
include/
2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
* opcode/arc.h (insn_class_t): Add DIVREM, LOAD, MOVE, MPY, STORE
instruction classes.
commit ee881e5d3312ea5396bddc37e8673b77bf549b4b
Author: Claudiu Zissulescu <claziss@synopsys.com>
Date: Thu Oct 6 12:05:27 2016 +0200
[ARC] Fix disassembler option.
This patch fixes:
- fpus and fpud are swaped.
- quarkse_em doesn't include FPX extensions.
- auto guessed opcode mechanism may ignore the option passed via -M<feature> option.
opcodes/
2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
* arc-dis.c (is_compatible_p): Remove function.
(skip_this_opcode): Don't add any decoding class to decode list.
Remove warning.
(find_format_from_table): Go through all opcodes, and warn if we
use a guessed mnemonic.
binutils/
2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
* testsuite/binutils-all/arc/objdump.exp (Warning test): Update
test.
commit 0a0640e3ba9a668c4c317520c48246e1cc8d75ca
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Mon Nov 28 21:34:54 2016 -0500
Fix debug output in record_full_open_1
The printed function name should be record_full_open_1, not
record_full_open.
gdb/ChangeLog:
* record-full.c (record_full_open_1): Fix debug output.
commit aec6cd371d194f93cb7651c219b75eed05bdda98
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Tue Nov 29 00:00:22 2016 +0000
Automatic date update in version.in
commit 268ebe95201d2ebdcf68cad9dc67ff6d1e25be9e
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Fri Nov 18 14:15:12 2016 +0000
arc/ld: Remove duplicate TEMPLATE_NAME from emulparam file
Remove duplicate definition of TEMPLATE_NAME, only the last of these
will have any effect, so this should result in no visible changes to the
user.
ld/ChangeLog:
* emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME.
commit 157686a88644b111658c661fc225881e75f3b0db
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Nov 28 17:51:57 2016 +0000
Update linker tests after partial reversion of PR 20815 patch.
PR 20815
* testsuite/ld-elf/loadaddr1.d: Update.
* testsuite/ld-powerpc/vle-multiseg-5.d: Update.
* testsuite/ld-scripts/phdrs3a.d: Update.
commit cd58485720b47d80fed0b281d15a9198f43eaf0c
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Nov 28 17:45:22 2016 +0000
Partially revert patch for PR 20815 - do not sort the PT_LOAD segments. Non-ordered segments are needed by the Linux kernel.
PR ld/20815
* elf.c (phdr_sorter): Delete.
(assign_file_positions_except_relocs): Do not sort program
headers.
commit abfcb414b9900ef996b1665323a950610dbdca43
Author: Amit Pawar <Amit.Pawar@amd.com>
Date: Mon Nov 28 09:21:05 2016 -0800
X86: Ignore REX_B bit for 32-bit XOP instructions
While decoding 32-bit XOP instructions, 64 bit registers names are printed.
This patch fixes this by ignoring REX_B bit in 32-bit mode.
opcodes/
PR binutils/20637
* i386-dis.c (get_valid_dis386): Ignore REX_B for 32-bit XOP
instructions.
gas/
PR binutils/20637
* testsuite/gas/i386/xop32reg.d: New file.
* testsuite/gas/i386/xop32reg.s: New file.
* testsuite/gas/i386/i386.exp: Run new test.
commit 1a0884415891b197972f8acf59131c3c9376807f
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Nov 28 17:09:26 2016 +0000
Restrict checking value.lval on using address
With the previous change, value.location.address is only valid for
lval_memory. This patch restrict some checking on value.lval on
using address. Since we have a check on VALUE_VAL in
set_value_address, we need to set VALUE_VAL properly before
set_value_address too.
gdb:
2016-11-25 Yao Qi <yao.qi@linaro.org>
* ada-lang.c (ensure_lval): Call set_value_address after setting
VALUE_LVAL.
* elfread.c (elf_gnu_ifunc_resolve_addr): Set VALUE_LVAL to
lval_memory.
(elf_gnu_ifunc_resolver_return_stop): Likewise.
* value.c (value_fn_field): Likewise.
(value_from_contents_and_address_unresolved): Likewise.
(value_from_contents_and_address): Likewise.
(value_address): Check value->lval isn't
lval_memory.
(value_raw_address): Likewise.
(set_value_address): Assert value->lval is lval_memory.
commit 7dc54575d91a2b41f6c3e838eec44a7017a24436
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Nov 28 17:09:26 2016 +0000
Adjust Value.location for lval_register
value.regnum and value.next_frame_id are only used for lval_register,
so this patch moves them to union value.location. As a result, when
we copy value, only copy location, don't need to copy regnum and
next_frame_id.
This patch also changes regnum's type to int as there is no space
constraint, so update deprecated_value_regnum_hack return type too.
gdb:
2016-11-28 Yao Qi <yao.qi@linaro.org>
* valops.c (value_slice): Don't set frame id of slice.
* value.c (struct value) <regnum, next_frame_id>: Move them to...
(struct value) <location>: ... here. Update comments.
(allocate_value_lazy): Don't set frame id and regnum.
(deprecated_value_next_frame_id_hack): Adjust.
(deprecated_value_regnum_hack): Adjust.
(value_copy): Don't copy frame id and regnu.
(value_primitive_field): Likewise.
(value_from_component): Likewise.
(deprecated_value_regnum_hack): Return int *.
* value.h (deprecated_value_regnum_hack): Update declaration.
commit ee40d8d45213caf0cfb63e603f0fd5a58532e751
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Nov 28 17:09:26 2016 +0000
Move computed value's frame id to piece_closure
Nowadays, we set computed value's frame id, which is a misuse to me.
The computed value itself doesn't care about frame id, but function
value_computed_funcs (val)->read (or read_pieced_value) cares about
which frame the register is relative to, so 'struct piece_closure' is
a better place to fit frame id.
This patch adds a frame id in 'struct piece_closure', and use it
instead of using computed value's frame id.
gdb:
2016-11-28 Yao Qi <yao.qi@linaro.org>
* dwarf2loc.c (struct piece_closure) <frame_id>: New field.
(allocate_piece_closure): Add new parameter 'frame' and set
closure's frame_id field accordingly.
(read_pieced_value): Get frame from closure instead of value.
(dwarf2_evaluate_loc_desc_full): Remove code getting frame id.
Don't set value's frame id.
commit 4deb8f714d555a2f530e37c3e7af32bc42fdda58
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Nov 28 08:03:46 2016 -0800
Properly hide hidden versioned symbol in executable
A hidden versioned symbol in executable should be forced local if it is
locally defined, not referenced by shared library and not exported. We
must do it before _bfd_elf_link_renumber_dynsyms.
bfd/
* elflink.c (_bfd_elf_fix_symbol_flags): Hide hidden versioned
symbol in executable.
(elf_link_output_extsym): Don't change bind from global to
local when linking executable.
ld/
* testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
* testsuite/ld-elf/pr18720.rd: New file.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +
bfd/ChangeLog | 213 +
bfd/aoutx.h | 65 +-
bfd/bfd-in.h | 4 +
bfd/bfd-in2.h | 4 +
bfd/config.bfd | 11 +-
bfd/elf.c | 101 +-
bfd/elf32-rx.c | 16 +-
bfd/elf64-hppa.c | 37 +-
bfd/elf64-ppc.c | 413 +-
bfd/elf64-ppc.h | 2 -
bfd/elflink.c | 112 +-
bfd/elfnn-aarch64.c | 37 +-
bfd/elfxx-mips.c | 11 +-
bfd/elfxx-sparc.c | 4 +-
bfd/peicode.h | 7 +-
bfd/version.h | 2 +-
binutils/ChangeLog | 69 +
binutils/MAINTAINERS | 11 +-
binutils/nm.c | 7 +-
binutils/objcopy.c | 5 +-
binutils/readelf.c | 9 +-
binutils/testsuite/binutils-all/arc/objdump.exp | 2 +-
binutils/testsuite/binutils-all/mips/mips-ase-1.d | 29 +
binutils/testsuite/binutils-all/mips/mips-ase-1.s | 12 +
binutils/testsuite/binutils-all/mips/mips-ase-2.d | 29 +
binutils/testsuite/binutils-all/mips/mips-ase-2.s | 12 +
binutils/testsuite/binutils-all/mips/mips-ase-3.d | 18 +
binutils/testsuite/binutils-all/mips/mips.exp | 5 +
.../binutils-all/mips/mips16-extend-noinsn.d | 33 +
.../binutils-all/mips/mips16-extend-noinsn.s | 25 +
.../testsuite/binutils-all/mips/mips16-pcrel.d | 200 +
.../testsuite/binutils-all/mips/mips16-pcrel.s | 219 +
config/ChangeLog | 6 +
config/acx.m4 | 2 +-
config/bootstrap-asan.mk | 2 +-
config/multi.m4 | 3 +-
configure | 4 +-
configure.ac | 2 +-
gas/ChangeLog | 284 ++
gas/app.c | 2 +-
gas/config/tc-aarch64.c | 30 +-
gas/config/tc-arc.c | 169 +-
gas/config/tc-arm.c | 107 +-
gas/config/tc-mips.c | 12 +-
gas/configure | 2 +-
gas/configure.tgt | 3 +
gas/doc/c-arc.texi | 104 +
gas/doc/c-arm.texi | 1 +
gas/expr.c | 2 +-
gas/read.c | 31 +-
gas/read.h | 5 +-
gas/subsegs.c | 4 +
gas/symbols.c | 11 +-
gas/testsuite/gas/aarch64/addsub.d | 2 +-
gas/testsuite/gas/aarch64/adr_1.d | 1 +
gas/testsuite/gas/aarch64/advsimd-across.d | 2 +-
gas/testsuite/gas/aarch64/advsimd-armv8_3.d | 2 +-
gas/testsuite/gas/aarch64/advsimd-fp16.d | 2 +-
gas/testsuite/gas/aarch64/advsimd-misc.d | 2 +-
gas/testsuite/gas/aarch64/advsisd-copy.d | 2 +-
gas/testsuite/gas/aarch64/advsisd-misc.d | 2 +-
gas/testsuite/gas/aarch64/alias.d | 2 +-
gas/testsuite/gas/aarch64/armv8-ras-1.d | 2 +-
gas/testsuite/gas/aarch64/b_1.d | 4 +-
gas/testsuite/gas/aarch64/beq_1.d | 4 +-
gas/testsuite/gas/aarch64/bitfield-dump | 2 +-
gas/testsuite/gas/aarch64/bitfield-no-aliases.d | 2 +-
gas/testsuite/gas/aarch64/codealign.d | 2 +-
gas/testsuite/gas/aarch64/codealign_1.d | 2 +-
gas/testsuite/gas/aarch64/crc32-directive.d | 2 +-
gas/testsuite/gas/aarch64/crc32.d | 2 +-
gas/testsuite/gas/aarch64/crypto-directive.d | 2 +-
gas/testsuite/gas/aarch64/crypto.d | 2 +-
gas/testsuite/gas/aarch64/diagnostic.l | 217 +-
gas/testsuite/gas/aarch64/diagnostic.s | 1 +
gas/testsuite/gas/aarch64/dwarf.d | 32 +-
gas/testsuite/gas/aarch64/float-fp16.d | 2 +-
gas/testsuite/gas/aarch64/floatdp2.d | 2 +-
gas/testsuite/gas/aarch64/fp-armv8_3.d | 2 +-
gas/testsuite/gas/aarch64/fp-const0-parse.d | 2 +-
gas/testsuite/gas/aarch64/fp_cvt_int.d | 2 +-
gas/testsuite/gas/aarch64/fpmov.d | 2 +-
gas/testsuite/gas/aarch64/inst-directive.d | 2 +-
gas/testsuite/gas/aarch64/int-insns.d | 2 +-
gas/testsuite/gas/aarch64/ldr_1.d | 4 +-
gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d | 2 +-
gas/testsuite/gas/aarch64/ldst-exclusive.d | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-pair.d | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d | 2 +-
gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d | 2 +-
gas/testsuite/gas/aarch64/lor-directive.d | 2 +-
gas/testsuite/gas/aarch64/lor.d | 2 +-
gas/testsuite/gas/aarch64/lse-atomic.d | 2 +-
gas/testsuite/gas/aarch64/mapmisc.d | 78 +-
gas/testsuite/gas/aarch64/mov-no-aliases.d | 2 +-
gas/testsuite/gas/aarch64/mov.d | 2 +-
gas/testsuite/gas/aarch64/movi.d | 2 +-
gas/testsuite/gas/aarch64/movw_label.d | 16 +-
gas/testsuite/gas/aarch64/msr.d | 2 +-
gas/testsuite/gas/aarch64/neon-fp-cvt-int.d | 2 +-
gas/testsuite/gas/aarch64/neon-frint.d | 2 +-
gas/testsuite/gas/aarch64/neon-ins.d | 2 +-
gas/testsuite/gas/aarch64/neon-not.d | 2 +-
gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d | 2 +-
gas/testsuite/gas/aarch64/neon-vfp-reglist.d | 2 +-
gas/testsuite/gas/aarch64/no-aliases.d | 2 +-
gas/testsuite/gas/aarch64/optional.d | 12 +-
gas/testsuite/gas/aarch64/pac.d | 2 +-
gas/testsuite/gas/aarch64/pan-directive.d | 2 +-
gas/testsuite/gas/aarch64/pan.d | 2 +-
gas/testsuite/gas/aarch64/programmer-friendly.d | 1 +
gas/testsuite/gas/aarch64/rdma-directive.d | 2 +-
gas/testsuite/gas/aarch64/rdma.d | 2 +-
gas/testsuite/gas/aarch64/reloc-data.d | 1 +
gas/testsuite/gas/aarch64/reloc-dtprel_g0.d | 4 +-
gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d | 4 +-
gas/testsuite/gas/aarch64/reloc-dtprel_g1.d | 4 +-
gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d | 1 +
gas/testsuite/gas/aarch64/reloc-dtprel_g2.d | 1 +
gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d | 4 +-
gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d | 4 +-
.../gas/aarch64/reloc-dtprel_lo12-ldst16.d | 1 +
.../gas/aarch64/reloc-dtprel_lo12-ldst32.d | 1 +
.../gas/aarch64/reloc-dtprel_lo12-ldst64.d | 1 +
.../gas/aarch64/reloc-dtprel_lo12-ldst8.d | 1 +
.../gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d | 1 +
.../gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d | 1 +
.../gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d | 1 +
.../gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d | 1 +
gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d | 4 +-
gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d | 1 +
gas/testsuite/gas/aarch64/reloc-gotoff_g1.d | 1 +
gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d | 1 +
gas/testsuite/gas/aarch64/reloc-gottprel_g1.d | 1 +
gas/testsuite/gas/aarch64/reloc-insn.d | 1 +
.../gas/aarch64/reloc-tlsdesc_off_g0_nc.d | 1 +
gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d | 1 +
gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d | 1 +
gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d | 1 +
gas/testsuite/gas/aarch64/reloc-tlsldm-1.d | 4 +-
gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d | 4 +-
gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d | 4 +-
gas/testsuite/gas/aarch64/shifted.d | 2 +-
gas/testsuite/gas/aarch64/sve.d | 2 +-
gas/testsuite/gas/aarch64/symbol.d | 2 +-
gas/testsuite/gas/aarch64/sysreg-1.d | 2 +-
gas/testsuite/gas/aarch64/sysreg-2.d | 2 +-
gas/testsuite/gas/aarch64/sysreg-3.d | 2 +-
gas/testsuite/gas/aarch64/sysreg.d | 2 +-
gas/testsuite/gas/aarch64/system-2.d | 2 +-
gas/testsuite/gas/aarch64/system-3.d | 2 +-
gas/testsuite/gas/aarch64/system.d | 66 +-
gas/testsuite/gas/aarch64/tail_padding.d | 1 +
gas/testsuite/gas/aarch64/tbz_1.d | 4 +-
gas/testsuite/gas/aarch64/tlbi_op.d | 2 +-
gas/testsuite/gas/aarch64/tls-desc.d | 1 +
gas/testsuite/gas/aarch64/tls.d | 32 +-
gas/testsuite/gas/aarch64/uao-directive.d | 2 +-
gas/testsuite/gas/aarch64/uao.d | 2 +-
gas/testsuite/gas/aarch64/virthostext-directive.d | 2 +-
gas/testsuite/gas/aarch64/virthostext.d | 2 +-
gas/testsuite/gas/arc/add_s-err.s | 2 +-
gas/testsuite/gas/arc/cpu-em-err.s | 4 +
gas/testsuite/gas/arc/cpu-em4-err.s | 4 +
gas/testsuite/gas/arc/cpu-fpuda-err.s | 6 +
gas/testsuite/gas/arc/cpu-hs-err.s | 5 +
gas/testsuite/gas/arc/cpu-quarkse-err.s | 7 +
gas/testsuite/gas/arc/lpcount-err.s | 9 +
gas/testsuite/gas/arc/noargs_a7.s | 1 +
gas/testsuite/gas/arc/textauxregister-1.d | 10 +
gas/testsuite/gas/arc/textauxregister-1.s | 5 +
gas/testsuite/gas/arc/textcondcode-err.s | 2 +
gas/testsuite/gas/arc/textcoreregister-err.s | 2 +
gas/testsuite/gas/arm/armv8_3-a-fp-bad.d | 2 +
gas/testsuite/gas/arm/armv8_3-a-fp-bad.l | 7 +
gas/testsuite/gas/arm/armv8_3-a-fp-bad.s | 8 +
gas/testsuite/gas/arm/armv8_3-a-fp.d | 15 +
gas/testsuite/gas/arm/armv8_3-a-fp.s | 8 +
gas/testsuite/gas/arm/armv8_3-a-simd-bad.d | 2 +
gas/testsuite/gas/arm/armv8_3-a-simd-bad.l | 39 +
gas/testsuite/gas/arm/armv8_3-a-simd-bad.s | 51 +
gas/testsuite/gas/arm/armv8_3-a-simd.d | 47 +
gas/testsuite/gas/arm/armv8_3-a-simd.s | 49 +
gas/testsuite/gas/i386/i386.exp | 1 +
gas/testsuite/gas/i386/xop32reg.d | 15 +
gas/testsuite/gas/i386/xop32reg.s | 13 +
gas/testsuite/gas/mips/mips.exp | 5 +
.../gas/mips/mips16-branch-unextended-1.d | 3 +
.../gas/mips/mips16-branch-unextended-1.s | 8 +
.../gas/mips/mips16-branch-unextended-2.d | 3 +
.../gas/mips/mips16-branch-unextended-2.s | 8 +
gas/testsuite/gas/mips/mips16-branch-unextended.l | 6 +
gas/testsuite/gas/mips/mips16-extend.d | 16 +
gas/testsuite/gas/mips/mips16-extend.s | 23 +
gas/testsuite/gas/mips/mips16-sprel-swap.d | 20 +
gas/testsuite/gas/mips/mips16-sprel-swap.s | 24 +
gas/testsuite/gas/mmix/err-byte1.s | 5 +-
gdb/ChangeLog | 565 +++
gdb/Makefile.in | 4 +-
gdb/NEWS | 15 +
gdb/aarch64-tdep.c | 196 +-
gdb/ada-lang.c | 2 +-
gdb/alpha-fbsd-tdep.c | 2 +-
gdb/alpha-nbsd-tdep.c | 22 +-
gdb/alpha-obsd-tdep.c | 2 +-
gdb/amd64-fbsd-tdep.c | 2 +-
gdb/amd64-nbsd-tdep.c | 2 +-
gdb/amd64-obsd-tdep.c | 55 +-
gdb/arm-nbsd-nat.c | 29 -
gdb/arm-nbsd-tdep.c | 27 +-
gdb/arm-obsd-tdep.c | 15 +-
gdb/arm-tdep.c | 60 +-
gdb/breakpoint.c | 10 +-
gdb/cli-out.c | 46 +-
gdb/cli-out.h | 9 +-
gdb/cli/cli-script.c | 200 +-
gdb/cli/cli-script.h | 6 +
gdb/config/i386/i386gnu.mh | 3 +
gdb/configure.tgt | 8 +-
gdb/cris-tdep.c | 5 +-
gdb/darwin-nat-info.c | 5 +-
gdb/data-directory/Makefile.in | 3 +
gdb/dbxread.c | 201 +-
gdb/defs.h | 10 +-
gdb/disable-implicit-rules.mk | 27 +
gdb/doc/ChangeLog | 16 +
gdb/doc/Makefile.in | 3 +
gdb/doc/gdb.texinfo | 22 +-
gdb/dwarf2loc.c | 24 +-
gdb/dwarf2read.c | 33 +-
gdb/elfread.c | 2 +
gdb/fbsd-tdep.c | 2 +-
gdb/frame.c | 5 +-
gdb/gdbserver/ChangeLog | 4 +
gdb/gdbserver/Makefile.in | 3 +
gdb/gnu-nat.c | 174 +-
gdb/gnulib/Makefile.in | 3 +
gdb/hppa-nbsd-tdep.c | 2 +-
gdb/hppa-obsd-tdep.c | 20 +-
gdb/hppa-tdep.c | 23 -
gdb/i386-bsd-tdep.c | 35 -
gdb/i386-fbsd-tdep.c | 16 +-
gdb/i386-gnu-nat.c | 26 +-
gdb/i386-nbsd-tdep.c | 2 +-
gdb/i386-obsd-tdep.c | 71 +-
gdb/inferior.c | 18 +-
gdb/m68k-bsd-tdep.c | 111 +-
gdb/mi/mi-out.c | 80 +-
gdb/mips-nbsd-tdep.c | 2 +-
gdb/mips64-obsd-tdep.c | 2 +-
gdb/osabi.c | 44 +-
gdb/ppc-fbsd-tdep.c | 7 +-
gdb/ppc-nbsd-tdep.c | 2 +-
gdb/ppc-obsd-tdep.c | 22 +-
gdb/printcmd.c | 3 +
gdb/record-full.c | 2 +-
gdb/rl78-tdep.c | 36 +-
gdb/rs6000-tdep.c | 3 +-
gdb/rx-tdep.c | 103 +-
gdb/sh-nbsd-tdep.c | 21 +-
gdb/solib.c | 24 +-
gdb/sparc-nbsd-tdep.c | 58 +-
gdb/sparc-obsd-tdep.c | 4 +-
gdb/sparc-tdep.h | 4 +-
gdb/sparc64-fbsd-tdep.c | 2 +-
gdb/sparc64-nbsd-tdep.c | 2 +-
gdb/sparc64-obsd-tdep.c | 2 +-
gdb/stabsread.c | 9 +-
gdb/symmisc.c | 2 +-
gdb/testsuite/ChangeLog | 858 ++++
gdb/testsuite/Makefile.in | 3 +
gdb/testsuite/gdb.ada/array_return.exp | 8 +-
gdb/testsuite/gdb.ada/assign_1.exp | 2 +-
gdb/testsuite/gdb.ada/boolean_expr.exp | 2 +-
gdb/testsuite/gdb.ada/catch_ex.exp | 6 +-
gdb/testsuite/gdb.ada/expr_delims.exp | 10 +-
gdb/testsuite/gdb.ada/info_exc.exp | 2 +-
gdb/testsuite/gdb.ada/mi_catch_ex.exp | 6 +-
gdb/testsuite/gdb.ada/mi_dyn_arr.exp | 4 +-
gdb/testsuite/gdb.ada/mi_ex_cond.exp | 2 +-
gdb/testsuite/gdb.ada/mi_exc_info.exp | 2 +-
gdb/testsuite/gdb.ada/mi_interface.exp | 4 +-
gdb/testsuite/gdb.ada/mi_task_arg.exp | 2 +-
gdb/testsuite/gdb.ada/mi_task_info.exp | 2 +-
gdb/testsuite/gdb.ada/mi_var_array.exp | 4 +-
gdb/testsuite/gdb.ada/start.exp | 4 +-
gdb/testsuite/gdb.ada/watch_arg.exp | 4 +-
gdb/testsuite/gdb.arch/alpha-step.exp | 6 +-
gdb/testsuite/gdb.arch/altivec-regs.exp | 4 +-
gdb/testsuite/gdb.arch/amd64-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/arm-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp | 4 +-
gdb/testsuite/gdb.arch/e500-prologue.exp | 2 +-
gdb/testsuite/gdb.arch/e500-regs.exp | 4 +-
gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp | 10 +-
gdb/testsuite/gdb.arch/gdb1291.exp | 2 +-
gdb/testsuite/gdb.arch/gdb1431.exp | 2 +-
gdb/testsuite/gdb.arch/gdb1558.exp | 4 +-
gdb/testsuite/gdb.arch/i386-bp_permanent.exp | 4 +-
gdb/testsuite/gdb.arch/i386-disp-step.exp | 2 +-
gdb/testsuite/gdb.arch/i386-dr3-watch.exp | 2 +-
gdb/testsuite/gdb.arch/i386-float.exp | 2 +-
gdb/testsuite/gdb.arch/i386-gnu-cfi.exp | 8 +-
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp | 6 +-
gdb/testsuite/gdb.arch/i386-mpx.exp | 16 +-
gdb/testsuite/gdb.arch/i386-permbkpt.exp | 4 +-
gdb/testsuite/gdb.arch/i386-sse-stack-align.exp | 2 +-
gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp | 2 +-
gdb/testsuite/gdb.arch/mips16-thunks.exp | 10 +-
gdb/testsuite/gdb.arch/pa-nullify.exp | 8 +-
gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp | 2 +-
gdb/testsuite/gdb.arch/powerpc-d128-regs.exp | 12 +-
gdb/testsuite/gdb.arch/powerpc-power.exp | 2 +-
gdb/testsuite/gdb.arch/ppc-dfp.exp | 4 +-
gdb/testsuite/gdb.arch/s390-tdbregs.exp | 4 +-
gdb/testsuite/gdb.arch/spu-info.exp | 2 +-
gdb/testsuite/gdb.arch/spu-ls.exp | 2 +-
gdb/testsuite/gdb.arch/thumb-bx-pc.exp | 2 +-
gdb/testsuite/gdb.arch/vsx-regs.exp | 4 +-
gdb/testsuite/gdb.base/advance.exp | 2 +-
gdb/testsuite/gdb.base/all-architectures-0.exp | 17 +
gdb/testsuite/gdb.base/all-architectures-1.exp | 17 +
gdb/testsuite/gdb.base/all-architectures-2.exp | 17 +
gdb/testsuite/gdb.base/all-architectures-3.exp | 17 +
gdb/testsuite/gdb.base/all-architectures-4.exp | 17 +
gdb/testsuite/gdb.base/all-architectures-5.exp | 17 +
gdb/testsuite/gdb.base/all-architectures-6.exp | 17 +
gdb/testsuite/gdb.base/all-architectures-7.exp | 17 +
gdb/testsuite/gdb.base/all-architectures.exp.in | 336 ++
.../gdb.base/annota-input-while-running.exp | 2 +-
gdb/testsuite/gdb.base/annota1.exp | 2 +-
gdb/testsuite/gdb.base/annota3.exp | 2 +-
gdb/testsuite/gdb.base/arrayidx.exp | 10 +-
gdb/testsuite/gdb.base/asmlabel.exp | 2 +-
gdb/testsuite/gdb.base/assign.exp | 2 +-
gdb/testsuite/gdb.base/async.exp | 2 +-
gdb/testsuite/gdb.base/attach-wait-input.exp | 2 +-
gdb/testsuite/gdb.base/attach.exp | 4 +-
.../gdb.base/auto-connect-native-target.exp | 8 +-
gdb/testsuite/gdb.base/auxv.exp | 2 +-
gdb/testsuite/gdb.base/bang.exp | 2 +-
.../gdb.base/batch-preserve-term-settings.exp | 2 +-
gdb/testsuite/gdb.base/bfp-test.exp | 20 +-
gdb/testsuite/gdb.base/bigcore.exp | 8 +-
gdb/testsuite/gdb.base/bitfields2.exp | 2 +-
gdb/testsuite/gdb.base/bp-permanent.exp | 2 +-
gdb/testsuite/gdb.base/break-always.exp | 2 +-
gdb/testsuite/gdb.base/break-fun-addr.exp | 4 +-
gdb/testsuite/gdb.base/break-idempotent.exp | 4 +-
.../gdb.base/break-main-file-remove-fail.exp | 2 +-
gdb/testsuite/gdb.base/break-probes.exp | 2 +-
gdb/testsuite/gdb.base/break-unload-file.exp | 2 +-
gdb/testsuite/gdb.base/break.exp | 16 +-
gdb/testsuite/gdb.base/breakpoint-shadow.exp | 4 +-
gdb/testsuite/gdb.base/call-ar-st.exp | 2 +-
gdb/testsuite/gdb.base/call-rt-st.exp | 4 +-
gdb/testsuite/gdb.base/call-sc.exp | 2 +-
gdb/testsuite/gdb.base/call-signal-resume.exp | 4 +-
gdb/testsuite/gdb.base/call-strs.exp | 2 +-
gdb/testsuite/gdb.base/callexit.exp | 6 +-
gdb/testsuite/gdb.base/callfuncs.exp | 6 +-
gdb/testsuite/gdb.base/catch-fork-kill.exp | 2 +-
.../gdb.base/catch-gdb-caused-signals.exp | 2 +-
.../gdb.base/catch-signal-siginfo-cond.exp | 2 +-
gdb/testsuite/gdb.base/catch-syscall.exp | 2 +-
gdb/testsuite/gdb.base/charset.exp | 6 +-
gdb/testsuite/gdb.base/checkpoint.exp | 16 +-
gdb/testsuite/gdb.base/commands.exp | 138 +-
gdb/testsuite/gdb.base/compare-sections.exp | 2 +-
gdb/testsuite/gdb.base/completion.exp | 2 +-
gdb/testsuite/gdb.base/comprdebug.exp | 4 +-
gdb/testsuite/gdb.base/cond-eval-mode.exp | 2 +-
gdb/testsuite/gdb.base/condbreak-call-false.exp | 2 +-
gdb/testsuite/gdb.base/consecutive-step-over.exp | 2 +-
gdb/testsuite/gdb.base/constvars.exp | 2 +-
gdb/testsuite/gdb.base/coredump-filter.exp | 2 +-
gdb/testsuite/gdb.base/cursal.exp | 2 +-
gdb/testsuite/gdb.base/cvexpr.exp | 2 +-
gdb/testsuite/gdb.base/debug-expr.exp | 2 +-
gdb/testsuite/gdb.base/del.exp | 2 +-
gdb/testsuite/gdb.base/detach.exp | 2 +-
gdb/testsuite/gdb.base/dfp-test.exp | 18 +-
gdb/testsuite/gdb.base/disabled-location.exp | 2 +-
gdb/testsuite/gdb.base/disasm-end-cu.exp | 10 +-
gdb/testsuite/gdb.base/display.exp | 4 +-
gdb/testsuite/gdb.base/dmsym.exp | 6 +-
.../gdb.base/double-prompt-target-event-error.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-bp-same-addr.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-detach.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-next.exp | 2 +-
gdb/testsuite/gdb.base/dprintf-non-stop.exp | 4 +-
gdb/testsuite/gdb.base/dprintf-pending.exp | 2 +-
gdb/testsuite/gdb.base/dso2dso.exp | 4 +-
gdb/testsuite/gdb.base/dtrace-probe.exp | 2 +-
gdb/testsuite/gdb.base/dump.exp | 4 +-
gdb/testsuite/gdb.base/echo.exp | 2 +-
gdb/testsuite/gdb.base/ending-run.exp | 6 +-
gdb/testsuite/gdb.base/enum_cond.exp | 2 +-
gdb/testsuite/gdb.base/eval.exp | 6 +-
gdb/testsuite/gdb.base/examine-backward.exp | 2 +-
gdb/testsuite/gdb.base/exe-lock.exp | 2 +-
gdb/testsuite/gdb.base/exec-invalid-sysroot.exp | 6 +-
.../gdb.base/execl-update-breakpoints.exp | 8 +-
gdb/testsuite/gdb.base/execution-termios.exp | 2 +-
gdb/testsuite/gdb.base/expand-psymtabs.exp | 2 +-
gdb/testsuite/gdb.base/exprs.exp | 2 +-
gdb/testsuite/gdb.base/fileio.exp | 4 +-
gdb/testsuite/gdb.base/find.exp | 2 +-
gdb/testsuite/gdb.base/finish.exp | 2 +-
gdb/testsuite/gdb.base/fixsection.exp | 4 +-
gdb/testsuite/gdb.base/float128.exp | 12 +-
gdb/testsuite/gdb.base/floatn.exp | 40 +-
gdb/testsuite/gdb.base/foll-exec-mode.exp | 6 +-
gdb/testsuite/gdb.base/foll-exec.exp | 12 +-
gdb/testsuite/gdb.base/foll-vfork.exp | 4 +-
gdb/testsuite/gdb.base/fork-running-state.exp | 2 +-
gdb/testsuite/gdb.base/frame-args.exp | 2 +-
gdb/testsuite/gdb.base/fullpath-expand.exp | 2 +-
gdb/testsuite/gdb.base/func-ptr.exp | 2 +-
gdb/testsuite/gdb.base/gcore-buffer-overflow.exp | 2 +-
gdb/testsuite/gdb.base/gcore-relro-pie.exp | 2 +-
gdb/testsuite/gdb.base/gcore.exp | 4 +-
gdb/testsuite/gdb.base/gdb1056.exp | 2 +-
gdb/testsuite/gdb.base/gdb1090.exp | 2 +-
gdb/testsuite/gdb.base/gdb11531.exp | 2 +-
gdb/testsuite/gdb.base/gdb1250.exp | 2 +-
gdb/testsuite/gdb.base/gdb1555.exp | 2 +-
.../gdb.base/global-var-nested-by-dso.exp | 4 +-
gdb/testsuite/gdb.base/gnu-ifunc.exp | 6 +-
gdb/testsuite/gdb.base/hashline1.exp | 2 +-
gdb/testsuite/gdb.base/hashline2.exp | 2 +-
gdb/testsuite/gdb.base/hashline3.exp | 2 +-
.../gdb.base/hbreak-in-shr-unsupported.exp | 4 +-
gdb/testsuite/gdb.base/hbreak-unmapped.exp | 4 +-
gdb/testsuite/gdb.base/hook-stop.exp | 2 +-
gdb/testsuite/gdb.base/huge.exp | 4 +-
gdb/testsuite/gdb.base/infcall-input.exp | 4 +-
gdb/testsuite/gdb.base/info-fun.exp | 6 +-
gdb/testsuite/gdb.base/info-shared.exp | 4 +-
gdb/testsuite/gdb.base/interrupt-noterm.exp | 2 +-
gdb/testsuite/gdb.base/jit-simple.exp | 4 +-
gdb/testsuite/gdb.base/jit-so.exp | 13 +-
gdb/testsuite/gdb.base/jit.exp | 7 +-
gdb/testsuite/gdb.base/jump.exp | 2 +-
gdb/testsuite/gdb.base/label.exp | 2 +-
gdb/testsuite/gdb.base/line-symtabs.exp | 2 +-
gdb/testsuite/gdb.base/lineinc.exp | 2 +-
gdb/testsuite/gdb.base/list.exp | 2 +-
gdb/testsuite/gdb.base/logical.exp | 2 +-
gdb/testsuite/gdb.base/longjmp.exp | 4 +-
gdb/testsuite/gdb.base/macscp.exp | 6 +-
gdb/testsuite/gdb.base/maint.exp | 29 +-
gdb/testsuite/gdb.base/max-value-size.exp | 2 +-
gdb/testsuite/gdb.base/miscexprs.exp | 2 +-
gdb/testsuite/gdb.base/multi-forks.exp | 16 +-
gdb/testsuite/gdb.base/new-ui-echo.exp | 2 +-
gdb/testsuite/gdb.base/new-ui-pending-input.exp | 2 +-
gdb/testsuite/gdb.base/new-ui.exp | 2 +-
gdb/testsuite/gdb.base/nodebug.exp | 2 +-
gdb/testsuite/gdb.base/nofield.exp | 2 +-
gdb/testsuite/gdb.base/offsets.exp | 2 +-
gdb/testsuite/gdb.base/overlays.exp | 24 +-
.../gdb.base/paginate-after-ctrl-c-running.exp | 2 +-
gdb/testsuite/gdb.base/paginate-bg-execution.exp | 4 +-
gdb/testsuite/gdb.base/paginate-inferior-exit.exp | 2 +-
gdb/testsuite/gdb.base/pending.exp | 10 +-
gdb/testsuite/gdb.base/pointers.exp | 2 +-
gdb/testsuite/gdb.base/pr11022.exp | 4 +-
gdb/testsuite/gdb.base/printcmds.exp | 8 +-
gdb/testsuite/gdb.base/prologue.exp | 2 +-
gdb/testsuite/gdb.base/ptr-typedef.exp | 4 +-
gdb/testsuite/gdb.base/ptype.exp | 2 +-
gdb/testsuite/gdb.base/radix.exp | 10 +-
gdb/testsuite/gdb.base/randomize.exp | 6 +-
gdb/testsuite/gdb.base/range-stepping.exp | 2 +-
gdb/testsuite/gdb.base/realname-expand.exp | 4 +-
gdb/testsuite/gdb.base/relativedebug.exp | 2 +-
gdb/testsuite/gdb.base/relocate.exp | 2 +-
gdb/testsuite/gdb.base/remote.exp | 4 +-
gdb/testsuite/gdb.base/reread.exp | 4 +-
gdb/testsuite/gdb.base/return2.exp | 4 +-
gdb/testsuite/gdb.base/savedregs.exp | 4 +-
gdb/testsuite/gdb.base/sep.exp | 2 +-
gdb/testsuite/gdb.base/sepdebug.exp | 14 +-
gdb/testsuite/gdb.base/sepsymtab.exp | 2 +-
gdb/testsuite/gdb.base/set-inferior-tty.exp | 2 +-
gdb/testsuite/gdb.base/set-noassign.exp | 2 +-
gdb/testsuite/gdb.base/setshow.exp | 2 +-
gdb/testsuite/gdb.base/shlib-call.exp | 2 +-
gdb/testsuite/gdb.base/shreloc.exp | 12 +-
gdb/testsuite/gdb.base/sigaltstack.exp | 2 +-
gdb/testsuite/gdb.base/sigbpt.exp | 4 +-
gdb/testsuite/gdb.base/siginfo-addr.exp | 2 +-
gdb/testsuite/gdb.base/siginfo-obj.exp | 10 +-
gdb/testsuite/gdb.base/siginfo-thread.exp | 8 +-
gdb/testsuite/gdb.base/signals.exp | 2 +-
gdb/testsuite/gdb.base/signest.exp | 2 +-
gdb/testsuite/gdb.base/signull.exp | 4 +-
gdb/testsuite/gdb.base/sigrepeat.exp | 2 +-
gdb/testsuite/gdb.base/skip.exp | 20 +-
gdb/testsuite/gdb.base/so-impl-ld.exp | 2 +-
gdb/testsuite/gdb.base/solib-corrupted.exp | 2 +-
gdb/testsuite/gdb.base/solib-disc.exp | 2 +-
gdb/testsuite/gdb.base/solib-display.exp | 14 +-
gdb/testsuite/gdb.base/solib-overlap.exp | 6 +-
gdb/testsuite/gdb.base/solib-search.exp | 6 +-
gdb/testsuite/gdb.base/solib-symbol.exp | 4 +-
gdb/testsuite/gdb.base/source-execution.exp | 2 +-
gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp | 2 +-
gdb/testsuite/gdb.base/sss-bp-on-user-bp.exp | 2 +-
gdb/testsuite/gdb.base/stack-checking.exp | 2 +-
gdb/testsuite/gdb.base/stale-infcall.exp | 2 +-
gdb/testsuite/gdb.base/step-break.exp | 2 +-
gdb/testsuite/gdb.base/step-line.exp | 2 +-
gdb/testsuite/gdb.base/step-over-exit.exp | 2 +-
gdb/testsuite/gdb.base/step-test.exp | 2 +-
gdb/testsuite/gdb.base/structs.exp | 4 +-
gdb/testsuite/gdb.base/structs2.exp | 2 +-
gdb/testsuite/gdb.base/sym-file.exp | 2 +-
gdb/testsuite/gdb.base/symtab-search-order.exp | 4 +-
gdb/testsuite/gdb.base/term.exp | 2 +-
gdb/testsuite/gdb.base/testenv.exp | 22 +-
gdb/testsuite/gdb.base/twice.exp | 2 +-
gdb/testsuite/gdb.base/type-opaque.exp | 2 +-
gdb/testsuite/gdb.base/unload.exp | 2 +-
gdb/testsuite/gdb.base/until-nodebug.exp | 2 +-
gdb/testsuite/gdb.base/until.exp | 2 +-
gdb/testsuite/gdb.base/unwindonsignal.exp | 4 +-
gdb/testsuite/gdb.base/varargs.exp | 2 +-
gdb/testsuite/gdb.base/watch-cond.exp | 6 +-
gdb/testsuite/gdb.base/watch-non-mem.exp | 2 +-
gdb/testsuite/gdb.base/watch_thread_num.exp | 12 +-
gdb/testsuite/gdb.base/watchpoint-cond-gone.exp | 4 +-
gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint-solib.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint.exp | 16 +-
gdb/testsuite/gdb.base/watchpoints.exp | 14 +-
gdb/testsuite/gdb.base/whatis.exp | 2 +-
gdb/testsuite/gdb.base/wrong_frame_bt_full.exp | 2 +-
gdb/testsuite/gdb.btrace/dlopen.exp | 2 +-
gdb/testsuite/gdb.cell/arch.exp | 14 +-
gdb/testsuite/gdb.cell/break.exp | 12 +-
gdb/testsuite/gdb.cell/bt.exp | 12 +-
gdb/testsuite/gdb.cell/core.exp | 6 +-
gdb/testsuite/gdb.cell/data.exp | 8 +-
gdb/testsuite/gdb.cell/dwarfaddr.exp | 4 +-
gdb/testsuite/gdb.cell/ea-cache.exp | 10 +-
gdb/testsuite/gdb.cell/ea-standalone.exp | 4 +-
gdb/testsuite/gdb.cell/ea-test.exp | 4 +-
gdb/testsuite/gdb.cell/f-regs.exp | 8 +-
gdb/testsuite/gdb.cell/fork.exp | 8 +-
gdb/testsuite/gdb.cell/gcore.exp | 8 +-
gdb/testsuite/gdb.cell/mem-access.exp | 8 +-
gdb/testsuite/gdb.cell/ptype.exp | 8 +-
gdb/testsuite/gdb.cell/registers.exp | 8 +-
gdb/testsuite/gdb.cell/sizeof.exp | 8 +-
gdb/testsuite/gdb.cell/solib-symbol.exp | 8 +-
gdb/testsuite/gdb.cell/solib.exp | 8 +-
gdb/testsuite/gdb.compile/compile-tls.exp | 2 +-
gdb/testsuite/gdb.compile/compile.exp | 16 +-
gdb/testsuite/gdb.cp/arg-reference.exp | 2 +-
gdb/testsuite/gdb.cp/baseenum.exp | 2 +-
gdb/testsuite/gdb.cp/dispcxx.exp | 2 +-
gdb/testsuite/gdb.cp/exception.exp | 4 +-
gdb/testsuite/gdb.cp/gdb2384.exp | 2 +-
gdb/testsuite/gdb.cp/gdb2495.exp | 28 +-
gdb/testsuite/gdb.cp/local.exp | 4 +-
gdb/testsuite/gdb.cp/mb-inline.exp | 2 +-
gdb/testsuite/gdb.cp/mb-templates.exp | 2 +-
gdb/testsuite/gdb.cp/method2.exp | 2 +-
gdb/testsuite/gdb.cp/nextoverthrow.exp | 2 +-
gdb/testsuite/gdb.cp/operator.exp | 2 +-
gdb/testsuite/gdb.cp/ovldbreak.exp | 8 +-
gdb/testsuite/gdb.cp/pr10687.exp | 2 +-
gdb/testsuite/gdb.cp/pr10728.exp | 6 +-
gdb/testsuite/gdb.cp/pr9167.exp | 2 +-
gdb/testsuite/gdb.cp/scope-err.exp | 2 +-
gdb/testsuite/gdb.cp/shadow.exp | 10 +-
gdb/testsuite/gdb.cp/templates.exp | 2 +-
gdb/testsuite/gdb.cp/virtfunc.exp | 2 +-
gdb/testsuite/gdb.disasm/am33.exp | 2 +-
gdb/testsuite/gdb.disasm/h8300s.exp | 2 +-
gdb/testsuite/gdb.disasm/mn10300.exp | 2 +-
gdb/testsuite/gdb.disasm/sh3.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-op-out-param.exp | 8 +-
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.exp | 2 +-
.../gdb.dwarf2/dw2-single-line-discriminators.exp | 2 +-
gdb/testsuite/gdb.dwarf2/main-subprogram.c | 29 +
gdb/testsuite/gdb.dwarf2/main-subprogram.exp | 73 +
gdb/testsuite/gdb.fortran/complex.exp | 2 +-
gdb/testsuite/gdb.fortran/library-module.exp | 4 +-
gdb/testsuite/gdb.gdb/selftest.exp | 2 +-
gdb/testsuite/gdb.gdb/xfullpath.exp | 2 +-
gdb/testsuite/gdb.go/chan.exp | 4 +-
gdb/testsuite/gdb.go/hello.exp | 6 +-
gdb/testsuite/gdb.go/integers.exp | 18 +-
gdb/testsuite/gdb.go/methods.exp | 4 +-
gdb/testsuite/gdb.go/package.exp | 2 +-
gdb/testsuite/gdb.guile/guile.exp | 2 +-
gdb/testsuite/gdb.guile/scm-cmd.exp | 2 +-
gdb/testsuite/gdb.guile/scm-frame-inline.exp | 2 +-
gdb/testsuite/gdb.guile/scm-objfile.exp | 2 +-
gdb/testsuite/gdb.guile/scm-parameter.exp | 8 +-
gdb/testsuite/gdb.guile/scm-pretty-print.exp | 2 +-
gdb/testsuite/gdb.guile/scm-progspace.exp | 6 +-
gdb/testsuite/gdb.guile/scm-symbol.exp | 2 +-
gdb/testsuite/gdb.guile/scm-type.exp | 2 +-
gdb/testsuite/gdb.guile/scm-value.exp | 8 +-
gdb/testsuite/gdb.linespec/keywords.exp | 2 +-
gdb/testsuite/gdb.linespec/linespec.exp | 2 +-
gdb/testsuite/gdb.linespec/ls-errs.exp | 2 +-
gdb/testsuite/gdb.linespec/macro-relative.exp | 2 +-
gdb/testsuite/gdb.linespec/thread.exp | 2 +-
gdb/testsuite/gdb.mi/gdb701.exp | 2 +-
gdb/testsuite/gdb.mi/gdb792.exp | 2 +-
gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 4 +-
gdb/testsuite/gdb.mi/mi-dprintf-pending.exp | 4 +-
gdb/testsuite/gdb.mi/mi-dprintf.exp | 2 +-
gdb/testsuite/gdb.mi/mi-exit-code.exp | 2 +-
gdb/testsuite/gdb.mi/mi-fullname-deleted.exp | 4 +-
gdb/testsuite/gdb.mi/mi-logging.exp | 8 +-
gdb/testsuite/gdb.mi/mi-pending.exp | 8 +-
gdb/testsuite/gdb.mi/mi-solib.exp | 2 +-
gdb/testsuite/gdb.mi/new-ui-mi-sync.exp | 4 +-
gdb/testsuite/gdb.mi/pr11022.exp | 2 +-
.../gdb.mi/user-selected-context-sync.exp | 6 +-
gdb/testsuite/gdb.multi/dummy-frame-restore.exp | 4 +-
gdb/testsuite/gdb.multi/multi-arch-exec.exp | 2 +-
gdb/testsuite/gdb.multi/remove-inferiors.exp | 2 +-
gdb/testsuite/gdb.multi/watchpoint-multi-exit.exp | 2 +-
gdb/testsuite/gdb.objc/basicclass.exp | 8 +-
gdb/testsuite/gdb.opencl/datatypes.exp | 6 +-
gdb/testsuite/gdb.opt/clobbered-registers-O2.exp | 2 +-
gdb/testsuite/gdb.opt/solib-intra-step.exp | 2 +-
gdb/testsuite/gdb.pascal/floats.exp | 28 +-
gdb/testsuite/gdb.pascal/hello.exp | 4 +-
gdb/testsuite/gdb.pascal/integers.exp | 18 +-
gdb/testsuite/gdb.perf/backtrace.exp | 2 +-
gdb/testsuite/gdb.perf/single-step.exp | 2 +-
gdb/testsuite/gdb.perf/skip-command.exp | 2 +-
gdb/testsuite/gdb.perf/skip-prologue.exp | 11 +-
gdb/testsuite/gdb.perf/solib.exp | 2 +-
gdb/testsuite/gdb.python/lib-types.exp | 2 +-
gdb/testsuite/gdb.python/py-as-string.exp | 2 +-
gdb/testsuite/gdb.python/py-bad-printers.exp | 2 +-
gdb/testsuite/gdb.python/py-block.exp | 24 +-
gdb/testsuite/gdb.python/py-breakpoint.exp | 20 +-
gdb/testsuite/gdb.python/py-cmd.exp | 4 +-
gdb/testsuite/gdb.python/py-events.exp | 4 +-
gdb/testsuite/gdb.python/py-evsignal.exp | 2 +-
gdb/testsuite/gdb.python/py-evthreads.exp | 2 +-
gdb/testsuite/gdb.python/py-finish-breakpoint.exp | 16 +-
gdb/testsuite/gdb.python/py-finish-breakpoint2.exp | 2 +-
gdb/testsuite/gdb.python/py-frame-inline.exp | 2 +-
gdb/testsuite/gdb.python/py-frame.exp | 2 +-
.../gdb.python/py-framefilter-invalidarg.exp | 4 +-
gdb/testsuite/gdb.python/py-framefilter.exp | 6 +-
gdb/testsuite/gdb.python/py-function.exp | 4 +-
gdb/testsuite/gdb.python/py-inferior.exp | 2 +-
gdb/testsuite/gdb.python/py-infthread.exp | 2 +-
gdb/testsuite/gdb.python/py-linetable.exp | 4 +-
gdb/testsuite/gdb.python/py-mi.exp | 2 +-
gdb/testsuite/gdb.python/py-objfile.exp | 4 +-
gdb/testsuite/gdb.python/py-parameter.exp | 82 +-
gdb/testsuite/gdb.python/py-pp-maint.exp | 2 +-
gdb/testsuite/gdb.python/py-pp-registration.exp | 2 +-
gdb/testsuite/gdb.python/py-prettyprint.exp | 2 +-
gdb/testsuite/gdb.python/py-recurse-unwind.exp | 2 +-
gdb/testsuite/gdb.python/py-shared.exp | 6 +-
gdb/testsuite/gdb.python/py-symbol.exp | 74 +-
gdb/testsuite/gdb.python/py-symtab.exp | 40 +-
gdb/testsuite/gdb.python/py-template.exp | 2 +-
gdb/testsuite/gdb.python/py-type.exp | 60 +-
gdb/testsuite/gdb.python/py-unwind-maint.exp | 2 +-
gdb/testsuite/gdb.python/py-unwind.exp | 2 +-
gdb/testsuite/gdb.python/py-value.exp | 52 +-
gdb/testsuite/gdb.python/py-xmethods.exp | 70 +-
gdb/testsuite/gdb.python/python.exp | 70 +-
gdb/testsuite/gdb.reverse/break-precsave.exp | 4 +-
gdb/testsuite/gdb.reverse/break-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/consecutive-precsave.exp | 6 +-
gdb/testsuite/gdb.reverse/consecutive-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/finish-precsave.exp | 6 +-
gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp | 4 +-
gdb/testsuite/gdb.reverse/finish-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/fstatat-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/getresuid-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i386-precsave.exp | 6 +-
gdb/testsuite/gdb.reverse/i386-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i386-sse-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/i387-stack-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/insn-reverse.exp | 4 +-
.../gdb.reverse/machinestate-precsave.exp | 6 +-
gdb/testsuite/gdb.reverse/machinestate.exp | 2 +-
.../gdb.reverse/next-reverse-bkpt-over-sr.exp | 4 +-
gdb/testsuite/gdb.reverse/pipe-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/readv-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/recvmsg-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/rerun-prec.exp | 2 +-
gdb/testsuite/gdb.reverse/s390-mvcle.exp | 2 +-
gdb/testsuite/gdb.reverse/sigall-precsave.exp | 6 +-
gdb/testsuite/gdb.reverse/sigall-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/solib-precsave.exp | 12 +-
gdb/testsuite/gdb.reverse/solib-reverse.exp | 8 +-
gdb/testsuite/gdb.reverse/step-precsave.exp | 6 +-
gdb/testsuite/gdb.reverse/step-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/time-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/until-precsave.exp | 6 +-
gdb/testsuite/gdb.reverse/until-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/waitpid-reverse.exp | 2 +-
gdb/testsuite/gdb.reverse/watch-precsave.exp | 6 +-
gdb/testsuite/gdb.reverse/watch-reverse.exp | 2 +-
gdb/testsuite/gdb.server/solib-list.exp | 2 +-
gdb/testsuite/gdb.stabs/gdb11479.exp | 6 +-
gdb/testsuite/gdb.stabs/weird.exp | 12 +-
gdb/testsuite/gdb.threads/fork-child-threads.exp | 2 +-
gdb/testsuite/gdb.threads/fork-plus-threads.exp | 2 +-
gdb/testsuite/gdb.threads/fork-thread-pending.exp | 4 +-
.../forking-threads-plus-breakpoint.exp | 4 +-
gdb/testsuite/gdb.threads/hand-call-in-threads.exp | 4 +-
.../gdb.threads/interrupted-hand-call.exp | 4 +-
gdb/testsuite/gdb.threads/leader-exit.exp | 2 +-
gdb/testsuite/gdb.threads/linux-dp.exp | 2 +-
.../gdb.threads/local-watch-wrong-thread.exp | 2 +-
.../next-while-other-thread-longjmps.exp | 2 +-
gdb/testsuite/gdb.threads/non-ldr-exit.exp | 2 +-
gdb/testsuite/gdb.threads/pending-step.exp | 2 +-
gdb/testsuite/gdb.threads/print-threads.exp | 8 +-
.../gdb.threads/process-dies-while-detaching.exp | 6 +-
.../gdb.threads/process-dies-while-handling-bp.exp | 2 +-
gdb/testsuite/gdb.threads/pthreads.exp | 8 +-
gdb/testsuite/gdb.threads/queue-signal.exp | 2 +-
gdb/testsuite/gdb.threads/reconnect-signal.exp | 4 +-
.../gdb.threads/signal-command-handle-nopass.exp | 2 +-
.../signal-command-multiple-signals-pending.exp | 2 +-
.../gdb.threads/signal-delivered-right-thread.exp | 2 +-
gdb/testsuite/gdb.threads/signal-sigtrap.exp | 2 +-
gdb/testsuite/gdb.threads/sigthread.exp | 2 +-
gdb/testsuite/gdb.threads/staticthreads.exp | 4 +-
gdb/testsuite/gdb.threads/stepi-random-signal.exp | 2 +-
.../gdb.threads/thread-unwindonsignal.exp | 4 +-
gdb/testsuite/gdb.threads/thread_check.exp | 2 +-
gdb/testsuite/gdb.threads/thread_events.exp | 2 +-
gdb/testsuite/gdb.threads/tid-reuse.exp | 2 +-
gdb/testsuite/gdb.threads/tls-nodebug.exp | 2 +-
gdb/testsuite/gdb.threads/tls-shared.exp | 2 +-
gdb/testsuite/gdb.threads/tls-so_extern.exp | 2 +-
gdb/testsuite/gdb.threads/tls.exp | 8 +-
gdb/testsuite/gdb.threads/watchpoint-fork.exp | 4 +-
gdb/testsuite/gdb.threads/wp-replication.exp | 6 +-
gdb/testsuite/gdb.trace/actions-changed.exp | 4 +-
gdb/testsuite/gdb.trace/actions.exp | 8 +-
gdb/testsuite/gdb.trace/ax.exp | 2 +-
gdb/testsuite/gdb.trace/backtrace.exp | 10 +-
gdb/testsuite/gdb.trace/change-loc.exp | 10 +-
gdb/testsuite/gdb.trace/collection.exp | 2 +-
gdb/testsuite/gdb.trace/deltrace.exp | 4 +-
gdb/testsuite/gdb.trace/disconnected-tracing.exp | 4 +-
gdb/testsuite/gdb.trace/entry-values.exp | 6 +-
gdb/testsuite/gdb.trace/ftrace-lock.exp | 10 +-
gdb/testsuite/gdb.trace/ftrace.exp | 8 +-
gdb/testsuite/gdb.trace/infotrace.exp | 6 +-
.../gdb.trace/mi-trace-frame-collected.exp | 4 +-
gdb/testsuite/gdb.trace/mi-trace-unavailable.exp | 4 +-
gdb/testsuite/gdb.trace/mi-traceframe-changed.exp | 4 +-
gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp | 10 +-
gdb/testsuite/gdb.trace/mi-tsv-changed.exp | 12 +-
gdb/testsuite/gdb.trace/no-attach-trace.exp | 4 +-
gdb/testsuite/gdb.trace/packetlen.exp | 4 +-
gdb/testsuite/gdb.trace/passc-dyn.exp | 4 +-
gdb/testsuite/gdb.trace/passcount.exp | 4 +-
gdb/testsuite/gdb.trace/pending.exp | 20 +-
gdb/testsuite/gdb.trace/pr16508.exp | 2 +-
gdb/testsuite/gdb.trace/qtro.exp | 4 +-
gdb/testsuite/gdb.trace/range-stepping.exp | 8 +-
gdb/testsuite/gdb.trace/read-memory.exp | 4 +-
gdb/testsuite/gdb.trace/report.exp | 10 +-
gdb/testsuite/gdb.trace/save-trace.exp | 2 +-
gdb/testsuite/gdb.trace/signal.exp | 4 +-
gdb/testsuite/gdb.trace/stap-trace.exp | 2 +-
gdb/testsuite/gdb.trace/status-stop.exp | 8 +-
gdb/testsuite/gdb.trace/strace.exp | 14 +-
gdb/testsuite/gdb.trace/tfile.exp | 2 +-
gdb/testsuite/gdb.trace/tfind.exp | 6 +-
gdb/testsuite/gdb.trace/trace-break.exp | 20 +-
gdb/testsuite/gdb.trace/trace-condition.exp | 10 +-
gdb/testsuite/gdb.trace/trace-enable-disable.exp | 8 +-
gdb/testsuite/gdb.trace/trace-mt.exp | 14 +-
gdb/testsuite/gdb.trace/tracecmd.exp | 10 +-
gdb/testsuite/gdb.trace/tracefile-pseudo-reg.exp | 2 +-
gdb/testsuite/gdb.trace/tspeed.exp | 4 +-
gdb/testsuite/gdb.trace/tstatus.exp | 2 +-
gdb/testsuite/gdb.trace/tsv.exp | 20 +-
gdb/testsuite/gdb.trace/unavailable.exp | 2 +-
gdb/testsuite/gdb.trace/while-dyn.exp | 2 +-
gdb/testsuite/gdb.trace/while-stepping.exp | 4 +-
gdb/testsuite/lib/gdb-guile.exp | 2 +-
gdb/testsuite/lib/gdb.exp | 10 +-
gdb/testsuite/lib/mi-support.exp | 8 +-
gdb/testsuite/lib/pascal.exp | 2 +-
gdb/testsuite/lib/perftest.exp | 2 +-
gdb/testsuite/lib/prelink-support.exp | 2 +-
gdb/testsuite/lib/selftest-support.exp | 2 +-
gdb/tracefile-tfile.c | 2 +-
gdb/tracefile.c | 4 +-
gdb/tracepoint.c | 88 +-
gdb/tracepoint.h | 2 +-
gdb/trad-frame.c | 21 +-
gdb/trad-frame.h | 1 +
gdb/tui/tui-out.c | 4 +-
gdb/ui-out.c | 609 ++--
gdb/ui-out.h | 36 +-
gdb/valops.c | 1 -
gdb/value.c | 63 +-
gdb/value.h | 2 +-
gdb/vax-nbsd-tdep.c | 2 +-
gdb/vax-obsd-tdep.c | 178 -
gold/ChangeLog | 178 +
gold/Makefile.in | 4 +-
gold/aarch64.cc | 2 +
gold/arm.cc | 2 +
gold/layout.cc | 42 +-
gold/layout.h | 2 +-
gold/object.cc | 5 +-
gold/options.cc | 63 +-
gold/options.h | 54 +-
gold/output.cc | 65 +-
gold/output.h | 4 +-
gold/powerpc.cc | 196 +-
gold/script-sections.cc | 142 +-
gold/target.h | 12 +-
gold/testsuite/Makefile.am | 58 +
gold/testsuite/Makefile.in | 92 +-
gold/testsuite/file_in_many_sections.c | 34 +
gold/testsuite/file_in_many_sections_test.sh | 31 +
gold/testsuite/pr20717.c | 3 +
gold/testsuite/pr20717.sh | 40 +
gold/testsuite/pr20717.t | 5 +
gold/testsuite/script_test_13.c | 2 +
gold/testsuite/script_test_13.sh | 41 +
gold/testsuite/script_test_13.t | 7 +
gold/testsuite/script_test_15.c | 10 +
gold/testsuite/script_test_15a.sh | 41 +
gold/testsuite/script_test_15a.t | 40 +
gold/testsuite/script_test_15b.sh | 42 +
gold/testsuite/script_test_15b.t | 49 +
gold/testsuite/script_test_15c.sh | 42 +
gold/testsuite/script_test_15c.t | 41 +
gold/testsuite/script_test_2.cc | 18 +-
include/ChangeLog | 39 +
include/bfdlink.h | 3 +
include/elf/mips.h | 2 +-
include/opcode/aarch64.h | 6 +-
include/opcode/arc.h | 5 +
include/opcode/arm.h | 4 +
include/opcode/mips.h | 6 +-
ld/ChangeLog | 232 +
ld/Makefile.am | 10 +
ld/Makefile.in | 12 +
ld/configure | 2 +-
ld/configure.tgt | 7 +-
ld/emulparams/arclinux_prof.sh | 1 -
ld/emulparams/armelf_fuchsia.sh | 32 +
ld/emulparams/armelfb_fuchsia.sh | 2 +
ld/emultempl/elf32.em | 6 +-
ld/emultempl/ppc64elf.em | 1 -
ld/ld.texinfo | 12 +
ld/ldctor.c | 15 +-
ld/ldexp.c | 14 +-
ld/ldlex.h | 1 +
ld/ldlex.l | 10 +-
ld/ldmain.c | 2 +-
ld/lexsup.c | 6 +
ld/pe-dll.c | 11 +-
ld/scripttempl/pe.sc | 6 +-
ld/testsuite/ld-aarch64/aarch64-elf.exp | 271 +-
ld/testsuite/ld-aarch64/erratum843419.d | 92 +-
ld/testsuite/ld-aarch64/farcall-b-defsym.d | 4 +-
ld/testsuite/ld-aarch64/farcall-b-plt.d | 8 +-
ld/testsuite/ld-aarch64/farcall-b.d | 6 +-
ld/testsuite/ld-aarch64/farcall-bl-defsym.d | 4 +-
ld/testsuite/ld-aarch64/farcall-bl-plt.d | 8 +-
ld/testsuite/ld-aarch64/farcall-bl.d | 6 +-
ld/testsuite/ld-aarch64/ifunc-15.d | 4 +-
ld/testsuite/ld-aarch64/ifunc-16.d | 4 +-
ld/testsuite/ld-aarch64/ifunc-5a-local.d | 2 +-
ld/testsuite/ld-aarch64/ifunc-5a.d | 2 +-
ld/testsuite/ld-aarch64/ifunc-5b-local.d | 2 +-
ld/testsuite/ld-aarch64/ifunc-5b.d | 4 +-
ld/testsuite/ld-aarch64/ifunc-5r-local.d | 6 +-
ld/testsuite/ld-aarch64/ifunc-6a.d | 2 +-
ld/testsuite/ld-aarch64/ifunc-6b.d | 4 +-
ld/testsuite/ld-aarch64/ifunc-7a.d | 2 +-
ld/testsuite/ld-aarch64/ifunc-7b.d | 2 +-
ld/testsuite/ld-aarch64/ifunc-8.d | 2 +-
ld/testsuite/ld-aarch64/limit-b.d | 4 +-
ld/testsuite/ld-aarch64/limit-bl.d | 4 +-
ld/testsuite/ld-aarch64/relocs-ilp32.ld | 19 +
ld/testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d | 10 +
.../ld-aarch64/tls-relax-ld-le-small-ilp32.d | 14 +
.../ld-aarch64/tls-relax-ld-le-tiny-ilp32.d | 13 +
ld/testsuite/ld-cdtest/cdtest-foo.cc | 2 +-
ld/testsuite/ld-elf/flags1.d | 1 -
ld/testsuite/ld-elf/indirect.exp | 3 +
ld/testsuite/ld-elf/indirect1b.c | 3 +
ld/testsuite/ld-elf/indirect2.c | 3 +
ld/testsuite/ld-elf/indirect3b.c | 3 +
ld/testsuite/ld-elf/indirect4b.c | 6 +
ld/testsuite/ld-elf/loadaddr1.d | 2 +-
ld/testsuite/ld-elf/nobits-1.d | 2 -
ld/testsuite/ld-elf/note-1.d | 2 -
ld/testsuite/ld-elf/note-2.d | 2 -
ld/testsuite/ld-elf/pr18718.c | 3 +
ld/testsuite/ld-elf/pr18720.rd | 4 +
ld/testsuite/ld-elf/pr18720b.c | 5 +
ld/testsuite/ld-elf/pr19553c.c | 3 +
ld/testsuite/ld-elf/shared.exp | 4 +-
ld/testsuite/ld-elfvers/vers.exp | 32 +-
ld/testsuite/ld-elfvers/vers.h | 7 +
ld/testsuite/ld-elfvers/vers1.c | 16 +-
ld/testsuite/ld-elfvers/vers1.sym | 8 +-
ld/testsuite/ld-elfvers/vers15.c | 6 +-
ld/testsuite/ld-elfvers/vers15.sym | 6 +-
ld/testsuite/ld-elfvers/vers18.c | 8 +-
ld/testsuite/ld-elfvers/vers18.sym | 8 +-
ld/testsuite/ld-elfvers/vers21.c | 7 +-
ld/testsuite/ld-elfvers/vers21.sym | 6 +-
ld/testsuite/ld-elfvers/vers22a.c | 2 +-
ld/testsuite/ld-elfvers/vers22a.sym | 2 +-
ld/testsuite/ld-elfvers/vers23a.c | 2 +-
ld/testsuite/ld-elfvers/vers23a.sym | 2 +-
ld/testsuite/ld-elfvers/vers27d.sym | 2 +-
ld/testsuite/ld-elfvers/vers27d1.c | 2 +-
ld/testsuite/ld-elfvers/vers4.c | 2 +-
ld/testsuite/ld-elfvers/vers4.sym | 2 +-
ld/testsuite/ld-elfvers/vers4a.sym | 2 +-
ld/testsuite/ld-elfvers/vers5.c | 8 +-
ld/testsuite/ld-elfvers/vers6.c | 8 +-
ld/testsuite/ld-elfvers/vers6.sym | 8 +-
ld/testsuite/ld-elfvers/vers7a.c | 4 +-
ld/testsuite/ld-elfvers/vers7a.sym | 4 +-
ld/testsuite/ld-elfvers/vers9.c | 8 +-
ld/testsuite/ld-elfvers/vers9.sym | 8 +-
ld/testsuite/ld-elfweak/elfweak.exp | 18 +-
ld/testsuite/ld-elfweak/strong.sym | 2 +-
ld/testsuite/ld-elfweak/strongcomm.sym | 4 +-
ld/testsuite/ld-elfweak/strongdata.sym | 4 +-
ld/testsuite/ld-ifunc/pr16467b.c | 3 +
ld/testsuite/ld-plugin/lto.exp | 12 +-
ld/testsuite/ld-plugin/plugin-13.d | 2 +-
ld/testsuite/ld-plugin/plugin-14.d | 2 +-
ld/testsuite/ld-plugin/plugin-15.d | 2 +-
ld/testsuite/ld-plugin/plugin-16.d | 2 +-
ld/testsuite/ld-plugin/plugin-20.d | 2 +-
ld/testsuite/ld-plugin/plugin-21.d | 2 +-
ld/testsuite/ld-plugin/plugin-22.d | 2 +-
ld/testsuite/ld-plugin/plugin-23.d | 2 +-
ld/testsuite/ld-plugin/plugin-6.d | 2 +-
ld/testsuite/ld-plugin/plugin-7.d | 2 +-
ld/testsuite/ld-plugin/plugin-8.d | 2 +-
ld/testsuite/ld-plugin/plugin.exp | 7 +
ld/testsuite/ld-plugin/pr12760b.c | 15 +-
ld/testsuite/ld-plugin/pr16746a.c | 8 +-
ld/testsuite/ld-plugin/pr16746b.c | 6 +
ld/testsuite/ld-powerpc/dotsym1.d | 15 +
ld/testsuite/ld-powerpc/dotsym2.d | 16 +
ld/testsuite/ld-powerpc/dotsym3.d | 16 +
ld/testsuite/ld-powerpc/dotsym4.d | 17 +
ld/testsuite/ld-powerpc/dotsymref.s | 4 +
ld/testsuite/ld-powerpc/nodotsym.s | 11 +
ld/testsuite/ld-powerpc/powerpc.exp | 8 +
ld/testsuite/ld-powerpc/tocopt7.d | 54 +
ld/testsuite/ld-powerpc/tocopt7.out | 26 +
ld/testsuite/ld-powerpc/tocopt7.s | 216 +
ld/testsuite/ld-powerpc/tocopt8.d | 46 +
ld/testsuite/ld-powerpc/tocopt8.s | 188 +
ld/testsuite/ld-powerpc/vle-multiseg-5.d | 6 +-
ld/testsuite/ld-scripts/phdrs.exp | 8 -
ld/testsuite/ld-scripts/phdrs3a.d | 2 +-
ld/testsuite/ld-scripts/pr14962-2.d | 2 +-
ld/testsuite/ld-scripts/pr14962.d | 2 +-
ld/testsuite/ld-sparc/sparc.exp | 3 +
ld/testsuite/ld-sparc/wdispcall.dd | 18 +
ld/testsuite/ld-sparc/wdispcall.s | 14 +
libiberty/ChangeLog | 22 +
libiberty/argv.c | 19 +
libiberty/configure | 3 +-
libiberty/cp-demangle.c | 61 +-
libiberty/testsuite/demangle-expected | 29 +
opcodes/ChangeLog | 180 +
opcodes/aarch64-asm-2.c | 4 +-
opcodes/aarch64-asm.c | 16 +-
opcodes/aarch64-dis-2.c | 4 +-
opcodes/aarch64-opc-2.c | 4 +-
opcodes/aarch64-opc.c | 17 +-
opcodes/aarch64-tbl.h | 12 +-
opcodes/arc-dis.c | 99 +-
opcodes/arc-opc.c | 83 +-
opcodes/arc-tbl.h | 4472 ++++++++++----------
opcodes/arm-dis.c | 36 +-
opcodes/i386-dis.c | 15 +-
opcodes/mips-dis.c | 143 +-
opcodes/mips16-opc.c | 18 +-
opcodes/ppc-dis.c | 2 +-
opcodes/rl78-dis.c | 32 +-
opcodes/rx-dis.c | 32 +-
sim/ChangeLog | 5 +
sim/MAINTAINERS | 1 +
sim/aarch64/ChangeLog | 16 +
sim/aarch64/simulator.c | 69 +-
sim/testsuite/sim/aarch64/ChangeLog | 9 +
sim/testsuite/sim/aarch64/adds.s | 81 +
sim/testsuite/sim/aarch64/fstur.s | 136 +
sim/testsuite/sim/aarch64/tbnz.s | 55 +
sim/testsuite/sim/aarch64/testutils.inc | 16 +-
zlib/configure | 1 -
1021 files changed, 13526 insertions(+), 7076 deletions(-)
create mode 100644 binutils/testsuite/binutils-all/mips/mips-ase-1.d
create mode 100644 binutils/testsuite/binutils-all/mips/mips-ase-1.s
create mode 100644 binutils/testsuite/binutils-all/mips/mips-ase-2.d
create mode 100644 binutils/testsuite/binutils-all/mips/mips-ase-2.s
create mode 100644 binutils/testsuite/binutils-all/mips/mips-ase-3.d
create mode 100644 binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d
create mode 100644 binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.s
create mode 100644 binutils/testsuite/binutils-all/mips/mips16-pcrel.d
create mode 100644 binutils/testsuite/binutils-all/mips/mips16-pcrel.s
create mode 100644 gas/testsuite/gas/arc/cpu-em-err.s
create mode 100644 gas/testsuite/gas/arc/cpu-em4-err.s
create mode 100644 gas/testsuite/gas/arc/cpu-fpuda-err.s
create mode 100644 gas/testsuite/gas/arc/cpu-hs-err.s
create mode 100644 gas/testsuite/gas/arc/cpu-quarkse-err.s
create mode 100644 gas/testsuite/gas/arc/lpcount-err.s
create mode 100644 gas/testsuite/gas/arc/textauxregister-1.d
create mode 100644 gas/testsuite/gas/arc/textauxregister-1.s
create mode 100644 gas/testsuite/gas/arc/textcondcode-err.s
create mode 100644 gas/testsuite/gas/arc/textcoreregister-err.s
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-fp-bad.d
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-fp-bad.l
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-fp-bad.s
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-fp.d
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-fp.s
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-simd-bad.d
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-simd-bad.l
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-simd-bad.s
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-simd.d
create mode 100644 gas/testsuite/gas/arm/armv8_3-a-simd.s
create mode 100644 gas/testsuite/gas/i386/xop32reg.d
create mode 100644 gas/testsuite/gas/i386/xop32reg.s
create mode 100644 gas/testsuite/gas/mips/mips16-branch-unextended-1.d
create mode 100644 gas/testsuite/gas/mips/mips16-branch-unextended-1.s
create mode 100644 gas/testsuite/gas/mips/mips16-branch-unextended-2.d
create mode 100644 gas/testsuite/gas/mips/mips16-branch-unextended-2.s
create mode 100644 gas/testsuite/gas/mips/mips16-branch-unextended.l
create mode 100644 gas/testsuite/gas/mips/mips16-extend.d
create mode 100644 gas/testsuite/gas/mips/mips16-extend.s
create mode 100644 gas/testsuite/gas/mips/mips16-sprel-swap.d
create mode 100644 gas/testsuite/gas/mips/mips16-sprel-swap.s
create mode 100644 gdb/disable-implicit-rules.mk
create mode 100644 gdb/testsuite/gdb.base/all-architectures-0.exp
create mode 100644 gdb/testsuite/gdb.base/all-architectures-1.exp
create mode 100644 gdb/testsuite/gdb.base/all-architectures-2.exp
create mode 100644 gdb/testsuite/gdb.base/all-architectures-3.exp
create mode 100644 gdb/testsuite/gdb.base/all-architectures-4.exp
create mode 100644 gdb/testsuite/gdb.base/all-architectures-5.exp
create mode 100644 gdb/testsuite/gdb.base/all-architectures-6.exp
create mode 100644 gdb/testsuite/gdb.base/all-architectures-7.exp
create mode 100644 gdb/testsuite/gdb.base/all-architectures.exp.in
create mode 100644 gdb/testsuite/gdb.dwarf2/main-subprogram.c
create mode 100644 gdb/testsuite/gdb.dwarf2/main-subprogram.exp
delete mode 100644 gdb/vax-obsd-tdep.c
create mode 100644 gold/testsuite/file_in_many_sections.c
create mode 100755 gold/testsuite/file_in_many_sections_test.sh
create mode 100644 gold/testsuite/pr20717.c
create mode 100755 gold/testsuite/pr20717.sh
create mode 100644 gold/testsuite/pr20717.t
create mode 100644 gold/testsuite/script_test_13.c
create mode 100755 gold/testsuite/script_test_13.sh
create mode 100644 gold/testsuite/script_test_13.t
create mode 100644 gold/testsuite/script_test_15.c
create mode 100755 gold/testsuite/script_test_15a.sh
create mode 100644 gold/testsuite/script_test_15a.t
create mode 100755 gold/testsuite/script_test_15b.sh
create mode 100644 gold/testsuite/script_test_15b.t
create mode 100755 gold/testsuite/script_test_15c.sh
create mode 100644 gold/testsuite/script_test_15c.t
create mode 100644 ld/emulparams/armelf_fuchsia.sh
create mode 100644 ld/emulparams/armelfb_fuchsia.sh
create mode 100644 ld/testsuite/ld-aarch64/relocs-ilp32.ld
create mode 100644 ld/testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d
create mode 100644 ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d
create mode 100644 ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d
create mode 100644 ld/testsuite/ld-elf/pr18720.rd
create mode 100644 ld/testsuite/ld-powerpc/dotsym1.d
create mode 100644 ld/testsuite/ld-powerpc/dotsym2.d
create mode 100644 ld/testsuite/ld-powerpc/dotsym3.d
create mode 100644 ld/testsuite/ld-powerpc/dotsym4.d
create mode 100644 ld/testsuite/ld-powerpc/dotsymref.s
create mode 100644 ld/testsuite/ld-powerpc/nodotsym.s
create mode 100644 ld/testsuite/ld-powerpc/tocopt7.d
create mode 100644 ld/testsuite/ld-powerpc/tocopt7.out
create mode 100644 ld/testsuite/ld-powerpc/tocopt7.s
create mode 100644 ld/testsuite/ld-powerpc/tocopt8.d
create mode 100644 ld/testsuite/ld-powerpc/tocopt8.s
create mode 100644 ld/testsuite/ld-sparc/wdispcall.dd
create mode 100644 ld/testsuite/ld-sparc/wdispcall.s
create mode 100644 sim/testsuite/sim/aarch64/adds.s
create mode 100644 sim/testsuite/sim/aarch64/fstur.s
create mode 100644 sim/testsuite/sim/aarch64/tbnz.s
First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 84ad164..1852129 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-12-08 Alan Modra <amodra@gmail.com>
+
+ * configure: Regenerate.
+
+2016-12-02 Josh Conner <joshconner@google.com>
+
+ * configure.ac: Add fuchsia to targets that use ELF.
+ * configure: Regenerated.
+
2016-11-07 Doug Evans <dje@google.com>
* config.sub: Sync with upstream version 2016-11-03.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0d79764..8c09c2c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,216 @@
+2016-12-16 fincs <fincs.alt1@gmail.com>
+
+ * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Add handling
+ for info->gc_keep_exported.
+ (bfd_elf_gc_sections): Likewise.
+
+2016-12-15 Alan Modra <amodra@gmail.com>
+
+ PR ld/20968
+ PR ld/20908
+ * elflink.c (bfd_elf_final_link): Revert 2016-12-02 change. Move
+ reloc counting code later after ELF flavour test.
+
+2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
+
+ * bfd-in.h (elf_internal_abiflags_v0): New struct declaration.
+ (bfd_mips_elf_get_abiflags): New prototype.
+ * elfxx-mips.c (bfd_mips_elf_get_abiflags): New function.
+ * bfd-in2.h: Regenerate.
+
+2016-12-14 Yury Norov <ynorov@caviumnetworks.com>
+
+ * bfd/elfnn-aarch64.c: fix TLS relaxations for ilp32 where
+ TCB_SIZE is used.
+
+2016-12-13 Alan Modra <amodra@gmail.com>
+
+ * elf64-hppa.c (elf64_hppa_modify_segment_map): Don't add PHDR
+ for objcopy/strip or when a ld script specifies PHDRS.
+
+2016-12-13 Alan Modra <amodra@gmail.com>
+
+ * elf32-rx.c (elf32_rx_modify_program_headers): Don't adjust
+ segments that include the ELF file header or program headers.
+
+2016-12-08 Alan Modra <amodra@gmail.com>
+
+ PR ld/20932
+ * elflink.c (bfd_elf_record_link_assignment): Handle warning symbols.
+
+2016-12-07 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20932
+ * elflink.c (bfd_elf_record_link_assignment): Replace call to
+ abort with an error message and error return value.
+
+2016-12-06 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/20931
+ * elf.c (copy_special_section_fields): Check for an invalid
+ sh_link field before attempting to follow it.
+
+ PR binutils/20929
+ * aoutx.h (squirt_out_relocs): Check for relocs without an
+ associated symbol.
+
+2016-12-06 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (ok_lo_toc_insn): Add r_type param. Recognize
+ lq,lfq,lxv,lxsd,lxssp,lfdp,stq,stfq,stxv,stxsd,stxssp,stfdp.
+ Don't match lmd and stmd.
+
+2016-12-05 Alyssa Milburn <amilburn@zall.org>
+
+ * elfxx-sparc.c: Do not stop processing relocations after
+ partially relaxing a call with WDISP30.
+
+2016-12-05 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/20905
+ * peicode.h (pe_ILF_object_p): Use strnlen to avoid running over
+ the end of the string buffer.
+
+ PR binutils/20907
+ * peicode.h (pe_ILF_build_a_bfd): Replace abort with error return.
+
+ PR binutils/20921
+ * aoutx.h (squirt_out_relocs): Check for and report any relocs
+ that could not be recognised.
+
+ PR binutils/20922
+ * elf.c (find_link): Check for null headers before attempting to
+ match them.
+
+ PR ld/20925
+ * aoutx.h (aout_link_add_symbols): Replace BFD_ASSERT with return
+ FALSE.
+
+ PR ld/20924
+ (aout_link_add_symbols): Fix off by one error checking for
+ overflow of string offset.
+
+2016-12-03 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (struct ppc_link_hash_entry): Delete "was_undefined".
+ (struct ppc_link_hash_table): Delete "twiddled_syms". Add
+ "need_func_desc_adj".
+ (lookup_fdh): Link direct fdh sym via oh field and set flags.
+ (make_fdh): Make strong and weak undefined function descriptor
+ symbols.
+ (ppc64_elf_merge_symbol): New function.
+ (elf_backend_merge_symbol): Define.
+ (ppc64_elf_archive_symbol_lookup): Don't test undefweak for fake
+ function descriptors.
+ (add_symbol_adjust): Don't twiddle symbols to undefweak.
+ Propagate more ref flags to function descriptor symbol. Make
+ some function descriptor symbols dynamic.
+ (ppc64_elf_before_check_relocs): Only run add_symbol_adjust for
+ ELFv1. Set need_func_desc_adj. Don't fix undefs list.
+ (ppc64_elf_check_relocs): Set non_ir_ref for descriptors.
+ Don't call lookup_fdh here.
+ (ppc64_elf_gc_sections): New function.
+ (bfd_elf64_bfd_gc_sections): Define.
+ (ppc64_elf_gc_mark_hook): Mark descriptor.
+ (func_desc_adjust): Don't make fake function descriptor syms strong
+ here. Exit earlier on non-dotsyms. Take note of elf.dynamic
+ flag when deciding whether a dynamic function descriptor might
+ be needed. Transfer elf.dynamic and set elf.needs_plt. Move
+ plt regardless of visibility. Make descriptor dynamic if
+ entry sym is dynamic, not for other cases.
+ (ppc64_elf_func_desc_adjust): Don't run func_desc_adjust if
+ already done.
+ (ppc64_elf_edit_opd): Use oh field rather than lookup_fdh.
+ (ppc64_elf_size_stubs): Likewise.
+ (ppc_build_one_stub): Don't clear was_undefined. Only set sym
+ undefweak if stub symbol is defined.
+ (undo_symbol_twiddle, ppc64_elf_restore_symbols): Delete.
+ * elf64-ppc.h (ppc64_elf_restore_symbols): Don't declare.
+
+2016-12-03 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (ppc64_elf_hide_symbol): Access hash table as
+ elf_link_hash_table rather than ppc_link_hash_table.
+
+2016-12-03 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (add_symbol_adjust): Delete dead code.
+
+2016-12-03 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (add_symbol_adjust): Correct order of tests for
+ warning and indirect symbols.
+
+2016-12-03 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy dynamic
+ flags when direct symbol is versioned_hidden.
+
+2016-12-02 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20908
+ * elflink.c (bfd_elf_final_link): Check for ELF flavour binaries
+ when following indirect links.
+
+ PR ld/20909
+ * aoutx.h (aout_link_add_symbols): Fix off-by-one error in check
+ for an illegal string offset.
+
+2016-12-02 Gary Benson <gbenson@redhat.com>
+
+ * elf.c (_bfd_elf_make_section_from_shdr): Pass offset to
+ elf_parse_notes.
+
+2016-12-02 Josh Conner <joshconner@google.com>
+
+ * config.bfd: Add support for fuchsia (OS).
+
+2016-12-01 Yury Norov <ynorov@caviumnetworks.com>
+
+ PR ld/20868
+ * elfnn-aarch64.c (elfNN_aarch64_tls_relax): Use 32-bit accesses
+ to the GOT when operating in 32-bit mode.
+
+2016-12-01 Ma Jiang <ma.jiang@zte.com.cn>
+
+ PR ld/16720
+ * elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
+ test for HI16 relocs.
+
+2016-12-01 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/20891
+ * aoutx.h (find_nearest_line): Handle the case where the main file
+ name and the directory name are both empty.
+
+ PR binutils/20892
+ * aoutx.h (find_nearest_line): Handle the case where the function
+ name is empty.
+
+2016-11-30 Alan Modra <amodra@gmail.com>
+
+ * elf.c (get_program_header_size): Revert accidental change.
+
+2016-11-30 Alan Modra <amodra@gmail.com>
+
+ PR ld/20886
+ * elf64-ppc.c (ppc64_elf_size_stubs): Make rawsize max size seen
+ on any pass past STUB_SHRINK_ITER.
+
+2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elflink.c (_bfd_elf_fix_symbol_flags): Hide hidden versioned
+ symbol in executable.
+ (elf_link_output_extsym): Don't change bind from global to
+ local when linking executable.
+
+2016-11-28 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20815
+ * elf.c (phdr_sorter): Delete.
+ (assign_file_positions_except_relocs): Do not sort program
+ headers.
+
2016-11-25 Jon Turney <jon.turney@dronecode.org.uk>
PR ld/20193
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 089fe57..c64f288 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -1955,6 +1955,7 @@ NAME (aout, swap_std_reloc_out) (bfd *abfd,
PUT_WORD (abfd, g->address, natptr->r_address);
+ BFD_ASSERT (g->howto != NULL);
r_length = g->howto->size ; /* Size as a power of two. */
r_pcrel = (int) g->howto->pc_relative; /* Relative to PC? */
/* XXX This relies on relocs coming from a.out files. */
@@ -2393,16 +2394,39 @@ NAME (aout, squirt_out_relocs) (bfd *abfd, asection *section)
for (natptr = native;
count != 0;
--count, natptr += each_size, ++generic)
- MY_swap_ext_reloc_out (abfd, *generic,
- (struct reloc_ext_external *) natptr);
+ {
+ /* PR 20921: If the howto field has not been initialised then skip
+ this reloc.
+ PR 20929: Similarly for the symbol field. */
+ if ((*generic)->howto == NULL
+ || (*generic)->sym_ptr_ptr == NULL)
+ {
+ bfd_set_error (bfd_error_invalid_operation);
+ _bfd_error_handler (_("\
+%B: attempt to write out unknown reloc type"), abfd);
+ return FALSE;
+ }
+ MY_swap_ext_reloc_out (abfd, *generic,
+ (struct reloc_ext_external *) natptr);
+ }
}
else
{
for (natptr = native;
count != 0;
--count, natptr += each_size, ++generic)
- MY_swap_std_reloc_out (abfd, *generic,
- (struct reloc_std_external *) natptr);
+ {
+ if ((*generic)->howto == NULL
+ || (*generic)->sym_ptr_ptr == NULL)
+ {
+ bfd_set_error (bfd_error_invalid_operation);
+ _bfd_error_handler (_("\
+%B: attempt to write out unknown reloc type"), abfd);
+ return FALSE;
+ }
+ MY_swap_std_reloc_out (abfd, *generic,
+ (struct reloc_std_external *) natptr);
+ }
}
if (bfd_bwrite ((void *) native, natsize, abfd) != natsize)
@@ -2666,7 +2690,7 @@ NAME (aout, find_nearest_line) (bfd *abfd,
char *buf;
*filename_ptr = abfd->filename;
- *functionname_ptr = 0;
+ *functionname_ptr = NULL;
*line_ptr = 0;
if (disriminator_ptr)
*disriminator_ptr = 0;
@@ -2811,9 +2835,17 @@ NAME (aout, find_nearest_line) (bfd *abfd,
*filename_ptr = main_file_name;
else
{
- sprintf (buf, "%s%s", directory_name, main_file_name);
- *filename_ptr = buf;
- buf += filelen + 1;
+ if (buf == NULL)
+ /* PR binutils/20891: In a corrupt input file both
+ main_file_name and directory_name can be empty... */
+ * filename_ptr = NULL;
+ else
+ {
+ snprintf (buf, filelen + 1, "%s%s", directory_name,
+ main_file_name);
+ *filename_ptr = buf;
+ buf += filelen + 1;
+ }
}
}
@@ -2822,6 +2854,12 @@ NAME (aout, find_nearest_line) (bfd *abfd,
const char *function = func->name;
char *colon;
+ if (buf == NULL)
+ {
+ /* PR binutils/20892: In a corrupt input file func can be empty. */
+ * functionname_ptr = NULL;
+ return TRUE;
+ }
/* The caller expects a symbol name. We actually have a
function name, without the leading underscore. Put the
underscore back in, so that the caller gets a symbol name. */
@@ -3017,10 +3055,9 @@ aout_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
continue;
/* PR 19629: Corrupt binaries can contain illegal string offsets. */
- if (GET_WORD (abfd, p->e_strx) > obj_aout_external_string_size (abfd))
+ if (GET_WORD (abfd, p->e_strx) >= obj_aout_external_string_size (abfd))
return FALSE;
name = strings + GET_WORD (abfd, p->e_strx);
-
value = GET_WORD (abfd, p->e_value);
flags = BSF_GLOBAL;
string = NULL;
@@ -3076,10 +3113,12 @@ aout_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
case N_INDR | N_EXT:
/* An indirect symbol. The next symbol is the symbol
which this one really is. */
- BFD_ASSERT (p + 1 < pend);
+ /* See PR 20925 for a reproducer. */
+ if (p + 1 >= pend)
+ return FALSE;
++p;
/* PR 19629: Corrupt binaries can contain illegal string offsets. */
- if (GET_WORD (abfd, p->e_strx) > obj_aout_external_string_size (abfd))
+ if (GET_WORD (abfd, p->e_strx) >= obj_aout_external_string_size (abfd))
return FALSE;
string = strings + GET_WORD (abfd, p->e_strx);
section = bfd_ind_section_ptr;
@@ -3115,7 +3154,7 @@ aout_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
++p;
string = name;
/* PR 19629: Corrupt binaries can contain illegal string offsets. */
- if (GET_WORD (abfd, p->e_strx) > obj_aout_external_string_size (abfd))
+ if (GET_WORD (abfd, p->e_strx) >= obj_aout_external_string_size (abfd))
return FALSE;
name = strings + GET_WORD (abfd, p->e_strx);
section = bfd_und_section_ptr;
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 4b3bcfd..14f55ab 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -1045,3 +1045,7 @@ extern bfd_boolean v850_elf_create_sections
extern bfd_boolean v850_elf_set_note
(bfd *, unsigned int, unsigned int);
+
+/* MIPS ABI flags data access. For the disassembler. */
+struct elf_internal_abiflags_v0;
+extern struct elf_internal_abiflags_v0 *bfd_mips_elf_get_abiflags (bfd *);
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index fdb7878..1c6b70f 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1052,6 +1052,10 @@ extern bfd_boolean v850_elf_create_sections
extern bfd_boolean v850_elf_set_note
(bfd *, unsigned int, unsigned int);
+
+/* MIPS ABI flags data access. For the disassembler. */
+struct elf_internal_abiflags_v0;
+extern struct elf_internal_abiflags_v0 *bfd_mips_elf_get_abiflags (bfd *);
/* Extracted from init.c. */
void bfd_init (void);
diff --git a/bfd/config.bfd b/bfd/config.bfd
index b692f0a..5bca5d9 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -260,6 +260,11 @@ case "${targ}" in
targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec"
want64=true
;;
+ aarch64-*-fuchsia*)
+ targ_defvec=aarch64_elf64_le_vec
+ targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec"
+ want64=true
+ ;;
aarch64-*-cloudabi*)
targ_defvec=aarch64_elf64_le_cloudabi_vec
targ_selvecs=aarch64_elf64_be_cloudabi_vec
@@ -359,6 +364,10 @@ case "${targ}" in
targ_selvecs="mach_o_le_vec mach_o_be_vec mach_o_fat_vec"
targ_archs="$targ_archs bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch"
;;
+ arm-*-fuchsia*)
+ targ_defvec=arm_elf32_le_vec
+ targ_selvecs="arm_elf32_be_vec"
+ ;;
arm-*-nacl*)
targ_defvec=arm_elf32_nacl_le_vec
targ_selvecs="arm_elf32_nacl_be_vec i386_elf32_nacl_vec"
@@ -766,7 +775,7 @@ case "${targ}" in
targ_selvecs="i386_elf32_vec iamcu_elf32_vec l1om_elf64_vec k1om_elf64_vec"
want64=true
;;
- x86_64-*-elf* | x86_64-*-rtems*)
+ x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia)
targ_defvec=x86_64_elf64_vec
targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec l1om_elf64_vec k1om_elf64_vec"
want64=true
diff --git a/bfd/elf.c b/bfd/elf.c
index 936255e..678c043 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1062,7 +1062,7 @@ _bfd_elf_make_section_from_shdr (bfd *abfd,
if (!bfd_malloc_and_get_section (abfd, newsect, &contents))
return FALSE;
- elf_parse_notes (abfd, (char *) contents, hdr->sh_size, -1);
+ elf_parse_notes (abfd, (char *) contents, hdr->sh_size, hdr->sh_offset);
free (contents);
}
@@ -1271,13 +1271,19 @@ find_link (const bfd * obfd, const Elf_Internal_Shdr * iheader, const unsigned i
Elf_Internal_Shdr ** oheaders = elf_elfsections (obfd);
unsigned int i;
- if (section_match (oheaders[hint], iheader))
+ BFD_ASSERT (iheader != NULL);
+
+ /* See PR 20922 for a reproducer of the NULL test. */
+ if (oheaders[hint] != NULL
+ && section_match (oheaders[hint], iheader))
return hint;
for (i = 1; i < elf_numsections (obfd); i++)
{
Elf_Internal_Shdr * oheader = oheaders[i];
+ if (oheader == NULL)
+ continue;
if (section_match (oheader, iheader))
/* FIXME: Do we care if there is a potential for
multiple matches ? */
@@ -1340,6 +1346,16 @@ copy_special_section_fields (const bfd *ibfd,
in the input bfd. */
if (iheader->sh_link != SHN_UNDEF)
{
+ /* See PR 20931 for a reproducer. */
+ if (iheader->sh_link >= elf_numsections (ibfd))
+ {
+ (* _bfd_error_handler)
+ /* xgettext:c-format */
+ (_("%B: Invalid sh_link field (%d) in section number %d"),
+ ibfd, iheader->sh_link, secnum);
+ return FALSE;
+ }
+
sh_link = find_link (obfd, iheaders[iheader->sh_link], iheader->sh_link);
if (sh_link != SHN_UNDEF)
{
@@ -4254,7 +4270,7 @@ get_program_header_size (bfd *abfd, struct bfd_link_info *info)
PT_INTERP segment. In this case, assume we also need a
PT_PHDR segment, although that may not be true for all
targets. */
- segs += 3;
+ segs += 2;
}
if (bfd_get_section_by_name (abfd, ".dynamic") != NULL)
@@ -5854,52 +5870,6 @@ find_section_in_list (unsigned int i, elf_section_list * list)
return list;
}
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-28 20:19 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-28 20:19 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 72b1c453cd44cb3c0d4e42a3d319f6b464c919cf (commit)
via 9e27646a6dedd071bdc8a7ba75eca1faaf500366 (commit)
via ae9a1986c8b1e38342a6fe674f7ad1758d8b06f5 (commit)
via cb55e96bf79ead88469bb859f9c858f62df2e562 (commit)
via a582903f51b536bf0de128ef288bafd39caade0a (commit)
via b81c93c854e4674c8ff85ac745613cf7b616dad1 (commit)
via 8f02b5ad62823c1c02bf9b60d71d027805b4e17a (commit)
via 839b0b3f8dff2d7a43f110b8f07b05c8a1004111 (commit)
via 6223ef94973400bbe2d98885b2a4e36cdb47c800 (commit)
via d14a6a9e17f28437a231e17734bfdaf557de0a13 (commit)
via c29ae970e781780026c45ec7ffeed68ac87524d6 (commit)
via 15a086bed79aff51c9ace7d3b5f389e8cd38399b (commit)
via a40d0312ad50263a4437c01311a3bf1f268576a6 (commit)
via 370dfff4c4b46fc194cf1ab2b0762c2a9deae7ba (commit)
via 576a6e4d1d1ac2c5b7e44830d3328ae8723fcb06 (commit)
via 5c3024d2c1d4c4f141d8364d487604f70678792a (commit)
via 2b0f37619f797bf640b2d45acb615817dd202954 (commit)
via 222c2bf0a293fab3d08c22359d64433faea7bb89 (commit)
via 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e (commit)
via d2c0eef48a1bb331ca08f8f26ff82c5d4086ba0c (commit)
via 82bbe65a43015a753bec8c64869679a699331a5b (commit)
via e4975d6a9cd8aaf3fb14135b36850964def131d7 (commit)
via 0abe66b59fda0689c32fe9d96b3690b4d49a3027 (commit)
via 7f904c28f5cd2dc91a118ae6169d6993aaf71f63 (commit)
via 058467371921957ac532ffe0905ffa477f47018e (commit)
via 59b21252a88aa6ba488cfb19686d9cbad2577e76 (commit)
via cf6451802f5d3f161d992ea39fac139273926773 (commit)
via 8227ffad95fcd835dd5fcb3e4915159e4552b397 (commit)
via 50cc587fe49621a87283f06655fe922d45095076 (commit)
via 8ce9efb079b6e7b3ab2e795db9477656375d7204 (commit)
via 17e5269b995b0560dc74af78ba134cf1fcd9d56a (commit)
via 65d1cff97c066e4399a175ef7294a5343c0b94d1 (commit)
via ec8f76882145c71bef81a9cadf0bf51ff9fa5b35 (commit)
via 0e722c919075fbf8a2d8a05b91443432daedf332 (commit)
via 036e657b48144d7449ddfcfcf9214bcd7bcf268b (commit)
via bbe910e6e1140cb484a74911f3cea854cf9e7e2a (commit)
via 793c128d03113816db85e8d1fa0bcd4982e246ee (commit)
via ad06383f106ccfa299a6c7ac9720178d2d3d583f (commit)
via 22347e554cd7ba2a0bf36dc81ebfcbe2e2fd74af (commit)
via da5b30da2d1167591aa8d71b543f97bfdc2ec2a2 (commit)
via 1dcb9720d62cd053a72c31881b7724ce9f74332c (commit)
via 51750acd087cc20ae3f72393fa897d9e3059c65d (commit)
via 0b14696aedc2b56291bc98d62fe232c8dceb1385 (commit)
via 8bc2611fd97a94e3927ba22fab79624dd6647368 (commit)
from c7a53c67f07d742348e5d79e0f44c6a1c35b0b1f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 72b1c453cd44cb3c0d4e42a3d319f6b464c919cf
Merge: c7a53c6 9e27646
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Mon Nov 28 17:04:59 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit 9e27646a6dedd071bdc8a7ba75eca1faaf500366
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Nov 28 00:00:22 2016 +0000
Automatic date update in version.in
commit ae9a1986c8b1e38342a6fe674f7ad1758d8b06f5
Author: Alan Modra <amodra@gmail.com>
Date: Sun Nov 27 20:07:08 2016 +1030
Fix powerpc vle test for sorting of program headers
1a9ccd70f changed the order of headers.
PR 20815
* testsuite/ld-powerpc/vle-multiseg-5.d: Update.
commit cb55e96bf79ead88469bb859f9c858f62df2e562
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:54 2016 +0100
Fix spelling in comments in .y files (ld)
* deffilep.y: Fix spelling in comments.
commit a582903f51b536bf0de128ef288bafd39caade0a
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:53 2016 +0100
Fix spelling in comments in .y files (binutils)
* arparse.y: Fix spelling in comments.
commit b81c93c854e4674c8ff85ac745613cf7b616dad1
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:52 2016 +0100
Fix spelling in comments in .sc files (ld)
* scripttempl/ia64vms.sc: Fix spelling in comments.
* scripttempl/ip2k.sc: Fix spelling in comments.
* scripttempl/v850.sc: Fix spelling in comments.
* scripttempl/v850_rh850.sc: Fix spelling in comments.
commit 8f02b5ad62823c1c02bf9b60d71d027805b4e17a
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:51 2016 +0100
Fix spelling in comments in .l files (gas)
* config/bfin-lex.l: Fix spelling in comments.
commit 839b0b3f8dff2d7a43f110b8f07b05c8a1004111
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:50 2016 +0100
Fix spelling in comments in .em files (ld)
* emultempl/avrelf.em: Fix spelling in comments.
* emultempl/elf32.em: Fix spelling in comments.
* emultempl/pe.em: Fix spelling in comments.
* emultempl/pep.em: Fix spelling in comments.
* emultempl/spuelf.em: Fix spelling in comments.
commit 6223ef94973400bbe2d98885b2a4e36cdb47c800
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:49 2016 +0100
Fix spelling in comments in .def files (gold)
* aarch64-reloc.def: Fix spelling in comments.
commit d14a6a9e17f28437a231e17734bfdaf557de0a13
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:48 2016 +0100
Fix spelling in comments in Expect scripts (ld)
* testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
* testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
* testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
* testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
commit c29ae970e781780026c45ec7ffeed68ac87524d6
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:47 2016 +0100
Fix spelling in comments in Expect scripts (gas)
* testsuite/gas/all/gas.exp: Fix spelling in comments.
* testsuite/gas/cris/cris.exp: Fix spelling in comments.
* testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
* testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
* testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
* testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
* testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
commit 15a086bed79aff51c9ace7d3b5f389e8cd38399b
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:46 2016 +0100
Fix spelling in comments in Assembler files (ld)
* testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
* testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
* testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
* testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
* testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
* testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
commit a40d0312ad50263a4437c01311a3bf1f268576a6
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:45 2016 +0100
Fix spelling in comments in Assembler files (gas)
* testsuite/gas/arm/local_function.d: Fix spelling in comments.
* testsuite/gas/arm/req.s: Fix spelling in comments.
* testsuite/gas/arm/vfp1.s: Fix spelling in comments.
* testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
* testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
* testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
* testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
* testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
* testsuite/gas/mips/delay.d: Fix spelling in comments.
* testsuite/gas/mips/nodelay.d: Fix spelling in comments.
* testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
* testsuite/gas/mips/r5900.s: Fix spelling in comments.
commit 370dfff4c4b46fc194cf1ab2b0762c2a9deae7ba
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:44 2016 +0100
Fix spelling in comments in C source files (ld)
* deffile.h: Fix spelling in comments.
* ld.h: Fix spelling in comments.
* ldlang.c: Fix spelling in comments.
* ldmisc.c: Fix spelling in comments.
* pe-dll.c: Fix spelling in comments.
commit 576a6e4d1d1ac2c5b7e44830d3328ae8723fcb06
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:43 2016 +0100
Fix spelling in comments in C source files (gprof)
* basic_blocks.c: Fix spelling in comments.
* cg_arcs.c: Fix spelling in comments.
* cg_print.c: Fix spelling in comments.
* corefile.c: Fix spelling in comments.
commit 5c3024d2c1d4c4f141d8364d487604f70678792a
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:42 2016 +0100
Fix spelling in comments in C source files (gold)
* aarch64.cc: Fix spelling in comments.
* arm.cc: Fix spelling in comments.
* icf.cc: Fix spelling in comments.
* layout.cc: Fix spelling in comments.
* layout.h: Fix spelling in comments.
* mips.cc: Fix spelling in comments.
* output.h: Fix spelling in comments.
* plugin.h: Fix spelling in comments.
* script-sections.h: Fix spelling in comments.
* script.h: Fix spelling in comments.
* stringpool.h: Fix spelling in comments.
* tilegx.cc: Fix spelling in comments.
commit 2b0f37619f797bf640b2d45acb615817dd202954
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:41 2016 +0100
Fix spelling in comments in C source files (gas)
* as.h: Fix spelling in comments.
* config/obj-ecoff.c: Fix spelling in comments.
* config/obj-macho.c: Fix spelling in comments.
* config/tc-aarch64.c: Fix spelling in comments.
* config/tc-arc.c: Fix spelling in comments.
* config/tc-arm.c: Fix spelling in comments.
* config/tc-avr.c: Fix spelling in comments.
* config/tc-cr16.c: Fix spelling in comments.
* config/tc-epiphany.c: Fix spelling in comments.
* config/tc-frv.c: Fix spelling in comments.
* config/tc-hppa.c: Fix spelling in comments.
* config/tc-hppa.h: Fix spelling in comments.
* config/tc-i370.c: Fix spelling in comments.
* config/tc-m68hc11.c: Fix spelling in comments.
* config/tc-m68k.c: Fix spelling in comments.
* config/tc-mcore.c: Fix spelling in comments.
* config/tc-mep.c: Fix spelling in comments.
* config/tc-metag.c: Fix spelling in comments.
* config/tc-mips.c: Fix spelling in comments.
* config/tc-mn10200.c: Fix spelling in comments.
* config/tc-mn10300.c: Fix spelling in comments.
* config/tc-nds32.c: Fix spelling in comments.
* config/tc-nios2.c: Fix spelling in comments.
* config/tc-ns32k.c: Fix spelling in comments.
* config/tc-pdp11.c: Fix spelling in comments.
* config/tc-ppc.c: Fix spelling in comments.
* config/tc-riscv.c: Fix spelling in comments.
* config/tc-rx.c: Fix spelling in comments.
* config/tc-score.c: Fix spelling in comments.
* config/tc-score7.c: Fix spelling in comments.
* config/tc-sparc.c: Fix spelling in comments.
* config/tc-tic54x.c: Fix spelling in comments.
* config/tc-vax.c: Fix spelling in comments.
* config/tc-xgate.h: Fix spelling in comments.
* config/tc-xtensa.c: Fix spelling in comments.
* config/tc-z80.c: Fix spelling in comments.
* dwarf2dbg.c: Fix spelling in comments.
* input-file.h: Fix spelling in comments.
* itbl-ops.c: Fix spelling in comments.
* read.c: Fix spelling in comments.
* stabs.c: Fix spelling in comments.
* symbols.c: Fix spelling in comments.
* write.c: Fix spelling in comments.
* testsuite/gas/all/itbl-test.c: Fix spelling in comments.
* testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
commit 222c2bf0a293fab3d08c22359d64433faea7bb89
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Fri Nov 25 21:01:40 2016 +0100
Fix spelling in comments in C source files (binutils)
* dwarf.c: Fix spelling in comments.
* dwarf.h: Fix spelling in comments.
* objcopy.c: Fix spelling in comments.
* od-macho.c: Fix spelling in comments.
* rclex.c: Fix spelling in comments.
* readelf.c: Fix spelling in comments.
* stabs.c: Fix spelling in comments.
commit 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Sat Nov 26 22:06:07 2016 -0500
Remove verbosity from ui_out_message and friends
That concept is never actually used, so it's just a burden. Removing it
facilitates the refactoring in upcoming patches.
gdb/ChangeLog:
* mi/mi-out.c (mi_message): Remove verbosity argument.
* ada-tasks.c (print_ada_task_info, info_task, task_command):
Update call.
* auto-load.c (auto_load_info_scripts): Likewise.
* breakpoint.c (breakpoint_1, watchpoints_info, tracepoints_info):
Likewise.
* cli-out.c (cli_message): Remove verbosity argument.
* inferior.c (print_inferior): Update call.
* linux-thread-db.c (info_auto_load_libthread_db): Likewise.
* probe.c (info_probes_for_ops): Likewise.
* skip.c (skip_info): Likewise.
* solib.c (info_sharedlibrary_command): Likewise.
* symfile.c (load_progress): Likewise.
* thread.c (print_thread_info_1): Likewise.
* ui-out.c (uo_message, ui_out_message): Remove verbosity argument.
(ui_out_get_verblvl): Remove.
* ui-out.h (ui_out_message): Remove verbosity argument.
(ui_out_get_verblvl): Remove.
(message_ftype): Remove verbosity argument.
commit d2c0eef48a1bb331ca08f8f26ff82c5d4086ba0c
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Sat Nov 26 22:05:42 2016 -0500
Constify wrap_here/wrap_hint code path
Constify the data path between ui_out_wrap_hint and the wrap_indent
global, because we can. It's clearer that the argument passed to
wrap_hint is not intended to be modified by the ui_out implementation.
gdb/ChangeLog:
* mi/mi-out.c (mi_wrap_hint): Constify argument.
* cli-out.c (cli_wrap_hint): Likewise.
* ui-out.c (ui_out_wrap_hint, uo_wrap_hint): Likewise.
* ui-out.h (ui_out_wrap_hint, wrap_hint_ftype): Likewise.
* utils.c (wrap_here): Likewise.
(wrap_indent): Constify.
* utils.h (wrap_here): Constify argument.
commit 82bbe65a43015a753bec8c64869679a699331a5b
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Sat Nov 26 22:05:25 2016 -0500
Fix return value of uo_redirect
The wrapper uo_redirect seems like it should return the return value
from of implementation function, since callers rely on it, but it
doesn't.
gdb/ChangeLog:
* ui-out.c (uo_redirect): Return the return value from the
implementation function.
commit e4975d6a9cd8aaf3fb14135b36850964def131d7
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Sat Nov 26 22:05:06 2016 -0500
Remove ui_out_destroy
It's not actually used, and removing it simplifies the upcoming patches
a bit. After the whole series, destroying an ui_out object will be
simply "delete uiout", which will call the default destructor.
gdb/ChangeLog:
* ui-out.c (ui_out_destroy, uo_data_destroy): Remove.
* ui-out.h (ui_out_destroy): Remove.
commit 0abe66b59fda0689c32fe9d96b3690b4d49a3027
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Sat Nov 26 22:04:49 2016 -0500
Rename ui_out_data to mi_ui_out_data
Just a little cleanup, so the name is more consistent with the naming of
the equivalent structures of cli and tui. It goes away in subsequent
patches anyway, but it might help follow the changes in those patches...
gdb/ChangeLog:
* mi/mi-out.c (ui_out_data): Rename to ...
(mi_ui_out_data): ... this.
commit 7f904c28f5cd2dc91a118ae6169d6993aaf71f63
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Sat Nov 26 22:02:56 2016 -0500
Remove unused functions and declarations
gdb/ChangeLog:
* ui-out.c (_initialize_ui_out): Remove.
(ui_out_set_flags): Remove.
(ui_out_clear_flags): Remove.
* ui-out.h (ui_out_begin_cleanup_end): Remove.
(ui_out_begin_cleanup_end): Remove.
(ui_out_set_flags): Remove.
(ui_out_clear_flags): Remove.
* mi/mi-out.c (_initialize_mi_out): Remove.
(mi_out_buffered): Remove.
* mi/mi-out.h (mi_out_buffered): Remove.
commit 058467371921957ac532ffe0905ffa477f47018e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Nov 27 00:00:30 2016 +0000
Automatic date update in version.in
commit 59b21252a88aa6ba488cfb19686d9cbad2577e76
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Nov 24 10:23:07 2016 -0500
Remove stale comments
The default ui_out is gone since commit
23ff98d2fed4a1eaeb815e18cd4169e5aa7aaa60.
gdb/ChangeLog:
* ui-out.h (struct ui_out_impl): Remove comment.
* ui-out.c (struct ui_out): Remove comment.
commit cf6451802f5d3f161d992ea39fac139273926773
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Nov 26 00:00:09 2016 +0000
Automatic date update in version.in
commit 8227ffad95fcd835dd5fcb3e4915159e4552b397
Author: John Baldwin <jhb@FreeBSD.org>
Date: Fri Nov 25 10:29:50 2016 -0800
Remove check requiring void argument to functions with no parameters.
C++ treats an empty parameter list as no parameters unlike C.
gdb/ChangeLog:
* contrib/ari/gdb_ari.sh (no parameter function): Remove check.
commit 50cc587fe49621a87283f06655fe922d45095076
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Fri Nov 25 09:58:02 2016 -0500
Fix typo in Makefile
Fix a typo I made in my previous Makefile cleanup series.
Thanks to Patrick Monnerat for reporting.
gdb/ChangeLog:
* Makefile.in: Fix typo.
commit 8ce9efb079b6e7b3ab2e795db9477656375d7204
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Fri Nov 25 09:41:58 2016 -0500
Fix typos in comment
gdb/ChangeLog:
* record-full.c (record_full_resume): Fix typos in comment.
commit 17e5269b995b0560dc74af78ba134cf1fcd9d56a
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Fri Nov 25 09:07:35 2016 -0500
Fix typo in comment
gdb/ChangeLog:
* infcmd.c (interrupt_command): Fix typo in comment.
commit 65d1cff97c066e4399a175ef7294a5343c0b94d1
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Fri Nov 25 03:40:15 2016 -0800
gas: fix CBCOND diagnostics for invalid immediate operands.
This patch fixes two problems in the SPARC assembler:
- The diagnostic message
Error: Illegal operands: Immediate value in cbcond is out of range.
is incorrectly issued for non-CBCOND instructions that feature a
simm5 immediate field, such as MPMUL, MONTMUL, etc.
- When an invalid immediate operand is used in a CBCOND
instruction, two redundant error messages are issued to the
user, the second due to a stale fixup (this happens since
commit 85024cd8bcb93f4112470ecdbd6c10fc2aea724f).
Some diagnostic tests for the CBCOND instructions are also
included in the patch.
Tested in both sparc64-linux-gnu and sparcv9-linux-gnu targets.
gas/ChangeLog:
2016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
* config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
messages for non-cbcond instructions.
* testsuite/gas/sparc/cbcond-diag.s: New file.
* testsuite/gas/sparc/cbcond-diag.l: Likewise.
* testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
commit ec8f76882145c71bef81a9cadf0bf51ff9fa5b35
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Fri Nov 25 09:47:31 2016 +0000
Prevent problems with section alignment by not shrinking the .rsrc section.
PR ld/20193
* peXXigen.c (rsrc_process_section): Do not shrink the merged
.rsrc section.
commit 0e722c919075fbf8a2d8a05b91443432daedf332
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Fri Nov 25 00:00:09 2016 +0000
Automatic date update in version.in
commit 036e657b48144d7449ddfcfcf9214bcd7bcf268b
Author: John Baldwin <jhb@FreeBSD.org>
Date: Thu Nov 24 12:01:24 2016 -0800
Do not use std::move when assigning an anonymous object to a unique_ptr.
Using std::move forces an extra copy of the object. These changes fix
-Wpessimizing-move warnings from clang.
gdb/ChangeLog:
* ada-lang.c (create_excep_cond_exprs): Do not use 'std::move'.
* ax-gdb.c (agent_eval_command_one): Likewise.
(agent_eval_command_one): Likewise.
* breakpoint.c (parse_cond_to_aexpr): Likewise.
(parse_cmd_to_aexpr): Likewise.
* dtrace-probe.c (dtrace_process_dof_probe): Likewise.
* parse.c (parse_expression_for_completion): Likewise.
commit bbe910e6e1140cb484a74911f3cea854cf9e7e2a
Author: John Baldwin <jhb@FreeBSD.org>
Date: Thu Nov 24 12:01:24 2016 -0800
Add noexcept to custom non-throwing new operators.
Both libc++ and libstdc++ declare non-throwing new operators as
noexcept and overloads must also be noexcept. This fixes a
-Wmissing-exception-spec warning with clang.
gdb/ChangeLog:
* common/new-op.c (operator new): Mark 'noexcept'.
(operator new[]): Likewise.
commit 793c128d03113816db85e8d1fa0bcd4982e246ee
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Thu Nov 24 17:48:04 2016 +0100
Optimize byte-aligned copies in copy_bitwise()
The function copy_bitwise used for copying DWARF pieces can potentially
be invoked for large chunks of data. For instance, consider a large
struct one of whose members is currently located in a register. In this
case copy_bitwise would still copy the data bitwise in a loop, which is
much slower than necessary.
This change uses memcpy for the large part instead, if possible.
gdb/ChangeLog:
* dwarf2loc.c (copy_bitwise): Use memcpy for the middle part, if
it is byte-aligned.
commit ad06383f106ccfa299a6c7ac9720178d2d3d583f
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Thu Nov 24 17:48:04 2016 +0100
Add unit test for copy_bitwise
This adds a unit test for the copy_bitwise function in dwarf2loc.c.
With the old (broken) version of copy_bitwise this test would generate
the following failure message:
(gdb) maintenance selftest
Self test failed: copy_bitwise 11000000 != 10000000 (7+2 -> 0)
gdb/ChangeLog:
2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
Pedro Alves <palves@redhat.com>
* dwarf2loc.c (bits_to_str, check_copy_bitwise)
(copy_bitwise_tests): New functions.
(_initialize_dwarf2loc): Register the new function
copy_bitwise_tests as a unit test.
* selftest.c (run_self_tests): Improve the failure message's
wording and formatting.
commit 22347e554cd7ba2a0bf36dc81ebfcbe2e2fd74af
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Thu Nov 24 17:48:03 2016 +0100
Fix copy_bitwise()
When the user writes or reads a variable whose location is described
with DWARF pieces (DW_OP_piece or DW_OP_bit_piece), GDB's helper
function copy_bitwise is invoked for each piece. The implementation of
this function has a bug that may result in a corrupted copy, depending
on alignment and bit size. (Full-byte copies are not affected.)
This rewrites copy_bitwise, replacing its algorithm by a fixed version,
and adding an appropriate test case. Without the fix the new test case
fails, e.g.:
print def_t
$2 = {a = 0, b = 4177919}
(gdb) FAIL: gdb.dwarf2/nonvar-access.exp: print def_t
Written in binary, the wrong result above looks like this:
01111111011111111111111
Which means that two zero bits have sneaked into the copy of the
original all-one bit pattern. The test uses this simple all-one value
in order to avoid another GDB bug that causes the DWARF piece of a
DW_OP_stack_value to be taken from the wrong end on big-endian
architectures.
gdb/ChangeLog:
* dwarf2loc.c (extract_bits_primitive): Remove.
(extract_bits): Remove.
(copy_bitwise): Rewrite. Fixes a possible corruption that may
occur for non-byte-aligned copies.
gdb/testsuite/ChangeLog:
* gdb.dwarf2/nonvar-access.exp: Add a test for accessing
non-byte-aligned bit fields.
commit da5b30da2d1167591aa8d71b543f97bfdc2ec2a2
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Thu Nov 24 17:48:03 2016 +0100
Fix PR12616 - gdb does not implement DW_AT_data_bit_offset
The DW_AT_data_bit_offset attribute was introduced by DWARF V4 and
allows specifying the offset of a data member within its containing
entity. But although the new attribute was intended to replace
DW_AT_bit_offset for this purpose, GDB ignores it, and thus GCC still
emits DW_AT_bit_offset instead. See also
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71669.
This change fixes GDB's lack of support for DW_AT_data_bit_offset and
adds an appropriate test case.
gdb/ChangeLog:
PR gdb/12616
* dwarf2read.c (dwarf2_add_field): Handle the DWARF V4 attribute
DW_AT_data_bit_offset.
gdb/testsuite/ChangeLog:
PR gdb/12616
* gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
respects the DW_AT_data_bit_offset attribute.
commit 1dcb9720d62cd053a72c31881b7724ce9f74332c
Author: Jiong Wang <jiong.wang@arm.com>
Date: Thu Nov 24 14:01:53 2016 +0000
[ARM] Bind defined symbol locally in PIE
bfd/
PR target/20737
* elf32-arm.c (elf32_arm_final_link_relocate): Bind defined symbol
locally in PIE.
ld/
* testsuite/ld-arm/pie-bind-locally-a.s: New test source.
* testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
* testsuite/ld-arm/pie-bind-locally.d: New testcase.
* testsuite/ld-arm/arm-elf.exp: Run new testcase.
commit 51750acd087cc20ae3f72393fa897d9e3059c65d
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Nov 24 10:00:20 2016 +0000
Fix snafu parsing $ORIGIN.
PR ld/20858
* emultempl/elf32.em (_search_needed): Allow for path separator
and terminating NUL byte when allocating space for new $ORIGIN
path.
commit 0b14696aedc2b56291bc98d62fe232c8dceb1385
Author: Kuan-Lin Chen <kuanlinchentw@gmail.com>
Date: Thu Nov 24 10:22:15 2016 +0800
RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.
bfd/ChangeLog:
* bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.
commit 8bc2611fd97a94e3927ba22fab79624dd6647368
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Nov 24 00:00:32 2016 +0000
Automatic date update in version.in
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 16 ++
bfd/elf32-arm.c | 3 +-
bfd/elfxx-riscv.c | 2 +-
bfd/peXXigen.c | 22 +--
bfd/version.h | 2 +-
binutils/ChangeLog | 10 +
binutils/arparse.y | 2 +-
binutils/dwarf.c | 4 +-
binutils/dwarf.h | 2 +-
binutils/objcopy.c | 2 +-
binutils/od-macho.c | 2 +-
binutils/rclex.c | 2 +-
binutils/readelf.c | 2 +-
binutils/stabs.c | 2 +-
gas/ChangeLog | 89 +++++++
gas/as.h | 2 +-
gas/config/bfin-lex.l | 2 +-
gas/config/obj-ecoff.c | 2 +-
gas/config/obj-macho.c | 2 +-
gas/config/tc-aarch64.c | 2 +-
gas/config/tc-arc.c | 2 +-
gas/config/tc-arm.c | 10 +-
gas/config/tc-avr.c | 2 +-
gas/config/tc-cr16.c | 4 +-
gas/config/tc-epiphany.c | 8 +-
gas/config/tc-frv.c | 4 +-
gas/config/tc-hppa.c | 2 +-
gas/config/tc-hppa.h | 2 +-
gas/config/tc-i370.c | 4 +-
gas/config/tc-m68hc11.c | 2 +-
gas/config/tc-m68k.c | 6 +-
gas/config/tc-mcore.c | 2 +-
gas/config/tc-mep.c | 8 +-
gas/config/tc-metag.c | 6 +-
gas/config/tc-mips.c | 6 +-
gas/config/tc-mn10200.c | 2 +-
gas/config/tc-mn10300.c | 4 +-
gas/config/tc-nds32.c | 8 +-
gas/config/tc-nios2.c | 2 +-
gas/config/tc-ns32k.c | 8 +-
gas/config/tc-pdp11.c | 2 +-
gas/config/tc-ppc.c | 12 +-
gas/config/tc-rx.c | 4 +-
gas/config/tc-score.c | 2 +-
gas/config/tc-score7.c | 2 +-
gas/config/tc-sparc.c | 7 +-
gas/config/tc-tic54x.c | 2 +-
gas/config/tc-vax.c | 2 +-
gas/config/tc-xgate.h | 2 +-
gas/config/tc-xtensa.c | 4 +-
gas/config/tc-z80.c | 2 +-
gas/dwarf2dbg.c | 4 +-
gas/input-file.h | 2 +-
gas/itbl-ops.c | 2 +-
gas/read.c | 4 +-
gas/stabs.c | 2 +-
gas/symbols.c | 8 +-
gas/testsuite/gas/all/gas.exp | 4 +-
gas/testsuite/gas/all/itbl-test.c | 2 +-
gas/testsuite/gas/arm/local_function.d | 2 +-
gas/testsuite/gas/arm/req.s | 2 +-
gas/testsuite/gas/arm/vfp1.s | 2 +-
gas/testsuite/gas/arm/vfp1_t2.s | 2 +-
gas/testsuite/gas/arm/vfp1xD.s | 2 +-
gas/testsuite/gas/arm/vfp1xD_t2.s | 2 +-
gas/testsuite/gas/cris/cris.exp | 2 +-
gas/testsuite/gas/hppa/basic/basic.exp | 2 +-
gas/testsuite/gas/hppa/parse/parse.exp | 2 +-
gas/testsuite/gas/hppa/reloc/reloc.exp | 2 +-
gas/testsuite/gas/mcore/allinsn.s | 4 +-
gas/testsuite/gas/mips/24k-triple-stores-5.s | 2 +-
gas/testsuite/gas/mips/delay.d | 2 +-
gas/testsuite/gas/mips/nodelay.d | 2 +-
gas/testsuite/gas/mips/r5900-full.s | 2 +-
gas/testsuite/gas/mips/r5900.s | 2 +-
gas/testsuite/gas/sh/arch/arch.exp | 2 +-
gas/testsuite/gas/sparc/cbcond-diag.l | 3 +
gas/testsuite/gas/sparc/cbcond-diag.s | 5 +
gas/testsuite/gas/sparc/sparc.exp | 1 +
gas/testsuite/gas/tic4x/opclasses.h | 10 +-
gas/testsuite/gas/tic4x/tic4x.exp | 8 +-
gas/write.c | 4 +-
gdb/ChangeLog | 124 ++++++++++
gdb/Makefile.in | 2 +-
gdb/ada-lang.c | 6 +-
gdb/ada-tasks.c | 6 +-
gdb/auto-load.c | 4 +-
gdb/ax-gdb.c | 8 +-
gdb/breakpoint.c | 20 +-
gdb/cli-out.c | 15 +-
gdb/common/new-op.c | 4 +-
gdb/contrib/ari/gdb_ari.sh | 10 -
gdb/dtrace-probe.c | 3 +-
gdb/dwarf2loc.c | 331 +++++++++++++++-----------
gdb/dwarf2read.c | 4 +
gdb/infcmd.c | 2 +-
gdb/inferior.c | 2 +-
gdb/linux-thread-db.c | 2 +-
gdb/mi/mi-out.c | 28 +--
gdb/mi/mi-out.h | 1 -
gdb/parse.c | 2 +-
gdb/probe.c | 14 +-
gdb/record-full.c | 2 +-
gdb/selftest.c | 3 +-
gdb/skip.c | 4 +-
gdb/solib.c | 6 +-
gdb/symfile.c | 2 +-
gdb/testsuite/ChangeLog | 11 +
gdb/testsuite/gdb.dwarf2/nonvar-access.exp | 134 +++++++++++
gdb/thread.c | 8 +-
gdb/ui-out.c | 95 +-------
gdb/ui-out.h | 30 +--
gdb/utils.c | 4 +-
gdb/utils.h | 2 +-
gold/ChangeLog | 19 ++
gold/aarch64-reloc.def | 2 +-
gold/aarch64.cc | 4 +-
gold/arm.cc | 2 +-
gold/icf.cc | 4 +-
gold/layout.cc | 2 +-
gold/layout.h | 2 +-
gold/mips.cc | 2 +-
gold/output.h | 2 +-
gold/plugin.h | 2 +-
gold/script-sections.h | 2 +-
gold/script.h | 2 +-
gold/stringpool.h | 2 +-
gold/tilegx.cc | 6 +-
gprof/ChangeLog | 7 +
gprof/basic_blocks.c | 2 +-
gprof/cg_arcs.c | 2 +-
gprof/cg_print.c | 2 +-
gprof/corefile.c | 2 +-
ld/ChangeLog | 63 +++++
ld/deffile.h | 4 +-
ld/deffilep.y | 4 +-
ld/emultempl/avrelf.em | 2 +-
ld/emultempl/elf32.em | 6 +-
ld/emultempl/pe.em | 2 +-
ld/emultempl/pep.em | 2 +-
ld/emultempl/spuelf.em | 2 +-
ld/ld.h | 2 +-
ld/ldlang.c | 4 +-
ld/ldmisc.c | 2 +-
ld/pe-dll.c | 2 +-
ld/scripttempl/ia64vms.sc | 2 +-
ld/scripttempl/ip2k.sc | 2 +-
ld/scripttempl/v850.sc | 4 +-
ld/scripttempl/v850_rh850.sc | 4 +-
ld/testsuite/ld-arm/arm-elf.exp | 1 +
ld/testsuite/ld-arm/pie-bind-locally-a.s | 5 +
ld/testsuite/ld-arm/pie-bind-locally-b.s | 6 +
ld/testsuite/ld-arm/pie-bind-locally.d | 9 +
ld/testsuite/ld-arm/stm32l4xx-fix-all.s | 4 +-
ld/testsuite/ld-arm/thumb2-b-interwork.s | 2 +-
ld/testsuite/ld-arm/thumb2-bl.s | 2 +-
ld/testsuite/ld-powerpc/vle-multiseg-5.d | 6 +-
ld/testsuite/ld-s390/tlspic1.s | 4 +-
ld/testsuite/ld-s390/tlspic1_64.s | 4 +-
ld/testsuite/ld-scripts/section-match-1.d | 2 +-
ld/testsuite/ld-sh/arch/arch.exp | 2 +-
ld/testsuite/ld-sh/rd-sh.exp | 2 +-
ld/testsuite/ld-sh/sh64/rd-sh64.exp | 2 +-
ld/testsuite/ld-undefined/undefined.exp | 2 +-
164 files changed, 973 insertions(+), 544 deletions(-)
create mode 100644 gas/testsuite/gas/sparc/cbcond-diag.l
create mode 100644 gas/testsuite/gas/sparc/cbcond-diag.s
create mode 100644 gdb/testsuite/gdb.dwarf2/nonvar-access.exp
create mode 100644 ld/testsuite/ld-arm/pie-bind-locally-a.s
create mode 100644 ld/testsuite/ld-arm/pie-bind-locally-b.s
create mode 100644 ld/testsuite/ld-arm/pie-bind-locally.d
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 346ff29..0d79764 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,19 @@
+2016-11-25 Jon Turney <jon.turney@dronecode.org.uk>
+
+ PR ld/20193
+ * peXXigen.c (rsrc_process_section): Do not shrink the merged
+ .rsrc section.
+
+2016-11-24 Jiong Wang <jiong.wang@arm.com>
+
+ PR target/20737
+ * elf32-arm.c (elf32_arm_final_link_relocate): Bind defined symbol
+ locally in PIE.
+
+2016-11-24 Kuan-Lin Chen <kuanlinchentw@gmail.com>
+
+ * bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.
+
2016-11-23 Nick Clifton <nickc@redhat.com>
PR ld/20815
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index b1bec39..8a20260 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -10147,7 +10147,8 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto,
else if (h != NULL
&& h->dynindx != -1
&& (!bfd_link_pic (info)
- || !SYMBOLIC_BIND (info, h)
+ || !(bfd_link_pie (info)
+ || SYMBOLIC_BIND (info, h))
|| !h->def_regular))
outrel.r_info = ELF32_R_INFO (h->dynindx, r_type);
else
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index bd68fe4..c1f28f7 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -479,7 +479,7 @@ static reloc_howto_type howto_table[] =
HOWTO (R_RISCV_ADD8, /* type */
0, /* rightshift */
0, /* size */
- 32, /* bitsize */
+ 8, /* bitsize */
FALSE, /* pc_relative */
0, /* bitpos */
complain_overflow_dont, /* complain_on_overflow */
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index 0bbd200..3a16ef0 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -4319,26 +4319,8 @@ rsrc_process_section (bfd * abfd,
rsrc_write_directory (& write_data, & new_table);
/* Step five: Replace the old contents with the new.
- We recompute the size as we may have lost entries due to mergeing. */
- size = ((write_data.next_data - new_data) + 3) & ~ 3;
-
- {
- int page_size;
-
- if (coff_data (abfd)->link_info)
- {
- page_size = pe_data (abfd)->pe_opthdr.FileAlignment;
-
- /* If no file alignment has been set, default to one.
- This repairs 'ld -r' for arm-wince-pe target. */
- if (page_size == 0)
- page_size = 1;
- }
- else
- page_size = PE_DEF_FILE_ALIGNMENT;
- size = (size + page_size - 1) & - page_size;
- }
-
+ We don't recompute the size as it's too late here to shrink section.
+ See PR ld/20193 for more details. */
bfd_set_section_contents (pfinfo->output_bfd, sec, new_data, 0, size);
sec->size = sec->rawsize = size;
diff --git a/bfd/version.h b/bfd/version.h
index a2e1902..6931919 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20161123
+#define BFD_VERSION_DATE 20161128
#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/binutils/ChangeLog b/binutils/ChangeLog
index f625a26..b0ea872 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,13 @@
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * dwarf.c: Fix spelling in comments.
+ * dwarf.h: Fix spelling in comments.
+ * objcopy.c: Fix spelling in comments.
+ * od-macho.c: Fix spelling in comments.
+ * rclex.c: Fix spelling in comments.
+ * readelf.c: Fix spelling in comments.
+ * stabs.c: Fix spelling in comments.
+
2016-11-23 Nick Clifton <nickc@redhat.com>
PR ld/20815
diff --git a/binutils/arparse.y b/binutils/arparse.y
index 9b2fefb..0048621 100644
--- a/binutils/arparse.y
+++ b/binutils/arparse.y
@@ -1,5 +1,5 @@
%{
-/* arparse.y - Stange script language parser */
+/* arparse.y - Strange script language parser */
/* Copyright (C) 1992-2016 Free Software Foundation, Inc.
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index fee6a60..66ad1fd 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -200,7 +200,7 @@ dwarf_vmatoa_1 (const char *fmtch, dwarf_vma value, unsigned num_bytes)
if (num_bytes)
{
- /* Printf does not have a way of specifiying a maximum field width for an
+ /* Printf does not have a way of specifying a maximum field width for an
integer value, so we print the full value into a buffer and then select
the precision we need. */
snprintf (ret, sizeof (buf[0].place), DWARF_VMA_FMT_LONG, value);
@@ -7563,7 +7563,7 @@ dwarf_select_sections_by_names (const char *names)
{ "macro", & do_debug_macinfo, 1 },
{ "pubnames", & do_debug_pubnames, 1 },
{ "pubtypes", & do_debug_pubtypes, 1 },
- /* This entry is for compatability
+ /* This entry is for compatibility
with earlier versions of readelf. */
{ "ranges", & do_debug_aranges, 1 },
{ "rawline", & do_debug_lines, FLAG_DEBUG_LINES_RAW },
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index ed86810..ac316bb 100644
--- a/binutils/dwarf.h
+++ b/binutils/dwarf.h
@@ -224,7 +224,7 @@ extern void * xcrealloc (void *, size_t, size_t);
extern dwarf_vma read_leb128 (unsigned char *, unsigned int *, bfd_boolean, const unsigned char * const);
-/* A callback into the client. Retuns TRUE if there is a
+/* A callback into the client. Returns TRUE if there is a
relocation against the given debug section at the given
offset. */
extern bfd_boolean reloc_at (struct dwarf_section *, dwarf_vma);
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index d40cfcb..4910fcf 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -1748,7 +1748,7 @@ add_redefine_syms_file (const char *filename)
free (buf);
}
-/* Copy unkown object file IBFD onto OBFD.
+/* Copy unknown object file IBFD onto OBFD.
Returns TRUE upon success, FALSE otherwise. */
static bfd_boolean
diff --git a/binutils/od-macho.c b/binutils/od-macho.c
index d1a4e0f..0a46adc 100644
--- a/binutils/od-macho.c
+++ b/binutils/od-macho.c
@@ -259,7 +259,7 @@ bfd_mach_o_print_flags (const bfd_mach_o_xlat_name *table,
printf ("-");
}
-/* Print a bfd_uint64_t, using a platform independant style. */
+/* Print a bfd_uint64_t, using a platform independent style. */
static void
printf_uint64 (bfd_uint64_t v)
diff --git a/binutils/rclex.c b/binutils/rclex.c
index 96ed393..564d40f 100644
--- a/binutils/rclex.c
+++ b/binutils/rclex.c
@@ -40,7 +40,7 @@
static int rcdata_mode;
-/* Whether we are supressing lines from cpp (including windows.h or
+/* Whether we are suppressing lines from cpp (including windows.h or
headers from your C sources may bring in externs and typedefs).
When active, we return IGNORED_TOKEN, which lets us ignore these
outside of resource constructs. Thus, it isn't required to protect
diff --git a/binutils/readelf.c b/binutils/readelf.c
index ee55852..347b6b9 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9966,7 +9966,7 @@ process_version_sections (FILE * file)
int j;
int isum;
- /* Check for very large indicies. */
+ /* Check for very large indices. */
if (idx > (size_t) (endbuf - (char *) edefs))
break;
diff --git a/binutils/stabs.c b/binutils/stabs.c
index d209094..38b210e 100644
--- a/binutils/stabs.c
+++ b/binutils/stabs.c
@@ -2691,7 +2691,7 @@ parse_stab_members (void *dhandle, struct stab_handle *info,
case '*':
/* virtual member function, followed by index. The sign
bit is supposedly set to distinguish
- pointers-to-methods from virtual function indicies. */
+ pointers-to-methods from virtual function indices. */
++*pp;
voffset = parse_number (pp, (bfd_boolean *) NULL);
if (**pp != ';')
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2715fcb..cd0d2ab 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,92 @@
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * arparse.y: Fix spelling in comments.
+
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * config/bfin-lex.l: Fix spelling in comments.
+
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * testsuite/gas/all/gas.exp: Fix spelling in comments.
+ * testsuite/gas/cris/cris.exp: Fix spelling in comments.
+ * testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
+ * testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
+ * testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
+ * testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
+ * testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
+
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * testsuite/gas/arm/local_function.d: Fix spelling in comments.
+ * testsuite/gas/arm/req.s: Fix spelling in comments.
+ * testsuite/gas/arm/vfp1.s: Fix spelling in comments.
+ * testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
+ * testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
+ * testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
+ * testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
+ * testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
+ * testsuite/gas/mips/delay.d: Fix spelling in comments.
+ * testsuite/gas/mips/nodelay.d: Fix spelling in comments.
+ * testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
+ * testsuite/gas/mips/r5900.s: Fix spelling in comments.
+
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * as.h: Fix spelling in comments.
+ * config/obj-ecoff.c: Fix spelling in comments.
+ * config/obj-macho.c: Fix spelling in comments.
+ * config/tc-aarch64.c: Fix spelling in comments.
+ * config/tc-arc.c: Fix spelling in comments.
+ * config/tc-arm.c: Fix spelling in comments.
+ * config/tc-avr.c: Fix spelling in comments.
+ * config/tc-cr16.c: Fix spelling in comments.
+ * config/tc-epiphany.c: Fix spelling in comments.
+ * config/tc-frv.c: Fix spelling in comments.
+ * config/tc-hppa.c: Fix spelling in comments.
+ * config/tc-hppa.h: Fix spelling in comments.
+ * config/tc-i370.c: Fix spelling in comments.
+ * config/tc-m68hc11.c: Fix spelling in comments.
+ * config/tc-m68k.c: Fix spelling in comments.
+ * config/tc-mcore.c: Fix spelling in comments.
+ * config/tc-mep.c: Fix spelling in comments.
+ * config/tc-metag.c: Fix spelling in comments.
+ * config/tc-mips.c: Fix spelling in comments.
+ * config/tc-mn10200.c: Fix spelling in comments.
+ * config/tc-mn10300.c: Fix spelling in comments.
+ * config/tc-nds32.c: Fix spelling in comments.
+ * config/tc-nios2.c: Fix spelling in comments.
+ * config/tc-ns32k.c: Fix spelling in comments.
+ * config/tc-pdp11.c: Fix spelling in comments.
+ * config/tc-ppc.c: Fix spelling in comments.
+ * config/tc-riscv.c: Fix spelling in comments.
+ * config/tc-rx.c: Fix spelling in comments.
+ * config/tc-score.c: Fix spelling in comments.
+ * config/tc-score7.c: Fix spelling in comments.
+ * config/tc-sparc.c: Fix spelling in comments.
+ * config/tc-tic54x.c: Fix spelling in comments.
+ * config/tc-vax.c: Fix spelling in comments.
+ * config/tc-xgate.h: Fix spelling in comments.
+ * config/tc-xtensa.c: Fix spelling in comments.
+ * config/tc-z80.c: Fix spelling in comments.
+ * dwarf2dbg.c: Fix spelling in comments.
+ * input-file.h: Fix spelling in comments.
+ * itbl-ops.c: Fix spelling in comments.
+ * read.c: Fix spelling in comments.
+ * stabs.c: Fix spelling in comments.
+ * symbols.c: Fix spelling in comments.
+ * write.c: Fix spelling in comments.
+ * testsuite/gas/all/itbl-test.c: Fix spelling in comments.
+ * testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
+
+2016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
+ messages for non-cbcond instructions.
+ * testsuite/gas/sparc/cbcond-diag.s: New file.
+ * testsuite/gas/sparc/cbcond-diag.l: Likewise.
+ * testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
+
2016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
* testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
diff --git a/gas/as.h b/gas/as.h
index 9fa9389..cbc5c7c 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -533,7 +533,7 @@ int generic_force_reloc (struct fix *);
#include "expr.h" /* Before targ-*.h */
-/* This one starts the chain of target dependant headers. */
+/* This one starts the chain of target dependent headers. */
#include "targ-env.h"
#ifdef OBJ_MAYBE_ELF
diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l
index 04fda4c..cb18469 100644
--- a/gas/config/bfin-lex.l
+++ b/gas/config/bfin-lex.l
@@ -362,7 +362,7 @@ static long parse_int (char **end)
fmt = 'd';
break;
- case '0': /* Accept different formated integers hex octal and binary. */
+ case '0': /* Accept different formatted integers hex octal and binary. */
{
char c = *++arg;
arg++;
diff --git a/gas/config/obj-ecoff.c b/gas/config/obj-ecoff.c
index b994986..e337ff1 100644
--- a/gas/config/obj-ecoff.c
+++ b/gas/config/obj-ecoff.c
@@ -53,7 +53,7 @@ ecoff_frob_file_before_fix (void)
This output ordering of sections is magic, on the Alpha, at
least. The .lita section must come before .lit8 and .lit4,
otherwise the OSF/1 linker may silently trash the .lit{4,8}
- section contents. Also, .text must preceed .rdata. These differ
+ section contents. Also, .text must precede .rdata. These differ
from the order described in some parts of the DEC OSF/1 Assembly
Language Programmer's Guide, but that order doesn't seem to work
with their linker.
diff --git a/gas/config/obj-macho.c b/gas/config/obj-macho.c
index 13d0043..9d64ac6 100644
--- a/gas/config/obj-macho.c
+++ b/gas/config/obj-macho.c
@@ -29,7 +29,7 @@
which subsections are generated like __text, __const etc.
The well-known as short-hand section switch directives like .text, .data
- etc. are mapped onto predefined segment/section pairs using facilites
+ etc. are mapped onto predefined segment/section pairs using facilities
supplied by the mach-o port of bfd.
A number of additional mach-o short-hand section switch directives are
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 7c518c7..c71b32b 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -647,7 +647,7 @@ first_error (const char *error)
set_syntax_error (error);
}
-/* Similiar to first_error, but this function accepts formatted error
+/* Similar to first_error, but this function accepts formatted error
message. */
static void
first_error_fmt (const char *format, ...)
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 376ac43..4eb6d6d 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -2659,7 +2659,7 @@ md_pcrel_from_section (fixS *fixP,
/* The hardware calculates relative to the start of the
insn, but this relocation is relative to location of the
LIMM, compensate. The base always needs to be
- substracted by 4 as we do not support this type of PCrel
+ subtracted by 4 as we do not support this type of PCrel
relocation for short instructions. */
base -= 4;
/* Fall through. */
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index e37d354..4adcfda 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -3045,7 +3045,7 @@ s_ccs_ref (int unused ATTRIBUTE_UNUSED)
}
/* If name is not NULL, then it is used for marking the beginning of a
- function, wherease if it is NULL then it means the function end. */
+ function, whereas if it is NULL then it means the function end. */
static void
asmfunc_debug (const char * name)
{
@@ -7306,7 +7306,7 @@ parse_operands (char *str, const unsigned int *pattern, bfd_boolean thumb)
The only binary encoding difference is the Coprocessor number. Coprocessor
9 is used for half-precision calculations or conversions. The format of the
- instruction is the same as the equivalent Coprocessor 10 instuction that
+ instruction is the same as the equivalent Coprocessor 10 instruction that
exists for Single-Precision operation. */
static void
@@ -13083,7 +13083,7 @@ do_t_swi (void)
if (ARM_CPU_HAS_FEATURE (cpu_variant, arm_ext_v6m))
{
if (!ARM_CPU_HAS_FEATURE (cpu_variant, arm_ext_os)
- /* This only applies to the v6m howver, not later architectures. */
+ /* This only applies to the v6m however, not later architectures. */
&& ! ARM_CPU_HAS_FEATURE (cpu_variant, arm_ext_v7))
as_bad (_("SVC is not permitted on this architecture"));
ARM_MERGE_FEATURE_SETS (thumb_arch_used, thumb_arch_used, arm_ext_os);
@@ -17950,7 +17950,7 @@ now_it_add_mask (int cond)
for covering other cases.
Calling handle_it_state () may not transition the IT block state to
- OUTSIDE_IT_BLOCK immediatelly, since the (current) state could be
+ OUTSIDE_IT_BLOCK immediately, since the (current) state could be
still queried. Instead, if the FSM determines that the state should
be transitioned to OUTSIDE_IT_BLOCK, a flag is marked to be closed
after the tencode () function: that's what it_fsm_post_encode () does.
@@ -18041,7 +18041,7 @@ handle_it_state (void)
switch (inst.it_insn_type)
{
case OUTSIDE_IT_INSN:
- /* The closure of the block shall happen immediatelly,
+ /* The closure of the block shall happen immediately,
so any in_it_block () call reports the block as closed. */
force_automatic_it_block_close ();
break;
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index ee3140d..568316a 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -398,7 +398,7 @@ static struct exp_mod_s exp_mod[] =
{"hhi8", BFD_RELOC_AVR_MS8_LDI, BFD_RELOC_AVR_MS8_LDI_NEG, 0},
};
-/* A union used to store indicies into the exp_mod[] array
+/* A union used to store indices into the exp_mod[] array
in a hash table which expects void * data types. */
typedef union
{
diff --git a/gas/config/tc-cr16.c b/gas/config/tc-cr16.c
index 186cfb9..7a3e9d8 100644
--- a/gas/config/tc-cr16.c
+++ b/gas/config/tc-cr16.c
@@ -1471,7 +1471,7 @@ gettrap (char *s)
if (strcasecmp (trap->name, s) == 0)
return trap->entry;
- /* To make compatable with CR16 4.1 tools, the below 3-lines of
+ /* To make compatible with CR16 4.1 tools, the below 3-lines of
* code added. Refer: Development Tracker item #123 */
for (trap = cr16_traps; trap < (cr16_traps + NUMTRAPS); trap++)
if (trap->entry == (unsigned int) atoi (s))
@@ -2385,7 +2385,7 @@ next_insn:
for (i = 0; i < insn->nargs; i++)
{
- /* For BAL (ra),disp17 instuction only. And also set the
+ /* For BAL (ra),disp17 instruction only. And also set the
DISP24a relocation type. */
if (IS_INSN_MNEMONIC ("bal") && (instruction->size == 2) && i == 0)
{
diff --git a/gas/config/tc-epiphany.c b/gas/config/tc-epiphany.c
index d14c3a0..d1c531c 100644
--- a/gas/config/tc-epiphany.c
+++ b/gas/config/tc-epiphany.c
@@ -288,7 +288,7 @@ epiphany_apply_fix (fixS *fixP, valueT *valP, segT seg)
case BFD_RELOC_EPIPHANY_HIGH:
value >>= 16;
- /* fall thru */
+ /* fallthru */
case BFD_RELOC_EPIPHANY_LOW:
value = (((value & 0xff) << 5) | insn[0])
| (insn[1] << 8)
@@ -340,7 +340,7 @@ epiphany_handle_align (fragS *fragp)
}
\f
/* Read a comma separated incrementing list of register names
- and form a bit mask of upto 15 registers 0..14. */
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-23 22:20 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-23 22:20 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via c7a53c67f07d742348e5d79e0f44c6a1c35b0b1f (commit)
via dcb07cfa156a8e9f768c7f2b5d32f27b6dfe939f (commit)
via 7836e407c65761b003bfbcb7ce89947736330a15 (commit)
via 8629c02c0db6ff3f7444397567a57dd36a3eed41 (commit)
via 03b62bbbce3dc5f15131d9e78f77d035cd1cffb3 (commit)
via b593ecca856860a8b38deb808493bba4beef3aee (commit)
via 1a9ccd70f9a75dc6b48d340059f28ef3550c107b (commit)
via 128e85e3ab36b8e30f6612fb50de3cbb4ede6824 (commit)
via 073808edb771952247c6fe634b863986b7627150 (commit)
via 64f52338e924cce3a205527136e145da660a4686 (commit)
via ce558b89b15a18fd67fdc02a4d410a6d92d2ba63 (commit)
via 3ae0486cdce5d2ed4c922c598a3258fcbd9c8f29 (commit)
via 9986ba08876f86f7d36d230afc11b60a34287da8 (commit)
via 4eefa7bcf286b879f61b9e1ec1c97230f5345104 (commit)
via 400b2f29938dab7d9c4f46c9d1b0dc23dab0518b (commit)
via 358a971863e93cbafa9e864b4db4d5448b960304 (commit)
via ca3cbe5cd7715d1559d55f8e71be1dd7340f13b1 (commit)
via 96fe45624e51f1bb747e36cf8bdaab216f31c5ec (commit)
via f5ea389ac78ccd7c426a93f43e6117dad9ce0878 (commit)
via b2260160f8cde8de118914ddeaf797bea42e65ce (commit)
via fb090cfa157e35fac1c10c062fd005e38b894ea4 (commit)
via 41e26ad32d17ee35f79f629654811f5e8656cab8 (commit)
via ad76968956f30bed6d120e0dfd247034e0855fea (commit)
via cd76b525eda02c30c4412698a2ff309b975d417a (commit)
via 3889f4909e0db5f5ca8ca043ef9825f0ad971fd6 (commit)
via a8f341826d63a5c216c41e10bf1e4e6c3db3ce65 (commit)
via 7113a196bac7f1134bcdd79ad3e6badcb5d77f95 (commit)
via 5b6e2eee087cf206d5c2bf1f9523217aaf5938aa (commit)
via 7ab2d0874025af6ee858b32c576f2461c0a1df3d (commit)
via 0187a92f57b516f7171e70bec46701cfdaa6c6bd (commit)
via 9fd15b2e80452f03edb3fb36c2b4c36d05f4ef4e (commit)
via 6884417a0ff3555b192d4aceeacc5e7232cad207 (commit)
via c4b943d7aed5edbfc31aa1e9dc9e7bcf108d76a0 (commit)
via 08dc996fedde9143cda25720961684087b133640 (commit)
via 95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c (commit)
via c5acd8159633cfde315b01431099e1ce5b23dcf7 (commit)
via 3063babf7c559f04203ad7fdfcd8fc12a302ee7a (commit)
via c13b08dbbcf752480a7621aa1f89bc5440c74c25 (commit)
via d0de53e251ce60057d91536a4c71740b047be040 (commit)
via b32e1756d9932eebcca5f276290841a859ef2d6d (commit)
via b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771 (commit)
via 3fff9862d5229def9318912c2de64a03dab74532 (commit)
via 5689c9424b33aac68c4762ce0bda09ca7e3affe0 (commit)
via 2d7f2507d4d26430da7e32e8fc75f045f634fced (commit)
via 081f6b931dbc4a1f27ac003e2f75a389444ce9e9 (commit)
from 76a29a45db928e68e1faf83d9c7008cc29543e65 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit c7a53c67f07d742348e5d79e0f44c6a1c35b0b1f
Merge: 76a29a4 dcb07cf
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Nov 23 22:35:48 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit dcb07cfa156a8e9f768c7f2b5d32f27b6dfe939f
Author: Pedro Alves <palves@redhat.com>
Date: Wed Nov 23 15:36:26 2016 +0000
gdb: Use C++11 std::chrono
This patch fixes a few problems with GDB's time handling.
#1 - It avoids problems with gnulib's C++ namespace support
On MinGW, the struct timeval that should be passed to gnulib's
gettimeofday replacement is incompatible with libiberty's
timeval_sub/timeval_add. That's because gnulib also replaces "struct
timeval" with its own definition, while libiberty expects the
system's.
E.g., in code like this:
gettimeofday (&prompt_ended, NULL);
timeval_sub (&prompt_delta, &prompt_ended, &prompt_started);
timeval_add (&prompt_for_continue_wait_time,
&prompt_for_continue_wait_time, &prompt_delta);
That's currently handled in gdb by not using gnulib's gettimeofday at
all (see common/gdb_sys_time.h), but that #undef hack won't work with
if/when we enable gnulib's C++ namespace support, because that mode
adds compile time warnings for uses of ::gettimeofday, which are hard
errors with -Werror.
#2 - But there's an elephant in the room: gettimeofday is not monotonic...
We're using it to:
a) check how long functions take, for performance analysis
b) compute when in the future to fire events in the event-loop
c) print debug timestamps
But that's exactly what gettimeofday is NOT meant for. Straight from
the man page:
~~~
The time returned by gettimeofday() is affected by
discontinuous jumps in the system time (e.g., if the system
administrator manually changes the system time). If you need a
monotonically increasing clock, see clock_gettime(2).
~~~
std::chrono (part of the C++11 standard library) has a monotonic clock
exactly for such purposes (std::chrono::steady_clock). This commit
switches to use that instead of gettimeofday, fixing all the issues
mentioned above.
gdb/ChangeLog:
2016-11-23 Pedro Alves <palves@redhat.com>
* Makefile.in (SFILES): Add common/run-time-clock.c.
(HFILES_NO_SRCDIR): Add common/run-time-clock.h.
(COMMON_OBS): Add run-time-clock.o.
* common/run-time-clock.c, common/run-time-clock.h: New files.
* defs.h (struct timeval, print_transfer_performance): Delete
declarations.
* event-loop.c (struct gdb_timer) <when>: Now a
std::chrono::steady_clock::time_point.
(create_timer): use std::chrono::steady_clock instead of
gettimeofday. Use new instead of malloc.
(delete_timer): Use delete instead of xfree.
(duration_cast_timeval): New.
(update_wait_timeout): Use std::chrono::steady_clock instead of
gettimeofday.
* maint.c: Include <chrono> instead of "gdb_sys_time.h", <time.h>
and "timeval-utils.h".
(scoped_command_stats::~scoped_command_stats)
(scoped_command_stats::scoped_command_stats): Use
std::chrono::steady_clock instead of gettimeofday. Use
user_cpu_time_clock instead of get_run_time.
* maint.h: Include "run-time-clock.h" and <chrono>.
(scoped_command_stats): <m_start_cpu_time>: Now a
user_cpu_time_clock::time_point.
<m_start_wall_time>: Now a std::chrono::steady_clock::time_point.
* mi/mi-main.c: Include "run-time-clock.h" and <chrono> instead of
"gdb_sys_time.h" and <sys/resource.h>.
(rusage): Delete.
(mi_execute_command): Use new instead of XNEW.
(mi_load_progress): Use std::chrono::steady_clock instead of
gettimeofday.
(timestamp): Rewrite in terms of std::chrono::steady_clock,
user_cpu_time_clock and system_cpu_time_clock.
(timeval_diff): Delete.
(print_diff): Adjust to use std::chrono::steady_clock,
user_cpu_time_clock and system_cpu_time_clock.
* mi/mi-parse.h: Include "run-time-clock.h" and <chrono> instead
of "gdb_sys_time.h".
(struct mi_timestamp): Change fields types to
std::chrono::steady_clock::time_point, user_cpu_time_clock::time
and system_cpu_time_clock::time_point, instead of struct timeval.
* symfile.c: Include <chrono> instead of <time.h> and
"gdb_sys_time.h".
(struct time_range): New.
(generic_load): Use std::chrono::steady_clock instead of
gettimeofday.
(print_transfer_performance): Replace timeval parameters with a
std::chrono::steady_clock::duration parameter. Adjust.
* utils.c: Include <chrono> instead of "timeval-utils.h",
"gdb_sys_time.h", and <time.h>.
(prompt_for_continue_wait_time): Now a
std::chrono::steady_clock::duration.
(defaulted_query, prompt_for_continue): Use
std::chrono::steady_clock instead of
gettimeofday/timeval_sub/timeval_add.
(reset_prompt_for_continue_wait_time): Use
std::chrono::steady_clock::duration instead of struct timeval.
(get_prompt_for_continue_wait_time): Return a
std::chrono::steady_clock::duration instead of struct timeval.
(vfprintf_unfiltered): Use std::chrono::steady_clock instead of
gettimeofday. Use std::string. Use '.' instead of ':'.
* utils.h: Include <chrono>.
(get_prompt_for_continue_wait_time): Return a
std::chrono::steady_clock::duration instead of struct timeval.
gdb/gdbserver/ChangeLog:
2016-11-23 Pedro Alves <palves@redhat.com>
* debug.c: Include <chrono> instead of "gdb_sys_time.h".
(debug_vprintf): Use std::chrono::steady_clock instead of
gettimeofday. Use '.' instead of ':'.
* tracepoint.c: Include <chrono> instead of "gdb_sys_time.h".
(get_timestamp): Use std::chrono::steady_clock instead of
gettimeofday.
commit 7836e407c65761b003bfbcb7ce89947736330a15
Author: Nick Clifton <nickc@redhat.com>
Date: Wed Nov 23 14:57:51 2016 +0000
Adjust linker test for arm-vxworks in wake of patch for PR 20815.
commit 8629c02c0db6ff3f7444397567a57dd36a3eed41
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Tue Nov 22 16:14:25 2016 -0500
Minor formatting fixups in Makefiles
Mostly some whitespace changes to make things a bit more consistent.
gdb/ChangeLog:
* Makefile.in: Fix whitespace formatting.
gdb/gdbserver/ChangeLog:
* Makefile.in: Fix whitespace formatting.
commit 03b62bbbce3dc5f15131d9e78f77d035cd1cffb3
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Tue Nov 22 16:14:24 2016 -0500
Normalize names of some source files
Most tdep/nat files are named:
<cpu>-<os>-tdep.c
<cpu>-<os>-nat.c
A few files do not respect this scheme. This patch renames them so that
they are consistent with the rest of the files. It builds fine with
--enable-targets=all, but that doesn't test the nat files. I can only
hope that my grep skill is good enough.
gdb/ChangeLog:
* Makefile.in (ALL_64_TARGET_OBS, ALL_TARGET_OBS,
HFILES_NO_SRCDIR, ALLDEPFILES): Rename files.
* alphabsd-nat.c: Rename to ...
* alpha-bsd-nat.c: ... this, adjust include.
* alphabsd-tdep.c: Rename to ...
* alpha-bsd-tdep.c: ... this, adjust include.
* alphabsd-tdep.h: Rename to ...
* alpha-bsd-tdep.h: ... this, adjust include barrier and comment.
* alphafbsd-tdep.c: Rename to ...
* alpha-fbsd-tdep.c: ... this.
* alphanbsd-tdep.c: Rename to ...
* alpha-nbsd-tdep.c: ... this, adjust include.
* alphaobsd-tdep.c: Rename to ...
* alpha-obsd-tdep.c: ... this, adjust include.
* amd64bsd-nat.c: Rename to ...
* amd64-bsd-nat.c: ... this, adjust include.
* amd64fbsd-nat.c: Rename to ...
* amd64-fbsd-nat.c: ... this, adjust include.
* amd64fbsd-tdep.c: Rename to ...
* amd64-fbsd-tdep.c: ... this, adjust include.
* amd64nbsd-nat.c: Rename to ...
* amd64-nbsd-nat.c: ... this.
* amd64nbsd-tdep.c: Rename to ...
* amd64-nbsd-tdep.c: ... this.
* amd64obsd-nat.c: Rename to ...
* amd64-obsd-nat.c: ... this.
* amd64obsd-tdep.c: Rename to ...
* amd64-obsd-tdep.c: ... this.
* amd64-tdep.h: Update comments.
* armbsd-tdep.c: Rename to ...
* arm-bsd-tdep.c: ... this.
* armnbsd-nat.c: Rename to ...
* arm-nbsd-nat.c: ... this.
* armnbsd-tdep.c: Rename to ...
* arm-nbsd-tdep.c: ... this.
* armobsd-tdep.c: Rename to ...
* arm-obsd-tdep.c: ... this.
* arm-tdep.h: Update comments.
* hppabsd-tdep.c: Rename to ...
* hppa-bsd-tdep.c: ... this, adjust include.
* hppabsd-tdep.h: Rename to ...
* hppa-bsd-tdep.h: ... this, adjust include barrier and comment.
* hppanbsd-nat.c: Rename to ...
* hppa-nbsd-nat.c: ... this.
* hppanbsd-tdep.c: Rename to ...
* hppa-nbsd-tdep.c: ... this, adjust include.
* hppaobsd-nat.c: Rename to ...
* hppa-obsd-nat.c: ... this.
* hppaobsd-tdep.c: Rename to ...
* hppa-obsd-tdep.c: ... this, adjust include.
* i386bsd-nat.c: Rename to ...
* i386-bsd-nat.c: ... this, adjust include.
* i386bsd-nat.h: Rename to ...
* i386-bsd-nat.h: ... this, adjust include barrier and comment.
* i386bsd-tdep.c: Rename to ...
* i386-bsd-tdep.c: ... this.
* i386fbsd-nat.c: Rename to ...
* i386-fbsd-nat.c: ... this, adjust include.
* i386fbsd-tdep.c: Rename to ...
* i386-fbsd-tdep.c: ... this, adjust include.
* i386fbsd-tdep.h: Rename to ...
* i386-fbsd-tdep.h: ... this, adjust include barrier and comment.
* i386gnu-nat.c: Rename to ...
* i386-gnu-nat.c: ... this.
* i386gnu-tdep.c: Rename to ...
* i386-gnu-tdep.c: ... this.
* i386nbsd-nat.c: Rename to ...
* i386-nbsd-nat.c: ... this, adjust include.
* i386nbsd-tdep.c: Rename to ...
* i386-nbsd-tdep.c: ... this.
* i386obsd-nat.c: Rename to ...
* i386-obsd-nat.c: ... this, adjust include.
* i386obsd-tdep.c: Rename to ...
* i386-obsd-tdep.c: ... this.
* i386v4-nat.c: Rename to ...
* i386-v4-nat.c: ... this.
* i386-tdep.h: Update comments.
* m68k-tdep.h: Update comments.
* m68kbsd-nat.c: Rename to ...
* m68k-bsd-nat.c: ... this.
* m68kbsd-tdep.c: Rename to ...
* m68k-bsd-tdep.c: ... this.
* m68klinux-nat.c: Rename to ...
* m68k-linux-nat.c: ... this.
* m68klinux-tdep.c: Rename to ...
* m68k-linux-tdep.c: ... this.
* m88kbsd-nat.c: Rename to ...
* m88k-bsd-nat.c: ... this.
* mipsnbsd-nat.c: Rename to ...
* mips-nbsd-nat.c: ... this, adjust include.
* mipsnbsd-tdep.c: Rename to ...
* mips-nbsd-tdep.c: ... this, adjust include.
* mipsnbsd-tdep.h: Rename to ...
* mips-nbsd-tdep.h: ... this, adjust include barrier and comment.
* mips64obsd-nat.c: Rename to ...
* mips64-obsd-nat.c: ... this.
* mips64obsd-tdep.c: Rename to ...
* mips64-obsd-tdep.c: ... this.
* ppcfbsd-nat.c: Rename to ...
* ppc-fbsd-nat.c: ... this, adjust include.
* ppcfbsd-tdep.c: Rename to ...
* ppc-fbsd-tdep.c: ... this, adjust include.
* ppcfbsd-tdep.h: Rename to ...
* ppc-fbsd-tdep.h: ... this, adjust include barrier and comment.
* ppcnbsd-nat.c: Rename to ...
* ppc-nbsd-nat.c: ... this, adjust include.
* ppcnbsd-tdep.c: Rename to ...
* ppc-nbsd-tdep.c: ... this, adjust include.
* ppcnbsd-tdep.h: Rename to ...
* ppc-nbsd-tdep.h: ... this, adjust include barrier and comment.
* ppcobsd-nat.c: Rename to ...
* ppc-obsd-nat.c: ... this, adjust include.
* ppcobsd-tdep.c: Rename to ...
* ppc-obsd-tdep.c: ... this, adjust include.
* ppcobsd-tdep.h: Rename to ...
* ppc-obsd-tdep.h: ... this, adjust include barrier and comment.
* shnbsd-nat.c: Rename to ...
* sh-nbsd-nat.c: ... this.
* shnbsd-tdep.c: Rename to ...
* sh-nbsd-tdep.c: ... this.
* sparcnbsd-nat.c: Rename to ...
* sparc-nbsd-nat.c: ... this.
* sparcnbsd-tdep.c: Rename to ...
* sparc-nbsd-tdep.c: ... this.
* sparcobsd-tdep.c: Rename to ...
* sparc-obsd-tdep.c: ... this.
* sparc64fbsd-nat.c: Rename to ...
* sparc64-fbsd-nat.c: ... this.
* sparc64fbsd-tdep.c: Rename to ...
* sparc64-fbsd-tdep.c: ... this.
* sparc64nbsd-nat.c: Rename to ...
* sparc64-nbsd-nat.c: ... this.
* sparc64nbsd-tdep.c: Rename to ...
* sparc64-nbsd-tdep.c: ... this.
* sparc64obsd-nat.c: Rename to ...
* sparc64-obsd-nat.c: ... this.
* sparc64obsd-tdep.c: Rename to ...
* sparc64-obsd-tdep.c: ... this.
* sparc64-tdep.h: Update comments.
* vaxbsd-nat.c: Rename to ...
* vax-bsd-nat.c: ... this.
* vaxnbsd-tdep.c: Rename to ...
* vax-nbsd-tdep.c: ... this.
* vaxobsd-tdep.c: Rename to ...
* vax-obsd-tdep.c: ... this.
* x86bsd-nat.h: Rename to ...
* x86-bsd-nat.h: ... this, adjust include barrier and comment.
* x86bsd-nat.c: Rename to ...
* x86-bsd-nat.c: ... this, adjust include.
* configure.tgt: Update renamed files.
* config/alpha/fbsd.mh: Update renamed files.
* config/alpha/nbsd.mh: Update renamed files.
* config/arm/nbsdelf.mh: Update renamed files.
* config/djgpp/fnchange.lst: Update renamed files.
* config/i386/fbsd.mh: Update renamed files.
* config/i386/fbsd64.mh: Update renamed files.
* config/i386/i386gnu.mh: Update renamed files.
* config/i386/i386sol2.mh: Update renamed files.
* config/i386/nbsd64.mh: Update renamed files.
* config/i386/nbsdelf.mh: Update renamed files.
* config/i386/obsd.mh: Update renamed files.
* config/i386/obsd64.mh: Update renamed files.
* config/i386/sol2-64.mh: Update renamed files.
* config/m68k/linux.mh: Update renamed files.
* config/m68k/nbsdelf.mh: Update renamed files.
* config/m68k/obsd.mh: Update renamed files.
* config/m88k/obsd.mh: Update renamed files.
* config/mips/nbsd.mh: Update renamed files.
* config/mips/obsd64.mh: Update renamed files.
* config/pa/nbsd.mh: Update renamed files.
* config/pa/obsd.mh: Update renamed files.
* config/powerpc/fbsd.mh: Update renamed files.
* config/powerpc/nbsd.mh: Update renamed files.
* config/powerpc/obsd.mh: Update renamed files.
* config/sh/nbsd.mh: Update renamed files.
* config/sparc/fbsd.mh: Update renamed files.
* config/sparc/nbsd64.mh: Update renamed files.
* config/sparc/nbsdelf.mh: Update renamed files.
* config/sparc/obsd64.mh: Update renamed files.
* config/vax/nbsdelf.mh: Update renamed files.
* config/vax/obsd.mh: Update renamed files.
commit b593ecca856860a8b38deb808493bba4beef3aee
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Tue Nov 22 16:14:22 2016 -0500
Makefiles: Flatten and sort file lists
I find the big file lists in the Makefiles a bit ugly and not very
practical. Since there are multiple filenames on each line (as much as
fits in 80 columns), it's not easy to add, remove or change a name in
the middle. As a result, we have a mix of long and short lines in no
particular order (ALL_TARGET_OBS is a good example).
I therefore suggest flattening the lists (one name per line) and keeping
them in alphabetical order. The diffs will be much clearer and merge
conflicts will be easier to resolve.
A nice (IMO) side-effect I observed is that the files are compiled
alphabetically by make, so it gives a rough idea of the progress of the
build.
I added a comment in gdb/Makefile.in to mention to keep the file lists
ordered, and gave the general guidelines on what order to respect. I
added a comment in other Makefiles which refers to gdb/Makefile.in, to
avoid duplication.
Running the patch through the buildbot found that gdb.base/default.exp
started to fail. The languages in the error message shown when typing
"set language" have changed order. We could probably improve gdb so
that it prints them in a stable order, regardless of the order of the
object list passed to the linked, but just fixing the test is easier for
now.
New in v2:
- Change ordering style, directories go at the end.
- Cleanup gdbserver's and data-directory's Makefile as well.
- Add comments at top of Makefiles about the ordering.
- Remove wrong trailing backslahes.
- Fix test gdb.base/default.exp.
gdb/ChangeLog:
* Makefile.in: Add comment about file lists ordering.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_MI_OBS, SUBDIR_MI_SRCS,
SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS, SUBDIR_GCC_COMPILE_OBS,
SUBDIR_GCC_COMPILE_SRCS, SUBDIR_GUILE_OBS, SUBDIR_GUILE_SRCS,
SUBDIR_PYTHON_OBS, SUBDIR_PYTHON_SRCS, SUBDIR_GDBTK_OBS,
SUBDIR_GDBTK_SRCS, XMLFILES, REMOTE_OBS, ALL_64_TARGET_OBS,
ALL_TARGET_OBS, SFILES, HFILES_NO_SRCDIR, HFILES_WITH_SRCDIR,
COMMON_OBS, YYFILES, YYOBJ, generated_files, ALLDEPFILES):
Flatten list and order alphabetically.
* data-directory/Makefile.in: Add comment about file lists
ordering.
(GEN_SYSCALLS_FILES, PYTHON_FILE_LIST): Flatten list and order
alphabetically.
gdb/gdbserver/ChangeLog:
* Makefile.in (SFILES, OBS): Flatten list and order
alphabetically.
gdb/testsuite/ChangeLog:
* gdb.base/default.exp: Fix output of "set language".
commit 1a9ccd70f9a75dc6b48d340059f28ef3550c107b
Author: Nick Clifton <nickc@redhat.com>
Date: Wed Nov 23 11:10:39 2016 +0000
Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries.
PR ld/20815
bfd * elf.c (elf_modify_segment_map): Allow empty LOAD segments if
they contain the program headers.
(_bfd_elf_map_sections_to_segments): If the linker created the
PHDR segment then always attempt to include it in a LOAD segment.
(assign_file_positions_for_non_load_sections): Allow LOAD segments
to overlap PHDR segments.
(phdr_sorter): New function. Sorts program headers.
(assign_file_positions_except_relocs): Sort the program headers
before writing them out. Issue an error if the PHDR segment is
not covered by a LOAD segment, unless the backend allows it.
* elf-bfd.h (struct elf_backend_data): Add
elf_backend_allow_non_load_phdr.
* elfxx-target.h (elf_backend_allow_non_load_phdr): Provide
default definition that returns FALSE.
(elfNN_bed): Initialise the elf_backend_allow_non_load_phdr
field.
* elf64-hppa.c (elf64_hppa_allow_non_load_phdr): New function.
Returns TRUE.
(elf_backend_allow_non_load_phdr): Define.
* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Do not
place the interpreter string into the .interp section if the
nointerp flag is set in the link info structure.
* elf32-arc.c (elf_arc_size_dynamic_sections): Likewise.
* elf32-score7.c (score_elf_final_link_relocate): Allow for the
_gp symbol not being part of the output.
binutils* readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
segments for validity.
ld * ld.texinfo: Note that PT_TLS can be used as a segment type.
* testsuite/ld-discard/discard.ld: Add space for program headers.
* testsuite/ld-elf/flags1.ld: Likewise.
* testsuite/ld-elf/maxpage3.t: Likewise.
* testsuite/ld-elf/noload-1.t: Likewise.
* testsuite/ld-elf/orphan.ld: Likewise.
* testsuite/ld-elf/overlay.t: Likewise.
* testsuite/ld-elf/pr14052.t: Likewise.
* testsuite/ld-elf/pr19539.t: Likewise.
* testsuite/ld-elf/provide-hidden-1.ld: Likewise.
* testsuite/ld-elf/provide-hidden-s.ld: Likewise.
* testsuite/ld-elf/weak-dyn-1.ld: Likewise.
* testsuite/ld-i386/pr19539.t: Likewise.
* testsuite/ld-scripts/defined.t: Likewise.
* testsuite/ld-scripts/defined6.t: Likewise.
* testsuite/ld-scripts/dynamic-sections.t: Likewise.
* testsuite/ld-scripts/empty-aligned.t: Likewise.
* testsuite/ld-scripts/provide-2.t: Likewise.
* testsuite/ld-scripts/provide-4.t: Likewise.
* testsuite/ld-vax-elf/plt-local.ld: Likewise.
* testsuite/ld-x86-64/pr19539.t: Likewise.
* testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
dynamic linker.
* testsuite/ld-elf/ehdr_start-weak.d: Likewise.
* testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
* testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
* testsuite/ld-elf/noload-2.d: Likewise.
* testsuite/ld-powerpc/vxworks2.sd: Likewise.
* testsuite/ld-scripts/phdrs3a.d: Likewise.
* testsuite/ld-scripts/size-2.d: Likewise.
* testsuite/ld-elf/group.ld: Add program headers.
* testsuite/ld-elf/overlay.d: Skip for SPU.
* testsuite/ld-elf/flags1.d: Skip for RX.
* testsuite/ld-elf/pr19162.d: Skip for HPPA64.
* testsuite/ld-elf/pr19539.d: Skip for ALPHA.
* testsuite/ld-scripts/empty-orphan.t: Update program headers.
* testsuite/ld-scripts/size-2.t: Likewise.
commit 128e85e3ab36b8e30f6612fb50de3cbb4ede6824
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Wed Nov 23 03:04:17 2016 -0800
gas: run the hwcaps-bump tests with 64-bit sparc objects only.
gas/ChangeLog:
2016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
* testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
hwcaps-bump test is run with 64-bit objects.
commit 073808edb771952247c6fe634b863986b7627150
Author: Kuan-Lin Chen <kuanlinchentw@gmail.com>
Date: Wed Nov 23 13:18:59 2016 +0800
RISCV/GAS Add missing break in md_apply_fix.
gdb/ChangeLog:
* config/tc-riscv.c: Add missing break.
commit 64f52338e924cce3a205527136e145da660a4686
Author: Alan Modra <amodra@gmail.com>
Date: Wed Nov 23 15:07:17 2016 +1030
elf_backend_dtrel_excludes_plt
Now that all targets creating .rel.plt/.rela.plt use the ELF hash
table shortcut srelplt, the generic ELF code can set up DT_RELSZ/
DT_RELASZ and DT_REL/DT_RELA for targets that don't want PLT relocs
included in those tags.
* elf-bfd.h (struct elf_backend_data): Add dtrel_excludes_plt.
* elfxx-target.h (elf_backend_dtrel_excludes_plt): Define.
(elfNN_bed): Init new field.
* elflink.c (bfd_elf_final_link): Add and use htab variable. Handle
dtrel_excludes_plt.
* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_sections): Delete
DT_RELASZ code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-arc.c (elf_arc_finish_dynamic_sections): Delete DT_RELASZ code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Delete code
subtracting off plt relocs from DT_RELSZ, DT_RELASZ.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-cr16.c (_bfd_cr16_elf_finish_dynamic_sections): Delete
DT_RELASZ code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-cris.c (elf_cris_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Delete DT_RELASZ
and DT_RELA code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-i386.c (elf_i386_finish_dynamic_sections): Delete DT_RELSZ
and DT_REL code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-lm32.c (lm32_elf_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-m32r.c (m32r_elf_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-m68k.c (elf_m68k_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-metag.c (elf_metag_finish_dynamic_sections): Delete DT_RELASZ
and DT_RELA code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Delete
DT_RELASZ and DT_RELA code. Use ELF htab shortcuts for other
dynamic sections.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-mips.c (elf_backend_dtrel_excludes_plt): Define.
* elf32-nds32.c (nds32_elf_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-or1k.c (or1k_elf_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-sh.c (sh_elf_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-sparc.c (elf_backend_dtrel_excludes_plt): Define.
* elf32-vax.c (elf_vax_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Delete DT_RELASZ
and DT_RELA code.
(elf_backend_dtrel_excludes_plt): Define.
* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections): Delete
DT_RELASZ code.
(elf_backend_dtrel_excludes_plt): Define.
* elfnn-ia64.c (elfNN_ia64_finish_dynamic_sections): Delete DT_RELASZ
code.
(elf_backend_dtrel_excludes_plt): Define.
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Delete
DT_RELASZ code.
* elfxx-sparc.c (sparc_finish_dyn): Delete DT_RELASZ code.
commit ce558b89b15a18fd67fdc02a4d410a6d92d2ba63
Author: Alan Modra <amodra@gmail.com>
Date: Wed Nov 23 15:06:34 2016 +1030
Delete duplicate target short-cuts to dynamic sections
We'd like to have the elf_link_hash_table srelplt field rather than
some private target field used to save short-cuts to a PLT relocation
section. This save a little space but mainly is so that the generic
ELF code can access the field. Ditto for other dynamic sections.
* elf-m10300.c (mn10300_elf_check_relocs): Use elf htab shortcuts
to dynamic sections.
(mn10300_elf_final_link_relocate): Likewise.
(_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise.
(_bfd_mn10300_elf_size_dynamic_sections): Likewise.
(_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
(_bfd_mn10300_elf_finish_dynamic_sections): Likewise.
* elf32-bfin.c (bfin_check_relocs): Likewise.
(bfin_relocate_section): Likewise.
(bfin_gc_sweep_hook): Likewise.
(struct bfinfdpic_elf_link_hash_table): Delete sgot, sgotrel, splt
and spltrel.
(bfinfdpic_got_section, bfinfdpic_gotrel_section,
bfinfdpic_plt_section, bfinfdpic_pltrel_section): Define using elf
shortcut sections.
(_bfin_create_got_section): Use elf htab shortcuts to dyn sections.
Delete dead code.
(bfin_finish_dynamic_symbol): Use elf htab shortcuts to dyn sections.
(bfin_size_dynamic_sections): Likewise.
* elf32-cr16.c (_bfd_cr16_elf_create_got_section): Likewise.
(cr16_elf_check_relocs): Likewise.
(cr16_elf_final_link_relocate): Likewise.
(_bfd_cr16_elf_create_dynamic_sections): Likewise.
(_bfd_cr16_elf_adjust_dynamic_symbol): Likewise.
(_bfd_cr16_elf_size_dynamic_sections): Likewise.
(_bfd_cr16_elf_finish_dynamic_symbol): Likewise.
(_bfd_cr16_elf_finish_dynamic_sections): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
(elf_cris_finish_dynamic_symbol): Likewise.
(elf_cris_finish_dynamic_sections): Likewise.
(cris_elf_gc_sweep_hook): Likewise.
(elf_cris_adjust_gotplt_to_got): Likewise.
(elf_cris_adjust_dynamic_symbol): Likewise.
(cris_elf_check_relocs): Likewise. Delete dead code.
(elf_cris_size_dynamic_sections): Use elf htab shortcuts to dynamic
sections.
(elf_cris_discard_excess_program_dynamics): Likewise.
* elf32-frv.c (struct frvfdpic_elf_link_hash_table): Delete sgot,
sgotrel, splt and spltrel.
(frvfdpic_got_section, frvfdpic_gotrel_section,
frvfdpic_plt_section, frvfdpic_pltrel_section): Define using elf
shortcut sections.
(_frv_create_got_section): Likewise.
* elf32-hppa.c (struct elf32_hppa_link_hash_table): Delete sgot,
srelgot, splt and srelplt.
(hppa_build_one_stub): Use elf htab shortcuts to dynamic sections.
(elf32_hppa_create_dynamic_sections): Likewise.
(elf32_hppa_check_relocs): Likewise.
(allocate_plt_static): Likewise.
(allocate_dynrelocs): Likewise.
(elf32_hppa_size_dynamic_sections): Likewise.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(elf32_hppa_finish_dynamic_sections): Likewise.
* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
* elf32-lm32.c (struct elf_lm32_link_hash_table): Delete sgot,
sgotplt, srelgot, splt and srelplt.
(lm32fdpic_got_section, lm32fdpic_gotrel_section): Define using elf
shortcut sections.
(create_got_section): Delete. Use _bfd_elf_create_got_section instead.
(lm32_elf_relocate_section): Use elf htab shortcuts to dyn sections.
(lm32_elf_check_relocs): Likewise.
(lm32_elf_finish_dynamic_sections): Likewise.
(lm32_elf_finish_dynamic_symbol): Likewise.
(allocate_dynrelocs): Likewise.
(lm32_elf_size_dynamic_sections): Likewise.
(lm32_elf_create_dynamic_sections): Likewise.
* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
(m32c_elf_check_relocs): Likewise.
(m32c_elf_finish_dynamic_sections): Likewise.
(m32c_elf_always_size_sections): Likewise.
* elf32-m32r.c (struct elf_m32r_link_hash_table): Delete sgot,
sgotplt, srelgot, splt and srelplt.
(create_got_section): Delete. Use _bfd_elf_create_got_section instead.
(m32r_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
sections.
(allocate_dynrelocs): Likewise.
(m32r_elf_size_dynamic_sections): Likewise.
(m32r_elf_relocate_section): Likewise.
(m32r_elf_finish_dynamic_symbol): Likewise.
(m32r_elf_finish_dynamic_sections): Likewise.
(m32r_elf_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_partition_multi_got): Likewise.
(elf_m68k_check_relocs): Likewise.
(elf_m68k_adjust_dynamic_symbol): Likewise.
(elf_m68k_size_dynamic_sections): Likewise.
(elf_m68k_relocate_section): Likewise.
(elf_m68k_finish_dynamic_symbol): Likewise.
(elf_m68k_finish_dynamic_sections): Likewise.
* elf32-metag.c (struct elf_metag_link_hash_table): Delete sgot,
sgotplt, srelgot, splt and srelplt.
(elf_metag_relocate_section): Use elf htab shortcuts to dynamic
sections.
(elf_metag_create_dynamic_sections): Likewise. Allocate got header
here in .got.
(elf_metag_check_relocs): Use elf htab shortcuts to dynamic sections.
(allocate_dynrelocs): Likewise.
(elf_metag_size_dynamic_sections): Likewise.
(elf_metag_finish_dynamic_symbol): Likewise.
(elf_metag_finish_dynamic_sections): Likewise.
(elf_metag_size_stubs): Likewise.
(elf_backend_got_header_size): Don't define.
(elf_backend_want_got_plt): Define.
* elf32-microblaze.c (struct elf32_mb_link_hash_table): Delete sgot,
sgotplt, srelgot, splt and srelpl.
(microblaze_elf_relocate_section): Use elf htab shortcuts to dynamic
sections.
(create_got_section): Delete. Use _bfd_elf_create_got_section instead.
(microblaze_elf_check_relocs): Use elf htab shortcuts to dyn sections.
(microblaze_elf_create_dynamic_sections): Likewise.
(allocate_dynrelocs): Likewise.
(microblaze_elf_size_dynamic_sections): Likewise.
(microblaze_elf_finish_dynamic_symbol): Likewise.
(microblaze_elf_finish_dynamic_sections): Likewise.
* elf32-nds32.c (nds32_elf_link_hash_table_create): Don't NULL
already zero fields.
(create_got_section): Delete. Use _bfd_elf_create_got_section instead.
(nds32_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
sections.
(allocate_dynrelocs): Likewise.
(nds32_elf_size_dynamic_sections): Likewise.
(nds32_elf_relocate_section): Likewise.
(nds32_elf_finish_dynamic_symbol): Likewise.
(nds32_elf_finish_dynamic_sections): Likewise.
(nds32_elf_check_relocs): Likewise.
(calculate_plt_memory_address): Likewise.
(calculate_got_memory_address): Likewise.
* elf32-nds32.h (struct elf_nds32_link_hash_table): Delete sgot,
sgotplt, srelgot, splt and srelplt.
* elf32-or1k.c (struct elf_or1k_link_hash_table): Likewise.
(or1k_elf_relocate_section): Use elf htab shortcuts to dyn sections.
(create_got_section): Delete. Use _bfd_elf_create_got_section instead.
(or1k_elf_check_relocs): Use elf htab shortcuts to dynamic sections.
(or1k_elf_finish_dynamic_sections): Likewise.
(or1k_elf_finish_dynamic_symbol): Likewise.
(allocate_dynrelocs): Likewise.
(or1k_elf_size_dynamic_sections): Likewise.
(or1k_elf_create_dynamic_sections): Likewise.
* elf32-ppc.c (struct ppc_elf_link_hash_table): Delete got, relgot,
plt, relplt, iplt, reliplt and sgotplt.
(ppc_elf_create_got): Use elf htab shortcuts to dynamic sections.
(ppc_elf_create_glink): Likewise.
(ppc_elf_create_dynamic_sections): Likewise.
(ppc_elf_check_relocs): Likewise.
(ppc_elf_select_plt_layout): Likewise.
(ppc_elf_tls_setup): Likewise.
(allocate_got): Likewise.
(allocate_dynrelocs): Likewise.
(ppc_elf_size_dynamic_sections): Likewise.
(ppc_elf_relax_section): Likewise.
(ppc_elf_relocate_section): Likewise.
(ppc_elf_finish_dynamic_symbol): Likewise.
(ppc_elf_reloc_type_class): Likewise.
(ppc_elf_finish_dynamic_sections): Likewise.
* elf32-rl78.c (rl78_elf_relocate_section): Likewise.
(rl78_elf_check_relocs): Likewise.
(rl78_elf_finish_dynamic_sections): Likewise.
(rl78_elf_always_size_sections): Likewise.
* elf32-s390.c (create_got_section): Delete.
(elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
(elf_s390_check_relocs): Likewise.
* elf32-score.c (score_elf_create_got_section): Set elf shortcuts.
(s3_bfd_score_elf_finish_dynamic_sections): Use elf shortcuts.
* elf32-score7.c (score_elf_create_got_section): As above.
(s7_bfd_score_elf_finish_dynamic_sections): As above.
* elf32-sh.c (struct elf_sh_link_hash_table): Delete sgot,
sgotplt, srelgot, splt and srelplt.
(create_got_section): Don't set them.
(sh_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
sections.
(allocate_dynrelocs): Likewise.
(sh_elf_size_dynamic_sections): Likewise.
(sh_elf_add_rofixup): Likewise.
(sh_elf_relocate_section): Likewise.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol): Likewise.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
* elf32-tilepro.c (tilepro_elf_create_got_section): Likewise.
* elf32-vax.c (elf_vax_check_relocs): Likewise.
(elf_vax_adjust_dynamic_symbol): Likewise.
(elf_vax_always_size_sections): Likewise.
(elf_vax_instantiate_got_entries): Likewise.
(elf_vax_relocate_section): Likewise.
(elf_vax_finish_dynamic_symbol): Likewise.
(elf_vax_finish_dynamic_sections): Likewise.
* elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
(xstormy16_elf_always_size_sections): Likewise.
(xstormy16_elf_relocate_section): Likewise.
(xstormy16_elf_finish_dynamic_sections): Likewise.
* elf32-xtensa.c (struct elf_xtensa_link_hash_table): Delete sgot,
sgotplt, srelgot, splt and srelplt.
(elf_xtensa_create_dynamic_sections): Use elf htab shortcuts to
dynamic sections.
(elf_xtensa_allocate_dynrelocs): Likewise.
(elf_xtensa_allocate_local_got_size): Likewise.
(elf_xtensa_size_dynamic_sections): Likewise.
(elf_xtensa_relocate_section): Likewise.
(elf_xtensa_finish_dynamic_sections): Likewise.
(shrink_dynamic_reloc_sections): Likewise.
(elf_xtensa_get_plt_section): Likewise.
(elf_xtensa_get_gotplt_section): Likewise.
(xtensa_callback_required_dependence): Likewise.
* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Set elf htab
shortcuts to dynamic sections.
(elf64_alpha_adjust_dynamic_symbol): Use elf htab shortcuts to
dynamic sections.
(elf64_alpha_size_plt_section): Likewise.
(elf64_alpha_size_rela_got_1): Likewise.
(elf64_alpha_size_rela_got_section): Likewise.
(elf64_alpha_relocate_section): Likewise.
(elf64_alpha_finish_dynamic_symbol): Likewise.
(elf64_alpha_finish_dynamic_sections): Likewise.
* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
* elf64-s390.c (create_got_section): Delete.
(elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
(elf_s390_check_relocs): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Use elf htab shortcuts to
dynamic sections.
(sh_elf64_check_relocs): Likewise.
(sh64_elf64_adjust_dynamic_symbol): Likewise.
(sh64_elf64_size_dynamic_sections): Likewise.
(sh64_elf64_finish_dynamic_symbol): Likewise.
(sh64_elf64_finish_dynamic_sections): Likewise.
* elflink.c (_bfd_elf_create_got_section): Likewise.
* elfnn-aarch64.c (aarch64_elf_create_got_section): Likewise.
* elfnn-ia64.c (elfNN_ia64_size_dynamic_sections): Likewise.
(elfNN_ia64_finish_dynamic_sections): Likewise.
* elfnn-riscv.c (riscv_elf_create_got_section): Likewise.
* elfxx-mips.c (struct mips_elf_link_hash_table): Delete srellt,
sgotplt, splt and sgot.
(mips_elf_initialize_tls_slots): Use elf htab shortcuts to dynamic
sections.
(mips_elf_gotplt_index): Likewise.
(mips_elf_primary_global_got_index): Likewise.
(mips_elf_global_got_index): Likewise.
(mips_elf_got_offset_from_index): Likewise.
(mips_elf_create_local_got_entry): Likewise.
(mips_elf_create_got_section): Likewise.
(mips_elf_calculate_relocation): Likewise.
(_bfd_mips_elf_create_dynamic_sections): Likewise.
(_bfd_mips_elf_adjust_dynamic_symbol): Likewise.
(mips_elf_lay_out_got): Likewise.
(mips_elf_set_plt_sym_value): Likewise.
(_bfd_mips_elf_size_dynamic_sections): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise.
(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
(mips_finish_exec_plt): Likewise.
(mips_vxworks_finish_exec_plt): Likewise.
(mips_vxworks_finish_shared_plt): Likewise.
(_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (sparc_finish_dyn): Likewise.
* elfxx-tilegx.c (tilegx_elf_create_got_section): Likewise.
commit 3ae0486cdce5d2ed4c922c598a3258fcbd9c8f29
Author: Alan Modra <amodra@gmail.com>
Date: Wed Nov 23 15:04:24 2016 +1030
Regen POTFILES.in
bfd/
* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
gas/
* po/POTFILES.in: Regenerate.
commit 9986ba08876f86f7d36d230afc11b60a34287da8
Author: Pedro Alves <palves@redhat.com>
Date: Thu Nov 17 23:15:34 2016 +0000
gdbserver: Use warning for warnings
gdb/gdbserver/ChangeLog:
2016-11-23 Pedro Alves <palves@redhat.com>
* event-loop.c (handle_file_event): Use warning.
* linux-low.c (linux_resume_one_lwp_throw): Use warning.
* mem-break.c (add_breakpoint_condition, add_breakpoint_commands):
Use warning.
commit 4eefa7bcf286b879f61b9e1ec1c97230f5345104
Author: Pedro Alves <palves@redhat.com>
Date: Fri Nov 18 00:07:10 2016 +0000
gdbserver: Use debug_printf for debug output
gdb/gdbserver/ChangeLog:
2016-11-23 Pedro Alves <palves@redhat.com>
* linux-low.c (check_zombie_leaders): Use debug_printf for debug
output.
* notif.c (handle_notif_ack, notif_event_enque): Likewise.
* remote-utils.c (putpkt_binary_1, readchar, getpkt): Use
debug_printf and debug_flush for debug output.
* server.c (handle_general_set): Likewise.
* thread-db.c (try_thread_db_load): Use debug_printf for debug
output.
commit 400b2f29938dab7d9c4f46c9d1b0dc23dab0518b
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Nov 23 00:00:36 2016 +0000
Automatic date update in version.in
commit 358a971863e93cbafa9e864b4db4d5448b960304
Author: Cary Coutant <ccoutant@gmail.com>
Date: Tue Nov 22 15:44:56 2016 -0800
Print the default for all binary options; clean up --help output.
gold/
PR gold/20346
* options.cc (One_option::print): Print "(default)" when appropriate.
* options.h: Clean up and re-sort options.
(One_option::is_default): New data member.
(One_option::One_option): Add is_default parameter; adjust all calls.
(DEFINE_var): Add is_default__ parameter; adjust all calls.
(DEFINE_bool): Set is_default based on default_value__.
(DEFINE_bool_ignore): New macro.
(--no-eh-frame-hdr): New option.
(--enable-new-dtags): Remove mention of DT_FLAGS.
commit ca3cbe5cd7715d1559d55f8e71be1dd7340f13b1
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Tue Nov 22 16:05:00 2016 +0000
Fix spelling mistakes in comments in shell scripts
gdb/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* contrib/expect-read1.sh: Fix spelling in comments.
* gdb_buildall.sh: Fix spelling in comments.
* gdb_mbuild.sh: Fix spelling in comments.
commit 96fe45624e51f1bb747e36cf8bdaab216f31c5ec
Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Tue Nov 22 15:43:03 2016 +0000
Fix spelling mistakes in comments in configure scripts
All changes are limited to comments, and no run-time behavior is
affected.
bfd/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* warning.m4: Fix spelling in comments.
* configure.ac: Fix spelling in comments.
* configure: Regenerate.
binutils/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* configure: Regenerate.
gdb/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* configure.ac: Fix spelling in comments.
* configure: Regenerate.
gas/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* configure: Regenerate.
gold/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* configure: Regenerate.
gprof/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* configure: Regenerate.
ld/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* configure: Regenerate.
opcodes/ChangeLog:
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* configure: Regenerate.
commit f5ea389ac78ccd7c426a93f43e6117dad9ce0878
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:06 2016 +0000
Change gdbarch software_single_step frame_info to regcache
This patch changes gdbarch method software_single_step's parameter from
"struct frame_info *" to "struct regcache *, IOW, software_single_step
starts to use current regcache rather than current frame for software
single.
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* gdbarch.sh (software_single_step): Change parameter from frame_info
to regcache.
* gdbarch.c, gdbarch.h: Regenerated.
* aarch64-tdep.c (aarch64_software_single_step): Change parameter
from frame_info to regcache. Don't call get_current_regcache.
* alpha-tdep.c (alpha_deal_with_atomic_sequence): Likewise.
(alpha_software_single_step): Likewise.
* alpha-tdep.h (alpha_software_single_step): Update declaration.
* arm-linux-tdep.c (arm_linux_software_single_step): Likewise.
* arm-tdep.c (arm_software_single_step): Likewise.
* arm-tdep.h (arm_software_single_step): Likewise.
* breakpoint.c (insert_single_step_breakpoint): Pass regcache to
gdbarch_software_single_step.
* cris-tdep.c (cris_software_single_step): Change parameter from
frame_info to regcache. Don't call get_current_regcache.
* mips-tdep.c (mips_software_single_step): Likewise.
* mips-tdep.h (mips_software_single_step): Update declaration.
* moxie-tdep.c (moxie_software_single_step): Likewise.
* nios2-tdep.c (nios2_software_single_step): Likewise.
* ppc-tdep.h (ppc_deal_with_atomic_sequence): Update declaration.
* rs6000-aix-tdep.c (rs6000_software_single_step): Likewise.
* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Likewise.
* s390-linux-tdep.c (s390_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* spu-tdep.c (spu_software_single_step): Likewise.
* tic6x-tdep.c (tic6x_software_single_step): Likewise.
commit b2260160f8cde8de118914ddeaf797bea42e65ce
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:05 2016 +0000
gdbarch software_single_step frame_info to regcache: spu
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* spu-tdep.c (spu_software_single_step): Call get_regcache_arch
instead of get_frame_arch. Call regcache_read_pc instead of
get_frame_pc. Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
commit fb090cfa157e35fac1c10c062fd005e38b894ea4
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:05 2016 +0000
gdbarch software_single_step frame_info to regcache: tic6x
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* tic6x-tdep.c (tic6x_condition_true): Replace frame with
regcache. Call regcache_raw_get_signed instead of
get_frame_register_signed.
(tic6x_get_next_pc): Likewise. Caller updated.
commit 41e26ad32d17ee35f79f629654811f5e8656cab8
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:05 2016 +0000
gdbarch software_single_step frame_info to regcache: rs6000
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* rs6000-aix-tdep.c (branch_dest): Replace parameter frame with
regcache. Call get_regcache_arch instead of get_frame_arch.
Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
(rs6000_software_single_step): Likewise.
* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Call
get_regcache_arch instead of get_frame_arch. Call
regcache_read_pc instead of get_frame_pc.
commit ad76968956f30bed6d120e0dfd247034e0855fea
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:05 2016 +0000
gdbarch software_single_step frame_info to regcache: s390
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* s390-linux-tdep.c (s390_software_single_step): Call
get_regcache_arch instead of get_frame_arch. Call
regcache_read_pc instead of get_frame_pc.
commit cd76b525eda02c30c4412698a2ff309b975d417a
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:05 2016 +0000
gdbarch software_single_step frame_info to regcache: sparc
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* sparc-tdep.c (sparc_analyze_control_transfer): Replace parameter
frame with regcache. Call get_current_frame.
(sparc_software_single_step): Call get_regcache_arch instead of
get_frame_arch. Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
commit 3889f4909e0db5f5ca8ca043ef9825f0ad971fd6
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:05 2016 +0000
gdbarch software_single_step frame_info to regcache: nios2
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* nios2-tdep.c (nios2_get_next_pc): Replace parameter frame
with regcache. Call regcache_raw_get_signed instead of
get_frame_register_unsigned.
(nios2_software_single_step): Call get_regcache_arch
instead of get_frame_arch.
commit a8f341826d63a5c216c41e10bf1e4e6c3db3ce65
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:05 2016 +0000
gdbarch software_single_step frame_info to regcache: moxie
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* moxie-tdep.c (moxie_software_single_step): Call
get_regcache_arch instead of get_frame_arch. Call
regcache_read_pc instead of get_frame_pc.
commit 7113a196bac7f1134bcdd79ad3e6badcb5d77f95
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:05 2016 +0000
gdbarch software_single_step frame_info to regcache: mips
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* mips-tdep.c (mips32_bc1_pc): Replace parameter frame with
regcache. Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
(mips32_next_pc): Likewise.
(micromips_bc1_pc): Likewise.
(micromips_next_pc): Likewise.
(extended_mips16_next_pc): Likewise.
(mips16_next_pc): Likewise.
(mips_next_pc): Likewise.
(mips_software_single_step): Call get_regcache_arch instead
of get_frame_arch.
commit 5b6e2eee087cf206d5c2bf1f9523217aaf5938aa
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:04 2016 +0000
gdbarch software_single_step frame_info to regcache: cris
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* cris-tdep.c (find_step_target): Replace parameter frame
with regcache. Call get_regcache_arch instead of
get_frame_arch. Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
(cris_software_single_step): Call get_regcache_arch instead
of get_frame_arch.
commit 7ab2d0874025af6ee858b32c576f2461c0a1df3d
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:04 2016 +0000
gdbarch software_single_step frame_info to regcache: alpha
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* alpha-tdep.c (alpha_deal_with_atomic_sequence): Call
get_regcache_arch instead of get_frame_arch. Call
regcache_read_pc instead of get_frame_pc.
(alpha_next_pc): Replace parameter frame with regcache.
Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
commit 0187a92f57b516f7171e70bec46701cfdaa6c6bd
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:04 2016 +0000
gdbarch software_single_step frame_info to regcache: aarch64
Use regcache in software_single_step.
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* aarch64-tdep.c (aarch64_software_single_step): Call
get_regcache_arch instead of get_frame_arch. Call
regcache_read_pc instead of get_frame_pc.
commit 9fd15b2e80452f03edb3fb36c2b4c36d05f4ef4e
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 14:05:04 2016 +0000
New regcache_raw_get_signed
This patch adds a new regcache api regcache_raw_get_signed.
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* regcache.c (regcache_raw_get_signed): New function.
* regcache.h (regcache_raw_get_signed): Declare.
commit 6884417a0ff3555b192d4aceeacc5e7232cad207
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Tue Nov 22 04:40:37 2016 -0800
gas,opcodes: fix hardware capabilities bumping in the sparc assembler.
When the assembler finds an instruction which is part of a higher
opcode architecture it bumps the current opcode architecture. For
example:
$ echo "mwait" | as -bump
{standard input}: Assembler messages:
{standard input}:1: Warning: architecture bumped from "v6" to "v9m" on "mwait"
However, when two instructions pertaining to the same opcode
architecture but associated to different SPARC hardware capabilities
are found in the input stream, and no GAS architecture is specified in
the command line, the assembler bangs:
$ echo "mwait; wr %g0,%g1,%mcdper" | as -bump
{standard input}: Assembler messages:
{standard input}:1: Warning: architecture bumped from "v6" to "v9m" on "mwait"
{standard input}:1: Error: Hardware capability "sparc5" not enabled for "wr".
... and it should'nt, as WRMCDPER pertains to the same architecture
level than MWAIT.
This patch fixes this by extending the definition of sparc opcode
architectures to contain a set of hardware capabilities and making the
assembler to take these capabilities into account when updating the
set of allowed hwcaps when an architecture bump is triggered by some
instruction.
This way, hwcaps associated to architecture levels are maintained in
opcodes, while the assembler keeps the flexibiity of defining GAS
architectures including additional hwcaps (like -Asparcfmaf or the
v8plus* variants).
A test covering this failure case is included.
gas/ChangeLog:
2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
* config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
opcodes/sparc-opc.c.
(sparc_arch): Clarify the new role of the hwcap_allowed and
hwcap2_allowed fields.
(sparc_arch_table): Remove HWS_* and HWS2_* instances from
hwcap_allowed and hwcap2_allowed respectively.
(md_parse_option): Include the opcode arch hwcaps when processing
-A.
(sparc_ip): Use the current opcode arch hwcaps to update
hwcap_allowed, as well of the hwcaps of the instruction triggering
the bump.
* testsuite/gas/sparc/hwcaps-bump.s: New file.
* testsuite/gas/sparc/hwcaps-bump.l: Likewise.
* testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
hwcaps-bump.
include/ChangeLog:
2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
* opcode/sparc.h (sparc_opcode_arch): New fields hwcaps and
hwcaps2.
opcodes/ChangeLog:
2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
* sparc-opc.c (HWS_V8): Definition moved from
gas/config/tc-sparc.c.
(HWS_V9): Likewise.
(HWS_VA): Likewise.
(HWS_VB): Likewise.
(HWS_VC): Likewise.
(HWS_VD): Likewise.
(HWS_VE): Likewise.
(HWS_VV): Likewise.
(HWS_VM): Likewise.
(HWS2_VM): Likewise.
(sparc_opcode_archs): Initialize hwcaps and hwcaps2 fields of
existing entries.
commit c4b943d7aed5edbfc31aa1e9dc9e7bcf108d76a0
Author: Claudiu Zissulescu <claziss@synopsys.com>
Date: Wed Nov 9 15:30:35 2016 +0100
[ARC] Fix printing 'b' mnemonics.
gas/
2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
* testsuite/gas/arc/b.d: Update test result.
opcode/
2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
* arc-tbl.h: Reorder conditional flags with delay flags for 'b'
instructions.
commit 08dc996fedde9143cda25720961684087b133640
Author: Alan Modra <amodra@gmail.com>
Date: Tue Nov 22 18:45:29 2016 +1030
PR20744, Incorrect PowerPC VLE relocs
VLE 16A and 16D relocs were functionally swapped.
PR 20744
include/
* opcode/ppc.h: Define VLE insns using 16A and 16D relocs.
bfd/
* elf32-ppc.h (struct ppc_elf_params): Add vle_reloc_fixup field.
* elf32-ppc.c: Include opcode/ppc.h.
(ppc_elf_howto_raw): Correct dst_mask for R_PPC_VLE_LO16A,
R_PPC_VLE_LO16D, R_PPC_VLE_HI16A, R_PPC_VLE_HI16D, R_PPC_VLE_HA16A,
R_PPC_VLE_HA16D, R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_LO16D,
R_PPC_VLE_SDAREL_HI16A, R_PPC_VLE_SDAREL_HI16D,
R_PPC_VLE_SDAREL_HA16A, and R_PPC_VLE_SDAREL_HA16D relocs.
(ppc_elf_link_hash_table_create): Update default_params init.
(ppc_elf_vle_split16): Correct shift and mask. Add params.
Report or fix insn/reloc mismatches.
(ppc_elf_relocate_section): Pass input_section, offset and fixup
to ppc_elf_vle_split16.
binutils/
* NEWS: Mention PowerPC VLE relocation error.
gas/
* config/tc-ppc.c: Delete VLE insn defines.
(md_assemble): Swap use_a_reloc and use_d_reloc.
* testsuite/gas/ppc/vle-reloc.d: Update.
ld/
* emultempl/ppc32elf.em (params): Update initializer. Handle
--vle-reloc-fixup command line arg.
commit 95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c
Author: Alan Modra <amodra@gmail.com>
Date: Tue Nov 22 16:27:12 2016 +1030
Use input_bfd in relocate_section
It makes just a little more sense to use input_bfd when retrieving
insns for relocation, since the relocations match the endianness of
the input bfd.
* elf32-ppc.c (ppc64_elf_relocate_section): Calculate d_offset for
input_bfd. Replace occurrences of output_bfd as bfd_get_32 and
bfd_put_32 param with input_bfd.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise. Also
ppc_elf_vle_split16 param.
(ppc_elf_vle_split16): Rename output_bfd param to input_bfd.
commit c5acd8159633cfde315b01431099e1ce5b23dcf7
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 22 08:53:34 2016 +0000
Use VALUE_NEXT_FRAME_ID in value_from_component
We renamed VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID recently,
https://sourceware.org/ml/gdb-patches/2016-11/msg00018.html
and we should use VALUE_NEXT_FRAME_ID in value_from_component
too.
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* value.c (value_from_component): Use VALUE_NEXT_FRAME_ID
instead of VALUE_FROM_ID.
commit 3063babf7c559f04203ad7fdfcd8fc12a302ee7a
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Tue Nov 22 00:00:15 2016 +0000
Automatic date update in version.in
commit c13b08dbbcf752480a7621aa1f89bc5440c74c25
Author: Cary Coutant <ccoutant@gmail.com>
Date: Mon Nov 21 14:05:40 2016 -0800
Fix bug where -u option with empty archive results in internal error.
gold/
PR gold/20693
* gold.cc (queue_middle_tasks): Force valid target earlier.
commit d0de53e251ce60057d91536a4c71740b047be040
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Mon Nov 21 16:05:57 2016 -0500
Add missing POSTCOMPILE step to mi/ file generation rules
A little oversight from my part, it caused the Makefile not to track
the dependencies from mi/*.c files.
gdb/ChangeLog:
* Makefile.in (%o: $(srcdir)/mi/%.c): Add missing POSTCOMPILE
step.
commit b32e1756d9932eebcca5f276290841a859ef2d6d
Author: Igor Kudrin <ikudrin@accesssoftek.com>
Date: Mon Nov 21 09:59:37 2016 -0800
Add --build-id=uuid support for MinGW32.
2016-11-21 Igor Kudrin <ikudrin@accesssoftek.com>
gold/
* layout.cc: Include windows.h and rpcdce.h (for MinGW32).
(Layout::create_build_id): Generate uuid using UuidCreate().
commit b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Mon Nov 21 15:59:42 2016 +0000
BFD/DWARF2: Correct an `index' global shadowing error
Fix a commit 089e3718bd8d ("Greatly improve the speed if looking up
DWARF line number information.") build regression:
cc1: warnings being treated as errors
.../bfd/dwarf2.c: In function 'build_line_info_table':
.../bfd/dwarf2.c:1614: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
.../bfd/dwarf2.c: In function 'build_lookup_funcinfo_table':
.../bfd/dwarf2.c:2262: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
make[4]: *** [dwarf2.lo] Error 1
in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").
bfd/
* dwarf2.c (build_line_info_table): Rename `index' local
variable to `line_index'.
(build_lookup_funcinfo_table): Rename `index' local variable to
`func_index'.
commit 3fff9862d5229def9318912c2de64a03dab74532
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Nov 21 14:15:06 2016 +0000
Create subobject value in pretty printer
Nowadays, we create a value of subobject in pretty printer with 'address'
being used,
value = value_from_contents_and_address (type, valaddr + embedded_offset,
address + embedded_offset);
set_value_component_location (value, val);
/* set_value_component_location resets the address, so we may
need to set it again. */
if (VALUE_LVAL (value) != lval_internalvar
&& VALUE_LVAL (value) != lval_internalvar_component
&& VALUE_LVAL (value) != lval_computed)
set_value_address (value, address + embedded_offset);
value_from_contents_and_address creates a value from memory, but the
value we are pretty-printing may not from memory at all.
Instead of using value_from_contents_and_address, we create a value
of subobject with the same location as object's but different offset.
We avoid using address in this way. As a result, parameter 'address'
in apply_val_pretty_printer is no longer needed, we can remove it in
next step.
We've already had the location of the 'whole' value, so it is safe
to assume we can create a value of 'component' or 'suboject' value
at the same location but with different offset.
gdb:
2016-11-21 Yao Qi <yao.qi@linaro.org>
* guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
Don't call value_from_contents_and_address and
set_value_address. Call value_from_component.
* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
Likewise.
* value.c (value_from_component): New function.
* value.h (value_from_component): Likewise.
* valarith.c (value_subscripted_rvalue): Call
value_from_component.
commit 5689c9424b33aac68c4762ce0bda09ca7e3affe0
Author: Renlin Li <renlin.li@arm.com>
Date: Mon Nov 21 12:06:04 2016 +0000
[GAS][ARM][PR20827]Fix gas error for two register form instruction (pre-UAL syntax).
gas/
2016-11-21 Renlin Li <renlin.li@arm.com>
PR gas/20827
* config/tc-arm.c (encode_arm_shift): Don't assert for operands not
presented.
* testsuite/gas/arm/add-shift-two.d: New.
* testsuite/gas/arm/add-shift-two.s: New.
commit 2d7f2507d4d26430da7e32e8fc75f045f634fced
Author: Alan Modra <amodra@gmail.com>
Date: Mon Nov 21 20:18:41 2016 +1030
Use ACX_PROG_CMP_IGNORE_INITIAL in gas
* configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
* Makefile.am (comparison): Rewrite using do_compare.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
commit 081f6b931dbc4a1f27ac003e2f75a389444ce9e9
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Nov 21 00:00:33 2016 +0000
Automatic date update in version.in
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 416 ++++++
bfd/configure | 4 +-
bfd/configure.ac | 2 +-
bfd/dwarf2.c | 20 +-
bfd/elf-bfd.h | 9 +
bfd/elf-m10300.c | 66 +-
bfd/elf.c | 125 ++-
bfd/elf32-arc.c | 10 +-
bfd/elf32-arm.c | 29 +-
bfd/elf32-bfin.c | 88 +-
bfd/elf32-cr16.c | 80 +-
bfd/elf32-cris.c | 147 +--
bfd/elf32-frv.c | 31 +-
bfd/elf32-hppa.c | 194 ++--
bfd/elf32-i370.c | 44 +-
bfd/elf32-i386.c | 26 +-
bfd/elf32-lm32.c | 128 +--
bfd/elf32-m32c.c | 37 +-
bfd/elf32-m32r.c | 114 +--
bfd/elf32-m68k.c | 130 +--
bfd/elf32-metag.c | 204 ++--
bfd/elf32-microblaze.c | 282 ++---
bfd/elf32-mips.c | 2 +
bfd/elf32-nds32.c | 136 +--
bfd/elf32-nds32.h | 5 -
bfd/elf32-nios2.c | 15 +-
bfd/elf32-or1k.c | 138 +--
bfd/elf32-ppc.c | 503 ++++----
bfd/elf32-ppc.h | 3 +
bfd/elf32-rl78.c | 36 +-
bfd/elf32-s390.c | 27 +-
bfd/elf32-score.c | 7 +-
bfd/elf32-score7.c | 16 +-
bfd/elf32-sh.c | 161 +--
bfd/elf32-sparc.c | 2 +
bfd/elf32-tic6x.c | 6 +-
bfd/elf32-tilepro.c | 3 +-
bfd/elf32-vax.c | 105 +--
bfd/elf32-xstormy16.c | 40 +-
bfd/elf32-xtensa.c | 93 +-
bfd/elf64-alpha.c | 51 +-
bfd/elf64-hppa.c | 34 +-
bfd/elf64-ppc.c | 86 +-
bfd/elf64-s390.c | 30 +-
bfd/elf64-sh64.c | 116 +--
bfd/elf64-x86-64.c | 16 +-
bfd/elfcode.h | 4 +-
bfd/elflink.c | 75 +-
bfd/elfnn-aarch64.c | 19 +-
bfd/elfnn-ia64.c | 19 +-
bfd/elfnn-riscv.c | 3 +-
bfd/elfxx-mips.c | 184 ++--
bfd/elfxx-sparc.c | 53 +-
bfd/elfxx-target.h | 10 +
bfd/elfxx-tilegx.c | 3 +-
bfd/po/BLD-POTFILES.in | 2 +
bfd/po/SRC-POTFILES.in | 2 +
bfd/version.h | 2 +-
bfd/warning.m4 | 2 +-
binutils/ChangeLog | 15 +
binutils/NEWS | 15 +-
binutils/configure | 2 +-
binutils/readelf.c | 41 +-
gas/ChangeLog | 62 +
gas/Makefile.am | 18 +-
gas/Makefile.in | 19 +-
gas/config/tc-arm.c | 7 +-
gas/config/tc-ppc.c | 20 +-
gas/config/tc-riscv.c | 1 +
gas/config/tc-sparc.c | 112 +-
gas/configure | 37 +-
gas/configure.ac | 1 +
gas/doc/Makefile.in | 1 +
gas/po/POTFILES.in | 2 +
gas/testsuite/gas/arc/b.d | 4 +-
gas/testsuite/gas/arm/add-shift-two.d | 11 +
gas/testsuite/gas/arm/add-shift-two.s | 5 +
gas/testsuite/gas/ppc/vle-reloc.d | 146 +-
gas/testsuite/gas/sparc/hwcaps-bump.l | 2 +
gas/testsuite/gas/sparc/hwcaps-bump.s | 5 +
gas/testsuite/gas/sparc/sparc.exp | 1 +
gdb/ChangeLog | 428 ++++++
gdb/Makefile.in | 1640 +++++++++++++++++------
gdb/aarch64-tdep.c | 6 +-
gdb/{alphabsd-nat.c => alpha-bsd-nat.c} | 2 +-
gdb/{alphabsd-tdep.c => alpha-bsd-tdep.c} | 2 +-
gdb/{alphabsd-tdep.h => alpha-bsd-tdep.h} | 8 +-
gdb/{alphafbsd-tdep.c => alpha-fbsd-tdep.c} | 0
gdb/{alphanbsd-tdep.c => alpha-nbsd-tdep.c} | 2 +-
gdb/{alphaobsd-tdep.c => alpha-obsd-tdep.c} | 2 +-
gdb/alpha-tdep.c | 22 +-
gdb/alpha-tdep.h | 2 +-
gdb/{amd64bsd-nat.c => amd64-bsd-nat.c} | 2 +-
gdb/{amd64fbsd-nat.c => amd64-fbsd-nat.c} | 4 +-
gdb/{amd64fbsd-tdep.c => amd64-fbsd-tdep.c} | 2 +-
gdb/{amd64nbsd-nat.c => amd64-nbsd-nat.c} | 0
gdb/{amd64nbsd-tdep.c => amd64-nbsd-tdep.c} | 0
gdb/{amd64obsd-nat.c => amd64-obsd-nat.c} | 0
gdb/{amd64obsd-tdep.c => amd64-obsd-tdep.c} | 0
gdb/amd64-tdep.h | 6 +-
gdb/{armbsd-tdep.c => arm-bsd-tdep.c} | 0
gdb/arm-linux-tdep.c | 3 +-
gdb/{armnbsd-nat.c => arm-nbsd-nat.c} | 0
gdb/{armnbsd-tdep.c => arm-nbsd-tdep.c} | 0
gdb/{armobsd-tdep.c => arm-obsd-tdep.c} | 0
gdb/arm-tdep.c | 3 +-
gdb/arm-tdep.h | 4 +-
gdb/breakpoint.c | 5 +-
gdb/common/run-time-clock.c | 58 +
gdb/common/run-time-clock.h | 75 +
gdb/config/alpha/fbsd.mh | 2 +-
gdb/config/alpha/nbsd.mh | 2 +-
gdb/config/arm/nbsdelf.mh | 2 +-
gdb/config/djgpp/fnchange.lst | 96 +-
gdb/config/i386/fbsd.mh | 4 +-
gdb/config/i386/fbsd64.mh | 4 +-
gdb/config/i386/i386gnu.mh | 2 +-
gdb/config/i386/i386sol2.mh | 2 +-
gdb/config/i386/nbsd64.mh | 2 +-
gdb/config/i386/nbsdelf.mh | 2 +-
gdb/config/i386/obsd.mh | 2 +-
gdb/config/i386/obsd64.mh | 2 +-
gdb/config/i386/sol2-64.mh | 2 +-
gdb/config/m68k/linux.mh | 2 +-
gdb/config/m68k/nbsdelf.mh | 2 +-
gdb/config/m68k/obsd.mh | 2 +-
gdb/config/m88k/obsd.mh | 2 +-
gdb/config/mips/nbsd.mh | 2 +-
gdb/config/mips/obsd64.mh | 2 +-
gdb/config/pa/nbsd.mh | 2 +-
gdb/config/pa/obsd.mh | 2 +-
gdb/config/powerpc/fbsd.mh | 2 +-
gdb/config/powerpc/nbsd.mh | 2 +-
gdb/config/powerpc/obsd.mh | 2 +-
gdb/config/sh/nbsd.mh | 2 +-
gdb/config/sparc/fbsd.mh | 2 +-
gdb/config/sparc/nbsd64.mh | 2 +-
gdb/config/sparc/nbsdelf.mh | 2 +-
gdb/config/sparc/obsd64.mh | 2 +-
gdb/config/vax/nbsdelf.mh | 2 +-
gdb/config/vax/obsd.mh | 2 +-
gdb/configure | 2 +-
gdb/configure.ac | 2 +-
gdb/configure.tgt | 80 +-
gdb/contrib/expect-read1.sh | 2 +-
gdb/cris-tdep.c | 14 +-
gdb/data-directory/Makefile.in | 39 +-
gdb/defs.h | 14 -
gdb/event-loop.c | 94 +-
gdb/gdb_buildall.sh | 2 +-
gdb/gdb_mbuild.sh | 4 +-
gdb/gdbarch.c | 4 +-
gdb/gdbarch.h | 4 +-
gdb/gdbarch.sh | 2 +-
gdb/gdbserver/ChangeLog | 36 +
gdb/gdbserver/Makefile.in | 170 ++-
gdb/gdbserver/debug.c | 16 +-
gdb/gdbserver/event-loop.c | 2 +-
gdb/gdbserver/linux-low.c | 13 +-
gdb/gdbserver/mem-break.c | 6 +-
gdb/gdbserver/notif.c | 8 +-
gdb/gdbserver/remote-utils.c | 32 +-
gdb/gdbserver/server.c | 17 +-
gdb/gdbserver/thread-db.c | 3 +-
gdb/gdbserver/tracepoint.c | 10 +-
gdb/guile/scm-pretty-print.c | 11 +-
gdb/{hppabsd-tdep.c => hppa-bsd-tdep.c} | 2 +-
gdb/{hppabsd-tdep.h => hppa-bsd-tdep.h} | 6 +-
gdb/{hppanbsd-nat.c => hppa-nbsd-nat.c} | 0
gdb/{hppanbsd-tdep.c => hppa-nbsd-tdep.c} | 2 +-
gdb/{hppaobsd-nat.c => hppa-obsd-nat.c} | 0
gdb/{hppaobsd-tdep.c => hppa-obsd-tdep.c} | 2 +-
gdb/{i386bsd-nat.c => i386-bsd-nat.c} | 6 +-
gdb/{i386bsd-nat.h => i386-bsd-nat.h} | 6 +-
gdb/{i386bsd-tdep.c => i386-bsd-tdep.c} | 0
gdb/{i386fbsd-nat.c => i386-fbsd-nat.c} | 4 +-
gdb/{i386fbsd-tdep.c => i386-fbsd-tdep.c} | 2 +-
gdb/{i386fbsd-tdep.h => i386-fbsd-tdep.h} | 6 +-
gdb/{i386gnu-nat.c => i386-gnu-nat.c} | 0
gdb/{i386gnu-tdep.c => i386-gnu-tdep.c} | 0
gdb/{i386nbsd-nat.c => i386-nbsd-nat.c} | 2 +-
gdb/{i386nbsd-tdep.c => i386-nbsd-tdep.c} | 0
gdb/{i386obsd-nat.c => i386-obsd-nat.c} | 2 +-
gdb/{i386obsd-tdep.c => i386-obsd-tdep.c} | 0
gdb/i386-tdep.h | 2 +-
gdb/{i386v4-nat.c => i386-v4-nat.c} | 0
gdb/{m68kbsd-nat.c => m68k-bsd-nat.c} | 0
gdb/{m68kbsd-tdep.c => m68k-bsd-tdep.c} | 0
gdb/{m68klinux-nat.c => m68k-linux-nat.c} | 0
gdb/{m68klinux-tdep.c => m68k-linux-tdep.c} | 0
gdb/m68k-tdep.h | 2 +-
gdb/{m88kbsd-nat.c => m88k-bsd-nat.c} | 0
gdb/maint.c | 31 +-
gdb/maint.h | 7 +-
gdb/mi/mi-main.c | 73 +-
gdb/mi/mi-parse.h | 12 +-
gdb/{mipsnbsd-nat.c => mips-nbsd-nat.c} | 2 +-
gdb/{mipsnbsd-tdep.c => mips-nbsd-tdep.c} | 2 +-
gdb/{mipsnbsd-tdep.h => mips-nbsd-tdep.h} | 6 +-
gdb/mips-tdep.c | 141 +-
gdb/mips-tdep.h | 2 +-
gdb/{mips64obsd-nat.c => mips64-obsd-nat.c} | 0
gdb/{mips64obsd-tdep.c => mips64-obsd-tdep.c} | 0
gdb/moxie-tdep.c | 7 +-
gdb/nios2-tdep.c | 26 +-
gdb/{ppcfbsd-nat.c => ppc-fbsd-nat.c} | 2 +-
gdb/{ppcfbsd-tdep.c => ppc-fbsd-tdep.c} | 2 +-
gdb/{ppcfbsd-tdep.h => ppc-fbsd-tdep.h} | 8 +-
gdb/{ppcnbsd-nat.c => ppc-nbsd-nat.c} | 2 +-
gdb/{ppcnbsd-tdep.c => ppc-nbsd-tdep.c} | 2 +-
gdb/{ppcnbsd-tdep.h => ppc-nbsd-tdep.h} | 6 +-
gdb/{ppcobsd-nat.c => ppc-obsd-nat.c} | 2 +-
gdb/{ppcobsd-tdep.c => ppc-obsd-tdep.c} | 2 +-
gdb/{ppcobsd-tdep.h => ppc-obsd-tdep.h} | 6 +-
gdb/ppc-tdep.h | 2 +-
gdb/python/py-prettyprint.c | 11 +-
gdb/regcache.c | 13 +
gdb/regcache.h | 6 +
gdb/rs6000-aix-tdep.c | 35 +-
gdb/rs6000-tdep.c | 7 +-
gdb/s390-linux-tdep.c | 7 +-
gdb/{shnbsd-nat.c => sh-nbsd-nat.c} | 0
gdb/{shnbsd-tdep.c => sh-nbsd-tdep.c} | 0
gdb/{sparcnbsd-nat.c => sparc-nbsd-nat.c} | 0
gdb/{sparcnbsd-tdep.c => sparc-nbsd-tdep.c} | 0
gdb/{sparcobsd-tdep.c => sparc-obsd-tdep.c} | 0
gdb/sparc-tdep.c | 18 +-
gdb/{sparc64fbsd-nat.c => sparc64-fbsd-nat.c} | 0
gdb/{sparc64fbsd-tdep.c => sparc64-fbsd-tdep.c} | 0
gdb/{sparc64nbsd-nat.c => sparc64-nbsd-nat.c} | 0
gdb/{sparc64nbsd-tdep.c => sparc64-nbsd-tdep.c} | 0
gdb/{sparc64obsd-nat.c => sparc64-obsd-nat.c} | 0
gdb/{sparc64obsd-tdep.c => sparc64-obsd-tdep.c} | 0
gdb/sparc64-tdep.h | 4 +-
gdb/spu-tdep.c | 10 +-
gdb/symfile.c | 39 +-
gdb/testsuite/ChangeLog | 4 +
gdb/testsuite/gdb.base/default.exp | 2 +-
gdb/tic6x-tdep.c | 24 +-
gdb/utils.c | 58 +-
gdb/utils.h | 3 +-
gdb/valarith.c | 17 +-
gdb/value.c | 25 +
gdb/value.h | 2 +
gdb/{vaxbsd-nat.c => vax-bsd-nat.c} | 0
gdb/{vaxnbsd-tdep.c => vax-nbsd-tdep.c} | 0
gdb/{vaxobsd-tdep.c => vax-obsd-tdep.c} | 0
gdb/{x86bsd-nat.c => x86-bsd-nat.c} | 2 +-
gdb/{x86bsd-nat.h => x86-bsd-nat.h} | 6 +-
gold/ChangeLog | 27 +
gold/configure | 2 +-
gold/gold.cc | 16 +-
gold/layout.cc | 25 +
gold/options.cc | 8 +-
gold/options.h | 522 +++++---
gprof/ChangeLog | 4 +
gprof/configure | 2 +-
include/ChangeLog | 10 +
include/opcode/ppc.h | 17 +
include/opcode/sparc.h | 4 +
ld/ChangeLog | 53 +
ld/configure | 2 +-
ld/emultempl/ppc32elf.em | 11 +-
ld/ld.texinfo | 3 +
ld/testsuite/ld-arm/vxworks2.sd | 2 +-
ld/testsuite/ld-discard/discard.ld | 1 +
ld/testsuite/ld-elf/ehdr_start-missing.d | 2 +-
ld/testsuite/ld-elf/ehdr_start-weak.d | 2 +-
ld/testsuite/ld-elf/elf.exp | 4 +-
ld/testsuite/ld-elf/flags1.d | 1 +
ld/testsuite/ld-elf/flags1.ld | 1 +
ld/testsuite/ld-elf/group.ld | 8 +-
ld/testsuite/ld-elf/loadaddr1.d | 2 +-
ld/testsuite/ld-elf/maxpage3.t | 1 +
ld/testsuite/ld-elf/noload-1.t | 1 +
ld/testsuite/ld-elf/noload-2.d | 2 +-
ld/testsuite/ld-elf/orphan.ld | 1 +
ld/testsuite/ld-elf/overlay.d | 2 +
ld/testsuite/ld-elf/overlay.t | 3 +-
ld/testsuite/ld-elf/pr14052.t | 1 +
ld/testsuite/ld-elf/pr19162.d | 2 +-
ld/testsuite/ld-elf/pr19539.d | 2 +-
ld/testsuite/ld-elf/pr19539.t | 5 +
ld/testsuite/ld-elf/provide-hidden-1.ld | 1 +
ld/testsuite/ld-elf/provide-hidden-s.ld | 1 +
ld/testsuite/ld-elf/weak-dyn-1.ld | 1 +
ld/testsuite/ld-i386/pr19539.t | 5 +
ld/testsuite/ld-powerpc/vxworks2.sd | 2 +-
ld/testsuite/ld-scripts/defined.t | 1 +
ld/testsuite/ld-scripts/defined6.t | 1 +
ld/testsuite/ld-scripts/dynamic-sections.t | 1 +
ld/testsuite/ld-scripts/empty-aligned.t | 1 +
ld/testsuite/ld-scripts/empty-orphan.t | 6 +-
ld/testsuite/ld-scripts/phdrs3a.d | 2 +-
ld/testsuite/ld-scripts/provide-2.t | 1 +
ld/testsuite/ld-scripts/provide-4.t | 1 +
ld/testsuite/ld-scripts/size-2.d | 4 +-
ld/testsuite/ld-scripts/size-2.t | 4 +-
ld/testsuite/ld-vax-elf/plt-local.ld | 2 +-
ld/testsuite/ld-x86-64/pr19539.t | 5 +
opcodes/ChangeLog | 25 +
opcodes/arc-tbl.h | 2 +-
opcodes/configure | 2 +-
opcodes/sparc-opc.c | 49 +-
304 files changed, 5399 insertions(+), 3892 deletions(-)
create mode 100644 gas/testsuite/gas/arm/add-shift-two.d
create mode 100644 gas/testsuite/gas/arm/add-shift-two.s
create mode 100644 gas/testsuite/gas/sparc/hwcaps-bump.l
create mode 100644 gas/testsuite/gas/sparc/hwcaps-bump.s
rename gdb/{alphabsd-nat.c => alpha-bsd-nat.c} (99%)
rename gdb/{alphabsd-tdep.c => alpha-bsd-tdep.c} (98%)
rename gdb/{alphabsd-tdep.h => alpha-bsd-tdep.h} (91%)
rename gdb/{alphafbsd-tdep.c => alpha-fbsd-tdep.c} (100%)
rename gdb/{alphanbsd-tdep.c => alpha-nbsd-tdep.c} (99%)
rename gdb/{alphaobsd-tdep.c => alpha-obsd-tdep.c} (99%)
rename gdb/{amd64bsd-nat.c => amd64-bsd-nat.c} (99%)
rename gdb/{amd64fbsd-nat.c => amd64-fbsd-nat.c} (98%)
rename gdb/{amd64fbsd-tdep.c => amd64-fbsd-tdep.c} (99%)
rename gdb/{amd64nbsd-nat.c => amd64-nbsd-nat.c} (100%)
rename gdb/{amd64nbsd-tdep.c => amd64-nbsd-tdep.c} (100%)
rename gdb/{amd64obsd-nat.c => amd64-obsd-nat.c} (100%)
rename gdb/{amd64obsd-tdep.c => amd64-obsd-tdep.c} (100%)
rename gdb/{armbsd-tdep.c => arm-bsd-tdep.c} (100%)
rename gdb/{armnbsd-nat.c => arm-nbsd-nat.c} (100%)
rename gdb/{armnbsd-tdep.c => arm-nbsd-tdep.c} (100%)
rename gdb/{armobsd-tdep.c => arm-obsd-tdep.c} (100%)
create mode 100644 gdb/common/run-time-clock.c
create mode 100644 gdb/common/run-time-clock.h
mode change 100644 => 100755 gdb/contrib/expect-read1.sh
rename gdb/{hppabsd-tdep.c => hppa-bsd-tdep.c} (99%)
rename gdb/{hppabsd-tdep.h => hppa-bsd-tdep.h} (91%)
rename gdb/{hppanbsd-nat.c => hppa-nbsd-nat.c} (100%)
rename gdb/{hppanbsd-tdep.c => hppa-nbsd-tdep.c} (99%)
rename gdb/{hppaobsd-nat.c => hppa-obsd-nat.c} (100%)
rename gdb/{hppaobsd-tdep.c => hppa-obsd-tdep.c} (99%)
rename gdb/{i386bsd-nat.c => i386-bsd-nat.c} (98%)
rename gdb/{i386bsd-nat.h => i386-bsd-nat.h} (92%)
rename gdb/{i386bsd-tdep.c => i386-bsd-tdep.c} (100%)
rename gdb/{i386fbsd-nat.c => i386-fbsd-nat.c} (99%)
rename gdb/{i386fbsd-tdep.c => i386-fbsd-tdep.c} (99%)
rename gdb/{i386fbsd-tdep.h => i386-fbsd-tdep.h} (93%)
rename gdb/{i386gnu-nat.c => i386-gnu-nat.c} (100%)
rename gdb/{i386gnu-tdep.c => i386-gnu-tdep.c} (100%)
rename gdb/{i386nbsd-nat.c => i386-nbsd-nat.c} (99%)
rename gdb/{i386nbsd-tdep.c => i386-nbsd-tdep.c} (100%)
rename gdb/{i386obsd-nat.c => i386-obsd-nat.c} (99%)
rename gdb/{i386obsd-tdep.c => i386-obsd-tdep.c} (100%)
rename gdb/{i386v4-nat.c => i386-v4-nat.c} (100%)
rename gdb/{m68kbsd-nat.c => m68k-bsd-nat.c} (100%)
rename gdb/{m68kbsd-tdep.c => m68k-bsd-tdep.c} (100%)
rename gdb/{m68klinux-nat.c => m68k-linux-nat.c} (100%)
rename gdb/{m68klinux-tdep.c => m68k-linux-tdep.c} (100%)
rename gdb/{m88kbsd-nat.c => m88k-bsd-nat.c} (100%)
rename gdb/{mipsnbsd-nat.c => mips-nbsd-nat.c} (99%)
rename gdb/{mipsnbsd-tdep.c => mips-nbsd-tdep.c} (99%)
rename gdb/{mipsnbsd-tdep.h => mips-nbsd-tdep.h} (93%)
rename gdb/{mips64obsd-nat.c => mips64-obsd-nat.c} (100%)
rename gdb/{mips64obsd-tdep.c => mips64-obsd-tdep.c} (100%)
rename gdb/{ppcfbsd-nat.c => ppc-fbsd-nat.c} (99%)
rename gdb/{ppcfbsd-tdep.c => ppc-fbsd-tdep.c} (99%)
rename gdb/{ppcfbsd-tdep.h => ppc-fbsd-tdep.h} (89%)
rename gdb/{ppcnbsd-nat.c => ppc-nbsd-nat.c} (99%)
rename gdb/{ppcnbsd-tdep.c => ppc-nbsd-tdep.c} (99%)
rename gdb/{ppcnbsd-tdep.h => ppc-nbsd-tdep.h} (93%)
rename gdb/{ppcobsd-nat.c => ppc-obsd-nat.c} (99%)
rename gdb/{ppcobsd-tdep.c => ppc-obsd-tdep.c} (99%)
rename gdb/{ppcobsd-tdep.h => ppc-obsd-tdep.h} (95%)
rename gdb/{shnbsd-nat.c => sh-nbsd-nat.c} (100%)
rename gdb/{shnbsd-tdep.c => sh-nbsd-tdep.c} (100%)
rename gdb/{sparcnbsd-nat.c => sparc-nbsd-nat.c} (100%)
rename gdb/{sparcnbsd-tdep.c => sparc-nbsd-tdep.c} (100%)
rename gdb/{sparcobsd-tdep.c => sparc-obsd-tdep.c} (100%)
rename gdb/{sparc64fbsd-nat.c => sparc64-fbsd-nat.c} (100%)
rename gdb/{sparc64fbsd-tdep.c => sparc64-fbsd-tdep.c} (100%)
rename gdb/{sparc64nbsd-nat.c => sparc64-nbsd-nat.c} (100%)
rename gdb/{sparc64nbsd-tdep.c => sparc64-nbsd-tdep.c} (100%)
rename gdb/{sparc64obsd-nat.c => sparc64-obsd-nat.c} (100%)
rename gdb/{sparc64obsd-tdep.c => sparc64-obsd-tdep.c} (100%)
rename gdb/{vaxbsd-nat.c => vax-bsd-nat.c} (100%)
rename gdb/{vaxnbsd-tdep.c => vax-nbsd-tdep.c} (100%)
rename gdb/{vaxobsd-tdep.c => vax-obsd-tdep.c} (100%)
rename gdb/{x86bsd-nat.c => x86-bsd-nat.c} (99%)
rename gdb/{x86bsd-nat.h => x86-bsd-nat.h} (93%)
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f28351d..346ff29 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,419 @@
+2016-11-23 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20815
+ * elf.c (elf_modify_segment_map): Allow empty LOAD segments if
+ they contain the program headers.
+ (_bfd_elf_map_sections_to_segments): If the linker created the
+ PHDR segment then always attempt to include it in a LOAD segment.
+ (assign_file_positions_for_non_load_sections): Allow LOAD segments
+ to overlap PHDR segments.
+ (phdr_sorter): New function. Sorts program headers.
+ (assign_file_positions_except_relocs): Sort the program headers
+ before writing them out. Issue an error if the PHDR segment is
+ not covered by a LOAD segment, unless the backend allows it.
+ * elf-bfd.h (struct elf_backend_data): Add
+ elf_backend_allow_non_load_phdr.
+ * elfxx-target.h (elf_backend_allow_non_load_phdr): Provide
+ default definition that returns FALSE.
+ (elfNN_bed): Initialise the elf_backend_allow_non_load_phdr
+ field.
+ * elf64-hppa.c (elf64_hppa_allow_non_load_phdr): New function.
+ Returns TRUE.
+ (elf_backend_allow_non_load_phdr): Define.
+ * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Do not
+ place the interpreter string into the .interp section if the
+ nointerp flag is set in the link info structure.
+ * elf32-arc.c (elf_arc_size_dynamic_sections): Likewise.
+ * elf32-score7.c (score_elf_final_link_relocate): Allow for the
+ _gp symbol not being part of the output.
+
+2016-11-23 Alan Modra <amodra@gmail.com>
+
+ * elf-bfd.h (struct elf_backend_data): Add dtrel_excludes_plt.
+ * elfxx-target.h (elf_backend_dtrel_excludes_plt): Define.
+ (elfNN_bed): Init new field.
+ * elflink.c (bfd_elf_final_link): Add and use htab variable. Handle
+ dtrel_excludes_plt.
+ * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_sections): Delete
+ DT_RELASZ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-arc.c (elf_arc_finish_dynamic_sections): Delete DT_RELASZ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-arm.c (elf32_arm_finish_dynamic_sections): Delete code
+ subtracting off plt relocs from DT_RELSZ, DT_RELASZ.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-cr16.c (_bfd_cr16_elf_finish_dynamic_sections): Delete
+ DT_RELASZ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-cris.c (elf_cris_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Delete DT_RELASZ
+ and DT_RELA code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-i386.c (elf_i386_finish_dynamic_sections): Delete DT_RELSZ
+ and DT_REL code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-lm32.c (lm32_elf_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-m32r.c (m32r_elf_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-m68k.c (elf_m68k_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-metag.c (elf_metag_finish_dynamic_sections): Delete DT_RELASZ
+ and DT_RELA code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Delete
+ DT_RELASZ and DT_RELA code. Use ELF htab shortcuts for other
+ dynamic sections.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-mips.c (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-nds32.c (nds32_elf_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-or1k.c (or1k_elf_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-ppc.c (ppc_elf_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-sh.c (sh_elf_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-sparc.c (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-vax.c (elf_vax_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Delete DT_RELASZ
+ and DT_RELA code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections): Delete
+ DT_RELASZ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elfnn-ia64.c (elfNN_ia64_finish_dynamic_sections): Delete DT_RELASZ
+ code.
+ (elf_backend_dtrel_excludes_plt): Define.
+ * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Delete
+ DT_RELASZ code.
+ * elfxx-sparc.c (sparc_finish_dyn): Delete DT_RELASZ code.
+
+2016-11-23 Alan Modra <amodra@gmail.com>
+
+ * elf-m10300.c (mn10300_elf_check_relocs): Use elf htab shortcuts
+ to dynamic sections.
+ (mn10300_elf_final_link_relocate): Likewise.
+ (_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise.
+ (_bfd_mn10300_elf_size_dynamic_sections): Likewise.
+ (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
+ (_bfd_mn10300_elf_finish_dynamic_sections): Likewise.
+ * elf32-bfin.c (bfin_check_relocs): Likewise.
+ (bfin_relocate_section): Likewise.
+ (bfin_gc_sweep_hook): Likewise.
+ (struct bfinfdpic_elf_link_hash_table): Delete sgot, sgotrel, splt
+ and spltrel.
+ (bfinfdpic_got_section, bfinfdpic_gotrel_section,
+ bfinfdpic_plt_section, bfinfdpic_pltrel_section): Define using elf
+ shortcut sections.
+ (_bfin_create_got_section): Use elf htab shortcuts to dyn sections.
+ Delete dead code.
+ (bfin_finish_dynamic_symbol): Use elf htab shortcuts to dyn sections.
+ (bfin_size_dynamic_sections): Likewise.
+ * elf32-cr16.c (_bfd_cr16_elf_create_got_section): Likewise.
+ (cr16_elf_check_relocs): Likewise.
+ (cr16_elf_final_link_relocate): Likewise.
+ (_bfd_cr16_elf_create_dynamic_sections): Likewise.
+ (_bfd_cr16_elf_adjust_dynamic_symbol): Likewise.
+ (_bfd_cr16_elf_size_dynamic_sections): Likewise.
+ (_bfd_cr16_elf_finish_dynamic_symbol): Likewise.
+ (_bfd_cr16_elf_finish_dynamic_sections): Likewise.
+ * elf32-cris.c (cris_elf_relocate_section): Likewise.
+ (elf_cris_finish_dynamic_symbol): Likewise.
+ (elf_cris_finish_dynamic_sections): Likewise.
+ (cris_elf_gc_sweep_hook): Likewise.
+ (elf_cris_adjust_gotplt_to_got): Likewise.
+ (elf_cris_adjust_dynamic_symbol): Likewise.
+ (cris_elf_check_relocs): Likewise. Delete dead code.
+ (elf_cris_size_dynamic_sections): Use elf htab shortcuts to dynamic
+ sections.
+ (elf_cris_discard_excess_program_dynamics): Likewise.
+ * elf32-frv.c (struct frvfdpic_elf_link_hash_table): Delete sgot,
+ sgotrel, splt and spltrel.
+ (frvfdpic_got_section, frvfdpic_gotrel_section,
+ frvfdpic_plt_section, frvfdpic_pltrel_section): Define using elf
+ shortcut sections.
+ (_frv_create_got_section): Likewise.
+ * elf32-hppa.c (struct elf32_hppa_link_hash_table): Delete sgot,
+ srelgot, splt and srelplt.
+ (hppa_build_one_stub): Use elf htab shortcuts to dynamic sections.
+ (elf32_hppa_create_dynamic_sections): Likewise.
+ (elf32_hppa_check_relocs): Likewise.
+ (allocate_plt_static): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (elf32_hppa_size_dynamic_sections): Likewise.
+ (elf32_hppa_relocate_section): Likewise.
+ (elf32_hppa_finish_dynamic_symbol): Likewise.
+ (elf32_hppa_finish_dynamic_sections): Likewise.
+ * elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
+ * elf32-lm32.c (struct elf_lm32_link_hash_table): Delete sgot,
+ sgotplt, srelgot, splt and srelplt.
+ (lm32fdpic_got_section, lm32fdpic_gotrel_section): Define using elf
+ shortcut sections.
+ (create_got_section): Delete. Use _bfd_elf_create_got_section instead.
+ (lm32_elf_relocate_section): Use elf htab shortcuts to dyn sections.
+ (lm32_elf_check_relocs): Likewise.
+ (lm32_elf_finish_dynamic_sections): Likewise.
+ (lm32_elf_finish_dynamic_symbol): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (lm32_elf_size_dynamic_sections): Likewise.
+ (lm32_elf_create_dynamic_sections): Likewise.
+ * elf32-m32c.c (m32c_elf_relocate_section): Likewise.
+ (m32c_elf_check_relocs): Likewise.
+ (m32c_elf_finish_dynamic_sections): Likewise.
+ (m32c_elf_always_size_sections): Likewise.
+ * elf32-m32r.c (struct elf_m32r_link_hash_table): Delete sgot,
+ sgotplt, srelgot, splt and srelplt.
+ (create_got_section): Delete. Use _bfd_elf_create_got_section instead.
+ (m32r_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
+ sections.
+ (allocate_dynrelocs): Likewise.
+ (m32r_elf_size_dynamic_sections): Likewise.
+ (m32r_elf_relocate_section): Likewise.
+ (m32r_elf_finish_dynamic_symbol): Likewise.
+ (m32r_elf_finish_dynamic_sections): Likewise.
+ (m32r_elf_check_relocs): Likewise.
+ * elf32-m68k.c (elf_m68k_partition_multi_got): Likewise.
+ (elf_m68k_check_relocs): Likewise.
+ (elf_m68k_adjust_dynamic_symbol): Likewise.
+ (elf_m68k_size_dynamic_sections): Likewise.
+ (elf_m68k_relocate_section): Likewise.
+ (elf_m68k_finish_dynamic_symbol): Likewise.
+ (elf_m68k_finish_dynamic_sections): Likewise.
+ * elf32-metag.c (struct elf_metag_link_hash_table): Delete sgot,
+ sgotplt, srelgot, splt and srelplt.
+ (elf_metag_relocate_section): Use elf htab shortcuts to dynamic
+ sections.
+ (elf_metag_create_dynamic_sections): Likewise. Allocate got header
+ here in .got.
+ (elf_metag_check_relocs): Use elf htab shortcuts to dynamic sections.
+ (allocate_dynrelocs): Likewise.
+ (elf_metag_size_dynamic_sections): Likewise.
+ (elf_metag_finish_dynamic_symbol): Likewise.
+ (elf_metag_finish_dynamic_sections): Likewise.
+ (elf_metag_size_stubs): Likewise.
+ (elf_backend_got_header_size): Don't define.
+ (elf_backend_want_got_plt): Define.
+ * elf32-microblaze.c (struct elf32_mb_link_hash_table): Delete sgot,
+ sgotplt, srelgot, splt and srelpl.
+ (microblaze_elf_relocate_section): Use elf htab shortcuts to dynamic
+ sections.
+ (create_got_section): Delete. Use _bfd_elf_create_got_section instead.
+ (microblaze_elf_check_relocs): Use elf htab shortcuts to dyn sections.
+ (microblaze_elf_create_dynamic_sections): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (microblaze_elf_size_dynamic_sections): Likewise.
+ (microblaze_elf_finish_dynamic_symbol): Likewise.
+ (microblaze_elf_finish_dynamic_sections): Likewise.
+ * elf32-nds32.c (nds32_elf_link_hash_table_create): Don't NULL
+ already zero fields.
+ (create_got_section): Delete. Use _bfd_elf_create_got_section instead.
+ (nds32_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
+ sections.
+ (allocate_dynrelocs): Likewise.
+ (nds32_elf_size_dynamic_sections): Likewise.
+ (nds32_elf_relocate_section): Likewise.
+ (nds32_elf_finish_dynamic_symbol): Likewise.
+ (nds32_elf_finish_dynamic_sections): Likewise.
+ (nds32_elf_check_relocs): Likewise.
+ (calculate_plt_memory_address): Likewise.
+ (calculate_got_memory_address): Likewise.
+ * elf32-nds32.h (struct elf_nds32_link_hash_table): Delete sgot,
+ sgotplt, srelgot, splt and srelplt.
+ * elf32-or1k.c (struct elf_or1k_link_hash_table): Likewise.
+ (or1k_elf_relocate_section): Use elf htab shortcuts to dyn sections.
+ (create_got_section): Delete. Use _bfd_elf_create_got_section instead.
+ (or1k_elf_check_relocs): Use elf htab shortcuts to dynamic sections.
+ (or1k_elf_finish_dynamic_sections): Likewise.
+ (or1k_elf_finish_dynamic_symbol): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (or1k_elf_size_dynamic_sections): Likewise.
+ (or1k_elf_create_dynamic_sections): Likewise.
+ * elf32-ppc.c (struct ppc_elf_link_hash_table): Delete got, relgot,
+ plt, relplt, iplt, reliplt and sgotplt.
+ (ppc_elf_create_got): Use elf htab shortcuts to dynamic sections.
+ (ppc_elf_create_glink): Likewise.
+ (ppc_elf_create_dynamic_sections): Likewise.
+ (ppc_elf_check_relocs): Likewise.
+ (ppc_elf_select_plt_layout): Likewise.
+ (ppc_elf_tls_setup): Likewise.
+ (allocate_got): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (ppc_elf_size_dynamic_sections): Likewise.
+ (ppc_elf_relax_section): Likewise.
+ (ppc_elf_relocate_section): Likewise.
+ (ppc_elf_finish_dynamic_symbol): Likewise.
+ (ppc_elf_reloc_type_class): Likewise.
+ (ppc_elf_finish_dynamic_sections): Likewise.
+ * elf32-rl78.c (rl78_elf_relocate_section): Likewise.
+ (rl78_elf_check_relocs): Likewise.
+ (rl78_elf_finish_dynamic_sections): Likewise.
+ (rl78_elf_always_size_sections): Likewise.
+ * elf32-s390.c (create_got_section): Delete.
+ (elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
+ (elf_s390_check_relocs): Likewise.
+ * elf32-score.c (score_elf_create_got_section): Set elf shortcuts.
+ (s3_bfd_score_elf_finish_dynamic_sections): Use elf shortcuts.
+ * elf32-score7.c (score_elf_create_got_section): As above.
+ (s7_bfd_score_elf_finish_dynamic_sections): As above.
+ * elf32-sh.c (struct elf_sh_link_hash_table): Delete sgot,
+ sgotplt, srelgot, splt and srelplt.
+ (create_got_section): Don't set them.
+ (sh_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
+ sections.
+ (allocate_dynrelocs): Likewise.
+ (sh_elf_size_dynamic_sections): Likewise.
+ (sh_elf_add_rofixup): Likewise.
+ (sh_elf_relocate_section): Likewise.
+ (sh_elf_check_relocs): Likewise.
+ (sh_elf_finish_dynamic_symbol): Likewise.
+ (sh_elf_finish_dynamic_sections): Likewise.
+ * elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
+ * elf32-tilepro.c (tilepro_elf_create_got_section): Likewise.
+ * elf32-vax.c (elf_vax_check_relocs): Likewise.
+ (elf_vax_adjust_dynamic_symbol): Likewise.
+ (elf_vax_always_size_sections): Likewise.
+ (elf_vax_instantiate_got_entries): Likewise.
+ (elf_vax_relocate_section): Likewise.
+ (elf_vax_finish_dynamic_symbol): Likewise.
+ (elf_vax_finish_dynamic_sections): Likewise.
+ * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
+ (xstormy16_elf_always_size_sections): Likewise.
+ (xstormy16_elf_relocate_section): Likewise.
+ (xstormy16_elf_finish_dynamic_sections): Likewise.
+ * elf32-xtensa.c (struct elf_xtensa_link_hash_table): Delete sgot,
+ sgotplt, srelgot, splt and srelplt.
+ (elf_xtensa_create_dynamic_sections): Use elf htab shortcuts to
+ dynamic sections.
+ (elf_xtensa_allocate_dynrelocs): Likewise.
+ (elf_xtensa_allocate_local_got_size): Likewise.
+ (elf_xtensa_size_dynamic_sections): Likewise.
+ (elf_xtensa_relocate_section): Likewise.
+ (elf_xtensa_finish_dynamic_sections): Likewise.
+ (shrink_dynamic_reloc_sections): Likewise.
+ (elf_xtensa_get_plt_section): Likewise.
+ (elf_xtensa_get_gotplt_section): Likewise.
+ (xtensa_callback_required_dependence): Likewise.
+ * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Set elf htab
+ shortcuts to dynamic sections.
+ (elf64_alpha_adjust_dynamic_symbol): Use elf htab shortcuts to
+ dynamic sections.
+ (elf64_alpha_size_plt_section): Likewise.
+ (elf64_alpha_size_rela_got_1): Likewise.
+ (elf64_alpha_size_rela_got_section): Likewise.
+ (elf64_alpha_relocate_section): Likewise.
+ (elf64_alpha_finish_dynamic_symbol): Likewise.
+ (elf64_alpha_finish_dynamic_sections): Likewise.
+ * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
+ * elf64-s390.c (create_got_section): Delete.
+ (elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
+ (elf_s390_check_relocs): Likewise.
+ * elf64-sh64.c (sh_elf64_relocate_section): Use elf htab shortcuts to
+ dynamic sections.
+ (sh_elf64_check_relocs): Likewise.
+ (sh64_elf64_adjust_dynamic_symbol): Likewise.
+ (sh64_elf64_size_dynamic_sections): Likewise.
+ (sh64_elf64_finish_dynamic_symbol): Likewise.
+ (sh64_elf64_finish_dynamic_sections): Likewise.
+ * elflink.c (_bfd_elf_create_got_section): Likewise.
+ * elfnn-aarch64.c (aarch64_elf_create_got_section): Likewise.
+ * elfnn-ia64.c (elfNN_ia64_size_dynamic_sections): Likewise.
+ (elfNN_ia64_finish_dynamic_sections): Likewise.
+ * elfnn-riscv.c (riscv_elf_create_got_section): Likewise.
+ * elfxx-mips.c (struct mips_elf_link_hash_table): Delete srellt,
+ sgotplt, splt and sgot.
+ (mips_elf_initialize_tls_slots): Use elf htab shortcuts to dynamic
+ sections.
+ (mips_elf_gotplt_index): Likewise.
+ (mips_elf_primary_global_got_index): Likewise.
+ (mips_elf_global_got_index): Likewise.
+ (mips_elf_got_offset_from_index): Likewise.
+ (mips_elf_create_local_got_entry): Likewise.
+ (mips_elf_create_got_section): Likewise.
+ (mips_elf_calculate_relocation): Likewise.
+ (_bfd_mips_elf_create_dynamic_sections): Likewise.
+ (_bfd_mips_elf_adjust_dynamic_symbol): Likewise.
+ (mips_elf_lay_out_got): Likewise.
+ (mips_elf_set_plt_sym_value): Likewise.
+ (_bfd_mips_elf_size_dynamic_sections): Likewise.
+ (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
+ (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
+ (mips_finish_exec_plt): Likewise.
+ (mips_vxworks_finish_exec_plt): Likewise.
+ (mips_vxworks_finish_shared_plt): Likewise.
+ (_bfd_mips_elf_finish_dynamic_sections): Likewise.
+ * elfxx-sparc.c (sparc_finish_dyn): Likewise.
+ * elfxx-tilegx.c (tilegx_elf_create_got_section): Likewise.
+
+2016-11-23 Alan Modra <amodra@gmail.com>
+
+ * po/BLD-POTFILES.in: Regenerate.
+ * po/SRC-POTFILES.in: Regenerate.
+
+2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * warning.m4: Fix spelling in comments.
+ * configure.ac: Fix spelling in comments.
+ * configure: Regenerate.
+
+2016-11-22 Alan Modra <amodra@gmail.com>
+
+ PR 20744
+ * elf32-ppc.h (struct ppc_elf_params): Add vle_reloc_fixup field.
+ * elf32-ppc.c: Include opcode/ppc.h.
+ (ppc_elf_howto_raw): Correct dst_mask for R_PPC_VLE_LO16A,
+ R_PPC_VLE_LO16D, R_PPC_VLE_HI16A, R_PPC_VLE_HI16D, R_PPC_VLE_HA16A,
+ R_PPC_VLE_HA16D, R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_LO16D,
+ R_PPC_VLE_SDAREL_HI16A, R_PPC_VLE_SDAREL_HI16D,
+ R_PPC_VLE_SDAREL_HA16A, and R_PPC_VLE_SDAREL_HA16D relocs.
+ (ppc_elf_link_hash_table_create): Update default_params init.
+ (ppc_elf_vle_split16): Correct shift and mask. Add params.
+ Report or fix insn/reloc mismatches.
+ (ppc_elf_relocate_section): Pass input_section, offset and fixup
+ to ppc_elf_vle_split16.
+
+2016-11-22 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (ppc64_elf_relocate_section): Calculate d_offset for
+ input_bfd. Replace occurrences of output_bfd as bfd_get_32 and
+ bfd_put_32 param with input_bfd.
+ * elf32-ppc.c (ppc_elf_relocate_section): Likewise. Also
+ ppc_elf_vle_split16 param.
+ (ppc_elf_vle_split16): Rename output_bfd param to input_bfd.
+
+2016-11-21 Maciej W. Rozycki <macro@imgtec.com>
+
+ * dwarf2.c (build_line_info_table): Rename `index' local
+ variable to `line_index'.
+ (build_lookup_funcinfo_table): Rename `index' local variable to
+ `func_index'.
+
2016-11-19 Jose E. Marchesi <jose.marchesi@oracle.com>
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Do not
diff --git a/bfd/configure b/bfd/configure
index 68db12f..ab239fe 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -12291,7 +12291,7 @@ fi
rm -f conftest*
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
# Add -Wshadow if the compiler is a sufficiently recent version of GCC.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15805,7 +15805,7 @@ fi
-# Determine the host dependant file_ptr a.k.a. off_t type. In order
+# Determine the host dependent file_ptr a.k.a. off_t type. In order
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
# Hopefully a reasonable assumption since fseeko et.al. should be
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 6f11d29..3254dae 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -1156,7 +1156,7 @@ fi
AC_SUBST(supports_plugins)
AC_SUBST(lt_cv_dlopen_libs)
-# Determine the host dependant file_ptr a.k.a. off_t type. In order
+# Determine the host dependent file_ptr a.k.a. off_t type. In order
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
# Hopefully a reasonable assumption since fseeko et.al. should be
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 287ba0f..e2c8dee 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -1611,7 +1611,7 @@ build_line_info_table (struct line_info_table * table,
struct line_info** line_info_lookup;
struct line_info* each_line;
unsigned int num_lines;
- unsigned int index;
+ unsigned int line_index;
if (seq->line_info_lookup != NULL)
return TRUE;
@@ -1634,11 +1634,11 @@ build_line_info_table (struct line_info_table * table,
return FALSE;
/* Create the line information lookup table. */
- index = num_lines;
+ line_index = num_lines;
for (each_line = seq->last_line; each_line; each_line = each_line->prev_line)
- line_info_lookup[--index] = each_line;
+ line_info_lookup[--line_index] = each_line;
- BFD_ASSERT (index == 0);
+ BFD_ASSERT (line_index == 0);
seq->num_lines = num_lines;
seq->line_info_lookup = line_info_lookup;
@@ -2259,7 +2259,7 @@ build_lookup_funcinfo_table (struct comp_unit * unit)
unsigned int number_of_functions = unit->number_of_functions;
struct funcinfo *each;
struct lookup_funcinfo *entry;
- size_t index;
+ size_t func_index;
struct arange *range;
bfd_vma low_addr, high_addr;
@@ -2273,10 +2273,10 @@ build_lookup_funcinfo_table (struct comp_unit * unit)
return FALSE;
/* Populate the function info lookup table. */
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-20 20:10 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-20 20:10 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 76a29a45db928e68e1faf83d9c7008cc29543e65 (commit)
via b5fbed8982b47d1ea5a0435c156e488e24e9d67c (commit)
via cc188e5fd6d4f8d3061ed6c58c432a150f7966e9 (commit)
via 0fc9967d0b28a1e037233d49cec479d3ab1e9e59 (commit)
from 502c7e5cb9801f18852553b14959364166f24602 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 76a29a45db928e68e1faf83d9c7008cc29543e65
Merge: 502c7e5 b5fbed8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Nov 20 21:10:19 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit b5fbed8982b47d1ea5a0435c156e488e24e9d67c
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Nov 20 00:00:28 2016 +0000
Automatic date update in version.in
commit cc188e5fd6d4f8d3061ed6c58c432a150f7966e9
Author: Joel Brobecker <brobecker@adacore.com>
Date: Sat Nov 19 10:40:17 2016 -0800
ARI: Add detection of printf_vma and sprintf_vma
We shouldn't be using these, since their output goes straight to
stdout, which doesn't allow redirection. So this patch updates
the ARI to detect any such use.
gdb/ChangeLog:
* contrib/ari/gdb_ari.sh: Add detection of printf_vma and
sprintf_vma.
commit 0fc9967d0b28a1e037233d49cec479d3ab1e9e59
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Sat Nov 19 04:39:09 2016 -0800
Revert "bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC"
This reverts commit b19753ce31da347605dfa903c6fd2158e2444f0d.
As it turns out, GCC (and the assembler) needs additional work in
order to support negative GOT offsets in 64-bit sparc. This is
breaking TLS Local Dynamic in position-independent code.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 5 +++++
bfd/elfxx-sparc.c | 16 ++++++++--------
bfd/version.h | 2 +-
gdb/ChangeLog | 5 +++++
gdb/contrib/ari/gdb_ari.sh | 16 ++++++++++++++++
5 files changed, 35 insertions(+), 9 deletions(-)
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8a18a6d..f28351d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-19 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Do not
+ apply the negative GOT offset optimization in 64-bit code.
+
2016-11-18 James Clarke <jrtc27@jrtc27.com>
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Don't convert
diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c
index e1c7b22..cf30012 100644
--- a/bfd/elfxx-sparc.c
+++ b/bfd/elfxx-sparc.c
@@ -2661,19 +2661,19 @@ _bfd_sparc_elf_size_dynamic_sections (bfd *output_bfd,
/* Allocate .plt and .got entries, and space for local symbols. */
htab_traverse (htab->loc_hash_table, allocate_local_dynrelocs, info);
- if (!htab->is_vxworks
+ if (! ABI_64_P (output_bfd)
+ && !htab->is_vxworks
&& elf_hash_table (info)->dynamic_sections_created)
{
- if (! ABI_64_P (output_bfd))
- {
- /* Make space for the trailing nop in .plt. */
- if (htab->elf.splt->size > 0)
- htab->elf.splt->size += 1 * SPARC_INSN_BYTES;
- }
+ /* Make space for the trailing nop in .plt. */
+ if (htab->elf.splt->size > 0)
+ htab->elf.splt->size += 1 * SPARC_INSN_BYTES;
/* If the .got section is more than 0x1000 bytes, we add
0x1000 to the value of _GLOBAL_OFFSET_TABLE_, so that 13
- bit relocations have a greater chance of working. */
+ bit relocations have a greater chance of working.
+
+ FIXME: Make this optimization work for 64-bit too. */
if (htab->elf.sgot->size >= 0x1000
&& elf_hash_table (info)->hgot->root.u.def.value == 0)
elf_hash_table (info)->hgot->root.u.def.value = 0x1000;
diff --git a/bfd/version.h b/bfd/version.h
index 071f655..a8f63a5 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20161119
+#define BFD_VERSION_DATE 20161120
#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 07d21a6..3797e8b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-19 Joel Brobecker <brobecker@adacore.com>
+
+ * contrib/ari/gdb_ari.sh: Add detection of printf_vma and
+ sprintf_vma.
+
2016-11-18 Simon Marchi <simon.marchi@polymtl.ca>
* Makefile.in (%.o: $(srcdir)/gdbtk/generic/%.c): Fix typo.
diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh
index 7e639e3..2ecc0d6 100755
--- a/gdb/contrib/ari/gdb_ari.sh
+++ b/gdb/contrib/ari/gdb_ari.sh
@@ -1097,6 +1097,22 @@ Do not use vasprintf(), instead use xstrvprintf"
fail("vasprintf")
}
+BEGIN { doc["printf_vma"] = "\
+Do not use printf_vma, instead use paddress or phex_nz"
+ category["printf_vma"] = ari_code
+}
+/(^|[^_[:alnum:]])printf_vma[[:space:]]*\(/ {
+ fail("printf_vma")
+}
+
+BEGIN { doc["sprintf_vma"] = "\
+Do not use sprintf_vma, instead use paddress or phex_nz"
+ category["sprintf_vma"] = ari_code
+}
+/(^|[^_[:alnum:]])sprintf_vma[[:space:]]*\(/ {
+ fail("sprintf_vma")
+}
+
# More generic memory operations
BEGIN { doc["bzero"] = "\
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-19 8:49 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-19 8:49 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 502c7e5cb9801f18852553b14959364166f24602 (commit)
via ef787763b9495913d5be90bcdedcecb553cbf308 (commit)
via 3d6d882e29fb2b8f2451405c37fd6fd9b92fcdaa (commit)
from 940be4a3470ffdd54cc46e06ca09a07310083f6e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 502c7e5cb9801f18852553b14959364166f24602
Merge: 940be4a ef78776
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Nov 19 09:37:46 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit ef787763b9495913d5be90bcdedcecb553cbf308
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Fri Nov 18 21:16:52 2016 -0500
Makefile: fix typo
Thanks to Patrick Monnerat for reporting this typo.
gdb/ChangeLog:
* Makefile.in (%.o: $(srcdir)/gdbtk/generic/%.c): Fix typo.
commit 3d6d882e29fb2b8f2451405c37fd6fd9b92fcdaa
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Nov 19 00:00:32 2016 +0000
Automatic date update in version.in
-----------------------------------------------------------------------
Summary of changes:
bfd/version.h | 2 +-
gdb/ChangeLog | 4 ++++
gdb/Makefile.in | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index c74b66c..071f655 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20161118
+#define BFD_VERSION_DATE 20161119
#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 07b564b..07d21a6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-18 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%.o: $(srcdir)/gdbtk/generic/%.c): Fix typo.
+
2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
(PYTHON_CFLAGS): Move up.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 1d6da4b..b68cf58 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1151,7 +1151,7 @@ all: gdb$(EXEEXT) $(CONFIG_ALL)
$(POSTCOMPILE)
%.o: $(srcdir)/gdbtk/generic/%.c
- $(COMPILE) $(all_gdbtk_cflags) %<
+ $(COMPILE) $(all_gdbtk_cflags) $<
$(POSTCOMPILE)
%.o: $(srcdir)/guile/%.c
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-18 19:20 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-18 19:20 UTC (permalink / raw)
To: archer-commits
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 81623 bytes --]
The branch, users/jkratoch/dwarf5gcc has been updated
via 940be4a3470ffdd54cc46e06ca09a07310083f6e (commit)
via 8504e0974cf4b67680a11208b16caa2d3c77b838 (commit)
via bb050a6932c4b0ea86202fe62bed2d94999f77ad (commit)
via cc133f9f118ef4afd93da0ecba48151488c41c74 (commit)
via a85db0a6188b89ef49a1bd0f0ed435adc133b3ae (commit)
via 535aade664ac4170fe82e52c9addd686156220a1 (commit)
via ddc5804ebd4b2be29ad4e3e259f5c6e907f34f26 (commit)
via 1706852c3c6c1d39f949c933d37647d02509b9cb (commit)
via 59d2699cfd30f9defc454be17415c0a518ece32b (commit)
via a4ddf8dc72f0ac10c3459a91949eb1bdb07ed10d (commit)
via 4d17eaece8b31e642acaf4d77fe961ad8e3aaf50 (commit)
via ef0f5d7cc3b2082c94beffa7c9c1a8acd8eaa427 (commit)
via aba19b625f34fb3d61263fe8044cf0c6d8804570 (commit)
via 9d2cdc86574bda0f1013be8cdc166d86b6d032bc (commit)
via c2c4ff8d52a2cd3263a547b0384692498714aa1b (commit)
via 28617675c264213180a599bb4327bf162029636a (commit)
via ccfc90a39b78b7bc4173cd9ead49d2aa59695378 (commit)
via 3f06e55061d0d8f72dfd11f6c432c23f45d9b597 (commit)
via 6ec49e7c0aeb6d98e379319b565aee2c89388615 (commit)
via cd42d70b4d7e92dcc6c533e012ab8af122de7b9e (commit)
via 470dd0a647c95a2e88c5b0f8df538826b08959a8 (commit)
via 5443506ee45cb94769db7e76dd2021a96f2f0680 (commit)
via 3b165252e882c05c8217f888194877224295592d (commit)
via f2ff9acd32b4667ee16a03ca8d10fd8b99e22f46 (commit)
via 66be918f5f9f78d74c70aa332756286ff9d0ccf2 (commit)
via 7c2683c40f745397e80b6df4edf8265ecb6fd194 (commit)
via 200069c74f42ffcc726b9995a46971a86286a256 (commit)
via 19f1935d91bfabbe4176ffdaca95bc789b593153 (commit)
via fa98319231a95aca0313878443143d3f92aca5e1 (commit)
via 256ae5dbc73d1348850f86ee77a0dc3b04bc7cc0 (commit)
via 33cc7d368f420326606695daafd6292e2779c6af (commit)
via 41b56feb5063aee4fefb4a991eb796d1e8a7475e (commit)
via df433d316277ff5293832d3cd6cbc30b5c38dec0 (commit)
via 1a2f3d7ff1d79b1290704e48c71e905b987393a6 (commit)
from 1c666b6929be0eda374b204c2637b36e4547e3c5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 940be4a3470ffdd54cc46e06ca09a07310083f6e
Merge: 1c666b6 8504e09
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Nov 18 20:20:28 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit 8504e0974cf4b67680a11208b16caa2d3c77b838
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Fri Nov 18 16:59:00 2016 +0100
gdb/doc: Add missing comma after xref
Get rid of a warning for missing punctuation after xref.
gdb/doc/ChangeLog:
* gdb.texinfo (GDB/MI Async Records): Add missing comma after
xref.
commit bb050a6932c4b0ea86202fe62bed2d94999f77ad
Author: Claudiu Zissulescu <claziss@synopsys.com>
Date: Thu Nov 17 13:26:54 2016 +0100
[ARC] Fix and extend features of .cpu directive.
gas/
2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
* testsuite/gas/arc/cl-warn.s: New file.
* testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
* testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
* testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
* testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
* testsuite/gas/arc/cpu-warn2.s: Likewise.
* config/tc-arc.c (selected_cpu): Initialize.
(feature_type): New struct.
(feature_list): New variable.
(arc_check_feature): New function.
(arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
current cpu features. Check if a feature is available for a given
cpu.
(md_parse_option): Test if features are available for a given cpu.
commit cc133f9f118ef4afd93da0ecba48151488c41c74
Author: James Clarke <jrtc27@jrtc27.com>
Date: Fri Nov 18 12:51:40 2016 +0100
bfd: fix negative GOT offsets for non-local references on sparc64
bfd/ChangeLog:
2016-11-18 James Clarke <jrtc27@jrtc27.com>
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Don't convert
R_SPARC_GOTDATA_OP_HIX22 and R_SPARC_GOTDATA_OP_LOX10 to
R_SPARC_GOT* for non-local references. Instead, treat them like
R_SPARC_GOTDATA_HIX22/R_SPARC_GOTDATA_LOX10 when filling in the
immediate with the calculated relocation.
commit a85db0a6188b89ef49a1bd0f0ed435adc133b3ae
Author: Mark Wielaard <mark@klomp.org>
Date: Thu Nov 17 01:28:09 2016 +0100
cxxfilt: Recognize rust_demangling.
commit 535aade664ac4170fe82e52c9addd686156220a1
Author: David Tolnay <dtolnay@gmail.com>
Date: Wed Nov 16 23:09:27 2016 +0000
libiberty: Add Rust symbol demangling.
Adds Rust symbol demangler. Rust mangles symbols using GNU_V3 style,
adding a hash and various special character subtitutions. This adds
a new rust style to cplus_demangle and adds 3 helper functions
rust_demangle, rust_demangle_sym and rust_is_mangled.
rust-demangle.c was written by David. Mark did the code formatting to
GNU style and integration into the gcc/libiberty build system and
testsuite.
include/ChangeLog:
2016-11-03 David Tolnay <dtolnay@gmail.com>
Mark Wielaard <mark@klomp.org>
* demangle.h (DMGL_RUST): New macro.
(DMGL_STYLE_MASK): Add DMGL_RUST.
(demangling_styles): Add dlang_rust.
(RUST_DEMANGLING_STYLE_STRING): New macro.
(RUST_DEMANGLING): New macro.
(rust_demangle): New prototype.
(rust_is_mangled): Likewise.
(rust_demangle_sym): Likewise.
libiberty/ChangeLog:
2016-11-03 David Tolnay <dtolnay@gmail.com>
Mark Wielaard <mark@klomp.org>
* Makefile.in (CFILES): Add rust-demangle.c.
(REQUIRED_OFILES): Add rust-demangle.o.
* cplus-dem.c (libiberty_demanglers): Add rust_demangling case.
(cplus_demangle): Handle RUST_DEMANGLING.
(rust_demangle): New function.
* rust-demangle.c: New file.
* testsuite/Makefile.in (really-check): Add check-rust-demangle.
(check-rust-demangle): New rule.
* testsuite/rust-demangle-expected: New file.
commit ddc5804ebd4b2be29ad4e3e259f5c6e907f34f26
Author: Mark Wielaard <mark@klomp.org>
Date: Tue Nov 15 19:31:59 2016 +0000
libiberty: demangler crash with missing :? or fold expression component.
When constructing an :? or fold expression that requires a third
expression only the first and second were explicitly checked to
not be NULL. Since the third expression is also required in these
constructs it needs to be explicitly checked and rejected when missing.
Otherwise the demangler will crash once it tries to d_print the
NULL component. Added two examples to demangle-expected of strings
that would crash before this fix.
Found by American Fuzzy Lop (afl) fuzzer.
commit 1706852c3c6c1d39f949c933d37647d02509b9cb
Author: Mark Wielaard <mark@klomp.org>
Date: Tue Nov 15 19:31:50 2016 +0000
libiberty: Fix some demangler crashes caused by reading past end of input.
In various situations the cplus_demangle () function could read past the
end of input causing crashes. Add checks in various places to not advance
the demangle string location and fail early when end of string is reached.
Add various examples of input strings to the testsuite that would crash
test-demangle before the fixes.
Found by using the American Fuzzy Lop (afl) fuzzer.
libiberty/ChangeLog:
* cplus-dem.c (demangle_signature): After 'H', template function,
no success and don't advance position if end of string reached.
(demangle_template): After 'z', template name, return zero on
premature end of string.
(gnu_special): Guard strchr against searching for zero characters.
(do_type): If member, only advance mangled string when 'F' found.
* testsuite/demangle-expected: Add examples of strings that could
crash the demangler by reading past end of input.
commit 59d2699cfd30f9defc454be17415c0a518ece32b
Author: Mark Wielaard <mark@klomp.org>
Date: Mon Nov 14 19:46:26 2016 +0000
libiberty: Add -Wshadow=local to warning flags (if supported).
libiberty/ChangeLog:
* configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local.
* configure: Regenerated.
commit a4ddf8dc72f0ac10c3459a91949eb1bdb07ed10d
Author: Jason Merrill <jason@redhat.com>
Date: Mon Nov 7 23:09:29 2016 +0000
Implement P0012R1, Make exception specifications part of the type system.
libiberty/
* cp-demangle.c (is_fnqual_component_type): New.
(d_encoding, d_print_comp_inner, d_print_mod_list): Use it.
(FNQUAL_COMPONENT_CASE): New.
(d_make_comp, has_return_type, d_print_comp_inner)
(d_print_function_type): Use it.
(next_is_type_qual): New.
(d_cv_qualifiers, d_print_mod): Handle noexcept and throw-spec.
include/
* demangle.h (enum demangle_component_type): Add
DEMANGLE_COMPONENT_NOEXCEPT, DEMANGLE_COMPONENT_THROW_SPEC.
commit 4d17eaece8b31e642acaf4d77fe961ad8e3aaf50
Author: Mark Wielaard <mjw@redhat.com>
Date: Fri Nov 4 23:55:01 2016 +0000
libiberty: Fix -Wimplicit-fallthrough warnings.
Adjust some comments, add some explicit fall through comments or explicit
returns where necessary to not get implicit-fallthrough warnings.
All fall throughs were deliberate. In one case I added an explicit return
false for clarity instead of falling through a default case (that also
would return false).
libiberty/ChangeLog:
* cplus-dem.c (demangle_signature): Move fall through comment.
(demangle_fund_type): Add fall through comment between 'G' and 'I'.
* hashtab.c (iterative_hash): Add fall through comments.
* regex.c (regex_compile): Add Fall through comment after '+'/'?'.
(byte_re_match_2_internal): Add Fall through comment after jump_n.
Change "Note fall through" to "Fall through".
(common_op_match_null_string_p): Return false after set_number_at
instead of fall through.
commit ef0f5d7cc3b2082c94beffa7c9c1a8acd8eaa427
Author: Jason Merrill <jason@redhat.com>
Date: Wed Nov 2 01:50:29 2016 +0000
Implement P0136R1, Rewording inheriting constructors.
libiberty/
* cp-demangle.c (d_ctor_dtor_name): Handle inheriting constructor.
commit aba19b625f34fb3d61263fe8044cf0c6d8804570
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Nov 1 23:13:10 2016 +0000
libiberty: Fix memory leak in ada_demangle when symbol cannot be demangled.
When a symbol cannot be demangled in ada_demangle a new demangled VEC
will be allocated without deleting the demangled VEC already in use.
Running testsuite/test-demangle under valgrind will show the leak for
this entry in testsuite/demangle-expected:
# Elaborated flag (not demangled)
--format=gnat
x_E
<x_E>
11 bytes in 1 blocks are definitely lost in loss record 1 of 1
at 0x4C27BE3: malloc (vg_replace_malloc.c:299)
by 0x413FE7: xmalloc (xmalloc.c:148)
by 0x4025EC: ada_demangle (cplus-dem.c:930)
by 0x402C59: cplus_demangle (cplus-dem.c:892)
by 0x400FEC: main (test-demangle.c:317)
libiberty/ChangeLog:
* cplus-dem.c (ada_demangle): Initialize demangled to NULL and
XDELETEVEC demangled when unknown.
commit 9d2cdc86574bda0f1013be8cdc166d86b6d032bc
Author: Marcel Böhme <boehme.marcel@gmail.com>
Date: Thu Aug 4 16:53:18 2016 +0000
PR c++/71696 testcase.
Add libiberty/testsuite/demangle-expected testcase for:
PR c++/71696
* cplus-dem.c: Prevent infinite recursion when there is a cycle
in the referencing of remembered mangled types.
(work_stuff): New stack to keep track of the remembered mangled
types that are currently being processed.
(push_processed_type): New method to push currently processed
remembered type onto the stack.
(pop_processed_type): New method to pop currently processed
remembered type from the stack.
(work_stuff_copy_to_from): Copy values of new variables.
(delete_non_B_K_work_stuff): Free stack memory.
(demangle_args): Push/Pop currently processed remembered type.
(do_type): Do not demangle a cyclic reference and push/pop
referenced remembered type.
commit c2c4ff8d52a2cd3263a547b0384692498714aa1b
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 18 10:02:16 2016 +0000
[AArch64] Add ARMv8.3 FCMLA and FCADD instructions
Add support for FCMLA and FCADD complex arithmetic SIMD instructions.
FCMLA has an indexed element variant where the index range has to be
treated specially because a complex number takes two elements and the
indexed vector size depends on the other operands.
These complex number SIMD instructions are part of ARMv8.3
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions
include/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_IMM_ROT1,
AARCH64_OPND_IMM_ROT2, AARCH64_OPND_IMM_ROT3.
(enum aarch64_op): Add OP_FCMLA_ELEM.
opcodes/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-tbl.h (QL_V3SAMEHSD_ROT, QL_ELEMENT_ROT): Define.
(aarch64_feature_simd_v8_3, SIMD_V8_3): Define.
(aarch64_opcode_table): Add fcmla and fcadd.
(AARCH64_OPERANDS): Add IMM_ROT{1,2,3}.
* aarch64-asm.h (aarch64_ins_imm_rotate): Declare.
* aarch64-asm.c (aarch64_ins_imm_rotate): Define.
* aarch64-dis.h (aarch64_ext_imm_rotate): Declare.
* aarch64-dis.c (aarch64_ext_imm_rotate): Define.
* aarch64-opc.h (enum aarch64_field_kind): Add FLD_rotate{1,2,3}.
* aarch64-opc.c (fields): Add FLD_rotate{1,2,3}.
(operand_general_constraint_met_p): Rotate and index range check.
(aarch64_print_operand): Handle rotate operand.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Likewise.
* aarch64-opc-2.c: Likewise.
gas/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
* testsuite/gas/aarch64/advsimd-armv8_3.d: New.
* testsuite/gas/aarch64/advsimd-armv8_3.s: New.
* testsuite/gas/aarch64/illegal-fcmla.s: New.
* testsuite/gas/aarch64/illegal-fcmla.l: New.
* testsuite/gas/aarch64/illegal-fcmla.d: New.
commit 28617675c264213180a599bb4327bf162029636a
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 18 09:58:38 2016 +0000
[AArch64] Add ARMv8.3 weaker release consistency load instructions
Add support for ARMv8.3 LDAPRB, LDAPRH and LDAPR weak release
consistency load instructions. (They are equivalent to LDARB,
LDARH and LDAR instructions other than the weaker memory ordering
requirement.)
For more details about weak release consistency see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions
opcodes/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-tbl.h (arch64_opcode_table): Add ldaprb, ldaprh, ldapr.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
* aarch64-opc-2.c: Regenerate.
gas/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
* testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
* testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
* testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
* testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
commit ccfc90a39b78b7bc4173cd9ead49d2aa59695378
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 18 09:53:45 2016 +0000
[AArch64] Add ARMv8.3 javascript floating-point conversion instruction
Add support for ARMv8.3 FJCVTZS floating-point conversion
instruction.
For details about javascript floating-point conversion see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions
opcodes/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-tbl.h (arch64_opcode_table): Add fjcvtzs.
(QL_FP2INT_W_D, aarch64_feature_fp_v8_3, FP_V8_3): Define.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
* aarch64-opc-2.c: Regenerate.
gas/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
* testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
* testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
* testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
* testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
* testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
* testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
* testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
commit 3f06e55061d0d8f72dfd11f6c432c23f45d9b597
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 18 09:49:06 2016 +0000
[AArch64] Add ARMv8.3 combined pointer authentication load instructions
Add support for ARMv8.3 LDRAA and LDRAB combined pointer authentication and
load instructions.
These instructions authenticate the base register and load 8 byte from it plus
a scaled 10-bit offset with optional writeback to update the base register.
A new instruction class (ldst_imm10) and operand type (AARCH64_OPND_ADDR_SIMM10)
were introduced to handle the special addressing form.
include/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_ADDR_SIMM10.
(enum aarch64_insn_class): Add ldst_imm10.
opcodes/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-tbl.h (QL_X1NIL): New.
(arch64_opcode_table): Add ldraa, ldrab.
(AARCH64_OPERANDS): Add "ADDR_SIMM10".
* aarch64-asm.h (aarch64_ins_addr_simm10): Declare.
* aarch64-asm.c (aarch64_ins_addr_simm10): Define.
* aarch64-dis.h (aarch64_ext_addr_simm10): Declare.
* aarch64-dis.c (aarch64_ext_addr_simm10): Define.
* aarch64-opc.h (enum aarch64_field_kind): Add FLD_S_simm10.
* aarch64-opc.c (fields): Add data for FLD_S_simm10.
(operand_general_constraint_met_p): Handle AARCH64_OPND_ADDR_SIMM10.
(aarch64_print_operand): Likewise.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
* aarch64-opc-2.c: Regenerate.
gas/
2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
(fix_insn): Likewise.
(warn_unpredictable_ldst): Handle ldst_imm10.
* testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
* testsuite/gas/aarch64/pac.d: Likewise.
* testsuite/gas/aarch64/illegal-ldraa.s: New.
* testsuite/gas/aarch64/illegal-ldraa.l: New.
* testsuite/gas/aarch64/illegal-ldraa.d: New.
commit 6ec49e7c0aeb6d98e379319b565aee2c89388615
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Nov 18 09:27:41 2016 +0000
Help diagnose problems with the metag target when mixing static and shared binaries.
PR ld/20675
* elf32-metag.c (elf_metag_relocate_section): Replace abort with
an informative error message.
commit cd42d70b4d7e92dcc6c533e012ab8af122de7b9e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Fri Nov 18 00:00:20 2016 +0000
Automatic date update in version.in
commit 470dd0a647c95a2e88c5b0f8df538826b08959a8
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Nov 17 12:02:32 2016 -0500
Makefile: Replace explicit subdir rules with pattern rules
When adding a .c file in subdirectory (e.g. mi/), the current practice
is to add an explicit rule, such as:
mi-cmd-break.o: $(srcdir)/mi/mi-cmd-break.c
$(COMPILE) $(srcdir)/mi/mi-cmd-break.c
$(POSTCOMPILE)
I find it a bit verbose and cumbersome. Since we now require GNU make,
we can change those rules with pattern rules, one for each subdirectory.
For example, the following rule works for all files under mi:
%.o: $(srcdir)/mi/%.c
$(COMPILE) $<
$(POSTCOMPILE)
Those pattern rules assume that the source and target files have the
same stem (foo.c and foo.o). In one case, common-agent.o is generated
from common/agent.c, to avoid a conflict with the agent.o in gdb/. In
this case, I kept the explicit rule, which takes precedence over the
pattern rule. We could also rename common/agent.c to
common/common-agent.c to get rid of the special case and still avoid the
clash, as it is done with common/common-regcache.c, for example.
This strategy was the least intrusive I found, as it only requires
changing the rules, not the target names.
I also considered two other solutions, which I did not like because I
would have had to change target names a bit everywhere.
- Replicate the source directory structure in the build directory,
which would generate common/agent.o from common/agent.c. However,
something was not right with the dependency tracking (the .deps
directory). It's probably not hard to fix, but I did not
investigate further.
- Name the object files after the directory they are in, so that
common/agent.c would generate common_agent.c.
GDBserver can benefit from the same treatment, but I'll do it in another
patch.
Built-tested with --enable-targets=all.
New in v2:
- Regroup pattern rules for .c -> .o compilation in a single place.
- Add comment about common-agent.o.
gdb/ChangeLog:
(PYTHON_CFLAGS): Move up.
(%.o: $(srcdir)/arch/%.c): New rule.
(%.o: $(srcdir)/cli/%.c): New rule.
(%.o: $(srcdir)/common/%.c): New rule.
(%.o: $(srcdir)/compile/%.c): New rule.
(%.o: $(srcdir)/gdbtk/generic/%.c): New rule.
(%.o: $(srcdir)/guile/%.c): New rule.
(%.o: $(srcdir)/mi/%.c): New rule.
(%.o: $(srcdir)/nat/%.c): New rule.
(%.o: $(srcdir)/python/%.c): New rule.
(%.o: $(srcdir)/target/%.c): New rule.
(%.o: $(srcdir)/tui/%.c): New rule.
(cli-cmds.o): Remove.
(cli-decode.o): Likewise.
(cli-dump.o): Likewise.
(cli-interp.o): Likewise.
(cli-logging.o): Likewise.
(cli-script.o): Likewise.
(cli-setshow.o): Likewise.
(cli-utils.o): Likewise.
(compile.o): Likewise.
(compile-c-types.o): Likewise.
(compile-c-symbols.o): Likewise.
(compile-object-load.o): Likewise.
(compile-object-run.o): Likewise.
(compile-loc2c.o): Likewise.
(compile-c-support.o): Likewise.
(gdbtk.o): Likewise.
(gdbtk-bp.o): Likewise.
(gdbtk-cmds.o): Likewise.
(gdbtk-hooks.o): Likewise.
(gdbtk-interp.o): Likewise.
(gdbtk-main.o): Likewise.
(gdbtk-register.o): Likewise.
(gdbtk-stack.o): Likewise.
(gdbtk-varobj.o): Likewise.
(gdbtk-wrapper.o): Likewise.
(mi-cmd-break.o): Likewise.
(mi-cmd-catch.o): Likewise.
(mi-cmd-disas.o): Likewise.
(mi-cmd-env.o): Likewise.
(mi-cmd-file.o): Likewise.
(mi-cmd-info.o): Likewise.
(mi-cmds.o): Likewise.
(mi-cmd-stack.o): Likewise.
(mi-cmd-target.o): Likewise.
(mi-cmd-var.o): Likewise.
(mi-console.o): Likewise.
(mi-getopt.o): Likewise.
(mi-interp.o): Likewise.
(mi-main.o): Likewise.
(mi-out.o): Likewise.
(mi-parse.o): Likewise.
(mi-symbol-cmds.o): Likewise.
(mi-common.o): Likewise.
(signals.o): Likewise.
(common-utils.o): Likewise.
(gdb_vecs.o): Likewise.
(xml-utils.o): Likewise.
(ptid.o): Likewise.
(buffer.o): Likewise.
(filestuff.o): Likewise.
(format.o): Likewise.
(vec.o): Likewise.
(print-utils.o): Likewise.
(rsp-low.o): Likewise.
(errors.o): Likewise.
(common-debug.o): Likewise.
(cleanups.o): Likewise.
(common-exceptions.o
(posix-strerror.o): Likewise.
(mingw-strerror.o): Likewise.
(btrace-common.o): Likewise.
(fileio.o): Likewise.
(common-regcache.o): Likewise.
(signals-state-save-restore.o): Likewise.
(new-op.o): Likewise.
(waitstatus.o): Likewise.
(arm.o): Likewise.
(arm-linux.o): Likewise.
(arm-get-next-pcs.o): Likewise.
(x86-dregs.o): Likewise.
(linux-btrace.o): Likewise.
(linux-osdata.o): Likewise.
(linux-procfs.o): Likewise.
(linux-ptrace.o): Likewise.
(linux-waitpid.o): Likewise.
(mips-linux-watch.o): Likewise.
(ppc-linux.o): Likewise.
(linux-personality.o): Likewise.
(x86-linux.o): Likewise.
(x86-linux-dregs.o): Likewise.
(amd64-linux-siginfo.o): Likewise.
(linux-namespaces.o): Likewise.
(aarch64-linux-hw-point.o): Likewise.
(aarch64-linux.o): Likewise.
(aarch64-insn.o): Likewise.
(tui.o): Likewise.
(tui-command.o): Likewise.
(tui-data.o): Likewise.
(tui-disasm.o): Likewise.
(tui-file.o): Likewise.
(tui-hooks.o): Likewise.
(tui-interp.o): Likewise.
(tui-io.o): Likewise.
(tui-layout.o): Likewise.
(tui-out.o): Likewise.
(tui-regs.o): Likewise.
(tui-source.o): Likewise.
(tui-stack.o): Likewise.
(tui-win.o): Likewise.
(tui-windata.o): Likewise.
(tui-wingeneral.o): Likewise.
(tui-winsource.o): Likewise.
(guile.o): Likewise.
(scm-arch.o): Likewise.
(scm-auto-load.o): Likewise.
(scm-block.o): Likewise.
(scm-breakpoint.o): Likewise.
(scm-cmd.o): Likewise.
(scm-disasm.o): Likewise.
(scm-exception.o): Likewise.
(scm-frame.o): Likewise.
(scm-gsmob.o): Likewise.
(scm-iterator.o): Likewise.
(scm-lazy-string.o): Likewise.
(scm-math.o): Likewise.
(scm-objfile.o): Likewise.
(scm-param.o): Likewise.
(scm-ports.o): Likewise.
(scm-pretty-print.o): Likewise.
(scm-progspace.o): Likewise.
(scm-safe-call.o): Likewise.
(scm-string.o): Likewise.
(scm-symbol.o): Likewise.
(scm-symtab.o): Likewise.
(scm-type.o): Likewise.
(scm-utils.o): Likewise.
(scm-value.o): Likewise.
(python.o): Likewise.
(py-arch.o): Likewise.
(py-auto-load.o): Likewise.
(py-block.o): Likewise.
(py-bpevent.o): Likewise.
(py-breakpoint.o): Likewise.
(py-cmd.o): Likewise.
(py-continueevent.o): Likewise.
(py-xmethods.o): Likewise.
(py-event.o): Likewise.
(py-evtregistry.o): Likewise.
(py-evts.o): Likewise.
(py-exitedevent.o): Likewise.
(py-finishbreakpoint.o): Likewise.
(py-frame.o): Likewise.
(py-framefilter.o): Likewise.
(py-function.o): Likewise.
(py-gdb-readline.o): Likewise.
(py-inferior.o): Likewise.
(py-infevents.o): Likewise.
(py-infthread.o): Likewise.
(py-lazy-string.o): Likewise.
(py-linetable.o): Likewise.
(py-newobjfileevent.o): Likewise.
(py-objfile.o): Likewise.
(py-param.o): Likewise.
(py-prettyprint.o): Likewise.
(py-progspace.o): Likewise.
(py-signalevent.o): Likewise.
(py-stopevent.o): Likewise.
(py-symbol.o): Likewise.
(py-symtab.o): Likewise.
(py-threadevent.o): Likewise.
(py-type.o): Likewise.
(py-unwind.o): Likewise.
(py-utils.o): Likewise.
(py-value.o): Likewise.
(py-varobj.o): Likewise.
commit 5443506ee45cb94769db7e76dd2021a96f2f0680
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Nov 17 12:02:13 2016 -0500
Makefile: Replace old suffix rules with pattern rules
As mentioned here [1], suffix rules are obsolete and have been
superseeded with pattern rules. People (myself included, before writing
this patch) are more likely to know what pattern rules are than suffix
rules.
AFAIK, .SUFFIXES targets are only used for those rules, and can be
removed as well.
New in v2:
- Replace rule in gdbserver/Makefile.in as well.
[1] https://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html
gdb/ChangeLog:
* Makefile.in (.c.o): Replace rule with ...
(%.o: %.c): ... this one.
(.po.gmo): Replace rule with ...
(%.gmo: %.po): ... this one.
(.po.pox): Replace rule with ...
(%.pox: %.po): ... this one.
(.y.c): Replace rule with ...
(%.c: %.y): ... this one.
(.l.c): Replace rule with ...
(%.c: %.l): ... this one.
(.SUFFIXES): Remove all instances.
gdb/gdbserver/ChangeLog:
* Makefile.in (.c.o): Replace rule with ...
(%.o: %.c): ... this one.
commit 3b165252e882c05c8217f888194877224295592d
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Nov 17 12:00:10 2016 -0500
Remove code that checks for GNU/non-GNU make
Since GNU make is now required to build GDB, we can remove everything
that checks whether the current make implemention is the GNU one or
not. I simply removed the @GMAKE_TRUE@ prefixes and removed the whole
lines that were prefixed with @GMAKE_FALSE@.
I removed the code in the configure scripts that set those variables.
I also removed the following bits from the configure scripts:
AC_CHECK_PROGS(MAKE, make): GNU make already defines a MAKE variable
internally to be used when invoking Makefiles recursively. I don't see
this variable being used anywhere else (in scripts for example), so I
think it's safe for removal.
AC_PROG_MAKE_SET: This macro defines a SET_MAKE output variable, which
is meant to be used in Makefiles to define the MAKE variable when
using an implementation of make that doesn't already define it.
Since we are now requiring GNU make, we don't need it anymore.
Plus, I don't see SET_MAKE being used anywhere, so I don't think it
was actually doing anything...
gdb/ChangeLog:
* Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
make.
* configure.ac: Remove checks for the make program.
* configure: Re-generate.
gdb/gdbserver/ChangeLog:
* Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
make.
* configure.ac: Remove checks for the make program.
* configure: Re-generate.
gdb/testsuite/ChangeLog:
* Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
make.
* configure.ac: Remove checks for the make program.
* configure: Re-generate.
commit f2ff9acd32b4667ee16a03ca8d10fd8b99e22f46
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Thu Nov 17 11:59:18 2016 -0500
Document new hard requirement on GNU make
As discussed in [1], it would be benificial for the GDB project to start
requiring GNU make to build its software. It would allow using useful
GNU-specific constructs, such as pattern rules. It would also allow
removing the alternative code paths in the Makefiles (guarded by
GMAKE_TRUE/GMAKE_FALSE), simplifying the Makefile code.
[1] https://sourceware.org/ml/gdb-patches/2016-11/msg00331.html
gdb/ChangeLog:
* NEWS: Mention requirement of GNU make.
commit 66be918f5f9f78d74c70aa332756286ff9d0ccf2
Author: Pedro Alves <palves@redhat.com>
Date: Thu Nov 17 14:53:02 2016 +0000
gdb/c-exp.y: fprintf -> parser_fprintf
Switching GDB to make use of gnulib's C++ namespace support mode
revealed these direct uses of fprintf in the C parser, where
parser_fprintf should be used to handle rewiring stderr to gdb_stderr:
..../src/gdb/c-exp.y: In function âvoid c_print_token(FILE*, int, YYSTYPE)â:
..../src/gdb/c-exp.y:3220:45: error: call to âfprintfâ declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
pulongest (value.typed_val_int.val));
^
..../src/gdb/c-exp.y:3231:62: error: call to âfprintfâ declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
fprintf (file, "tsval<type=%d, %s>", value.tsval.type, copy);
^
..../src/gdb/c-exp.y:3237:57: error: call to âfprintfâ declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
fprintf (file, "sval<%s>", copy_name (value.sval));
^
..../src/gdb/c-exp.y:3243:39: error: call to âfprintfâ declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
copy_name (value.tsym.stoken));
^
..../src/gdb/c-exp.y:3254:39: error: call to âfprintfâ declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
value.ssym.is_a_field_of_this);
^
..../src/gdb/c-exp.y:3258:70: error: call to âfprintfâ declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
fprintf (file, "bval<%s>", host_address_to_string (value.bval));
^
gdb/ChangeLog:
2016-11-17 Pedro Alves <palves@redhat.com>
* c-exp.y (c_print_token): Use parser_fprintf instead of fprintf.
commit 7c2683c40f745397e80b6df4edf8265ecb6fd194
Author: Pedro Alves <palves@redhat.com>
Date: Thu Nov 17 14:43:02 2016 +0000
gdb/ctf.c: Get rid of mkdir redefinition
Making GDB use gnulib's C++ namespace support shows this build error
on mingw:
../../src/gdb/ctf.c: In function 'void ctf_start(trace_file_writer*, const char*)':
../../src/gdb/ctf.c:309:46: error: no match for call to '(const gnulib::_gl_mkdir_wrapper) (const char*&)'
#define mkdir(pathname, mode) mkdir (pathname)
^
../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
^
../../src/gdb/ctf.c:309:46: note: candidate: gnulib::_gl_mkdir_wrapper::type {aka int (*)(const char*, short unsigned int)} <conversion>
#define mkdir(pathname, mode) mkdir (pathname)
^
../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
^
../../src/gdb/ctf.c:309:46: note: candidate expects 3 arguments, 2 provided
#define mkdir(pathname, mode) mkdir (pathname)
^
../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
^
The problem is the '#define mkdir ...'
Fortunately, we can just remove it, since gnulib's sys/stat.h
replacement already takes care of the Windows mkdir prototype quirk:
~~~
/* mingw's _mkdir() function has 1 argument, but we pass 2 arguments.
Additionally, it declares _mkdir (and depending on compile flags, an
alias mkdir), only in the nonstandard includes <direct.h> and <io.h>,
which are included above. */
# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
# if !GNULIB_defined_rpl_mkdir
static int
rpl_mkdir (char const *name, mode_t mode)
{
return _mkdir (name);
}
~~~
That's sys_stat.in.h, part of the sys_stat module, which we explictly
pull in nowadays. It wasn't being pulled when this macro was added:
https://sourceware.org/ml/gdb-patches/2013-03/msg00736.html
That patch was partially reverted meanwhile here:
https://sourceware.org/ml/gdb-patches/2013-12/msg00023.html
But the mkdir macro had been left behind unnoticed.
gdb/ChangeLog:
2016-11-17 Pedro Alves <palves@redhat.com>
* ctf.c [USE_WIN32API] (mkdir): Delete.
commit 200069c74f42ffcc726b9995a46971a86286a256
Author: Pedro Alves <palves@redhat.com>
Date: Wed Nov 16 11:38:49 2016 +0000
gdb/ada-lang.c: one malloc -> unique_ptr<[]>
Switching gdb to use gnulib's C++ namespace mode reveals we're calling
malloc instead of xmalloc here:
..../src/gdb/ada-lang.c: In function âvalue* ada_value_primitive_packed_val(value*, const gdb_byte*, long int, int, int, type*)â:
..../src/gdb/ada-lang.c:2592:50: error: call to âmallocâ declared with attribute warning: The symbol ::malloc refers to the system function. Use gnulib::malloc instead. [-Werror]
staging = (gdb_byte *) malloc (staging_len);
^
We're unconditionaly using the result afterwards -- so it's not a case
of gracefully handling huge allocations.
Since we want to get rid of all cleanups, fix this by switching to
new[] and unique_ptr<[]> instead, while at it.
Regtested on Fedora 23.
gdb/ChangeLog:
2016-11-16 Pedro Alves <palves@redhat.com>
* ada-lang.c (ada_value_primitive_packed_val): Use unique_ptr and
new gdb_byte[] instead of malloc and cleanups.
commit 19f1935d91bfabbe4176ffdaca95bc789b593153
Author: Pedro Alves <palves@redhat.com>
Date: Thu Nov 17 00:23:17 2016 +0000
gdb/tracepoint.c: Don't use printf_vma
I noticed that bfd's printf_vma prints to stdout directly:
bfd-in2.h:202:#define printf_vma(x) fprintf_vma(stdout,x)
This is a bad idea in gdb, where we should use
gdb_stdout/gdb_stderr/gdb_stdlog, etc., to support redirection.
Eliminate uses of sprintf_vma too while at it.
Tested on Fedora 23, w/ gdbserver.
gdb/ChangeLog:
2016-11-17 Pedro Alves <palves@redhat.com>
* tracepoint.c (collection_list::add_memrange): Add gdbarch
parameter. Use paddress instead of printf_vma. Adjust recursive
calls.
(collection_list::stringify): Use paddress and phex_nz instead of
sprintf_vma. Adjust add_memrange call.
* tracepoint.h (collection_list::add_memrange): Add gdbarch
parameter.
commit fa98319231a95aca0313878443143d3f92aca5e1
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Nov 17 00:00:19 2016 +0000
Automatic date update in version.in
commit 256ae5dbc73d1348850f86ee77a0dc3b04bc7cc0
Author: Kevin Buettner <kevinb@redhat.com>
Date: Mon Oct 31 12:47:42 2016 -0700
Stash frame id of current frame before stashing frame id for previous frame
This patch ensures that the frame id for the current frame is stashed
before that of the previous frame (to the current frame).
First, it should be noted that the frame id for the current frame is
not stashed by get_current_frame(). The current frame's frame id is
lazily computed and stashed via calls to get_frame_id(). However,
it's possible for get_prev_frame() to be called without first stashing
the current frame.
The frame stash is used not only to speed up frame lookups, but
also to detect cycles. When attempting to compute the frame id
for a "previous" frame (in get_prev_frame_if_no_cycle), a cycle
is detected if the computed frame id is already in the stash.
If it should happen that a previous frame id is stashed which should
represent a cycle for the current frame, then an assertion failure
will trigger should get_frame_id() be later called to determine
the frame id for the current frame.
As of late 2016, with the "Tweak meaning of VALUE_FRAME_ID" patch in
place, this actually occurs when running the
gdb.dwarf2/dw2-dup-frame.exp test. While attempting to generate a
backtrace, the python frame filter code is invoked, leading to
frame_info_to_frame_object() (in python/py-frame.c) being called.
That function will potentially call get_prev_frame() before
get_frame_id() is called. The call to get_prev_frame() can eventually
end up in get_prev_frame_if_no_cycle() which, in turn, calls
compute_frame_id(), after which the frame id is stashed for the
previous frame.
If the frame id for the current frame is stashed, the cycle detection
code (which relies on the frame stash) in get_prev_frame_if_no_cycle()
will be triggered for a cycle starting with the current frame. If the
current frame's id is not stashed, the cycle detecting code can't
operate as designed. Instead, when get_frame_id() is called on the
current frame at some later point, the current frame's id will found
to be already in the stash, triggering an assertion failure.
Below is an in depth examination of the failure which lead to this change.
I've shortened pathnames for brevity and readability.
Here's the portion of the log file showing the failure/internal error:
(gdb) break stop_frame
Breakpoint 1 at 0x40059a: file dw2-dup-frame.c, line 22.
(gdb) run
Starting program: testsuite/outputs/gdb.dwarf2/dw2-dup-frame/dw2-dup-frame
Breakpoint 1, stop_frame () at dw2-dup-frame.c:22
22 }
(gdb) bt
gdb/frame.c:544: internal-error: frame_id get_frame_id(frame_info*): Assertion `stashed' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
FAIL: gdb.dwarf2/dw2-dup-frame.exp: backtrace from stop_frame (GDB internal error)
Here's a partial backtrace from the internal error, showing the frames
which I think are relevant, plus several extra to provide context:
#0 internal_error (
file=0x932b98 "gdb/frame.c", line=544,
fmt=0x932b20 "%s: Assertion `%s' failed.")
at gdb/common/errors.c:54
#1 0x000000000072207e in get_frame_id (fi=0xe5a760)
at gdb/frame.c:544
#2 0x00000000004eb50d in frame_info_to_frame_object (frame=0xe5a760)
at gdb/python/py-frame.c:390
#3 0x00000000004ef5be in bootstrap_python_frame_filters (frame=0xe5a760,
frame_low=0, frame_high=-1)
at gdb/python/py-framefilter.c:1453
#4 0x00000000004ef7a9 in gdbpy_apply_frame_filter (
extlang=0x8857e0 <extension_language_python>, frame=0xe5a760, flags=7,
args_type=CLI_SCALAR_VALUES, out=0xf6def0, frame_low=0, frame_high=-1)
at gdb/python/py-framefilter.c:1548
#5 0x00000000005f2c5a in apply_ext_lang_frame_filter (frame=0xe5a760,
flags=7, args_type=CLI_SCALAR_VALUES, out=0xf6def0, frame_low=0,
frame_high=-1)
at gdb/extension.c:572
#6 0x00000000005ea896 in backtrace_command_1 (count_exp=0x0, show_locals=0,
no_filters=0, from_tty=1)
at gdb/stack.c:1834
Examination of the code in frame_info_to_frame_object(), which is in
python/py-frame.c, is key to understanding this problem:
if (get_prev_frame (frame) == NULL
&& get_frame_unwind_stop_reason (frame) != UNWIND_NO_REASON
&& get_next_frame (frame) != NULL)
{
frame_obj->frame_id = get_frame_id (get_next_frame (frame));
frame_obj->frame_id_is_next = 1;
}
else
{
frame_obj->frame_id = get_frame_id (frame);
frame_obj->frame_id_is_next = 0;
}
I will first note that the frame id for frame has not been computed yet. (This
was verified by placing a breakpoint on compute_frame_id().)
The call to get_prev_frame() causes the the frame id to (eventually) be
computed for the previous frame. Here's a backtrace showing how we
get there:
#0 compute_frame_id (fi=0x10e2810)
at gdb/frame.c:496
#1 0x0000000000724a67 in get_prev_frame_if_no_cycle (this_frame=0xe5a760)
at gdb/frame.c:1871
#2 0x0000000000725136 in get_prev_frame_always_1 (this_frame=0xe5a760)
at gdb/frame.c:2045
#3 0x000000000072516b in get_prev_frame_always (this_frame=0xe5a760)
at gdb/frame.c:2061
#4 0x000000000072570f in get_prev_frame (this_frame=0xe5a760)
at gdb/frame.c:2303
#5 0x00000000004eb471 in frame_info_to_frame_object (frame=0xe5a760)
at gdb/python/py-frame.c:381
For this particular case, we end up in the else clause of the code above
which calls get_frame_id (frame). It's at this point that the frame id
for frame is computed. Again, here's a backtrace:
#0 compute_frame_id (fi=0xe5a760)
at gdb/frame.c:496
#1 0x000000000072203d in get_frame_id (fi=0xe5a760)
at gdb/frame.c:539
#2 0x00000000004eb50d in frame_info_to_frame_object (frame=0xe5a760)
at gdb/python/py-frame.c:390
The test in question, dw2-dup-frame.exp, deliberately creates a broken
(cyclic) stack. So, in this instance, the frame id for the prev
`frame' will be the same as that for `frame'. But that particular
frame id ended up in the stash during the previous frame operation.
When, just a few lines later, we compute the frame id for `frame', the
id in question is already in the stash, thus triggering the assertion
failure.
I considered two other solutions to solving this problem:
We could prevent get_prev_frame() from being called before
get_frame_id() in frame_info_to_frame_object(). (See above for the
snippet of code where this happens.) A call to get_frame_id (frame)
could be placed ahead of that code snippet above. I have tested this
approach and, while it does work, I can't be certain that
get_prev_frame() isn't called ahead of stashing the current frame
somewhere else in GDB, but in a less obvious way.
Another approach is to stash the current frame's id by calling
get_frame_id() in get_current_frame(). This approach is conceptually
simpler, but when importing a python unwinder, has the unwelcome side
effect of causing the unwinder to be called during import.
A cleaner looking fix would be to place this code after code
corresponding to the "Don't compute the frame id of the current frame
yet..." comment in get_prev_frame_if_no_cycle(). Sadly, this does not
work though; by the time we get to this point, the frame state for the
prev frame has been modified just enough to cause an internal error to
occur when attempting to compute the (current) frame id for inline
frames. (The unexpected failure count increases by roughly 130
failures.) Therefore, I decided to place it as early as possible
in get_prev_frame().
gdb/ChangeLog:
* frame.c (get_prev_frame): Stash frame id for current frame
prior to computing frame id for previous frame.
commit 33cc7d368f420326606695daafd6292e2779c6af
Author: Kevin Buettner <kevinb@redhat.com>
Date: Tue Sep 27 22:45:19 2016 -0700
Make gdb.PendingFrame.read_register handle "user" registers.
The C function, pending_framepy_read_register(), which implements
the python interface gdb.PendingFrame.read_register does not handle
the so called "user" registers like "pc". An assertion error is
triggered due to the user registers having numbers larger than or
equal to gdbarch_num_regs(gdbarch).
With the VALUE_FRAME_ID tweak in place, the call to
get_frame_register_value() can simply be replaced by a call to
value_of_register(), which handles both real registers as well as the
user registers.
gdb/ChangeLog:
* python/py-unwind.c (pending_framepy_read_register): Use
value_of_register() instead of get_frame_register_value().
commit 41b56feb5063aee4fefb4a991eb796d1e8a7475e
Author: Kevin Buettner <kevinb@redhat.com>
Date: Tue Sep 27 21:18:44 2016 -0700
Change meaning of VALUE_FRAME_ID; rename to VALUE_NEXT_FRAME_ID
The VALUE_FRAME_ID macro provides access to a member in struct value
that's used to hold the frame id that's used when determining a
register's value or when assigning to a register. The underlying
member has a long and obscure name. I won't refer to it here, but
will simply refer to VALUE_FRAME_ID as if it's the struct value member
instead of being a convenient macro.
At the moment, without this patch in place, VALUE_FRAME_ID is set in
value_of_register_lazy() and several other locations to hold the frame
id of the frame passed to those functions.
VALUE_FRAME_ID is used in the lval_register case of
value_fetch_lazy(). To fetch the register's value, it calls
get_frame_register_value() which, in turn, calls
frame_unwind_register_value() with frame->next.
A python based unwinder may wish to determine the value of a register
or evaluate an expression containing a register. When it does this,
value_fetch_lazy() will be called under some circumstances. It will
attempt to determine the frame id associated with the frame passed to
it. In so doing, it will end up back in the frame sniffer of the very
same python unwinder that's attempting to learn the value of a
register as part of the sniffing operation. This recursion is not
desirable.
As noted above, when value_fetch_lazy() wants to fetch a register's
value, it does so (indirectly) by unwinding from frame->next.
With this in mind, a solution suggests itself: Change VALUE_FRAME_ID
to hold the frame id associated with the next frame. Then, when it
comes time to obtain the value associated with the register, we can
simply unwind from the frame corresponding to the frame id stored in
VALUE_FRAME_ID. This neatly avoids the python unwinder recursion
problem by changing when the "next" operation occurs. Instead of the
"next" operation occuring when the register value is fetched, it
occurs earlier on when assigning a frame id to VALUE_FRAME_ID.
(Thanks to Pedro for this suggestion.)
This patch implements this idea.
It builds on the patch "Distinguish sentinel frame from null frame".
Without that work in place, it's necessary to check for null_id at
several places and then obtain the sentinel frame.
It also renames most occurences of VALUE_FRAME_ID to
VALUE_NEXT_FRAME_ID to reflect the new meaning of this field.
There are several uses of VALUE_FRAME_ID which were not changed. In
each case, the original meaning of VALUE_FRAME_ID is required to get
correct results. In all but one of these uses, either
put_frame_register_bytes() or get_frame_register_bytes() is being
called with the frame value obtained from VALUE_FRAME_ID. Both of
these functions perform some unwinding by performing a "->next"
operation on the frame passed to it. If we were to use the new
VALUE_NEXT_FRAME_ID macro, this would effectively do two "->next"
operations, which is not what we want.
The VALUE_FRAME_ID macro has been redefined in terms of
VALUE_NEXT_FRAME_ID. It simply fetches the previous frame's id,
providing this id as the value of the macro.
gdb/ChangeLog:
* value.h (VALUE_FRAME_ID): Rename to VALUE_NEXT_FRAME_ID. Update
comment. Create new VALUE_FRAME_ID which is defined in terms of
VALUE_NEXT_FRAME_ID.
(deprecated_value_frame_id_hack): Rename to
deprecated_value_next_frame_id_hack.
* dwarf2loc.c, findvar.c, frame-unwind.c, sentinel-frame.c,
valarith.c, valops.c, value.c: Adjust nearly all occurences of
VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID. Add comments for those
which did not change.
* value.c (struct value): Rename frame_id field to next_frame_id.
Update comment.
(deprecated_value_frame_id_hack): Rename to
deprecated_value_next_frame_id_hack.
(value_fetch_lazy): Call frame_unwind_register_value()
instead of get_frame_register_value().
* frame.c (get_prev_frame_id_by_id): New function.
* frame.h (get_prev_frame_id_by_id): Declare.
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Make
VALUE_NEXT_FRAME_ID refer to the next frame.
* findvar.c (value_of_register_lazy): Likewise.
(default_value_from_register): Likewise.
(value_from_register): Likewise.
* frame_unwind.c (frame_unwind_got_optimized): Likewise.
* sentinel-frame.c (sentinel_frame_prev_register): Likewise.
* value.h (VALUE_FRAME_ID): Update comment describing this macro.
commit df433d316277ff5293832d3cd6cbc30b5c38dec0
Author: Kevin Buettner <kevinb@redhat.com>
Date: Tue Sep 27 20:33:38 2016 -0700
Distinguish sentinel frame from null frame.
This patch replaces the `current_frame' static global in frame.c with
`sentinel_frame'. It also makes the sentinel frame id unique and
different from the null frame.
By itself, there is not much point to this patch, but it makes
the code cleaner for the VALUE_FRAME_ID changes in another patch.
Since we now allow "navigation" to the sentinel frame, it removes
the necessity of adding special cases to other parts of GDB.
Note that a new function, get_next_frame_sentinel_okay, is introduced
in this patch. It will be used by the VALUE_FRAME_ID changes that
I've made.
Thanks to Pedro Alves for this suggestion.
gdb/ChangeLog:
* frame.h (enum frame_id_stack_status): Add FID_STACK_SENTINEL.
(struct frame_id): Increase number of bits required for storing
stack status to 3 from 2.
(sentinel_frame_id): New declaration.
(get_next_frame_sentinel_okay): Declare.
(frame_find_by_id_sentinel_okay): Declare.
* frame.c (current_frame): Rename this static global to...
(sentinel_frame): ...this static global, which has also been
moved an earlier location in the file.
(fprint_frame_id): Add case for sentinel frame id.
(get_frame_id): Return early for sentinel frame.
(sentinel_frame_id): Define.
(frame_find_by_id): Add case for sentinel_frame_id.
(create_sentinel_frame): Use sentinel_frame_id for this_id.value
instead of null_frame_id.
(get_current_frame): Add local declaration for `current_frame'.
Remove local declaration for `sentinel_frame.'
(get_next_frame_sentinel_okay): New function.
(reinit_frame_cache): Use `sentinel_frame' in place of
`current_frame'.
commit 1a2f3d7ff1d79b1290704e48c71e905b987393a6
Author: Kevin Buettner <kevinb@redhat.com>
Date: Mon Sep 26 15:00:37 2016 -0700
Extend test gdb.python/py-recurse-unwind.exp
This patch modifies the unwinder (sniffer) defined in
py-recurse-unwind.py so that, depending upon the value of one of its
class variables, it will take different paths through the code,
testing different functionality.
The original test attempted to obtain the value of an undefined
symbol.
This somewhat expanded test checks to see if 'pc' can be read via
gdb.PendingFrame.read_register() and also via gdb.parse_and_eval().
gdb/testsuite/ChangeLog:
* gdb.python/py-recurse-unwind.c (main): Add loop.
* gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
to read_register() and gdb.parse_and_eval(). Make each code
call a separate case that can be individually tested.
* gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
proc. Call cont_and_backtrace for each of the code paths that
we want to test in the unwinder.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 14 +
bfd/elf32-metag.c | 11 +-
bfd/elfxx-sparc.c | 22 +-
bfd/version.h | 2 +-
binutils/ChangeLog | 4 +
binutils/cxxfilt.c | 1 +
gas/ChangeLog | 56 +
gas/config/tc-aarch64.c | 24 +
gas/config/tc-arc.c | 77 +-
gas/testsuite/gas/aarch64/advsimd-armv8_3.d | 33 +
gas/testsuite/gas/aarch64/advsimd-armv8_3.s | 36 +
gas/testsuite/gas/aarch64/fp-armv8_3.d | 10 +
gas/testsuite/gas/aarch64/fp-armv8_3.s | 5 +
gas/testsuite/gas/aarch64/illegal-fcmla.d | 2 +
gas/testsuite/gas/aarch64/illegal-fcmla.l | 17 +
gas/testsuite/gas/aarch64/illegal-fcmla.s | 25 +
gas/testsuite/gas/aarch64/illegal-fjcvtzs.d | 2 +
gas/testsuite/gas/aarch64/illegal-fjcvtzs.l | 8 +
gas/testsuite/gas/aarch64/illegal-fjcvtzs.s | 14 +
gas/testsuite/gas/aarch64/illegal-ldapr.d | 2 +
gas/testsuite/gas/aarch64/illegal-ldapr.l | 16 +
gas/testsuite/gas/aarch64/illegal-ldapr.s | 25 +
gas/testsuite/gas/aarch64/illegal-ldraa.d | 2 +
gas/testsuite/gas/aarch64/illegal-ldraa.l | 35 +
gas/testsuite/gas/aarch64/illegal-ldraa.s | 44 +
gas/testsuite/gas/aarch64/illegal-nofp-armv8_3.d | 2 +
gas/testsuite/gas/aarch64/illegal-nofp-armv8_3.l | 3 +
gas/testsuite/gas/aarch64/illegal-nofp-armv8_3.s | 6 +
gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d | 20 +
gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.s | 22 +
gas/testsuite/gas/aarch64/pac.d | 22 +
gas/testsuite/gas/aarch64/pac.s | 23 +
gas/testsuite/gas/arc/cl-warn.s | 5 +
gas/testsuite/gas/arc/cpu-pseudop-1.d | 12 +
gas/testsuite/gas/arc/cpu-pseudop-1.s | 6 +
gas/testsuite/gas/arc/cpu-pseudop-2.d | 11 +
gas/testsuite/gas/arc/cpu-pseudop-2.s | 5 +
gas/testsuite/gas/arc/cpu-warn2.s | 4 +
gdb/ChangeLog | 290 ++
gdb/Makefile.in | 835 +----
gdb/NEWS | 5 +
gdb/ada-lang.c | 14 +-
gdb/c-exp.y | 28 +-
gdb/configure | 97 -
gdb/configure.ac | 11 -
gdb/ctf.c | 5 -
gdb/doc/ChangeLog | 5 +
gdb/doc/gdb.texinfo | 2 +-
gdb/dwarf2loc.c | 21 +-
gdb/findvar.c | 26 +-
gdb/frame-unwind.c | 3 +-
gdb/frame.c | 121 +-
gdb/frame.h | 16 +-
gdb/gdbserver/ChangeLog | 13 +
gdb/gdbserver/Makefile.in | 36 +-
gdb/gdbserver/configure | 97 -
gdb/gdbserver/configure.ac | 11 -
gdb/python/py-unwind.c | 7 +-
gdb/sentinel-frame.c | 2 +-
gdb/testsuite/ChangeLog | 18 +
gdb/testsuite/Makefile.in | 88 +-
gdb/testsuite/configure | 99 -
gdb/testsuite/configure.ac | 11 -
gdb/testsuite/gdb.python/py-recurse-unwind.c | 6 +-
gdb/testsuite/gdb.python/py-recurse-unwind.exp | 63 +-
gdb/testsuite/gdb.python/py-recurse-unwind.py | 29 +-
gdb/tracepoint.c | 60 +-
gdb/tracepoint.h | 3 +-
gdb/valarith.c | 2 +-
gdb/valops.c | 13 +-
gdb/value.c | 47 +-
gdb/value.h | 16 +-
include/ChangeLog | 28 +
include/demangle.h | 33 +-
include/opcode/aarch64.h | 7 +
libiberty/ChangeLog | 66 +
libiberty/Makefile.in | 13 +
libiberty/configure | 3 +-
libiberty/configure.ac | 3 +-
libiberty/cp-demangle.c | 197 +-
libiberty/cplus-dem.c | 69 +-
libiberty/hashtab.c | 20 +-
libiberty/regex.c | 8 +-
libiberty/rust-demangle.c | 348 ++
libiberty/testsuite/Makefile.in | 7 +-
libiberty/testsuite/demangle-expected | 47 +
libiberty/testsuite/rust-demangle-expected | 161 +
opcodes/ChangeLog | 50 +
opcodes/aarch64-asm-2.c | 1038 +++---
opcodes/aarch64-asm.c | 74 +-
opcodes/aarch64-asm.h | 2 +
opcodes/aarch64-dis-2.c | 4551 ++++++++++----------
opcodes/aarch64-dis.c | 63 +
opcodes/aarch64-dis.h | 2 +
opcodes/aarch64-opc-2.c | 117 +-
opcodes/aarch64-opc.c | 64 +-
opcodes/aarch64-opc.h | 4 +
opcodes/aarch64-tbl.h | 54 +
98 files changed, 5515 insertions(+), 4242 deletions(-)
create mode 100644 gas/testsuite/gas/aarch64/advsimd-armv8_3.d
create mode 100644 gas/testsuite/gas/aarch64/advsimd-armv8_3.s
create mode 100644 gas/testsuite/gas/aarch64/fp-armv8_3.d
create mode 100644 gas/testsuite/gas/aarch64/fp-armv8_3.s
create mode 100644 gas/testsuite/gas/aarch64/illegal-fcmla.d
create mode 100644 gas/testsuite/gas/aarch64/illegal-fcmla.l
create mode 100644 gas/testsuite/gas/aarch64/illegal-fcmla.s
create mode 100644 gas/testsuite/gas/aarch64/illegal-fjcvtzs.d
create mode 100644 gas/testsuite/gas/aarch64/illegal-fjcvtzs.l
create mode 100644 gas/testsuite/gas/aarch64/illegal-fjcvtzs.s
create mode 100644 gas/testsuite/gas/aarch64/illegal-ldapr.d
create mode 100644 gas/testsuite/gas/aarch64/illegal-ldapr.l
create mode 100644 gas/testsuite/gas/aarch64/illegal-ldapr.s
create mode 100644 gas/testsuite/gas/aarch64/illegal-ldraa.d
create mode 100644 gas/testsuite/gas/aarch64/illegal-ldraa.l
create mode 100644 gas/testsuite/gas/aarch64/illegal-ldraa.s
create mode 100644 gas/testsuite/gas/aarch64/illegal-nofp-armv8_3.d
create mode 100644 gas/testsuite/gas/aarch64/illegal-nofp-armv8_3.l
create mode 100644 gas/testsuite/gas/aarch64/illegal-nofp-armv8_3.s
create mode 100644 gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d
create mode 100644 gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.s
create mode 100644 gas/testsuite/gas/arc/cl-warn.s
create mode 100644 gas/testsuite/gas/arc/cpu-pseudop-1.d
create mode 100644 gas/testsuite/gas/arc/cpu-pseudop-1.s
create mode 100644 gas/testsuite/gas/arc/cpu-pseudop-2.d
create mode 100644 gas/testsuite/gas/arc/cpu-pseudop-2.s
create mode 100644 gas/testsuite/gas/arc/cpu-warn2.s
create mode 100644 libiberty/rust-demangle.c
create mode 100644 libiberty/testsuite/rust-demangle-expected
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fcc5b1c..8a18a6d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,17 @@
+2016-11-18 James Clarke <jrtc27@jrtc27.com>
+
+ * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Don't convert
+ R_SPARC_GOTDATA_OP_HIX22 and R_SPARC_GOTDATA_OP_LOX10 to
+ R_SPARC_GOT* for non-local references. Instead, treat them like
+ R_SPARC_GOTDATA_HIX22/R_SPARC_GOTDATA_LOX10 when filling in the
+ immediate with the calculated relocation.
+
+2016-11-18 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20675
+ * elf32-metag.c (elf_metag_relocate_section): Replace abort with
+ an informative error message.
+
2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
PR ld/20789
diff --git a/bfd/elf32-metag.c b/bfd/elf32-metag.c
index 1557a37..ac78324 100644
--- a/bfd/elf32-metag.c
+++ b/bfd/elf32-metag.c
@@ -1820,7 +1820,7 @@ elf_metag_relocate_section (bfd *output_bfd,
}
if (tls_type == GOT_UNKNOWN)
- abort();
+ abort ();
if ((off & 1) != 0)
off &= ~1;
@@ -1880,7 +1880,14 @@ elf_metag_relocate_section (bfd *output_bfd,
else
{
/* We don't support changing the TLS model. */
- abort ();
+ /* PR 20675 */
+ if (bfd_link_pic (info))
+ _bfd_error_handler (_("%B(%A): multiple TLS models are not supported"),
+ input_bfd, input_section, name);
+ else
+ _bfd_error_handler (_("%B(%A): shared library symbol %s encountered whilst performing a static link"),
+ input_bfd, input_section, name);
+ return FALSE;
}
cur_off += 8;
diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c
index db8058f..e1c7b22 100644
--- a/bfd/elfxx-sparc.c
+++ b/bfd/elfxx-sparc.c
@@ -3164,14 +3164,12 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
case R_SPARC_GOTDATA_OP_HIX22:
case R_SPARC_GOTDATA_OP_LOX10:
if (SYMBOL_REFERENCES_LOCAL (info, h))
- r_type = (r_type == R_SPARC_GOTDATA_OP_HIX22
- ? R_SPARC_GOTDATA_HIX22
- : R_SPARC_GOTDATA_LOX10);
- else
- r_type = (r_type == R_SPARC_GOTDATA_OP_HIX22
- ? R_SPARC_GOT22
- : R_SPARC_GOT10);
- howto = _bfd_sparc_elf_howto_table + r_type;
+ {
+ r_type = (r_type == R_SPARC_GOTDATA_OP_HIX22
+ ? R_SPARC_GOTDATA_HIX22
+ : R_SPARC_GOTDATA_LOX10);
+ howto = _bfd_sparc_elf_howto_table + r_type;
+ }
break;
case R_SPARC_GOTDATA_OP:
@@ -3193,6 +3191,8 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
relocation = gdopoff (info, relocation);
break;
+ case R_SPARC_GOTDATA_OP_HIX22:
+ case R_SPARC_GOTDATA_OP_LOX10:
case R_SPARC_GOT10:
case R_SPARC_GOT13:
case R_SPARC_GOT22:
@@ -4017,7 +4017,8 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
r = bfd_reloc_ok;
}
else if (r_type == R_SPARC_HIX22
- || r_type == R_SPARC_GOTDATA_HIX22)
+ || r_type == R_SPARC_GOTDATA_HIX22
+ || r_type == R_SPARC_GOTDATA_OP_HIX22)
{
bfd_vma x;
@@ -4036,7 +4037,8 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
relocation);
}
else if (r_type == R_SPARC_LOX10
- || r_type == R_SPARC_GOTDATA_LOX10)
+ || r_type == R_SPARC_GOTDATA_LOX10
+ || r_type == R_SPARC_GOTDATA_OP_LOX10)
{
bfd_vma x;
diff --git a/bfd/version.h b/bfd/version.h
index e6f720e..c74b66c 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20161116
+#define BFD_VERSION_DATE 20161118
#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/binutils/ChangeLog b/binutils/ChangeLog
index 3347bdb..bbeec9c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-16 Mark Wielaard <mark@klomp.org>
+
+ * cxxfilt.c (main): Recognize rust_demangling.
+
2016-11-14 Rudy <jacky.chouchou@yandex.ru>
PR binutils/20814
diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c
index d5863ee..21e5b0d 100644
--- a/binutils/cxxfilt.c
+++ b/binutils/cxxfilt.c
@@ -241,6 +241,7 @@ main (int argc, char **argv)
case gnat_demangling:
case gnu_v3_demangling:
case dlang_demangling:
+ case rust_demangling:
case auto_demangling:
valid_symbols = standard_symbol_characters ();
break;
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 613833b..c95decc 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,59 @@
+2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * testsuite/gas/arc/cl-warn.s: New file.
+ * testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
+ * testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
+ * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
+ * testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
+ * testsuite/gas/arc/cpu-warn2.s: Likewise.
+ * config/tc-arc.c (selected_cpu): Initialize.
+ (feature_type): New struct.
+ (feature_list): New variable.
+ (arc_check_feature): New function.
+ (arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
+ current cpu features. Check if a feature is available for a given
+ cpu.
+ (md_parse_option): Test if features are available for a given cpu.
+
+2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
+ * testsuite/gas/aarch64/advsimd-armv8_3.d: New.
+ * testsuite/gas/aarch64/advsimd-armv8_3.s: New.
+ * testsuite/gas/aarch64/illegal-fcmla.s: New.
+ * testsuite/gas/aarch64/illegal-fcmla.l: New.
+ * testsuite/gas/aarch64/illegal-fcmla.d: New.
+
+2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
+ * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
+ * testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
+ * testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
+ * testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
+
+2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
+ * testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
+ * testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
+ * testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
+ * testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
+ * testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
+ * testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
+ * testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
+
+2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
+ (fix_insn): Likewise.
+ (warn_unpredictable_ldst): Handle ldst_imm10.
+ * testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
+ * testsuite/gas/aarch64/pac.d: Likewise.
+ * testsuite/gas/aarch64/illegal-ldraa.s: New.
+ * testsuite/gas/aarch64/illegal-ldraa.l: New.
+ * testsuite/gas/aarch64/illegal-ldraa.d: New.
+
2016-11-15 Nick Clifton <nickc@redhat.com>
PR gas/20803
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index e65daa0..7c518c7 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -5561,6 +5561,9 @@ parse_operands (char *str, const aarch64_opcode *opcode)
case AARCH64_OPND_SVE_UIMM7:
case AARCH64_OPND_SVE_UIMM8:
case AARCH64_OPND_SVE_UIMM8_53:
+ case AARCH64_OPND_IMM_ROT1:
+ case AARCH64_OPND_IMM_ROT2:
+ case AARCH64_OPND_IMM_ROT3:
po_imm_nc_or_fail ();
info->imm.value = val;
break;
@@ -6024,6 +6027,25 @@ parse_operands (char *str, const aarch64_opcode *opcode)
/* skip_p */ 0);
break;
+ case AARCH64_OPND_ADDR_SIMM10:
+ po_misc_or_fail (parse_address (&str, info));
+ if (info->addr.pcrel || info->addr.offset.is_reg
+ || !info->addr.preind || info->addr.postind)
+ {
+ set_syntax_error (_("invalid addressing mode"));
+ goto failure;
+ }
+ if (inst.reloc.type != BFD_RELOC_UNUSED)
+ {
+ set_syntax_error (_("relocation not allowed"));
+ goto failure;
+ }
+ assign_imm_if_const_or_fixup_later (&inst.reloc, info,
+ /* addr_off_p */ 1,
+ /* need_libopcodes_p */ 1,
+ /* skip_p */ 0);
+ break;
+
case AARCH64_OPND_ADDR_UIMM12:
po_misc_or_fail (parse_address (&str, info));
if (info->addr.pcrel || info->addr.offset.is_reg
@@ -6481,6 +6503,7 @@ warn_unpredictable_ldst (aarch64_instruction *instr, char *str)
{
case ldst_pos:
case ldst_imm9:
+ case ldst_imm10:
case ldst_unscaled:
case ldst_unpriv:
/* Loading/storing the base register is unpredictable if writeback. */
@@ -7350,6 +7373,7 @@ fix_insn (fixS *fixP, uint32_t flags, offsetT value)
case AARCH64_OPND_ADDR_SIMM7:
case AARCH64_OPND_ADDR_SIMM9:
case AARCH64_OPND_ADDR_SIMM9_2:
+ case AARCH64_OPND_ADDR_SIMM10:
case AARCH64_OPND_ADDR_UIMM12:
/* Immediate offset in an address. */
insn = get_aarch64_insn (buf);
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 06aee48..376ac43 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -451,7 +451,23 @@ static const struct cpu_type
};
/* Information about the cpu/variant we're assembling for. */
-static struct cpu_type selected_cpu;
+static struct cpu_type selected_cpu = { 0, 0, 0, 0, 0 };
+
+/* A table with options. */
+static const struct feature_type
+{
+ unsigned feature;
+ unsigned cpus;
+ const char *name;
+}
+ feature_list[] =
+{
+ { ARC_CD, ARC_OPCODE_ARCV2, "code-density" },
+ { ARC_NPS400, ARC_OPCODE_ARC700, "nps400" },
+ { ARC_SPFP, ARC_OPCODE_ARCFPX, "single-precision FPX" },
+ { ARC_DPFP, ARC_OPCODE_ARCFPX, "double-precision FPX" },
+ { ARC_FPUDA, ARC_OPCODE_ARCv2EM, "double assist FP" }
+};
/* Used by the arc_reloc_op table. Order is important. */
#define O_gotoff O_md1 /* @gotoff relocation. */
@@ -775,6 +791,27 @@ md_number_to_chars_midend (char *buf, unsigned long long val, int n)
}
}
+/* Check if a feature is allowed for a specific CPU. */
+
+static void
+arc_check_feature (void)
+{
+ unsigned i;
+
+ if (!selected_cpu.features
+ || !selected_cpu.name)
+ return;
+ for (i = 0; (i < ARRAY_SIZE (feature_list)); i++)
+ {
+ if ((selected_cpu.features & feature_list[i].feature)
+ && !(selected_cpu.flags & feature_list[i].cpus))
+ {
+ as_bad (_("invalid %s option for %s cpu"), feature_list[i].name,
+ selected_cpu.name);
+ }
+ }
+}
+
/* Select an appropriate entry from CPU_TYPES based on ARG and initialise
the relevant static global variables. Parameter SEL describes where
this selection originated from. */
@@ -790,6 +827,10 @@ arc_select_cpu (const char *arg, enum mach_selection_type sel)
gas_assert (sel != MACH_SELECTION_FROM_DEFAULT
|| mach_selection_mode == MACH_SELECTION_NONE);
+ if ((mach_selection_mode == MACH_SELECTION_FROM_CPU_DIRECTIVE)
+ && (sel == MACH_SELECTION_FROM_CPU_DIRECTIVE))
+ as_bad (_("Multiple .cpu directives found"));
+
/* Look for a matching entry in CPU_TYPES array. */
for (i = 0; cpu_types[i].name; ++i)
{
@@ -807,22 +848,25 @@ arc_select_cpu (const char *arg, enum mach_selection_type sel)
&& selected_cpu.mach != cpu_types[i].mach)
{
as_warn (_("Command-line value overrides \".cpu\" directive"));
- return;
}
+ return;
}
- /* Initialise static global data about selected machine type. */
- selected_cpu.flags = cpu_types[i].flags;
- selected_cpu.name = cpu_types[i].name;
- selected_cpu.features = cpu_types[i].features;
- selected_cpu.mach = cpu_types[i].mach;
- cpu_flags = cpu_types[i].eflags;
+ /* Initialise static global data about selected machine type. */
+ selected_cpu.flags = cpu_types[i].flags;
+ selected_cpu.name = cpu_types[i].name;
+ selected_cpu.features |= cpu_types[i].features;
+ selected_cpu.mach = cpu_types[i].mach;
+ cpu_flags = cpu_types[i].eflags;
break;
}
}
if (!cpu_types[i].name)
as_fatal (_("unknown architecture: %s\n"), arg);
+
+ /* Check if set features are compatible with the chosen CPU. */
+ arc_check_feature ();
gas_assert (cpu_flags != 0);
selected_cpu.eflags = (arc_initial_eflag & ~EF_ARC_MACH_MSK) | cpu_flags;
mach_selection_mode = sel;
@@ -3304,11 +3348,8 @@ md_parse_option (int c, const char *arg ATTRIBUTE_UNUSED)
break;
case OPTION_CD:
- /* This option has an effect only on ARC EM. */
- if (selected_cpu.flags & ARC_OPCODE_ARCv2EM)
- selected_cpu.features |= ARC_CD;
- else
- as_warn (_("Code density option invalid for selected CPU"));
+ selected_cpu.features |= ARC_CD;
+ arc_check_feature ();
break;
case OPTION_RELAX:
@@ -3317,22 +3358,22 @@ md_parse_option (int c, const char *arg ATTRIBUTE_UNUSED)
case OPTION_NPS400:
selected_cpu.features |= ARC_NPS400;
+ arc_check_feature ();
break;
case OPTION_SPFP:
selected_cpu.features |= ARC_SPFP;
+ arc_check_feature ();
break;
case OPTION_DPFP:
selected_cpu.features |= ARC_DPFP;
+ arc_check_feature ();
break;
case OPTION_FPUDA:
- /* This option has an effect only on ARC EM. */
- if (selected_cpu.flags & ARC_OPCODE_ARCv2EM)
- selected_cpu.features |= ARC_FPUDA;
- else
- as_warn (_("FPUDA invalid for selected CPU"));
+ selected_cpu.features |= ARC_FPUDA;
+ arc_check_feature ();
break;
/* Dummy options are accepted but have no effect. */
diff --git a/gas/testsuite/gas/aarch64/advsimd-armv8_3.d b/gas/testsuite/gas/aarch64/advsimd-armv8_3.d
new file mode 100644
index 0000000..0e477e4
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/advsimd-armv8_3.d
@@ -0,0 +1,33 @@
+#as: -march=armv8.3-a
+#objdump: -dr
+
+.*: file format .*
+
+Disassembly of section \.text:
+
+0000000000000000 <.*>:
+[^:]+: 6ec3c441 fcmla v1.2d, v2.2d, v3.2d, #0
+[^:]+: 6ec3cc41 fcmla v1.2d, v2.2d, v3.2d, #90
+[^:]+: 6ec3d441 fcmla v1.2d, v2.2d, v3.2d, #180
+[^:]+: 6ec3dc41 fcmla v1.2d, v2.2d, v3.2d, #270
+[^:]+: 2e83cc41 fcmla v1.2s, v2.2s, v3.2s, #90
+[^:]+: 6e83cc41 fcmla v1.4s, v2.4s, v3.4s, #90
+[^:]+: 2e43cc41 fcmla v1.4h, v2.4h, v3.4h, #90
+[^:]+: 6e43cc41 fcmla v1.8h, v2.8h, v3.8h, #90
+[^:]+: 6f831041 fcmla v1.4s, v2.4s, v3.s\[0\], #0
+[^:]+: 6f833041 fcmla v1.4s, v2.4s, v3.s\[0\], #90
+[^:]+: 6f835041 fcmla v1.4s, v2.4s, v3.s\[0\], #180
+[^:]+: 6f837041 fcmla v1.4s, v2.4s, v3.s\[0\], #270
+[^:]+: 6f833841 fcmla v1.4s, v2.4s, v3.s\[1\], #90
+[^:]+: 2f433041 fcmla v1.4h, v2.4h, v3.h\[0\], #90
+[^:]+: 2f633041 fcmla v1.4h, v2.4h, v3.h\[1\], #90
+[^:]+: 6f433041 fcmla v1.8h, v2.8h, v3.h\[0\], #90
+[^:]+: 6f633041 fcmla v1.8h, v2.8h, v3.h\[1\], #90
+[^:]+: 6f433841 fcmla v1.8h, v2.8h, v3.h\[2\], #90
+[^:]+: 6f633841 fcmla v1.8h, v2.8h, v3.h\[3\], #90
+[^:]+: 6ec3e441 fcadd v1.2d, v2.2d, v3.2d, #90
+[^:]+: 6ec3f441 fcadd v1.2d, v2.2d, v3.2d, #270
+[^:]+: 2e83e441 fcadd v1.2s, v2.2s, v3.2s, #90
+[^:]+: 6e83e441 fcadd v1.4s, v2.4s, v3.4s, #90
+[^:]+: 2e43e441 fcadd v1.4h, v2.4h, v3.4h, #90
+[^:]+: 6e43e441 fcadd v1.8h, v2.8h, v3.8h, #90
diff --git a/gas/testsuite/gas/aarch64/advsimd-armv8_3.s b/gas/testsuite/gas/aarch64/advsimd-armv8_3.s
new file mode 100644
index 0000000..bfb94e5
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/advsimd-armv8_3.s
@@ -0,0 +1,36 @@
+/* Test file for ARMv8.3 complex arithmetics instructions. */
+ .text
+
+ /* Three-same operands FCMLA. */
+ fcmla v1.2d, v2.2d, v3.2d, #0
+ fcmla v1.2d, v2.2d, v3.2d, #90
+ fcmla v1.2d, v2.2d, v3.2d, #180
+ fcmla v1.2d, v2.2d, v3.2d, #270
+
+ fcmla v1.2s, v2.2s, v3.2s, #90
+ fcmla v1.4s, v2.4s, v3.4s, #90
+ fcmla v1.4h, v2.4h, v3.4h, #90
+ fcmla v1.8h, v2.8h, v3.8h, #90
+
+ /* Indexed element FCMLA. */
+ fcmla v1.4s, v2.4s, v3.s[0], #0
+ fcmla v1.4s, v2.4s, v3.s[0], #90
+ fcmla v1.4s, v2.4s, v3.s[0], #180
+ fcmla v1.4s, v2.4s, v3.s[0], #270
+ fcmla v1.4s, v2.4s, v3.s[1], #90
+
+ fcmla v1.4h, v2.4h, v3.h[0], #90
+ fcmla v1.4h, v2.4h, v3.h[1], #90
+ fcmla v1.8h, v2.8h, v3.h[0], #90
+ fcmla v1.8h, v2.8h, v3.h[1], #90
+ fcmla v1.8h, v2.8h, v3.h[2], #90
+ fcmla v1.8h, v2.8h, v3.h[3], #90
+
+ /* Three-same operands FADD. */
+ fcadd v1.2d, v2.2d, v3.2d, #90
+ fcadd v1.2d, v2.2d, v3.2d, #270
+
+ fcadd v1.2s, v2.2s, v3.2s, #90
+ fcadd v1.4s, v2.4s, v3.4s, #90
+ fcadd v1.4h, v2.4h, v3.4h, #90
+ fcadd v1.8h, v2.8h, v3.8h, #90
diff --git a/gas/testsuite/gas/aarch64/fp-armv8_3.d b/gas/testsuite/gas/aarch64/fp-armv8_3.d
new file mode 100644
index 0000000..9be6fca
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/fp-armv8_3.d
@@ -0,0 +1,10 @@
+#objdump: -dr
+#as: -march=armv8.3-a
+
+.*: file .*
+
+Disassembly of section \.text:
+
+0000000000000000 <.*>:
+ 0: 1e7e0041 fjcvtzs w1, d2
+ 4: 1e7e00e7 fjcvtzs w7, d7
diff --git a/gas/testsuite/gas/aarch64/fp-armv8_3.s b/gas/testsuite/gas/aarch64/fp-armv8_3.s
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-16 17:58 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-16 17:58 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 1c666b6929be0eda374b204c2637b36e4547e3c5 (commit)
via 4cb771f214ed6a2102e37bce255c6be5d0642f3a (commit)
via ff7ba33e8aae2ee8ec607d3f1f4b96f7cb1a92b9 (commit)
via 4c62b19fd2e6b81ce7cbb7d01e84c09352ccf224 (commit)
via 5cc8c7310338224d65aa14c4256d4d7539e0dd45 (commit)
via b22e99fdaf2efe58161c382bbd55f4572ba49eef (commit)
via b7f38fdae7c75e1d13abd455b3931950db28d22b (commit)
via 93ca393659ef6714724749950301757f47e5e9fd (commit)
via 32ce946fd83f08a4f1486de02d3f83870b36b28e (commit)
via 9d734efa1034d266249751978f95a686ec9d19c6 (commit)
via 35fd2ddeb1d90f1750401cfb6d01fe055656b88d (commit)
via db58b3735f45345c06cb9a14d0f83f5b26c1ebf3 (commit)
via 80bb3407f6891aff5dbed5b2fd5c3dae8f227319 (commit)
via 63f2433dbccc7ddf8812fefd6eed0e6dd2f88955 (commit)
via 29df15201399610c3887382f004af337e3fe5601 (commit)
from 459afe42d7936cd753cbd3655bd9971f584bee1d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 1c666b6929be0eda374b204c2637b36e4547e3c5
Merge: 459afe4 4cb771f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Nov 16 18:58:09 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit 4cb771f214ed6a2102e37bce255c6be5d0642f3a
Author: Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Date: Wed Nov 16 16:11:46 2016 +0530
Fix PR20789 - relaxation with negative valued diff relocs
Fix issues with diff relocs that have a negative value
i.e. sym2 - sym1 where sym2 is lesser than sym1.
The assembler generates a diff reloc with symbol as start of section
and addend as sym2 offset, and encodes assembly time difference at
the reloc offset.
The existing relaxation logic adjusts addends if the relaxed insn lies
between symbol and addend. That doesn't work for diff relocs where
sym2 is less than sym1 *and* the relaxed insn happens to be between
sym2 and sym1.
Fix the problems by
1. Using signed handling of the difference value (bfd_signed_vma instead
of bfd_vma, bfd_{get,set}_signed_xxx instead of bfd_{get,set}_xxx).
2. Not assuming sym2 is bigger than sym1. It instead computes the actual
addresses and sets the lower and higher addresses as start and end
addresses respectively and then sees if insn is between start and end.
3. Creating a new function elf32_avr_adjust_reloc_if_spans_insn to
centralize reloc adjustment, and ensuring diff relocs get adjusted
correctly even if their sym + addend doesn't overlap a relaxed insn.
It also removes a redundant variable did_pad. It is never set if
did_shrink is TRUE, and the code does a early return if did_shrink is
FALSE.
bfd/ChangeLog
2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
PR ld/20789
* bfd/elf32-avr.c (elf32_avr_adjust_diff_reloc_value): Do signed
manipulation of diff value, and don't assume sym2 is less than sym1.
(elf32_avr_adjust_reloc_if_spans_insn): New function.
(elf32_avr_relax_delete_bytes): Use elf32_avr_adjust_diff_reloc_value,
and remove redundant did_pad.
ld/ChangeLog
2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
PR ld/20789
* ld/testsuite/ld-avr/pr20789.d: New test.
* ld/testsuite/ld-avr/pr20789.s: New test.
commit ff7ba33e8aae2ee8ec607d3f1f4b96f7cb1a92b9
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Nov 16 00:00:20 2016 +0000
Automatic date update in version.in
commit 4c62b19fd2e6b81ce7cbb7d01e84c09352ccf224
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 15 19:29:14 2016 +0000
gdb: update gnulib to pull in C++ namespace support fixes
I've been experimenting with making use of gnulib's C++ namespace support:
https://www.gnu.org/software/gnulib/manual/html_node/A-C_002b_002b-namespace-for-gnulib.html
That stumbled on a few gnulib issues, which I've fixed upstream:
[PATCH] Fix gnulib C++ namespace support and std::frexp
https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00039.html
[PATCH] Fix real-floating argument functions in C++ mode
https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00049.html
[PATCH] Avoid having GNULIB_NAMESPACE::func always inject references to rpl_func
https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00040.html
[PATCH] C++: "#define timeval rpl_timeval" -> typedef in GNULIB_NAMESPACE
https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00058.html
This merge pulls those in.
gdb/ChangeLog:
2016-11-15 Pedro Alves <palves@redhat.com>
* gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
38237baf99386101934cd93278023aa4ae523ec0.
* gnulib/configure, gnulib/config.in: Regenerate.
* gnulib/import/Makefile.am: Regenerate.
* gnulib/import/Makefile.in: Regenerate.
* gnulib/import/canonicalize-lgpl.c: Update.
* gnulib/import/extra/snippet/c++defs.h: Update.
* gnulib/import/m4/stdint.m4: Update.
* gnulib/import/m4/stdlib_h.m4: Update.
* gnulib/import/math.in.h: Update.
* gnulib/import/stdlib.in.h: Update.
* gnulib/import/sys_time.in.h: Update.
commit 5cc8c7310338224d65aa14c4256d4d7539e0dd45
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 15 19:54:21 2016 +0000
Delete gdb::unique_ptr/gdb::move
Now that we require C++11 and all uses of gdb::unique_ptr and
gdb::move are gone, let's remove their definitions...
With my lazy hat on, I repurposed the header for "generally useful
unique_ptr specializations", and left gdb::unique_xmalloc_ptr in
there. Not sure whether we it'd be better move it out of the gdb
namespace or leave it be. I left it because it's less work and avoids
disrupting yet-unmerged patches that use it.
gdb/ChangeLog:
2016-11-15 Pedro Alves <palves@redhat.com>
* common/common-defs.h: Update comment.
* common/gdb_unique_ptr.h: Update header comment and copyright
year.
(gdb::unique_ptr, gdb::move): Delete.
commit b22e99fdaf2efe58161c382bbd55f4572ba49eef
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 15 19:54:21 2016 +0000
gdb::{unique_ptr,move} -> std::{unique_ptr,move}
Now that we require C++11, use std::unique_ptr and std::move directly.
gdb/ChangeLog:
2016-11-15 Pedro Alves <palves@redhat.com>
* ada-lang.c (create_excep_cond_exprs): Use std::move instead of
gdb::move.
* break-catch-throw.c (handle_gnu_v3_exceptions): Use
std::unique_ptr instead of gdb::unique_ptr.
* breakpoint.c (watch_command_1): Use std::move instead of
gdb::move.
* cli/cli-dump.c (dump_memory_to_file, restore_binary_file): Use
std::unique_ptr instead of gdb::unique_ptr.
* dtrace-probe.c (dtrace_process_dof_probe): Use std::move instead
of gdb::move.
* elfread.c (elf_read_minimal_symbols): Use std::unique_ptr
instead of gdb::unique_ptr.
* mi/mi-main.c (mi_cmd_data_read_memory): Use std::unique_ptr
instead of gdb::unique_ptr.
* parse.c (parse_expression_for_completion): Use std::move instead
of gdb::move.
* printcmd.c (display_command): std::move instead of gdb::move.
commit b7f38fdae7c75e1d13abd455b3931950db28d22b
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Tue Nov 15 20:52:03 2016 +0100
bitfield-parent-optimized-out: Fix struct definition
The "struct S" type in bitfield-parent-optimized-out.exp is declared to
have a size of 4 bytes but to hold two 4-byte members: an int-based
bitfield and a 4-byte int. Also, both members have the same
data_member_location 2, causing them to overlap and to reach 2 bytes
beyond the structure's boundary.
This is fixed by increasing the structure size to 8 and setting the
first and second member's data_member_location to 0 and 4, respectively.
gdb/testsuite/ChangeLog:
* gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
the definition of struct S.
commit 93ca393659ef6714724749950301757f47e5e9fd
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Nov 15 15:41:27 2016 +0000
Fix SPARC relocations generated for the .eh_frame section.
PR gas/20803
* config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
the .eh_frame section.
commit 32ce946fd83f08a4f1486de02d3f83870b36b28e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Tue Nov 15 00:00:20 2016 +0000
Automatic date update in version.in
commit 9d734efa1034d266249751978f95a686ec9d19c6
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Nov 14 10:13:03 2016 -0800
Also check GOT PLT for R_X86_64_PLTOFF64
Since "-z now" replaces PLT with GOT PLT, we should also check GOT PLT
for R_X86_64_PLTOFF64 relocation.
bfd/
PR ld/20800
* elf64-x86-64.c (elf_x86_64_relocate_section): Also check
plt_got.offset for R_X86_64_PLTOFF64.
ld/
PR ld/20800
* testsuite/ld-x86-64/pr20800a.S: New file.
* testsuite/ld-x86-64/pr20800b.S: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
commit 35fd2ddeb1d90f1750401cfb6d01fe055656b88d
Author: Rudy <jacky.chouchou@yandex.ru>
Date: Mon Nov 14 16:30:45 2016 +0000
Generate correct hint value for IDATA6.
PR binutils/20814
* dlltool.c (struct export): Remove hint field.
(make_one_lib_file): Store the ordinal value for IDATA6 not the
hint.
(gen_lib_file): Delete reference to hint field.
(mangle_defs): Delete computation of hint field.
commit db58b3735f45345c06cb9a14d0f83f5b26c1ebf3
Author: Markus Metzger <markus.t.metzger@intel.com>
Date: Fri Oct 14 09:08:01 2016 +0200
btrace: read entire aux buffer
The data_head of a perf event data buffer grows indefinitely. Users are
expected to compute data_head % data_size to find the location inside the perf
event data buffer.
The aux_head of a perf event aux buffer wraps around and always stays within the
perf event aux buffer.
Well, at least that's the behaviour for BTS and PT - where BTS uses the data
buffer and PT the aux buffer.
GDB does not read beyond data_head or aux_head. This is OK for BTS but wrong
for PT. It causes only a portion of the trace to be considered by GDB. In the
extreme case, the buffer may appear (almost) empty.
Thanks to Tim Wiederhake <tim.wiederhake@intel.com> for reporting the anomaly.
Change it to read the entire aux buffer for PT. The buffer is initially zero so
any extra zeroes we read before aux_head wraps around the first time will be
ignored when searching for the first PSB packet in order to synchronize onto the
trace stream.
gdb/
* nat/linux-btrace.c (perf_event_read): Allow data_head < size.
* nat/linux-btrace.c (perf_event_read_all): Do not adjust size.
Change-Id: If4f8049a2080a5f16f336309450b32a3eb1e3ec9
commit 80bb3407f6891aff5dbed5b2fd5c3dae8f227319
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Nov 14 08:59:23 2016 +0000
lexsup.c (parse_args): Add break at end of default case.
commit 63f2433dbccc7ddf8812fefd6eed0e6dd2f88955
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Nov 14 08:44:17 2016 +0000
Fix typo "Faal through" should be "Fall through".
commit 29df15201399610c3887382f004af337e3fe5601
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Nov 14 00:00:19 2016 +0000
Automatic date update in version.in
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 20 ++
bfd/coffcode.h | 2 +-
bfd/elf32-avr.c | 99 ++++--
bfd/elf64-x86-64.c | 11 +-
bfd/version.h | 2 +-
binutils/ChangeLog | 9 +
binutils/dlltool.c | 21 +-
gas/ChangeLog | 6 +
gas/config/tc-sparc.c | 5 +-
gdb/ChangeLog | 47 +++
gdb/ada-lang.c | 4 +-
gdb/break-catch-throw.c | 2 +-
gdb/breakpoint.c | 2 +-
gdb/cli/cli-dump.c | 4 +-
gdb/common/common-defs.h | 2 +-
gdb/common/gdb_unique_ptr.h | 353 +-------------------
gdb/dtrace-probe.c | 2 +-
gdb/elfread.c | 2 +-
gdb/gnulib/config.in | 3 +
gdb/gnulib/configure | 13 +-
gdb/gnulib/import/Makefile.am | 1 +
gdb/gnulib/import/Makefile.in | 2 +
gdb/gnulib/import/canonicalize-lgpl.c | 10 +-
gdb/gnulib/import/extra/snippet/c++defs.h | 75 +++--
gdb/gnulib/import/m4/stdint.m4 | 11 +-
gdb/gnulib/import/m4/stdlib_h.m4 | 5 +-
gdb/gnulib/import/math.in.h | 14 +-
gdb/gnulib/import/stdlib.in.h | 15 +
gdb/gnulib/import/sys_time.in.h | 7 +
gdb/gnulib/update-gnulib.sh | 2 +-
gdb/mi/mi-main.c | 2 +-
gdb/nat/linux-btrace.c | 19 +-
gdb/parse.c | 2 +-
gdb/printcmd.c | 2 +-
gdb/testsuite/ChangeLog | 5 +
.../gdb.dwarf2/bitfield-parent-optimized-out.exp | 5 +-
ld/ChangeLog | 18 +
ld/lexsup.c | 1 +
ld/testsuite/ld-avr/pr20789.d | 14 +
ld/testsuite/ld-avr/pr20789.s | 12 +
ld/testsuite/ld-x86-64/pr20800a.S | 17 +
ld/testsuite/ld-x86-64/pr20800b.S | 21 ++
ld/testsuite/ld-x86-64/x86-64.exp | 8 +
43 files changed, 420 insertions(+), 457 deletions(-)
create mode 100644 ld/testsuite/ld-avr/pr20789.d
create mode 100644 ld/testsuite/ld-avr/pr20789.s
create mode 100644 ld/testsuite/ld-x86-64/pr20800a.S
create mode 100644 ld/testsuite/ld-x86-64/pr20800b.S
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b8a1ba4..fcc5b1c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,23 @@
+2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ PR ld/20789
+ * bfd/elf32-avr.c (elf32_avr_adjust_diff_reloc_value): Do signed
+ manipulation of diff value, and don't assume sym2 is less than sym1.
+ (elf32_avr_adjust_reloc_if_spans_insn): New function.
+ (elf32_avr_relax_delete_bytes): Use elf32_avr_adjust_diff_reloc_value,
+ and remove redundant did_pad.
+
+
+2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/20800
+ * elf64-x86-64.c (elf_x86_64_relocate_section): Also check
+ plt_got.offset for R_X86_64_PLTOFF64.
+
+2016-11-14 Nick Clifton <nickc@redhat.com>
+
+ * coffcode.h (coff_slurp_symbol_table): Fix typo: Faal -> Fall.
+
2016-11-11 Luke Allardyce <lukeallardyce@gmail.com>
PR ld/20722
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index b926c65..f5605d7 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -5075,7 +5075,7 @@ coff_slurp_symbol_table (bfd * abfd)
abfd, src->u.syment.n_sclass,
dst->symbol.section->name, dst->symbol.name);
ret = FALSE;
- /* Faal through. */
+ /* Fall 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. */
diff --git a/bfd/elf32-avr.c b/bfd/elf32-avr.c
index 89c99fd..46a2b27 100644
--- a/bfd/elf32-avr.c
+++ b/bfd/elf32-avr.c
@@ -1742,22 +1742,22 @@ elf32_avr_adjust_diff_reloc_value (bfd *abfd,
reloc_contents = isec_contents + irel->r_offset;
/* Read value written in object file. */
- bfd_vma x = 0;
+ bfd_signed_vma x = 0;
switch (ELF32_R_TYPE (irel->r_info))
{
case R_AVR_DIFF8:
{
- x = *reloc_contents;
+ x = bfd_get_signed_8 (abfd, reloc_contents);
break;
}
case R_AVR_DIFF16:
{
- x = bfd_get_16 (abfd, reloc_contents);
+ x = bfd_get_signed_16 (abfd, reloc_contents);
break;
}
case R_AVR_DIFF32:
{
- x = bfd_get_32 (abfd, reloc_contents);
+ x = bfd_get_signed_32 (abfd, reloc_contents);
break;
}
default:
@@ -1771,30 +1771,41 @@ elf32_avr_adjust_diff_reloc_value (bfd *abfd,
symval (<start_of_section>) + reloc addend. Compute the start and end
addresses and check if the shrinked insn falls between sym1 and sym2. */
- bfd_vma end_address = symval + irel->r_addend;
- bfd_vma start_address = end_address - x;
+ bfd_vma sym2_address = symval + irel->r_addend;
+ bfd_vma sym1_address = sym2_address - x;
+
+ /* Don't assume sym2 is bigger than sym1 - the difference
+ could be negative. Compute start and end addresses, and
+ use those to see if they span shrinked_insn_address. */
+
+ bfd_vma start_address = sym1_address < sym2_address
+ ? sym1_address : sym2_address;
+ bfd_vma end_address = sym1_address > sym2_address
+ ? sym1_address : sym2_address;
- /* Reduce the diff value by count bytes and write it back into section
- contents. */
if (shrinked_insn_address >= start_address
&& shrinked_insn_address <= end_address)
{
+ /* Reduce the diff value by count bytes and write it back into section
+ contents. */
+ bfd_signed_vma new_diff = x < 0 ? x + count : x - count;
+
switch (ELF32_R_TYPE (irel->r_info))
{
case R_AVR_DIFF8:
{
- *reloc_contents = (x - count);
+ bfd_put_signed_8 (abfd, new_diff, reloc_contents);
break;
}
case R_AVR_DIFF16:
{
- bfd_put_16 (abfd, (x - count) & 0xFFFF, reloc_contents);
+ bfd_put_signed_16 (abfd, new_diff & 0xFFFF, reloc_contents);
break;
}
case R_AVR_DIFF32:
{
- bfd_put_32 (abfd, (x - count) & 0xFFFFFFFF, reloc_contents);
+ bfd_put_signed_32 (abfd, new_diff & 0xFFFFFFFF, reloc_contents);
break;
}
default:
@@ -1806,6 +1817,43 @@ elf32_avr_adjust_diff_reloc_value (bfd *abfd,
}
}
+static void
+elf32_avr_adjust_reloc_if_spans_insn (bfd *abfd,
+ asection *isec,
+ Elf_Internal_Rela *irel, bfd_vma symval,
+ bfd_vma shrinked_insn_address,
+ bfd_vma shrink_boundary,
+ int count)
+{
+
+ if (elf32_avr_is_diff_reloc (irel))
+ {
+ elf32_avr_adjust_diff_reloc_value (abfd, isec, irel,
+ symval,
+ shrinked_insn_address,
+ count);
+ }
+ else
+ {
+ bfd_vma reloc_value = symval + irel->r_addend;
+ bfd_boolean addend_within_shrink_boundary =
+ (reloc_value <= shrink_boundary);
+
+ bfd_boolean reloc_spans_insn =
+ (symval <= shrinked_insn_address
+ && reloc_value > shrinked_insn_address
+ && addend_within_shrink_boundary);
+
+ if (! reloc_spans_insn)
+ return;
+
+ irel->r_addend -= count;
+
+ if (debug_relax)
+ printf ("Relocation's addend needed to be fixed \n");
+ }
+}
+
/* Delete some bytes from a section while changing the size of an instruction.
The parameter "addr" denotes the section-relative offset pointing just
behind the shrinked instruction. "addr+count" point at the first
@@ -1834,7 +1882,6 @@ elf32_avr_relax_delete_bytes (bfd *abfd,
struct avr_relax_info *relax_info;
struct avr_property_record *prop_record = NULL;
bfd_boolean did_shrink = FALSE;
- bfd_boolean did_pad = FALSE;
symtab_hdr = &elf_tdata (abfd)->symtab_hdr;
sec_shndx = _bfd_elf_section_from_bfd_section (abfd, sec);
@@ -1915,7 +1962,6 @@ elf32_avr_relax_delete_bytes (bfd *abfd,
to remember we didn't delete anything i.e. don't set did_shrink,
so that we don't corrupt reloc offsets or symbol values.*/
memset (contents + toaddr - count, fill, count);
- did_pad = TRUE;
/* Adjust the TOADDR to avoid moving symbols located at the address
of the property record, which has not moved. */
@@ -2016,7 +2062,6 @@ elf32_avr_relax_delete_bytes (bfd *abfd,
bfd_vma shrink_boundary = (reloc_toaddr
+ sec->output_section->vma
+ sec->output_offset);
- bfd_boolean addend_within_shrink_boundary = FALSE;
symval += sym_sec->output_section->vma
+ sym_sec->output_offset;
@@ -2031,31 +2076,11 @@ elf32_avr_relax_delete_bytes (bfd *abfd,
(unsigned int) (symval + irel->r_addend),
(unsigned int) shrinked_insn_address);
- /* If we padded bytes, then the boundary didn't change,
- so there's no need to adjust addends pointing at the boundary.
- If we didn't pad, then we actually shrank the boundary, so
- addends pointing at the boundary need to be adjusted too. */
- addend_within_shrink_boundary = did_pad
- ? ((symval + irel->r_addend) < shrink_boundary)
- : ((symval + irel->r_addend) <= shrink_boundary);
-
- if (symval <= shrinked_insn_address
- && (symval + irel->r_addend) > shrinked_insn_address
- && addend_within_shrink_boundary)
- {
- if (elf32_avr_is_diff_reloc (irel))
- {
- elf32_avr_adjust_diff_reloc_value (abfd, isec, irel,
+ elf32_avr_adjust_reloc_if_spans_insn (abfd, isec, irel,
symval,
shrinked_insn_address,
- count);
- }
-
- irel->r_addend -= count;
-
- if (debug_relax)
- printf ("Relocation's addend needed to be fixed \n");
- }
+ shrink_boundary,
+ count);
}
/* else...Reference symbol is absolute. No adjustment needed. */
}
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 76f09bd..05a4776 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -4693,10 +4693,17 @@ do_ifunc_pointer:
symbols it's the symbol itself relative to GOT. */
if (h != NULL
/* See PLT32 handling. */
- && h->plt.offset != (bfd_vma) -1
+ && (h->plt.offset != (bfd_vma) -1
+ || eh->plt_got.offset != (bfd_vma) -1)
&& htab->elf.splt != NULL)
{
- if (htab->plt_bnd != NULL)
+ if (eh->plt_got.offset != (bfd_vma) -1)
+ {
+ /* Use the GOT PLT. */
+ resolved_plt = htab->plt_got;
+ plt_offset = eh->plt_got.offset;
+ }
+ else if (htab->plt_bnd != NULL)
{
resolved_plt = htab->plt_bnd;
plt_offset = eh->plt_bnd.offset;
diff --git a/bfd/version.h b/bfd/version.h
index 2734af3..e6f720e 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20161113
+#define BFD_VERSION_DATE 20161116
#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/binutils/ChangeLog b/binutils/ChangeLog
index 4c4bb6b..3347bdb 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,12 @@
+2016-11-14 Rudy <jacky.chouchou@yandex.ru>
+
+ PR binutils/20814
+ * dlltool.c (struct export): Remove hint field.
+ (make_one_lib_file): Store the ordinal value for IDATA6 not the
+ hint.
+ (gen_lib_file): Delete reference to hint field.
+ (mangle_defs): Delete computation of hint field.
+
2016-11-11 Nick Clifton <nickc@redhat.com>
PR binutils/20751
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index e7b40ee..4cde91a 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -780,10 +780,9 @@ typedef struct export
int ordinal;
int constant;
int noname; /* Don't put name in image file. */
- int private; /* Don't put reference in import lib. */
+ int private; /* Don't put reference in import lib. */
int data;
- int hint;
- int forward; /* Number of forward label, 0 means no forward. */
+ int forward; /* Number of forward label, 0 means no forward. */
struct export *next;
}
export_type;
@@ -2776,10 +2775,8 @@ make_one_lib_file (export_type *exp, int i, int delay)
case IDATA6:
if (!exp->noname)
{
- /* This used to add 1 to exp->hint. I don't know
- why it did that, and it does not match what I see
- in programs compiled with the MS tools. */
- int idx = exp->hint;
+ int idx = exp->ordinal;
+
if (exp->its_name)
si->size = strlen (exp->its_name) + 3;
else
@@ -3263,7 +3260,6 @@ gen_lib_file (int delay)
alias_exp.noname = exp->noname;
alias_exp.private = exp->private;
alias_exp.data = exp->data;
- alias_exp.hint = exp->hint;
alias_exp.forward = exp->forward;
alias_exp.next = exp->next;
n = make_one_lib_file (&alias_exp, i + PREFIX_ALIAS_BASE, delay);
@@ -3927,10 +3923,8 @@ mangle_defs (void)
{
/* First work out the minimum ordinal chosen. */
export_type *exp;
-
- int i;
- int hint = 0;
export_type **d_export_vec = xmalloc (sizeof (export_type *) * d_nfuncs);
+ int i;
inform (_("Processing definitions"));
@@ -3959,11 +3953,6 @@ mangle_defs (void)
qsort (d_exports_lexically, i, sizeof (export_type *), nfunc);
- /* Fill exp entries with their hint values. */
- for (i = 0; i < d_nfuncs; i++)
- if (!d_exports_lexically[i]->noname || show_allnames)
- d_exports_lexically[i]->hint = hint++;
-
inform (_("Processed definitions"));
}
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f5836ac..613833b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2016-11-15 Nick Clifton <nickc@redhat.com>
+
+ PR gas/20803
+ * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
+ the .eh_frame section.
+
2016-11-13 Anthony Green <green@moxielogic.org>
* config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 70f5bfb..d7b9a98 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -4957,7 +4957,10 @@ cons_fix_new_sparc (fragS *frag,
case 8: r = BFD_RELOC_SPARC_TLS_DTPOFF64; break;
}
}
- else if (sparc_no_align_cons)
+ else if (sparc_no_align_cons
+ || /* PR 20803 - relocs in the .eh_frame section
+ need to support unaligned access. */
+ strcmp (now_seg->name, ".eh_frame") == 0)
{
switch (nbytes)
{
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b4398f6..666beb6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,50 @@
+2016-11-15 Pedro Alves <palves@redhat.com>
+
+ * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
+ 38237baf99386101934cd93278023aa4ae523ec0.
+ * gnulib/configure, gnulib/config.in: Regenerate.
+ * gnulib/import/Makefile.am: Regenerate.
+ * gnulib/import/Makefile.in: Regenerate.
+ * gnulib/import/canonicalize-lgpl.c: Update.
+ * gnulib/import/extra/snippet/c++defs.h: Update.
+ * gnulib/import/m4/stdint.m4: Update.
+ * gnulib/import/m4/stdlib_h.m4: Update.
+ * gnulib/import/math.in.h: Update.
+ * gnulib/import/stdlib.in.h: Update.
+ * gnulib/import/sys_time.in.h: Update.
+
+2016-11-15 Pedro Alves <palves@redhat.com>
+
+ * common/common-defs.h: Update comment.
+ * common/gdb_unique_ptr.h: Update header comment and copyright
+ year.
+ (gdb::unique_ptr, gdb::move): Delete.
+
+2016-11-15 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (create_excep_cond_exprs): Use std::move instead of
+ gdb::move.
+ * break-catch-throw.c (handle_gnu_v3_exceptions): Use
+ std::unique_ptr instead of gdb::unique_ptr.
+ * breakpoint.c (watch_command_1): Use std::move instead of
+ gdb::move.
+ * cli/cli-dump.c (dump_memory_to_file, restore_binary_file): Use
+ std::unique_ptr instead of gdb::unique_ptr.
+ * dtrace-probe.c (dtrace_process_dof_probe): Use std::move instead
+ of gdb::move.
+ * elfread.c (elf_read_minimal_symbols): Use std::unique_ptr
+ instead of gdb::unique_ptr.
+ * mi/mi-main.c (mi_cmd_data_read_memory): Use std::unique_ptr
+ instead of gdb::unique_ptr.
+ * parse.c (parse_expression_for_completion): Use std::move instead
+ of gdb::move.
+ * printcmd.c (display_command): std::move instead of gdb::move.
+
+2016-11-14 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (perf_event_read): Allow data_head < size.
+ * nat/linux-btrace.c (perf_event_read_all): Do not adjust size.
+
2016-11-12 Tom Tromey <tom@tromey.com>
* rust-exp.y (super_name): Use std::vector.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index d9b46c6..73f7964 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -12347,7 +12347,7 @@ create_excep_cond_exprs (struct ada_catchpoint *c)
s = cond_string;
TRY
{
- exp = gdb::move (parse_exp_1 (&s, bl->address,
+ exp = std::move (parse_exp_1 (&s, bl->address,
block_for_pc (bl->address),
0));
}
@@ -12360,7 +12360,7 @@ create_excep_cond_exprs (struct ada_catchpoint *c)
END_CATCH
}
- ada_loc->excep_cond_expr = gdb::move (exp);
+ ada_loc->excep_cond_expr = std::move (exp);
}
do_cleanups (old_chain);
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c
index 6136a57..955b2ff 100644
--- a/gdb/break-catch-throw.c
+++ b/gdb/break-catch-throw.c
@@ -399,7 +399,7 @@ handle_gnu_v3_exceptions (int tempflag, char *except_rx, char *cond_string,
_("invalid type-matching regexp"));
}
- gdb::unique_ptr<exception_catchpoint> cp (new exception_catchpoint ());
+ std::unique_ptr<exception_catchpoint> cp (new exception_catchpoint ());
init_catchpoint (&cp->base, get_current_arch (), tempflag, cond_string,
&gnu_v3_exception_catchpoint_ops);
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 245e078..d139747 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -11378,7 +11378,7 @@ watch_command_1 (const char *arg, int accessflag, int from_tty,
b->thread = thread;
b->disposition = disp_donttouch;
b->pspace = current_program_space;
- w->exp = gdb::move (exp);
+ w->exp = std::move (exp);
w->exp_valid_block = exp_valid_block;
w->cond_exp_valid_block = cond_exp_valid_block;
if (just_location)
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index eb7f69d..781c638 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -236,7 +236,7 @@ dump_memory_to_file (const char *cmd, const char *mode, const char *file_format)
/* FIXME: Should use read_memory_partial() and a magic blocking
value. */
- gdb::unique_ptr<gdb_byte[]> buf (new gdb_byte[count]);
+ std::unique_ptr<gdb_byte[]> buf (new gdb_byte[count]);
read_memory (lo, buf.get (), count);
/* Have everything. Open/write the data. */
@@ -550,7 +550,7 @@ restore_binary_file (const char *filename, struct callback_data *data)
perror_with_name (filename);
/* Now allocate a buffer and read the file contents. */
- gdb::unique_ptr<gdb_byte[]> buf (new gdb_byte[len]);
+ std::unique_ptr<gdb_byte[]> buf (new gdb_byte[len]);
if (fread (buf.get (), 1, len, file) != len)
perror_with_name (filename);
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index 8fbb4bf..69254c8 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -87,7 +87,7 @@
#define EXTERN_C_PUSH extern "C" {
#define EXTERN_C_POP }
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-13 16:02 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-13 16:02 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 459afe42d7936cd753cbd3655bd9971f584bee1d (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 3e11dd8696f156b8e79f5b2188be1cf8f894e85b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 459afe42d7936cd753cbd3655bd9971f584bee1d
Merge: 3e11dd8 b612f41
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Nov 13 17:02:24 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit b612f4193c6119fb06933b0dabcc84a2b952d57e
Author: Anthony Green <green@moxielogic.com>
Date: Sun Nov 13 08:11:44 2016 -0500
add missing ChangeLog entry
commit 3f47df7fb3fb46566bb68dd638a61cef87dd14e9
Author: Anthony Green <green@moxielogic.com>
Date: Sun Nov 13 07:37:02 2016 -0500
Assemble 'bad' moxie instruction
commit 75d6c74e79ded209b1f0959b1780ab5b8885b9c2
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Nov 13 00:00:20 2016 +0000
Automatic date update in version.in
commit 8001f1183f32d674fa3e9af1cca16856afdffc3e
Author: Tom Tromey <tom@tromey.com>
Date: Tue Nov 8 20:32:50 2016 -0700
Remove some cleanups from the rust code
This removes some cleanups from the rust code, in favor of C++ objects
with destructors.
2016-11-12 Tom Tromey <tom@tromey.com>
* rust-exp.y (super_name): Use std::vector.
(lex_number): Use std::string.
(convert_params_to_types): Return std::vector.
(convert_ast_to_type, convert_name): Update.
* rust-lang.c (rust_get_disr_info): Use unique_xmalloc_ptr.
commit d93f4d96bb0fb307db9e2dade38ddb3c6bc469ca
Author: Tom Tromey <tom@tromey.com>
Date: Tue Nov 8 20:22:29 2016 -0700
Use std::string in rust_get_disr_info
This changes rust_get_disr_info to use std::string in one more spot,
avoiding a memory leak.
2016-11-12 Tom Tromey <tom@tromey.com>
* rust-lang.c (rust_get_disr_info): Use std::string in one more
spot.
commit 6cb2202baaf482a8c7d54e5ec93af2f057e7ce28
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sat Nov 12 01:02:23 2016 -0500
sim: mips: add PR info to ChangeLog
commit 8a19d84c2ba3ff1273ae1583681a0c428cf4425e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Nov 12 00:00:19 2016 +0000
Automatic date update in version.in
commit 7d15592e06e4abccc97cb8c5670f564327f747e9
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Nov 11 16:50:42 2016 +0000
Don't handle unavailable/optimized-out in spu_software_single_step
When we do software single step, frame is always the innermost one,
so it is impossible to get unavailable/optimized-out errors.
gdb:
2016-11-11 Yao Qi <yao.qi@linaro.org>
* spu-tdep.c (spu_software_single_step): Don't call
get_frame_register_bytes, call get_frame_register_unsigned
instead.
commit 1f8db343049c3e06483a278e14b7e140ec55c8b3
Author: Catherine Moore <clm@codesourcery.com>
Date: Fri Nov 11 07:42:37 2016 -0800
Identify verilog dump tests as such.
A couple of the verilog dump tests were marked as ihex tests. This
patch identifies the tests as verilog format dump tests.
commit 86b80085c889cd388fa677a5ae9053fd4be3776c
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Nov 11 15:13:07 2016 +0000
Accept L and LL suffixes to integer constants.
PR gas/20732
* expr.c (integer_constant): If tc_allow_L_suffix is defined and
non-zero then accept a L or LL suffix.
* testsuite/gas/sparc/pr20732.d: New test source file.
* testsuite/gas/sparc/pr20732.d: New test output file.
* testsuite/gas/sparc/sparc.exp: Run new test.
commit 2f7d995359c7f280431f015726485ca421b0a65a
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Nov 11 14:13:02 2016 +0000
Extend information displayed about objdump's output of dynamic symbols.
commit df2c87b5803750d21f03b7d36f8d1abace3e1e14
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Nov 11 11:49:45 2016 +0000
Add the ability for nm to display symbol version information.
PR binutils/20751
* nm.c (with_symbol_versions): New local variable.
(long_options): Add --with-symbol-versions.
(usage): Mention --with-symbol-versions.
(print_symbol): If with_symbol_versions is set then display the
version information associated with the symbol.
* NEWS: Mention the new feature.
* doc/binutils.texi (nm): Document the new option.
(objdump): Describe how symbol version information is displayed
for dynamic symbol dumps.
(readelf): Describe how symbol version information is displayed.
* testsuite/binutils-all/nm.exp: Add a test of the new feature.
commit 74f5402d08b857d60499b27851c204954ce6c42c
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 11 10:43:15 2016 +0000
[AArch64] Add ARMv8.3 combined pointer authentication branch instructions
Add support for ARMv8.3 pointer authentication instructions
that are encoded as unconditional branch instructions.
opcodes/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-tbl.h (arch64_opcode_table): Add braa, brab, blraa, blrab, braaz,
brabz, blraaz, blrabz, retaa, retab, eretaa, eretab.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
* aarch64-opc-2.c: Regenerate.
gas/
2016-11-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
* testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
* testsuite/gas/aarch64/pac.d: Likewise.
commit c84364ece4faa7b3eb0f60f4dc301282e9693e1e
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 11 10:39:46 2016 +0000
[AArch64] Add ARMv8.3 PACGA instruction
Add support for the ARMv8.3 PACGA instruction.
include/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_Rm_SP.
opcodes/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-tbl.h (arch64_opcode_table): Add pacga.
(AARCH64_OPERANDS): Add Rm_SP.
* aarch64-opc.c (aarch64_print_operand): Handle AARCH64_OPND_Rm_SP.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
* aarch64-opc-2.c: Regenerate.
gas/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
(parse_operands): Likewise.
* testsuite/gas/aarch64/pac.s: Add pacga.
* testsuite/gas/aarch64/pac.d: Add pacga.
commit a2cfc830e715142a0dd28496feaedf569b116b0e
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 11 10:36:32 2016 +0000
[AArch64] Add ARMv8.3 single source PAC instructions
Add support for ARMv8.3 pointer authentication instructions
that are encoded as single source data processing instructions.
opcodes/
2016-11-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-tbl.h (arch64_opcode_table): Add pacia, pacib, pacda, pacdb, autia,
autib, autda, autdb, paciza, pacizb, pacdza, pacdzb, autiza, autizb, autdza,
autdzb, xpaci, xpacd.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
* aarch64-opc-2.c: Regenerate.
gas/testsuite/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* testsuite/gas/aarch64/pac.s: New.
* testsuite/gas/aarch64/pac.d: New.
commit b0bfa7b5b884f78b798ab8d34d2a50bc63f558df
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 11 10:33:30 2016 +0000
[AArch64] Add ARMv8.3 pointer authentication key registers
Add support for system registers introduced in ARMv8.3
for pointer authentication.
opcodes/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-opc.c (aarch64_sys_regs): Add apiakeylo_el1, apiakeyhi_el1,
apibkeylo_el1, apibkeyhi_el1, apdakeylo_el1, apdakeyhi_el1,
apdbkeylo_el1, apdbkeyhi_el1, apgakeylo_el1 and apgakeyhi_el1.
(aarch64_sys_reg_supported_p): Add feature test for new registers.
gas/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* testsuite/gas/aarch64/sysreg-3.s: New.
* testsuite/gas/aarch64/sysreg-3.d: New.
* testsuite/gas/aarch64/illegal-sysreg-3.l: New.
* testsuite/gas/aarch64/illegal-sysreg-3.d: New.
commit 8787d804e1cbbd1946239d6c5e560c87d38bac06
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 11 10:29:07 2016 +0000
[AArch64] Add ARMv8.3 instructions which are in the NOP space
This patch adds support for a subset of the ARMv8.3 pointer authentication
instructions: XPACLRI, PACIA1716, PACIB1716, AUTIA1716, AUTIA1716, PACIAZ,
PACIASP, PACIBZ, PACISP, AUTIAZ, AUTIASP, AUTIBZ, AUTIBSP.
These are aliases to HINT #0x7, HINT #0x8, HINT #0xa, HINT #0xc, HINT #0xe,
HINT #0x18, HINT #0x19, ..., HINT #0x1f respectively.
For more details about pointer authentication in ARMv8.3 see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions
opcodes/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-tbl.h (aarch64_feature_v8_3, ARMV8_3, V8_3_INSN): New.
(arch64_opcode_table): Add xpaclri, pacia1716, pacib1716, autia1716,
autib1716, paciaz, paciasp, pacibz, pacibsp, autiaz, autiasp, autibz,
autibsp.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
gas/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* testsuite/gas/aarch64/system-3.s: New.
* testsuite/gas/aarch64/system-3.d: New.
* testsuite/gas/aarch64/system.d: Update expected output.
commit 3d731f6949e2b0099cfbe0cf608d60a52a66d354
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 11 10:22:56 2016 +0000
[AArch64] Increase max_num_aliases in aarch64-gen
Some ARMv8.3 pointer authentication instructions are encoded as HINT aliases,
so to allow more instruction aliases in the generator, max_num_aliases is
increased from 16 to 32.
opcodes/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32.
commit 1924ff7567abf9e1341ae135fb5097bc5f7b76f4
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 11 10:20:30 2016 +0000
[AArch64] Add ARMv8.3 command line option and feature flag
ARMv8.3 can be selected with -march=armv8.3-a command line option.
An overview of the ARMv8.3 architecture extension is at
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions
gas/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
* doc/c-aarch64.texi (-march): Likewise.
include/
2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
* opcode/aarch64.h (AARCH64_FEATURE_V8_3): Define.
(AARCH64_ARCH_V8_3): Define.
(AARCH64_ARCH_V8_1, AARCH64_ARCH_V8_2): Simplify.
commit fa09f4ea584e1bc33036e9ef82142db92b31da7c
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Nov 11 10:14:31 2016 +0000
[AArch64] Fix feature dependencies for +simd and +crypto
According to the gas manual, +simd implies +fp and +crypto implies +simd.
Make sure +nofp turns +simd, +crypto and +fp16 off.
gas/
2016-11-07 Szabolcs Nagy <szabolcs.nagy@arm.com>
* config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
* testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
* testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
* testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
* testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
* testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
commit 7103ad7639b7ed80bec170404185a8e39079446b
Author: Luke Allardyce <lukeallardyce@gmail.com>
Date: Fri Nov 11 10:08:05 2016 +0000
Accept hidden COFF symbols, but treat them as if they were debugging symbols.
PR ld/20722
* coffcode.h (coff_slurp_symbol_table): Accept C_HIDDEN symbols,
but treat them as debugging symbols.
commit 668e167446b2777869f413841ec05aed59473d9f
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Nov 11 08:38:31 2016 +0000
Remove apply_val_pretty_printer parameter valaddr
This patch removes the parameter valaddr of
extension_language_ops::apply_val_pretty_printer and remove const from
"struct value *val". valaddr can be got in each extension language's
implementation of apply_val_pretty_printer.
gdb:
2016-11-11 Yao Qi <yao.qi@linaro.org>
* cp-valprint.c (cp_print_value): Remove local base_valaddr.
* extension-priv.h (struct extension_language_ops)
<apply_val_pretty_printer>: Remove the second parameter.
Remove const from "struct value *". Callers updated.
* extension.c (apply_ext_lang_val_pretty_printer): Update
comments. Remove parameter valaddr. Remove const from
"struct value *".
* extension.h (apply_ext_lang_val_pretty_printer): Update
declaration.
* guile/guile-internal.h (gdbscm_apply_val_pretty_printer):
Update declaration.
* guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
Remove parameter valaddr. Remove const from "struct value *".
* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
Likewise.
* python/python-internal.h (gdbpy_apply_val_pretty_printer):
Update declaration.
commit 65408fa680538f997cdd4b6fb9d74f043a060801
Author: Yao Qi <yao.qi@linaro.org>
Date: Fri Nov 11 08:38:31 2016 +0000
Remove parameter valaddr from c print functions
This patch removes parameter valaddr from some c print functions.
gdb:
2016-11-11 Yao Qi <yao.qi@linaro.org>
* c-lang.h (cp_print_value_fields): Update declaration.
* cp-valprint.c (cp_print_value): Update declaration.
(cp_print_value_fields): Remove parameter valaddr. Callers
updated.
(cp_print_value): Likewise.
commit 91588b3af8e026ba11c7368476cc1f3fa8c2e2b1
Author: Mike Frysinger <vapier@gentoo.org>
Date: Fri Nov 11 01:29:21 2016 -0500
sim: mips: fix dv-tx3904cpu build error
When building for mipstx39-rtems4.12 targets, some funcs use SD and CPU
implicitly. Restore the defines for these to the local sd and cpu vars.
This was broken by the clean up in commit d47f5b30d8481272e9480118bdcb.
Reported-by: Joel Sherrill <joel.sherrill@oarcorp.com>
commit e04659e8607bfed6995fd2ced9aaab55e2143302
Author: Mike Frysinger <vapier@gentoo.org>
Date: Fri Nov 11 01:28:36 2016 -0500
sim: mips: fix builds for r3900 cpus due to missing check_u64
commit a6bbedbad370ad895a6c559a60efe27a5a7838e6
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Fri Nov 11 00:00:08 2016 +0000
Automatic date update in version.in
commit a18590c38657a982f8d544f2f54f39ba9abe9fca
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Nov 10 12:26:53 2016 +0000
Provide a more helpful error message when the BFD library is unable to load an extremely large section.
PR target/20737
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Bind defined
symbol locally in PIE.
commit ac33b731d214d79738ca04d27f7464d4482f6a01
Author: Jiong Wang <jiong.wang@arm.com>
Date: Thu Nov 10 09:25:17 2016 +0000
[AArch64] Bind defined symbol locally in PIE
bfd/
PR target/20737
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Bind defined
symbol locally in PIE.
ld/
* testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
* testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
* testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
* testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
commit 9b9720149dfee4a9a961c29d0382fc5bdf9c975b
Author: Tom Tromey <tom@tromey.com>
Date: Sat Oct 15 09:20:02 2016 -0600
Use unique_xmalloc_ptr in Python code
This changes some utility functions in the Python code to return
unique_xmalloc_ptr, and then fixes up the callers.
I chose unique_xmalloc_ptr rather than std::string because at a few
call points the xmalloc'd string is released and ownership transferred
elsewhere.
This patch found a few existing memory leaks. For example,
py-unwind.c called gdbpy_obj_to_string but never freed the result.
Built and regression tested on the buildbot.
2016-11-09 Tom Tromey <tom@tromey.com>
* varobj.h (varobj_get_display_hint): Change return type.
* varobj.c (varobj_get_display_hint): Return unique_xmalloc_ptr.
(varobj_value_get_print_value): Update.
* python/python.c (gdbpy_before_prompt_hook, gdbpy_print_stack)
(gdbpy_apply_type_printers): Update.
* python/python-internal.h (unicode_to_target_string)
(python_string_to_target_string, python_string_to_host_string)
(gdbpy_obj_to_string, gdbpy_exception_to_string)
(gdbpy_get_display_hint): Change return types.
* python/py-varobj.c (py_varobj_iter_next): Update.
* python/py-value.c (valpy_getitem, convert_value_from_python):
Update.
* python/py-utils.c (unicode_to_encoded_string)
(unicode_to_target_string, python_string_to_target_string)
(python_string_to_host_string, gdbpy_obj_to_string)
(gdbpy_exception_to_string): Return unique_xmalloc_ptr.
* python/py-unwind.c (pyuw_parse_register_id): Update.
* python/py-type.c (typy_getitem): Update.
* python/py-prettyprint.c (gdbpy_get_display_hint)
(print_stack_unless_memory_error, print_children)
(gdbpy_apply_val_pretty_printer): Update.
* python/py-param.c (set_parameter_value): Update.
(get_doc_string, call_doc_function): Return unique_xmalloc_ptr.
(get_set_value, get_show_value, compute_enum_values, parmpy_init):
Update.
* python/py-infthread.c (thpy_set_name): Update.
* python/py-function.c (fnpy_call, fnpy_init): Update.
* python/py-framefilter.c (extract_sym): Change "name" to
unique_xmalloc_ptr.
(enumerate_args, enumerate_locals): Update.
(py_print_frame): Use unique_xmalloc_ptr.
* python/py-frame.c (frapy_read_var): Update. Remove cleanup.
* python/py-cmd.c (cmdpy_function, cmdpy_completer, cmdpy_init):
Update.
* python/py-breakpoint.c (bppy_set_condition): Use
unique_xmalloc_ptr.
(bppy_init): Likewise. Remove cleanup.
(local_setattro): Update.
* mi/mi-cmd-var.c (print_varobj, mi_cmd_var_list_children)
(varobj_update_one): Update.
commit 4e9d2153228d95c972907a8b13237218d380c5d3
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Nov 10 00:00:17 2016 +0000
Automatic date update in version.in
commit 60227d64dd9228be1a07fc7122894fc2875b1a70
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Nov 9 14:00:18 2016 -0800
X86: Remove the .s suffix from EVEX vpextrw
The .s suffix indicates that the instruction is encoded by swapping
2 register operands. Since vpextrw takes an XMM register and an
integer register, the .s suffix should be ignored for EVEX vpextrw.
gas/
PR binutils/20799
* testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
* testsuite/gas/i386/opcode-intel.d: Updated.
* testsuite/gas/i386/opcode-suffix.d: Likewise.
* testsuite/gas/i386/opcode.d: Likewise.
* testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
tests.
* testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
* testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
opcodes/
PR binutils/20799
* i386-dis-evex.h (evex_table): Replace EdqwS with Edqw.
* i386-dis.c (EdqwS): Removed.
(dqw_swap_mode): Likewise.
(intel_operand_size): Don't check dqw_swap_mode.
(OP_E_register): Likewise.
(OP_E_memory): Likewise.
(OP_G): Likewise.
(OP_EX): Likewise.
* i386-opc.tbl: Remove "S" from EVEX vpextrw.
* i386-tbl.h: Regerated.
commit 1032d6ebdcd53b8c09c76a1c3b932065d84b0b20
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Nov 9 13:44:42 2016 -0800
Update opcodes/ChangeLog
commit 7766fd10024dc0587838fbc4608f3f8e30e17a26
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Nov 9 12:11:50 2016 -0800
X86: Update opcode-suffix.d
PR binutils/20754
* testsuite/gas/i386/opcode-suffix.d: Updated.
commit fad0c9fb7dd362bdb5a3e4f89fb7f6e6789f5beb
Author: Pedro Alves <palves@redhat.com>
Date: Wed Nov 9 18:48:25 2016 +0000
Further cleanup/modernization of gdb.base/commands.exp
- Use multi_line for matching multi-line GDB output.
- Add a multi_line_input variant of multi_line to build GDB input and
use it throughout.
(The two changes above make the tests much more readable, IMO.)
- Add a new valnum_re global to get rid of the multiple "\\\$\[0-9\]*".
- Remove gdb_stop_suppressing_tests uses.
- tighten a few regexps.
- Replace send_gdb/gdb_expect with gdb_test_multiple and simplify,
making pass/fail messages the same.
gdb/ChangeLog:
2016-11-09 Pedro Alves <palves@redhat.com>
* gdb.base/commands.exp (runto_or_return): New procedure.
(gdbvar_simple_if_test, gdbvar_simple_while_test)
(gdbvar_complex_if_while_test, progvar_simple_if_test)
(progvar_simple_while_test, progvar_complex_if_while_test)
(if_while_breakpoint_command_test)
(infrun_breakpoint_command_test, breakpoint_command_test)
(user_defined_command_test, watchpoint_command_test)
(test_command_prompt_position, redefine_hook_test)
(stray_arg0_test, error_clears_commands_left, redefine_hook_test)
(redefine_backtrace_test): Use runto_or_return, $valnum_re,
multi_line_input and multi_line. Remove gdb_expect and
gdb_stop_suppressing_tests uses.
* lib/gdb.exp (valnum_re): New global.
* lib/gdb.exp (valnum_re): New global.
(multi_line_input): New procedure.
commit 7efeed176a291c15c74e80aee5d7f906e28081cf
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Nov 9 10:20:13 2016 -0800
X86: Merge AVX512F vmovq
AVX512F vmovq doesn't support masking. We can't swap register operand
in AVX512F vmovq with Reg64 since Reg64 != RegXMM. This patch merges
AVX512F vmovq.
* i386-opc.tbl: Merge AVX512F vmovq.
commit 8354c62cd144964fce17e11ce035c0c2c0635cbf
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Wed Nov 9 10:55:14 2016 -0500
Make gdb.mi/user-selected-context-sync.exp use proc_with_prefix
Pedro's patch provides a cleaner way to prefix tests with the proc name,
so let's use that.
gdb/testsuite/ChangeLog:
* gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
Remove.
(test_setup): Define with proc_with_prefix.
(test_cli_inferior): Likewise.
(test_cli_thread): Likewise.
(test_cli_frame): Likewise.
(test_cli_select_frame): Likewise.
(test_cli_up_down): Likewise.
(test_mi_thread_select): Likewise.
(test_mi_stack_select_frame): Likewise.
(test_cli_in_mi_inferior): Likewise.
(test_cli_in_mi_thread): Likewise.
(test_cli_in_mi_frame): Likewise.
(top level): Do not use with_test_prefix_procname.
commit 64f367a201565d5c7d1e03da072db51123ac2174
Author: Pedro Alves <palves@redhat.com>
Date: Wed Nov 9 15:45:49 2016 +0000
gdb/testsuite: Introduce "proc_with_prefix"
While adding new tests to gdb.base/commands.exp, I noticed that the
file includes a bunch of individual testcases split into their own
procedures, and that none have ever been adjusted to use
with_test_prefix. Instead, each gdb_test/gdb_test_multiple/etc
invocation takes care of including the procedure name in the test
message, in order to make sure test messages are unique.
Simon convinced me that using the procedure name as prefix is not that
bad of an idea:
https://sourceware.org/ml/gdb-patches/2016-10/msg00020.html
This commit adds an IMO simpler alternative to
with_test_prefix_procname added by that patch -- a new
"proc_with_prefix" convenience proc that is meant to be used in place
of "proc", and then uses it in commands.exp. Procedures defined with
this automatically run their bodies under with_test_prefix $proc_name.
Here's a sample of the resulting gdb.sum diff:
[...]
-PASS: gdb.base/commands.exp: break factorial #3
-PASS: gdb.base/commands.exp: set value to 5 in test_command_prompt_position
-PASS: gdb.base/commands.exp: if test in test_command_prompt_position
-PASS: gdb.base/commands.exp: > OK in test_command_prompt_position
+PASS: gdb.base/commands.exp: test_command_prompt_position: break factorial
+PASS: gdb.base/commands.exp: test_command_prompt_position: set value to 5
+PASS: gdb.base/commands.exp: test_command_prompt_position: if test
+PASS: gdb.base/commands.exp: test_command_prompt_position: > OK
[...]
gdb/testsuite/ChangeLog:
2016-11-09 Pedro Alves <palves@redhat.com>
* gdb.base/commands.exp (gdbvar_simple_if_test)
(gdbvar_simple_while_test, gdbvar_complex_if_while_test)
(progvar_simple_if_test, progvar_simple_while_test)
(progvar_complex_if_while_test, if_while_breakpoint_command_test)
(infrun_breakpoint_command_test, breakpoint_command_test)
(user_defined_command_test, watchpoint_command_test)
(test_command_prompt_position, deprecated_command_test)
(bp_deleted_in_command, temporary_breakpoint_commands)
(stray_arg0_test, source_file_with_indented_comment)
(recursive_source_test, if_commands_test)
(error_clears_commands_left, redefine_hook_test)
(redefine_backtrace_test): Use proc_with_prefix.
* lib/gdb.exp (proc_with_prefix): New proc.
commit 2806dc7eec04db49fca03e04827e3dff7f6704e0
Author: Pedro Alves <palves@redhat.com>
Date: Wed Nov 9 15:09:31 2016 +0000
Fix formattting of gdb/ChangeLog and gdb/testsuite/ChangeLog enties
Leading tab/spaces. Missing periods. Duplicate date.
commit 6c73cd95f96d37dbf6092a87c8ba0f35277223a5
Author: Pedro Alves <palves@redhat.com>
Date: Wed Nov 9 12:49:43 2016 +0000
agent_expr_up: gdb::unique_ptr -> std::unique_ptr
Now that we require C++11, use std::unique_ptr directly. This allows
simplifying collection_list a bit by placing unique pointers in the
vector directly, making the vector own its elements.
gdb/ChangeLog:
2016-11-09 Pedro Alves <palves@redhat.com>
* ax-gdb.c (agent_eval_command_one): Use std::move instead of
gdb::move.
* ax.h (agent_expr_up): Use std::unique_ptr instead of
gdb::unique_ptr.
* breakpoint.c (parse_cond_to_aexpr): Use std::move instead of
gdb::move.
* tracepoint.c (collection_list::collect_symbol): Likewise.
(collection_list::~collection_list): Delete.
(encode_actions_1): Use std::move instead of gdb::move.
(collection_list::add_aexpr): Use std::move instead of
unique_ptr::release.
* tracepoint.h (collection_list) <~collection_list>: Delete
declaration.
<m_aexprs>: Now a vector of agent_ptr_up.
commit 7a63494a0df60cf71b9cf03c4eb8f24719d03e66
Author: Pedro Alves <palves@redhat.com>
Date: Wed Nov 9 14:53:58 2016 +0000
gdb: Use vector::emplace_back
Now that we require C++11, we can use vector::emplace_back to
construct elements in place instead of constructing and then copying.
gdb/ChangeLog:
2016-11-09 Pedro Alves <palves@redhat.com>
* main.c (struct cmdarg): Add constructor.
(captured_main_1): Use vector::emplace_back.
* tracepoint.c (collection_list::add_memrange): Likewise.
commit 8c84bffb45ac63b98fffc5c1a492c2eb7e4f27e2
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Wed Nov 9 13:02:13 2016 +0100
tui-winsource: Remove failed-allocation logic
This removes dead code in tui_alloc_source_buffer for handling a NULL
return value from xmalloc.
gdb/ChangeLog:
* tui/tui-winsource.c (tui_alloc_source_buffer): Remove
failed-xmalloc handling.
commit 7bc2c8b83ea82b4315c67e7658af815aed062e73
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Wed Nov 9 13:02:13 2016 +0100
tui-winsource: Allocate for actual lines only
The logic for allocating a TUI source window's content buffer allocates
two more lines than needed, because it does not reduce the window height
by the highlight box's overhead. However, it does reduce the line width
accordingly. This patch makes the height and width calculation
consistent and improves the comment.
gdb/ChangeLog:
* tui/tui-winsource.c (tui_alloc_source_buffer): Subtract
highlight box's overhead when calculating the content height.
commit f5396833d35a257902409493a63f777dcd771868
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Wed Nov 9 13:02:13 2016 +0100
tui-disasm: Fix line buffer size calculation
The code that fills the TUI disassembly window content first calculates
the maximum full length of a displayed disassembly line. This
calculation typically yields the wrong result. The result is too large,
so the bug does not cause any run-time failures, but unnecessary
confusion for the reader. This patch fixes the calculation.
gdb/ChangeLog:
* tui/tui-disasm.c (tui_set_disassem_content): Fix calculation of
the longest disassembly line's length.
commit 0bb65f1e7c9eed7338ef2e4a2f5b42d010409c39
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Wed Nov 9 13:02:12 2016 +0100
tui-disasm: Fix window content buffer overrun
A user reported a GDB crash with TUI when trying to debug a function
with a long demangled C++ method name. It turned out that the logic for
displaying the TUI disassembly window has a bug that can cause a buffer
overrun, possibly overwriting GDB-internal data structures. In
particular, the logic performs an unguarded strcpy.
Another (harmless) bug in tui_alloc_source_buffer causes the buffer to
be two lines longer than needed. This may have made the crash appear
less frequently.
gdb/ChangeLog:
* tui/tui-disasm.c (tui_set_disassem_content): Fix line buffer
overrun due to unchecked strcpy.
gdb/testsuite/ChangeLog:
* gdb.base/tui-layout.c: New file.
* gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
disassembly window contains very long lines.
commit 82b19a4d2f9c9e8d56fdffdd702f7db4af486386
Author: Tristan Gingold <gingold@adacore.com>
Date: Wed Nov 9 10:25:00 2016 +0100
darwin-nat.c: handle Darwin 16 (aka Sierra).
Support message from new task and dead name notification on task of an
existing process.
With Sierra, exec(2) terminate the current task and creates a new one.
'set startup-with-shell off' must still be used on Darwin 16.
2016-11-09 Tristan Gingold <gingold@adacore.com>
* darwin-nat.c (find_inferior_task_it): Fix indentation.
(find_inferior_notify_it): Remove.
(find_inferior_pid_it): New function.
(darwin_find_inferior_by_notify): Remove.
(darwin_find_inferior_by_pid): New function.
(darwin_find_new_inferior): New function.
(darwin_check_message_ndr): New function from
darwin_decode_exception_message.
(darwin_decode_exception_message): Call darwin_check_message_ndr.
Handle SIGTRAP addressed to an unknown task (when a task spawned).
(darwin_decode_notify_message): New function.
(darwin_decode_message): Handle unknown task.
(darwin_deallocate_threads): New function from darwin_mourn_inferior.
(darwin_mourn_inferior): Use darwin_deallocate_threads and
darwin_deallocate_exception_ports.
(darwin_deallocate_exception_ports): New function from
darwin_mourn_inferior.
(darwin_setup_exceptions): New function from darwin_attach_pid.
(darwin_setup_request_notification): Likewise.
(darwin_attach_pid): Call darwin_setup_request_notification and
darwin_setup_request_notification.
commit 4c1d4908aa9e61a35a2555e5529997d7f996a516
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Nov 9 00:00:27 2016 +0000
Automatic date update in version.in
commit 1f334aeb2268db153f01143e9b0ac01448ecaa56
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Nov 8 11:03:06 2016 -0800
X86: Remove the THREE_BYTE_0F7A entry
Remove the THREE_BYTE_0F7A entry which is leftover from SSE5.
PR binutils/20701
* i386-dis.c (THREE_BYTE_0F7A): Removed.
(dis386_twobyte): Don't use THREE_BYTE_0F7A.
(three_byte_table): Remove THREE_BYTE_0F7A.
commit 7353f2470c2eda19c31c9fa44c315c7c69dea7c4
Author: Tom Tromey <tom@tromey.com>
Date: Mon Oct 31 11:23:34 2016 -0600
Fix py-value.exp failure on Python 3
I happened to notice that one test in py-value.exp did not work
properly with Python 3. This patch fixes the problem.
2016-11-08 Tom Tromey <tom@tromey.com>
* gdb.python/py-value.exp (test_value_creation): Make "long" test
depend on Python 2.
commit 30a7bb833cbd848b1814f18b91dfdafba4e86839
Author: Tom Tromey <tom@tromey.com>
Date: Mon Oct 31 11:10:35 2016 -0600
Fix some error-handling bugs in python frame filters
While writing a Python frame filter, I found a few bugs in the current
frame filter code. In particular:
* One spot converts a Python long to a CORE_ADDR using PyLong_AsLong.
However, this can fail on overflow. I changed this to use
get_addr_from_python.
* Another spot is doing the same but with PyLong_AsUnsignedLongLong; I
changed this as well just for consistency.
* Converting line numbers can print "-1" if conversion from long
fails. This isn't fatal but just a bit ugly.
I've included a test case for the first issue. The line number one
didn't seem important enough to bother with.
2016-11-08 Tom Tromey <tom@tromey.com>
* python/py-framefilter.c (py_print_frame): Use
get_addr_from_python. Check for errors when getting line number.
2016-11-08 Tom Tromey <tom@tromey.com>
* gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
New method.
commit e8b24d9ff5b9419fc079f5fe975fac6f499f8bfb
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 8 16:02:42 2016 +0000
Remove parameter valaddr from la_val_print
Nowadays, we pass both val and return value of
value_contents_for_printing (val) to la_val_print. The latter is
unnecessary. This patch removes the second parameter of la_val_print,
and get valaddr in each language's implementation by calling
value_contents_for_printing. Since value_contents_for_printing calls
value_fetch_lazy, I also make VAL non-const.
Note that
- I don't clean up the valaddr usages in each language's routines,
- I don't remove valaddr from apply_ext_lang_val_pretty_printer, and
extension language ops apply_val_pretty_printer.
They can be done in followup patches.
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* ada-lang.h (ada_val_print): Remove second parameter. Remove
const from "struct value *".
* ada-valprint.c (print_field_values): Remove const from
"struct value *".
(val_print_packed_array_elements): Likewise.
(print_variant_part): Likewise.
(ada_val_print_string): Likewise.
(ada_val_print_gnat_array): Likewise.
(ada_val_print_ptr): Likewise.
(ada_val_print_num): Likewise.
(ada_val_print_enum): Likewise.
(ada_val_print_flt): Likewise.
(ada_val_print_union): Likewise.
(ada_val_print_struct_union): Likewise.
(ada_val_print_ref): Likewise.
(ada_val_print_1): Remove second parameter. Remove const from
"struct value *".
(ada_val_print): Likewise.
* c-lang.h (c_val_print): Likewise.
* c-valprint.c (c_val_print_array): Remove const from
"struct value *".
(c_val_print_ptr): Likewise.
(c_val_print_struct): Likewise.
(c_val_print_union): Likewise.
(c_val_print_int): Likewise.
(c_val_print_memberptr): Likewise.
(c_val_print): Remove second parameter. Remove const from
"struct value *". All callers updated.
* cp-valprint.c (cp_print_value): Remove const from
"struct value *".
(cp_print_value_fields): Likewise.
(c_val_print_value): Likewise.
* d-lang.h (d_val_print): Remove second parameter. Remove const
from "struct value *".
* d-valprint.c (dynamic_array_type): Likewise.
(d_val_print): Likewise.
* f-lang.h (f_val_print): Likewise.
* f-valprint.c (f_val_print): Likewise.
* go-lang.h (go_val_print): Likewise.
* go-valprint.c (print_go_string): Likewise.
(go_val_print): Likewise.
* language.c (unk_lang_val_print): Likewise.
* language.h (struct language_defn) <la_val_print>: Likewise.
Update comments.
(LA_VAL_PRINT): Remove.
* m2-lang.h (m2_val_print): Remove const from
"struct value *".
* m2-valprint.c (m2_print_array_contents): Likewise.
(m2_val_print): Likewise.
* p-lang.h (pascal_val_print): Remove second parameter. Remove
const from "struct value *".
(pascal_object_print_value_fields): Likewise.
* p-valprint.c (pascal_val_print): Likewise.
(pascal_object_print_value_fields): Likewise.
(pascal_object_print_value): Likewise.
* rust-lang.c (rust_get_disr_info): Likewise.
(val_print_struct): Likewise.
(rust_val_print): Likewise.
* valprint.c (generic_val_print_array): Likewise.
(generic_val_print_ptr): Likewise.
(generic_val_print_memberptr): Likewise.
(generic_val_print_ref): Likewise.
(generic_val_print_enum): Likewise.
(generic_val_print_flags): Likewise.
(generic_val_print_func): Likewise.
(generic_val_print_bool): Likewise.
(generic_val_print_int): Likewise.
(generic_val_print_char): Likewise.
(generic_val_print_float): Likewise.
(generic_val_print_decfloat): Likewise.
(generic_val_print_complex): Likewise.
(generic_val_print): Likewise.
(val_print): Likewise.
(common_val_print): Likewise.
(val_print_type_code_flags): Likewise.
(val_print_scalar_formatted): Likewise.
(val_print_array_elements): Likewise.
* valprint.h (val_print_array_elements): Update declaration.
(val_print_scalar_formatted): Likewise.
(generic_val_print): Likewise.
* value.h (val_print): Likewise.
commit cc977dc7d53ef4546592a4f02a2e06a621beae6f
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 8 15:58:47 2016 +0000
Use get_frame_register_value instead of deprecated_frame_register_read
This patch calls get_frame_register_value instead of
deprecated_frame_register_read, so that we can pass
value_contents_for_printing to val_print. Both
get_frame_register_value and deprecated_frame_register_read call
frame_unwind_register_value indirectly, so no functionality is changed
by this patch.
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* mt-tdep.c (mt_registers_info): Call
get_frame_register_value instead of
deprecated_frame_register_read.
* sh64-tdep.c (sh64_do_register): Likewise.
commit 3cde5c42d1c1ddcf8bbde5c47233c644370c959c
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:47 2016 +0000
Eliminate agent_expr_p; VEC -> std::vector in struct bp_target_info
After the previous patch, we end up with these two types with quite
similar, and potentially confusing names:
typedef gdb::unique_ptr<agent_expr> agent_expr_up;
/* Pointer to an agent_expr structure. */
typedef struct agent_expr *agent_expr_p;
The latter is only necessary to put agent_expr pointers in VECs. So
just eliminate it and use std::vector instead.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* ax.h (agent_expr_p): Delete.
(DEF_VEC_P (agent_expr_p)): Delete.
* breakpoint.c (build_target_condition_list)
(build_target_command_list): Adjust to use of std::vector.
(bp_location_dtor): Remove now unnecessary VEC_free calls.
* breakpoint.h: Include <vector>.
(struct bp_target_info) <conditions, tcommands>: Now
std::vector's.
* remote.c (remote_add_target_side_condition): bp_tgt->conditions
is now a std::vector; adjust.
(remote_add_target_side_commands, remote_insert_breakpoint):
bp_tgt->tcommands is now a std::vector; adjust.
commit 833177a4a5c1a2a6cabe70bfe35ecf241b68d169
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:47 2016 +0000
'struct agent_expr *' -> unique_ptr<agent_expr>
This patch makes the gen_* functions return a unique_ptr instead of
raw pointer:
typedef gdb::unique_ptr<agent_expr> agent_expr_up;
and then adjusts the codebase throughout to stop using
make_cleanup_free_agent_expr.
The cond_bytecode and cmd_bytecode fields of struct bp_location are
owning pointers, so they're changed to be unique_ptr's instead of raw
pointers.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* ax-gdb.c (is_nontrivial_conversion): Use agent_expr_up.
(gen_trace_for_var, gen_trace_for_expr, gen_eval_for_expr)
(gen_trace_for_return_address, gen_printf): Use and return an
agent_expr_up. Don't use make_cleanup_free_agent_expr.
(agent_eval_command_one, maint_agent_printf_command): Use
agent_expr_up. Don't use make_cleanup_free_agent_expr.
* ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
(gen_trace_for_return_address, gen_eval_for_expr, gen_printf): Use
agent_expr_up.
* ax-general.c (new_agent_expr): Rename to ...
(agent_expr::agent_expr): ... this, and now a constructor.
(free_agent_expr): Rename to ...
(agent_expr::~agent_exp): ... this, and now a destructor.
(do_free_agent_expr_cleanup, make_cleanup_free_agent_expr):
Delete.
* ax.h (struct agent_expr): Add ctor/dtor.
(agent_expr_up): New typedef.
(new_agent_expr, free_agent_expr, make_cleanup_free_agent_expr):
Delete declarations.
* breakpoint.c (parse_cond_to_aexpr): Use and return an
agent_expr_up. Don't use make_cleanup_free_agent_expr.
(build_target_condition_list): Adjust to use agent_expr_up.
(parse_cmd_to_aexpr): Use and return an agent_expr_up. Don't use
make_cleanup_free_agent_expr.
(build_target_command_list): Adjust to use agent_expr_up.
(force_breakpoint_reinsertion): Adjust to use agent_expr_up.
(bp_location_dtor): Remove unnecessary free_agent_expr and xfree
calls.
* breakpoint.h (struct bp_target_info) <cond_bytecode,
cmd_bytecode>: Now agent_expr_up's.
* remote.c (remote_download_tracepoint): Adjust to use
agent_expr_up and remove use of make_cleanup_free_agent_expr.
* tracepoint.c (validate_actionline, collect_symbol): Adjust to
use agent_expr_up and remove uses of make_cleanup_free_agent_expr.
(collection_list::~collection_list): Call delete instead of
free_agent_expr.
(encode_actions_1): Adjust to use agent_expr_up and remove uses of
make_cleanup_free_agent_expr.
(add_aexpr): Change parameter type to agent_expr_up; Return a raw
agent_expr pointer.
commit 2f408ecb929bd56613e94cf1e84ace4692c78257
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:47 2016 +0000
Use ui_file_as_string throughout more
This replaces most of the remaining ui_file_xstrdup calls with
ui_file_as_string calls. Whenever a call was replaced, that led to a
cascade of other necessary adjustments throughout, to make the code
use std::string instead of raw pointers. And then whenever I added a
std::string as member of a struct, I needed to adjust
allocation/destruction of said struct to use new/delete instead of
xmalloc/xfree.
The stopping point was once gdb built again. These doesn't seem to be
a way to reasonably split this out further.
Maybe-not-obvious changes:
- demangle_for_lookup returns a cleanup today. To get rid of that,
and avoid unnecessary string dupping/copying, this introduces a
demangle_result_storage type that the caller instantiates and
passes to demangle_for_lookup.
- Many methods returned a "char *" to indicate that the caller owns
the memory and must free it. Those are switched to return a
std::string instead. Methods that return a "view" into some
internal string return a "const char *" instead. I.e., we only
copy/allocate when necessary.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* ada-lang.c (ada_name_for_lookup, type_as_string): Use and return
std::string.
(type_as_string_and_cleanup): Delete.
(ada_lookup_struct_elt_type): Use type_as_string.
* ada-lang.h (ada_name_for_lookup): Now returns std::string.
* ada-varobj.c (ada_varobj_scalar_image): Return a std::string.
(ada_varobj_describe_child): Make 'child_name' and
'child_path_expr' parameters std::string pointers.
(ada_varobj_describe_struct_child, ada_varobj_describe_ptr_child):
Likewise, and use string_printf.
(ada_varobj_describe_simple_array_child)
(ada_varobj_describe_child): Likewise.
(ada_varobj_get_name_of_child, ada_varobj_get_path_expr_of_child)
(ada_varobj_get_value_image)
(ada_varobj_get_value_of_array_variable)
(ada_varobj_get_value_of_variable, ada_name_of_variable)
(ada_name_of_child, ada_path_expr_of_child)
(ada_value_of_variable): Now returns std::string. Use
string_printf.
(ada_value_of_child): Adjust.
* break-catch-throw.c (check_status_exception_catchpoint): Adjust
to use std::string.
* breakpoint.c (watch_command_1): Adjust to use std::string.
* c-lang.c (c_get_string): Adjust to use std::string.
* c-typeprint.c (print_name_maybe_canonical): Use std::string.
* c-varobj.c (varobj_is_anonymous_child): Use ==/!= std::string
operators.
(c_name_of_variable): Now returns a std::string.
(c_describe_child): The 'cname' and 'cfull_expression' output
parameters are now std::string pointers. Adjust.
(c_name_of_child, c_path_expr_of_child, c_value_of_variable)
(cplus_number_of_children): Adjust to use std::string and
string_printf.
(cplus_name_of_variable): Now returns a std::string.
(cplus_describe_child): The 'cname' and 'cfull_expression' output
parameters are now std::string pointers. Adjust.
(cplus_name_of_child, cplus_path_expr_of_child)
(cplus_value_of_variable): Now returns a std::string.
* cp-abi.c (cplus_typename_from_type_info): Return std::string.
* cp-abi.h (cplus_typename_from_type_info): Return std::string.
(struct cp_abi_ops) <get_typename_from_type_info>: Return
std::string.
* cp-support.c (inspect_type): Use std::string.
(cp_canonicalize_string_full, cp_canonicalize_string_no_typedefs)
(cp_canonicalize_string): Return std::string and adjust.
* cp-support.h (cp_canonicalize_string)
(cp_canonicalize_string_no_typedefs, cp_canonicalize_string_full):
Return std::string.
* dbxread.c (read_dbx_symtab): Use std::string.
* dwarf2read.c (dwarf2_canonicalize_name): Adjust to use std::string.
* gdbcmd.h (lookup_struct_elt_type): Adjust to use std::string.
* gnu-v3-abi.c (gnuv3_get_typeid): Use std::string.
(gnuv3_get_typename_from_type_info): Return a std::string and
adjust.
(gnuv3_get_type_from_type_info): Adjust to use std::string.
* guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
std::string.
* infcmd.c (print_return_value_1): Adjust to use std::string.
* linespec.c (find_linespec_symbols): Adjust to
demangle_for_lookup API change. Use std::string.
* mi/mi-cmd-var.c (print_varobj, mi_cmd_var_set_format)
(mi_cmd_var_info_type, mi_cmd_var_info_path_expression)
(mi_cmd_var_info_expression, mi_cmd_var_evaluate_expression)
(mi_cmd_var_assign, varobj_update_one): Adjust to use std::string.
* minsyms.c (lookup_minimal_symbol): Use std::string.
* python/py-varobj.c (py_varobj_iter_next): Use new instead of
XNEW. vitem->name is a std::string now, adjust.
* rust-exp.y (convert_ast_to_type, convert_name): Adjust to use
std::string.
* stabsread.c (define_symbol): Adjust to use std::string.
* symtab.c (demangle_for_lookup): Now returns 'const char *'. Add
a demangle_result_storage parameter. Use it for storage.
(lookup_symbol_in_language)
(lookup_symbol_in_objfile_from_linkage_name): Adjust to new
demangle_for_lookup API.
* symtab.h (struct demangle_result_storage): New type.
(demangle_for_lookup): Now returns 'const char *'. Add a
demangle_result_storage parameter.
* typeprint.c (type_to_string): Return std::string and use
ui_file_as_string.
* value.h (type_to_string): Change return type to std::string.
* varobj-iter.h (struct varobj_item) <name>: Now a std::string.
(varobj_iter_delete): Use delete instead of xfree.
* varobj.c (create_child): Return std::string instead of char * in
output parameter.
(name_of_variable, name_of_child, my_value_of_variable): Return
std::string instead of char *.
(varobj_create, varobj_get_handle): Constify 'objname' parameter.
Adjust to std::string fields.
(varobj_get_objname): Return a const char * instead of a char *.
(varobj_get_expression): Return a std::string.
(varobj_list_children): Adjust to use std::string.
(varobj_get_type): Return a std::string.
(varobj_get_path_expr): Return a const char * instead of a char *.
Adjust to std::string fields.
(varobj_get_formatted_value, varobj_get_value): Return a
std::string.
(varobj_set_value): Change type of 'expression' parameter to
std::string. Use std::string.
(install_new_value): Use std::string.
(delete_variable_1): Adjust to use std::string.
(create_child): Change the 'name' parameter to a std::string
reference. Swap it into the new item's name.
(create_child_with_value): Swap item's name into the new child's
name. Use string_printf.
(new_variable): Use new instead of XNEW.
(free_variable): Don't xfree fields that are now std::string.
(name_of_variable, name_of_child): Now returns std::string.
(value_of_root): Adjust to use std::string.
(my_value_of_variable, varobj_value_get_print_value): Return
and use std::string.
(varobj_value_get_print_value): Adjust to use ui_file_as_string
and std::string.
* varobj.h (struct varobj) <name, path_expr, obj_name,
print_value>: Now std::string's.
<name_of_variable, name_of_child, path_expr_of_child,
value_of_variable>: Return std::string.
(varobj_create, varobj_get_handle): Constify 'objname' parameter.
(varobj_get_objname): Return a const char * instead of a char *.
(varobj_get_expression, varobj_get_type): Return a std::string.
(varobj_get_path_expr): Return a const char * instead of a char *.
(varobj_get_formatted_value, varobj_get_value): Return a
std::string.
(varobj_set_value): Constify 'expression' parameter.
(varobj_value_get_print_value): Return a std::string.
commit d2af8993a7cac29eaa5a4efd47c9117bbd175068
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:47 2016 +0000
Use ui_file_as_string in gdb/language.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* language.c (add_language): Use ui_file_as_string and adjust to
use std::string.
commit 5698084a7303c45fdc94fb44c47355413b271562
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:46 2016 +0000
Use ui_file_as_string in gdb/rust-lang.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
Tom Tromey <tom@tromey.com>
* rust-lang.c (struct disr_info) <name>: Now a std::string.
(rust_get_disr_info): Use ui_file_as_string and adjust to use
std::string.
(rust_val_print): Adjust to use std::string.
commit af1fe7b3b87de27d84a82d4f44b937c2800205ff
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:46 2016 +0000
Use ui_file_as_string in gdb/infrun.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* infrun.c (print_target_wait_results): Use ui_file_as_string and
std::string.
commit 3b4de39c9d9ff014ae90e2bafbf7ce1f42c2198e
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:46 2016 +0000
Use ui_file_as_string in gdb/ada-lang.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* ada-lang.c (type_as_string): Use ui_file_as_string and return
std::string.
(type_as_string_and_cleanup): Delete.
(ada_lookup_struct_elt_type): Use type_as_string.
commit 6f0302493af0ace93943041c3374069c15c363f7
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:46 2016 +0000
Use ui_file_as_string in gdbarch.sh/gdbarch.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* gdbarch.sh (verify_gdbarch): Use ui_file_as_string and
std::string.
* gdbarch.c: Regenerate.
commit 66bbce5bda870c49a68f2b77a29fb96eca72632f
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:46 2016 +0000
Use ui_file_as_string in gdb/c-exp.y
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* c-exp.y (OPERATOR NEW): Adjust to use ui_file_as_string and
std::string.
commit aaee65aea29ac8f7317e866d5dbef9f96cfdb253
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:46 2016 +0000
Use ui_file_as_string in gdb/compile/
Using ui_file_as_string would imply changing a few prototypes to pass
around source and object file names as std::string. Instead of that,
wrap those two in a new class. This ends up eliminating a small
wrinkle: get_new_file_names and compile_object_load have swapped
parameters. The former takes "source, objfile", while the latter
takes "objfile, source".
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* c-lang.h (c_compute_program): Now returns std::string.
* compile/compile-internal.h (class compile_file_names): New
class.
* compile/compile-object-load.c (compile_object_load): Replace
object_file and source_file parameters with a compile_file_names
parameter. Adjust.
* compile-object-load.h: Include "compile-internal.h".
(compile_object_load): Replace object_file and source_file
parameters with a compile_file_names parameter.
* compile/compile-c-support.c (c_compute_program): Now returns a
std::string. Use ui_file_as_string.
* compile/compile.c (get_new_file_names): Remove parameters and
return a compile_file_names instead.
(compile_to_object): Now returns a compile_file_names. Use
ui_file_as_string.
(eval_compile_command): Use compile_file_names.
* language.h (struct language_defn) <la_compute_program>: Now
returns std::string.
commit 3d8b0d9483f6eabc2c1739ac3dd64c30061a6a72
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:45 2016 +0000
Use ui_file_as_string in gdb/cli/cli-setshow.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* cli/cli-setshow.c (do_show_command): Adjust to use
ui_file_as_string and std::string.
commit b3ced9bad2d8d5eb9ebabc5f8f7c6ab871f63748
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:45 2016 +0000
Use ui_file_as_string in gdb/remote.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* remote.c (escape_buffer): Use ui_file_as_string and return
std::string.
(putpkt_binary, read_frame): Adjust to use std::string.
commit c92aed165e8af79f51c5165f98f12389bb59a121
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:45 2016 +0000
Use ui_file_as_string in gdb/python/
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* python/py-arch.c (archpy_disassemble): Use ui_file_as_string and
std::string.
* python/py-breakpoint.c (bppy_get_commands): Use
ui_file_as_string and std::string.
* python/py-frame.c (frapy_str): Likewise.
* python/py-type.c (typy_str): Likewise.
* python/py-unwind.c (unwind_infopy_str): Likewise.
* python/py-value.c (valpy_str): Likewise.
commit 02030646c2a799614d31e52008403d8be067ac5d
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:45 2016 +0000
Use ui_file_as_string in gdb/printcmd.c
Yet another cleanup eliminated.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* printcmd.c (eval_command): Use ui_file_as_string and
std::string.
commit 7b01d34b2a62fb8cda96fe40c755f99e63b8ba4f
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:45 2016 +0000
Use ui_file_as_string in gdb/top.c
Yet another cleanup is eliminated.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* top.c (quit_confirm): Use ui_file_as_string and std::string.
commit db1ec11fff1a46f7046bcbd971a42632d2ea795c
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:45 2016 +0000
Use ui_file_as_string in execute_command_to_string
... and then return std::string and adjust all callers.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* gdbcmd.h (execute_command_to_string): Now returns std::string.
(lookup_struct_elt_type): Adjust to use std::string.
* top.c (execute_command_to_string): Use ui_file_as_string and
return std::string.
* guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
std::string.
* python/python.c (execute_gdb_command): Adjust to use
std::string.
commit 3ab692db7f4d96022a132379614031a852de6f35
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:44 2016 +0000
Use ui_file_as_string in gdb/guile/
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Use
ui_file_as_string and adjust to use std::string.
* guile/scm-disasm.c (gdbscm_arch_disassemble): Likewise.
* guile/scm-frame.c (frscm_print_frame_smob): Likewise.
* guile/scm-type.c (tyscm_type_name): Use ui_file_as_string and
adjust to use std::string. Throw exception directly instead of
returning it in EXCP output parameter.
(tyscm_print_type_smob, gdbscm_type_print_name): Adjust to
tyscm_type_name interface change.
* guile/scm-value.c (vlscm_print_value_smob, gdbscm_value_print):
Use ui_file_as_string and std::string.
commit 09b0e4b047b44063cf4c8c00527886743619c24e
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:44 2016 +0000
Use ui_file_as_string in gdb/arm-tdep.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* arm-tdep.c (_initialize_arm_tdep): Use ui_file_as_string and
std::string.
commit d16c5475b560adbad2d9bc78ec3718658f4090e3
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:44 2016 +0000
Use ui_file_as_string in gdb/utils.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* utils.c (error_stream): Use ui_file_as_string and std::string.
commit 56dbf31760f721893a44d3da26adfccf548995c7
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:44 2016 +0000
Use ui_file_as_string in gdb/ui-out.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* ui-out.c (ui_out_field_stream): Use ui_file_as_string.
commit 77e1c7426aad05b20f48762234c02139e9c02f8e
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:44 2016 +0000
Use ui_file_as_string in gdb/ada-valprint.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* ada-valprint.c (ada_print_floating): Use ui_file_as_string and
std::string.
commit a0f86e735886f3d373507fa9cfc0cf2a2f32eabc
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:44 2016 +0000
Use ui_file_as_string in gdb/xtensa-tdep.c
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* xtensa-tdep.c (xtensa_verify_config): Use ui_file_as_string and
std::string.
commit 322a851675234b3c16be6dd5035b07f5e3410ec7
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:44 2016 +0000
Use ui_file_as_string in dwarf2_compute_name
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* dwarf2read.c (dwarf2_compute_name): Use ui_file_as_string and
std::string.
commit 1f45808ead357e8a81dec16b9802a6c369e08426
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:43 2016 +0000
Clean up tracepoint.h/c:collection_list
Noticed we could do this while working on the expression_up change.
The main goal here was getting rid of the
encode_actions_and_make_cleanup / do_clear_collection_list cleanups.
While at it, uncrustify the code:
- Make collection_list a C++ class, with data members private (and
thus renamed m_...).
- Make related functions be member methods.
- Use std::vector instead of an open coding a vector implementation.
- Use std::sort instead of qsort.
- Rename the "list" member of collection_list, which is an incredibly
obfuscating name.
- Rename a couple other things here and there for clarify.
- Use "bool" more.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* mi/mi-main.c (print_variable_or_computed): Constify 'expression'
parameter.
(mi_cmd_trace_frame_collected): Call encode_actions instead of
encode_actions_and_make_cleanup. Adjust to use std::vector.
* tracepoint.c (memrange_cmp): Delete.
(memrange_comp): New.
(memrange_sortmerge): Take a memrange vector as parameter instead
of a collection_list. Use std::sort instead of qsort.
(add_register): Now a method of collection_list. Adjust to m_
prefix of data fields.
(add_memrange): Now a method of collection_list. Adjust to m_
prefix of data fields. Adjust to use std::vector.
(collect_symbol): Now a method of collection_list. Adjust to m_
prefix of data fields.
(do_collect_symbol): Adjust. Call add_wholly_collected instead of
accessing the vector directly.
(collection_list::add_wholly_collected): New.
(add_local_symbols): Now a method of collection_list.
(add_static_trace_data): Now a method of collection_list. Adjust
to use bool.
(clear_collection_list, do_clear_collection_list): Delete.
(init_collection_list): Delete.
(collection_list::collection_list): New.
(collection_list::~collection_list): New.
(stringify_collection_list): Rename to ...
(collection_list::stringify): ... this and adjust to being a
method of collection_list. Adjust to use of std::vector.
(append_exp): Now a method of collection_list. Use
ui_file_as_string. Adjust to std::vector.
(collection_list::finish): New.
(encode_actions_1): Adjust.
(encode_actions_and_make_cleanup): Rename to ...
(encode_actions)... this. No longer returns a cleanup. No longer
call init_collection_list nor install do_clear_collection_list
cleanups. Call collection_list::finish instead of
memrange_sortmerge directly.
(encode_actions_rsp): Adjust to call encode_actions instead of
encode_actions_and_make_cleanup. Adjust to method renames.
(add_aexpr): Now a method of collection_list.
* tracepoint.h: Include <vector> and <string>.
(struct memrange): Add constructors.
(struct collection_list): Now a class.
(class collection_list) <collection_list, ~collection_list,
add_wholly_collected, append_exp, add_aexpr, add_register,
add_memrange, collect_symbol, add_local_symbols,
add_static_trace_data, finish, stringify, wholly_collected, and
computed>: New methods.
<regs_mask>: Rename to ...
<m_regs_mask>: ... this.
<listsize, next_memrange, list>: Delete fields.
<m_memranges>: New field.
<aexpr_listsize, next_aexpr_elt, aexpr_list>: Delete fields.
<m_aexprs>: New field.
<strace_data>: Rename to ...
<m_strace_data>: ... this. Now a bool.
<wholly_collected>: Rename to ...
<m_wholly_collected>: ... this. Now a std::vector<std::string>.
<computed>: Rename to ...
<m_computed>: ... this. Now a std::vector<std::string>.
(encode_actions_and_make_cleanup): Delete declaration.
(encode_actions): New declaration.
commit 8de00631b8bd1c328f1916b1fd95bd0d9ff2017e
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:43 2016 +0000
Introduce ui_file_as_string
ui_file_as_string is a variant of ui_file_xstrdup that returns a
std::string instead of a xmalloc'ed char *. The idea is using the new
function to eliminate "make_cleanup (xfree, ...)" cleanups
throughout.
Following patches will make use of this.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* ui-file.c (do_ui_file_as_string, ui_file_as_string): New
functions.
* ui-file.h: Include <string>.
(ui_file_as_string): New declaration.
commit 4d01a485d29732b19743e8b138897f3509e071b0
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:43 2016 +0000
'struct expression *' -> gdb::unique_xmalloc_ptr<expression>
This patch makes parse_expression and friends return a unique_ptr
instead of raw pointer [1]:
typedef gdb::unique_malloc_ptr<expression> expression_up;
and then adjusts the codebase throughout to stop using cleanups to
manage lifetime of expression pointers.
Whenever I found a structure owning an expression pointer, I made it
store a unique_ptr instead of a raw pointer, which then requires using
new/delete of the holding structure, instead of XNEW/xfree.
[1] - I'd like to set the rule that types named with an "_up" suffix
are unique_ptr typedefs.
Note I used gdb::unique_xmalloc_ptr instead of gdb::unique_ptr, simply
because we still use xmalloc instead of new to allocate expression
objects. Once that's changed, all we need to do is change the
expression_up typedef and the smart pointer will then call delete
instead of xfree.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* ada-lang.c (ada_read_renaming_var_value): Use expression_up.
(struct ada_catchpoint_location) <excep_cond_expr>: Now an
expression_up.
(ada_catchpoint_location_dtor): Reset excep_cond_expr instead of
using xfree.
(create_excep_cond_exprs): Use expression_up and gdb::move.
(allocate_location_exception): Use new instead of XNEW.
(should_stop_exception): Likewise. Adjust to use expression_up.
(create_ada_exception_catchpoint): Use new instead of XNEW.
* ax-gdb.c (agent_eval_command_one): Use expression_up instead of
cleanups.
(maint_agent_printf_command): Use expression_up.
* break-catch-sig.c (create_signal_catchpoint): Use new instead of
XNEW.
* break-catch-syscall.c (create_syscall_event_catchpoint):
Likewise.
* break-catch-throw.c (handle_gnu_v3_exceptions): Use new instead
of XCNEW. Use gdb::unique_ptr instead of cleanups.
* breakpoint.c (set_breakpoint_condition, update_watchpoint)
(parse_cmd_to_aexpr, watchpoint_check)
(bpstat_check_breakpoint_conditions, watchpoint_locations_match):
Adjust to use expression_up.
(init_bp_location): Adjust.
(free_bp_location): Use delete instead of xfree.
(set_raw_breakpoint_without_location, set_raw_breakpoint)
(add_solib_catchpoint, create_fork_vfork_event_catchpoint)
(new_single_step_breakpoint, create_breakpoint_sal): Use new
instead of XNEW.
(find_condition_and_thread): Adjust to use expression_up.
(create_breakpoint): Use new instead of XNEW.
(dtor_watchpoint): Don't xfree expression pointers, they're
unique_ptr's now.
(insert_watchpoint, remove_watchpoint): Adjust.
(watch_command_1): Use expression_up. Use new instead of XCNEW.
(catch_exec_command_1): Use new instead of XNEW.
(bp_location_dtor): Don't xfree expression pointers, they're
unique_ptr's now.
(base_breakpoint_allocate_location)
(strace_marker_create_breakpoints_sal): Use new instead of XNEW.
(delete_breakpoint): Use delete instead of xfree.
* breakpoint.h (struct bp_location) <cond>: Now an
unique_ptr<expression> instead of a raw pointer.
(struct watchpoint) <exp, cond_exp>: Likewise.
* cli/cli-script.c (execute_control_command): Use expression_up
instead of cleanups.
* dtrace-probe.c (dtrace_process_dof_probe): Use expression_up.
* eval.c (parse_and_eval_address, parse_and_eval_long)
(parse_and_eval, parse_to_comma_and_eval, parse_and_eval_type):
Use expression_up instead of cleanups.
* expression.h (expression_up): New typedef.
(parse_expression, parse_expression_with_language, parse_exp_1):
Change return type to expression_up.
* mi/mi-main.c (mi_cmd_data_evaluate_expression)
(print_variable_or_computed): Use expression_up.
* objc-lang.c (print_object_command): Use expression_up instead of
cleanups.
* parse.c (parse_exp_1, parse_exp_in_context)
(parse_exp_in_context_1, parse_expression)
(parse_expression_with_language): Return an expression_up instead
of a raw pointer.
(parse_expression_for_completion): Use expression_up.
* printcmd.c (struct display) <exp>: Now an expression_up instead
of a raw pointer.
(print_command_1, output_command_const, set_command, x_command):
Use expression_up instead of cleanups.
(display_command): Likewise. Use new instead of XNEW.
(free_display): Use delete instead of xfree.
(do_one_display): Adjust to use expression_up.
* remote.c (remote_download_tracepoint): Likewise.
* stack.c (return_command): Likewise.
* tracepoint.c (validate_actionline, encode_actions_1): Use
expression_up instead of cleanups.
* typeprint.c (whatis_exp, maintenance_print_type): Likewise.
* value.c (init_if_undefined_command): Likewise.
* varobj.c (struct varobj_root) <exp>: Now an expression_up
instead of a raw pointer.
(varobj_create): Adjust.
(varobj_set_value): Use an expression_up instead of cleanups.
(new_root_variable): Use new instead of XNEW.
(free_variable): Use delete instead of xfree.
(value_of_root_1): Use std::swap.
commit b064640146bb6908a0ccca27ca8ee2b06b668137
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:43 2016 +0000
cli-script.c: Simplify using std::string, eliminate cleanups
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* cli/cli-script.c (execute_control_command): Use std::string
instead of cleanups.
(locate_arg): Constify return type.
(insert_args): Constify paremeter. Simplify using std::string.
Return a std::string.
commit 896b6bda6904765f36692d76a37b99c0412ca9ae
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:43 2016 +0000
breakpoint.c:commands_command_1 constification and cleanup
This is constification needed for next patch. Adjust
commands_command_1 to use std::string too because the "arg" parameter
is currently overwritten and then passed to make_cleanup. The
constification alone would trigger a compile error in the make_cleanup
call otherwise (passing const char * to void * parameter). Using
std::string gets rid of the cleanup in the first place, resulting in
simpler code.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* breakpoint.c (struct commands_info) <arg>: Constify.
(commands_command_1): Constify 'arg' parameter. Use std::string
and string_printf.
(commands_from_control_command): Constify 'arg' parameter.
(map_breakpoint_numbers): Constify 'args' parameter.
* breakpoint.h (commands_from_control_command): Constify 'arg'
parameter.
commit 4f8ad951f662864884d4b11315c940c5239a4a89
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:42 2016 +0000
cli/cli-script.c: Remove some dead NULL checks
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* cli/cli-script.c (execute_control_command): Assume insert_args
never returns NULL.
(insert_args): Assume xmalloc never returns NULL.
commit d4081a383e28db26c65298f7405554d4312b1342
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 15:26:42 2016 +0000
Introduce string_printf
This introduces the string_printf function. Like asprintf, but
returns a std::string.
gdb/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* Makefile.in (COMMON_OBS): Add utils-selftests.o.
* common/common-utils.c (string_printf): New function.
* common/common-utils.h: Include <string>.
(string_printf): Declare.
* utils-selftests.c: New file.
commit cb64e50d42a49bce61050c79c5ab0846905b6a82
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Nov 8 15:03:46 2016 +0000
Fix heap-buffer-overflow error detected by address sanitization on a fuzzed binary.
PR binutils/20794
* readelf.c (process_section_headers): Fix off-by-one error when
checking for invalid sh_link and sh_info fields.
commit 93f9a11fbdb8f09428b17180d51a09a1bda39a52
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 8 14:28:32 2016 +0000
gdbarch software_single_step returns VEC (CORE_ADDR) *
This patch changes gdbarch method software_single_step to return a
vector of addresses on which GDB should insert breakpoints, and don't
insert breakpoints. Instead, the caller of
gdbarch_software_single_step inserts breakpoints if the returned
vector is not NULL.
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* aarch64-tdep.c (aarch64_software_single_step): Return
VEC (CORE_ADDR) *. Return NULL instead of 0. Don't call
insert_single_step_breakpoint.
* alpha-tdep.c (alpha_deal_with_atomic_sequence): Likewise.
(alpha_software_single_step): Likewise.
* alpha-tdep.h (alpha_software_single_step): Update declaration.
* arm-linux-tdep.c (arm_linux_software_single_step): Return
VEC (CORE_ADDR) *. Return NULL instead of 0.
* arm-tdep.c (arm_software_single_step): Return NULL instead of 0.
* arm-tdep.h (arm_software_single_step): Update declaration.
* breakpoint.c (insert_single_step_breakpoints): New function.
* breakpoint.h (insert_single_step_breakpoints): Declare.
* cris-tdep.c (cris_software_single_step): Return
VEC (CORE_ADDR) *. Don't call insert_single_step_breakpoint.
* gdbarch.sh (software_single_step): Change it to return
VEC (CORE_ADDR) *.
* gdbarch.c, gdbarch.h: Regenerated.
* infrun.c (maybe_software_singlestep): Adjust.
* mips-tdep.c (mips_deal_with_atomic_sequence): Return
VEC (CORE_ADDR) *. Don't call insert_single_step_breakpoint.
(micromips_deal_with_atomic_sequence): Likewise.
(deal_with_atomic_sequence): Likewise.
(mips_software_single_step): Likewise.
* mips-tdep.h (mips_software_single_step): Update declaration.
* moxie-tdep.c (moxie_software_single_step): Likewise.
* nios2-tdep.c (nios2_software_single_step): Likewise.
* ppc-tdep.h (ppc_deal_with_atomic_sequence): Update
declaration.
* record-full.c (record_full_resume): Adjust.
(record_full_wait_1): Likewise.
* rs6000-aix-tdep.c (rs6000_software_single_step): Return
VEC (CORE_ADDR) *. Don't call insert_single_step_breakpoint.
* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Return
VEC (CORE_ADDR) *. Don't call insert_single_step_breakpoint.
* s390-linux-tdep.c (s390_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* spu-tdep.c (spu_software_single_step): Likewise.
* tic6x-tdep.c (tic6x_software_single_step): Likewise.
commit 0bc5d801ec836cd4b7d1ab7d05658e7a1d05df22
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 8 12:58:33 2016 +0000
Clear addr bit in next_pcs vector
This patch is to split the loop of calling gdbarch_addr_bits_remove
and insert_single_step_breakpoint into two loops.
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* arm-linux-tdep.c (arm_linux_software_single_step): Write
adjusted address back to vector. Call insert_single_step_breakpoint
in a new loop.
* arm-tdep.c (arm_software_single_step): Likewise.
commit 771da62d67a9f27c1e706610efe51b13c3f9fd60
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 8 12:47:16 2016 +0000
Remove arm_insert_single_step_breakpoint
This patch is to remove arm_insert_single_step_breakpoint.
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* arm-linux-tdep.c (arm_linux_software_single_step): Don't
call arm_insert_single_step_breakpoint, call
insert_single_step_breakpoint instead.
* arm-tdep.c (arm_insert_single_step_breakpoint): Remove.
(arm_software_single_step): Don't call
arm_insert_single_step_breakpoint, call
insert_single_step_breakpoint instead.
* arm-tdep.h (arm_insert_single_step_breakpoint): Remove
declaration.
commit 53c3572a9f5b03a92292cb6d24bf69b52c95500e
Author: Cordian A. Daniluk <th3c0r1uk@gmail.com>
Date: Sat Oct 29 20:39:57 2016 +0200
Fix PR breakpoints/20739: Badly formatted adress string in error message
Remove duplicate `0x'-prefix for the hex address printed. `paddress'
already prepends this, so no need to do it manually.
gdb/ChangeLog:
2016-11-08 Cordian A. Daniluk <th3c0r1uk@gmail.com>
PR breakpoints/20739
* breakpoint.c (check_fast_tracepoint_sals): Don't print duplicate
0x prefix.
commit 3b0d929dd61fcd55b4ef320a2033c731443b394f
Author: Pedro Alves <palves@redhat.com>
Date: Tue Nov 8 12:32:05 2016 +0000
Fix bfd/dwarf2.c build breakage
Fix build breakage introduced by commit 089e3718bd8d ("Greatly improve
the speed if looking up DWARF line number information."):
- bfd_boolean is_linkage;
- const char *name;
- struct arange arange;
+ int line;
+ int tag;
+ bfd boolean is_linkage;
bfd/ChangeLog:
2016-11-08 Pedro Alves <palves@redhat.com>
* dwarf2.c (struct funcinfo) <is_linkage>: Type is bfd_boolean,
not "bfd boolean".
commit 089e3718bd8de11fc4d6bbc8d32701033d467960
Author: Igor Tsimbalist <tigor.tools@gmail.com>
Date: Tue Nov 8 12:01:58 2016 +0000
Greatly improve the speed if looking up DWARF line number information.
* 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.
commit 20955dbf718992e83b7c971344931934b62a784f
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Nov 8 11:32:53 2016 +0000
Fix indentation
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* rust-lang.c (val_print_struct): Fix indentation.
commit 9dc193c3be85aafa60ceff57d3b0430af607b4ce
Author: Lionel Flandrin <lionel@svkt.org>
Date: Tue Nov 8 10:27:36 2016 +0000
Check for truncated registers in process_g_packet
While investigating an unrelated issue in remote.c I noticed that the
bound checking for 'g' packets was bogus:
The previous code would only check that the first byte of the register
was within bounds before passing the buffer to regcache_raw_supply.
If it turned out that the register in the 'g' packet was incomplete
then regcache_raw_supply would proceed to memcpy out-of-bounds.
Since the buffer is allocated with alloca it's relatively unlikely to
crash (you just end up dumping gdb's stack into the cache) but it's
still a bit messy.
I changed this logic to check for truncated registers and raise an
error if one is encountered. Hopefully it should make debugging
remote stubs a bit easier.
gdb/ChangeLog:
2016-11-08 Lionel Flandrin <lionel@svkt.org>
* remote.c (process_g_packet): Detect truncated registers in 'g'
packets and raise an error.
commit ec7b600bf1410f6bda239666fac258a605dc3f43
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Tue Nov 8 00:00:34 2016 +0000
Automatic date update in version.in
commit 48c97fa1ba7d6628352fc2433abd91a41f6c8171
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Nov 7 14:58:38 2016 -0800
X86: Properly handle bad FPU opcode
Since Bad_Opcode and FGRPd9_2 were the same in i386-dis.c, all
Bad_Opcode entries in float_reg were displaced as FGRPd9_2. This
patch adds an entry for Bad_Opcode in fgrps to avoid treating it
as FGRPd9_2.
gas/
PR binutils/20775
* testsuite/gas/i386/i386.exp: Run fpu-bad.
* testsuite/gas/i386/fpu-bad.d: New file.
* testsuite/gas/i386/fpu-bad.s: Likewise.
opcodes/
PR binutils/20775
* i386-dis.c (FGRPd9_2): Replace 0 with 1.
(FGRPd9_4): Replace 1 with 2.
(FGRPd9_5): Replace 2 with 3.
(FGRPd9_6): Replace 3 with 4.
(FGRPd9_7): Replace 4 with 5.
(FGRPda_5): Replace 5 with 6.
(FGRPdb_4): Replace 6 with 7.
(FGRPde_3): Replace 7 with 8.
(FGRPdf_4): Replace 8 with 9.
(fgrps): Add an entry for Bad_Opcode.
commit 5996220cfa24ef6fddb782617720cd56913b1bb7
Author: Doug Evans <dje@google.com>
Date: Mon Nov 7 13:31:24 2016 -0800
Fix ext lang calls to value_struct_elt.
gdb/ChangeLog:
* guile/scm-value.c (gdbscm_value_field): Fix call to value_struct_elt.
* python/py-value.c (valpy_getitem): Ditto.
commit ad9eb1fdda263cd91ee8fb36292fb29d546b0076
Author: Doug Evans <dje@google.com>
Date: Mon Nov 7 13:27:22 2016 -0800
i386-tdep.c (i386_gdbarch_init): Add comments.
gdb/ChangeLog:
* i386-tdep.c (i386_gdbarch_init): Add comments.
commit bc71081e53e3c0a52a28d5874e65a54194e2205f
Author: Doug Evans <dje@google.com>
Date: Mon Nov 7 13:23:10 2016 -0800
python/py-unwind.c (unwind_infopy_str): Fix use of VEC_iterate.
gdb/ChangeLog:
* python/py-unwind.c (unwind_infopy_str): Fix use of VEC_iterate.
commit a57160325ef479bd7181a4319126b1177c4a5cbb
Author: Doug Evans <dje@google.com>
Date: Mon Nov 7 13:15:48 2016 -0800
configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o.
gdb/ChangeLog:
* configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o.
commit 5ada5c6fca335963b0b9fb9e91c999fcdaab2f89
Author: Doug Evans <dje@google.com>
Date: Mon Nov 7 13:08:55 2016 -0800
Sync config.sub,config.guess with upstream.
-----------------------------------------------------------------------
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/nm.c | 18 +
binutils/readelf.c | 8 +-
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 +
223 files changed, 7620 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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-07 22:51 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-07 22:51 UTC (permalink / raw)
To: archer-commits
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 12963 bytes --]
The branch, users/jkratoch/dwarf5gcc has been updated
via 3e11dd8696f156b8e79f5b2188be1cf8f894e85b (commit)
via 7a34932bce1342c970a03128bbccc5a81ae3da6b (commit)
via e680a6b69b4bd173a180419e973a9bf18a000151 (commit)
via 9af89fbaecca21b2ca34c142584165066807fb10 (commit)
via b93bfa1980fa4d1229874067dd36acd9ac5685cd (commit)
from db2060bfd45fedf12db5495376c2bee5526acc6c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 3e11dd8696f156b8e79f5b2188be1cf8f894e85b
Merge: db2060b 7a34932
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Mon Nov 7 21:58:39 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit 7a34932bce1342c970a03128bbccc5a81ae3da6b
Author: Loïc Yhuel <loic.yhuel@softathome.com>
Date: Mon Nov 7 08:00:21 2016 -0800
Add missing '$' in configure.ac.
2016-11-04 Loïc Yhuel <loic.yhuel@softathome.com>
gold/
* configure.ac: add missing '$'.
* configure: Regenerate.
commit e680a6b69b4bd173a180419e973a9bf18a000151
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Nov 7 15:05:34 2016 +0000
Fix infinite loop when processing rpath tokens.
PR ld/20784
* emultempl/elf32.em (search_needed): Fix infinite loop when
unable to process a token. Add support for curly braced enclosed
tokens.
* ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
$LIB.
commit 9af89fbaecca21b2ca34c142584165066807fb10
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Nov 7 12:28:16 2016 +0000
Note that the linker's --compress-debug-sections option overrides the compression status of any input debug sections.
* ld.texinfo (--compress-debug-sections): Expand documentation of
this option.
commit b93bfa1980fa4d1229874067dd36acd9ac5685cd
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Mon Nov 7 00:00:23 2016 +0000
Automatic date update in version.in
-----------------------------------------------------------------------
Summary of changes:
bfd/version.h | 2 +-
gold/ChangeLog | 5 +++
gold/configure | 2 +-
gold/configure.ac | 2 +-
ld/ChangeLog | 14 +++++++++
ld/emultempl/elf32.em | 75 +++++++++++++++++++++++++++++++-----------------
ld/ld.texinfo | 43 +++++++++++++++++++++-------
7 files changed, 102 insertions(+), 41 deletions(-)
First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index f2750d9..fd3d5fd 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20161106
+#define BFD_VERSION_DATE 20161107
#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/gold/ChangeLog b/gold/ChangeLog
index 08b4a0a..0013288 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-04 Loïc Yhuel <loic.yhuel@softathome.com>
+
+ * configure.ac: add missing '$'.
+ * configure: Regenerate.
+
2016-10-21 Gergely Nagy <ngg@tresorit.com>
PR gold/17704
diff --git a/gold/configure b/gold/configure
index 343a407..a3ed5c9 100755
--- a/gold/configure
+++ b/gold/configure
@@ -3266,7 +3266,7 @@ fi
sysroot_relocatable=0
if test -n "$sysroot"; then
- case "sysroot" in
+ case "$sysroot" in
"${prefix}" | "${prefix}/"* | \
"${exec_prefix}" | "${exec_prefix}/"* | \
'${prefix}' | '${prefix}/'*| \
diff --git a/gold/configure.ac b/gold/configure.ac
index de3b630..ff9f1fd 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -49,7 +49,7 @@ fi
sysroot_relocatable=0
if test -n "$sysroot"; then
- case "sysroot" in
+ case "$sysroot" in
"${prefix}" | "${prefix}/"* | \
"${exec_prefix}" | "${exec_prefix}/"* | \
'${prefix}' | '${prefix}/'*| \
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0513d2e..9d04123 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,17 @@
+2016-11-07 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20784
+ * emultempl/elf32.em (search_needed): Fix infinite loop when
+ unable to process a token. Add support for curly braced enclosed
+ tokens.
+ * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
+ $LIB.
+
+2016-11-07 Nick Clifton <nickc@redhat.com>
+
+ * ld.texinfo (--compress-debug-sections): Expand documentation of
+ this option.
+
2016-11-04 Nick Clifton <nickc@redhat.com>
* emultempl/elf32.em (search_needed): Remove use of getauxval and
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 57252da..8c63638 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -495,6 +495,7 @@ gld${EMULATION_NAME}_search_needed (const char *path,
len = strlen (name);
while (1)
{
+ unsigned offset = 0;
char * var;
char *filename, *sset;
@@ -527,8 +528,10 @@ gld${EMULATION_NAME}_search_needed (const char *path,
/* PR 20535: Support the same pseudo-environment variables that
are supported by ld.so. Namely, $ORIGIN, $LIB and $PLATFORM.
Since there can be more than one occurrence of these tokens in
- the path we loop until no more are found. */
- while ((var = strchr (filename, '$')) != NULL)
+ the path we loop until no more are found. Since we might not
+ be able to substitute some of the tokens we maintain an offset
+ into the filename for where we should begin our scan. */
+ while ((var = strchr (filename + offset, '$')) != NULL)
{
/* The ld.so manual page does not say, but I am going to assume that
these tokens are terminated by a directory seperator character
@@ -536,13 +539,14 @@ gld${EMULATION_NAME}_search_needed (const char *path,
$ORIGIN should only be used at the start of a path, but that is
not enforced here.
- FIXME: The ld.so manual page also states that it allows ${ORIGIN}
- ${LIB} and ${PLATFORM}. We should support these variants too.
+ The ld.so manual page also states that it allows ${ORIGIN},
+ ${LIB} and ${PLATFORM}, so these are supported as well.
FIXME: The code could be a lot cleverer about allocating space
for the processed string. */
char * end = strchr (var, '/');
char * replacement = NULL;
+ char * v = var + 1;
char * freeme = NULL;
unsigned flen = strlen (filename);
@@ -550,16 +554,27 @@ gld${EMULATION_NAME}_search_needed (const char *path,
/* Temporarily terminate the filename at the end of the token. */
* end = 0;
- switch (var[1])
+ if (*v == '{')
+ ++ v;
+ switch (*v++)
{
case 'O':
- if (strcmp (var + 2, "RIGIN") == 0)
+ if (strcmp (v, "RIGIN") == 0 || strcmp (v, "RIGIN}") == 0)
{
/* ORIGIN - replace with the full path to the directory
containing the program or shared object. */
if (needed.by == NULL)
- break;
- replacement = bfd_get_filename (needed.by);
+ {
+ if (link_info.output_bfd == NULL)
+ {
+ break;
+ }
+ else
+ replacement = bfd_get_filename (link_info.output_bfd);
+ }
+ else
+ replacement = bfd_get_filename (needed.by);
+
if (replacement)
{
char * slash;
@@ -582,7 +597,7 @@ gld${EMULATION_NAME}_search_needed (const char *path,
break;
case 'L':
- if (strcmp (var + 2, "IB") == 0)
+ if (strcmp (v, "IB") == 0 || strcmp (v, "IB}") == 0)
{
/* LIB - replace with "lib" in 32-bit environments
and "lib64" in 64-bit environments. */
@@ -603,17 +618,12 @@ gld${EMULATION_NAME}_search_needed (const char *path,
break;
case 'P':
- if (strcmp (var + 2, "LATFORM") == 0)
- {
- /* Supporting $PLATFORM in a cross-hosted environment is not
- possible. Supporting it in a native environment involves
- loading the <sys/auxv.h> header file which loads the
- system <elf.h> header file, which conflicts with the
- "include/elf/mips.h" header file. */
- replacement = NULL;
- }
- break;
-
+ /* Supporting $PLATFORM in a cross-hosted environment is not
+ possible. Supporting it in a native environment involves
+ loading the <sys/auxv.h> header file which loads the
+ system <elf.h> header file, which conflicts with the
+ "include/elf/mips.h" header file. */
+ /* Fall through. */
default:
break;
}
@@ -623,14 +633,20 @@ gld${EMULATION_NAME}_search_needed (const char *path,
char * filename2 = xmalloc (flen + strlen (replacement));
if (end)
- sprintf (filename2, "%.*s%s/%s",
- (int)(var - filename), filename,
- replacement, end + 1);
+ {
+ sprintf (filename2, "%.*s%s/%s",
+ (int)(var - filename), filename,
+ replacement, end + 1);
+ offset = (var - filename) + 1 + strlen (replacement);
+ }
else
- sprintf (filename2, "%.*s%s",
- (int)(var - filename), filename,
- replacement);
-
+ {
+ sprintf (filename2, "%.*s%s",
+ (int)(var - filename), filename,
+ replacement);
+ offset = var - filename + strlen (replacement);
+ }
+
free (filename);
filename = filename2;
/* There is no need to restore the path separator (when
@@ -647,12 +663,17 @@ gld${EMULATION_NAME}_search_needed (const char *path,
if (end)
/* Restore the path separator. */
* end = '/';
+
+ /* PR 20784: Make sure that we resume the scan
+ *after* the token that we could not replace. */
+ offset = (var + 1) - filename;
}
free (freeme);
}
needed.name = filename;
+
if (gld${EMULATION_NAME}_try_needed (&needed, force))
return TRUE;
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 500fda6..d4f33b7 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1865,6 +1865,16 @@ specifies the first set of directories to search. The
either by specifying a list of names separated by colons, or by
appearing multiple times.
+The tokens @var{$ORIGIN} and @var{$LIB} can appear in these search
+directories. They will be replaced by the full path to the directory
+containing the program or shared object in the case of @var{$ORIGIN}
+and either @samp{lib} - for 32-bit binaries - or @samp{lib64} - for
+64-bit binaries - in the case of @var{$LIB}.
+
+The alternative form of these tokens - @var{$@{ORIGIN@}} and
+@var{$@{LIB@}} can also be used. The token @var{$PLATFORM} is not
+supported.
+
This option should be used with caution as it overrides the search path
that may have been hard compiled into a shared library. In such a case it
is possible to use unintentionally a different search path than the
@@ -2319,17 +2329,28 @@ hash tables. The default is @code{sysv}.
@itemx --compress-debug-sections=zlib
@itemx --compress-debug-sections=zlib-gnu
@itemx --compress-debug-sections=zlib-gabi
-On ELF platforms , these options control how DWARF debug sections are
-compressed using zlib. @option{--compress-debug-sections=none} doesn't
-compress DWARF debug sections.
-@option{--compress-debug-sections=zlib-gnu} compresses DWARF debug
-sections and rename debug section names to begin with @samp{.zdebug}
-instead of @samp{.debug}. @option{--compress-debug-sections=zlib}
-and @option{--compress-debug-sections=zlib-gabi}
-compress DWARF debug sections with SHF_COMPRESSED from the ELF ABI.
-The default behaviour varies depending upon the target involved and
-the configure options used to build the toolchain. The default can be
-determined by examing the output from the linker's @option{--help} option.
+On ELF platforms, these options control how DWARF debug sections are
+compressed using zlib.
+
+@option{--compress-debug-sections=none} doesn't compress DWARF debug
+sections. @option{--compress-debug-sections=zlib-gnu} compresses
+DWARF debug sections and renames them to begin with @samp{.zdebug}
+instead of @samp{.debug}. @option{--compress-debug-sections=zlib-gabi}
+also compresses DWARF debug sections, but rather than renaming them it
+sets the SHF_COMPRESSED flag in the sections' headers.
+
+The @option{--compress-debug-sections=zlib} option is an alias for
+@option{--compress-debug-sections=zlib-gabi}.
+
+Note that this option overrides any compression in input debug
+sections, so if a binary is linked with @option{--compress-debug-sections=none}
+for example, then any compressed debug sections in input files will be
+uncompressed before they are copied into the output binary.
+
+The default compression behaviour varies depending upon the target
+involved and the configure options used to build the toolchain. The
+default can be determined by examining the output from the linker's
+@option{--help} option.
@kindex --reduce-memory-overheads
@item --reduce-memory-overheads
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-06 18:03 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-06 18:03 UTC (permalink / raw)
To: archer-commits
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 83997 bytes --]
The branch, users/jkratoch/dwarf5gcc has been updated
via db2060bfd45fedf12db5495376c2bee5526acc6c (commit)
via 62e34765c9b25094e6a7b460c3a1632efe51e03e (commit)
via 9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b (commit)
via 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b (commit)
via 7989954c57444ef2a5963bb2bb0fae4652b846a6 (commit)
via b437d035ddf4e4c0c566c577ee059790ed28ad9b (commit)
via 848ac659685fba46ce8816400db705f60c8040f7 (commit)
via c42608e136ef1eb52f65002d5e7efe6d62b7f285 (commit)
via feb4bea70a297eb6316d1b0685bbbb8095b7fb29 (commit)
via d46a21655318492db1e6113972fb02ab49eae75f (commit)
via b19ea8d28b1c06c2973738c1cda076f895ac3ad0 (commit)
via ce1b0a458aed5fea182c8eb4a8cf1161d1c0a20f (commit)
via 13be4805fe268e9ac61e6a6b22d19b8e6e7738bb (commit)
via 4f7eddc4d1a03c982a4f0361879bc5347b921b10 (commit)
via 88ba72a2dfae2e71e3b0798ac74c6853749fd502 (commit)
via 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1 (commit)
via 8f1732fc2a11dc2dbece0800d4ed6f011590d3ad (commit)
via 88bd15396002102beedf49c87adee7b16c2bb409 (commit)
via b709ef7ca12d963678c6f73b10a20bea60cfb0df (commit)
via 6b211b9cc3c61f514423869af51a17e4c2bc7531 (commit)
via aed6eddb24be670fa619b844c651095bb65396d1 (commit)
via cdf5a07c75b47481da1e99ee91ee860c2a6bb5f6 (commit)
via b96645f1a1e6084ed6a20ddf615bdc4d2487a9c9 (commit)
via 51a789c3bf3d9b04d3d81493fda7f2514ae43add (commit)
via 98d0e90ccafe18d0b6392fa891e4b3d77299ae95 (commit)
via 5a736821eff3aa4a8da237778526f9f700759c7a (commit)
via bdfe53e3cfebb392b1a0ef50fdd02faafec6dc63 (commit)
via 90f61cceac73fe40dcd21b3590c247bfa624ac00 (commit)
via 2e27220211249bfeb38b10e630b33fbd170fce6c (commit)
via 06fe285fd293e999481ec8f5c619658aa5e3b48b (commit)
via 91fdca6f26cf33573364b5bd313ed4bed6a547cc (commit)
via ecf64ec654afe916099f0fe482c2dae417913905 (commit)
via 2fe9c2a0c9fe3ca2f0fa94ea7219a8a4a299ac6a (commit)
via d039fef395c1b5fd781acaf1c611f96f654f5f91 (commit)
via 8b89fe14b522cd6e5d160ff17defa8ecec243b11 (commit)
via 722bcb33bf0383487c1af0e7d401e30301e94e2b (commit)
via 034b77cf7875c4ea5aaf3d06dfea2e422abc47db (commit)
via 7148c36989ee64f15ac9618543309cd7311b6015 (commit)
via 04180708eff91ddd3a9572bd4b517ccce5850db0 (commit)
via a97c97e8d7c818886f0f7beb3fd5dee0042b4a07 (commit)
via 833b7ab5008b769dca6db6d5ee1d21d33e730132 (commit)
via 22f13eb869197fc45a0da2a8a96b03d39809862e (commit)
via c0f4a997c26760d2584946196ee5c411d1a632a6 (commit)
via 579c6ad9830058ccebf9c592d692c25fac6285c7 (commit)
via cd6c3b4ffc4ea6f56f12581419e2eed885441beb (commit)
via d19280adb5b2d1470dc39756ccac8a8fa2af8321 (commit)
via 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356 (commit)
via 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620 (commit)
via 8b55a7e4e5b30877e924e4b0ed0437d16ccdcedf (commit)
via bada43421274615d0d5f629a61a60b7daa71bc15 (commit)
via 225b362d1036121a611f3dd17fdb6780070ba51f (commit)
via c8c064b0dc4ef58b47151e1dfb207262a24ff2d1 (commit)
via 7d5697f9e27f79e1decc1215f33088cee9f7d863 (commit)
from 02e0217ac3479b8a6b3a41a57aafcfa5c496a628 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit db2060bfd45fedf12db5495376c2bee5526acc6c
Merge: 02e0217 62e3476
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Nov 6 19:02:26 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit 62e34765c9b25094e6a7b460c3a1632efe51e03e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sun Nov 6 00:00:24 2016 +0000
Automatic date update in version.in
commit 9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b
Author: Nathan Sidwell <nathan@acm.org>
Date: Thu Nov 3 20:42:23 2016 -0700
Fix gas crash with unreasonably long lines
gas/
* input-scrub.c (partial_size): Make size_t.
(buffer_length): Likewise. Adjust meaning.
(struct input_save): Adjust partial_size type.
(input_scrub_reinit): New.
(input_scrub_push, input_scrub_begin): Use it.
(input_scrub_next_buffer): Fix buffer extension logic. Only scan
newly read buffer for newline.
commit 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Fri Nov 4 23:47:32 2016 -0400
Fix a few typos
gdb/ChangeLog:
* maint.c (scoped_command_stats::scoped_command_stats): Fix typo.
* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
* ppcobsd-tdep.c (_initialize_ppcobsd_tdep): Likewise.
* ui-out.c (ui_out_new): Likewise.
* utils.c (init_page_info): Likewise.
(reset_prompt_for_continue_wait_time): Likewise.
* windows-nat.c (windows_init_thread_list): Likewise.
* xtensa-tdep.c (call0_analyze_prologue): Likewise.
commit 7989954c57444ef2a5963bb2bb0fae4652b846a6
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Sat Nov 5 00:00:20 2016 +0000
Automatic date update in version.in
commit b437d035ddf4e4c0c566c577ee059790ed28ad9b
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Tue Sep 27 12:06:01 2016 +0100
arc/nps400: Validate address type operands correctly
When we match against an address type operand within an instruction it
is important that we match exactly the right address type operand early
on, during the opcode selection phase. If we wait until the operand
insertion phase to check that we have the correct address operand, then
it is too late to select an alternative opcode. This becomes important
only when we have multiple opcodes with the same mnemonic, and operand
lists that differ only in the type of the address operands.
This commit fixes this issue, and adds some example instructions that
require this issue to be fixed (the instructions are identical except
for the address type operand).
gas/ChangeLog:
* config/tc-arc.c (find_opcode_match): Use insert function to
validate matching address type operands.
* testsuite/gas/arc/nps400-10.d: New file.
* testsuite/gas/arc/nps400-10.s: New file.
opcodes/ChangeLog:
* arc-opc.c (arc_flag_operands): Add F_DI14.
(arc_flag_classes): Add C_DI14.
* arc-nps400-tbl.h: Add new exc instructions.
commit 848ac659685fba46ce8816400db705f60c8040f7
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Thu Aug 11 16:04:59 2016 +0100
objcopy: Close some memory leaks in error paths
Closes some memory leaks within objcopy for error paths.
binutils/ChangeLog:
* objcopy.c (copy_section): Add extra calls to free for error
paths.
commit c42608e136ef1eb52f65002d5e7efe6d62b7f285
Author: Tom Tromey <tom@tromey.com>
Date: Sun Aug 21 21:47:14 2016 -0600
set default-directory in dwarf-browse
I've been using dwarf-mode.el again recently and I found it mildly
annoying that the mode doesn't set default-directory. Setting it
means that operations in the dwarf-browsing buffer default to the
directory holding the object file being investigated.
This bumps the version number as well so that updating it via the
package manager works properly.
2016-11-04 Tom Tromey <tom@tromey.com>
* dwarf-mode.el (dwarf-browse): Set default-directory. Bump
version number.
commit feb4bea70a297eb6316d1b0685bbbb8095b7fb29
Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Date: Fri Nov 4 19:48:35 2016 +0100
S/390: Fix 16 bit pc relative relocs.
Since the bpp instruction has been added the 16 bit wide pc relative
relocs might occur at offset 2 as well at offset 4 in an instruction.
With this patch the different adjustment is passed from
md_gather_operand to md_apply_fix via fx_pcrel_adjust field in the fix
data structure.
No regressions on s390x.
gas/ChangeLog:
2016-11-04 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/tc-s390.c (md_gather_operands): Set fx_pcrel_adjust.
(md_apply_fix): Use/Set fx_pcrel_adjust.
* testsuite/gas/s390/zarch-zEC12.d: Add bpp reloc test pattern.
* testsuite/gas/s390/zarch-zEC12.s: Add bpp reloc test.
commit d46a21655318492db1e6113972fb02ab49eae75f
Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Date: Fri Nov 4 16:32:08 2016 +0000
Commit missing ChangeLog entry for Cortex-M33 support
2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
include/
* opcode/arm.h (ARM_AEXT_V8M_MAIN_DSP): Define.
(ARM_AEXT2_V8M_MAIN_DSP): Likewise.
(ARM_ARCH_V8M_MAIN_DSP): Likewise.
commit b19ea8d28b1c06c2973738c1cda076f895ac3ad0
Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Date: Fri Nov 4 16:24:59 2016 +0000
Add support for ARM Cortex-M33 processor
2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
gas/
* config/tc-arm.c (cortex-m33): Declare new processor.
* doc/c-arm.texi (-mcpu ARM command line option): Document new
Cortex-M33 processor.
* NEWS: Mention ARM Cortex-M33 support.
commit ce1b0a458aed5fea182c8eb4a8cf1161d1c0a20f
Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Date: Fri Nov 4 16:24:08 2016 +0000
Add support for ARM Cortex-M23 processor
2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
gas/
* config/tc-arm.c (cortex-m23): Declare new processor.
* doc/c-arm.texi (-mcpu ARM command line option): Document new
Cortex-M23 processor.
* NEWS: Mention ARM Cortex-M23 support.
commit 13be4805fe268e9ac61e6a6b22d19b8e6e7738bb
Author: Palmer Dabbelt <palmer@dabbelt.com>
Date: Fri Nov 4 16:08:31 2016 +0000
Add maintainers for RISC-V target.
* MAINTAINERS: Add myself and Andrew Waterman as maintainers for
the RISC-V target.
commit 4f7eddc4d1a03c982a4f0361879bc5347b921b10
Author: Palmer Dabbelt <palmer@dabbelt.com>
Date: Fri Nov 4 14:18:06 2016 +0000
Update RISC-V documentation and make sure that it is included in the gas info file.
* Makefile.am (CPU_DOCS): Add c-riscv.texi.
* Makefile.in: Regenerate.
* doc/all.texi: Set RISCV.
* doc/as.texinfo: Add RISCV options.
Add RISC-V-Dependent node.
Include c-riscv.texi.
* doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
commit 88ba72a2dfae2e71e3b0798ac74c6853749fd502
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Nov 4 13:57:40 2016 +0000
Remove support for $PLATFORM in rpath search paths.
* emultempl/elf32.em (search_needed): Remove use of getauxval and
inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
warning message.
* configure.ac (AC_CHECK_FUNCS): Remove getauxval.
* configure: Regenerate.
* config.in: Regenerate.
commit 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Nov 4 13:50:01 2016 +0000
Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only.
* targets.c (bfd_target_vector): Only add riscv_elf32_vec target
when supporting 64-bit BFD targets.
commit 8f1732fc2a11dc2dbece0800d4ed6f011590d3ad
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Tue Sep 20 14:21:05 2016 +0100
ld: Allow EXCLUDE_FILE to be used outside of the section list
Currently the EXCLUDE_FILE linker script construct can only be used
within the input section list, and applied only to the section pattern
immediately following the EXCLUDE_FILE. For example:
*.o (EXCLUDE_FILE (a.o) .text .rodata)
In this case all sections matching '.text' are included from all files
matching '*.o' but not from the file 'a.o'. All sections matching
'.rodata' are also included from all files matching '*.o' (incluing from
'a.o').
If the user wants to restrict the inclusion of section '.rodata' so that
this too is not taken from the file 'a.o' then the above example must be
extended like this:
*.o (EXCLUDE_FILE (a.o) .text EXCLUDE_FILE (a.o) .rodata)
However, due to the internal grammar of the linker script language the
snippet 'EXCLUDE_FILE (a.o) .text' is parsed by a pattern called
'wildcard_spec'. The same 'wildcard_spec' pattern is also used to parse
the input file name snippet '*.o' in the above examples. As a result of
this pattern reuse within the linker script grammar then the following
is also a valid linker script construct:
EXCLUDE_FILE (a.o) *.o (.text .rodata)
However, though the linker accepts this without complaint the
EXCLUDE_FILE part is silently ignored and has no effect.
This commit takes this last example and makes it a useful, valid,
construct. The last example now means to include sections '.text' and
'.rodata' from all files matching '*.o' except for the file 'a.o'.
If the list of input sections is long, and the user knows that the file
exclusion applies across the list then the second form might be a
clearer alternative to replicating the EXCLUDE_FILE construct.
I've added a set of tests for EXCLUDE_FILE to the linker, including
tests for the new functionality.
ld/ChangeLog:
* ldlang.h (struct lang_wild_statement_struct): Add
exclude_name_list field.
* ldlang.c (walk_wild_file_in_exclude_list): New function.
(walk_wild_consider_section): Use new
walk_wild_file_in_exclude_list function.
(walk_wild_file): Add call to walk_wild_file_in_exclude_list.
(print_wild_statement): Print new exclude_name_list field.
(lang_add_wild): Initialise new exclude_name_list field.
* testsuite/ld-scripts/exclude-file-1.d: New file.
* testsuite/ld-scripts/exclude-file-1.map: New file.
* testsuite/ld-scripts/exclude-file-1.t: New file.
* testsuite/ld-scripts/exclude-file-2.d: New file.
* testsuite/ld-scripts/exclude-file-2.map: New file.
* testsuite/ld-scripts/exclude-file-2.t: New file.
* testsuite/ld-scripts/exclude-file-3.d: New file.
* testsuite/ld-scripts/exclude-file-3.map: New file.
* testsuite/ld-scripts/exclude-file-3.t: New file.
* testsuite/ld-scripts/exclude-file-4.d: New file.
* testsuite/ld-scripts/exclude-file-4.map: New file.
* testsuite/ld-scripts/exclude-file-4.t: New file.
* testsuite/ld-scripts/exclude-file-a.s: New file.
* testsuite/ld-scripts/exclude-file-b.s: New file.
* testsuite/ld-scripts/exclude-file.exp: New file.
* ld.texinfo (Input Section Basics): Update description of
EXCLUDE_FILE to cover the new features.
* NEWS: Mention new EXCLUDE_FILE usage.
commit 88bd15396002102beedf49c87adee7b16c2bb409
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Tue Sep 20 15:25:55 2016 +0100
ld: Create test object files based on source file name
When creating object files during testing, base the name of the object
file on the name of the source file, rather than using dump0.o,
dump1.o, etc. There's a few places where we have multiple source
files with the same name but in different directories, in these cases,
even after this change, we still add a numerical suffix to make the
object file names unique. So if we have 'foo/src.s' and 'bar/src.s',
we will create object files 'src.o' and 'src1.o'.
Update the few tests that hard code the object file name into the
expected test results.
ld/ChangeLog:
* testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
based on the original source file name.
* testsuite/ld-discard/extern.d: Update object file names.
* testsuite/ld-discard/start.d: Likewise.
* testsuite/ld-discard/static.d: Likewise.
* testsuite/ld-elf/orphan-8.map: Likewise.
commit b709ef7ca12d963678c6f73b10a20bea60cfb0df
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Sun Oct 30 08:11:30 2016 +0000
ld/xc16x: This target does not support -shared
Add the xc16x-elf target to the list of targets that do not support
the -shared option. Being missing from this list was causing the
linker to add '-z norelro' to the link line of many tests, which in
turn caused these tests to fail.
ld/ChangeLog:
* testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
xc16x-*-elf to the list of targets that don't support -shared.
commit 6b211b9cc3c61f514423869af51a17e4c2bc7531
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Tue Sep 20 11:18:12 2016 +0100
ld: Rename pattern within yacc grammar file
Rename file_NAME_list to section_NAME_list in the linker's grammar
file. This rename reflects how the pattern is now being used, and makes
the grammar easier to understand.
There should be no functional change after this commit.
ld/ChangeLog:
* ldgram.y: Rename file_NAME_list to section_NAME_list
throughout.
commit aed6eddb24be670fa619b844c651095bb65396d1
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Fri Nov 4 00:00:13 2016 +0000
Automatic date update in version.in
commit cdf5a07c75b47481da1e99ee91ee860c2a6bb5f6
Author: Manish Goregaokar <manish@mozilla.com>
Date: Sat Oct 29 05:55:58 2016 -0700
Add support for the sizeof function in Rust
2016-10-29 Manish Goregaokar <manish@mozilla.com>
gdb/ChangeLog:
* rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF`
gdb/testsuite/ChangeLog:
* gdb.rust/simple.exp: Add tests for `sizeof(expr)`
commit b96645f1a1e6084ed6a20ddf615bdc4d2487a9c9
Author: Manish Goregaokar <manish@mozilla.com>
Date: Fri Oct 28 18:00:43 2016 -0700
Add support for untagged unions in Rust
2016-10-28 Manish Goregaokar <manish@mozilla.com>
gdb/ChangeLog:
* rust-lang.c (rust_union_is_untagged): Add function to
check if a union is an untagged unioni
(rust_val_print): Handle printing of untagged union values
(rust_print_type): Handle printing of untagged union types
(rust_evaluate_subexp): Handle evaluating field
access on untagged unions
commit 51a789c3bf3d9b04d3d81493fda7f2514ae43add
Author: Manish Goregaokar <manish@mozilla.com>
Date: Thu Oct 27 16:46:34 2016 -0700
Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums
2016-10-27 Manish Goregaokar <manish@mozilla.com>
gdb/ChangeLog:
* rust-lang.c (rust_get_disr_info): Treat univariant enums
without discriminants as encoded enums with a real field
* rust-lang.c (rust_evaluate_subexp): Handle field access
on encoded struct-like enums
gdb/testsuite/ChangeLog:
* simple.rs: Add test for univariant enums without discriminants
and for encoded struct-like enums
* simple.exp: Add test expectations
commit 98d0e90ccafe18d0b6392fa891e4b3d77299ae95
Author: Graham Markall <graham.markall@embecosm.com>
Date: Wed Oct 26 17:53:21 2016 +0100
[ARC] Fix ldbit test on 32-bit systems
The long immediate operand chosen for one of the ldbit tests is
equivalent to a small negative value that would fit inside an s9
operand, leading to the assembler to choose an unexpected (but
legitimate) encoding of the instruction on 32-bit systems, and
therefore causing the test to fail. This commit fixes the test by
changing the offending limm value so that it can no longer be
interpreted as an s9 operand.
gas/ChangeLog:
* testsuite/gas/arc/nps400-6.s: Change ldbit tests so that
limm operands are out of the range of an s9, in order to fix
the test.
* testsuite/gas/arc/nps400-6.d: Updated to match new expected
output.
commit 5a736821eff3aa4a8da237778526f9f700759c7a
Author: Graham Markall <graham.markall@embecosm.com>
Date: Tue Oct 18 20:10:25 2016 +0100
arc: Implement NPS-400 dcmac instruction
gas/ChangeLog:
* testsuite/gas/arc/nps-400-9.d: Added.
* testsuite/gas/arc/nps-400-9.s: Added.
include/ChangeLog:
* opcode/arc.h: Add PROTOCOL_DECODE to insn_class_t.
opcodes/ChangeLog:
* arc-dis.c (arc_insn_length): Return length 8 for instructions with
major opcode 0xa.
* arc-nps-400-tbl.h: Add dcmac instruction.
* arc-opc.c (arc_operands): Added operands for dcmac instruction.
(insert_nps_rbdouble_64): Added.
(extract_nps_rbdouble_64): Added.
(insert_nps_proto_size): Added.
(extract_nps_proto_size): Added.
commit bdfe53e3cfebb392b1a0ef50fdd02faafec6dc63
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Wed Jul 6 19:39:55 2016 +0100
arc: Change max instruction length to 64-bits
The current handling for arc instructions longer than 32-bits is all
handled as a special case in both the assembler and disassembler.
The problem with this approach is that it leads to code duplication,
selecting a long instruction is exactly the same process as selecting a
short instruction, except over more bits, in both cases we select based
on bit comparison, and initial operand insertion and extraction.
This commit unifies both the long and short instruction worlds,
converting the core opcodes library from being largely 32-bit focused,
to being largely 64-bit focused.
The changes are, on the whole, not too much. There's obviously a lot of
type changes but otherwise the bulk of the code just works. Most of the
actual functional changes are to code that previously handled the longer
48 or 64 bit instructions. The insert/extract handlers for these have
now been brought into line with the short instruction insert/extract
handlers.
All of the special case handling code that was previously added has now
been removed again. Overall, this commit reduces the amount of code in
the arc assembler and disassembler.
gas/ChangeLog:
* config/tc-arc.c (struct arc_insn): Change type of insn field.
(md_number_to_chars_midend): Support 6- and 8-byte values.
(emit_insn0): Update debug output.
(find_opcode_match): Likewise.
(build_fake_opcode_hash_entry): Delete.
(find_special_case_long_opcode): Delete.
(find_special_case): Remove long format special case handling.
(insert_operand): Change instruction type and update debug print
format.
(assemble_insn): Change instruction type, update debug print
formats, and remove unneeded assert.
include/ChangeLog:
* opcode/arc.h (struct arc_opcode): Change type of opcode and mask
fields.
(struct arc_long_opcode): Delete.
(struct arc_operand): Change types for insert and extract
handlers.
opcodes/ChangeLog:
* arc-dis.c (struct arc_operand_iterator): Remove all fields
relating to long instruction processing, add new limm field.
(OPCODE): Rename to...
(OPCODE_32BIT_INSN): ...this.
(OPCODE_AC): Delete.
(skip_this_opcode): Handle different instruction lengths, update
macro name.
(special_flag_p): Update parameter type.
(find_format_from_table): Update for more instruction lengths.
(find_format_long_instructions): Delete.
(find_format): Update for more instruction lengths.
(arc_insn_length): Likewise.
(extract_operand_value): Update for more instruction lengths.
(operand_iterator_next): Remove code relating to long
instructions.
(arc_opcode_to_insn_type): New function.
(print_insn_arc):Update for more instructions lengths.
* arc-ext.c (extInstruction_t): Change argument type.
* arc-ext.h (extInstruction_t): Change argument type.
* arc-fxi.h: Change type unsigned to unsigned long long
extensively throughout.
* arc-nps400-tbl.h: Add long instructions taken from
arc_long_opcodes table in arc-opc.c.
* arc-opc.c: Update parameter types on insert/extract handlers.
(arc_long_opcodes): Delete.
(arc_num_long_opcodes): Delete.
(arc_opcode_len): Update for more instruction lengths.
commit 90f61cceac73fe40dcd21b3590c247bfa624ac00
Author: Graham Markall <graham.markall@embecosm.com>
Date: Thu Oct 13 09:34:16 2016 +0100
arc: Swap highbyte and lowbyte in print_insn_arc
highbyte and lowbyte actually refer to the low byte and the high
byte respectively, but are used consistently in this swapped
order. This commit swaps them round so that highbyte refers to the
high byte and lowbyte refers to the low byte.
There should be no functional change after this commit.
opcodes/ChangeLog:
* arc-dis.c (print_insn_arc): Swap highbyte and lowbyte.
commit 2e27220211249bfeb38b10e630b33fbd170fce6c
Author: Graham Markall <graham.markall@embecosm.com>
Date: Wed Jul 6 19:01:53 2016 +0100
opcodes/arc: Make some macros 64-bit safe
In preparation to moving to a world where arc instructions can be 2, 4,
6, or 8 bytes long, make some macros 64-bit safe.
There should be no functional change after this commit.
include/ChangeLog:
* opcode/arc.h: Make macros 64-bit safe.
commit 06fe285fd293e999481ec8f5c619658aa5e3b48b
Author: Graham Markall <graham.markall@embecosm.com>
Date: Thu Sep 29 19:25:25 2016 +0100
arc: Replace ARC_SHORT macro with arc_opcode_len function
In preparation for moving to a world where arc instructions can be 2, 4,
6, or 8 bytes in length, replace the ARC_SHORT macro (which is either
true of false) with an arc_opcode_len function that returns a length in
bytes.
There should be no functional change after this commit.
gas/ChangeLog:
* config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
arc_opcode_len.
include/ChangeLog:
* opcode/arc.h (arc_opcode_len): Declare.
(ARC_SHORT): Delete.
opcodes/ChangeLog:
* arc-dis.c (find_format_from_table): Replace use of ARC_SHORT
with arc_opcode_len.
(find_format_long_instructions): Likewise.
* arc-opc.c (arc_opcode_len): New function.
commit 91fdca6f26cf33573364b5bd313ed4bed6a547cc
Author: Graham Markall <graham.markall@embecosm.com>
Date: Wed Jul 6 15:04:37 2016 +0100
gas/arc: Replace short_insn flag with insn length field
When assembling an instruction replace the short_insn boolean flag with
an integer field for holding the instruction length. This is in
preparation for moving to a world where instructions can be 2, 4, 6, or
8 bytes in length.
gas/ChangeLog:
* config/tc-arc.c (struct arc_insn): Replace short_insn flag with
len field.
(apply_fixups): Update to use len field.
(emit_insn0): Simplify code, making use of len field.
(md_convert_frag): Update to use len field.
(assemble_insn): Update to use len field.
commit ecf64ec654afe916099f0fe482c2dae417913905
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Thu Sep 29 17:51:16 2016 +0100
arc/opcodes/nps400: Fix some instruction masks
A few masks were incorrect, there were opcode bits that lives outside of
the instruction mask, the effected instructions are decode1, zncv, and
efabgt.
Previously these instructions would assemble and disassemble correctly,
and a correctly encoded binary should behave no differently. The only
difference would be seen in a few incorrectly encoded binaries,
previously these would have decoded to the above instructions, while now
they will not.
opcodes/ChangeLog:
* arc-nps400-tbl.h: Fix some instruction masks.
commit 2fe9c2a0c9fe3ca2f0fa94ea7219a8a4a299ac6a
Author: Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
Date: Thu Oct 20 00:29:34 2016 +0530
New option falkor for Qualcomm server part
This adds an option for the Qualcomm falkor core, the corresponding
gcc patch is here:
https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00262.html
This was tested with aarch64 and armhf builds and make check and also
by building and running SPEC2006.
* config/tc-aarch64.c (aarch64_cpus): Add falkor.
* config/tc-arm.c (arm_cpus): Likewise.
* doc/c-aarch64.texi: Likewise.
* doc/c-arm.texi: Likewise.
commit d039fef395c1b5fd781acaf1c611f96f654f5f91
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Nov 3 09:55:01 2016 -0700
X86: Reuse opcode 0x80 decoder for opcode 0x82
Since opcode 0x82 is an alias of opcode 0x80, we can reuse opcode 0x80
decoder.
* i386-dis.c (REG_82): Removed.
(X86_64_82_REG_0): Likewise.
(X86_64_82_REG_1): Likewise.
(X86_64_82_REG_2): Likewise.
(X86_64_82_REG_3): Likewise.
(X86_64_82_REG_4): Likewise.
(X86_64_82_REG_5): Likewise.
(X86_64_82_REG_6): Likewise.
(X86_64_82_REG_7): Likewise.
(X86_64_82): New.
(dis386): Use X86_64_82 instead of REG_82.
(reg_table): Remove REG_82.
(x86_64_table): Add X86_64_82. Remove X86_64_82_REG_0,
X86_64_82_REG_1, X86_64_82_REG_2, X86_64_82_REG_3,
X86_64_82_REG_4, X86_64_82_REG_5, X86_64_82_REG_6 and
X86_64_82_REG_7.
commit 8b89fe14b522cd6e5d160ff17defa8ecec243b11
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Nov 3 09:13:01 2016 -0700
X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode
Update x86 disassembler to treat opcode 0x82 as an aliase of opcode 0x80
in 32-bit mode.
gas/
PR binutils/20754
* testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
* testsuite/gas/i386/opcode-intel.d: Updated.
* testsuite/gas/i386/opcode.d: Likewise.
opcodes/
PR binutils/20754
* i386-dis.c (REG_82): New.
(X86_64_82_REG_0): Likewise.
(X86_64_82_REG_1): Likewise.
(X86_64_82_REG_2): Likewise.
(X86_64_82_REG_3): Likewise.
(X86_64_82_REG_4): Likewise.
(X86_64_82_REG_5): Likewise.
(X86_64_82_REG_6): Likewise.
(X86_64_82_REG_7): Likewise.
(dis386): Use REG_82.
(reg_table): Add REG_82.
(x86_64_table): Add X86_64_82_REG_0, X86_64_82_REG_1,
X86_64_82_REG_2, X86_64_82_REG_3, X86_64_82_REG_4,
X86_64_82_REG_5, X86_64_82_REG_6 and X86_64_82_REG_7.
commit 722bcb33bf0383487c1af0e7d401e30301e94e2b
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 16:09:42 2016 +0000
Replace YY_NULL with YY_NULLPTR in LANG-exp.c
As we require c++11, GDB fails to build if bison is not new enough.
I see the following error on the system (fedora 19) that bison is
2.6.4,
g++ -std=gnu++11 .... \
-c -o ada-exp.o -MT ada-exp.o -MMD -MP -MF .deps/ada-exp.Tpo 'if test -f ada-exp.c; then echo ada-exp.c; else echo ../../binutils-gdb/gdb/ada-exp.c; fi`
In file included from ../../binutils-gdb/gdb/ada-exp.y:731:0:
ada-lex.c:113:0: error: "YY_NULL" redefined [-Werror]
#define YY_NULL 0
^
ada-exp.c:158:0: note: this is the location of the previous definition
# define YY_NULL nullptr
^
cc1plus: all warnings being treated as errors
make: *** [ada-exp.o] Error 1
Both ada-exp.c and ada-lex.c has macro YY_NULL, like this,
$ cat 1.c
# ifndef YY_NULL
# if defined __cplusplus && 201103L <= __cplusplus
# define YY_NULL nullptr
# else
# define YY_NULL 0
# endif
# endif
#define YY_NULL 0
as we can see, YY_NULL is defined differently (nullptr vs 0)
$ g++ -std=c++11 -Wall 1.c -c
1.c:9:0: warning: "YY_NULL" redefined
#define YY_NULL 0
^
1.c:3:0: note: this is the location of the previous definition
# define YY_NULL nullptr
^
$ g++ -Wall 1.c -c
bison renames YY_NULL to YY_NULLPTR in 2013 Nov,
https://lists.gnu.org/archive/html/bison-patches/2013-11/msg00002.html
and bison released later than 2013 Nov have this patch. Bison 3.0.2,
released on 2013 Dec, is OK.
The fix is to replace YY_NULL with YY_NULLPTR via sed. With old bison,
YY_NULL becomes YY_NULLPTR; with new bison, YY_NULLPTR becomes
YY_NULLPTRPTR,
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* Makefile.in (.y.c): Replace YY_NULL with YY_NULLPTR.
commit 034b77cf7875c4ea5aaf3d06dfea2e422abc47db
Author: Tristan Gingold <gingold@adacore.com>
Date: Tue Sep 27 15:06:51 2016 +0200
Deprecate old platforms
bfd/
* config.bfd: Deprecate many old triplets.
commit 7148c36989ee64f15ac9618543309cd7311b6015
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Nov 3 08:38:13 2016 -0700
X86: Rename REG_82 to REG_83
The REG_82 entry in x86 disassembler is for opcode 0x83, not opcode
0x82.
* i386-dis.c (REG_82): Renamed to ...
(REG_83): This.
(dis386): Updated.
(reg_table): Likewise.
commit 04180708eff91ddd3a9572bd4b517ccce5850db0
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:14 2016 +0000
Remove GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
Both of them are used in conversion. We can remove them since the
conversion is done.
There are many architectures only have one breakpoint instruction,
so their gdbarch methods breakpoint_kind_from_pc and
sw_breakpoint_from_kind look very similar. Instead of macro, we
use template "template <size_t, const gdb_byte *> struct bp_manipulation"
for these architectures. In order to use template, I also change
breakpoint instruction of type "static const gdb_byte[]" to
"constexpr gdb_byte[]", and rename them to ARCH_break_insn.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
Pedro Alves <palves@redhat.com>
* aarch64-tdep.c (aarch64_default_breakpoint): Change it to
constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(aarch64_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* alpha-tdep.c (break_insn): Rename to alpha_break_insn.
Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(alpha_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* arc-tdep.c (arc_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): Remove.
(struct bp_manipulation): New.
(SET_GDBARCH_BREAKPOINT_MANIPULATION): Remove.
(struct bp_manipulation_endian): New.
(BP_MANIPULATION): New.
(BP_MANIPULATION_ENDIAN): New.
* arm-tdep.c (arm_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* avr-tdep.c (avr_break_insn): Change it constexpr.
(avr_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* bfin-tdep.c (bfin_gdbarch_init): Likewise.
* cris-tdep.c (cris_gdbarch_init): Likewise.
* frv-tdep.c (breakpoint): Rename it to frv_break_insn, and
change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(frv_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* ft32-tdep.c (breakpoint): Rename it to ft32_break_insn and
change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(ft32_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* h8300-tdep.c (breakpoint): Rename it to h8300_break_insn.
Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(h8300_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* hppa-tdep.c (breakpoint): Rename it to h8300_break_insn.
Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(hppa_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* i386-tdep.c (break_insn): Rename it to i386_break_insn.
Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(i386_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* iq2000-tdep.c (iq2000_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* lm32-tdep.c (breakpoint): Rename it to lm32_break_insn and
change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(lm32_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* m32c-tdep.c (break_insn): Rename it to m32c_break_insn and change
its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(m32c_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* m32r-tdep.c (m32r_gdbarch_init): Likewise.
* m68hc11-tdep.c (breakpoint): Rename it to m68hc11_break_insn and
change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(m68hc11_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION.
* m68k-tdep.c (break_insn): Rename it to m68k_break_insn and change
its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(m68k_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* m88k-tdep.c (break_insn): Rename it to m88k_break_insn and change
its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(m88k_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* mep-tdep.c (breakpoint): Rename it to mep_break_insn and change
its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(mep_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* microblaze-tdep.c (break_insn): Rename it to
microblaze_break_insn and change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(microblaze_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* mips-tdep.c (mips_gdbarch_init): Likewise.
* mn10300-tdep.c (breakpoint): Rename it to mn10300_break_insn and
change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(mn10300_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* moxie-tdep.c (breakpoint): Rename it to moxie_break_insn and
change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(moxie_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* msp430-tdep.c (breakpoint): Rename it to msp430_break_insn
and change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(msp430_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* mt-tdep.c (mt_gdbarch_init): Likewise.
* nds32-tdep.c (break_insn): Rename it to nds32_break_insn
and change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(nds32_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* nios2-tdep.c (nios2_gdbarch_init): Likewise.
* rl78-tdep.c (breakpoint): Rename it to rl78_break_ins
and change its type to rl78_break_insn. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(rl78_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* rs6000-tdep.c (big_breakpoint): Change its type to
constexpr.
(little_breakpoint): Likewise.
Don't use GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN.
(rs6000_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* rx-tdep.c (breakpoint): Rename it to rx_break_insn and
change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(rx_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* s390-linux-tdep.c (breakpoint): Rename it to s390_break_insn
and change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION
(s390_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* score-tdep.c (score_gdbarch_init): Likewise.
* sh-tdep.c (sh_gdbarch_init): Likewise.
* sh64-tdep.c (sh64_gdbarch_init): Likewise.
* sparc-tdep.c (break_insn): Rename it to sparc_break_insn
and change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(sparc32_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* spu-tdep.c (breakpoint): Rename it to spu_break_insn and change
its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(spu_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* tic6x-tdep.c (tic6x_gdbarch_init): Likewise.
* tilegx-tdep.c (breakpoint): Rename it to tilegx_break_insn
and change its type to constexpr. Don't use
GDBARCH_BREAKPOINT_MANIPULATION.
(tilegx_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* v850-tdep.c (v850_gdbarch_init): Likewise.
* vax-tdep.c (break_insn): Rename it to vax_break_insn and
change its type to constexpr.
Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(vax_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* xstormy16-tdep.c (breakpoint): Rename it to
xstormy16_break_insn and change its type to constexpr.
Don't use GDBARCH_BREAKPOINT_MANIPULATION.
(xstormy16_gdbarch_init): Don't use
SET_GDBARCH_BREAKPOINT_MANIPULATION.
* xtensa-tdep.c (xtensa_gdbarch_init): Likewise.
commit a97c97e8d7c818886f0f7beb3fd5dee0042b4a07
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:14 2016 +0000
Remove arm_override_mode
GDB can determine the kind of single step breakpoint by gdbarch
breakpoint_kind_from_current_state, so global variable
arm_override_mode is no longer needed. This patch removes it.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (arm_override_mode): Remove.
(arm_pc_is_thumb): Update.
(arm_insert_single_step_breakpoint): Update.
commit 833b7ab5008b769dca6db6d5ee1d21d33e730132
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:14 2016 +0000
Determine the kind of single step breakpoint
This patch adds a new gdbarch method breakpoint_kind_from_current_state
for single step breakpoint, and uses it in breakpoint_kind.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* arch-utils.c (default_breakpoint_kind_from_current_state):
New function.
* arch-utils.h (default_breakpoint_kind_from_current_state):
Declare.
* arm-tdep.c (arm_breakpoint_kind_from_current_state): New
function.
(arm_gdbarch_init): Call
set_gdbarch_breakpoint_kind_from_current_state.
* breakpoint.c (breakpoint_kind): Call
gdbarch_breakpoint_kind_from_current_state for single step
breakpoint. Update comments.
* gdbarch.sh (breakpoint_kind_from_current_state): New.
* gdbarch.c, gdbarch.h: Regenerate.
commit 22f13eb869197fc45a0da2a8a96b03d39809862e
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:14 2016 +0000
Add default_breakpoint_from_pc
This patch adds the default implementation of gdbarch breakpoint_from_pc,
which is,
const gdb_byte *
default_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr,
int *lenptr)
{
int kind = gdbarch_breakpoint_kind_from_pc (gdbarch, pcptr);
return gdbarch_sw_breakpoint_from_kind (gdbarch, kind, lenptr);
}
so gdbarch can only defines sw_breakpoint_from_kind and
breakpoint_kind_from_pc.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* arch-utils.c (default_breakpoint_from_pc): New function.
* arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): Remove.
(GDBARCH_BREAKPOINT_MANIPULATION): Don't use
GDBARCH_BREAKPOINT_FROM_PC.
(SET_GDBARCH_BREAKPOINT_MANIPULATION): Don't call
set_gdbarch_breakpoint_from_pc.
(default_breakpoint_from_pc): Remove declaration.
* gdbarch.sh (breakpoint_from_pc): Add its default implementation.
* gdbarch.c, gdbarch.h: Regenerate.
* arm-tdep.c: Don't use GDBARCH_BREAKPOINT_FROM_PC.
* arc-tdep.c, bfin-tdep.c, cris-tdep.c, iq2000-tdep.c: Likewise.
* m32r-tdep.c, mips-tdep.c, mt-tdep.c: Likewise.
* nios2-tdep.c, score-tdep.c, sh-tdep.c: Likewise.
* sh64-tdep.c, tic6x-tdep.c, v850-tdep.c, xtensa-tdep.c: Likewise.
commit c0f4a997c26760d2584946196ee5c411d1a632a6
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:14 2016 +0000
Remove gdbarch_remote_breakpoint_from_pc
This patch removes gdbarch method remote_breakpoint_from_pc, as it
is no longer used.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* arch-utils.c (default_remote_breakpoint_from_pc): Remove.
* arch-utils.h (default_remote_breakpoint_from_pc): Remove.
* arm-tdep.c (arm_remote_breakpoint_from_pc): Remove.
(arm_gdbarch_init): Don't call
set_gdbarch_remote_breakpoint_from_pc.
* gdbarch.sh (remote_breakpoint_from_pc): Remove.
* gdbarch.c, gdbarch.h: Regenerate.
* mips-tdep.c (mips_remote_breakpoint_from_pc): Remove.
(mips_gdbarch_init): Don't call
set_gdbarch_remote_breakpoint_from_pc.
commit 579c6ad9830058ccebf9c592d692c25fac6285c7
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:13 2016 +0000
Rename placed_size to kind
This patch renames placed_size to kind.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* breakpoint.h (struct bp_target_info) <placed_size>: Remove.
<kind>: New field.
Update all users.
commit cd6c3b4ffc4ea6f56f12581419e2eed885441beb
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:13 2016 +0000
New gdbarch methods breakpoint_kind_from_pc and sw_breakpoint_from_kind
This patch adds two gdbarch methods breakpoint_kind_from_pc and
sw_breakpoint_from_kind, and uses target_info.placed_size as "kind"
of the breakpoint. This patch updates the usages of
target_info.placed_size.
The "kind" of a breakpoint is determined by gdbarch rather than
target, so we have gdbarch method breakpoint_kind_from_pc, and we
should set target_info.placed_size out of each implementation of
target to_insert_breakpoint. In this way, each target doesn't have
to set target_info.placed_size any more.
This patch also sets target_info.placed_address before
target_insert_breakpoint too, so that target to_insert_breakpoint
can use it, see record_full_insert_breakpoint.
Before we call target_insert_breakpoint, we set
target_info.placed_address and target_info.placed_size like this,
CORE_ADDR addr = bl->target_info.reqstd_address;
bl->target_info.placed_size = gdbarch_breakpoint_kind_from_pc (bl->gdbarch, &addr);
bl->target_info.placed_address = addr;
return target_insert_breakpoint (bl->gdbarch, &bl->target_info);
target_insert_breakpoint may fail, but it doesn't matter to the "kind"
and "placed_address" of a breakpoint. They should be determined by
gdbarch.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): Define
breakpoint_kind_from_pc and sw_breakpoint_from_kind.
(GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): Likewise.
(SET_GDBARCH_BREAKPOINT_MANIPULATION): Call
set_gdbarch_breakpoint_kind_from_pc and
set_gdbarch_sw_breakpoint_from_kind.
* arm-tdep.c: Add comments.
* bfin-tdep.c: Likewise.
* breakpoint.c (breakpoint_kind): New function.
(insert_bp_location): Set target_info.placed_size and
target_info.placed_address.
(bkpt_insert_location): Likewise.
* cris-tdep.c: Add comments.
* gdbarch.sh (breakpoint_kind_from_pc): New.
(sw_breakpoint_from_kind): New.
* gdbarch.c, gdbarch.h: Regenerated.
* ia64-tdep.c (ia64_memory_insert_breakpoint): Don't set
bp_tgt->placed_size.
(ia64_memory_remove_breakpoint): Don't assert
bp_tgt->placed_size.
(ia64_breakpoint_kind_from_pc): New function.
(ia64_gdbarch_init): Install ia64_breakpoint_kind_from_pc.
* m32r-tdep.c (m32r_memory_insert_breakpoint): Don't set
bp_tgt->placed_size.
* mem-break.c (default_memory_insert_breakpoint): Don't set
bp_tgt->placed_size. Call gdbarch_sw_breakpoint_from_kind.
(default_memory_remove_breakpoint): Call
gdbarch_sw_breakpoint_from_kind.
(memory_validate_breakpoint): Don't check bp_tgt->placed_size.
* mips-tdep.c: Add comments.
* mt-tdep.c: Likewise.
* nios2-tdep.c: Likewise.
* record-full.c (record_full_insert_breakpoint): Don't call
gdbarch_breakpoint_from_pc. Don't set bp_tgt->placed_address
and bp_tgt->placed_size.
* remote.c (remote_insert_breakpoint): Don't call
gdbarch_remote_breakpoint_from_pc. Use bp_tgt->placed_size.
Don't set bp_tgt->placed_address and bp_tgt->placed_size.
(remote_insert_hw_breakpoint): Likewise.
* score-tdep.c: Likewise.
* sh-tdep.c: Likewise.
* tic6x-tdep.c: Likewise.
* v850-tdep.c: Likewise.
* xtensa-tdep.c: Likewise.
commit d19280adb5b2d1470dc39756ccac8a8fa2af8321
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:13 2016 +0000
Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
We convert each ARCH_breakpoint_from_pc to ARCH_breakpoint_kind_from_pc
and ARCH_sw_breakpoint_from_kind. Note that gdbarch doesn't have methods
breakpoint_kind_from_pc and sw_breakpoint_from_kind so far.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): New macro.
(GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): New macro.
* arm-tdep.c (arm_breakpoint_from_pc): Remove.
(arm_breakpoint_kind_from_pc): New function.
(arm_sw_breakpoint_from_kind): New function.
(arm_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc
and arm_sw_breakpoint_from_kind.
Use GDBARCH_BREAKPOINT_FROM_PC.
(arm_remote_breakpoint_from_pc): Call
arm_breakpoint_kind_from_pc.
(arm_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc
with SET_GDBARCH_BREAKPOINT_MANIPULATION.
* arc-tdep.c: Likewise.
* bfin-tdep.c: Likewise.
* cris-tdep.c: Likewise.
* iq2000-tdep.c: Likewise.
* m32r-tdep.c: Likewise.
* mips-tdep.c: Likewise.
* mt-tdep.c: Likewise.
* nios2-tdep.c: Likewise.
* rs6000-tdep.c: Likewise.
* score-tdep.c: Likewise.
* sh-tdep.c: Likewise.
* sh64-tdep.c: Likewise.
* tic6x-tdep.c: Likewise.
* v850-tdep.c: Likewise.
* xtensa-tdep.c: Likewise.
commit 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:13 2016 +0000
Add enum for mips breakpoint kinds
This patch adds an enum mips_breakpoint_kind to avoid using magic
numbers as much as possible.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* mips-tdep.c (mips_breakpoint_kind): New enum.
(mips_breakpoint_from_pc): Use it.
(mips_remote_breakpoint_from_pc): Likewise.
commit 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:13 2016 +0000
GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
Many archs have only one kind of breakpoint, so their breakpoint_from_pc
implementations are quite similar. This patch uses macro
GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
for breakpoint_from_pc, so that we can easily switch from
breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
later.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): New macro.
(SET_GDBARCH_BREAKPOINT_MANIPULATION): New macro.
aarch64-tdep.c (aarch64_breakpoint_from_pc): Remove. Use
GDBARCH_BREAKPOINT_MANIPULATION.
(aarch64_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc
with SET_GDBARCH_BREAKPOINT_MANIPULATION.
* alpha-tdep.c: Likewise.
* avr-tdep.c: Likewise.
* frv-tdep.c: Likewise.
* ft32-tdep.c: Likewise.
* h8300-tdep.c: Likewise.
* hppa-tdep.c: Likewise.
* i386-tdep.c: Likewise.
* lm32-tdep.c: Likewise.
* m32c-tdep.c: Likewise.
* m68hc11-tdep.c: Likewise.
* m68k-tdep.c: Likewise.
* m88k-tdep.c: Likewise.
* mep-tdep.c: Likewise.
* microblaze-tdep.c: Likewise.
* mn10300-tdep.c: Likewise.
* moxie-tdep.c: Likewise.
* msp430-tdep.c: Likewise.
* rl78-tdep.c: Likewise.
* rx-tdep.c: Likewise.
* s390-linux-tdep.c: Likewise.
* sparc-tdep.c: Likewise.
* spu-tdep.c: Likewise.
* tilegx-tdep.c: Likewise.
* vax-tdep.c: Likewise.
* xstormy16-tdep.c: Likewise.
commit 8b55a7e4e5b30877e924e4b0ed0437d16ccdcedf
Author: Yao Qi <yao.qi@linaro.org>
Date: Thu Nov 3 14:35:13 2016 +0000
gdbarch_breakpoint_from_pc doesn't return NULL
gdbarch_breakpoint_from_pc doesn't return NULL except for
ia64_breakpoint_from_pc, and we checked its return value in three
places. In microblaze_linux_memory_remove_breakpoint and
ppc_linux_memory_remove_breakpoint, gdbarch_breakpoint_from_pc never
returns NULL, so we can remove the NULL checking. In
default_memory_insert_breakpoint, gdbarch_breakpoint_from_pc can't
returns NULL too because ia64 defines its own memory_insert_breakpoint.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* mem-break.c (default_memory_insert_breakpoint): Don't check
'bp' against NULL.
* microblaze-linux-tdep.c (microblaze_linux_memory_remove_breakpoint):
Likewise.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
commit bada43421274615d0d5f629a61a60b7daa71bc15
Author: Jiong Wang <jiong.wang@arm.com>
Date: Thu Nov 3 12:00:53 2016 +0000
[ARM] Allow MOV/MOV.W to accept all possible immediates
gas/
* config/tc-arm.c (SBIT_SHIFT): New.
(T2_SBIT_SHIFT): Likewise.
(t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
(md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
encoding failed.
* testsuite/gas/arm/archv6t2-bad.s: New error case.
* testsuite/gas/arm/archv6t2-bad.l: New error match.
* testsuite/gas/arm/archv6t2.s: New testcase.
* testsuite/gas/arm/archv6t2.d: New expected result.
* testsuite/gas/arm/archv8m.s: New testcase.
* testsuite/gas/arm/archv8m-base.d: New expected result.
* testsuite/gas/arm/archv8m-main.d: Likewise.
* testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
commit 225b362d1036121a611f3dd17fdb6780070ba51f
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Nov 3 11:31:53 2016 +0000
Updated Danish translation for the BFD library.
commit c8c064b0dc4ef58b47151e1dfb207262a24ff2d1
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Thu Nov 3 00:00:21 2016 +0000
Automatic date update in version.in
commit 7d5697f9e27f79e1decc1215f33088cee9f7d863
Author: Tom Tromey <tom@tromey.com>
Date: Sun Oct 30 20:45:08 2016 -0600
Fix dwarf_expr_context method regressions
This fixes some regressions found in the patch to convert
dwarf_expr_context to use methods. Specifically:
* get_base_type could erroneously throw; this was rewritten to move
the size checks into the only spot needing them.
* Previously the "symbol needs frame" implementation reused th
"cfa" function for the get_frame_pc slot; this reimplements
it under the correct name.
* Not enough members were saved and restored in one implementation
of push_dwarf_reg_entry_value; this patch fixes this oversight
and also takes the opportunity to remove an extraneous structure
definition.
2016-11-02 Tom Tromey <tom@tromey.com>
* dwarf2loc.c (dwarf_evaluate_loc_desc::get_base_type): Rename
from impl_get_base_type. Rewrite.
(struct dwarf_expr_baton): Remove.
(dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value): Save and
restore more fields.
(symbol_needs_eval_context::get_frame_pc): New method.
* dwarf2expr.h (dwarf_expr_context::get_base_type): Now public,
virtual.
(dwarf_expr_context::impl_get_base_type): Remove.
* dwarf2expr.c (dwarf_expr_context::get_base_type): Remove.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 13 +
bfd/config.bfd | 67 +++
bfd/po/da.po | 272 +---------
bfd/targets.c | 2 +-
bfd/version.h | 2 +-
binutils/ChangeLog | 15 +
binutils/MAINTAINERS | 2 +
binutils/dwarf-mode.el | 3 +-
binutils/objcopy.c | 3 +
gas/ChangeLog | 112 ++++
gas/NEWS | 2 +
gas/config/tc-aarch64.c | 3 +
gas/config/tc-arc.c | 237 +++------
gas/config/tc-arm.c | 92 +++-
gas/config/tc-s390.c | 24 +-
gas/doc/Makefile.am | 1 +
gas/doc/Makefile.in | 1 +
gas/doc/all.texi | 1 +
gas/doc/as.texinfo | 14 +
gas/doc/c-aarch64.texi | 1 +
gas/doc/c-arm.texi | 3 +
gas/doc/c-riscv.texi | 8 +-
gas/input-scrub.c | 91 ++--
gas/testsuite/gas/arc/nps400-10.d | 24 +
gas/testsuite/gas/arc/nps400-10.s | 22 +
gas/testsuite/gas/arc/nps400-6.d | 12 +-
gas/testsuite/gas/arc/nps400-6.s | 2 +-
gas/testsuite/gas/arc/nps400-9.d | 44 ++
gas/testsuite/gas/arc/nps400-9.s | 51 ++
gas/testsuite/gas/arm/archv6t2-bad.l | 1 +
gas/testsuite/gas/arm/archv6t2-bad.s | 5 +-
gas/testsuite/gas/arm/archv6t2.d | 1 +
gas/testsuite/gas/arm/archv6t2.s | 3 +
gas/testsuite/gas/arm/archv8m-base.d | 2 +
gas/testsuite/gas/arm/archv8m-main-dsp-1.d | 2 +
gas/testsuite/gas/arm/archv8m-main.d | 2 +
gas/testsuite/gas/arm/archv8m.s | 8 +
gas/testsuite/gas/i386/opcode-intel.d | 8 +
gas/testsuite/gas/i386/opcode.d | 8 +
gas/testsuite/gas/i386/opcode.s | 9 +
gas/testsuite/gas/s390/zarch-zEC12.d | 13 +-
gas/testsuite/gas/s390/zarch-zEC12.s | 3 +
gdb/ChangeLog | 388 +++++++++++++
gdb/Makefile.in | 1 +
gdb/aarch64-tdep.c | 17 +-
gdb/alpha-tdep.c | 15 +-
gdb/arc-tdep.c | 33 +-
gdb/arch-utils.c | 18 +-
gdb/arch-utils.h | 55 ++-
gdb/arm-tdep.c | 123 +++--
gdb/avr-tdep.c | 14 +-
gdb/bfin-tdep.c | 33 +-
gdb/breakpoint.c | 30 +
gdb/breakpoint.h | 10 +-
gdb/cris-tdep.c | 25 +-
gdb/dwarf2expr.c | 16 -
gdb/dwarf2expr.h | 8 +-
gdb/dwarf2loc.c | 32 +-
gdb/frv-tdep.c | 13 +-
gdb/ft32-tdep.c | 14 +-
gdb/gdbarch.c | 76 ++-
gdb/gdbarch.h | 26 +-
gdb/gdbarch.sh | 20 +-
gdb/h8300-tdep.c | 17 +-
gdb/hppa-tdep.c | 13 +-
gdb/i386-tdep.c | 14 +-
gdb/ia64-tdep.c | 15 +-
gdb/iq2000-tdep.c | 24 +-
gdb/lm32-tdep.c | 13 +-
gdb/m32c-tdep.c | 14 +-
gdb/m32r-tdep.c | 52 +-
gdb/m68hc11-tdep.c | 16 +-
gdb/m68k-tdep.c | 14 +-
gdb/m88k-tdep.c | 16 +-
gdb/maint.c | 2 +-
gdb/mem-break.c | 15 +-
gdb/mep-tdep.c | 13 +-
gdb/microblaze-linux-tdep.c | 2 -
gdb/microblaze-tdep.c | 16 +-
gdb/mips-tdep.c | 185 +++----
gdb/mn10300-tdep.c | 15 +-
gdb/moxie-tdep.c | 17 +-
gdb/msp430-tdep.c | 17 +-
gdb/mt-tdep.c | 28 +-
gdb/nds32-tdep.c | 25 +-
gdb/nios2-tdep.c | 99 ++--
gdb/ppc-linux-tdep.c | 2 -
gdb/ppcnbsd-tdep.c | 2 +-
gdb/ppcobsd-tdep.c | 2 +-
gdb/record-full.c | 10 -
gdb/remote.c | 20 +-
gdb/rl78-tdep.c | 23 +-
gdb/rs6000-tdep.c | 23 +-
gdb/rust-exp.y | 8 +-
gdb/rust-lang.c | 327 +++++++----
gdb/rx-tdep.c | 14 +-
gdb/s390-linux-tdep.c | 15 +-
gdb/score-tdep.c | 125 +++--
gdb/sh-tdep.c | 39 +-
gdb/sh64-tdep.c | 70 ++--
gdb/sparc-tdep.c | 15 +-
gdb/spu-tdep.c | 14 +-
gdb/testsuite/ChangeLog | 9 +
gdb/testsuite/gdb.rust/simple.exp | 16 +-
gdb/testsuite/gdb.rust/simple.rs | 30 +
gdb/tic6x-tdep.c | 20 +-
gdb/tilegx-tdep.c | 21 +-
gdb/ui-out.c | 2 +-
gdb/utils.c | 4 +-
gdb/v850-tdep.c | 22 +-
gdb/vax-tdep.c | 14 +-
gdb/windows-nat.c | 2 +-
gdb/xstormy16-tdep.c | 16 +-
gdb/xtensa-tdep.c | 60 ++-
include/ChangeLog | 27 +
include/opcode/arc.h | 97 ++--
include/opcode/arm.h | 4 +
ld/ChangeLog | 57 ++
ld/NEWS | 4 +
ld/config.in | 3 -
ld/configure | 2 +-
ld/configure.ac | 2 +-
ld/emultempl/elf32.em | 37 +-
ld/ld.texinfo | 28 +-
ld/ldgram.y | 14 +-
ld/ldlang.c | 59 ++-
ld/ldlang.h | 1 +
ld/testsuite/ld-discard/extern.d | 2 +-
ld/testsuite/ld-discard/start.d | 2 +-
ld/testsuite/ld-discard/static.d | 2 +-
ld/testsuite/ld-elf/orphan-8.map | 4 +-
ld/testsuite/ld-scripts/exclude-file-1.d | 5 +
ld/testsuite/ld-scripts/exclude-file-1.map | 8 +
ld/testsuite/ld-scripts/exclude-file-1.t | 10 +
ld/testsuite/ld-scripts/exclude-file-2.d | 5 +
ld/testsuite/ld-scripts/exclude-file-2.map | 7 +
ld/testsuite/ld-scripts/exclude-file-2.t | 10 +
ld/testsuite/ld-scripts/exclude-file-3.d | 5 +
ld/testsuite/ld-scripts/exclude-file-3.map | 7 +
ld/testsuite/ld-scripts/exclude-file-3.t | 10 +
ld/testsuite/ld-scripts/exclude-file-4.d | 5 +
ld/testsuite/ld-scripts/exclude-file-4.map | 7 +
ld/testsuite/ld-scripts/exclude-file-4.t | 10 +
ld/testsuite/ld-scripts/exclude-file-a.s | 5 +
ld/testsuite/ld-scripts/exclude-file-b.s | 5 +
ld/testsuite/ld-scripts/exclude-file.exp | 32 ++
ld/testsuite/lib/ld-lib.exp | 23 +-
opcodes/ChangeLog | 106 ++++
opcodes/arc-dis.c | 481 +++++++----------
opcodes/arc-ext.c | 2 +-
opcodes/arc-ext.h | 2 +-
opcodes/arc-fxi.h | 366 ++++++------
opcodes/arc-nps400-tbl.h | 113 ++++-
opcodes/arc-opc.c | 837 ++++++++++++----------------
opcodes/i386-dis.c | 15 +-
155 files changed, 3600 insertions(+), 2544 deletions(-)
create mode 100644 gas/testsuite/gas/arc/nps400-10.d
create mode 100644 gas/testsuite/gas/arc/nps400-10.s
create mode 100644 gas/testsuite/gas/arc/nps400-9.d
create mode 100644 gas/testsuite/gas/arc/nps400-9.s
create mode 100644 ld/testsuite/ld-scripts/exclude-file-1.d
create mode 100644 ld/testsuite/ld-scripts/exclude-file-1.map
create mode 100644 ld/testsuite/ld-scripts/exclude-file-1.t
create mode 100644 ld/testsuite/ld-scripts/exclude-file-2.d
create mode 100644 ld/testsuite/ld-scripts/exclude-file-2.map
create mode 100644 ld/testsuite/ld-scripts/exclude-file-2.t
create mode 100644 ld/testsuite/ld-scripts/exclude-file-3.d
create mode 100644 ld/testsuite/ld-scripts/exclude-file-3.map
create mode 100644 ld/testsuite/ld-scripts/exclude-file-3.t
create mode 100644 ld/testsuite/ld-scripts/exclude-file-4.d
create mode 100644 ld/testsuite/ld-scripts/exclude-file-4.map
create mode 100644 ld/testsuite/ld-scripts/exclude-file-4.t
create mode 100644 ld/testsuite/ld-scripts/exclude-file-a.s
create mode 100644 ld/testsuite/ld-scripts/exclude-file-b.s
create mode 100644 ld/testsuite/ld-scripts/exclude-file.exp
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 49d490d..810dd05 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,16 @@
+2016-11-04 Nick Clifton <nickc@redhat.com>
+
+ * targets.c (bfd_target_vector): Only add riscv_elf32_vec target
+ when supporting 64-bit BFD targets.
+
+2016-11-03 Tristan Gingold <gingold@adacore.com>
+
+ * config.bfd: Deprecate many old triplets.
+
+2016-11-03 Nick Clifton <nickc@redhat.com>
+
+ * po/da.po: Updated Danish translation.
+
2016-11-01 Maciej W. Rozycki <macro@imgtec.com>
* reloc.c (bfd_default_reloc_type_lookup) <BFD_RELOC_CTOR>: Do
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 98663fd..b692f0a 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -53,6 +53,73 @@ case $targ in
echo "*** Use or1k-*-elf or or1k-*-linux as the target instead" >&2
exit 1
;;
+ i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu | \
+ mips*-*-irix5* | mips*-*-irix6*)
+ # Not obsolete
+ ;;
+ *-*-netware* | \
+ arm-epoc-pe* | \
+ arm*-*-aout | \
+ arm*-*-coff | \
+ h8300*-*-coff | \
+ h8500*-*-coff | \
+ i[3-7]86-*-sco3.2v5*coff | \
+ i[3-7]86-*-sysv4* | i[3-7]86-*-unixware* | \
+ i[3-7]86-*-sco3.2v5* | \
+ i[3-7]86-*-dgux* | i[3-7]86-*-sysv5* | \
+ i[3-7]86-*-chorus* | \
+ i[3-7]86-*-sysv* | i[3-7]86-*-isc* | i[3-7]86-*-sco* | i[3-7]86-*-coff | \
+ i[3-7]86-*-aix* | \
+ i[3-7]86-sequent-bsd* | \
+ i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | \
+ i[3-7]86-*-freebsd[12] | \
+ i[3-7]86-*-netbsdaout* | i[3-7]86-*-netbsd* | \
+ i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3] | \
+ i[3-7]86-*-netware* | \
+ i[3-7]86-*-linux*aout* | \
+ i[3-7]86-*-mach* | i[3-7]86-*-osf1mk* | \
+ i[3-7]86-*-os9k | \
+ i[3-7]86-none-* | \
+ i[3-7]86-*-aout* | i[3-7]86*-*-vsta* | \
+ i860-*-* | \
+ i960-*-* | \
+ m68*-motorola-sysv* | m68*-hp-bsd* | m68*-*-aout* | \
+ m68*-*-coff* | m68*-*-sysv* | \
+ m68*-*-hpux* | \
+ m68*-*-linux*aout* | \
+ m68*-hp*-netbsd* | \
+ m68*-*-netbsdaout* | \
+ m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \
+ m68*-*-bsd* | m68*-*-vsta* | \
+ m68*-ericsson-* | \
+ m68*-*-psos* | \
+ m88*-*-* | \
+ mips*-big-* | \
+ mips*-dec-* | mips*el-*-ecoff* | \
+ mips*-*-ecoff* | \
+ mips*-sgi-* | mips*-*-bsd* | \
+ mips*-*-lnews* | \
+ mips*-*-sysv* | mips*-*-riscos* | \
+ ns32k-*-* | \
+ sh*-*-symbianelf* | \
+ sh-*-rtemscoff* | \
+ sparclet-*-aout* | \
+ sparc86x-*-aout* | \
+ sparc*-*-chorus* | \
+ sparc-*-linux*aout* | \
+ sparc-*-netbsdaout* | \
+ sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1] | \
+ sparc-*-netware* | \
+ sparc64-*-aout* | \
+ sparc*-*-coff* | \
+ tahoe-*-* | \
+ vax-*-bsd* | vax-*-ultrix* | \
+ we32k-*-* | \
+ w65-*-* | \
+ *-*-ieee* | \
+ *-adobe-* | \
+ *-sony-* | \
+ *-tandem-* | \
i370-* | \
sh5*-*-* | sh64*-*-* | \
null)
diff --git a/bfd/po/da.po b/bfd/po/da.po
index e47c8d1..add4ce4 100644
--- a/bfd/po/da.po
+++ b/bfd/po/da.po
@@ -25,7 +25,7 @@ msgstr ""
"Project-Id-Version: bfd-2.24.90\n"
"Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
"POT-Creation-Date: 2014-02-10 09:42+1030\n"
-"PO-Revision-Date: 2016-10-15 18:25+0200\n"
+"PO-Revision-Date: 2016-10-27 23:31+0200\n"
"Last-Translator: Ask Hjorth Larsen <asklarsen@gmail.com>\n"
"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
"Language: da\n"
@@ -3906,7 +3906,7 @@ msgstr "bfd_mach_o_read_symtab_symbol: navn uden for gyldigt interval (%lu >= %l
#: mach-o.c:2997
#, c-format
msgid "bfd_mach_o_read_symtab_symbol: symbol \"%s\" specified invalid section %d (max %lu): setting to undefined"
-msgstr "bfd_mach_o_read_symtab_symbol: symbolet \"%s\" angiv ugyldigt afsnit %d (maks %lu): sætter til udefineret"
+msgstr "bfd_mach_o_read_symtab_symbol: symbolet \"%s\" angav ugyldigt afsnit %d (maks %lu): sætter til udefineret"
#: mach-o.c:3013
#, c-format
@@ -6508,18 +6508,18 @@ msgid ""
" vma:\t\tBegin End EH EH PrologEnd Exception\n"
" \t\tAddress Address Handler Data Address Mask\n"
msgstr ""
-" vma:\t\tStart- Slut- EH- EH- Prologsluts- Undtagelses-\n"
-" \t\tadresse adresse håndterer data adresse maske\n"
+" vma:\t\tStart- Slut- EH- EH- Prologslut- Undtagelses-\n"
+" \t\tadresse adresse håndt. data adresse maske\n"
#: peigen.c:1705 pepigen.c:1705 pex64igen.c:1705
#, c-format
msgid " Register save millicode"
-msgstr " Registergemnings millikode"
+msgstr " Registergemnings-millikode"
#: peigen.c:1708 pepigen.c:1708 pex64igen.c:1708
#, c-format
msgid " Register restore millicode"
-msgstr " Registergenskabnings millikode"
+msgstr " Registergenskabnings-millikode"
#: peigen.c:1711 pepigen.c:1711 pex64igen.c:1711
#, c-format
@@ -6533,8 +6533,8 @@ msgid ""
" vma:\t\tBegin Prolog Function Flags Exception EH\n"
" \t\tAddress Length Length 32b exc Handler Data\n"
msgstr ""
-" vma:\t\tStart Prolog Funktion Flag Undtagelse EH\n"
-" \t\tAdresse Længde Længde 32b exc Håndtering Data\n"
+" vma:\t\tStart Prolog Funktion Flag Undt.- EH\n"
+" \t\tAdresse Længde Længde 32b exc Håndt. Data\n"
#: peigen.c:1937 pepigen.c:1937 pex64igen.c:1937
#, c-format
@@ -6574,12 +6574,12 @@ msgstr "navn: [værdi: %08lx længde %d]: "
#: peigen.c:2054 pepigen.c:2054 pex64igen.c:2054
#, c-format
msgid "<corrupt string length: %#x>"
-msgstr "<ugyldig strenglængde: %#x>"
+msgstr "<beskadiget strenglængde: %#x>"
#: peigen.c:2057 pepigen.c:2057 pex64igen.c:2057
#, c-format
msgid "<corrupt string offset: %#lx>"
-msgstr "<ugyldig strengforskydning: %#lx>"
+msgstr "<beskadiget strengforskydning: %#lx>"
#: peigen.c:2060 pepigen.c:2060 pex64igen.c:2060
#, c-format
@@ -6687,255 +6687,3 @@ msgstr "%B: kan ikke udfylde DataDictionary[PE_IMPORT_ADDRESS_TABLE(12)], da .id
#: peigen.c:3801 pepigen.c:3801 pex64igen.c:3801
msgid "%B: unable to fill in DataDictionary[9] because __tls_used is missing"
msgstr "%B: kan ikke udfylde DataDictionary[9], da __tls_used mangler"
-
-#~ msgid ""
-#~ "%B(%s): warning: interworking not enabled.\n"
-#~ " first occurrence: %B: thumb call to arm"
-#~ msgstr ""
-#~ "%B(%s): advarsel: samvirken (interworking) er ikke aktiveret.\n"
-#~ " første forekomst: %B: thumb-kald til arm"
-
-#~ msgid "DIV usage mismatch between %B and %B"
-#~ msgstr "Uoverensstemmelse i DIV-forbrug mellem %B og %B"
-
-#~ msgid "relocation references a different segment"
-#~ msgstr "relokering refererer et andet segment"
-
-#~ msgid "%B: bad relocation section name `%s'"
-#~ msgstr "%B: fejlagtigt relokeringsafsnitsnavn \"%s\""
-
-#~ msgid " [64-bit doubles]"
-#~ msgstr " [64 bit-doubles]"
-
-#~ msgid " [dsp]"
-#~ msgstr " [dsp]"
-
-#~ msgid "%B: relocation type %d not implemented"
-#~ msgstr "%B: relokeringstypen %d er ikke implementeret"
-
-#~ msgid "warning: %B and %B differ in position-dependence of data addressing"
-#~ msgstr "advarsel: %B og %B har forskellig positionsafhængighed af dataadressering"
-
-#~ msgid "warning: %B and %B differ in position-dependence of code addressing"
-#~ msgstr "advarsel: %B og %B har forskellig positionsafhængighed af kodeadressering"
-
-#~ msgid "%B(%A+0x%lx): cannot reach %s"
-#~ msgstr "%B(%A+0x%lx): kan ikke nå %s"
-
-#~ msgid "%B(%A+0x%lx): automatic multiple TOCs not supported using your crt files; recompile with -mminimal-toc or upgrade gcc"
-#~ msgstr "%B(%A+0x%lx): flere automatiske TOC'er understøttes ikke med dine crt-filer; genkompilér med -mminimal-toc eller opgradér gcc"
-
-#~ msgid "Warning: %B uses -msingle-float, %B uses -mdouble-float"
-#~ msgstr "Advarsel: %B bruger -msingle-float, %B bruger -mdouble-float"
-
-#~ msgid "Warning: %B uses -msingle-float, %B uses -mips32r2 -mfp64"
-#~ msgstr "Advarsel: %B bruger -msingle-float, %B bruger -mips32r2 -mfp64"
-
-#~ msgid "Warning: %B uses -mdouble-float, %B uses -mips32r2 -mfp64"
-#~ msgstr "Advarsel: %B bruger -mdouble-float, %B bruger -mips32r2 -mfp64"
-
-#~ msgid "%B: warning: ignoring duplicate section `%A'\n"
-#~ msgstr "%B: advarsel: ignorerer gentaget afsnit \"%A\"\n"
-
-#~ msgid "%B: warning: duplicate section `%A' has different size\n"
-#~ msgstr "%B: advarsel: gentaget afsnit \"%A\" har forskellig længde\n"
-
-#~ msgid "Mach-O header:\n"
-#~ msgstr "Mach-O-header:\n"
-
-# eller skal det være magisk tal?
-#~ msgid " magic : %08lx\n"
-#~ msgstr " magi : %08lx\n"
-
-#~ msgid " cputype : %08lx (%s)\n"
-#~ msgstr " cputype : %08lx (%s)\n"
-
-#~ msgid " filetype : %08lx (%s)\n"
-#~ msgstr " filtype : %08lx (%s)\n"
-
-# ?
-#~ msgid " ncmds : %08lx (%lu)\n"
-#~ msgstr " nkmd'er : %08lx (%lu)\n"
-
-# kan ikke så godt gøre de her konsistente
-#~ msgid " sizeofcmds: %08lx\n"
-#~ msgstr " sizeofcmds: %08lx\n"
-
-#~ msgid " flags : %08lx ("
-#~ msgstr " flag : %08lx ("
-
-#~ msgid " reserved : %08x\n"
-#~ msgstr " reserveret: %08x\n"
-
-#~ msgid "Segments and Sections:\n"
-#~ msgstr "Segmenter og afsnit:\n"
-
-#~ msgid " #: Segment name Section name Address\n"
-#~ msgstr " #: Segmentnavn Afsnitsnavn Adresse\n"
-
-#~ msgid "Symbol %s replaced by %s\n"
-#~ msgstr "Symbol %s erstattet med %s\n"
-
-# src/menus.c:341
-#~ msgid "Missing IHCONST"
-#~ msgstr "IHCONST mangler"
-
-# src/menus.c:341
-#~ msgid "Missing IHIHALF"
-#~ msgstr "IHIHALF mangler"
-
-#~ msgid "missing IHCONST reloc"
-#~ msgstr "IHCONST-relokering mangler"
-
-#~ msgid "missing IHIHALF reloc"
-#~ msgstr "IHIHALF-relokering mangler"
-
-#~ msgid " first occurrence: %s: arm call to thumb"
-#~ msgstr " første forekomst: %s: arm-kald til thumb"
-
-#~ msgid " first occurrence: %s: thumb call to arm"
-#~ msgstr " første forekomst: %s: thumb-kald til arm"
-
-#~ msgid "reloc against unsupported section"
-#~ msgstr "relokering mod afsnit som ikke understøttes"
-
-#~ msgid "Dwarf Error: DW_FORM_strp offset (%lu) greater than or equal to .debug_str size (%lu)."
-#~ msgstr "Dwarf-fejl: DW_FORM_strp-afstanden (%lu) større end eller lig med størrelsen på .debug_str (%lu)."
-
-#~ msgid "Dwarf Error: Can't find .debug_abbrev section."
-#~ msgstr "Dwarf-fejl: Kan ikke finde afsnittet .debug_abbrev."
-
-#~ msgid "Dwarf Error: Abbrev offset (%lu) greater than or equal to .debug_abbrev size (%lu)."
-#~ msgstr "Dwarf-fejl: Forkortelsesafstanden (%lu) større end eller lig med størrelsen .debug_abbrev (%lu)."
-
-#~ msgid "%s: warning: unresolvable relocation against symbol `%s' from %s section"
-#~ msgstr "%s: advarsel: uløselig relokering mod symbol \"%s\" fra afsnittet %s"
-
-#~ msgid "%s: Not enough room for program headers (allocated %u, need %u)"
-#~ msgstr "%s: Ikke tilstrækkeligt med plads for programhoveder (allokerede %u, behøver %u)"
-
-#~ msgid "Error: First section in segment (%s) starts at 0x%x whereas the segment starts at 0x%x"
-#~ msgstr "Fejl: Første afsnit i segmentet (%s) begynder ved 0x%x mens segmentet begynder ved 0x%x"
-
-#~ msgid "%s: warning: unresolvable relocation %d against symbol `%s' from %s section"
-#~ msgstr "%s: advarsel: uløselig relokering %d mod symbol \"%s\" fra afsnittet %s"
-
-#~ msgid "ERROR: %s is compiled for EABI version %d, whereas %s is compiled for version %d"
-#~ msgstr "FEJL: %s er oversat for EABI version %d, mens %s er oversat for version %d"
-
-#~ msgid "%s: unresolvable relocation %s against symbol `%s' from %s section"
-#~ msgstr "%s: uløselig relokering %s mod symbol \"%s\" fra afsnittet %s"
-
-#~ msgid "%s: relocation %s should not be used when making a shared object; recompile with -fPIC"
-#~ msgstr "%s: relokeringen %s bør ikke bruges når et delt objekt oprettes; genoversæt med -fPIC"
-
-#~ msgid "%s(%s+0x%lx): fixing %s"
-#~ msgstr "%s(%s+0x%lx): retter %s"
-
-#~ msgid " [m68000]"
-#~ msgstr " [m68000]"
-
-#~ msgid "v850ea architecture"
-#~ msgstr "v850ea-arkitektur"
-
-#~ msgid "%s: check_relocs: unhandled reloc type %d"
-#~ msgstr "%s: check_relocs: uhåndteret relokeringstype %d"
-
-#~ msgid "Error: out of memory"
-#~ msgstr "Fejl: ikke mere hukommelse"
-
-#~ msgid "local symbols in discarded section %s"
-#~ msgstr "lokale symboler i bortkastet afsnit %s"
-
-#~ msgid "%s: %s+0x%lx: jump to stub routine which is not jal"
-#~ msgstr "%s: %s+0x%lx: hop til stubrutine som ikke er jal"
-
-#~ msgid "%s: ISA mismatch (-mips%d) with previous modules (-mips%d)"
-#~ msgstr "%s: ISA (-mips%d) passer ikke med tidligere moduler (-mips%d)"
-
-#~ msgid "%s: ISA mismatch (%d) with previous modules (%d)"
-#~ msgstr "%s: ISA (%d) passer ikke med tidligere moduler (%d)"
-
-#~ msgid " [mips1]"
-#~ msgstr " [mips1]"
-
-#~ msgid " [mips2]"
-#~ msgstr " [mips2]"
-
-#~ msgid " [mips3]"
-#~ msgstr " [mips3]"
-
-#~ msgid " [mips4]"
-#~ msgstr " [mips4]"
-
-#~ msgid " [mips5]"
-#~ msgstr " [mips5]"
-
-#~ msgid " [mips32]"
-#~ msgstr " [mips32]"
-
-#~ msgid " [mips64]"
-#~ msgstr " [mips64]"
-
-#~ msgid " [mips16]"
-#~ msgstr " [mips16]"
-
-#~ msgid " [32bitmode]"
-#~ msgstr " [32-bittilstand]"
-
-#~ msgid "bfd_make_section (%s) failed"
-#~ msgstr "bfd_make_section (%s) mislykkedes"
-
-#~ msgid "bfd_set_section_flags (%s, %x) failed"
-#~ msgstr "bfd_set_section_flags (%s, %x) mislykkedes"
-
-#~ msgid "Size mismatch section %s=%lx, %s=%lx"
-#~ msgstr "Størrelsen passer ikke på afsnit %s=%lx, %s=%lx"
-
-#~ msgid "unknown gsd/egsd subtype %d"
-#~ msgstr "ukendt gsd/egsd-undertype %d"
-
-#~ msgid "failed to enter %s"
-#~ msgstr "mislykkedes med at gå ind i %s"
-
-#~ msgid "No Mem !"
-#~ msgstr "Ingen hukommelse!"
-
-#~ msgid "%s: no symbol \"%s\""
-#~ msgstr "%s: intet symbol \"%s\""
-
-#~ msgid "reserved STO cmd %d"
-#~ msgstr "reserveret STO-kommando %d"
-
-#~ msgid "reserved OPR cmd %d"
-#~ msgstr "reserveret OPR-kommando %d"
-
-#~ msgid "reserved CTL cmd %d"
-#~ msgstr "reserveret CTL-kommando %d"
-
-#~ msgid "stack-from-image not implemented"
-#~ msgstr "stack-from-image er ikke implementeret"
-
-#~ msgid "stack-entry-mask not fully implemented"
-#~ msgstr "stack-entry-mask er ikke helt implementeret"
-
-#~ msgid "stack-local-symbol not fully implemented"
-#~ msgstr "stack-local-symbol er ikke helt implementeret"
-
-#~ msgid "stack-literal not fully implemented"
-#~ msgstr "stack-literal er ikke helt implementeret"
-
-#~ msgid "stack-local-symbol-entry-point-mask not fully implemented"
-#~ msgstr "stack-local-symbol-entry-point-mask er ikke helt implementeret"
-
-#~ msgid "obj code %d not found"
-#~ msgstr "objektkode %d kunne ikke findes"
-
-#~ msgid "%s: dynamic relocation against speculation fixup"
-#~ msgstr "%s: dynamisk relokering uden spekulationsrettelser"
-
-#~ msgid "%s: speculation fixup against undefined weak symbol"
-#~ msgstr "%s: spekulationsfix mod udefineret svagt symbol"
-
-#~ msgid "%s: reloc overflow 1: 0x%lx > 0xffff"
-#~ msgstr "%s: relokering giver overløb 1: 0x%lx > 0xffff"
diff --git a/bfd/targets.c b/bfd/targets.c
index bc61c02..8e6158e 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -1305,8 +1305,8 @@ static const bfd_target * const _bfd_target_vector[] =
&powerpc_xcoff_vec,
#endif
- &riscv_elf32_vec,
#ifdef BFD64
+ &riscv_elf32_vec,
&riscv_elf64_vec,
#endif
&rl78_elf32_vec,
diff --git a/bfd/version.h b/bfd/version.h
index 5a906cd..f2750d9 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20161102
+#define BFD_VERSION_DATE 20161106
#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/binutils/ChangeLog b/binutils/ChangeLog
index 9b720d9..09f76b9 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,18 @@
+2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * objcopy.c (copy_section): Add extra calls to free for error
+ paths.
+
+2016-11-04 Tom Tromey <tom@tromey.com>
+
+ * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
+ version number.
+
+2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
+
+ * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
+ the RISC-V target.
+
2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
Andrew Waterman <andrew@sifive.com>
diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS
index bd1ffd4..143d481 100644
--- a/binutils/MAINTAINERS
+++ b/binutils/MAINTAINERS
@@ -122,6 +122,8 @@ responsibility among the other maintainers.
PPC Alan Modra <amodra@gmail.com>
PPC Peter Bergner <bergner@vnet.ibm.com>
PPC vector ext Aldy Hernandez <aldyh@redhat.com>
+ RISC-V Palmer Dabbelt <palmer@dabbelt.com>
+ RISC-V Andrew Waterman <andrew@sifive.com>
RL78 DJ Delorie <dj@redhat.com>
RX DJ Delorie <dj@redhat.com>
RX Nick Clifton <nickc@redhat.com>
diff --git a/binutils/dwarf-mode.el b/binutils/dwarf-mode.el
index 407c49b..cec56ec 100644
--- a/binutils/dwarf-mode.el
+++ b/binutils/dwarf-mode.el
@@ -1,6 +1,6 @@
;;; dwarf-mode.el --- Browser for DWARF information.
-;; Version: 1.2
+;; Version: 1.3
;; Copyright (C) 2012-2016 Free Software Foundation, Inc.
@@ -162,6 +162,7 @@ This is the main interface to `dwarf-mode'."
(buffer (generate-new-buffer (concat "*DWARF for " base-name "*"))))
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-02 20:55 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-02 20:55 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 02e0217ac3479b8a6b3a41a57aafcfa5c496a628 (commit)
via 47acf0bd9faef8634d242e19ec3b7f784d10ba76 (commit)
via 920d2ddccb72a366140ed28283165b274f7a9045 (commit)
via 95dc74aa02352505785bb70ba60b706e70c74584 (commit)
via af955fe696088e69b436947b4a6f134567d31793 (commit)
from 2e6305d981cdd51a7349fb82f83b00a9c52c81d1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 02e0217ac3479b8a6b3a41a57aafcfa5c496a628
Merge: 2e6305d 47acf0b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Nov 2 21:54:31 2016 +0100
Merge remote-tracking branch 'gdb/master' into dwarf5gcc
commit 47acf0bd9faef8634d242e19ec3b7f784d10ba76
Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
Date: Wed Nov 2 12:31:25 2016 -0700
Enable Intel AVX512_4VNNIW instructions
gas/
* config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
(cpu_noarch): Add noavx512_4vnniw.
* doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
* testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
* testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
* testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
* testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
* testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
* testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
* testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
opcodes/
* i386-dis.c (enum): Add PREFIX_EVEX_0F3852, PREFIX_EVEX_0F3853.
* i386-dis-evex.h (evex_table): Updated.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512_4VNNIW_FLAGS,
CPU_ANY_AVX512_4VNNIW_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
(cpu_flags): Add CpuAVX512_4VNNIW.
* i386-opc.h (enum): (AVX512_4VNNIW): New.
(i386_cpu_flags): Add cpuavx512_4vnniw.
* i386-opc.tbl: Add Intel AVX512_4VNNIW instructions.
* i386-init.h: Regenerate.
* i386-tbl.h: Ditto.
commit 920d2ddccb72a366140ed28283165b274f7a9045
Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
Date: Wed Nov 2 12:24:39 2016 -0700
Enable Intel AVX512_4FMAPS instructions
gas/
* config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
(cpu_noarch): Add noavx512_4fmaps.
(process_operands): Handle implicit quad group.
* doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
* testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
* testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
* testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
* testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
* testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
* testsuite/gas/i386/avx512_4fmaps.d: Ditto.
* testsuite/gas/i386/avx512_4fmaps.s: Ditto.
* testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
* testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
* testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
* testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
opcodes/
* i386-dis.c. (enum): Add PREFIX_EVEX_0F389A,
PREFIX_EVEX_0F389B, PREFIX_EVEX_0F38AA, PREFIX_EVEX_0F38AB.
* i386-dis-evex.h (evex_table): Updated.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512_4FMAPS_FLAGS,
CPU_ANY_AVX512_4FMAPS_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
(cpu_flags): Add CpuAVX512_4FMAPS.
(opcode_modifiers): Add ImplicitQuadGroup modifier.
* i386-opc.h (AVX512_4FMAP): New.
(i386_cpu_flags): Add cpuavx512_4fmaps.
(ImplicitQuadGroup): New.
(i386_opcode_modifier): Add implicitquadgroup.
* i386-opc.tbl: Add Intel AVX512_4FMAPS instructions.
* i386-init.h: Regenerate.
* i386-tbl.h: Ditto.
commit 95dc74aa02352505785bb70ba60b706e70c74584
Author: GDB Administrator <gdbadmin@sourceware.org>
Date: Wed Nov 2 00:00:20 2016 +0000
Automatic date update in version.in
commit af955fe696088e69b436947b4a6f134567d31793
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Mon Oct 31 16:14:35 2016 +0000
BFD: Fix double BFD_FAIL calls in `bfd_default_reloc_type_lookup'
Break out of the outer switch statement once the inner switch for the
BFD_RELOC_CTOR relocation has been processed, preventing double BFD_FAIL
calls from being made, once from the inner switch and then again from
the default case of the outer switch.
Noticed with a `-Wimplicit-fallthrough' build error reported by a recent
GCC version:
In file included from .../bfd/reloc.c:52:0:
.../bfd/reloc.c: In function 'bfd_default_reloc_type_lookup':
.../bfd/libbfd.h:779:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
do { bfd_assert(__FILE__,__LINE__); } while (0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../bfd/reloc.c:7780:4: note: in expansion of macro 'BFD_FAIL'
BFD_FAIL ();
^~~~~~~~
.../bfd/reloc.c:7782:5: note: here
default:
^~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [reloc.lo] Error 1
bfd/
* reloc.c (bfd_default_reloc_type_lookup) <BFD_RELOC_CTOR>: Do
not fall through to the default case.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 5 +
bfd/reloc.c | 1 +
bfd/version.h | 2 +-
gas/ChangeLog | 47 +
gas/config/tc-i386.c | 25 +
gas/doc/c-i386.texi | 10 +-
gas/testsuite/gas/i386/avx512_4fmaps-intel.d | 79 +
gas/testsuite/gas/i386/avx512_4fmaps-warn.l | 13 +
gas/testsuite/gas/i386/avx512_4fmaps-warn.s | 23 +
gas/testsuite/gas/i386/avx512_4fmaps.d | 79 +
gas/testsuite/gas/i386/avx512_4fmaps.s | 75 +
gas/testsuite/gas/i386/avx512_4fmaps_vl-intel.d | 78 +
gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.l | 13 +
gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.s | 23 +
gas/testsuite/gas/i386/avx512_4fmaps_vl.d | 78 +
gas/testsuite/gas/i386/avx512_4fmaps_vl.s | 74 +
gas/testsuite/gas/i386/avx512_4vnniw-intel.d | 45 +
gas/testsuite/gas/i386/avx512_4vnniw.d | 45 +
gas/testsuite/gas/i386/avx512_4vnniw.s | 41 +
gas/testsuite/gas/i386/avx512_4vnniw_vl-intel.d | 79 +
gas/testsuite/gas/i386/avx512_4vnniw_vl.d | 79 +
gas/testsuite/gas/i386/avx512_4vnniw_vl.s | 75 +
gas/testsuite/gas/i386/i386.exp | 20 +
.../gas/i386/x86-64-avx512_4fmaps-intel.d | 79 +
gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l | 7 +
gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s | 13 +
gas/testsuite/gas/i386/x86-64-avx512_4fmaps.d | 79 +
gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s | 75 +
.../gas/i386/x86-64-avx512_4fmaps_vl-intel.d | 79 +
.../gas/i386/x86-64-avx512_4fmaps_vl-warn.l | 13 +
.../gas/i386/x86-64-avx512_4fmaps_vl-warn.s | 23 +
gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d | 79 +
gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s | 75 +
.../gas/i386/x86-64-avx512_4vnniw-intel.d | 45 +
gas/testsuite/gas/i386/x86-64-avx512_4vnniw.d | 45 +
gas/testsuite/gas/i386/x86-64-avx512_4vnniw.s | 41 +
.../gas/i386/x86-64-avx512_4vnniw_vl-intel.d | 79 +
gas/testsuite/gas/i386/x86-64-avx512_4vnniw_vl.d | 79 +
gas/testsuite/gas/i386/x86-64-avx512_4vnniw_vl.s | 75 +
opcodes/ChangeLog | 30 +
opcodes/i386-dis-evex.h | 22 +-
opcodes/i386-dis.c | 2 +
opcodes/i386-gen.c | 13 +-
opcodes/i386-init.h | 284 +-
opcodes/i386-opc.h | 12 +
opcodes/i386-opc.tbl | 28 +
opcodes/i386-tbl.h |21130 ++++++++++----------
47 files changed, 12849 insertions(+), 10567 deletions(-)
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps-intel.d
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps-warn.l
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps-warn.s
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps.d
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps.s
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl-intel.d
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.l
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.s
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl.d
create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl.s
create mode 100644 gas/testsuite/gas/i386/avx512_4vnniw-intel.d
create mode 100644 gas/testsuite/gas/i386/avx512_4vnniw.d
create mode 100644 gas/testsuite/gas/i386/avx512_4vnniw.s
create mode 100644 gas/testsuite/gas/i386/avx512_4vnniw_vl-intel.d
create mode 100644 gas/testsuite/gas/i386/avx512_4vnniw_vl.d
create mode 100644 gas/testsuite/gas/i386/avx512_4vnniw_vl.s
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps.d
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4vnniw-intel.d
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4vnniw.d
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4vnniw.s
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4vnniw_vl-intel.d
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4vnniw_vl.d
create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4vnniw_vl.s
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 75ffab5..49d490d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-01 Maciej W. Rozycki <macro@imgtec.com>
+
+ * reloc.c (bfd_default_reloc_type_lookup) <BFD_RELOC_CTOR>: Do
+ not fall through to the default case.
+
2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
Andrew Waterman <andrew@sifive.com>
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 7c67eeb..56cd79b 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -7859,6 +7859,7 @@ bfd_default_reloc_type_lookup (bfd *abfd, bfd_reloc_code_real_type code)
default:
BFD_FAIL ();
}
+ break;
default:
BFD_FAIL ();
}
diff --git a/bfd/version.h b/bfd/version.h
index 0f1c767..5a906cd 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20161101
+#define BFD_VERSION_DATE 20161102
#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/gas/ChangeLog b/gas/ChangeLog
index 8eabfd5..98aa749 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,50 @@
+2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
+
+ * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
+ (cpu_noarch): Add noavx512_4vnniw.
+ * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
+ * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
+ * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
+ * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
+ * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
+ * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
+ * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
+ * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
+
+2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
+
+ * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
+ (cpu_noarch): Add noavx512_4fmaps.
+ (process_operands): Handle implicit quad group.
+ * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
+ * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
+ * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
+ * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
+ * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
+ * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
+ * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
+ * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
+ * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
+ * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
+ * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
+ * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
+ * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
+
2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
Andrew Waterman <andrew@sifive.com>
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 6724bca..ca26127 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -962,6 +962,10 @@ static const arch_entry cpu_arch[] =
CPU_AVX512IFMA_FLAGS, 0 },
{ STRING_COMMA_LEN (".avx512vbmi"), PROCESSOR_UNKNOWN,
CPU_AVX512VBMI_FLAGS, 0 },
+ { STRING_COMMA_LEN (".avx512_4fmaps"), PROCESSOR_UNKNOWN,
+ CPU_AVX512_4FMAPS_FLAGS, 0 },
+ { STRING_COMMA_LEN (".avx512_4vnniw"), PROCESSOR_UNKNOWN,
+ CPU_AVX512_4VNNIW_FLAGS, 0 },
{ STRING_COMMA_LEN (".clzero"), PROCESSOR_UNKNOWN,
CPU_CLZERO_FLAGS, 0 },
{ STRING_COMMA_LEN (".mwaitx"), PROCESSOR_UNKNOWN,
@@ -999,6 +1003,8 @@ static const noarch_entry cpu_noarch[] =
{ STRING_COMMA_LEN ("noavx512vl"), CPU_ANY_AVX512VL_FLAGS },
{ STRING_COMMA_LEN ("noavx512ifma"), CPU_ANY_AVX512IFMA_FLAGS },
{ STRING_COMMA_LEN ("noavx512vbmi"), CPU_ANY_AVX512VBMI_FLAGS },
+ { STRING_COMMA_LEN ("noavx512_4fmaps"), CPU_ANY_AVX512_4FMAPS_FLAGS },
+ { STRING_COMMA_LEN ("noavx512_4vnniw"), CPU_ANY_AVX512_4VNNIW_FLAGS },
};
#ifdef I386COFF
@@ -5966,6 +5972,25 @@ duplicate:
i.reg_operands--;
i.tm.operands--;
}
+ else if (i.tm.opcode_modifier.implicitquadgroup)
+ {
+ /* The second operand must be {x,y,z}mmN, where N is a multiple of 4. */
+ gas_assert (i.operands >= 2
+ && (operand_type_equal (&i.types[1], ®xmm)
+ || operand_type_equal (&i.types[1], ®ymm)
+ || operand_type_equal (&i.types[1], ®zmm)));
+ unsigned int regnum = register_number (i.op[1].regs);
+ unsigned int first_reg_in_group = regnum & ~3;
+ unsigned int last_reg_in_group = first_reg_in_group + 3;
+ if (regnum != first_reg_in_group) {
+ as_warn (_("the second source register `%s%s' implicitly denotes"
+ " `%s%.3s%d' to `%s%.3s%d' source group in `%s'"),
+ register_prefix, i.op[1].regs->reg_name,
+ register_prefix, i.op[1].regs->reg_name, first_reg_in_group,
+ register_prefix, i.op[1].regs->reg_name, last_reg_in_group,
+ i.tm.name);
+ }
+ }
else if (i.tm.opcode_modifier.regkludge)
{
/* The imul $imm, %reg instruction is converted into
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 43b4008..c3c632d 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -180,6 +180,8 @@ accept various extension mnemonics. For example,
@code{avx512dq},
@code{avx512ifma},
@code{avx512vbmi},
+@code{avx512_4fmaps},
+@code{avx512_4vnniw},
@code{noavx512f},
@code{noavx512cd},
@code{noavx512er},
@@ -189,6 +191,8 @@ accept various extension mnemonics. For example,
@code{noavx512dq},
@code{noavx512ifma},
@code{noavx512vbmi},
+@code{noavx512_4fmaps},
+@code{noavx512_4vnniw},
@code{vmx},
@code{vmfunc},
@code{smx},
@@ -1190,12 +1194,12 @@ supported on the CPU specified. The choices for @var{cpu_type} are:
@item @samp{.clflushopt} @tab @samp{.xsavec} @tab @samp{.xsaves} @tab @samp{.se1}
@item @samp{.avx512f} @tab @samp{.avx512cd} @tab @samp{.avx512er} @tab @samp{.avx512pf}
@item @samp{.avx512vl} @tab @samp{.avx512bw} @tab @samp{.avx512dq} @tab @samp{.avx512ifma}
-@item @samp{.avx512vbmi} @tab @samp{.clwb}
+@item @samp{.avx512vbmi} @tab @samp{.avx512_4fmaps} @tab @samp{.avx512_4vnniw}
+@item @samp{.clwb} @tab @samp{.rdpid} @tab @samp{.ptwrite}
@item @samp{.3dnow} @tab @samp{.3dnowa} @tab @samp{.sse4a} @tab @samp{.sse5}
@item @samp{.syscall} @tab @samp{.rdtscp} @tab @samp{.svme} @tab @samp{.abm}
@item @samp{.lwp} @tab @samp{.fma4} @tab @samp{.xop} @tab @samp{.cx16}
-@item @samp{.padlock} @tab @samp{.clzero} @tab @samp{.mwaitx} @tab @samp{.rdpid}
-@item @samp{.ptwrite}
+@item @samp{.padlock} @tab @samp{.clzero} @tab @samp{.mwaitx}
@end multitable
Apart from the warning, there are only two other effects on
diff --git a/gas/testsuite/gas/i386/avx512_4fmaps-intel.d b/gas/testsuite/gas/i386/avx512_4fmaps-intel.d
new file mode 100644
index 0000000..9406309
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx512_4fmaps-intel.d
@@ -0,0 +1,79 @@
+#objdump: -dw -Mintel
+#name: i386 AVX512/4FMAPS insns (Intel disassembly)
+#source: avx512_4fmaps.s
+
+.*: +file format .*
+
+
+Disassembly of section \.text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 09[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 4f 9a 09[ ]*v4fmaddps zmm1\{k7\},zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f cf 9a 09[ ]*v4fmaddps zmm1\{k7\}\{z\},zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8c f4 c0 1d fe ff[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a e0 0f 00 00[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a 00 10 00 00[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a 00 f0 ff ff[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[edx-0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a e0 ef ff ff[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[edx-0x1020\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 09[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 4f aa 09[ ]*v4fnmaddps zmm1\{k7\},zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f cf aa 09[ ]*v4fnmaddps zmm1\{k7\}\{z\},zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8c f4 c0 1d fe ff[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a e0 0f 00 00[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a 00 10 00 00[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a 00 f0 ff ff[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[edx-0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a e0 ef ff ff[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[edx-0x1020\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 09[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f 9b 09[ ]*v4fmaddss xmm1\{k7\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f 9b 09[ ]*v4fmaddss xmm1\{k7\}\{z\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8c f4 c0 1d fe ff[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a e0 0f 00 00[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a 00 10 00 00[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a 00 f0 ff ff[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[edx-0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a e0 ef ff ff[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[edx-0x1020\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 09[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f ab 09[ ]*v4fnmaddss xmm1\{k7\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f ab 09[ ]*v4fnmaddss xmm1\{k7\}\{z\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8c f4 c0 1d fe ff[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a e0 0f 00 00[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a 00 10 00 00[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a 00 f0 ff ff[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[edx-0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a e0 ef ff ff[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[edx-0x1020\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 09[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 09[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 4f 9a 09[ ]*v4fmaddps zmm1\{k7\},zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f cf 9a 09[ ]*v4fmaddps zmm1\{k7\}\{z\},zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8c f4 c0 1d fe ff[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a e0 0f 00 00[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a 00 10 00 00[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a 00 f0 ff ff[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[edx-0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a e0 ef ff ff[ ]*v4fmaddps zmm1,zmm4,XMMWORD PTR \[edx-0x1020\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 09[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 09[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 4f aa 09[ ]*v4fnmaddps zmm1\{k7\},zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f cf aa 09[ ]*v4fnmaddps zmm1\{k7\}\{z\},zmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8c f4 c0 1d fe ff[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a e0 0f 00 00[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a 00 10 00 00[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a 00 f0 ff ff[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[edx-0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a e0 ef ff ff[ ]*v4fnmaddps zmm1,zmm4,XMMWORD PTR \[edx-0x1020\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 09[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 09[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f 9b 09[ ]*v4fmaddss xmm1\{k7\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f 9b 09[ ]*v4fmaddss xmm1\{k7\}\{z\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8c f4 c0 1d fe ff[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a e0 0f 00 00[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a 00 10 00 00[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a 00 f0 ff ff[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[edx-0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a e0 ef ff ff[ ]*v4fmaddss xmm1,xmm4,XMMWORD PTR \[edx-0x1020\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 09[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 09[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f ab 09[ ]*v4fnmaddss xmm1\{k7\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f ab 09[ ]*v4fnmaddss xmm1\{k7\}\{z\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8c f4 c0 1d fe ff[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a e0 0f 00 00[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a 00 10 00 00[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a 00 f0 ff ff[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[edx-0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a e0 ef ff ff[ ]*v4fnmaddss xmm1,xmm4,XMMWORD PTR \[edx-0x1020\]
+#pass
diff --git a/gas/testsuite/gas/i386/avx512_4fmaps-warn.l b/gas/testsuite/gas/i386/avx512_4fmaps-warn.l
new file mode 100644
index 0000000..d8a0b79
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx512_4fmaps-warn.l
@@ -0,0 +1,13 @@
+.*: Assembler messages:
+.*:5: Warning: the second source register `%xmm1' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fmaddps'
+.*:6: Warning: the second source register `%xmm2' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fmaddps'
+.*:7: Warning: the second source register `%xmm3' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fmaddps'
+.*:10: Warning: the second source register `%xmm1' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fnmaddps'
+.*:11: Warning: the second source register `%xmm2' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fnmaddps'
+.*:12: Warning: the second source register `%xmm3' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fnmaddps'
+.*:15: Warning: the second source register `%xmm1' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fmaddss'
+.*:16: Warning: the second source register `%xmm2' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fmaddss'
+.*:17: Warning: the second source register `%xmm3' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fmaddss'
+.*:20: Warning: the second source register `%xmm1' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fnmaddss'
+.*:21: Warning: the second source register `%xmm2' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fnmaddss'
+.*:22: Warning: the second source register `%xmm3' implicitly denotes `%xmm0' to `%xmm3' source group in `v4fnmaddss'
diff --git a/gas/testsuite/gas/i386/avx512_4fmaps-warn.s b/gas/testsuite/gas/i386/avx512_4fmaps-warn.s
new file mode 100644
index 0000000..650358e
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx512_4fmaps-warn.s
@@ -0,0 +1,23 @@
+# Check warnings for invalid usage of register group
+
+.text
+ v4fmaddps (%eax), %xmm0, %xmm6
+ v4fmaddps (%eax), %xmm1, %xmm6
+ v4fmaddps (%eax), %xmm2, %xmm6
+ v4fmaddps (%eax), %xmm3, %xmm6
+ v4fmaddps (%eax), %xmm4, %xmm6
+ v4fnmaddps (%eax), %xmm0, %xmm6
+ v4fnmaddps (%eax), %xmm1, %xmm6
+ v4fnmaddps (%eax), %xmm2, %xmm6
+ v4fnmaddps (%eax), %xmm3, %xmm6
+ v4fnmaddps (%eax), %xmm4, %xmm6
+ v4fmaddss (%eax), %xmm0, %xmm6
+ v4fmaddss (%eax), %xmm1, %xmm6
+ v4fmaddss (%eax), %xmm2, %xmm6
+ v4fmaddss (%eax), %xmm3, %xmm6
+ v4fmaddss (%eax), %xmm4, %xmm6
+ v4fnmaddss (%eax), %xmm0, %xmm6
+ v4fnmaddss (%eax), %xmm1, %xmm6
+ v4fnmaddss (%eax), %xmm2, %xmm6
+ v4fnmaddss (%eax), %xmm3, %xmm6
+ v4fnmaddss (%eax), %xmm4, %xmm6
diff --git a/gas/testsuite/gas/i386/avx512_4fmaps.d b/gas/testsuite/gas/i386/avx512_4fmaps.d
new file mode 100644
index 0000000..5e1f8dd
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx512_4fmaps.d
@@ -0,0 +1,79 @@
+#objdump: -dw
+#name: i386 AVX512/4FMAPS insns
+#source: avx512_4fmaps.s
+
+.*: +file format .*
+
+
+Disassembly of section \.text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 09[ ]*v4fmaddps \(%ecx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 4f 9a 09[ ]*v4fmaddps \(%ecx\),%zmm4,%zmm1\{%k7\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f cf 9a 09[ ]*v4fmaddps \(%ecx\),%zmm4,%zmm1\{%k7\}\{z\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8c f4 c0 1d fe ff[ ]*v4fmaddps -0x1e240\(%esp,%esi,8\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a e0 0f 00 00[ ]*v4fmaddps 0xfe0\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a 00 10 00 00[ ]*v4fmaddps 0x1000\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a 00 f0 ff ff[ ]*v4fmaddps -0x1000\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a e0 ef ff ff[ ]*v4fmaddps -0x1020\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 09[ ]*v4fnmaddps \(%ecx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 4f aa 09[ ]*v4fnmaddps \(%ecx\),%zmm4,%zmm1\{%k7\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f cf aa 09[ ]*v4fnmaddps \(%ecx\),%zmm4,%zmm1\{%k7\}\{z\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8c f4 c0 1d fe ff[ ]*v4fnmaddps -0x1e240\(%esp,%esi,8\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a e0 0f 00 00[ ]*v4fnmaddps 0xfe0\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a 00 10 00 00[ ]*v4fnmaddps 0x1000\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a 00 f0 ff ff[ ]*v4fnmaddps -0x1000\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a e0 ef ff ff[ ]*v4fnmaddps -0x1020\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 09[ ]*v4fmaddss \(%ecx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f 9b 09[ ]*v4fmaddss \(%ecx\),%xmm4,%xmm1\{%k7\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f 9b 09[ ]*v4fmaddss \(%ecx\),%xmm4,%xmm1\{%k7\}\{z\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8c f4 c0 1d fe ff[ ]*v4fmaddss -0x1e240\(%esp,%esi,8\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a e0 0f 00 00[ ]*v4fmaddss 0xfe0\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a 00 10 00 00[ ]*v4fmaddss 0x1000\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a 00 f0 ff ff[ ]*v4fmaddss -0x1000\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a e0 ef ff ff[ ]*v4fmaddss -0x1020\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 09[ ]*v4fnmaddss \(%ecx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f ab 09[ ]*v4fnmaddss \(%ecx\),%xmm4,%xmm1\{%k7\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f ab 09[ ]*v4fnmaddss \(%ecx\),%xmm4,%xmm1\{%k7\}\{z\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8c f4 c0 1d fe ff[ ]*v4fnmaddss -0x1e240\(%esp,%esi,8\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a e0 0f 00 00[ ]*v4fnmaddss 0xfe0\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a 00 10 00 00[ ]*v4fnmaddss 0x1000\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a 00 f0 ff ff[ ]*v4fnmaddss -0x1000\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a e0 ef ff ff[ ]*v4fnmaddss -0x1020\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 09[ ]*v4fmaddps \(%ecx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 09[ ]*v4fmaddps \(%ecx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 4f 9a 09[ ]*v4fmaddps \(%ecx\),%zmm4,%zmm1\{%k7\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f cf 9a 09[ ]*v4fmaddps \(%ecx\),%zmm4,%zmm1\{%k7\}\{z\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8c f4 c0 1d fe ff[ ]*v4fmaddps -0x1e240\(%esp,%esi,8\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a e0 0f 00 00[ ]*v4fmaddps 0xfe0\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a 00 10 00 00[ ]*v4fmaddps 0x1000\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a 00 f0 ff ff[ ]*v4fmaddps -0x1000\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 9a 8a e0 ef ff ff[ ]*v4fmaddps -0x1020\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 09[ ]*v4fnmaddps \(%ecx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 09[ ]*v4fnmaddps \(%ecx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 4f aa 09[ ]*v4fnmaddps \(%ecx\),%zmm4,%zmm1\{%k7\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f cf aa 09[ ]*v4fnmaddps \(%ecx\),%zmm4,%zmm1\{%k7\}\{z\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8c f4 c0 1d fe ff[ ]*v4fnmaddps -0x1e240\(%esp,%esi,8\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a e0 0f 00 00[ ]*v4fnmaddps 0xfe0\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a 00 10 00 00[ ]*v4fnmaddps 0x1000\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a 00 f0 ff ff[ ]*v4fnmaddps -0x1000\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 48 aa 8a e0 ef ff ff[ ]*v4fnmaddps -0x1020\(%edx\),%zmm4,%zmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 09[ ]*v4fmaddss \(%ecx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 09[ ]*v4fmaddss \(%ecx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f 9b 09[ ]*v4fmaddss \(%ecx\),%xmm4,%xmm1\{%k7\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f 9b 09[ ]*v4fmaddss \(%ecx\),%xmm4,%xmm1\{%k7\}\{z\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8c f4 c0 1d fe ff[ ]*v4fmaddss -0x1e240\(%esp,%esi,8\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a e0 0f 00 00[ ]*v4fmaddss 0xfe0\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a 00 10 00 00[ ]*v4fmaddss 0x1000\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a 00 f0 ff ff[ ]*v4fmaddss -0x1000\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9b 8a e0 ef ff ff[ ]*v4fmaddss -0x1020\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 09[ ]*v4fnmaddss \(%ecx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 09[ ]*v4fnmaddss \(%ecx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f ab 09[ ]*v4fnmaddss \(%ecx\),%xmm4,%xmm1\{%k7\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f ab 09[ ]*v4fnmaddss \(%ecx\),%xmm4,%xmm1\{%k7\}\{z\}
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8c f4 c0 1d fe ff[ ]*v4fnmaddss -0x1e240\(%esp,%esi,8\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a e0 0f 00 00[ ]*v4fnmaddss 0xfe0\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a 00 10 00 00[ ]*v4fnmaddss 0x1000\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a 00 f0 ff ff[ ]*v4fnmaddss -0x1000\(%edx\),%xmm4,%xmm1
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 ab 8a e0 ef ff ff[ ]*v4fnmaddss -0x1020\(%edx\),%xmm4,%xmm1
+#pass
diff --git a/gas/testsuite/gas/i386/avx512_4fmaps.s b/gas/testsuite/gas/i386/avx512_4fmaps.s
new file mode 100644
index 0000000..06d7bfa
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx512_4fmaps.s
@@ -0,0 +1,75 @@
+# Check 32bit AVX512_4FMAPS instructions
+
+ .allow_index_reg
+ .text
+_start:
+ v4fmaddps (%ecx), %zmm4, %zmm1 # AVX512_4FMAPS
+ v4fmaddps (%ecx), %zmm4, %zmm1{%k7} # AVX512_4FMAPS
+ v4fmaddps (%ecx), %zmm4, %zmm1{%k7}{z} # AVX512_4FMAPS
+ v4fmaddps -123456(%esp,%esi,8), %zmm4, %zmm1 # AVX512_4FMAPS
+ v4fmaddps 4064(%edx), %zmm4, %zmm1 # AVX512_4FMAPS Disp8
+ v4fmaddps 4096(%edx), %zmm4, %zmm1 # AVX512_4FMAPS
+ v4fmaddps -4096(%edx), %zmm4, %zmm1 # AVX512_4FMAPS Disp8
+ v4fmaddps -4128(%edx), %zmm4, %zmm1 # AVX512_4FMAPS
+ v4fnmaddps (%ecx), %zmm4, %zmm1 # AVX512_4FMAPS
+ v4fnmaddps (%ecx), %zmm4, %zmm1{%k7} # AVX512_4FMAPS
+ v4fnmaddps (%ecx), %zmm4, %zmm1{%k7}{z} # AVX512_4FMAPS
+ v4fnmaddps -123456(%esp,%esi,8), %zmm4, %zmm1 # AVX512_4FMAPS
+ v4fnmaddps 4064(%edx), %zmm4, %zmm1 # AVX512_4FMAPS Disp8
+ v4fnmaddps 4096(%edx), %zmm4, %zmm1 # AVX512_4FMAPS
+ v4fnmaddps -4096(%edx), %zmm4, %zmm1 # AVX512_4FMAPS Disp8
+ v4fnmaddps -4128(%edx), %zmm4, %zmm1 # AVX512_4FMAPS
+ v4fmaddss (%ecx), %xmm4, %xmm1 # AVX512_4FMAPS
+ v4fmaddss (%ecx), %xmm4, %xmm1{%k7} # AVX512_4FMAPS
+ v4fmaddss (%ecx), %xmm4, %xmm1{%k7}{z} # AVX512_4FMAPS
+ v4fmaddss -123456(%esp,%esi,8), %xmm4, %xmm1 # AVX512_4FMAPS
+ v4fmaddss 4064(%edx), %xmm4, %xmm1 # AVX512_4FMAPS Disp8
+ v4fmaddss 4096(%edx), %xmm4, %xmm1 # AVX512_4FMAPS
+ v4fmaddss -4096(%edx), %xmm4, %xmm1 # AVX512_4FMAPS Disp8
+ v4fmaddss -4128(%edx), %xmm4, %xmm1 # AVX512_4FMAPS
+ v4fnmaddss (%ecx), %xmm4, %xmm1 # AVX512_4FMAPS
+ v4fnmaddss (%ecx), %xmm4, %xmm1{%k7} # AVX512_4FMAPS
+ v4fnmaddss (%ecx), %xmm4, %xmm1{%k7}{z} # AVX512_4FMAPS
+ v4fnmaddss -123456(%esp,%esi,8), %xmm4, %xmm1 # AVX512_4FMAPS
+ v4fnmaddss 4064(%edx), %xmm4, %xmm1 # AVX512_4FMAPS Disp8
+ v4fnmaddss 4096(%edx), %xmm4, %xmm1 # AVX512_4FMAPS
+ v4fnmaddss -4096(%edx), %xmm4, %xmm1 # AVX512_4FMAPS Disp8
+ v4fnmaddss -4128(%edx), %xmm4, %xmm1 # AVX512_4FMAPS
+
+ .intel_syntax noprefix
+ v4fmaddps zmm1, zmm4, [ecx] # AVX512_4FMAPS
+ v4fmaddps zmm1, zmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fmaddps zmm1{k7}, zmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fmaddps zmm1{k7}{z}, zmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fmaddps zmm1, zmm4, XMMWORD PTR [esp+esi*8-123456] # AVX512_4FMAPS
+ v4fmaddps zmm1, zmm4, XMMWORD PTR [edx+4064] # AVX512_4FMAPS Disp8
+ v4fmaddps zmm1, zmm4, XMMWORD PTR [edx+4096] # AVX512_4FMAPS
+ v4fmaddps zmm1, zmm4, XMMWORD PTR [edx-4096] # AVX512_4FMAPS Disp8
+ v4fmaddps zmm1, zmm4, XMMWORD PTR [edx-4128] # AVX512_4FMAPS
+ v4fnmaddps zmm1, zmm4, [ecx] # AVX512_4FMAPS
+ v4fnmaddps zmm1, zmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fnmaddps zmm1{k7}, zmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fnmaddps zmm1{k7}{z}, zmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fnmaddps zmm1, zmm4, XMMWORD PTR [esp+esi*8-123456] # AVX512_4FMAPS
+ v4fnmaddps zmm1, zmm4, XMMWORD PTR [edx+4064] # AVX512_4FMAPS Disp8
+ v4fnmaddps zmm1, zmm4, XMMWORD PTR [edx+4096] # AVX512_4FMAPS
+ v4fnmaddps zmm1, zmm4, XMMWORD PTR [edx-4096] # AVX512_4FMAPS Disp8
+ v4fnmaddps zmm1, zmm4, XMMWORD PTR [edx-4128] # AVX512_4FMAPS
+ v4fmaddss xmm1, xmm4, [ecx] # AVX512_4FMAPS
+ v4fmaddss xmm1, xmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fmaddss xmm1{k7}, xmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fmaddss xmm1{k7}{z}, xmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fmaddss xmm1, xmm4, XMMWORD PTR [esp+esi*8-123456] # AVX512_4FMAPS
+ v4fmaddss xmm1, xmm4, XMMWORD PTR [edx+4064] # AVX512_4FMAPS Disp8
+ v4fmaddss xmm1, xmm4, XMMWORD PTR [edx+4096] # AVX512_4FMAPS
+ v4fmaddss xmm1, xmm4, XMMWORD PTR [edx-4096] # AVX512_4FMAPS Disp8
+ v4fmaddss xmm1, xmm4, XMMWORD PTR [edx-4128] # AVX512_4FMAPS
+ v4fnmaddss xmm1, xmm4, [ecx] # AVX512_4FMAPS
+ v4fnmaddss xmm1, xmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fnmaddss xmm1{k7}, xmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fnmaddss xmm1{k7}{z}, xmm4, XMMWORD PTR [ecx] # AVX512_4FMAPS
+ v4fnmaddss xmm1, xmm4, XMMWORD PTR [esp+esi*8-123456] # AVX512_4FMAPS
+ v4fnmaddss xmm1, xmm4, XMMWORD PTR [edx+4064] # AVX512_4FMAPS Disp8
+ v4fnmaddss xmm1, xmm4, XMMWORD PTR [edx+4096] # AVX512_4FMAPS
+ v4fnmaddss xmm1, xmm4, XMMWORD PTR [edx-4096] # AVX512_4FMAPS Disp8
+ v4fnmaddss xmm1, xmm4, XMMWORD PTR [edx-4128] # AVX512_4FMAPS
diff --git a/gas/testsuite/gas/i386/avx512_4fmaps_vl-intel.d b/gas/testsuite/gas/i386/avx512_4fmaps_vl-intel.d
new file mode 100644
index 0000000..a964a17
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx512_4fmaps_vl-intel.d
@@ -0,0 +1,78 @@
+#objdump: -dw -Mintel
+#name: i386 AVX512/4FMAPS_VL insns (Intel disassembly)
+#source: avx512_4fmaps_vl.s
+
+.*: +file format .*
+
+
+Disassembly of section \.text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9a 09[ ]*v4fmaddps xmm1,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 0f 9a 09[ ]*v4fmaddps xmm1\{k7\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 8f 9a 09[ ]*v4fmaddps xmm1\{k7\}\{z\},xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9a 8c f4 c0 1d fe ff[ ]*v4fmaddps xmm1,xmm4,XMMWORD PTR \[esp\+esi\*8-0x1e240\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9a 8a e0 0f 00 00[ ]*v4fmaddps xmm1,xmm4,XMMWORD PTR \[edx\+0xfe0\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9a 8a 00 10 00 00[ ]*v4fmaddps xmm1,xmm4,XMMWORD PTR \[edx\+0x1000\]
+[ ]*[a-f0-9]+:[ ]*62 f2 5f 08 9a 8a 00 f0 ff ff[ ]*v4fmaddps xmm1,xmm4,XMMWORD PTR \[edx-0x1000\]
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc
@ 2016-11-02 20:46 jkratoch
0 siblings, 0 replies; 14+ messages in thread
From: jkratoch @ 2016-11-02 20:46 UTC (permalink / raw)
To: archer-commits
The branch, users/jkratoch/dwarf5gcc has been updated
via 2e6305d981cdd51a7349fb82f83b00a9c52c81d1 (commit)
via e23eba971dd409b999dd83d8df0f842680c1c642 (commit)
via 4e56efac8b4d5e251e8edc13febec93992bd6eb4 (commit)
via c50730217d606814cda69a2bb6975730c0f1ee63 (commit)
via 7e3d947dd6ae45d71aa175b96fbd42a51e93b3f8 (commit)
via de4bfa865e5ea54f2ab5b7af53e4abe825da699e (commit)
via fb47deda560b754008c35b5ec13fe02ef0593019 (commit)
via c646b02fdcae5f37bd88f33a0c4683ef13ad5c82 (commit)
via 1964088538cbf9483a1c9f411ad9d9054ea7be90 (commit)
from e64174f66d8ad2bea6c9e10aff1a255965f0d540 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 25 +
bfd/Makefile.am | 28 +-
bfd/Makefile.in | 32 +-
bfd/archures.c | 7 +-
bfd/bfd-in2.h | 43 +
bfd/config.bfd | 15 +
bfd/configure | 2 +
bfd/configure.ac | 2 +
bfd/cpu-riscv.c | 79 +
bfd/elf-bfd.h | 1 +
bfd/elf32-microblaze.c | 4 +-
bfd/elfnn-riscv.c | 3160 +++++++++++++++++++++++++++
bfd/elfxx-riscv.c | 815 +++++++
bfd/elfxx-riscv.h | 33 +
bfd/libbfd.h | 38 +
bfd/reloc.c | 80 +
bfd/targets.c | 6 +
bfd/version.h | 2 +-
binutils/ChangeLog | 14 +
binutils/readelf.c | 20 +-
binutils/testsuite/binutils-all/objdump.exp | 4 +-
gas/ChangeLog | 21 +
gas/Makefile.am | 2 +
gas/Makefile.in | 17 +
gas/NEWS | 2 +
gas/config/tc-riscv.c | 2408 ++++++++++++++++++++
gas/config/tc-riscv.h | 101 +
gas/configure | 2 +-
gas/configure.ac | 2 +-
gas/configure.tgt | 6 +-
gas/doc/as.texinfo | 19 +
gas/doc/c-riscv.texi | 48 +
gas/testsuite/gas/all/gas.exp | 8 +-
gas/testsuite/gas/elf/elf.exp | 3 +
gas/testsuite/gas/riscv/riscv.exp | 23 +
gas/testsuite/gas/riscv/t_insns.d | 10 +
gas/testsuite/gas/riscv/t_insns.s | 2 +
gdb/ChangeLog | 23 +
gdb/config.in | 4 -
gdb/configure | 6 -
gdb/configure.ac | 6 -
gdb/defs.h | 1 -
gdb/mips-tdep.c | 77 +-
gdb/osabi.c | 1 -
include/ChangeLog | 10 +
include/dis-asm.h | 2 +
include/elf/riscv.h | 92 +
include/opcode/riscv-opc.h | 1160 ++++++++++
include/opcode/riscv.h | 342 +++
ld/ChangeLog | 20 +
ld/Makefile.am | 13 +
ld/Makefile.in | 15 +
ld/NEWS | 2 +-
ld/configure.tgt | 6 +
ld/emulparams/elf32lriscv-defs.sh | 42 +
ld/emulparams/elf32lriscv.sh | 2 +
ld/emulparams/elf64lriscv-defs.sh | 13 +
ld/emulparams/elf64lriscv.sh | 2 +
ld/emultempl/riscvelf.em | 68 +
ld/ldmain.c | 1 +
ld/plugin.c | 1 +
opcodes/ChangeLog | 11 +
opcodes/configure | 1 +
opcodes/configure.ac | 1 +
opcodes/disassemble.c | 8 +
opcodes/riscv-dis.c | 502 +++++
opcodes/riscv-opc.c | 624 ++++++
67 files changed, 10027 insertions(+), 113 deletions(-)
create mode 100644 bfd/cpu-riscv.c
create mode 100644 bfd/elfnn-riscv.c
create mode 100644 bfd/elfxx-riscv.c
create mode 100644 bfd/elfxx-riscv.h
create mode 100644 gas/config/tc-riscv.c
create mode 100644 gas/config/tc-riscv.h
create mode 100644 gas/doc/c-riscv.texi
create mode 100644 gas/testsuite/gas/riscv/riscv.exp
create mode 100644 gas/testsuite/gas/riscv/t_insns.d
create mode 100644 gas/testsuite/gas/riscv/t_insns.s
create mode 100644 include/elf/riscv.h
create mode 100644 include/opcode/riscv-opc.h
create mode 100644 include/opcode/riscv.h
create mode 100644 ld/emulparams/elf32lriscv-defs.sh
create mode 100644 ld/emulparams/elf32lriscv.sh
create mode 100644 ld/emulparams/elf64lriscv-defs.sh
create mode 100644 ld/emulparams/elf64lriscv.sh
create mode 100644 ld/emultempl/riscvelf.em
create mode 100644 opcodes/riscv-dis.c
create mode 100644 opcodes/riscv-opc.c
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3fbac7e..75ffab5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,28 @@
+2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
+ Andrew Waterman <andrew@sifive.com>
+
+ Add support for RISC-V architecture.
+ * Makefile.am: Add entries for riscv32-elf and riscv64-elf.
+ * config.bdf: Likewise.
+ * configure.ac: Likewise.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * archures.c: Add bfd_riscv_arch.
+ * reloc.c: Add riscv relocs.
+ * targets.c: Add riscv_elf32_vec and riscv_elf64_vec.
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Regenerate.
+ * elf-bfd.h: Add RISCV_ELF_DATA to enum elf_target_id.
+ * elfnn-riscv.c: New file.
+ * elfxx-riscv.c: New file.
+ * elfxx-riscv.h: New file.
+
+2016-10-31 Alan Modra <amodra@gmail.com>
+
+ PR 20748
+ * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Revert
+ 2016-05-13 change.
+
2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
* cpu-arc.c (arc_get_mach): Delete.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index e04be5a..0d5dd4a 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -148,6 +148,7 @@ ALL_MACHINES = \
cpu-plugin.lo \
cpu-powerpc.lo \
cpu-rs6000.lo \
+ cpu-riscv.lo \
cpu-rl78.lo \
cpu-rx.lo \
cpu-s390.lo \
@@ -235,6 +236,7 @@ ALL_MACHINES_CFILES = \
cpu-plugin.c \
cpu-powerpc.c \
cpu-rs6000.c \
+ cpu-riscv.c \
cpu-rl78.c \
cpu-rx.c \
cpu-s390.c \
@@ -671,18 +673,21 @@ BFD64_BACKENDS = \
elf64-hppa.lo \
elf64-ia64.lo \
elf64-ia64-vms.lo \
+ elfxx-ia64.lo \
+ elfn32-mips.lo \
elf64-mips.lo \
+ elfxx-mips.lo \
elf64-mmix.lo \
elf64-ppc.lo \
+ elf32-riscv.lo \
+ elf64-riscv.lo \
+ elfxx-riscv.lo \
elf64-s390.lo \
elf64-sh64.lo \
elf64-sparc.lo \
elf64-tilegx.lo \
elf64-x86-64.lo \
elf64.lo \
- elfn32-mips.lo \
- elfxx-ia64.lo \
- elfxx-mips.lo \
mach-o-aarch64.lo \
mach-o-x86-64.lo \
mmo.lo \
@@ -722,6 +727,7 @@ BFD64_BACKENDS_CFILES = \
elfxx-aarch64.c \
elfxx-ia64.c \
elfxx-mips.c \
+ elfxx-riscv.c \
mach-o-aarch64.c \
mach-o-x86-64.c \
mmo.c \
@@ -785,7 +791,9 @@ SOURCE_CFILES = \
BUILD_CFILES = \
elf32-aarch64.c elf64-aarch64.c \
- elf32-ia64.c elf64-ia64.c peigen.c pepigen.c pex64igen.c
+ elf32-ia64.c elf64-ia64.c \
+ elf32-riscv.c elf64-riscv.c \
+ peigen.c pepigen.c pex64igen.c
CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
@@ -955,6 +963,18 @@ elf64-ia64.c : elfnn-ia64.c
$(SED) -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
mv -f elf64-ia64.new elf64-ia64.c
+elf32-riscv.c : elfnn-riscv.c
+ rm -f elf32-riscv.c
+ echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf32-riscv.new
+ sed -e s/NN/32/g < $(srcdir)/elfnn-riscv.c >> elf32-riscv.new
+ mv -f elf32-riscv.new elf32-riscv.c
+
+elf64-riscv.c : elfnn-riscv.c
+ rm -f elf64-riscv.c
+ echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf64-riscv.new
+ sed -e s/NN/64/g < $(srcdir)/elfnn-riscv.c >> elf64-riscv.new
+ mv -f elf64-riscv.new elf64-riscv.c
+
peigen.c : peXXigen.c
rm -f peigen.c
$(SED) -e s/XX/pe/g < $(srcdir)/peXXigen.c > peigen.new
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 64658c5..661155c 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -481,6 +481,7 @@ ALL_MACHINES = \
cpu-plugin.lo \
cpu-powerpc.lo \
cpu-rs6000.lo \
+ cpu-riscv.lo \
cpu-rl78.lo \
cpu-rx.lo \
cpu-s390.lo \
@@ -568,6 +569,7 @@ ALL_MACHINES_CFILES = \
cpu-plugin.c \
cpu-powerpc.c \
cpu-rs6000.c \
+ cpu-riscv.c \
cpu-rl78.c \
cpu-rx.c \
cpu-s390.c \
@@ -1006,18 +1008,21 @@ BFD64_BACKENDS = \
elf64-hppa.lo \
elf64-ia64.lo \
elf64-ia64-vms.lo \
+ elfxx-ia64.lo \
+ elfn32-mips.lo \
elf64-mips.lo \
+ elfxx-mips.lo \
elf64-mmix.lo \
elf64-ppc.lo \
+ elf32-riscv.lo \
+ elf64-riscv.lo \
+ elfxx-riscv.lo \
elf64-s390.lo \
elf64-sh64.lo \
elf64-sparc.lo \
elf64-tilegx.lo \
elf64-x86-64.lo \
elf64.lo \
- elfn32-mips.lo \
- elfxx-ia64.lo \
- elfxx-mips.lo \
mach-o-aarch64.lo \
mach-o-x86-64.lo \
mmo.lo \
@@ -1057,6 +1062,7 @@ BFD64_BACKENDS_CFILES = \
elfxx-aarch64.c \
elfxx-ia64.c \
elfxx-mips.c \
+ elfxx-riscv.c \
mach-o-aarch64.c \
mach-o-x86-64.c \
mmo.c \
@@ -1122,7 +1128,9 @@ SOURCE_CFILES = \
BUILD_CFILES = \
elf32-aarch64.c elf64-aarch64.c \
- elf32-ia64.c elf64-ia64.c peigen.c pepigen.c pex64igen.c
+ elf32-ia64.c elf64-ia64.c \
+ elf32-riscv.c elf64-riscv.c \
+ peigen.c pepigen.c pex64igen.c
CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
SOURCE_HFILES = \
@@ -1412,6 +1420,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-pj.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-plugin.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-powerpc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-riscv.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-rl78.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-rs6000.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-rx.Plo@am__quote@
@@ -1501,6 +1510,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-or1k.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-pj.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-ppc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-riscv.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-rl78.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-rx.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-s390.Plo@am__quote@
@@ -1532,6 +1542,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-mips.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-mmix.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-ppc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-riscv.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-s390.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-sh64.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-sparc.Plo@am__quote@
@@ -1543,6 +1554,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-aarch64.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-ia64.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-mips.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-riscv.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-sparc.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-tilegx.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epoc-pe-arm.Plo@am__quote@
@@ -2080,6 +2092,18 @@ elf64-ia64.c : elfnn-ia64.c
$(SED) -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
mv -f elf64-ia64.new elf64-ia64.c
+elf32-riscv.c : elfnn-riscv.c
+ rm -f elf32-riscv.c
+ echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf32-riscv.new
+ sed -e s/NN/32/g < $(srcdir)/elfnn-riscv.c >> elf32-riscv.new
+ mv -f elf32-riscv.new elf32-riscv.c
+
+elf64-riscv.c : elfnn-riscv.c
+ rm -f elf64-riscv.c
+ echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf64-riscv.new
+ sed -e s/NN/64/g < $(srcdir)/elfnn-riscv.c >> elf64-riscv.new
+ mv -f elf64-riscv.new elf64-riscv.c
+
peigen.c : peXXigen.c
rm -f peigen.c
$(SED) -e s/XX/pe/g < $(srcdir)/peXXigen.c > peigen.new
diff --git a/bfd/archures.c b/bfd/archures.c
index af70b18..e503492 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -457,6 +457,9 @@ DESCRIPTION
.#define bfd_mach_cris_v0_v10 255
.#define bfd_mach_cris_v32 32
.#define bfd_mach_cris_v10_v32 1032
+. bfd_arch_riscv,
+.#define bfd_mach_riscv32 132
+.#define bfd_mach_riscv64 164
. bfd_arch_rl78,
.#define bfd_mach_rl78 0x75
. bfd_arch_rx, {* Renesas RX. *}
@@ -628,6 +631,7 @@ extern const bfd_arch_info_type bfd_pj_arch;
extern const bfd_arch_info_type bfd_plugin_arch;
extern const bfd_arch_info_type bfd_powerpc_archs[];
#define bfd_powerpc_arch bfd_powerpc_archs[0]
+extern const bfd_arch_info_type bfd_riscv_arch;
extern const bfd_arch_info_type bfd_rs6000_arch;
extern const bfd_arch_info_type bfd_rl78_arch;
extern const bfd_arch_info_type bfd_rx_arch;
@@ -717,8 +721,9 @@ static const bfd_arch_info_type * const bfd_archures_list[] =
&bfd_or1k_arch,
&bfd_pdp11_arch,
&bfd_powerpc_arch,
- &bfd_rs6000_arch,
+ &bfd_riscv_arch,
&bfd_rl78_arch,
+ &bfd_rs6000_arch,
&bfd_rx_arch,
&bfd_s390_arch,
&bfd_score_arch,
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 3c0ff9d..fdb7878 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2295,6 +2295,9 @@ enum bfd_architecture
#define bfd_mach_cris_v0_v10 255
#define bfd_mach_cris_v32 32
#define bfd_mach_cris_v10_v32 1032
+ bfd_arch_riscv,
+#define bfd_mach_riscv32 132
+#define bfd_mach_riscv64 164
bfd_arch_rl78,
#define bfd_mach_rl78 0x75
bfd_arch_rx, /* Renesas RX. */
@@ -4691,6 +4694,46 @@ number for the IN and OUT instructions */
number for the SBIC, SBIS, SBI and CBI instructions */
BFD_RELOC_AVR_PORT5,
+/* RISC-V relocations. */
+ BFD_RELOC_RISCV_HI20,
+ BFD_RELOC_RISCV_PCREL_HI20,
+ BFD_RELOC_RISCV_PCREL_LO12_I,
+ BFD_RELOC_RISCV_PCREL_LO12_S,
+ BFD_RELOC_RISCV_LO12_I,
+ BFD_RELOC_RISCV_LO12_S,
+ BFD_RELOC_RISCV_GPREL12_I,
+ BFD_RELOC_RISCV_GPREL12_S,
+ BFD_RELOC_RISCV_TPREL_HI20,
+ BFD_RELOC_RISCV_TPREL_LO12_I,
+ BFD_RELOC_RISCV_TPREL_LO12_S,
+ BFD_RELOC_RISCV_TPREL_ADD,
+ BFD_RELOC_RISCV_CALL,
+ BFD_RELOC_RISCV_CALL_PLT,
+ BFD_RELOC_RISCV_ADD8,
+ BFD_RELOC_RISCV_ADD16,
+ BFD_RELOC_RISCV_ADD32,
+ BFD_RELOC_RISCV_ADD64,
+ BFD_RELOC_RISCV_SUB8,
+ BFD_RELOC_RISCV_SUB16,
+ BFD_RELOC_RISCV_SUB32,
+ BFD_RELOC_RISCV_SUB64,
+ BFD_RELOC_RISCV_GOT_HI20,
+ BFD_RELOC_RISCV_TLS_GOT_HI20,
+ BFD_RELOC_RISCV_TLS_GD_HI20,
+ BFD_RELOC_RISCV_JMP,
+ BFD_RELOC_RISCV_TLS_DTPMOD32,
+ BFD_RELOC_RISCV_TLS_DTPREL32,
+ BFD_RELOC_RISCV_TLS_DTPMOD64,
+ BFD_RELOC_RISCV_TLS_DTPREL64,
+ BFD_RELOC_RISCV_TLS_TPREL32,
+ BFD_RELOC_RISCV_TLS_TPREL64,
+ BFD_RELOC_RISCV_ALIGN,
+ BFD_RELOC_RISCV_RVC_BRANCH,
+ BFD_RELOC_RISCV_RVC_JUMP,
+ BFD_RELOC_RISCV_RVC_LUI,
+ BFD_RELOC_RISCV_GPREL_I,
+ BFD_RELOC_RISCV_GPREL_S,
+
/* Renesas RL78 Relocations. */
BFD_RELOC_RL78_NEG8,
BFD_RELOC_RL78_NEG16,
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 6400722..98663fd 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -122,6 +122,7 @@ or1k*|or1knd*) targ_archs=bfd_or1k_arch ;;
pdp11*) targ_archs=bfd_pdp11_arch ;;
pj*) targ_archs="bfd_pj_arch bfd_i386_arch";;
powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
+riscv*) targ_archs=bfd_riscv_arch ;;
rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
s390*) targ_archs=bfd_s390_arch ;;
sh*) targ_archs=bfd_sh_arch ;;
@@ -1359,6 +1360,20 @@ case "${targ}" in
targ_selvecs="powerpc_pei_le_vec powerpc_pei_vec powerpc_pe_le_vec powerpc_pe_vec"
;;
+#ifdef BFD64
+ riscv32-*-*)
+ targ_defvec=riscv_elf32_vec
+ targ_selvecs="riscv_elf32_vec"
+ want64=true
+ ;;
+
+ riscv64-*-*)
+ targ_defvec=riscv_elf64_vec
+ targ_selvecs="riscv_elf32_vec riscv_elf64_vec"
+ want64=true
+ ;;
+#endif
+
rl78-*-elf)
targ_defvec=rl78_elf32_vec
;;
diff --git a/bfd/configure b/bfd/configure
index 8284069..68db12f 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -14475,6 +14475,8 @@ do
powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo $coff" ;;
powerpc_pei_le_vec) tb="$tb pei-ppc.lo peigen.lo $coff" ;;
powerpc_xcoff_vec) tb="$tb coff-rs6000.lo $xcoff" ;;
+ riscv_elf32_vec) tb="$tb elf32-riscv.lo elfxx-riscv.lo elf32.lo $elf" ;;
+ riscv_elf64_vec) tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf32.lo $elf"; target_size=64 ;;
rl78_elf32_vec) tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
rs6000_xcoff64_vec) tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
rs6000_xcoff64_aix_vec) tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 669cff7..6f11d29 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -606,6 +606,8 @@ do
powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo $coff" ;;
powerpc_pei_le_vec) tb="$tb pei-ppc.lo peigen.lo $coff" ;;
powerpc_xcoff_vec) tb="$tb coff-rs6000.lo $xcoff" ;;
+ riscv_elf32_vec) tb="$tb elf32-riscv.lo elfxx-riscv.lo elf32.lo $elf" ;;
+ riscv_elf64_vec) tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf32.lo $elf"; target_size=64 ;;
rl78_elf32_vec) tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
rs6000_xcoff64_vec) tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
rs6000_xcoff64_aix_vec) tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
diff --git a/bfd/cpu-riscv.c b/bfd/cpu-riscv.c
new file mode 100644
index 0000000..a938199
--- /dev/null
+++ b/bfd/cpu-riscv.c
@@ -0,0 +1,79 @@
+/* BFD backend for RISC-V
+ Copyright 2011-2016 Free Software Foundation, Inc.
+
+ Contributed by Andrew Waterman (andrew@sifive.com).
+ Based on MIPS target.
+
+ This file is part of BFD, the Binary File Descriptor library.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; see the file COPYING3. If not,
+ see <http://www.gnu.org/licenses/>. */
+
+#include "sysdep.h"
+#include "bfd.h"
+#include "libbfd.h"
+
+/* This routine is provided two arch_infos and returns an arch_info
+ that is compatible with both, or NULL if none exists. */
+
+static const bfd_arch_info_type *
+riscv_compatible (const bfd_arch_info_type *a, const bfd_arch_info_type *b)
+{
+ if (a->arch != b->arch)
+ return NULL;
+
+ /* Machine compatibility is checked in
+ _bfd_riscv_elf_merge_private_bfd_data. */
+
+ return a;
+}
+
+#define N(BITS_WORD, BITS_ADDR, NUMBER, PRINT, DEFAULT, NEXT) \
+ { \
+ BITS_WORD, /* bits in a word */ \
+ BITS_ADDR, /* bits in an address */ \
+ 8, /* 8 bits in a byte */ \
+ bfd_arch_riscv, \
+ NUMBER, \
+ "riscv", \
+ PRINT, \
+ 3, \
+ DEFAULT, \
+ riscv_compatible, \
+ bfd_default_scan, \
+ bfd_arch_default_fill, \
+ NEXT, \
+ }
+
+/* This enum must be kept in the same order as arch_info_struct. */
+enum
+{
+ I_riscv64,
+ I_riscv32
+};
+
+#define NN(index) (&arch_info_struct[(index) + 1])
+
+/* This array must be kept in the same order as the anonymous enum above,
+ and each entry except the last should end with NN (my enum value). */
+static const bfd_arch_info_type arch_info_struct[] =
+{
+ N (64, 64, bfd_mach_riscv64, "riscv:rv64", FALSE, NN (I_riscv64)),
+ N (32, 32, bfd_mach_riscv32, "riscv:rv32", FALSE, 0)
+};
+
+/* The default architecture is riscv:rv64. */
+
+const bfd_arch_info_type bfd_riscv_arch =
+ N (64, 64, 0, "riscv", TRUE, &arch_info_struct[0]);
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index af2af2c..50151cb 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -477,6 +477,7 @@ enum elf_target_id
XGATE_ELF_DATA,
TILEGX_ELF_DATA,
TILEPRO_ELF_DATA,
+ RISCV_ELF_DATA,
GENERIC_ELF_DATA
};
diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c
index 477e7b3..5c66808 100644
--- a/bfd/elf32-microblaze.c
+++ b/bfd/elf32-microblaze.c
@@ -3396,13 +3396,13 @@ microblaze_elf_finish_dynamic_sections (bfd *output_bfd,
{
asection *s;
- s = bfd_get_linker_section (dynobj, name);
+ s = bfd_get_section_by_name (output_bfd, name);
if (s == NULL)
dyn.d_un.d_val = 0;
else
{
if (! size)
- dyn.d_un.d_ptr = s->output_section->vma + s->output_offset;
+ dyn.d_un.d_ptr = s->vma;
else
dyn.d_un.d_val = s->size;
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2017-01-02 21:49 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-24 20:30 [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc jkratoch
-- strict thread matches above, loose matches on Subject: below --
2017-01-02 21:49 jkratoch
2016-12-17 15:04 jkratoch
2016-11-28 20:19 jkratoch
2016-11-23 22:20 jkratoch
2016-11-20 20:10 jkratoch
2016-11-19 8:49 jkratoch
2016-11-18 19:20 jkratoch
2016-11-16 17:58 jkratoch
2016-11-13 16:02 jkratoch
2016-11-07 22:51 jkratoch
2016-11-06 18:03 jkratoch
2016-11-02 20:55 jkratoch
2016-11-02 20:46 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).