summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bfd/Tristan Gingold2013-07-2414-58/+222
| | | | | | | | | | | | | | | | | | | | | | | | 2013-07-24 Tristan Gingold <gingold@adacore.com> * coff-rs6000.c (xcoff_howto_table): Fix masks and pc_relative for R_RBR. Add numbers in comments. (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_PPC_B16. * coff64-rs6000.c: Likewise. gas/ 2013-07-24 Tristan Gingold <gingold@adacore.com> * config/tc-ppc.c (md_apply_fix): Adjust BFD_RELOC_PPC_B16 on xcoff targets. gas/testsuite/ 2013-07-24 Tristan Gingold <gingold@adacore.com> * gas/ppc/test2xcoff32.s, gas/ppc/test2xcoff32.d: New files * gas/ppc/ppc.exp: Add new test. * gas/ppc/xcoff-br16-1.s, gas/ppc/xcoff-br16-1.d, gas/ppc/xcoff-br16-2.s, gas/ppc/xcoff-br16-2.d: New files * gas/ppc/aix.exp: Add new tests.
* gdb/testsuite/Yao Qi2013-07-243-5/+25
| | | | | | | * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on host. * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons): Likewise. If host is remote, copy ${binfile} to host.
* 2013-07-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2013-07-242-4/+5
| | | | | * config/tc-s390.c (s390_machine): Don't force the .machine argument to lower case.
* daily updateAlan Modra2013-07-241-1/+1
|
* oops - omitted from previous deltaNick Clifton2013-07-231-0/+3
|
* gdb/Yao Qi2013-07-235-9/+19
| | | | | | | | | | | | | * i386-tdep.c (i386_in_stack_tramp_p): Remove unused parameter 'gdbarch'. (i386_stack_tramp_frame_sniffer): Caller update. * i386-linux-tdep.c (i386_linux_core_read_xcr0): Remove parameter 'gdbarch' and 'target'. (i386_linux_core_read_description): Caller update. * amd64-linux-tdep.c (amd64_linux_core_read_description): Likewise. * i386-linux-tdep.h (i386_linux_core_read_xcr0): Update declaration.
* * dwarf2read.c (init_cutu_and_read_dies): Revert patch fromTom Tromey2013-07-232-14/+24
| | | | 2013-07-22.
* gdb/testsuite/Yao Qi2013-07-232-3/+8
| | | | | * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error message.
* daily updateAlan Modra2013-07-231-1/+1
|
* Fix the following ChangeLog entry:Jan Kratochvil2013-07-221-2/+4
| | | | | | | | | | | | | | 2013-07-22 Doug Evans <dje@google.com> gdb/ * exec.h (remove_target_sections): Delete arg abfd. * exec.c (exec_close): Update call to remove_target_sections. (remove_target_sections): Delete arg abfd. * solib.c (update_solib_list): Ditto. (reload_shared_libraries_1): Ditto. (clear_solib): Ditto, and unconditionally call remove_target_sections. * target.h (struct target_section): Rename key to owner. All uses updated.
* 2013-07-22 Doug Evans <dje@google.com>Jan Kratochvil2013-07-225-19/+31
| | | | | | | | | | gdb/ * exec.h (remove_target_sections): Delete arg abfd. * exec.c (remove_target_sections): Delete arg abfd. (exec_close): Update call to remove_target_sections. * solib.c (update_solib_list): Ditto. (reload_shared_libraries_1): Ditto. (clear_solib): Ditto, and unconditionally call remove_target_sections.
* merge from gccDJ Delorie2013-07-221-1/+1
|
* fix solib-som.cTom Tromey2013-07-222-1/+7
| | | | | | som_open_symbol_file_object was leaking a cleanup. * solib-som.c (som_open_symbol_file_object): Call do_cleanups.
* fix init_cutu_and_read_diesTom Tromey2013-07-222-19/+19
| | | | | | | | | | init_cutu_and_read_dies creates an outer cleanup and uses its immediately nested inner cleanup conditionally. This seems overly complicated to me; simpler is to just deal with the outer cleanup and drop the inner one. That is what this patch implements. * dwarf2read.c (init_cutu_and_read_dies): Remove 'free_cu_cleanup'. Simplify cleanup handling.
* fix dwarf_decode_line_headerTom Tromey2013-07-222-0/+6
| | | | | | | | | | dwarf_decode_line_header has one return that is missing a call to do_cleanups. This patch adds it. This was found using the cleanup checker. * dwarf2read.c (dwarf_decode_line_header): Call do_cleanups on all return paths.
* src-release: Fix VER computation for TOOL=gdbJoel Brobecker2013-07-222-0/+11
| | | | | | | | | | | | | Without this patch, the DATE marker in gdb/version.in does not get replaced by the source packaging date, causing the name of the tarball being created to: have the DATE marker in the tarball name and the name of the directory the sources unpack to (Eg: gdb-7.6.50-DATE-cvs.tar instead of gdb-7.6.50-20130710-cvs.tar). ChangeLog: * src-release (VER): Use $(TOOL)/common/create-version.sh if it exists.
* 2013-07-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>Ulrich Weigand2013-07-222-4/+21
| | | | | | * ppc-linux-nat.c (PPC_DEBUG_FEATURE_DATA_BP_DAWR): New define. (ppc_linux_region_ok_for_hw_watchpoint): Add checking to use the new DAWR interface for longer ranges hardware watchpoint (up to 512 bytes).
* oops - omitted fromn previous deltaNick Clifton2013-07-224-0/+12
|
* * ld-scripts/script.exp: Use run_dump_test instead ofNick Clifton2013-07-222-13/+12
| | | | | | | | | ld_simple_link to check the error message. * ld-scripts/align-with-input.d: New file. * ld-scripts/region-alias-1.d: Likewise. * ld-scripts/region-alias-2.d: Likewise. * ld-scripts/region-alias-3.d: Likewise. * ld-scripts/region-alias-4.d: Likewise.
* 2013-07-22 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2013-07-222-1/+12
| | | | | * top.c (print_gdb_version): Add help, apropos description and url to online documentation.
* 2013-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Kyrylo Tkachov2013-07-222-1/+6
| | | | | * config/tc-arm.c (s_arm_arch_extension): Improve error message for invalid extension.
* daily updateAlan Modra2013-07-221-1/+1
|
* merge from gccDJ Delorie2013-07-211-1/+1
|
* daily updateAlan Modra2013-07-211-1/+1
|
* PR ld/15762Alan Modra2013-07-202-1/+8
| | | | | | PR ld/12761 * elflink.c (elf_link_add_object_symbols): Don't clobber .gnu.warning.symbol sections when shared.
* daily updateAlan Modra2013-07-201-1/+1
|
* gold/Roland McGrath2013-07-195-9/+72
| | | | | | | | | | | | | | * options.h (General_options): Add -Trodata-segment option. * parameters.cc (Parameters::check_rodata_segment): New function. (Parameters::set_target_once): Call it. * parameters.h (Parameters): Declare it (private member function). * layout.cc (load_seg_unusable_for_headers): New function, broken out of Layout::relaxation_loop_body. If TARGET->isolate_execinstr() then validate rodata segment rather than text segment. (relaxation_loop_body): Call that. (is_text_segment): New function. Don't admit a non-executable segment if TARGET->isolate_execinstr(). (set_segment_offsets): Call it. Honor -Trodata-segment option.
* [AArch64, ILP32] Retire -milp32 and -mlp64; use -mabi=ilp32 and -mabi=lp64.Yufeng Zhang2013-07-196-6/+77
| | | | | | | | | | | | | | | | | | | | gas/ * config/tc-aarch64.c (enum aarch64_abi_type): New enumeration tag. (AARCH64_ABI_LP64, AARCH64_ABI_ILP32): New enumerators. (aarch64_abi): New variable. (ilp32_p): Change to be a macro. (aarch64_opts): Remove the support for option -milp32 and -mlp64. (struct aarch64_option_abi_value_table): New struct. (aarch64_abis): New table. (aarch64_parse_abi): New function. (aarch64_long_opts): Add entry for -mabi=. * doc/as.texinfo (Target AArch64 options): Document -mabi. * doc/c-aarch64.texi: Likewise. gas/testsuite/ * gas/aarch64/ilp32-basic.d (#as): Update to use -mabi=ilp32
* oops - omitted from previous deltaNick Clifton2013-07-191-0/+12
|
* * elf32-rx.c (rx_elf_relocate_section): Fix typo: moveNick Clifton2013-07-192-1/+6
| | | | saw_subtract from R_RX_OPdiv to R_RX_OPneg.
* PR binutils/15745Nick Clifton2013-07-192-7/+13
| | | | | | * readelf.c (get_unwind_section_word): Whilst searching for a reloc section associated with an unwind section, check the type as well as the section number.
* * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.Nick Clifton2013-07-1912-32/+79
| | | | | | | | | | | | | | * ldlang.c: Likewise. * ldlang.h: Likewise. * ldlex.l: Likewise. * mri.c: Likewise. * ld.texinfo: Document new feature. * NEWS: Mention new feature. * ld-scripts/script.exp: Run align with input test. * ld-scripts/align-with-input.t: New file. * ld-scripts/rgn-at8.d: Likewise. * ld-scripts/rgn-at8.t: Likewise.
* gdb/testsuite/gdb.base: Enable disp-step-syscall.exp tests for ARM.Will Newton2013-07-192-0/+7
| | | | | | | | | | | | | | | | disp-step-syscall.exp is not run for ARM targets because ARM syscall instructions have not been added to the list of possible syscall instructions. This patch adds ARM syscall instructions to enable disp-step-syscall.exp tests for ARM targets. Attached patch is tested on ARMv7 and helps pass all disp-step-syscall.exp tests for ARM targets. gdb/testsuite/ChangeLog: 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org> * gdb.base/disp-step-syscall.exp: Add svc and swi syscall instructions and enable disp-step-syscall for arm targets.
* gdb/testsuite/gdb.dwarf2: Replace @ with % for ARM compatability.Will Newton2013-07-195-20/+28
| | | | | | | | | | | | | | | | | | The ARM assembler recognises @ symbol as a comment marker and therefore is unable to assemble some of gdb.dwarf2 testsuite tests. This patch replaces all occurrences of @ symbol with % sign to allow tests stay compatible with both ARM and x86 assembly. This patch has been tested on x86_64 and ARMv7 targets. gdb/testsuite/ChangeLog: 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org> * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove assembler errors on arm. * gdb.dwarf2/mac-fileno.S: Likewise. * gdb.dwarf2/member-ptr-forwardref.S: Likewise. * gdb.dwarf2/pr13961.S: Likewise.
* 2013-07-19 Hui Zhu <hui@codesourcery.com>Hui Zhu2013-07-194-3/+22
| | | | | | | | | | PR gdb/15692 * mi/mi-cmd-break.c (mi_argv_to_format): Handle double quotes. 2013-07-19 Hui Zhu <hui@codesourcery.com> PR gdb/15692 * gdb.mi/mi-dprintf.exp: Add double quotes test.
* daily updateAlan Modra2013-07-191-1/+1
|
* gdb/Yao Qi2013-07-186-12/+32
| | | | | | | | | | | | | | * target.c (update_current_target): Change the default action of 'to_traceframe_info' from tcomplain to return_zero. * target.h (struct target_ops) <to_traceframe_info>: Add more comments. * valops.c (read_value_memory): Call traceframe_available_memory unconditionally. gdb/testsuite/ * gdb.trace/read-memory.exp (test_from_remote): Update test. (teset_from_exec): Likewise.
* gdb/testsuite/Yao Qi2013-07-183-0/+213
| | | | | * gdb.trace/read-memory.c: New. * gdb.trace/read-memory.exp: New.
* gdb/testsuite/Yao Qi2013-07-182-2/+22
| | | | | | * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of $dest to link options if host is remote. Move the generated file to $dest.a on host if host is remote.
* * ar.c (usage): Fix C conformance issue.Nick Clifton2013-07-184-3/+12
| | | | | * config/tc-i386-intel.c (i386_intel_operand): Fixed signed vs unsigned comparison.
* gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads.Will Newton2013-07-184-0/+18
| | | | | | | | | | | | | | | | | On Ubuntu by default the compiler passes --as-needed to ld which means no DT_NEEDED entry is added for libpthread when building the TLS tests. This causes the test to fail as libpthread is required to look up TLS variables. Add calls to pthread_testcancel to make sure libpthread gets linked. gdb/testsuite/ChangeLog: 2013-07-18 Will Newton <will.newton@linaro.org> * gdb.threads/tls-nodebug.c: Call pthread_testcancel to ensure the test is linked against pthreads. * gdb.threads/tls-var-main.c: Likewise. * gdb.threads/tls-shared.c: Likewise.
* * doc/binutils.texi (nm, objdump): Remove bogus links to STABSNick Clifton2013-07-182-8/+3
| | | | documentation.
* PR ld/15721Nick Clifton2013-07-182-12/+21
| | | | | | | | * elf32-msp430.c (R_MSP430_10_PCREL): Use 10-bit source and destination masks. * R_MSP430_2X_PCREL: Likewise. * R_MSP430X_10_PCREL: Likewise. * R_MSP430X_2X_PCREL: Likewise.
* PR binutils/15728Nick Clifton2013-07-182-6/+15
| | | | | | | | * basic-ops.h: (SUBWORDSIQI) Make declaration static. * (SUBWORDSIHI): Likewise. * (SUBWORDDIQI): Likewise. * (SUBWORDDIHI): Likewise. * (SUBWORDDISI): Likewise.
* * config/rx-defs.h: Add macros for RX100, RX200, RX600, andNick Clifton2013-07-185-14/+66
| | | | | | | | | | RX610. * config/rx-parse.y: (rx_check_float_support): Add function to check floating point operation support for target RX100 and RX200. * config/tc-rx.c: Add CPU options RX100, RX200, RX600, and RX610. * doc/c-rx.texi: Add -mcpu option to recognize macros for RX100, RX200, RX600, and RX610
* * elf32-arm.c (arm_type_of_stub): Don't use ST_BRANCH_TO_ARM forNick Clifton2013-07-185-2/+27
| | | | | | | | thumb only targets. (elf32_arm_final_link_relocate): Likewise. * ld-arm/thumb-b-lks-sym.d: Updated to be more flexible. * ld-arm/thumb-bl-lks-sym.d: Likewise.
* * config/tc-avr.c (md_show_usage): Add avrxmega2 to help textNick Clifton2013-07-182-0/+5
|
* * config/tc-avr.c: Make ata6289's ISA to AVR_ISA_AVR4.Nick Clifton2013-07-183-3/+8
| | | | * doc/c-avr.texi: Likewise.
* * mach-o.c (mach_o_section_name_xlat dw): Add entry forNick Clifton2013-07-182-0/+8
| | | | .debug_gdb_scripts
* * elf32-arm.c (elf32_arm_stub_long_branch_arm_nacl): New variable.Nick Clifton2013-07-1811-195/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (elf32_arm_stub_long_branch_arm_nacl_pic): New variable. (arm_build_one_stub): Increase MAXRELOCS to 3. (arm_type_of_stub): Use them if GLOBALS->nacl_p. (struct elf32_arm_link_hash_table): Give add_stub_section member's pointee type a third argument. (elf32_arm_create_or_find_stub_sec): Update caller. (elf32_arm_size_stubs): Update argument type. * bfd-in.h (elf32_arm_size_stubs): Update decl. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * emultempl/armelf.em (elf32_arm_add_stub_section): Take third argument ALIGNMENT_POWER, use it instead of constant 3. * ld-arm/farcall-arm-nacl.d: New file. * ld-arm/farcall-arm-nacl-pic.d: New file. * ld-arm/farcall-data-nacl.d: New file. * ld-arm/arm-elf.exp (armeabitests_common): Add extra element to "action" lists for those cases to use a different dump file for NaCl targets. Massage $armeabitests_common to drop the extra element or the one before it, depending on [istarget "arm*-*-nacl*"]. * ld-arm/arm-elf.exp (armelftests_common): Move all "Cortex-A8 erratum fix", Thumb-only and interworking cases to ... (armelftests_nonacl): ... here. (armeabitests_common): Move all "erratum 760522 fix", Thumb-only and interworking cases to ... (armeabitests_nonacl): ... here.
OpenPOWER on IntegriCloud