From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128253 invoked by alias); 24 Dec 2016 20:30:35 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 128142 invoked by uid 9674); 24 Dec 2016 20:30:29 -0000 Date: Sat, 24 Dec 2016 20:30:00 -0000 Message-ID: <20161224203028.128039.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] users/jkratoch/dwarf5gcc: Merge remote-tracking branch 'gdb/master' into dwarf5gcc X-Git-Refname: refs/heads/users/jkratoch/dwarf5gcc X-Git-Reftype: branch X-Git-Oldrev: e5a9dc602b2337032f812bf9b5462d981eeef82a X-Git-Newrev: 1d5ee950ea1753fff1c6c80fc94095f5f7fcf98b X-SW-Source: 2016-q4/txt/msg00044.txt.bz2 List-Id: 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 Date: Sat Dec 24 21:27:32 2016 +0100 Merge remote-tracking branch 'gdb/master' into dwarf5gcc commit 65ac99a581582031008a48b70fcf6952dee26af2 Author: GDB Administrator Date: Sat Dec 24 00:00:18 2016 +0000 Automatic date update in version.in commit 4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95 Author: Maciej W. Rozycki 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 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 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 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 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 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 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 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 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 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 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 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 Date: Fri Dec 23 10:46:38 2016 -0600 Fix incorrect reference to source files gdb/gdbserver/ChangeLog: 2016-12-23 Luis Machado * win32-i386-low.c: Fix incorrect reference to a couple source files. * nto-x86-low.c: Likewise. commit d81c735641cf6245c837a0203e9efaf21e63c27e Author: Cary Coutant 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 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 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 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 Date: Fri Dec 23 12:29:42 2016 +0100 Updated email address. 2016-12-23 Bernhard Heckel gdb/Changelog: * MAINTAINERS (Write After Approval): Updated email address. Change-Id: I46b81392c2bd4b04e8e2aea2bb4bef2d0b509d24 commit 4eabf3446367832693a1baf145f6ff02baae197b Author: Joe Seymour 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 Date: Fri Dec 23 09:50:53 2016 +0100 Bump version to 2.28.51 bfd/ 2016-12-23 Tristan Gingold * version.m4: Bump version to 2.28.51 * configure: Regenerate. binutils/ 2016-12-23 Tristan Gingold * configure: Regenerate. gas/ 2016-12-23 Tristan Gingold * configure: Regenerate. gprof/ 2016-12-23 Tristan Gingold * configure: Regenerate. ld/ 2016-12-23 Tristan Gingold * configure: Regenerate. opcodes/ 2016-12-23 Tristan Gingold * configure: Regenerate. commit 9703a4ef4d020991873bb4464f4800fe0547263c Author: Tristan Gingold Date: Fri Dec 23 09:43:13 2016 +0100 Add marker in NEWS files binutils/ 2016-12-23 Tristan Gingold * NEWS: Add marker for 2.28. gas/ 2016-12-23 Tristan Gingold * NEWS: Add marker for 2.28. ld/ 2016-12-23 Tristan Gingold * NEWS: Add marker for 2.28. commit e0e7a9d436cb3c97ae89c9b0d2750a006746b233 Author: Tristan Gingold Date: Fri Dec 23 09:32:28 2016 +0100 Regenerate pot files. commit 7a0c0a1475bf41913c7f25a9e363df26c8f772a1 Author: Cary Coutant 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 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 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 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 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 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) : 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 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 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 Date: Thu Dec 22 00:00:35 2016 +0000 Automatic date update in version.in commit 87903eafb083abbf330c22fbf941fcbad700c098 Author: Jim Wilson 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 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 Date: Thu Dec 22 00:39:02 2016 +1030 ChangeLog formatting fixes commit e5b737de4a22c3099345f2613c106623d7f8d7e7 Author: Andrew Waterman 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 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 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 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 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 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 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 Date: Wed Dec 21 00:00:25 2016 +0000 Automatic date update in version.in commit 992f1ddc3be1f5195f18beaa801ac50f284b10c5 Author: Pedro Alves Date: Tue Dec 20 17:07:19 2016 +0000 gdb: Constify solib_find gdb/ChangeLog: 2016-12-20 Pedro Alves * 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) : Constify 'soname' parameter. (exec_file_find, solib_find): Constify 'in_pathname' parameter. commit 2693a26216c329bd7ec2aae7743409f572de4fa5 Author: Pedro Alves 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=, 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 , func_args=func_args@entry=0x0, errstring=errstring@entry=0x7922bf "", 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 Yao Qi 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 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 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 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 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 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 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 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 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 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 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 Date: Tue Dec 20 01:03:55 2016 -0800 Update testsuite Makefile with missing dependencies. 2016-12-20 Cary Coutant gold/ * testsuite/Makefile.am: Add missing dependencies on gcctestdir/ld or ../ld-new. * testsuite/Makefile.in: Regenerate. commit 092e01962dfbe7db9f5e57ca365b8ca56b4aa96a Author: Cary Coutant Date: Mon Dec 19 19:19:46 2016 -0800 Fix read-beyond-end-of-buffer error in script parsing. 2016-12-19 Cary Coutant gold/ PR gold/20949 * script.cc (Lex::get_token): Don't look ahead past NUL characters. commit 3e67a37820a2838cdbd50f3f697ddc929443ceaa Author: Andrew Waterman 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 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 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 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 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 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 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 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 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 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 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 Date: Tue Dec 20 00:00:32 2016 +0000 Automatic date update in version.in commit ee7ef219cbfbcf9217b50c4d30e719e2a6182a71 Author: Igor Kudrin 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 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 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 cmdarg_vec;^M (gdb) FAIL: gdb.gdb/selftest.exp: unknown source line (after step over argv initialization) step^M std::vector >::vector (this=0x7fffffffdc10) at ../../binutils-gdb/gdb/main.c:487^M 487 std::vector 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 * 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 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 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"), , 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 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 Date: Mon Dec 19 00:00:21 2016 +0000 Automatic date update in version.in commit 53eab0d3fa9e47acccf6073172663112a1471dad Author: GDB Administrator 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 + + * 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 + + * linker.c (generic_link_check_archive_element): Call target + bfd_link_add_symbols to add element symbols. + +2016-12-23 Alan Modra + + * 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 + + 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 + + * version.m4: Bump version to 2.28.51 + * configure: Regenerate. + +2016-12-23 Tristan Gingold + + * po/bfd.pot: Regenerate. + +2016-12-22 Alan Modra + + * 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 + Andreas Schwab + + * 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 + + * 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 + + * elfnn-riscv.c (bfd_riscv_get_max_alignment): Return bfd_vma + instead of unsigned int. + +2016-12-20 Andrew Waterman + Kuan-Lin Chen + + * 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 + + * 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 + + * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Improve + error message when linking elf32 and elf64. + +2016-12-19 Christian Groessler + + * elf32-arm.c (elf32_arm_popcount): Rename from 'popcount'. Make + 'sum' local variable signed. + 2016-12-16 fincs * 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.