aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-02[GAS][AARCH64]Add BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC support.Renlin Li10-0/+69
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * reloc.c (BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC): New entry. * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC. * libbfd.h: Regenerate. * bfd-in2.h: Likewise gas/ 2015-10-02 Renlin Li <renlin.li@arm.com> * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc. (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1. (md_apply_fix): Likewise. (aarch64_force_relocation): Likewise. gas/testsuite/ 2015-10-02 Renlin Li <renlin.li@arm.com> * gas/aarch64/reloc-tlsgd_g0_nc.d: New. * gas/aarch64/reloc-tlsgd_g0_nc.s: New.
2015-10-02[LD][AARCH64]Add BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support.Renlin Li7-0/+80
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * elfnn-aarch64.c (aarch64_reloc_got_type): Add BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support. (elfNN_aarch64_final_link_relocate): Likewise. (elfNN_aarch64_relocate_section): Likewise. (elfNN_aarch64_gc_sweep_hook): Likewise. (elfNN_aarch64_check_relocs): Likewise. * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. (_bfd_aarch64_elf_resolve_relocation): Likewise. ld/testsuite 2015-10-02 Renlin Li <renlin.li@arm.com> * ld-aarch64/emit-relocs-515.d: New. * ld-aarch64/emit-relocs-515.s: New. * ld-aarch64/aarch64-elf.exp: Run new test.
2015-10-02[GAS][AARCH64]Add BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support.Renlin Li10-0/+70
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * reloc.c (BFD_RELOC_AARCH64_TLSGD_MOVW_G1): New entry. * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for BFD_RELOC_AARCH64_TLSGD_MOVW_G1. * bfd-in2.h: Regenerate. * libbfd.h: Likewise. gas/ 2015-10-02 Renlin Li <renlin.li@arm.com> * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1. (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1. (md_apply_fix): Likewise. (aarch64_force_relocation): Likewise. gas/testsuite/ 2015-10-02 Renlin Li <renlin.li@arm.com> * gas/aarch64/reloc-tlsgd_g1.s: New. * gas/aarch64/reloc-tlsgd_g1.s: New.
2015-10-02[LD][AARCH64]Add BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC Support.Renlin Li7-1/+61
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * elfnn-aarch64.c (aarch64_reloc_got_type): Add BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC support. (elfNN_aarch64_final_link_relocate): Likewise. (elfNN_aarch64_gc_sweep_hook): Likewise. (elfNN_aarch64_check_relocs): Likewise. * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. (_bfd_aarch64_elf_resolve_relocation): Likewise. ld/testsuite/ 2015-10-02 Renlin Li <renlin.li@arm.com> * ld-aarch64/aarch64-elf.exp: Run new test. * ld-aarch64/emit-relocs-301.d: New. * ld-aarch64/emit-relocs-301.s: New.
2015-10-02[GAS][AARCH64]Add BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC Support.Renlin Li10-0/+70
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC): New. * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry MOVW_GOTOFF_G0_NC. * libbfd.h: Regnerate. * bfd-in2.h: Regenerate. gas/ 2015-10-02 Renlin Li <renlin.li@arm.com> * config/tc-aarch64.c (reloc_table): New relocation modifier gotoff_g0_nc. (process_movw_reloc_info): Support gotoff_g0_nc. (md_apply_fix): Likewise. gas/testsuite/ 2015-10-02 Renlin Li <renlin.li@arm.com> * gas/aarch64/reloc-gotoff_g0_nc.s: New. * gas/aarch64/reloc-gotoff_g0_nc.d: New.
2015-10-02[LD][AARCH64]Add BFD_RELOC_AARCH64_MOVW_GOTOFF_G1 Support.Renlin Li7-1/+62
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * elfnn-aarch64.c (aarch64_reloc_got_type): Add support for BFD_RELOC_AARCH64_MOVW_GOTOFF_G1. (elfNN_aarch64_gc_sweep_hook): Likewise. (elfNN_aarch64_check_relocs): Likewise * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. (_bfd_aarch64_elf_resolve_relocation): Likewise (elfNN_aarch64_final_link_relocate): Calculate offset within GOT. ld/testsuite/ 2015-10-02 Renlin Li <renlin.li@arm.com> * ld-aarch64/emit-relocs-302.d: New. * ld-aarch64/emit-relocs-302.s: New. * ld-aarch64/aarch64-elf.exp: Run the new test.
2015-10-02[GAS][AARCH64]Add BFD_RELOC_AARCH64_MOVW_GOTOFF_G1 Support.Renlin Li10-0/+71
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G1): New. * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for MOVW_GOTOFF_G1. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. gas/ 2015-10-02 Renlin Li <renlin.li@arm.com> * config/tc-aarch64.c (reloc_table): New relocation modifier gotoff_g1. (process_movw_reloc_info): Support newly added modifier. (md_apply_fix): Likewise. gas/testsuite/ 2015-10-02 Renlin Li <renlin.li@arm.com> * gas/aarch64/reloc-gotoff_g1.s: New. * gas/aarch64/reloc-gotoff_g1.d: New.
2015-10-02[LD][AARCH64]Add BFD_RELOC_AARCH64_LD64_GOTOFF_LO15 Support.Renlin Li7-1/+123
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * elfnn-aarch64.c (aarch64_reloc_got_type): Add BFD_RELOC_AARCH64_LD_64_GOTOFF_LO15 support. (elfNN_aarch64_gc_sweep_hook): Likewise. (elfNN_aarch64_check_relocs): Likewise * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. (_bfd_aarch64_elf_resolve_relocation): Likewise (elfNN_aarch64_final_link_relocate): Calculate offset within GOT. ld/testsuite/ 2015-10-02 Renlin Li <renlin.li@arm.com> * ld-aarch64/emit-relocs-310.d: New. * ld-aarch64/emit-relocs-310.s: New. * ld-aarch64/aarch64-elf.exp: Run the test.
2015-10-02[BFD][AARCH64]Refactor to facilitate further large memory model support patches.Renlin Li2-4/+17
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Change if to switch statement.
2015-10-02Make aarch64_zero_register_p declaration starts from column oneYao Qi2-2/+7
include/opcode: 2015-10-02 Yao Qi <yao.qi@linaro.org> * aarch64.h (aarch64_zero_register_p): Move the declaration to column one.
2015-10-02[aarch64] expose disas_aarch64_insn and rename it to aarch64_decode_insnYao Qi4-4/+19
We want to use disas_aarch64_insn inside GDB to decode instructions, so this patch exposes it and rename it to aarch64_decode_insn to follow the conventions of other interfaces. include/opcode: 2015-10-02 Yao Qi <yao.qi@linaro.org> * aarch64.h (aarch64_decode_insn): Declare it. opcodes: 2015-10-02 Yao Qi <yao.qi@linaro.org> * aarch64-dis.c (disas_aarch64_insn): Remove static. Change argument insn type to aarch64_insn. Rename to ... (aarch64_decode_insn): ... it. (print_insn_aarch64_word): Caller updated.
2015-10-02[aarch64] Remove argument pc from disas_aarch64_insnYao Qi2-3/+7
I happen to see that argument pc is not used inside disas_aarch64_insn at all. This patch is to remove it. OK to apply? opcodes: 2015-10-02 Yao Qi <yao.qi@linaro.org> * aarch64-dis.c (disas_aarch64_insn): Remove argument PC. (print_insn_aarch64_word): Caller updated.
2015-10-02Automatic date update in version.inGDB Administrator1-1/+1
2015-10-01Create a PLT entry for R_X86_64_PC32 in non-code sectionsH.J. Lu8-7/+83
Since something like ".long foo - ." may be used as pointer, we make sure that PLT is used if foo is a function defined in a shared library. bfd/ PR ld/19031 * elf64-x86-64.c (elf_x86_64_check_relocs): Set pointer_equality_needed for R_X86_64_PC32 reloc in non-code sections. ld/testsuite/ PR ld/19031 * ld-x86-64/x86-64.exp: Run PR ld/19031 test. * ld-x86-64/pr19031.out: New file. * ld-x86-64/pr19031a.c: Likewise. * ld-x86-64/pr19031b.S: Likewise. * ld-x86-64/pr19031c.c: Likewise.
2015-10-01vec.h: Add casts for C++ compatSimon Marchi2-3/+7
gdb/ChangeLog: * common/vec.h (VEC_OP (T,cleanup)): Add pointer cast.
2015-10-01[BFD][AARCH64]Emit single AARCH64_MAP_INSN symbol for the whole plt.Renlin Li6-35/+30
bfd/ 2015-10-01 Renlin Li <renlin.li@arm.com> * elfnn-aarch64.c (elfNN_aarch64_output_plt_map): Remove. (elfNN_aarch64_output_arch_local_syms): Emit AARCH64_MAP_INSN once. ld/testsuite/ 2015-10-01 Renlin Li <renlin.li@arm.com> * ld-aarch64/plt_mapping_symbol.d: New. * ld-aarch64/plt_mapping_symbol.s: New. * ld-aarch64/aarch64-elf.exp: Run the new test.
2015-10-01ld/configure.tgt: Drop non-linux non-fdpic stuff from the last change of ↵Kaz Kojima2-3/+8
targ_extra_emuls for sh*-linux cases
2015-10-01bfd/config.bfd: Drop non-linux non-fdpic stuff from the last change of ↵Kaz Kojima2-3/+8
targ_selvecs of sh*-linux cases
2015-10-01Update ld-x86-64/pr19013-nacl.dAlan Modra2-1/+2
* ld-x86-64/pr19013-nacl.d: Update.
2015-10-01Automatic date update in version.inGDB Administrator1-1/+1
2015-10-01Revert "Also check e_machine when merging sections"Alan Modra4-11/+12
Commit 9865bd0d added a bogus check in _bfd_elf_merge_sections. bfd/ PR ld/19013 * elflink.c (_bfd_elf_merge_sections): Revert last change. ld/testsuite/ * ld-x86-64/pr19013-x32.d: Update.
2015-09-30dwarf2read.c (setup_type_unit_groups): Add comment.Doug Evans2-0/+9
gdb/ChangeLog: * dwarf2read.c (setup_type_unit_groups): Add comment.
2015-09-30x86/Linux: reenable all-stop on top of non-stopPedro Alves3-13/+7
Since the record-btrace target now supports non-stop mode, we no longer need to force-disable as-ns on x86. gdb/ChangeLog: 2015-09-30 Pedro Alves <palves@redhat.com> * linux-nat.c (linux_nat_always_non_stop_p): Always return 1. * x86-linux-nat.c (x86_linux_always_non_stop_p): Delete. (x86_linux_create_target): Don't install x86_linux_always_non_stop_p.
2015-09-30Handle symbolic link when copying source fileH.J. Lu2-0/+12
* lib/utils-lib.exp (run_dump_test): Handle symbolic link when copying source file.
2015-09-30Pass -m elf_x86_64 to ld for 64-bit testH.J. Lu2-1/+5
* ld-x86-64/pr19013.d (ld): Add -m elf_x86_64.
2015-09-30Call strprefix instead of strncmp in event parsingDon Breazeal2-1/+6
This fixes a typo that used strncmp instead of strprefix when checking for an exec event in a stop reply packet. gdb/ChangeLog: * remote.c (remote_parse_stop_reply): Call strprefix instead of strncmp.
2015-09-30Resync files in the binutils repository that are maintained in the gcc ↵Nick Clifton10-43/+81
repository. . 2015-08-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR libfortran/54572 * Makefile.def: Make libgfortran depend on libbacktrace. * Makefile.in: Regenerate. 2015-08-12 Tom de Vries <tom@codesourcery.com> PR other/67092 PR other/67098 * configure.ac: Remove --with_host_libstdcxx support. * configure: Regenerate. 2015-08-10 Thomas Schwinge <thomas@codesourcery.com> Jakub Jelinek <jakub@redhat.com> * configure.ac (noconfigdirs): Don't add "target-libgomp" for target nvptx*-*-*. * configure: Regenerate. include 2015-08-14 Pierre-Marie de Rodat <derodat@adacore.com> * dwarf2.def (DW_AT_GNU_bias): New attribute. 2015-08-14 Pierre-Marie de Rodat <derodat@adacore.com> * dwarf2.def (DW_AT_GNU_numerator, DW_AT_GNU_denominator): New attributes. libiberty 2015-08-15 Ian Lance Taylor <iant@google.com> * cp-demangle.c (d_abi_tags): Preserve di->last_name across any ABI tags.
2015-09-30Create a PLT entry for R_386_PC32 in non-code sectionsH.J. Lu8-1/+83
Since something like ".long foo - ." may be used as pointer, we make sure that PLT is used if foo is a function defined in a shared library. bfd/ PR ld/19031 * elf32-i386.c (elf_i386_check_relocs): Set pointer_equality_needed for R_386_PC32 reloc in non-code sections. ld/testsuite/ PR ld/19031 * ld-i386/i386.exp: Run PR ld/19031 test. * ld/testsuite/ld-i386/pr19031.out: New file. * ld/testsuite/ld-i386/pr19031a.c: Likewise. * ld/testsuite/ld-i386/pr19031b.S: Likewise. * ld/testsuite/ld-i386/pr19031c.c: Likewise.
2015-09-30gdbarch.h: Change gdbarch_info::tdep_info's type to void *Simon Marchi8-7/+18
As reported by Ulrich here: https://sourceware.org/ml/gdb-patches/2015-09/msg00604.html The system compiler (gcc 4.1) in Centos 5 doesn't like that we cast to a pointer to a type that doesn't exist. I see no real value in using this kind iof construct over just using void *. So this patch changes the tdep_info field to void * and removes the casts. Even in C++, we should not need an explicit cast when assigning to a void *. gdb/ChangeLog: * gdbarch.sh (struct gdbarch_info): Change tdep_info's type to void *. * gdbarch.h: Regenerate. * i386-tdep.c (i386_gdbarch_init): Remove cast to struct gdbarch_tdep_info *. * mips-tdep.c (mips_gdbarch_init): Likewise. * ppc-linux-tdep (ppu2spu_sniffer): Likewise. * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. * spu-multiarch.c (spu_gdbarch): Likewise.
2015-09-30Shorten long lines in linux-aarch64-low.cYao Qi2-2/+9
Happen to see these lines are too long. This patch shortens them. gdb/gdbserver: 2015-09-30 Yao Qi <yao.qi@linaro.org> * linux-aarch64-low.c (emit_movk): Shorten a long line. (emit_load_store_pair): Likewise.
2015-09-30py-type.exp: Do not run tests if binary fails to buildSimon Marchi2-23/+33
I noticed this while working on the test case. I believe it would make sense to skip running the tests if the binary failed to build. Although I would understand the opposite argument: if the binary does not build for some reason, we probably want to know about it, and some catastrophic failures in the tests might alarm us better than a timid "UNTESTED". gdb/testsuite/ChangeLog: * gdb.python/py-type.exp: Do not run tests if binaries fail to build.
2015-09-30Fix ChangeLog Date for previous push.Kevin Buettner1-1/+1
2015-09-30infcmd.c: Don't attempt to record a NULL value after a finish command.Kevin Buettner2-1/+7
Architectures which use RETURN_VALUE_STRUCT_CONVENTION will have a NULL return value after executing a finish command. See get_return_value() in infcmd.c. This patch avoids an eventual SIGSEV (caused by attempting to derefrence a NULL pointer) by adding a suitable test to finish_command_fsm_should_stop(). I encountered this problem while testing msp430: (gdb) PASS: gdb.base/structs.exp: zed L<n> for finish; return 1 structs-tc finish Run till exit from #0 fun1 () at /ironwood1/sourceware-git/msp430-elf/../binutils-gdb/gdb/testsuite/gdb.base/structs.c:125 ERROR: Process no longer exists gdb/ChangeLog: * infcmd.c (finish_command_fsm_should_stop): Don't attempt to record a NULL value.
2015-09-30btrace, testsuite: fix spurious gdb.btrace/tsx.exp failsMarkus Metzger2-7/+37
If the atomic section in x86-tsx.S is aborted, the tsx.exp test will fail even if the traced output is actually correct. Consider abort scenarios in the test. testsuite/ * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record instruction-history test.
2015-09-30Also check e_machine when merging sectionsH.J. Lu8-2/+59
When we check consistency for merge ELF sections, we should not only check EI_CLASS, but also compatible e_machine. bfd/ PR ld/19013 * elflink.c (_bfd_elf_merge_sections): Only merge input bfds that have the compatible ELF machine code with the output bfd. ld/testsuite/ PR ld/19013 * ld-x86-64/pr19013-nacl.d: New file. * ld-x86-64/pr19013-x32.d: Likewise. * ld-x86-64/pr19013.d: Likewise. * ld-x86-64/pr19013.s: Likewise. * ld-x86-64/x86-64.exp: Run PR ld/19013 tests.
2015-09-30Revise new e500 invalid opcode testAlan Modra4-9/+14
.machine isn't available on all powerpc targets. * gas/ppc/ppc.exp (e500-ill): Pass -me500. * gas/ppc/e500-ill.s: Remove .machine. * gas/ppc/e500-ill.l: Remove line numbers.
2015-09-30Consistency check for merge sectionsAlan Modra2-4/+13
We can't allow sections to be merged and sized by the ELF linker backend and then later be output by the generic linker backend. The generic linker backend doesn't understand merge sections. PR ld/19013 * elflink.c (_bfd_elf_merge_sections): Only merge input bfds that will be handled by elf_link_input_bfd. Rename abfd param to obfd.
2015-09-30Add fdpic and misc emulations to configure.tgt for sh*-*-linux*Rich Felker2-3/+10
2015-09-30Add fdpic and misc targets to config.bfd for sh*-*-linux*Rich Felker2-0/+8
2015-09-29msp430: Fix bug regarding large memory model inferior function call arguments.Kevin Buettner2-3/+15
This change causes reference, struct, and union arguments to be treated the same as pointer arguments when determining the size of the value to place into a register. The case for doing this for reference arguments is obvious. The msp430 ABI specifies that struct and union arguments are passed by reference. This is why they're treated in the same manner as pointer and reference arguments when computing the size of the value to place into a register. In my testing using this multilib... msp430-sim/-msim/-mcpu=msp430x/-mlarge/-mdata-region=either/-mcode-region=either ... I find that the the following failures, 125 in all, are fixed by this patch. FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns char FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns short FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns int FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns long FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns float FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns double FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns float _Complex FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns double _Complex FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns long double _Complex FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns char * FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns char FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns short FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns int FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns long FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns float FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns double FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns float _Complex FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns double _Complex FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns long double _Complex FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns char * FAIL: gdb.base/structs.exp: p/c L<n>; call 1 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 5 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 6 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 7 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 8 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 9 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 10 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 11 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 12 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 13 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 14 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 15 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 16 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 17 structs-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 1 structs-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 5 structs-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 1 structs-ti FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-ti FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-ti FAIL: gdb.base/structs.exp: p/c L<n>; call 1 structs-tl FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tl FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tl FAIL: gdb.base/structs.exp: p/c L<n>; call 1 structs-tll FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tll FAIL: gdb.base/structs.exp: p/c L<n>; call 1 structs-tf FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tf FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tf FAIL: gdb.base/structs.exp: p/c L<n>; call 1 structs-td FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-td FAIL: gdb.base/structs.exp: p/c L<n>; call 1 structs-tld FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tld FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-ts-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-ts-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-ts-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 5 structs-ts-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 6 structs-ts-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 7 structs-ts-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 8 structs-ts-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-ti-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-ti-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-ti-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 5 structs-ti-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 6 structs-ti-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tl-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tl-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-tl-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 5 structs-tl-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 6 structs-tl-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tll-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tf-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tf-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-tf-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 5 structs-tf-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 6 structs-tf-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-td-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tld-tc FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tc-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-tc-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 5 structs-tc-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 6 structs-tc-ts FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc-ti FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tc-ti FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-tc-ti FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc-tl FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tc-tl FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-tc-tl FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc-tll FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc-tf FAIL: gdb.base/structs.exp: p/c L<n>; call 3 structs-tc-tf FAIL: gdb.base/structs.exp: p/c L<n>; call 4 structs-tc-tf FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc-td FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc-tld FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-td-tf FAIL: gdb.base/structs.exp: p/c L<n>; call 2 structs-tf-td FAIL: gdb.cp/classes.exp: call class_param.Aref_a (g_A) FAIL: gdb.cp/classes.exp: call class_param.Aref_x (g_A) FAIL: gdb.cp/classes.exp: call class_param.Aref_a (g_B) FAIL: gdb.cp/classes.exp: call class_param.Aref_x (g_B) FAIL: gdb.cp/classes.exp: call class_param.Aval_a (g_A) FAIL: gdb.cp/classes.exp: call class_param.Aval_x (g_A) FAIL: gdb.cp/classes.exp: call class_param.Aval_a (g_B) FAIL: gdb.cp/classes.exp: call class_param.Aval_x (g_B) FAIL: gdb.cp/ref-params.exp: print value of f1 on Child in main FAIL: gdb.cp/ref-params.exp: print value of f2 on Child in main FAIL: gdb.cp/ref-params.exp: print value of f1 on (Child&) in main FAIL: gdb.cp/ref-params.exp: print value of f2 on (Child&) in main FAIL: gdb.cp/ref-params.exp: print value of f1 on Child& in f2 FAIL: gdb.cp/ref-params.exp: print f1(MQ) FAIL: gdb.cp/ref-params.exp: print mf1(MQ) FAIL: gdb.cp/ref-params.exp: print mf2(MQ) FAIL: gdb.cp/ref-params.exp: print f1(MQR) FAIL: gdb.cp/ref-params.exp: print mf1(MQR) FAIL: gdb.cp/ref-params.exp: print mf2(MQR) FAIL: gdb.python/py-xmethods.exp: Before: a1 + a2 FAIL: gdb.python/py-xmethods.exp: Before: a2 - a1 FAIL: gdb.python/py-xmethods.exp: Before: b1 - a1 FAIL: gdb.python/py-xmethods.exp: After: a2 - a1 FAIL: gdb.python/py-xmethods.exp: After: b1 - a1 gdb/ChangeLog: * msp430-tdep.c (msp430_push_dummy_call): Treat reference, struct, and union arguments the same as pointer arguments when determining size of argument.
2015-09-29sim: ft32: correct simulation of MEMCPY and MEMSETJames Bowman2-2/+7
The MEMCPY and MEMSET instructions should only examine the low 15 bits of their length arguments.
2015-09-29sim: ft32: correctly simulate PM write portJames Bowman2-2/+10
The FT32 simulator was not correctly simulating the behavior of the program memory (PM) write port. When it is locked, writes to the data register do nothing.
2015-09-30Automatic date update in version.inGDB Administrator1-1/+1
2015-09-29Don't use the output section size to copy input sectionH.J. Lu11-32/+68
We can't use the output section size to copy input section since --interleave will shrink the output section. Instead, we change bfd_convert_section_contents to return the updated input section size. When we do that, we don't need to adjust the output section size to skip gap fills. bfd/ PR binutils/19020 * bfd.c (bfd_convert_section_contents): Add ptr_size parameter. * bfd-in2.h: Regenerated. binutils/ PR binutils/19020 * objcopy.c (copy_object): Don't adjust the output section size when copying from input sections. (copy_section): Use input section size for the copy. Get the updated section size from bfd_convert_section_contents. binutils/testsuite/ PR binutils/19020 * binutils-all/objcopy.exp: Run pr19020a and pr19020b. * lib/utils-lib.exp (run_dump_test): Support binary input. * binutils-all/pr19020.in: New file. * binutils-all/pr19020a.d: Likewise. * binutils-all/pr19020b.d: Likewise.
2015-09-29Undo accidental commitjamesbowman1-39/+6
2015-09-29Rebase patch #7jamesbowman1-6/+39
2015-09-29[FT32] Replace hard-coded instruction patterns with macrosjamesbowman2-9/+12
The stack unwinder can now use FT32_*() macros to interpet binary instructions instead of local definitions. 2015-09-29 James Bowman <james.bowman@ftdichip.com> * ft32-tdep.c: #include "opcode/ft32.h". Delete local macros IS_PUSH, PUSH_REG, IS_LINK, LINK_SIZE. (ft32_analyze_prologue): Use FT32_* macros.
2015-09-29Adjust the output section size to skip gap fillsH.J. Lu6-4/+61
In objcopy, copy_object calls copy_section to copy contents of input section to output section. When --gap-fill= is used, objcopy extends the size of output sectios to fill gaps between output sections with gap fills. In this case, we adjust the output section size to skip gap files to avoid reading beypond the input section buffer before calling copy_section and restore the output section size after input sections have been copied. binutils/ PR binutils/19005 * objcopy.c (copy_object): Adjust the output section size to skip gap fills between sections when copying from input sections to output sections. ld/testsuite/ PR binutils/19005 * ld-elf/pr19005.d: New file. * ld-elf/pr19005.s: Likewise. * ld-elf/pr19005.t: Likewise.
2015-09-29Add support for extensions in the .machine pseudoop on S/390, e.g. ".machine ↵Dominik Vogt22-562/+798
zEC12+nohtm+vx" gas * doc/c-s390.texi: Add documentation. Add missing code markup. * config/tc-s390.c (current_flags): New static variable. (s390_parse_cpu): Parse cpu flags a la "+nohtm" etc. (s390_setup_opcodes): Use cpu flags to determine the set of opcodes. Fix indentation. (md_parse_option): Call s390_parse_cpu with the new signature. (s390_machine): Likewise. Keep track of current_flags. Simplify code a bit. undefine MAX_HISTORY at end of function. (s390_machinemode): undefine MAX_HISTORY at end of function. Update an error message. tests * gas/s390/s390.exp: Add new tests. * gas/s390/machine-parsing-1.s: New test file. * gas/s390/machine-parsing-1.l: Likewise. * gas/s390/machine-parsing-2.s: Likewise. * gas/s390/machine-parsing-2.l: Likewise. * gas/s390/machine-parsing-3.s: Likewise. * gas/s390/machine-parsing-3.l: Likewise. * gas/s390/machine-parsing-4.s: Likewise. * gas/s390/machine-parsing-4.l: Likewise. * gas/s390/machine-parsing-5.s: Likewise. * gas/s390/machine-parsing-5.l: Likewise. * gas/s390/machine-parsing-6.s: Likewise. * gas/s390/machine-parsing-6.l: Likewise. opcode * s390.h (S390_INSTR_FLAG_HTM): New flag. (S390_INSTR_FLAG_VX): New flag. (S390_INSTR_FLAG_FACILITY_MASK): New flag mask. opcodes * s390-mkopc.c (main): Parse htm and vx flag. * s390-opc.txt: Mark instructions from the hardware transactional memory and vector facilities with the "htm"/"vx" flag.
2015-09-29PR/19014: Fix a spelling mistake in the linker documentation.Nick Clifton2-6/+11