From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54172 invoked by alias); 6 Nov 2016 18:03:44 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 54153 invoked by uid 9674); 6 Nov 2016 18:03:43 -0000 Date: Sun, 06 Nov 2016 18:03:00 -0000 Message-ID: <20161106180342.54069.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: 02e0217ac3479b8a6b3a41a57aafcfa5c496a628 X-Git-Newrev: db2060bfd45fedf12db5495376c2bee5526acc6c X-SW-Source: 2016-q4/txt/msg00010.txt.bz2 List-Id: The branch, users/jkratoch/dwarf5gcc has been updated via db2060bfd45fedf12db5495376c2bee5526acc6c (commit) via 62e34765c9b25094e6a7b460c3a1632efe51e03e (commit) via 9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b (commit) via 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b (commit) via 7989954c57444ef2a5963bb2bb0fae4652b846a6 (commit) via b437d035ddf4e4c0c566c577ee059790ed28ad9b (commit) via 848ac659685fba46ce8816400db705f60c8040f7 (commit) via c42608e136ef1eb52f65002d5e7efe6d62b7f285 (commit) via feb4bea70a297eb6316d1b0685bbbb8095b7fb29 (commit) via d46a21655318492db1e6113972fb02ab49eae75f (commit) via b19ea8d28b1c06c2973738c1cda076f895ac3ad0 (commit) via ce1b0a458aed5fea182c8eb4a8cf1161d1c0a20f (commit) via 13be4805fe268e9ac61e6a6b22d19b8e6e7738bb (commit) via 4f7eddc4d1a03c982a4f0361879bc5347b921b10 (commit) via 88ba72a2dfae2e71e3b0798ac74c6853749fd502 (commit) via 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1 (commit) via 8f1732fc2a11dc2dbece0800d4ed6f011590d3ad (commit) via 88bd15396002102beedf49c87adee7b16c2bb409 (commit) via b709ef7ca12d963678c6f73b10a20bea60cfb0df (commit) via 6b211b9cc3c61f514423869af51a17e4c2bc7531 (commit) via aed6eddb24be670fa619b844c651095bb65396d1 (commit) via cdf5a07c75b47481da1e99ee91ee860c2a6bb5f6 (commit) via b96645f1a1e6084ed6a20ddf615bdc4d2487a9c9 (commit) via 51a789c3bf3d9b04d3d81493fda7f2514ae43add (commit) via 98d0e90ccafe18d0b6392fa891e4b3d77299ae95 (commit) via 5a736821eff3aa4a8da237778526f9f700759c7a (commit) via bdfe53e3cfebb392b1a0ef50fdd02faafec6dc63 (commit) via 90f61cceac73fe40dcd21b3590c247bfa624ac00 (commit) via 2e27220211249bfeb38b10e630b33fbd170fce6c (commit) via 06fe285fd293e999481ec8f5c619658aa5e3b48b (commit) via 91fdca6f26cf33573364b5bd313ed4bed6a547cc (commit) via ecf64ec654afe916099f0fe482c2dae417913905 (commit) via 2fe9c2a0c9fe3ca2f0fa94ea7219a8a4a299ac6a (commit) via d039fef395c1b5fd781acaf1c611f96f654f5f91 (commit) via 8b89fe14b522cd6e5d160ff17defa8ecec243b11 (commit) via 722bcb33bf0383487c1af0e7d401e30301e94e2b (commit) via 034b77cf7875c4ea5aaf3d06dfea2e422abc47db (commit) via 7148c36989ee64f15ac9618543309cd7311b6015 (commit) via 04180708eff91ddd3a9572bd4b517ccce5850db0 (commit) via a97c97e8d7c818886f0f7beb3fd5dee0042b4a07 (commit) via 833b7ab5008b769dca6db6d5ee1d21d33e730132 (commit) via 22f13eb869197fc45a0da2a8a96b03d39809862e (commit) via c0f4a997c26760d2584946196ee5c411d1a632a6 (commit) via 579c6ad9830058ccebf9c592d692c25fac6285c7 (commit) via cd6c3b4ffc4ea6f56f12581419e2eed885441beb (commit) via d19280adb5b2d1470dc39756ccac8a8fa2af8321 (commit) via 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356 (commit) via 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620 (commit) via 8b55a7e4e5b30877e924e4b0ed0437d16ccdcedf (commit) via bada43421274615d0d5f629a61a60b7daa71bc15 (commit) via 225b362d1036121a611f3dd17fdb6780070ba51f (commit) via c8c064b0dc4ef58b47151e1dfb207262a24ff2d1 (commit) via 7d5697f9e27f79e1decc1215f33088cee9f7d863 (commit) from 02e0217ac3479b8a6b3a41a57aafcfa5c496a628 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit db2060bfd45fedf12db5495376c2bee5526acc6c Merge: 02e0217 62e3476 Author: Jan Kratochvil Date: Sun Nov 6 19:02:26 2016 +0100 Merge remote-tracking branch 'gdb/master' into dwarf5gcc commit 62e34765c9b25094e6a7b460c3a1632efe51e03e Author: GDB Administrator Date: Sun Nov 6 00:00:24 2016 +0000 Automatic date update in version.in commit 9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b Author: Nathan Sidwell Date: Thu Nov 3 20:42:23 2016 -0700 Fix gas crash with unreasonably long lines gas/ * input-scrub.c (partial_size): Make size_t. (buffer_length): Likewise. Adjust meaning. (struct input_save): Adjust partial_size type. (input_scrub_reinit): New. (input_scrub_push, input_scrub_begin): Use it. (input_scrub_next_buffer): Fix buffer extension logic. Only scan newly read buffer for newline. commit 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b Author: Simon Marchi Date: Fri Nov 4 23:47:32 2016 -0400 Fix a few typos gdb/ChangeLog: * maint.c (scoped_command_stats::scoped_command_stats): Fix typo. * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise. * ppcobsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. * ui-out.c (ui_out_new): Likewise. * utils.c (init_page_info): Likewise. (reset_prompt_for_continue_wait_time): Likewise. * windows-nat.c (windows_init_thread_list): Likewise. * xtensa-tdep.c (call0_analyze_prologue): Likewise. commit 7989954c57444ef2a5963bb2bb0fae4652b846a6 Author: GDB Administrator Date: Sat Nov 5 00:00:20 2016 +0000 Automatic date update in version.in commit b437d035ddf4e4c0c566c577ee059790ed28ad9b Author: Andrew Burgess Date: Tue Sep 27 12:06:01 2016 +0100 arc/nps400: Validate address type operands correctly When we match against an address type operand within an instruction it is important that we match exactly the right address type operand early on, during the opcode selection phase. If we wait until the operand insertion phase to check that we have the correct address operand, then it is too late to select an alternative opcode. This becomes important only when we have multiple opcodes with the same mnemonic, and operand lists that differ only in the type of the address operands. This commit fixes this issue, and adds some example instructions that require this issue to be fixed (the instructions are identical except for the address type operand). gas/ChangeLog: * config/tc-arc.c (find_opcode_match): Use insert function to validate matching address type operands. * testsuite/gas/arc/nps400-10.d: New file. * testsuite/gas/arc/nps400-10.s: New file. opcodes/ChangeLog: * arc-opc.c (arc_flag_operands): Add F_DI14. (arc_flag_classes): Add C_DI14. * arc-nps400-tbl.h: Add new exc instructions. commit 848ac659685fba46ce8816400db705f60c8040f7 Author: Andrew Burgess Date: Thu Aug 11 16:04:59 2016 +0100 objcopy: Close some memory leaks in error paths Closes some memory leaks within objcopy for error paths. binutils/ChangeLog: * objcopy.c (copy_section): Add extra calls to free for error paths. commit c42608e136ef1eb52f65002d5e7efe6d62b7f285 Author: Tom Tromey Date: Sun Aug 21 21:47:14 2016 -0600 set default-directory in dwarf-browse I've been using dwarf-mode.el again recently and I found it mildly annoying that the mode doesn't set default-directory. Setting it means that operations in the dwarf-browsing buffer default to the directory holding the object file being investigated. This bumps the version number as well so that updating it via the package manager works properly. 2016-11-04 Tom Tromey * dwarf-mode.el (dwarf-browse): Set default-directory. Bump version number. commit feb4bea70a297eb6316d1b0685bbbb8095b7fb29 Author: Andreas Krebbel Date: Fri Nov 4 19:48:35 2016 +0100 S/390: Fix 16 bit pc relative relocs. Since the bpp instruction has been added the 16 bit wide pc relative relocs might occur at offset 2 as well at offset 4 in an instruction. With this patch the different adjustment is passed from md_gather_operand to md_apply_fix via fx_pcrel_adjust field in the fix data structure. No regressions on s390x. gas/ChangeLog: 2016-11-04 Andreas Krebbel * config/tc-s390.c (md_gather_operands): Set fx_pcrel_adjust. (md_apply_fix): Use/Set fx_pcrel_adjust. * testsuite/gas/s390/zarch-zEC12.d: Add bpp reloc test pattern. * testsuite/gas/s390/zarch-zEC12.s: Add bpp reloc test. commit d46a21655318492db1e6113972fb02ab49eae75f Author: Thomas Preud'homme Date: Fri Nov 4 16:32:08 2016 +0000 Commit missing ChangeLog entry for Cortex-M33 support 2016-11-04 Thomas Preud'homme include/ * opcode/arm.h (ARM_AEXT_V8M_MAIN_DSP): Define. (ARM_AEXT2_V8M_MAIN_DSP): Likewise. (ARM_ARCH_V8M_MAIN_DSP): Likewise. commit b19ea8d28b1c06c2973738c1cda076f895ac3ad0 Author: Thomas Preud'homme Date: Fri Nov 4 16:24:59 2016 +0000 Add support for ARM Cortex-M33 processor 2016-11-04 Thomas Preud'homme gas/ * config/tc-arm.c (cortex-m33): Declare new processor. * doc/c-arm.texi (-mcpu ARM command line option): Document new Cortex-M33 processor. * NEWS: Mention ARM Cortex-M33 support. commit ce1b0a458aed5fea182c8eb4a8cf1161d1c0a20f Author: Thomas Preud'homme Date: Fri Nov 4 16:24:08 2016 +0000 Add support for ARM Cortex-M23 processor 2016-11-04 Thomas Preud'homme gas/ * config/tc-arm.c (cortex-m23): Declare new processor. * doc/c-arm.texi (-mcpu ARM command line option): Document new Cortex-M23 processor. * NEWS: Mention ARM Cortex-M23 support. commit 13be4805fe268e9ac61e6a6b22d19b8e6e7738bb Author: Palmer Dabbelt Date: Fri Nov 4 16:08:31 2016 +0000 Add maintainers for RISC-V target. * MAINTAINERS: Add myself and Andrew Waterman as maintainers for the RISC-V target. commit 4f7eddc4d1a03c982a4f0361879bc5347b921b10 Author: Palmer Dabbelt Date: Fri Nov 4 14:18:06 2016 +0000 Update RISC-V documentation and make sure that it is included in the gas info file. * Makefile.am (CPU_DOCS): Add c-riscv.texi. * Makefile.in: Regenerate. * doc/all.texi: Set RISCV. * doc/as.texinfo: Add RISCV options. Add RISC-V-Dependent node. Include c-riscv.texi. * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts. commit 88ba72a2dfae2e71e3b0798ac74c6853749fd502 Author: Nick Clifton Date: Fri Nov 4 13:57:40 2016 +0000 Remove support for $PLATFORM in rpath search paths. * emultempl/elf32.em (search_needed): Remove use of getauxval and inclusion of . Replace support for $PLATFORM with a warning message. * configure.ac (AC_CHECK_FUNCS): Remove getauxval. * configure: Regenerate. * config.in: Regenerate. commit 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1 Author: Nick Clifton Date: Fri Nov 4 13:50:01 2016 +0000 Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only. * targets.c (bfd_target_vector): Only add riscv_elf32_vec target when supporting 64-bit BFD targets. commit 8f1732fc2a11dc2dbece0800d4ed6f011590d3ad Author: Andrew Burgess Date: Tue Sep 20 14:21:05 2016 +0100 ld: Allow EXCLUDE_FILE to be used outside of the section list Currently the EXCLUDE_FILE linker script construct can only be used within the input section list, and applied only to the section pattern immediately following the EXCLUDE_FILE. For example: *.o (EXCLUDE_FILE (a.o) .text .rodata) In this case all sections matching '.text' are included from all files matching '*.o' but not from the file 'a.o'. All sections matching '.rodata' are also included from all files matching '*.o' (incluing from 'a.o'). If the user wants to restrict the inclusion of section '.rodata' so that this too is not taken from the file 'a.o' then the above example must be extended like this: *.o (EXCLUDE_FILE (a.o) .text EXCLUDE_FILE (a.o) .rodata) However, due to the internal grammar of the linker script language the snippet 'EXCLUDE_FILE (a.o) .text' is parsed by a pattern called 'wildcard_spec'. The same 'wildcard_spec' pattern is also used to parse the input file name snippet '*.o' in the above examples. As a result of this pattern reuse within the linker script grammar then the following is also a valid linker script construct: EXCLUDE_FILE (a.o) *.o (.text .rodata) However, though the linker accepts this without complaint the EXCLUDE_FILE part is silently ignored and has no effect. This commit takes this last example and makes it a useful, valid, construct. The last example now means to include sections '.text' and '.rodata' from all files matching '*.o' except for the file 'a.o'. If the list of input sections is long, and the user knows that the file exclusion applies across the list then the second form might be a clearer alternative to replicating the EXCLUDE_FILE construct. I've added a set of tests for EXCLUDE_FILE to the linker, including tests for the new functionality. ld/ChangeLog: * ldlang.h (struct lang_wild_statement_struct): Add exclude_name_list field. * ldlang.c (walk_wild_file_in_exclude_list): New function. (walk_wild_consider_section): Use new walk_wild_file_in_exclude_list function. (walk_wild_file): Add call to walk_wild_file_in_exclude_list. (print_wild_statement): Print new exclude_name_list field. (lang_add_wild): Initialise new exclude_name_list field. * testsuite/ld-scripts/exclude-file-1.d: New file. * testsuite/ld-scripts/exclude-file-1.map: New file. * testsuite/ld-scripts/exclude-file-1.t: New file. * testsuite/ld-scripts/exclude-file-2.d: New file. * testsuite/ld-scripts/exclude-file-2.map: New file. * testsuite/ld-scripts/exclude-file-2.t: New file. * testsuite/ld-scripts/exclude-file-3.d: New file. * testsuite/ld-scripts/exclude-file-3.map: New file. * testsuite/ld-scripts/exclude-file-3.t: New file. * testsuite/ld-scripts/exclude-file-4.d: New file. * testsuite/ld-scripts/exclude-file-4.map: New file. * testsuite/ld-scripts/exclude-file-4.t: New file. * testsuite/ld-scripts/exclude-file-a.s: New file. * testsuite/ld-scripts/exclude-file-b.s: New file. * testsuite/ld-scripts/exclude-file.exp: New file. * ld.texinfo (Input Section Basics): Update description of EXCLUDE_FILE to cover the new features. * NEWS: Mention new EXCLUDE_FILE usage. commit 88bd15396002102beedf49c87adee7b16c2bb409 Author: Andrew Burgess Date: Tue Sep 20 15:25:55 2016 +0100 ld: Create test object files based on source file name When creating object files during testing, base the name of the object file on the name of the source file, rather than using dump0.o, dump1.o, etc. There's a few places where we have multiple source files with the same name but in different directories, in these cases, even after this change, we still add a numerical suffix to make the object file names unique. So if we have 'foo/src.s' and 'bar/src.s', we will create object files 'src.o' and 'src1.o'. Update the few tests that hard code the object file name into the expected test results. ld/ChangeLog: * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names based on the original source file name. * testsuite/ld-discard/extern.d: Update object file names. * testsuite/ld-discard/start.d: Likewise. * testsuite/ld-discard/static.d: Likewise. * testsuite/ld-elf/orphan-8.map: Likewise. commit b709ef7ca12d963678c6f73b10a20bea60cfb0df Author: Andrew Burgess Date: Sun Oct 30 08:11:30 2016 +0000 ld/xc16x: This target does not support -shared Add the xc16x-elf target to the list of targets that do not support the -shared option. Being missing from this list was causing the linker to add '-z norelro' to the link line of many tests, which in turn caused these tests to fail. ld/ChangeLog: * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add xc16x-*-elf to the list of targets that don't support -shared. commit 6b211b9cc3c61f514423869af51a17e4c2bc7531 Author: Andrew Burgess Date: Tue Sep 20 11:18:12 2016 +0100 ld: Rename pattern within yacc grammar file Rename file_NAME_list to section_NAME_list in the linker's grammar file. This rename reflects how the pattern is now being used, and makes the grammar easier to understand. There should be no functional change after this commit. ld/ChangeLog: * ldgram.y: Rename file_NAME_list to section_NAME_list throughout. commit aed6eddb24be670fa619b844c651095bb65396d1 Author: GDB Administrator Date: Fri Nov 4 00:00:13 2016 +0000 Automatic date update in version.in commit cdf5a07c75b47481da1e99ee91ee860c2a6bb5f6 Author: Manish Goregaokar Date: Sat Oct 29 05:55:58 2016 -0700 Add support for the sizeof function in Rust 2016-10-29 Manish Goregaokar gdb/ChangeLog: * rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF` gdb/testsuite/ChangeLog: * gdb.rust/simple.exp: Add tests for `sizeof(expr)` commit b96645f1a1e6084ed6a20ddf615bdc4d2487a9c9 Author: Manish Goregaokar Date: Fri Oct 28 18:00:43 2016 -0700 Add support for untagged unions in Rust 2016-10-28 Manish Goregaokar gdb/ChangeLog: * rust-lang.c (rust_union_is_untagged): Add function to check if a union is an untagged unioni (rust_val_print): Handle printing of untagged union values (rust_print_type): Handle printing of untagged union types (rust_evaluate_subexp): Handle evaluating field access on untagged unions commit 51a789c3bf3d9b04d3d81493fda7f2514ae43add Author: Manish Goregaokar Date: Thu Oct 27 16:46:34 2016 -0700 Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums 2016-10-27 Manish Goregaokar gdb/ChangeLog: * rust-lang.c (rust_get_disr_info): Treat univariant enums without discriminants as encoded enums with a real field * rust-lang.c (rust_evaluate_subexp): Handle field access on encoded struct-like enums gdb/testsuite/ChangeLog: * simple.rs: Add test for univariant enums without discriminants and for encoded struct-like enums * simple.exp: Add test expectations commit 98d0e90ccafe18d0b6392fa891e4b3d77299ae95 Author: Graham Markall Date: Wed Oct 26 17:53:21 2016 +0100 [ARC] Fix ldbit test on 32-bit systems The long immediate operand chosen for one of the ldbit tests is equivalent to a small negative value that would fit inside an s9 operand, leading to the assembler to choose an unexpected (but legitimate) encoding of the instruction on 32-bit systems, and therefore causing the test to fail. This commit fixes the test by changing the offending limm value so that it can no longer be interpreted as an s9 operand. gas/ChangeLog: * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm operands are out of the range of an s9, in order to fix the test. * testsuite/gas/arc/nps400-6.d: Updated to match new expected output. commit 5a736821eff3aa4a8da237778526f9f700759c7a Author: Graham Markall Date: Tue Oct 18 20:10:25 2016 +0100 arc: Implement NPS-400 dcmac instruction gas/ChangeLog: * testsuite/gas/arc/nps-400-9.d: Added. * testsuite/gas/arc/nps-400-9.s: Added. include/ChangeLog: * opcode/arc.h: Add PROTOCOL_DECODE to insn_class_t. opcodes/ChangeLog: * arc-dis.c (arc_insn_length): Return length 8 for instructions with major opcode 0xa. * arc-nps-400-tbl.h: Add dcmac instruction. * arc-opc.c (arc_operands): Added operands for dcmac instruction. (insert_nps_rbdouble_64): Added. (extract_nps_rbdouble_64): Added. (insert_nps_proto_size): Added. (extract_nps_proto_size): Added. commit bdfe53e3cfebb392b1a0ef50fdd02faafec6dc63 Author: Andrew Burgess Date: Wed Jul 6 19:39:55 2016 +0100 arc: Change max instruction length to 64-bits The current handling for arc instructions longer than 32-bits is all handled as a special case in both the assembler and disassembler. The problem with this approach is that it leads to code duplication, selecting a long instruction is exactly the same process as selecting a short instruction, except over more bits, in both cases we select based on bit comparison, and initial operand insertion and extraction. This commit unifies both the long and short instruction worlds, converting the core opcodes library from being largely 32-bit focused, to being largely 64-bit focused. The changes are, on the whole, not too much. There's obviously a lot of type changes but otherwise the bulk of the code just works. Most of the actual functional changes are to code that previously handled the longer 48 or 64 bit instructions. The insert/extract handlers for these have now been brought into line with the short instruction insert/extract handlers. All of the special case handling code that was previously added has now been removed again. Overall, this commit reduces the amount of code in the arc assembler and disassembler. gas/ChangeLog: * config/tc-arc.c (struct arc_insn): Change type of insn field. (md_number_to_chars_midend): Support 6- and 8-byte values. (emit_insn0): Update debug output. (find_opcode_match): Likewise. (build_fake_opcode_hash_entry): Delete. (find_special_case_long_opcode): Delete. (find_special_case): Remove long format special case handling. (insert_operand): Change instruction type and update debug print format. (assemble_insn): Change instruction type, update debug print formats, and remove unneeded assert. include/ChangeLog: * opcode/arc.h (struct arc_opcode): Change type of opcode and mask fields. (struct arc_long_opcode): Delete. (struct arc_operand): Change types for insert and extract handlers. opcodes/ChangeLog: * arc-dis.c (struct arc_operand_iterator): Remove all fields relating to long instruction processing, add new limm field. (OPCODE): Rename to... (OPCODE_32BIT_INSN): ...this. (OPCODE_AC): Delete. (skip_this_opcode): Handle different instruction lengths, update macro name. (special_flag_p): Update parameter type. (find_format_from_table): Update for more instruction lengths. (find_format_long_instructions): Delete. (find_format): Update for more instruction lengths. (arc_insn_length): Likewise. (extract_operand_value): Update for more instruction lengths. (operand_iterator_next): Remove code relating to long instructions. (arc_opcode_to_insn_type): New function. (print_insn_arc):Update for more instructions lengths. * arc-ext.c (extInstruction_t): Change argument type. * arc-ext.h (extInstruction_t): Change argument type. * arc-fxi.h: Change type unsigned to unsigned long long extensively throughout. * arc-nps400-tbl.h: Add long instructions taken from arc_long_opcodes table in arc-opc.c. * arc-opc.c: Update parameter types on insert/extract handlers. (arc_long_opcodes): Delete. (arc_num_long_opcodes): Delete. (arc_opcode_len): Update for more instruction lengths. commit 90f61cceac73fe40dcd21b3590c247bfa624ac00 Author: Graham Markall Date: Thu Oct 13 09:34:16 2016 +0100 arc: Swap highbyte and lowbyte in print_insn_arc highbyte and lowbyte actually refer to the low byte and the high byte respectively, but are used consistently in this swapped order. This commit swaps them round so that highbyte refers to the high byte and lowbyte refers to the low byte. There should be no functional change after this commit. opcodes/ChangeLog: * arc-dis.c (print_insn_arc): Swap highbyte and lowbyte. commit 2e27220211249bfeb38b10e630b33fbd170fce6c Author: Graham Markall Date: Wed Jul 6 19:01:53 2016 +0100 opcodes/arc: Make some macros 64-bit safe In preparation to moving to a world where arc instructions can be 2, 4, 6, or 8 bytes long, make some macros 64-bit safe. There should be no functional change after this commit. include/ChangeLog: * opcode/arc.h: Make macros 64-bit safe. commit 06fe285fd293e999481ec8f5c619658aa5e3b48b Author: Graham Markall Date: Thu Sep 29 19:25:25 2016 +0100 arc: Replace ARC_SHORT macro with arc_opcode_len function In preparation for moving to a world where arc instructions can be 2, 4, 6, or 8 bytes in length, replace the ARC_SHORT macro (which is either true of false) with an arc_opcode_len function that returns a length in bytes. There should be no functional change after this commit. gas/ChangeLog: * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with arc_opcode_len. include/ChangeLog: * opcode/arc.h (arc_opcode_len): Declare. (ARC_SHORT): Delete. opcodes/ChangeLog: * arc-dis.c (find_format_from_table): Replace use of ARC_SHORT with arc_opcode_len. (find_format_long_instructions): Likewise. * arc-opc.c (arc_opcode_len): New function. commit 91fdca6f26cf33573364b5bd313ed4bed6a547cc Author: Graham Markall Date: Wed Jul 6 15:04:37 2016 +0100 gas/arc: Replace short_insn flag with insn length field When assembling an instruction replace the short_insn boolean flag with an integer field for holding the instruction length. This is in preparation for moving to a world where instructions can be 2, 4, 6, or 8 bytes in length. gas/ChangeLog: * config/tc-arc.c (struct arc_insn): Replace short_insn flag with len field. (apply_fixups): Update to use len field. (emit_insn0): Simplify code, making use of len field. (md_convert_frag): Update to use len field. (assemble_insn): Update to use len field. commit ecf64ec654afe916099f0fe482c2dae417913905 Author: Andrew Burgess Date: Thu Sep 29 17:51:16 2016 +0100 arc/opcodes/nps400: Fix some instruction masks A few masks were incorrect, there were opcode bits that lives outside of the instruction mask, the effected instructions are decode1, zncv, and efabgt. Previously these instructions would assemble and disassemble correctly, and a correctly encoded binary should behave no differently. The only difference would be seen in a few incorrectly encoded binaries, previously these would have decoded to the above instructions, while now they will not. opcodes/ChangeLog: * arc-nps400-tbl.h: Fix some instruction masks. commit 2fe9c2a0c9fe3ca2f0fa94ea7219a8a4a299ac6a Author: Siddhesh Poyarekar Date: Thu Oct 20 00:29:34 2016 +0530 New option falkor for Qualcomm server part This adds an option for the Qualcomm falkor core, the corresponding gcc patch is here: https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00262.html This was tested with aarch64 and armhf builds and make check and also by building and running SPEC2006. * config/tc-aarch64.c (aarch64_cpus): Add falkor. * config/tc-arm.c (arm_cpus): Likewise. * doc/c-aarch64.texi: Likewise. * doc/c-arm.texi: Likewise. commit d039fef395c1b5fd781acaf1c611f96f654f5f91 Author: H.J. Lu Date: Thu Nov 3 09:55:01 2016 -0700 X86: Reuse opcode 0x80 decoder for opcode 0x82 Since opcode 0x82 is an alias of opcode 0x80, we can reuse opcode 0x80 decoder. * i386-dis.c (REG_82): Removed. (X86_64_82_REG_0): Likewise. (X86_64_82_REG_1): Likewise. (X86_64_82_REG_2): Likewise. (X86_64_82_REG_3): Likewise. (X86_64_82_REG_4): Likewise. (X86_64_82_REG_5): Likewise. (X86_64_82_REG_6): Likewise. (X86_64_82_REG_7): Likewise. (X86_64_82): New. (dis386): Use X86_64_82 instead of REG_82. (reg_table): Remove REG_82. (x86_64_table): Add X86_64_82. Remove X86_64_82_REG_0, X86_64_82_REG_1, X86_64_82_REG_2, X86_64_82_REG_3, X86_64_82_REG_4, X86_64_82_REG_5, X86_64_82_REG_6 and X86_64_82_REG_7. commit 8b89fe14b522cd6e5d160ff17defa8ecec243b11 Author: H.J. Lu Date: Thu Nov 3 09:13:01 2016 -0700 X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode Update x86 disassembler to treat opcode 0x82 as an aliase of opcode 0x80 in 32-bit mode. gas/ PR binutils/20754 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82. * testsuite/gas/i386/opcode-intel.d: Updated. * testsuite/gas/i386/opcode.d: Likewise. opcodes/ PR binutils/20754 * i386-dis.c (REG_82): New. (X86_64_82_REG_0): Likewise. (X86_64_82_REG_1): Likewise. (X86_64_82_REG_2): Likewise. (X86_64_82_REG_3): Likewise. (X86_64_82_REG_4): Likewise. (X86_64_82_REG_5): Likewise. (X86_64_82_REG_6): Likewise. (X86_64_82_REG_7): Likewise. (dis386): Use REG_82. (reg_table): Add REG_82. (x86_64_table): Add X86_64_82_REG_0, X86_64_82_REG_1, X86_64_82_REG_2, X86_64_82_REG_3, X86_64_82_REG_4, X86_64_82_REG_5, X86_64_82_REG_6 and X86_64_82_REG_7. commit 722bcb33bf0383487c1af0e7d401e30301e94e2b Author: Yao Qi Date: Thu Nov 3 16:09:42 2016 +0000 Replace YY_NULL with YY_NULLPTR in LANG-exp.c As we require c++11, GDB fails to build if bison is not new enough. I see the following error on the system (fedora 19) that bison is 2.6.4, g++ -std=gnu++11 .... \ -c -o ada-exp.o -MT ada-exp.o -MMD -MP -MF .deps/ada-exp.Tpo 'if test -f ada-exp.c; then echo ada-exp.c; else echo ../../binutils-gdb/gdb/ada-exp.c; fi` In file included from ../../binutils-gdb/gdb/ada-exp.y:731:0: ada-lex.c:113:0: error: "YY_NULL" redefined [-Werror] #define YY_NULL 0 ^ ada-exp.c:158:0: note: this is the location of the previous definition # define YY_NULL nullptr ^ cc1plus: all warnings being treated as errors make: *** [ada-exp.o] Error 1 Both ada-exp.c and ada-lex.c has macro YY_NULL, like this, $ cat 1.c # ifndef YY_NULL # if defined __cplusplus && 201103L <= __cplusplus # define YY_NULL nullptr # else # define YY_NULL 0 # endif # endif #define YY_NULL 0 as we can see, YY_NULL is defined differently (nullptr vs 0) $ g++ -std=c++11 -Wall 1.c -c 1.c:9:0: warning: "YY_NULL" redefined #define YY_NULL 0 ^ 1.c:3:0: note: this is the location of the previous definition # define YY_NULL nullptr ^ $ g++ -Wall 1.c -c bison renames YY_NULL to YY_NULLPTR in 2013 Nov, https://lists.gnu.org/archive/html/bison-patches/2013-11/msg00002.html and bison released later than 2013 Nov have this patch. Bison 3.0.2, released on 2013 Dec, is OK. The fix is to replace YY_NULL with YY_NULLPTR via sed. With old bison, YY_NULL becomes YY_NULLPTR; with new bison, YY_NULLPTR becomes YY_NULLPTRPTR, gdb: 2016-11-03 Yao Qi * Makefile.in (.y.c): Replace YY_NULL with YY_NULLPTR. commit 034b77cf7875c4ea5aaf3d06dfea2e422abc47db Author: Tristan Gingold Date: Tue Sep 27 15:06:51 2016 +0200 Deprecate old platforms bfd/ * config.bfd: Deprecate many old triplets. commit 7148c36989ee64f15ac9618543309cd7311b6015 Author: H.J. Lu Date: Thu Nov 3 08:38:13 2016 -0700 X86: Rename REG_82 to REG_83 The REG_82 entry in x86 disassembler is for opcode 0x83, not opcode 0x82. * i386-dis.c (REG_82): Renamed to ... (REG_83): This. (dis386): Updated. (reg_table): Likewise. commit 04180708eff91ddd3a9572bd4b517ccce5850db0 Author: Yao Qi Date: Thu Nov 3 14:35:14 2016 +0000 Remove GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION Both of them are used in conversion. We can remove them since the conversion is done. There are many architectures only have one breakpoint instruction, so their gdbarch methods breakpoint_kind_from_pc and sw_breakpoint_from_kind look very similar. Instead of macro, we use template "template struct bp_manipulation" for these architectures. In order to use template, I also change breakpoint instruction of type "static const gdb_byte[]" to "constexpr gdb_byte[]", and rename them to ARCH_break_insn. gdb: 2016-11-03 Yao Qi Pedro Alves * aarch64-tdep.c (aarch64_default_breakpoint): Change it to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (aarch64_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * alpha-tdep.c (break_insn): Rename to alpha_break_insn. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (alpha_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * arc-tdep.c (arc_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): Remove. (struct bp_manipulation): New. (SET_GDBARCH_BREAKPOINT_MANIPULATION): Remove. (struct bp_manipulation_endian): New. (BP_MANIPULATION): New. (BP_MANIPULATION_ENDIAN): New. * arm-tdep.c (arm_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * avr-tdep.c (avr_break_insn): Change it constexpr. (avr_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * bfin-tdep.c (bfin_gdbarch_init): Likewise. * cris-tdep.c (cris_gdbarch_init): Likewise. * frv-tdep.c (breakpoint): Rename it to frv_break_insn, and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (frv_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * ft32-tdep.c (breakpoint): Rename it to ft32_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (ft32_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * h8300-tdep.c (breakpoint): Rename it to h8300_break_insn. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (h8300_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * hppa-tdep.c (breakpoint): Rename it to h8300_break_insn. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (hppa_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * i386-tdep.c (break_insn): Rename it to i386_break_insn. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (i386_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * iq2000-tdep.c (iq2000_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * lm32-tdep.c (breakpoint): Rename it to lm32_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (lm32_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * m32c-tdep.c (break_insn): Rename it to m32c_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (m32c_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * m32r-tdep.c (m32r_gdbarch_init): Likewise. * m68hc11-tdep.c (breakpoint): Rename it to m68hc11_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (m68hc11_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * m68k-tdep.c (break_insn): Rename it to m68k_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (m68k_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * m88k-tdep.c (break_insn): Rename it to m88k_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (m88k_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * mep-tdep.c (breakpoint): Rename it to mep_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (mep_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * microblaze-tdep.c (break_insn): Rename it to microblaze_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (microblaze_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * mips-tdep.c (mips_gdbarch_init): Likewise. * mn10300-tdep.c (breakpoint): Rename it to mn10300_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (mn10300_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * moxie-tdep.c (breakpoint): Rename it to moxie_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (moxie_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * msp430-tdep.c (breakpoint): Rename it to msp430_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (msp430_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * mt-tdep.c (mt_gdbarch_init): Likewise. * nds32-tdep.c (break_insn): Rename it to nds32_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (nds32_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * nios2-tdep.c (nios2_gdbarch_init): Likewise. * rl78-tdep.c (breakpoint): Rename it to rl78_break_ins and change its type to rl78_break_insn. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (rl78_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * rs6000-tdep.c (big_breakpoint): Change its type to constexpr. (little_breakpoint): Likewise. Don't use GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN. (rs6000_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * rx-tdep.c (breakpoint): Rename it to rx_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (rx_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * s390-linux-tdep.c (breakpoint): Rename it to s390_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION (s390_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * score-tdep.c (score_gdbarch_init): Likewise. * sh-tdep.c (sh_gdbarch_init): Likewise. * sh64-tdep.c (sh64_gdbarch_init): Likewise. * sparc-tdep.c (break_insn): Rename it to sparc_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (sparc32_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * spu-tdep.c (breakpoint): Rename it to spu_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (spu_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * tic6x-tdep.c (tic6x_gdbarch_init): Likewise. * tilegx-tdep.c (breakpoint): Rename it to tilegx_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (tilegx_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * v850-tdep.c (v850_gdbarch_init): Likewise. * vax-tdep.c (break_insn): Rename it to vax_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (vax_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * xstormy16-tdep.c (breakpoint): Rename it to xstormy16_break_insn and change its type to constexpr. Don't use GDBARCH_BREAKPOINT_MANIPULATION. (xstormy16_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION. * xtensa-tdep.c (xtensa_gdbarch_init): Likewise. commit a97c97e8d7c818886f0f7beb3fd5dee0042b4a07 Author: Yao Qi Date: Thu Nov 3 14:35:14 2016 +0000 Remove arm_override_mode GDB can determine the kind of single step breakpoint by gdbarch breakpoint_kind_from_current_state, so global variable arm_override_mode is no longer needed. This patch removes it. gdb: 2016-11-03 Yao Qi * arm-tdep.c (arm_override_mode): Remove. (arm_pc_is_thumb): Update. (arm_insert_single_step_breakpoint): Update. commit 833b7ab5008b769dca6db6d5ee1d21d33e730132 Author: Yao Qi Date: Thu Nov 3 14:35:14 2016 +0000 Determine the kind of single step breakpoint This patch adds a new gdbarch method breakpoint_kind_from_current_state for single step breakpoint, and uses it in breakpoint_kind. gdb: 2016-11-03 Yao Qi * arch-utils.c (default_breakpoint_kind_from_current_state): New function. * arch-utils.h (default_breakpoint_kind_from_current_state): Declare. * arm-tdep.c (arm_breakpoint_kind_from_current_state): New function. (arm_gdbarch_init): Call set_gdbarch_breakpoint_kind_from_current_state. * breakpoint.c (breakpoint_kind): Call gdbarch_breakpoint_kind_from_current_state for single step breakpoint. Update comments. * gdbarch.sh (breakpoint_kind_from_current_state): New. * gdbarch.c, gdbarch.h: Regenerate. commit 22f13eb869197fc45a0da2a8a96b03d39809862e Author: Yao Qi Date: Thu Nov 3 14:35:14 2016 +0000 Add default_breakpoint_from_pc This patch adds the default implementation of gdbarch breakpoint_from_pc, which is, const gdb_byte * default_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr) { int kind = gdbarch_breakpoint_kind_from_pc (gdbarch, pcptr); return gdbarch_sw_breakpoint_from_kind (gdbarch, kind, lenptr); } so gdbarch can only defines sw_breakpoint_from_kind and breakpoint_kind_from_pc. gdb: 2016-11-03 Yao Qi * arch-utils.c (default_breakpoint_from_pc): New function. * arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): Remove. (GDBARCH_BREAKPOINT_MANIPULATION): Don't use GDBARCH_BREAKPOINT_FROM_PC. (SET_GDBARCH_BREAKPOINT_MANIPULATION): Don't call set_gdbarch_breakpoint_from_pc. (default_breakpoint_from_pc): Remove declaration. * gdbarch.sh (breakpoint_from_pc): Add its default implementation. * gdbarch.c, gdbarch.h: Regenerate. * arm-tdep.c: Don't use GDBARCH_BREAKPOINT_FROM_PC. * arc-tdep.c, bfin-tdep.c, cris-tdep.c, iq2000-tdep.c: Likewise. * m32r-tdep.c, mips-tdep.c, mt-tdep.c: Likewise. * nios2-tdep.c, score-tdep.c, sh-tdep.c: Likewise. * sh64-tdep.c, tic6x-tdep.c, v850-tdep.c, xtensa-tdep.c: Likewise. commit c0f4a997c26760d2584946196ee5c411d1a632a6 Author: Yao Qi Date: Thu Nov 3 14:35:14 2016 +0000 Remove gdbarch_remote_breakpoint_from_pc This patch removes gdbarch method remote_breakpoint_from_pc, as it is no longer used. gdb: 2016-11-03 Yao Qi * arch-utils.c (default_remote_breakpoint_from_pc): Remove. * arch-utils.h (default_remote_breakpoint_from_pc): Remove. * arm-tdep.c (arm_remote_breakpoint_from_pc): Remove. (arm_gdbarch_init): Don't call set_gdbarch_remote_breakpoint_from_pc. * gdbarch.sh (remote_breakpoint_from_pc): Remove. * gdbarch.c, gdbarch.h: Regenerate. * mips-tdep.c (mips_remote_breakpoint_from_pc): Remove. (mips_gdbarch_init): Don't call set_gdbarch_remote_breakpoint_from_pc. commit 579c6ad9830058ccebf9c592d692c25fac6285c7 Author: Yao Qi Date: Thu Nov 3 14:35:13 2016 +0000 Rename placed_size to kind This patch renames placed_size to kind. gdb: 2016-11-03 Yao Qi * breakpoint.h (struct bp_target_info) : Remove. : New field. Update all users. commit cd6c3b4ffc4ea6f56f12581419e2eed885441beb Author: Yao Qi Date: Thu Nov 3 14:35:13 2016 +0000 New gdbarch methods breakpoint_kind_from_pc and sw_breakpoint_from_kind This patch adds two gdbarch methods breakpoint_kind_from_pc and sw_breakpoint_from_kind, and uses target_info.placed_size as "kind" of the breakpoint. This patch updates the usages of target_info.placed_size. The "kind" of a breakpoint is determined by gdbarch rather than target, so we have gdbarch method breakpoint_kind_from_pc, and we should set target_info.placed_size out of each implementation of target to_insert_breakpoint. In this way, each target doesn't have to set target_info.placed_size any more. This patch also sets target_info.placed_address before target_insert_breakpoint too, so that target to_insert_breakpoint can use it, see record_full_insert_breakpoint. Before we call target_insert_breakpoint, we set target_info.placed_address and target_info.placed_size like this, CORE_ADDR addr = bl->target_info.reqstd_address; bl->target_info.placed_size = gdbarch_breakpoint_kind_from_pc (bl->gdbarch, &addr); bl->target_info.placed_address = addr; return target_insert_breakpoint (bl->gdbarch, &bl->target_info); target_insert_breakpoint may fail, but it doesn't matter to the "kind" and "placed_address" of a breakpoint. They should be determined by gdbarch. gdb: 2016-11-03 Yao Qi * arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): Define breakpoint_kind_from_pc and sw_breakpoint_from_kind. (GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): Likewise. (SET_GDBARCH_BREAKPOINT_MANIPULATION): Call set_gdbarch_breakpoint_kind_from_pc and set_gdbarch_sw_breakpoint_from_kind. * arm-tdep.c: Add comments. * bfin-tdep.c: Likewise. * breakpoint.c (breakpoint_kind): New function. (insert_bp_location): Set target_info.placed_size and target_info.placed_address. (bkpt_insert_location): Likewise. * cris-tdep.c: Add comments. * gdbarch.sh (breakpoint_kind_from_pc): New. (sw_breakpoint_from_kind): New. * gdbarch.c, gdbarch.h: Regenerated. * ia64-tdep.c (ia64_memory_insert_breakpoint): Don't set bp_tgt->placed_size. (ia64_memory_remove_breakpoint): Don't assert bp_tgt->placed_size. (ia64_breakpoint_kind_from_pc): New function. (ia64_gdbarch_init): Install ia64_breakpoint_kind_from_pc. * m32r-tdep.c (m32r_memory_insert_breakpoint): Don't set bp_tgt->placed_size. * mem-break.c (default_memory_insert_breakpoint): Don't set bp_tgt->placed_size. Call gdbarch_sw_breakpoint_from_kind. (default_memory_remove_breakpoint): Call gdbarch_sw_breakpoint_from_kind. (memory_validate_breakpoint): Don't check bp_tgt->placed_size. * mips-tdep.c: Add comments. * mt-tdep.c: Likewise. * nios2-tdep.c: Likewise. * record-full.c (record_full_insert_breakpoint): Don't call gdbarch_breakpoint_from_pc. Don't set bp_tgt->placed_address and bp_tgt->placed_size. * remote.c (remote_insert_breakpoint): Don't call gdbarch_remote_breakpoint_from_pc. Use bp_tgt->placed_size. Don't set bp_tgt->placed_address and bp_tgt->placed_size. (remote_insert_hw_breakpoint): Likewise. * score-tdep.c: Likewise. * sh-tdep.c: Likewise. * tic6x-tdep.c: Likewise. * v850-tdep.c: Likewise. * xtensa-tdep.c: Likewise. commit d19280adb5b2d1470dc39756ccac8a8fa2af8321 Author: Yao Qi Date: Thu Nov 3 14:35:13 2016 +0000 Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind We convert each ARCH_breakpoint_from_pc to ARCH_breakpoint_kind_from_pc and ARCH_sw_breakpoint_from_kind. Note that gdbarch doesn't have methods breakpoint_kind_from_pc and sw_breakpoint_from_kind so far. gdb: 2016-11-03 Yao Qi * arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): New macro. (GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): New macro. * arm-tdep.c (arm_breakpoint_from_pc): Remove. (arm_breakpoint_kind_from_pc): New function. (arm_sw_breakpoint_from_kind): New function. (arm_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc and arm_sw_breakpoint_from_kind. Use GDBARCH_BREAKPOINT_FROM_PC. (arm_remote_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc. (arm_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc with SET_GDBARCH_BREAKPOINT_MANIPULATION. * arc-tdep.c: Likewise. * bfin-tdep.c: Likewise. * cris-tdep.c: Likewise. * iq2000-tdep.c: Likewise. * m32r-tdep.c: Likewise. * mips-tdep.c: Likewise. * mt-tdep.c: Likewise. * nios2-tdep.c: Likewise. * rs6000-tdep.c: Likewise. * score-tdep.c: Likewise. * sh-tdep.c: Likewise. * sh64-tdep.c: Likewise. * tic6x-tdep.c: Likewise. * v850-tdep.c: Likewise. * xtensa-tdep.c: Likewise. commit 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356 Author: Yao Qi Date: Thu Nov 3 14:35:13 2016 +0000 Add enum for mips breakpoint kinds This patch adds an enum mips_breakpoint_kind to avoid using magic numbers as much as possible. gdb: 2016-11-03 Yao Qi * mips-tdep.c (mips_breakpoint_kind): New enum. (mips_breakpoint_from_pc): Use it. (mips_remote_breakpoint_from_pc): Likewise. commit 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620 Author: Yao Qi Date: Thu Nov 3 14:35:13 2016 +0000 GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION Many archs have only one kind of breakpoint, so their breakpoint_from_pc implementations are quite similar. This patch uses macro GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION for breakpoint_from_pc, so that we can easily switch from breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind later. gdb: 2016-11-03 Yao Qi * arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): New macro. (SET_GDBARCH_BREAKPOINT_MANIPULATION): New macro. aarch64-tdep.c (aarch64_breakpoint_from_pc): Remove. Use GDBARCH_BREAKPOINT_MANIPULATION. (aarch64_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc with SET_GDBARCH_BREAKPOINT_MANIPULATION. * alpha-tdep.c: Likewise. * avr-tdep.c: Likewise. * frv-tdep.c: Likewise. * ft32-tdep.c: Likewise. * h8300-tdep.c: Likewise. * hppa-tdep.c: Likewise. * i386-tdep.c: Likewise. * lm32-tdep.c: Likewise. * m32c-tdep.c: Likewise. * m68hc11-tdep.c: Likewise. * m68k-tdep.c: Likewise. * m88k-tdep.c: Likewise. * mep-tdep.c: Likewise. * microblaze-tdep.c: Likewise. * mn10300-tdep.c: Likewise. * moxie-tdep.c: Likewise. * msp430-tdep.c: Likewise. * rl78-tdep.c: Likewise. * rx-tdep.c: Likewise. * s390-linux-tdep.c: Likewise. * sparc-tdep.c: Likewise. * spu-tdep.c: Likewise. * tilegx-tdep.c: Likewise. * vax-tdep.c: Likewise. * xstormy16-tdep.c: Likewise. commit 8b55a7e4e5b30877e924e4b0ed0437d16ccdcedf Author: Yao Qi Date: Thu Nov 3 14:35:13 2016 +0000 gdbarch_breakpoint_from_pc doesn't return NULL gdbarch_breakpoint_from_pc doesn't return NULL except for ia64_breakpoint_from_pc, and we checked its return value in three places. In microblaze_linux_memory_remove_breakpoint and ppc_linux_memory_remove_breakpoint, gdbarch_breakpoint_from_pc never returns NULL, so we can remove the NULL checking. In default_memory_insert_breakpoint, gdbarch_breakpoint_from_pc can't returns NULL too because ia64 defines its own memory_insert_breakpoint. gdb: 2016-11-03 Yao Qi * mem-break.c (default_memory_insert_breakpoint): Don't check 'bp' against NULL. * microblaze-linux-tdep.c (microblaze_linux_memory_remove_breakpoint): Likewise. * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. commit bada43421274615d0d5f629a61a60b7daa71bc15 Author: Jiong Wang Date: Thu Nov 3 12:00:53 2016 +0000 [ARM] Allow MOV/MOV.W to accept all possible immediates gas/ * config/tc-arm.c (SBIT_SHIFT): New. (T2_SBIT_SHIFT): Likewise. (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline. (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate encoding failed. * testsuite/gas/arm/archv6t2-bad.s: New error case. * testsuite/gas/arm/archv6t2-bad.l: New error match. * testsuite/gas/arm/archv6t2.s: New testcase. * testsuite/gas/arm/archv6t2.d: New expected result. * testsuite/gas/arm/archv8m.s: New testcase. * testsuite/gas/arm/archv8m-base.d: New expected result. * testsuite/gas/arm/archv8m-main.d: Likewise. * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise. commit 225b362d1036121a611f3dd17fdb6780070ba51f Author: Nick Clifton Date: Thu Nov 3 11:31:53 2016 +0000 Updated Danish translation for the BFD library. commit c8c064b0dc4ef58b47151e1dfb207262a24ff2d1 Author: GDB Administrator Date: Thu Nov 3 00:00:21 2016 +0000 Automatic date update in version.in commit 7d5697f9e27f79e1decc1215f33088cee9f7d863 Author: Tom Tromey Date: Sun Oct 30 20:45:08 2016 -0600 Fix dwarf_expr_context method regressions This fixes some regressions found in the patch to convert dwarf_expr_context to use methods. Specifically: * get_base_type could erroneously throw; this was rewritten to move the size checks into the only spot needing them. * Previously the "symbol needs frame" implementation reused th "cfa" function for the get_frame_pc slot; this reimplements it under the correct name. * Not enough members were saved and restored in one implementation of push_dwarf_reg_entry_value; this patch fixes this oversight and also takes the opportunity to remove an extraneous structure definition. 2016-11-02 Tom Tromey * dwarf2loc.c (dwarf_evaluate_loc_desc::get_base_type): Rename from impl_get_base_type. Rewrite. (struct dwarf_expr_baton): Remove. (dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value): Save and restore more fields. (symbol_needs_eval_context::get_frame_pc): New method. * dwarf2expr.h (dwarf_expr_context::get_base_type): Now public, virtual. (dwarf_expr_context::impl_get_base_type): Remove. * dwarf2expr.c (dwarf_expr_context::get_base_type): Remove. ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 13 + bfd/config.bfd | 67 +++ bfd/po/da.po | 272 +--------- bfd/targets.c | 2 +- bfd/version.h | 2 +- binutils/ChangeLog | 15 + binutils/MAINTAINERS | 2 + binutils/dwarf-mode.el | 3 +- binutils/objcopy.c | 3 + gas/ChangeLog | 112 ++++ gas/NEWS | 2 + gas/config/tc-aarch64.c | 3 + gas/config/tc-arc.c | 237 +++------ gas/config/tc-arm.c | 92 +++- gas/config/tc-s390.c | 24 +- gas/doc/Makefile.am | 1 + gas/doc/Makefile.in | 1 + gas/doc/all.texi | 1 + gas/doc/as.texinfo | 14 + gas/doc/c-aarch64.texi | 1 + gas/doc/c-arm.texi | 3 + gas/doc/c-riscv.texi | 8 +- gas/input-scrub.c | 91 ++-- gas/testsuite/gas/arc/nps400-10.d | 24 + gas/testsuite/gas/arc/nps400-10.s | 22 + gas/testsuite/gas/arc/nps400-6.d | 12 +- gas/testsuite/gas/arc/nps400-6.s | 2 +- gas/testsuite/gas/arc/nps400-9.d | 44 ++ gas/testsuite/gas/arc/nps400-9.s | 51 ++ gas/testsuite/gas/arm/archv6t2-bad.l | 1 + gas/testsuite/gas/arm/archv6t2-bad.s | 5 +- gas/testsuite/gas/arm/archv6t2.d | 1 + gas/testsuite/gas/arm/archv6t2.s | 3 + gas/testsuite/gas/arm/archv8m-base.d | 2 + gas/testsuite/gas/arm/archv8m-main-dsp-1.d | 2 + gas/testsuite/gas/arm/archv8m-main.d | 2 + gas/testsuite/gas/arm/archv8m.s | 8 + gas/testsuite/gas/i386/opcode-intel.d | 8 + gas/testsuite/gas/i386/opcode.d | 8 + gas/testsuite/gas/i386/opcode.s | 9 + gas/testsuite/gas/s390/zarch-zEC12.d | 13 +- gas/testsuite/gas/s390/zarch-zEC12.s | 3 + gdb/ChangeLog | 388 +++++++++++++ gdb/Makefile.in | 1 + gdb/aarch64-tdep.c | 17 +- gdb/alpha-tdep.c | 15 +- gdb/arc-tdep.c | 33 +- gdb/arch-utils.c | 18 +- gdb/arch-utils.h | 55 ++- gdb/arm-tdep.c | 123 +++-- gdb/avr-tdep.c | 14 +- gdb/bfin-tdep.c | 33 +- gdb/breakpoint.c | 30 + gdb/breakpoint.h | 10 +- gdb/cris-tdep.c | 25 +- gdb/dwarf2expr.c | 16 - gdb/dwarf2expr.h | 8 +- gdb/dwarf2loc.c | 32 +- gdb/frv-tdep.c | 13 +- gdb/ft32-tdep.c | 14 +- gdb/gdbarch.c | 76 ++- gdb/gdbarch.h | 26 +- gdb/gdbarch.sh | 20 +- gdb/h8300-tdep.c | 17 +- gdb/hppa-tdep.c | 13 +- gdb/i386-tdep.c | 14 +- gdb/ia64-tdep.c | 15 +- gdb/iq2000-tdep.c | 24 +- gdb/lm32-tdep.c | 13 +- gdb/m32c-tdep.c | 14 +- gdb/m32r-tdep.c | 52 +- gdb/m68hc11-tdep.c | 16 +- gdb/m68k-tdep.c | 14 +- gdb/m88k-tdep.c | 16 +- gdb/maint.c | 2 +- gdb/mem-break.c | 15 +- gdb/mep-tdep.c | 13 +- gdb/microblaze-linux-tdep.c | 2 - gdb/microblaze-tdep.c | 16 +- gdb/mips-tdep.c | 185 +++---- gdb/mn10300-tdep.c | 15 +- gdb/moxie-tdep.c | 17 +- gdb/msp430-tdep.c | 17 +- gdb/mt-tdep.c | 28 +- gdb/nds32-tdep.c | 25 +- gdb/nios2-tdep.c | 99 ++-- gdb/ppc-linux-tdep.c | 2 - gdb/ppcnbsd-tdep.c | 2 +- gdb/ppcobsd-tdep.c | 2 +- gdb/record-full.c | 10 - gdb/remote.c | 20 +- gdb/rl78-tdep.c | 23 +- gdb/rs6000-tdep.c | 23 +- gdb/rust-exp.y | 8 +- gdb/rust-lang.c | 327 +++++++---- gdb/rx-tdep.c | 14 +- gdb/s390-linux-tdep.c | 15 +- gdb/score-tdep.c | 125 +++-- gdb/sh-tdep.c | 39 +- gdb/sh64-tdep.c | 70 ++-- gdb/sparc-tdep.c | 15 +- gdb/spu-tdep.c | 14 +- gdb/testsuite/ChangeLog | 9 + gdb/testsuite/gdb.rust/simple.exp | 16 +- gdb/testsuite/gdb.rust/simple.rs | 30 + gdb/tic6x-tdep.c | 20 +- gdb/tilegx-tdep.c | 21 +- gdb/ui-out.c | 2 +- gdb/utils.c | 4 +- gdb/v850-tdep.c | 22 +- gdb/vax-tdep.c | 14 +- gdb/windows-nat.c | 2 +- gdb/xstormy16-tdep.c | 16 +- gdb/xtensa-tdep.c | 60 ++- include/ChangeLog | 27 + include/opcode/arc.h | 97 ++-- include/opcode/arm.h | 4 + ld/ChangeLog | 57 ++ ld/NEWS | 4 + ld/config.in | 3 - ld/configure | 2 +- ld/configure.ac | 2 +- ld/emultempl/elf32.em | 37 +- ld/ld.texinfo | 28 +- ld/ldgram.y | 14 +- ld/ldlang.c | 59 ++- ld/ldlang.h | 1 + ld/testsuite/ld-discard/extern.d | 2 +- ld/testsuite/ld-discard/start.d | 2 +- ld/testsuite/ld-discard/static.d | 2 +- ld/testsuite/ld-elf/orphan-8.map | 4 +- ld/testsuite/ld-scripts/exclude-file-1.d | 5 + ld/testsuite/ld-scripts/exclude-file-1.map | 8 + ld/testsuite/ld-scripts/exclude-file-1.t | 10 + ld/testsuite/ld-scripts/exclude-file-2.d | 5 + ld/testsuite/ld-scripts/exclude-file-2.map | 7 + ld/testsuite/ld-scripts/exclude-file-2.t | 10 + ld/testsuite/ld-scripts/exclude-file-3.d | 5 + ld/testsuite/ld-scripts/exclude-file-3.map | 7 + ld/testsuite/ld-scripts/exclude-file-3.t | 10 + ld/testsuite/ld-scripts/exclude-file-4.d | 5 + ld/testsuite/ld-scripts/exclude-file-4.map | 7 + ld/testsuite/ld-scripts/exclude-file-4.t | 10 + ld/testsuite/ld-scripts/exclude-file-a.s | 5 + ld/testsuite/ld-scripts/exclude-file-b.s | 5 + ld/testsuite/ld-scripts/exclude-file.exp | 32 ++ ld/testsuite/lib/ld-lib.exp | 23 +- opcodes/ChangeLog | 106 ++++ opcodes/arc-dis.c | 481 +++++++---------- opcodes/arc-ext.c | 2 +- opcodes/arc-ext.h | 2 +- opcodes/arc-fxi.h | 366 ++++++------ opcodes/arc-nps400-tbl.h | 113 ++++- opcodes/arc-opc.c | 837 ++++++++++++---------------- opcodes/i386-dis.c | 15 +- 155 files changed, 3600 insertions(+), 2544 deletions(-) create mode 100644 gas/testsuite/gas/arc/nps400-10.d create mode 100644 gas/testsuite/gas/arc/nps400-10.s create mode 100644 gas/testsuite/gas/arc/nps400-9.d create mode 100644 gas/testsuite/gas/arc/nps400-9.s create mode 100644 ld/testsuite/ld-scripts/exclude-file-1.d create mode 100644 ld/testsuite/ld-scripts/exclude-file-1.map create mode 100644 ld/testsuite/ld-scripts/exclude-file-1.t create mode 100644 ld/testsuite/ld-scripts/exclude-file-2.d create mode 100644 ld/testsuite/ld-scripts/exclude-file-2.map create mode 100644 ld/testsuite/ld-scripts/exclude-file-2.t create mode 100644 ld/testsuite/ld-scripts/exclude-file-3.d create mode 100644 ld/testsuite/ld-scripts/exclude-file-3.map create mode 100644 ld/testsuite/ld-scripts/exclude-file-3.t create mode 100644 ld/testsuite/ld-scripts/exclude-file-4.d create mode 100644 ld/testsuite/ld-scripts/exclude-file-4.map create mode 100644 ld/testsuite/ld-scripts/exclude-file-4.t create mode 100644 ld/testsuite/ld-scripts/exclude-file-a.s create mode 100644 ld/testsuite/ld-scripts/exclude-file-b.s create mode 100644 ld/testsuite/ld-scripts/exclude-file.exp First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 49d490d..810dd05 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,16 @@ +2016-11-04 Nick Clifton + + * targets.c (bfd_target_vector): Only add riscv_elf32_vec target + when supporting 64-bit BFD targets. + +2016-11-03 Tristan Gingold + + * config.bfd: Deprecate many old triplets. + +2016-11-03 Nick Clifton + + * po/da.po: Updated Danish translation. + 2016-11-01 Maciej W. Rozycki * reloc.c (bfd_default_reloc_type_lookup) : Do diff --git a/bfd/config.bfd b/bfd/config.bfd index 98663fd..b692f0a 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -53,6 +53,73 @@ case $targ in echo "*** Use or1k-*-elf or or1k-*-linux as the target instead" >&2 exit 1 ;; + i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu | \ + mips*-*-irix5* | mips*-*-irix6*) + # Not obsolete + ;; + *-*-netware* | \ + arm-epoc-pe* | \ + arm*-*-aout | \ + arm*-*-coff | \ + h8300*-*-coff | \ + h8500*-*-coff | \ + i[3-7]86-*-sco3.2v5*coff | \ + i[3-7]86-*-sysv4* | i[3-7]86-*-unixware* | \ + i[3-7]86-*-sco3.2v5* | \ + i[3-7]86-*-dgux* | i[3-7]86-*-sysv5* | \ + i[3-7]86-*-chorus* | \ + i[3-7]86-*-sysv* | i[3-7]86-*-isc* | i[3-7]86-*-sco* | i[3-7]86-*-coff | \ + i[3-7]86-*-aix* | \ + i[3-7]86-sequent-bsd* | \ + i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | \ + i[3-7]86-*-freebsd[12] | \ + i[3-7]86-*-netbsdaout* | i[3-7]86-*-netbsd* | \ + i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3] | \ + i[3-7]86-*-netware* | \ + i[3-7]86-*-linux*aout* | \ + i[3-7]86-*-mach* | i[3-7]86-*-osf1mk* | \ + i[3-7]86-*-os9k | \ + i[3-7]86-none-* | \ + i[3-7]86-*-aout* | i[3-7]86*-*-vsta* | \ + i860-*-* | \ + i960-*-* | \ + m68*-motorola-sysv* | m68*-hp-bsd* | m68*-*-aout* | \ + m68*-*-coff* | m68*-*-sysv* | \ + m68*-*-hpux* | \ + m68*-*-linux*aout* | \ + m68*-hp*-netbsd* | \ + m68*-*-netbsdaout* | \ + m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \ + m68*-*-bsd* | m68*-*-vsta* | \ + m68*-ericsson-* | \ + m68*-*-psos* | \ + m88*-*-* | \ + mips*-big-* | \ + mips*-dec-* | mips*el-*-ecoff* | \ + mips*-*-ecoff* | \ + mips*-sgi-* | mips*-*-bsd* | \ + mips*-*-lnews* | \ + mips*-*-sysv* | mips*-*-riscos* | \ + ns32k-*-* | \ + sh*-*-symbianelf* | \ + sh-*-rtemscoff* | \ + sparclet-*-aout* | \ + sparc86x-*-aout* | \ + sparc*-*-chorus* | \ + sparc-*-linux*aout* | \ + sparc-*-netbsdaout* | \ + sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1] | \ + sparc-*-netware* | \ + sparc64-*-aout* | \ + sparc*-*-coff* | \ + tahoe-*-* | \ + vax-*-bsd* | vax-*-ultrix* | \ + we32k-*-* | \ + w65-*-* | \ + *-*-ieee* | \ + *-adobe-* | \ + *-sony-* | \ + *-tandem-* | \ i370-* | \ sh5*-*-* | sh64*-*-* | \ null) diff --git a/bfd/po/da.po b/bfd/po/da.po index e47c8d1..add4ce4 100644 --- a/bfd/po/da.po +++ b/bfd/po/da.po @@ -25,7 +25,7 @@ msgstr "" "Project-Id-Version: bfd-2.24.90\n" "Report-Msgid-Bugs-To: bug-binutils@gnu.org\n" "POT-Creation-Date: 2014-02-10 09:42+1030\n" -"PO-Revision-Date: 2016-10-15 18:25+0200\n" +"PO-Revision-Date: 2016-10-27 23:31+0200\n" "Last-Translator: Ask Hjorth Larsen \n" "Language-Team: Danish \n" "Language: da\n" @@ -3906,7 +3906,7 @@ msgstr "bfd_mach_o_read_symtab_symbol: navn uden for gyldigt interval (%lu >= %l #: mach-o.c:2997 #, c-format msgid "bfd_mach_o_read_symtab_symbol: symbol \"%s\" specified invalid section %d (max %lu): setting to undefined" -msgstr "bfd_mach_o_read_symtab_symbol: symbolet \"%s\" angiv ugyldigt afsnit %d (maks %lu): sætter til udefineret" +msgstr "bfd_mach_o_read_symtab_symbol: symbolet \"%s\" angav ugyldigt afsnit %d (maks %lu): sætter til udefineret" #: mach-o.c:3013 #, c-format @@ -6508,18 +6508,18 @@ msgid "" " vma:\t\tBegin End EH EH PrologEnd Exception\n" " \t\tAddress Address Handler Data Address Mask\n" msgstr "" -" vma:\t\tStart- Slut- EH- EH- Prologsluts- Undtagelses-\n" -" \t\tadresse adresse håndterer data adresse maske\n" +" vma:\t\tStart- Slut- EH- EH- Prologslut- Undtagelses-\n" +" \t\tadresse adresse håndt. data adresse maske\n" #: peigen.c:1705 pepigen.c:1705 pex64igen.c:1705 #, c-format msgid " Register save millicode" -msgstr " Registergemnings millikode" +msgstr " Registergemnings-millikode" #: peigen.c:1708 pepigen.c:1708 pex64igen.c:1708 #, c-format msgid " Register restore millicode" -msgstr " Registergenskabnings millikode" +msgstr " Registergenskabnings-millikode" #: peigen.c:1711 pepigen.c:1711 pex64igen.c:1711 #, c-format @@ -6533,8 +6533,8 @@ msgid "" " vma:\t\tBegin Prolog Function Flags Exception EH\n" " \t\tAddress Length Length 32b exc Handler Data\n" msgstr "" -" vma:\t\tStart Prolog Funktion Flag Undtagelse EH\n" -" \t\tAdresse Længde Længde 32b exc Håndtering Data\n" +" vma:\t\tStart Prolog Funktion Flag Undt.- EH\n" +" \t\tAdresse Længde Længde 32b exc Håndt. Data\n" #: peigen.c:1937 pepigen.c:1937 pex64igen.c:1937 #, c-format @@ -6574,12 +6574,12 @@ msgstr "navn: [værdi: %08lx længde %d]: " #: peigen.c:2054 pepigen.c:2054 pex64igen.c:2054 #, c-format msgid "" -msgstr "" +msgstr "" #: peigen.c:2057 pepigen.c:2057 pex64igen.c:2057 #, c-format msgid "" -msgstr "" +msgstr "" #: peigen.c:2060 pepigen.c:2060 pex64igen.c:2060 #, c-format @@ -6687,255 +6687,3 @@ msgstr "%B: kan ikke udfylde DataDictionary[PE_IMPORT_ADDRESS_TABLE(12)], da .id #: peigen.c:3801 pepigen.c:3801 pex64igen.c:3801 msgid "%B: unable to fill in DataDictionary[9] because __tls_used is missing" msgstr "%B: kan ikke udfylde DataDictionary[9], da __tls_used mangler" - -#~ msgid "" -#~ "%B(%s): warning: interworking not enabled.\n" -#~ " first occurrence: %B: thumb call to arm" -#~ msgstr "" -#~ "%B(%s): advarsel: samvirken (interworking) er ikke aktiveret.\n" -#~ " første forekomst: %B: thumb-kald til arm" - -#~ msgid "DIV usage mismatch between %B and %B" -#~ msgstr "Uoverensstemmelse i DIV-forbrug mellem %B og %B" - -#~ msgid "relocation references a different segment" -#~ msgstr "relokering refererer et andet segment" - -#~ msgid "%B: bad relocation section name `%s'" -#~ msgstr "%B: fejlagtigt relokeringsafsnitsnavn \"%s\"" - -#~ msgid " [64-bit doubles]" -#~ msgstr " [64 bit-doubles]" - -#~ msgid " [dsp]" -#~ msgstr " [dsp]" - -#~ msgid "%B: relocation type %d not implemented" -#~ msgstr "%B: relokeringstypen %d er ikke implementeret" - -#~ msgid "warning: %B and %B differ in position-dependence of data addressing" -#~ msgstr "advarsel: %B og %B har forskellig positionsafhængighed af dataadressering" - -#~ msgid "warning: %B and %B differ in position-dependence of code addressing" -#~ msgstr "advarsel: %B og %B har forskellig positionsafhængighed af kodeadressering" - -#~ msgid "%B(%A+0x%lx): cannot reach %s" -#~ msgstr "%B(%A+0x%lx): kan ikke nå %s" - -#~ msgid "%B(%A+0x%lx): automatic multiple TOCs not supported using your crt files; recompile with -mminimal-toc or upgrade gcc" -#~ msgstr "%B(%A+0x%lx): flere automatiske TOC'er understøttes ikke med dine crt-filer; genkompilér med -mminimal-toc eller opgradér gcc" - -#~ msgid "Warning: %B uses -msingle-float, %B uses -mdouble-float" -#~ msgstr "Advarsel: %B bruger -msingle-float, %B bruger -mdouble-float" - -#~ msgid "Warning: %B uses -msingle-float, %B uses -mips32r2 -mfp64" -#~ msgstr "Advarsel: %B bruger -msingle-float, %B bruger -mips32r2 -mfp64" - -#~ msgid "Warning: %B uses -mdouble-float, %B uses -mips32r2 -mfp64" -#~ msgstr "Advarsel: %B bruger -mdouble-float, %B bruger -mips32r2 -mfp64" - -#~ msgid "%B: warning: ignoring duplicate section `%A'\n" -#~ msgstr "%B: advarsel: ignorerer gentaget afsnit \"%A\"\n" - -#~ msgid "%B: warning: duplicate section `%A' has different size\n" -#~ msgstr "%B: advarsel: gentaget afsnit \"%A\" har forskellig længde\n" - -#~ msgid "Mach-O header:\n" -#~ msgstr "Mach-O-header:\n" - -# eller skal det være magisk tal? -#~ msgid " magic : %08lx\n" -#~ msgstr " magi : %08lx\n" - -#~ msgid " cputype : %08lx (%s)\n" -#~ msgstr " cputype : %08lx (%s)\n" - -#~ msgid " filetype : %08lx (%s)\n" -#~ msgstr " filtype : %08lx (%s)\n" - -# ? -#~ msgid " ncmds : %08lx (%lu)\n" -#~ msgstr " nkmd'er : %08lx (%lu)\n" - -# kan ikke så godt gøre de her konsistente -#~ msgid " sizeofcmds: %08lx\n" -#~ msgstr " sizeofcmds: %08lx\n" - -#~ msgid " flags : %08lx (" -#~ msgstr " flag : %08lx (" - -#~ msgid " reserved : %08x\n" -#~ msgstr " reserveret: %08x\n" - -#~ msgid "Segments and Sections:\n" -#~ msgstr "Segmenter og afsnit:\n" - -#~ msgid " #: Segment name Section name Address\n" -#~ msgstr " #: Segmentnavn Afsnitsnavn Adresse\n" - -#~ msgid "Symbol %s replaced by %s\n" -#~ msgstr "Symbol %s erstattet med %s\n" - -# src/menus.c:341 -#~ msgid "Missing IHCONST" -#~ msgstr "IHCONST mangler" - -# src/menus.c:341 -#~ msgid "Missing IHIHALF" -#~ msgstr "IHIHALF mangler" - -#~ msgid "missing IHCONST reloc" -#~ msgstr "IHCONST-relokering mangler" - -#~ msgid "missing IHIHALF reloc" -#~ msgstr "IHIHALF-relokering mangler" - -#~ msgid " first occurrence: %s: arm call to thumb" -#~ msgstr " første forekomst: %s: arm-kald til thumb" - -#~ msgid " first occurrence: %s: thumb call to arm" -#~ msgstr " første forekomst: %s: thumb-kald til arm" - -#~ msgid "reloc against unsupported section" -#~ msgstr "relokering mod afsnit som ikke understøttes" - -#~ msgid "Dwarf Error: DW_FORM_strp offset (%lu) greater than or equal to .debug_str size (%lu)." -#~ msgstr "Dwarf-fejl: DW_FORM_strp-afstanden (%lu) større end eller lig med størrelsen på .debug_str (%lu)." - -#~ msgid "Dwarf Error: Can't find .debug_abbrev section." -#~ msgstr "Dwarf-fejl: Kan ikke finde afsnittet .debug_abbrev." - -#~ msgid "Dwarf Error: Abbrev offset (%lu) greater than or equal to .debug_abbrev size (%lu)." -#~ msgstr "Dwarf-fejl: Forkortelsesafstanden (%lu) større end eller lig med størrelsen .debug_abbrev (%lu)." - -#~ msgid "%s: warning: unresolvable relocation against symbol `%s' from %s section" -#~ msgstr "%s: advarsel: uløselig relokering mod symbol \"%s\" fra afsnittet %s" - -#~ msgid "%s: Not enough room for program headers (allocated %u, need %u)" -#~ msgstr "%s: Ikke tilstrækkeligt med plads for programhoveder (allokerede %u, behøver %u)" - -#~ msgid "Error: First section in segment (%s) starts at 0x%x whereas the segment starts at 0x%x" -#~ msgstr "Fejl: Første afsnit i segmentet (%s) begynder ved 0x%x mens segmentet begynder ved 0x%x" - -#~ msgid "%s: warning: unresolvable relocation %d against symbol `%s' from %s section" -#~ msgstr "%s: advarsel: uløselig relokering %d mod symbol \"%s\" fra afsnittet %s" - -#~ msgid "ERROR: %s is compiled for EABI version %d, whereas %s is compiled for version %d" -#~ msgstr "FEJL: %s er oversat for EABI version %d, mens %s er oversat for version %d" - -#~ msgid "%s: unresolvable relocation %s against symbol `%s' from %s section" -#~ msgstr "%s: uløselig relokering %s mod symbol \"%s\" fra afsnittet %s" - -#~ msgid "%s: relocation %s should not be used when making a shared object; recompile with -fPIC" -#~ msgstr "%s: relokeringen %s bør ikke bruges når et delt objekt oprettes; genoversæt med -fPIC" - -#~ msgid "%s(%s+0x%lx): fixing %s" -#~ msgstr "%s(%s+0x%lx): retter %s" - -#~ msgid " [m68000]" -#~ msgstr " [m68000]" - -#~ msgid "v850ea architecture" -#~ msgstr "v850ea-arkitektur" - -#~ msgid "%s: check_relocs: unhandled reloc type %d" -#~ msgstr "%s: check_relocs: uhåndteret relokeringstype %d" - -#~ msgid "Error: out of memory" -#~ msgstr "Fejl: ikke mere hukommelse" - -#~ msgid "local symbols in discarded section %s" -#~ msgstr "lokale symboler i bortkastet afsnit %s" - -#~ msgid "%s: %s+0x%lx: jump to stub routine which is not jal" -#~ msgstr "%s: %s+0x%lx: hop til stubrutine som ikke er jal" - -#~ msgid "%s: ISA mismatch (-mips%d) with previous modules (-mips%d)" -#~ msgstr "%s: ISA (-mips%d) passer ikke med tidligere moduler (-mips%d)" - -#~ msgid "%s: ISA mismatch (%d) with previous modules (%d)" -#~ msgstr "%s: ISA (%d) passer ikke med tidligere moduler (%d)" - -#~ msgid " [mips1]" -#~ msgstr " [mips1]" - -#~ msgid " [mips2]" -#~ msgstr " [mips2]" - -#~ msgid " [mips3]" -#~ msgstr " [mips3]" - -#~ msgid " [mips4]" -#~ msgstr " [mips4]" - -#~ msgid " [mips5]" -#~ msgstr " [mips5]" - -#~ msgid " [mips32]" -#~ msgstr " [mips32]" - -#~ msgid " [mips64]" -#~ msgstr " [mips64]" - -#~ msgid " [mips16]" -#~ msgstr " [mips16]" - -#~ msgid " [32bitmode]" -#~ msgstr " [32-bittilstand]" - -#~ msgid "bfd_make_section (%s) failed" -#~ msgstr "bfd_make_section (%s) mislykkedes" - -#~ msgid "bfd_set_section_flags (%s, %x) failed" -#~ msgstr "bfd_set_section_flags (%s, %x) mislykkedes" - -#~ msgid "Size mismatch section %s=%lx, %s=%lx" -#~ msgstr "Størrelsen passer ikke på afsnit %s=%lx, %s=%lx" - -#~ msgid "unknown gsd/egsd subtype %d" -#~ msgstr "ukendt gsd/egsd-undertype %d" - -#~ msgid "failed to enter %s" -#~ msgstr "mislykkedes med at gå ind i %s" - -#~ msgid "No Mem !" -#~ msgstr "Ingen hukommelse!" - -#~ msgid "%s: no symbol \"%s\"" -#~ msgstr "%s: intet symbol \"%s\"" - -#~ msgid "reserved STO cmd %d" -#~ msgstr "reserveret STO-kommando %d" - -#~ msgid "reserved OPR cmd %d" -#~ msgstr "reserveret OPR-kommando %d" - -#~ msgid "reserved CTL cmd %d" -#~ msgstr "reserveret CTL-kommando %d" - -#~ msgid "stack-from-image not implemented" -#~ msgstr "stack-from-image er ikke implementeret" - -#~ msgid "stack-entry-mask not fully implemented" -#~ msgstr "stack-entry-mask er ikke helt implementeret" - -#~ msgid "stack-local-symbol not fully implemented" -#~ msgstr "stack-local-symbol er ikke helt implementeret" - -#~ msgid "stack-literal not fully implemented" -#~ msgstr "stack-literal er ikke helt implementeret" - -#~ msgid "stack-local-symbol-entry-point-mask not fully implemented" -#~ msgstr "stack-local-symbol-entry-point-mask er ikke helt implementeret" - -#~ msgid "obj code %d not found" -#~ msgstr "objektkode %d kunne ikke findes" - -#~ msgid "%s: dynamic relocation against speculation fixup" -#~ msgstr "%s: dynamisk relokering uden spekulationsrettelser" - -#~ msgid "%s: speculation fixup against undefined weak symbol" -#~ msgstr "%s: spekulationsfix mod udefineret svagt symbol" - -#~ msgid "%s: reloc overflow 1: 0x%lx > 0xffff" -#~ msgstr "%s: relokering giver overløb 1: 0x%lx > 0xffff" diff --git a/bfd/targets.c b/bfd/targets.c index bc61c02..8e6158e 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -1305,8 +1305,8 @@ static const bfd_target * const _bfd_target_vector[] = &powerpc_xcoff_vec, #endif - &riscv_elf32_vec, #ifdef BFD64 + &riscv_elf32_vec, &riscv_elf64_vec, #endif &rl78_elf32_vec, diff --git a/bfd/version.h b/bfd/version.h index 5a906cd..f2750d9 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20161102 +#define BFD_VERSION_DATE 20161106 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9b720d9..09f76b9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,18 @@ +2016-11-04 Andrew Burgess + + * objcopy.c (copy_section): Add extra calls to free for error + paths. + +2016-11-04 Tom Tromey + + * dwarf-mode.el (dwarf-browse): Set default-directory. Bump + version number. + +2016-11-04 Palmer Dabbelt + + * MAINTAINERS: Add myself and Andrew Waterman as maintainers for + the RISC-V target. + 2016-11-01 Palmer Dabbelt Andrew Waterman diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS index bd1ffd4..143d481 100644 --- a/binutils/MAINTAINERS +++ b/binutils/MAINTAINERS @@ -122,6 +122,8 @@ responsibility among the other maintainers. PPC Alan Modra PPC Peter Bergner PPC vector ext Aldy Hernandez + RISC-V Palmer Dabbelt + RISC-V Andrew Waterman RL78 DJ Delorie RX DJ Delorie RX Nick Clifton diff --git a/binutils/dwarf-mode.el b/binutils/dwarf-mode.el index 407c49b..cec56ec 100644 --- a/binutils/dwarf-mode.el +++ b/binutils/dwarf-mode.el @@ -1,6 +1,6 @@ ;;; dwarf-mode.el --- Browser for DWARF information. -;; Version: 1.2 +;; Version: 1.3 ;; Copyright (C) 2012-2016 Free Software Foundation, Inc. @@ -162,6 +162,7 @@ This is the main interface to `dwarf-mode'." (buffer (generate-new-buffer (concat "*DWARF for " base-name "*")))) hooks/post-receive -- Repository for Project Archer.