aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-04sim: bfin: push SIC mappings to device treeMike Frysinger3-589/+723
The machs.c file is the best place for holding cpu-specific details, so restructure the way the SIC manages its ports to do just that. Now the SIC's have a standard set of input pins and the different line routing from peripherals is kept in the device tree only. This better models the hardware where the SIC doesn't care about the exact peripheral that is sending it stuff, just which input pin it gets it on. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-04 * archures.c (bfd_arch_get_compatible): If one arch is unknown,Alan Modra3-38/+47
return the other arch. * elfcode.h (elf_object_p): Allow explicit match to generic ELF target.
2011-06-04daily updateAlan Modra1-1/+1
2011-06-04*** empty log message ***gdbadmin1-1/+1
2011-06-03Various spelling fixes.Joel Brobecker10-25/+37
gdb/ChangeLog: From Stephen Kitt <steve@sk2.org> * breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c, gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes. gdb/testsuite/ChangeLog: From Stephen Kitt <steve@sk2.org> * gdb.base/help.exp: Adjust following some spelling corrections in GDB.
2011-06-03Spelling fixe in sim/ppc/vm.cJoel Brobecker2-1/+7
From Stephen Kitt <steve@sk2.org> * vm.c (vm_synchronize_context): Spelling fix in function documentation.
2011-06-03Minor spelling fix in ChangeLog.Joel Brobecker1-1/+1
2011-06-03Minor spelling fix.Joel Brobecker1-1/+1
2011-06-03Add CpuF16C to CPU_BDVER2_FLAGS.Quentin Neill3-2/+7
opcodes/ 2011-06-02 Quentin Neill <quentin.neill@amd.com> * i386-gen.c (cpu_flag_init): Add CpuF16C to CPU_BDVER2_FLAGS. * i386-init.h: Regenerated.
2011-06-03address size can be different from DW_OP_deref sizeJoel Brobecker2-0/+18
gdb/ChangeLog: * dwarf2expr.c (execute_stack_op) [DW_OP_deref]: Handle the case where ADDR_SIZE is different from TYPE_LENGTH (type).
2011-06-03 PR ld/12682Nick Clifton2-22/+37
* hash.c (higher_primer_number): Add more, small, prime numbers. (bfd_hash_set_default_size): Likewise.
2011-06-03gdbTom Tromey10-20/+59
* python/py-inferior.c (python_inferior_exit): Use inferior's exit code fields. * python/py-exitedevent.c (create_exited_event_object): Change type of 'exit_code'. Optionally add exit_code attribute. (emit_exited_event): Change type of 'exit_code'. * python/py-event.h (emit_exited_event): Update. * mi/mi-interp.c (mi_inferior_exit): Print exit code. * infrun.c (handle_inferior_event): Set exit code fields on inferior. * inferior.h (struct inferior) <has_exit_code, exit_code>: New fields. * inferior.c (exit_inferior_1): Initialize new fields. gdb/doc * gdb.texinfo (GDB/MI Async Records): Document 'exit-code' field. (Events In Python): Note that exit_code is optional.
2011-06-03 * dwarf2expr.c (get_signed_type): New function.Tom Tromey2-0/+39
(execute_stack_op) <DW_OP_shra>: Always perform a signed shift.
2011-06-03Fix attributation of previous delta.Nick Clifton1-1/+1
2011-06-03 PR gas/12698Nick Clifton2-0/+12
* config/tc-arm.c (parse_psr): Set m_profile to false when assembling for any architecture.
2011-06-03 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.cNick Clifton3-0/+17
Add rule to build eelf32am33lin.c * Makefile.in: Regenerate.
2011-06-03oops - spelling fixes accidentally omitted from previous delta.Nick Clifton2-3/+4
2011-06-03 PR binutils/12752Nick Clifton2-8/+24
* arm-dis.c (print_insn_coprocessor): Use bfd_vma type for computing address offsets. (print_arm_address): Likewise. (print_insn_arm): Likewise. (print_insn_thumb16): Likewise. (print_insn_thumb32): Likewise.
2011-06-03sim: bfin: dma: fix indentationMike Frysinger2-1/+5
2011-06-03daily updateAlan Modra1-1/+1
2011-06-03*** empty log message ***gdbadmin1-1/+1
2011-06-02 PR gold/12163Cary Coutant3-1/+19
* gold/archive.cc (Archive::Archive): Initialize new data member. (Archive::include_all_members): Return if archive has already been included. * gold/archive.h (Archive::include_all_members_): New data member.
2011-06-02 * objc-lang.c (find_methods): Increment objfile_csym earlier.Keith Seitz2-2/+6
2011-06-02 gas/Nathan Sidwell33-224/+502
* config/tc-arm.c (parse_address_main): Handle -0 offsets. (encode_arm_addr_mode_2): Set default sign of zero here ... (encode_arm_addr_mode_3): ... and here. (encode_arm_cp_address): ... and here. (md_apply_fix): Use default sign of zero here. gas/testsuite/ * gas/arm/inst.d: Adjust for signed zero offsets. * gas/arm/ldst-offset0.d: New test. * gas/arm/ldst-offset0.s: New test. * gas/arm/offset-1.d: New test. * gas/arm/offset-1.s: New test. ld/testsuite/ Adjust tests for zero offset formatting. * ld-arm/cortex-a8-fix-bcc-plt.d: Adjust. * ld-arm/farcall-arm-arm-pic-veneer.d: Adjust. * ld-arm/farcall-arm-thumb.d: Adjust. * ld-arm/farcall-group-size2.d: Adjust. * ld-arm/farcall-group.d: Adjust. * ld-arm/farcall-mix.d: Adjust. * ld-arm/farcall-mix2.d: Adjust. * ld-arm/farcall-mixed-lib-v4t.d: Adjust. * ld-arm/farcall-mixed-lib.d: Adjust. * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Adjust. * ld-arm/farcall-thumb-arm-pic-veneer.d: Adjust. * ld-arm/farcall-thumb-thumb.d: Adjust. * ld-arm/ifunc-10.dd: Adjust. * ld-arm/ifunc-3.dd: Adjust. * ld-arm/ifunc-4.dd: Adjust. * ld-arm/ifunc-5.dd: Adjust. * ld-arm/ifunc-6.dd: Adjust. * ld-arm/ifunc-7.dd: Adjust. * ld-arm/ifunc-8.dd: Adjust. * ld-arm/jump-reloc-veneers-long.d: Adjust. * ld-arm/tls-longplt-lib.d: Adjust. * ld-arm/tls-thumb1.d: Adjust. opcodes/ * arm-dis.c (print_insn_coprocessor): Explicitly print #-0 as address offset. (print_arm_address): Likewise. Elide positive #0 appropriately. (print_insn_arm): Likewise.
2011-06-022011-06-02 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-3/+4
gdb/ * top.h (simplified_command_loop): Delete declaration.
2011-06-02Fix spelling mistakes.Nick Clifton48-4555/+6016
2011-06-02* config.bfd: Add bfd_elf32_rx_be_ns_vec.DJ Delorie6-1/+45
* target.c: Likewise. * configure.in: Likewise. * configure.in: Regenerate. * elf32-rx.c: Add elf32-rx-be-ns target. (rx_elf_object_p): Never allow the be-ns target by default, only allow it if the user requests it.
2011-06-02daily updateAlan Modra1-1/+1
2011-06-02*** empty log message ***gdbadmin1-1/+1
2011-06-012011-05-31 Doug Kwan <dougkwan@google.com>Doug Kwan7-6/+120
Asier Llano PR gold/12826 * arm.cc (Target_arm::tag_cpu_arch_combine): Fix handling of arch value that equals to elfcpp::MAX_TAG_CPU_ARCH. * testsuite/Makefile.am: (MOSTLYCLEANFILES): Clean up. Remove redundant arm_exidx_test.so. * testsuite/Makefile.in: Regenerate. (check_SCRIPTS): Add pr12826.sh (check_DATA): Add pr12826.stdout (pr12826.stdout, pr12826.so, pr12826_1.o, pr12826_2.o): New rules. * testsuite/pr12826.sh: New file. * testsuite/pr12826_1.s: Ditto. * testsuite/pr12826_1.s: Ditto.
2011-06-01Properly warn relocation in readonly section in a shared object.H.J. Lu3-4/+10
2011-06-01 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_size_dynamic_sections): Properly warn relocation in readonly section in a shared object. * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
2011-06-01Add `sim_complete_command' definition to erc32 simJoel Brobecker2-0/+10
This patch fixes a build failure at link time due to sim_complete_command being undefined. There was a recent change that added this function to all the ports that do not use the common/ subdir. But somehow, the erc32 port got missed. sim/erc32/ChangeLog: * interf.c (sim_complete_command): New stub function.
2011-06-012011-06-01 Yao Qi <yao@codesourcery.com>Yao Qi2-0/+8
* gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2011-06-01gdb: sim: automatically pass down sysrootMike Frysinger2-0/+9
Since gdb sets up a nice sysroot path for us by default, automatically pass it down to the sim target so it too gets a good default. This does not override anything the user explicitly specifies of course. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-012011-06-01 Yao Qi <yao@codesourcery.com>Yao Qi2-2/+8
* objfiles.h (obj_section_addr): Update reference to objfile from `abfd' to `obfd'. (obj_section_endaddr): Likewise.
2011-06-01Really correct email address.Daniel Jacobowitz1-1/+1
2011-06-01 * MAINTAINERS: Update my email address.Daniel Jacobowitz2-2/+6
2011-06-01 * MAINTAINERS: Update my email address and affiliation. AlsoDaniel Jacobowitz2-8/+13
update Ian Lance Taylor's affiliation. Use UTF-8 for ludo@gnu.org.
2011-06-01*** empty log message ***gdbadmin1-1/+1
2011-05-31 PR c++/12750Keith Seitz3-0/+134
* gdb.cp/static-method.cc: New file. * gdb.cp/static-method.exp: New file.
2011-05-31 PR c++/12750Keith Seitz2-51/+104
* linespec.c (get_search_block): New function. (find_methods): Add FILE_SYMTATB parameter and use it and get_search_block to pass an appropriate block to lookup_symbol_in_namespace. (decode_line_1): Record if *ARGPTR is single-quote enclosed. Check if *ARGPTR starts with a filename first. If it does, call locate_first_half again to locate the next "first half" of the linespec. Pass FILE_SYMTATB to decode_objc and decode_compound. Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. (locate_first_half): Stop on the first colon seen. (decode_compound): Add FILE_SYMTAB parameter. Pass FILE_SYMTAB to lookup_prefix_sym and find_method. (lookup_prefix_sym): Add FILE_SYMTAB parameter and use get_search_block with lookup_symbol. (find_method): Add FILE_SYMTAB parameter and pass it to find_methods. (decode_objc): Use get_search_block.
2011-05-31 PR symtab/12704Keith Seitz3-0/+168
* gdb.cp/anon-ns.cc: New file. * gdb.cp/anon-ns.exp: New file.
2011-05-31 PR symtab/12704Keith Seitz5-12/+38
* cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove. (cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR and CP_ANONYMOUS_NAMESPACE_LEN. (cp_is_anonymous): Likewise. * cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define. (CP_ANONYMOUS_NAMESPACE_LEN): Define. * dwarf2read.c (namespace_name): Likewise. (fixup_partial_die): Likewise. * linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is seen in the input, keep it.
2011-05-312011-05-31 Pedro Alves <pedro@codesourcery.com>Pedro Alves6-2/+105
gdb/gdbserver/ * linux-x86-low.c (i386_dr_low_get_addr): Fix off by one in assertion. * win32-i386-low.c (i386_dr_low_get_addr): Ditto. gdb/testsuite/ * gdb.arch/i386-dr3-watch.c: New file. * gdb.arch/i386-dr3-watch.exp: New file.
2011-05-31 * archive.c (adjust_relative_path): Fix comment to prevent itNick Clifton2-3/+12
corrupting the auto-generated bfd.h.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook11-2/+51
gas/ * config/tc-arm.c (arm_cpus): Add Cortex-R5. (arm_extensions): Allow idiv on ARMv7-R. * doc/c-arm.text: Update idiv extension restrictions. gas/testsuite/ * gas/arm/arm-idiv-bad.d: New test. * gas/arm/arm-idiv-bad.s: New test. * gas/arm/arm-idiv-bad.l: New test. * gas/arm/arm-idiv.d: New test. * gas/arm/arm-idiv.s: New test. include/ * opcode/arm.h (ARM_ARCH_V7R_IDIV): Define.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook5-2/+59
gas/ * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative loads. gas/testsuite/ * gas/arm/ldr-global.d: New test. * gas/arm/ldr-global.s: New test.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook12-11/+62
bfd/ * elf32-arm.c (elf32_arm_final_link_relocate): Only do bl conversion for known functions. (elf32_arm_swap_symbol_in): Only set ST_BRANCH_TO_ARM for function symbols. include/elf/ * arm.h (arm_st_branch_type): Add ST_BRANCH_UNKNOWN. ld/testsuite/ * ld-arm/cortex-a8-far.d: Adjust expected output. * ld-arm/arm-call1.s: Give function symbol correct type. * ld-arm/arm-call2.s: Ditto. * ld-arm/farcall-group4.s: Ditto. * ld-arm/arm-elf.exp (cortex-a8-far): Define far symbols with correct type via assembly file. * ld-arm/cortex-a8-far-3.s: New file. * ld-arm/abs-call-1.s: Add Thumb tests
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook5-1/+32
gas/ * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant addresses. gas/testsuite/ * arm/t2-branch-global.d: New test. * arm/t2-branch-global.s: New test.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook7-0/+63
Nathan Sidwell <nathan@codesourcery.com> gas/ * config/tc-arm.c (fix_new_arm): Create an absolute symbol for pc-relative fixes to constants. * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define. ld/testsuite/ * ld-arm/abs-call-1.d: New. * ld-arm/abs-call-1.s: New. * ld-arm/arm-elf.exp: Add it.