aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-07 PR gdb/8869:Tom Tromey4-107/+181
* language.c (language_completer): New function. (range_or_type_completer): New function. (case_completer): New function. (_initialize_language): Set completers. * cli/cli-decode.c (add_setshow_string_cmd): Return the "set" command. (add_setshow_string_noescape_cmd): Likewise. (add_setshow_integer_cmd): Likewise. (add_setshow_uinteger_cmd): Likewise. (add_setshow_zinteger_cmd): Likewise. (add_setshow_zuinteger_cmd): Likewise. * command.h (add_setshow_string_cmd, add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd, add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.
2009-08-07 binutils/testsuite/Daniel Jacobowitz2-27/+31
* binutils-all/testranges.s: Use %progbits. Use ";#" for comments.
2009-08-07 gas/Daniel Jacobowitz5-19/+32
* config/tc-arm.c (marked_pr_dependency, mapstate): Delete global variables. (mapping_state): Use the section's mapstate. (mapping_state_2): Likewise. Skip special sections. (s_arm_unwind_fnend): Use the section's marked_pr_dependency. (arm_elf_change_section): Do not set deleted globals. * config/tc-arm.h (struct arm_segment_info_type): Document marked_pr_dependency. gas/testsuite/ * gas/arm/mapping2.s: Test code after .ident.
2009-08-07*** empty log message ***Sriraman Tallam2-1/+5
2009-08-07*** empty log message ***Sriraman Tallam6-11/+111
2009-08-07 * elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strictTom Tromey2-2/+8
aliasing error.
2009-08-07Mention MicroBlaze.Michael Eager2-0/+6
2009-08-07missed from last commitAlan Modra1-0/+74
2009-08-07*** empty log message ***gdbadmin1-1/+1
2009-08-07daily updateAlan Modra1-1/+1
2009-08-062009-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-2/+16
gold/10400 * dwarf2-frame.c (qsort_fde_cmp): Use stable sort.
2009-08-062009-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-56/+185
* dwarf2-frame.c (struct dwarf2_cie): Remove 'next'. (struct dwarf2_cie_table): New. (struct dwarf2_fde): Remove 'next'. (struct dwarf2_fde_table): New. (struct comp_unit): Remove 'cie'. (bsearch_cie_cmp, bsearch_fde_cmp): New function. (find_cie, dwarf2_frame_find_fde): Use bsearch. (add_cie, add_fde): Use array instead of linked list. (decode_frame_entry, decode_frame_entry_1): New parameters. (qsort_fde_cmp): New function. (dwarf2_build_frame_info): Adjust.
2009-08-06(Server Prefix): Explain that server prefix suppressesNick Roberts1-3/+8
confirmation request.
2009-08-06*** empty log message ***Nick Roberts1-0/+5
2009-08-06 * configure.ac: Add Microblaze target.Nick Clifton3-0/+11
* configure: Regenerate.
2009-08-06 Add support for Xilinx MicroBlaze processor.Nick Clifton55-27/+7428
* bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}. * bfd/Makefile.in: Same. * bfd/archures.c: Add bfd_arch_microblaze. * bfd/bfd-in2.h: Regenerate. * bfd/config.bfd: Add microblaze target. * bfd/configure: Add bfd_elf32_microblaze_vec target. * bfd/configure.in: Same. * bfd/cpu-microblaze.c: New. * bfd/elf32-microblaze.c: New. * bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc(). * bfd/libbfd.h: Regenerate. * bfd/reloc.c: Add MICROBLAZE relocations. * bfd/section.c: Add struct relax_table and relax_count to section. * bfd/targets.c: Add bfd_elf32_microblaze_vec. * binutils/MAINTAINERS: Add self as maintainer. * binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE & EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(), get_machine_name(). * config.sub: Add microblaze target. * configure: Same. * configure.ac: Same. * gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add DEP_microblaze_elf target. * gas/Makefile.in: Same. * gas/config/tc-microblaze.c: Add MicroBlaze assembler. * gas/config/tc-microblaze.h: Add header for tc-microblaze.c. * gas/configure: Add microblaze target. * gas/configure.in: Same. * gas/configure.tgt: Same. * gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS. * gas/doc/Makefile.in: Same. * gas/doc/all.texi: Set MICROBLAZE. * gas/doc/as.texinfo: Add MicroBlaze doc links. * gas/doc/c-microblaze.texi: New MicroBlaze docs. * include/dis-asm.h: Decl print_insn_microblaze(). * include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD. * include/elf/microblaze.h: New reloc definitions. * ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to ALL_EMULATIONS, targets. * ld/Makefile.in: Same. * ld/configure.tgt: Add microblaze*-linux*, microblaze* targets. * ld/emulparams/elf32mb_linux.sh: New. * ld/emulparams/elf32microblaze.sh. New. * ld/scripttempl/elfmicroblaze.sc: New. * opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to CFILES, microblaze-dis.lo to ALL_MACHINES, targets. * opcodes/Makefile.in: Same. * opcodes/configure: Add bfd_microblaze_arch target. * opcodes/configure.in: Same. * opcodes/disassemble.c: Define ARCH_microblaze, return print_insn_microblaze(). * opcodes/microblaze-dis.c: New MicroBlaze disassembler. * opcodes/microblaze-opc.h: New MicroBlaze opcode definitions. * opcodes/microblaze-opcm.h: New MicroBlaze opcode types.
2009-08-06Correct date.H.J. Lu1-1/+1
2009-08-062009-08-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+21
PR binutils/10492 * binutils-all/objcopy.exp: Run strip-10. * binutils-all/strip-10.d: New. * binutils-all/unique.s: Likewise.
2009-08-06 PR binutils/10492Jakub Jelinek4-3/+12
* elf.c (sym_is_global): Return true even for BSF_GNU_UNIQUE symbols. * elf32-mips.c (mips_elf_sym_is_global): Likewise. * elfn32-mips.c (mips_elf_sym_is_global): Likewise.
2009-08-06 bfd/Nathan Sidwell7-0/+74
* elf32-arm.c (elf32_arm_size_stubs): Call layout_sections_again at least once when fixing cortex-a8. ld/testsuite/ * ld-arm/arm-elf.exp: Add new test. * ld-arm/cortex-a8-fix-hdr.d: New. * ld-arm/cortex-a8-fix-hdr.s: New. * ld-arm/cortex-a8-fix-hdr.t: New.
2009-08-06 * score-tdep.c: Support a new Sunplus CT S+core variant, S+core 3.Don Lee6-338/+972
* score-tdep.h: Ditto. * NEWS: Ditto. * configure.tgt: Test do we have a simulator. * MAINTAINERS: Add myself under target score
2009-08-06 * config/tc-arm.c (md_assemble): Call mapping_state from inside aNick Clifton2-2/+11
block in case it is a null macro.
2009-08-06(defaulted_query): Don't ask for confirmation if serverNick Roberts1-2/+2
prefix is used.
2009-08-06*** empty log message ***Nick Roberts1-1/+6
2009-08-06daily updateAlan Modra1-1/+1
2009-08-06*** empty log message ***gdbadmin1-1/+1
2009-08-052009-08-05 Chao-ying Fu <fu@mips.com>Chao-ying Fu4-0/+14
* gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, gas/mips/mips-abi32-pic2.d: Add R_MIPS_JALR relocations after jalr.
2009-08-052009-08-05 Chao-ying Fu <fu@mips.com>Chao-ying Fu2-2/+16
* config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is true for new abi. For non-IRIX targets, it is always true. (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
2009-08-052009-08-05 Chao-ying Fu <fu@mips.com>Chao-ying Fu3-8/+30
* elf32-mips.c (mips_reloc_map): Add BFD_RELOC_MIPS_JALR. * elfxx-mips.c (JAL_TO_BAL_P): New define to transform JAL to BAL for CPUs. It is true for RM9000. (JALR_TO_BAL_P): New define to transform JALR to BAL. It is true for all CPUs. (mips_elf_perform_relocation): Use JAL_TO_BAL_P and JALR_TO_BAL_P to guard the transformation.
2009-08-05*** empty log message ***Sriraman Tallam24-131/+1332
2009-08-05bfd/Trevor Smigiel9-1/+225
* elf32-spu.h (spu_elf_params): Add member emit_fixups. (spu_elf_size_sections): Declare prototype. * elf32-spu.c (spu_link_hash_table): Add member sfixup. (FIXUP_RECORD_SIZE, FIXUP_GET, FIXUP_PUT): New macros. (spu_elf_emit_fixup): New function. (spu_elf_relocate_section): Emit fixup for each SPU_ADDR32. (spu_elf_size_sections): New function. ld/ * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup section and __fixup_start symbol. * emultempl/spuelf.em (params): Initialize emit_fixups member. (spu_before_allocation): Call spu_elf_size_sections. (OPTION_SPU_EMIT_FIXUPS): Define. (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups. (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups. * ld.texinfo (--emit-fixups): Document. ld/testsuite/ * ld-spu/fixup.d: New. * ld-spu/fixup.s: New.
2009-08-05 * gdb.texinfo (Separate Debug Files, Remote Protocol): ClarifiedEli Zaretskii2-18/+71
CRC definitions.
2009-08-05 * spu-tdep.h (SPUADDR_SPU): Cast result to int.Tom Tromey2-1/+7
2009-08-05/gas:Eric B. Weddington3-7/+21
2009-08-05 Eric B. Weddington <eric.weddington@atmel.com> * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a, attiny861a, atmega644pa, attiny24a, attiny44a. * doc/c-avr.texi: Likewise.
2009-08-05 bfd/Nathan Sidwell7-13/+140
* elf32-arm.c (elf32_arm_stub_type): Add arm_stub_a8_veneer_lwm. (arm_build_one_stub): Build a8 veneers as a separate pass. (cortex_a8_erratum_scan): Add prev_num_a8_fixes and stub_changed_p parameters. Use them to check if we create a different a8 fixup than the previous pass. (elf32_arm_size_stubs): Move scope of stub_changed and prev_num_a8_fixes into main loop. (elf32_arm_build_stubs): Build a8 veneers in a second pass. ld/testsuite/ * ld-arm/cortex-a8-far-1.s: New. * ld-arm/cortex-a8-far-2.s: New. * ld-arm/cortex-a8-far.d: New. * ld-arm/arm-elf.exp: Add new test.
2009-08-052009-08-04 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore3-0/+18
gas/ * doc/c-mips.texi (MIPS Opts): List 1004K options for -march. * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
2009-08-05*** empty log message ***gdbadmin1-1/+1
2009-08-05daily updateAlan Modra1-1/+1
2009-08-042009-08-04 Thiago Jung Bauermann <thiago.bauermann@gmail.com>Thiago Jung Bauermann3-0/+123
gdb/ * linux-tdep.c (check_is_pie_binary, _initialize_linux_tdep): New functions. gdb/testsuite/ * gdb.base/pie-support.exp: New file. * gdb.base/pie-support.c: New file.
2009-08-042009-08-04 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov4-29/+51
* objfiles.h (OBJF_KEEPBFD): Delete. (gdb_bfd_unref): New prototype. * objfiles.c (gdb_bfd_unref): New function. (free_objfile): Call gdb_bfd_unref. * solib.c (free_so): Likewise. (symbol_add_stub): Set refcount.
2009-08-042009-08-04 Hui Zhu <teawater@gmail.com>Michael Snyder2-26/+62
Michael Snyder <msnyder@vmware.com> * record.c (record_mem_entry): New field 'mem_entry_not_accessible'. (record_arch_list_add_mem): Initialize 'mem_entry_not_accessible'. (record_wait): Set 'mem_entry_not_accessible' flag if target memory not readable. Don't try to change target memory if 'mem_entry_not_accessible' is set.
2009-08-04 * config/tc-arm.c (my_get_expression): Detect missing expressions.Nathan Sidwell6-3/+22
testsuite/ * gas/arm/missing.s: New. * gas/arm/missing.d: New. * gas/arm/missing.l: New.
2009-08-04 PR 10474Alan Modra2-3/+9
* emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize, not size, after lang_reset_memory_regions.
2009-08-04 * elf32-ppc.c (ppc_elf_relax_section): Correct conditions underAlan Modra2-38/+46
which find_plt_ent is called. Delete redundant code.
2009-08-04daily updateAlan Modra1-1/+1
2009-08-04*** empty log message ***gdbadmin1-1/+1
2009-08-032009-08-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
PR binutils/10363 * elf.c (bfd_elf_string_from_elf_section): Return NULL on invalid string offset.
2009-08-03gdb/Jan Kratochvil2-2/+19
Fix memory corruption on reread of file through a symbolic link. * symfile.c (find_separate_debug_file): Initialize CANON_NAME earlier. Allocate DEBUGFILE with length based on CANON_NAME. Free CANON_NAME on all the return paths.
2009-08-032009-08-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+11
PR ld/10433 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Set got to htab->init_got_offset and plt to htab->init_plt_offset when discarding space for dynamic relocations.
2009-08-032009-08-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+13
PR binutils/10364 * objcopy.c (strip_main): Check return from smart_rename. (copy_main): Likewise.