summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * elf-bfd.h (bfd_elf_get_str_section): Don't declare.Alan Modra2009-02-024-52/+11
| | | | | | | (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise. * elf.c (bfd_elf_get_str_section): Make static. (bfd_elf_find_section): Delete. * libbfd.h: Regenerate.
* daily updateAlan Modra2009-02-021-1/+1
|
* *** empty log message ***gdbadmin2009-02-021-1/+1
|
* * target.h (target_waitstatus_to_string): Declare.Doug Evans2009-02-014-31/+80
| | | | | | | | | | | * target.c (target_waitstatus_to_string): New function. Copied from debug_to_wait. Add missing entries for TARGET_WAITKIND_SYSCALL_ENTRY, TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_IGNORE, TARGET_WAITKIND_NO_HISTORY. (debug_to_wait): Call it. * infrun.c (wait_for_inferior): If debug_infrun, print result of target_wait. (fetch_inferior_event): Ditto.
* bfd/Jan Kratochvil2009-02-015-24/+51
| | | | | | | | | * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove. (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs. ld/testsuite/ * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'. * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
* * script.cc (Lazy_demangler): New class.Ian Lance Taylor2009-02-012-12/+59
| | | | | (Version_script_info::get_symbol_version_helper): Demangle a symbol only once.
* daily updateAlan Modra2009-02-011-1/+1
|
* *** empty log message ***gdbadmin2009-02-011-1/+1
|
* binutils/Alan Modra2009-01-316-5/+39
| | | | | | | | | | * NEWS: Mention --as-needed change. ld/ * ld.texinfo (--as-needed): Update. bfd/ * elflink.c (on_needed_list): New function. (elf_link_add_object_symbols): Link in --as-needed libs if they satisfy undefined symbols in other libs.
* *** empty log message ***gdbadmin2009-01-311-1/+1
|
* daily updateAlan Modra2009-01-311-1/+1
|
* * Makefile.in (HFILES_NO_SRCDIR): Remove i386-cygwin-tdep.h.Tom Tromey2009-01-302-1/+5
|
* PR 8145.Vladimir Prus2009-01-306-15/+29
| | | | | * thread.c (do_captured_list_thread_ids): Report the current thread id.
* * breakpoint.c (create_breakpoint, create_breakpoints)Vladimir Prus2009-01-308-15/+63
| | | | | | | | (break_command_really, set_breakpoint): New parameter enabled. (create_breakpoint, break_command_really): Make breakpoint disabled if so requested. * breakpoint.h (set_breakpoint): New parameter enabled. * mi/mi-cmd-break.c (mi_cmd_break_insert): Handle the -d option.
* 2009-01-30 Julian Brown <julian@codesourcery.com>Joseph Myers2009-01-302-0/+12
| | | | | | * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with EXEC_P or DYNAMIC flags, and skip sections which are being linked with --just-symbols (-R).
* * dwarf2.c (read_rangelist): Use read_address to read low_pc andAdam Nemet2009-01-302-14/+10
| | | | high_pc in order to properly sign-extend VMAs.
* * i386.cc (Target_i386::Relocate::relocate): Recognize non-PIC callsCary Coutant2009-01-303-3/+11
| | | | | | | to __tls_get_addr. * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise. * ChangeLog: Fixed typo in previous ChangeLog entry (version 1.9).
* daily updateAlan Modra2009-01-301-1/+1
|
* *** empty log message ***gdbadmin2009-01-301-1/+1
|
* 2009-01-29 Andrew Jenner <andrew@codesourcery.com>Joseph Myers2009-01-292-1/+6
| | | | | * emultempl/armelf.em: Correct formatting of help text for --no-enum-size-warning option.
* 2009-01-29 Daniel Jacobowitz <dan@codesourcery.com>Joseph Myers2009-01-294-4/+10
| | | | | | | Mark Shinwell <shinwell@codesourcery.com> Catherine Moore <clm@codesourcery.com> * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.
* PR 9798Alan Modra2009-01-294-29/+58
| | | | | | | | | | | | | * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename. (bfd_get_archive_filename): Constify param. * bucomm.h (bfd_get_archive_filename): Update prototype. * objcopy.c (RETURN_NONFATAL): Delete. (copy_unknown_object): Don't call bfd_get_archive_filename for bfd_nonfatal_message filename, instead just pass bfd. (copy_object): Likewise. (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On bfd_close errors, do not pass the bfd to bfd_nonfatal_message. (setup_bfd_headers): Fix error message.
* gas:Joseph Myers2009-01-298-135/+2273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-29 Mark Mitchell <mark@codesourcery.com> * config/tc-arm.c (BAD_SP): Define. (s_arm_unwind_fnstart): Use REG_SP. (s_arm_unwind_setfp): Likewise. (reject_bad_reg): New macro. (do_co_reg): Check for bad registers. (do_co_reg2c): Likewise. (do_srs): Use REG_SP. (do_t_add_sub): Check for bad registers. (do_t_adr): Likewise. (do_t_arit3): Likewise. (do_t_arit3c): Likewise. (do_t_bfc): Likewise. (do_t_bfi): Likewise. (do_t_bfx): Likewise. (do_t_blx): Likewise. (do_t_bx): Likewise. (do_t_bxj): Likewise. (do_t_clz): Likewise. (do_t_div): Likewise. (do_t_mla): Likewise. (do_t_mlal): Likewise. (do_t_mov_cmp): Likewise. (do_t_mov16): Likewise. (do_t_mvn_tst): Likewise. (do_t_mrs): Likewise. (do_t_msr): Likewise. (do_t_mul): Likewise. (do_t_mull): Likewise. (do_t_orn): Likewise. (do_t_pkhbt): Likewise. (do_t_pld): Likewise. (do_t_rbit): Likewise. (do_t_rev): Likewise. (do_t_rrx): Likewise. (do_t_rsb): Likewise. (do_t_shift): Likewise. (do_t_simd): Likewise. (do_t_ssat): Likewise. (do_t_ssat16): Likewise. (do_t_sxtah): Likewise. (do_t_sxth): Likewise. (do_t_tb): Likewise. (do_t_usat): Likewise. (do_t_usat16): Likewise. (nysn_insert_sp): Use REG_SP. gas/testsuite: 2009-01-29 Mark Mitchell <mark@codesourcery.com> * gas/arm/copro.s: Avoid using r15 where not permitted. * gas/arm/copro.d: Adjust accordingly. * gas/arm/thumb2_bad_reg.s: New. * gas/arm/thumb2_bad_reg.l: Likewise. * gas/arm/thumb2_bad_reg.d: Likewise.
* gas:Joseph Myers2009-01-2910-133/+228
| | | | | | | | | | | | | | | | | | | 2009-01-29 Mark Mitchell <mark@codesourcery.com> * config/tc-arm.c (do_t_orn): New function. (do_t_rrx): Likewise. (insns): Add orn and rrx. gas/testsuite: 2009-01-29 Mark Mitchell <mark@codesourcery.com> * gas/arm/thumb32.s: Add tests for orn and rrx. * gas/arm/thumb32.d: Adjust accordingly. * gas/arm/thumb32.l: Likewise. * gas/arm/thumb2_invert.s: Add tests for orn and orr. * gas/arm/thumb2_invert.d: Adjust accordingly. * gas/arm/tcompat.s: Add tests for rrx. * gas/arm/tcompat.d: Adjust accordingly.
* gas:Joseph Myers2009-01-295-26/+84
| | | | | | | | | | | | | 2009-01-29 Mark Mitchell <mark@codesourcery.com> * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax, uasx, uhasx, uhsx, uqasx, uqsax, usax. gas/testsuite: 2009-01-29 Mark Mitchell <mark@codesourcery.com> * gas/arm/thumb32.s (qadd): Add tests for them. * gas/arm/thumb32.d: Adjust accordingly.
* gas:Joseph Myers2009-01-297-28/+51
| | | | | | | | | | | | | | | | | | | 2009-01-29 Mark Mitchell <mark@codesourcery.com> * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub, qdsub in Thumb-2 mode. gas/testsuite: 2009-01-29 Mark Mitchell <mark@codesourcery.com> * gas/arm/thumb32.s (qadd): Add qadd, qdadd, qsub, and qdsub. * gas/arm/thumb32.d: Likewise. opcodes: 2009-01-29 Mark Mitchell <mark@codesourcery.com> * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd, qsub, and qdsub.
* gas:Joseph Myers2009-01-2910-9/+134
| | | | | | | | | | | | | | | | | | | | 2009-01-29 Paul Brook <paul@codesourcery.com> Mark Mitchell <mark@codesourcery.com> * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding of MUL when possible. gas/testsuite: 2009-01-29 Paul Brook <paul@codesourcery.com> Mark Mitchell <mark@codesourcery.com> * gas/arm/thumb2_mul.s: New file. * gas/arm/thumb2_mul.d: Likewise. * gas/arm/thumb2_mul-bad.s: Likewise. * gas/arm/thumb2_mul-bad.d: Likewise. * gas/arm/thumb2_mul-bad.l: Likewise. * gas/arm/t16-bad.s: Add tests for"mul" with high registers. * gas/arm/t16-bad.l: Update accordingly.
* * config/tc-mep.h (DIFF_EXPR_OK): Do not define.Nick Clifton2009-01-2915-21/+49
| | | | | | | | | | | | | | | | | * gas/all/gas.exp: Expect forward test to fail for MeP. Expect relax test to fail for MeP. * gas/mep/relocs.d: Update expected disassembly. * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of targets which do not support garbage collection. * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP. * ld-elf/group8a.d: Likewise. * ld-elf/group8b.d: Likewise. * ld-elf/group9a.d: Likewise. * ld-elf/group9b.d: Likewise. * binutils-all/objdump.W: Do not assume that high and low PC addresses will have been computed.
* * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,Nathan Sidwell2009-01-292-153/+247
| | | | | .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32 directives.
* fix typo in previous entryDoug Evans2009-01-291-1/+1
|
* * opcode/i386.h: Add multiple inclusion protection.Doug Evans2009-01-2911-20/+1340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (EAX_REG_NUM,ECX_REG_NUM,EDX_REGNUM,EBX_REG_NUM,ESI_REG_NUM) (EDI_REG_NUM): New macros. (MODRM_MOD_FIELD,MODRM_REG_FIELD,MODRM_RM_FIELD): New macros. (SIB_SCALE_FIELD,SIB_INDEX_FIELD,SIB_BASE_FIELD): New macros. (REG_PREFIX_P): New macro. * amd64-tdep.h (amd64_displaced_step_copy_insn): Declare. (amd64_displaced_step_fixup): Declare. * amd64-tdep.c: #include opcode/i386.h, dis-asm.h. (amd64_arch_regmap): Move out of amd64_analyze_stack_align and make static global. (amd64_arch_regmap_len): New static global. (amd64_arch_reg_to_regnum): New function. (struct amd64_insn): New struct. (struct displaced_step_closure): New struct. (onebyte_has_modrm,twobyte_has_modrm): New static globals. (rex_prefix_p,skip_prefixes) (amd64_insn_length_fprintf,amd64_insn_length_init_dis) (amd64_insn_length,amd64_get_unused_input_int_reg) (amd64_get_insn_details,fixup_riprel,fixup_displaced_copy) (amd64_displaced_step_copy_insn) (amd64_absolute_jmp_p,amd64_absolute_call_p,amd64_ret_p) (amd64_call_p,amd64_breakpoint_p,amd64_syscall_p) (amd64_displaced_step_fixup): New functions. * amd64-linux-tdep.c: #include arch-utils.h. (amd64_linux_init_abi): Install displaced stepping support. * gdb.arch/amd64-disp-step.S: New file. * gdb.arch/amd64-disp-step.exp: New file. * gdb.arch/i386-disp-step.S: New file. * gdb.arch/i386-disp-step.exp: New file.
* daily updateAlan Modra2009-01-291-1/+1
|
* *** empty log message ***gdbadmin2009-01-291-1/+1
|
* * version.cc (version_string): Bump to 1.8.Ian Lance Taylor2009-01-282-1/+3
|
* * gold.h: Include <cstring> and <stdint.h>.Ian Lance Taylor2009-01-285-20/+29
| | | | | | | | | * version.cc: Include <cstdio>. * object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a warning. * reduced_debug_output.cc (insert_into_vector): Rename from Insert_into_vector; change all callers. Use Swap_unaligned to avoid aliasing issue; remove union since it is unnecessary.
* * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC andCatherine Moore2009-01-282-1/+6
| | | | SEC_LOAD for dynamic relocation sections.
* 2009-01-28 Daniel Jacobowitz <dan@codesourcery.com>Jerome Guitton2009-01-282-1/+53
| | | | | | | Jerome Guitton <guitton@adacore.com> * gdb.texinfo (Startup): Document --with-system-gdbinit. (System-wide configuration): New section.
* 2009-01-28 Daniel Jacobowitz <dan@codesourcery.com>Jerome Guitton2009-01-284-31/+198
| | | | | | | | | | | Jerome Guitton <guitton@adacore.com> * configure, config.in: Regenerated. * configure.ac: Add --with-system-gdbinit. * main.c (get_init_files): New. (captured_main): Use get_init_files. Load system gdbinit before $HOME/.gdbinit. (print_gdb_help): Print location of init files.
* * mips-opc.c (suxc1): Add the flag of FP_D.Nick Clifton2009-01-282-2/+6
|
* Wrong date and missing space in last checkin.Sriraman Tallam2009-01-281-1/+1
|
* 2009-01-20 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam2009-01-2823-138/+1495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (CCFILES): Add gc.cc. (HFILES): Add gc.h. * Makefile.in: Regenerate. * gold.cc (Gc_runner): New class. (queue_initial_tasks): Call garbage collection related tasks when corresponding options are invoked. (queue_middle_gc_tasks): New function. (queue_middle_tasks): Reorder tasks to allow relocs to be read and processed early before laying out sections during garbage collection. * gold.h (queue_middle_gc_tasks): New function. (is_prefix_of): Move from "layout.cc". * i386.cc (Target_i386::gc_process_relocs): New function. * layout.cc (is_prefix_of): Remove. Move to "gold.h" * main.cc (main): Create object of class "Garbage_collection". * object.cc (Relobj::copy_symbols_data): New function. (Relobj::is_section_name_included): New function. (Sized_relobj::do_layout): Allow this function to be called twice during garbage collection and defer layout of section during the first call. * object.h (Relobj::get_symbols_data): New function. (Relobj::is_section_name_included): New function. (Relobj::copy_symbols_data): New function. (Relobj::set_symbols_data): New function. (Relobj::get_relocs_data): New function. (Relobj::set_relocs_data): New function. (Relobj::is_output_section_offset_invalid): New pure virtual function. (Relobj::gc_process_relocs): New function. (Relobj::do_gc_process_relocs): New pure virtual function. (Relobj::sd_): New data member. (Sized_relobj::is_output_section_offset_invalid): New function. (Sized_relobj::do_gc_process_relocs): New function. * options.h (General_options::gc_sections): Modify to not be a no-op. (General_options::print_gc_sections): New option. * plugin.cc (Plugin_finish::run): Remove function call to Plugin_manager::layout_deferred_objects. Move it to "gold.cc". * powerpc.cc (Target_powerpc::gc_process_relocs): New function. * reloc.cc (Read_relocs::run): Add task to process relocs and determine unreferenced sections when doing garbage collection. (Gc_process_relocs): New class. (Sized_relobj::do_gc_process_relocs): New function. (Sized_relobj::do_scan_relocs): Don't try to scan the relocs for sections that are garbage collected. * reloc.h (Gc_process_relocs): New class. * sparc.cc (Target_sparc::gc_process_relocs): New function. * symtab.cc (Symbol::should_add_dynsym_entry): Do not add entries for symbols whose corresponding sections are garbage collected. (Symbol_table::Symbol_table): Add new parameter for the garbage collection object. (Symbol_table::gc_mark_undef_symbols): New function. (Symbol_table::gc_mark_symbol_for_shlib): New function. (Symbol_table::gc_mark_dyn_syms): New function. (Symbol_table::resolve): Do not treat symbols seen in dynamic objects as garbage. (Symbol_table::add_from_object): Likewise. (Symbol_table::add_from_relobj): When building shared objects, do not treat externally visible symbols as garbage. (Symbol_table::sized_finalize_symbol): Do not check dynamic symbol table information for static and relocatable links. * symtab.h (Symbol_table::set_gc): New function. (Symbol_table::gc): New function. (Symbol_table::gc_mark_undef_symbols): New function. (Symbol_table::gc_mark_symbol_for_shlib): New function. (Symbol_table::gc_mark_dyn_syms): New function. (Symbol_table::gc_): New data member. * target.h (Sized_target::gc_process_relocs): New pure virtual function. * x86_64.cc (Target_x86_64::gc_process_relocs): New function. * testsuite/testfile.cc (Target_test::gc_process_relocs): New function.
* * corefile.c (generic_search): Delete disabled code.Pedro Alves2009-01-283-39/+5
| | | | * gdbcore.h (generic_search): Delete declaration.
* *** empty log message ***gdbadmin2009-01-281-1/+1
|
* daily updateAlan Modra2009-01-281-1/+1
|
* * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.Hans-Peter Nilsson2009-01-273-0/+97
|
* * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_tableHans-Peter Nilsson2009-01-272-4/+10
| | | | | (info)->tls_size, not elf_hash_table (info)->tls_sec->size for the size of local TLS data.
* * mach-o.c (bfd_mach_o_archive_p): Restrict the number ofAndreas Schwab2009-01-272-0/+10
| | | | architectures in the archive.
* PR 9774Nick Clifton2009-01-272-2/+18
| | | | | * objdump.c (disassemble_section): When the target uses signed addresses make sure that we compute signed values.
* * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPSNick Clifton2009-01-272-1/+5
| | | | maintainers.
* * gas/arm/attr-cpu-directive.d: Only run test for EABI targets.Nick Clifton2009-01-2772-140/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gas/arm/attr-default.d : Likewise. * gas/arm/attr-march-all.d: Likewise. * gas/arm/attr-march-armv1.d: Likewise. * gas/arm/attr-march-armv2.d: Likewise. * gas/arm/attr-march-armv2a.d: Likewise. * gas/arm/attr-march-armv2s.d: Likewise. * gas/arm/attr-march-armv3.d: Likewise. * gas/arm/attr-march-armv3m.d: Likewise. * gas/arm/attr-march-armv4.d: Likewise. * gas/arm/attr-march-armv4t.d: Likewise. * gas/arm/attr-march-armv4txm.d: Likewise. * gas/arm/attr-march-armv4xm.d: Likewise. * gas/arm/attr-march-armv5.d: Likewise. * gas/arm/attr-march-armv5t.d: Likewise. * gas/arm/attr-march-armv5te.d: Likewise. * gas/arm/attr-march-armv5tej.d: Likewise. * gas/arm/attr-march-armv5texp.d: Likewise. * gas/arm/attr-march-armv5txm.d: Likewise. * gas/arm/attr-march-armv6-m.d: Likewise. * gas/arm/attr-march-armv6.d: Likewise. * gas/arm/attr-march-armv6j.d: Likewise. * gas/arm/attr-march-armv6k.d: Likewise. * gas/arm/attr-march-armv6kt2.d: Likewise. * gas/arm/attr-march-armv6t2.d: Likewise. * gas/arm/attr-march-armv6z.d: Likewise. * gas/arm/attr-march-armv6zk.d: Likewise. * gas/arm/attr-march-armv6zkt2.d: Likewise. * gas/arm/attr-march-armv6zt2.d: Likewise. * gas/arm/attr-march-armv7-a.d: Likewise. * gas/arm/attr-march-armv7-m.d: Likewise. * gas/arm/attr-march-armv7-r.d: Likewise. * gas/arm/attr-march-iwmmxt.d: Likewise. * gas/arm/attr-march-iwmmxt2.d: Likewise. * gas/arm/attr-march-xscale.d: Likewise. * gas/arm/attr-mcpu.d: Likewise. * gas/arm/attr-mfpu-arm1020e.d: Likewise. * gas/arm/attr-mfpu-arm1020t.d: Likewise. * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. * gas/arm/attr-mfpu-arm1136jfs.d: Likewise. * gas/arm/attr-mfpu-arm7500fe.d: Likewise. * gas/arm/attr-mfpu-fpa.d: Likewise. * gas/arm/attr-mfpu-fpa10.d: Likewise. * gas/arm/attr-mfpu-fpa11.d: Likewise. * gas/arm/attr-mfpu-fpe.d: Likewise. * gas/arm/attr-mfpu-fpe2.d: Likewise. * gas/arm/attr-mfpu-fpe3.d: Likewise. * gas/arm/attr-mfpu-maverick.d: Likewise. * gas/arm/attr-mfpu-neon-fp16.d: Likewise. * gas/arm/attr-mfpu-neon.d: Likewise. * gas/arm/attr-mfpu-softfpa.d: Likewise. * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. * gas/arm/attr-mfpu-softvfp.d: Likewise. * gas/arm/attr-mfpu-vfp.d: Likewise. * gas/arm/attr-mfpu-vfp10-r0.d: Likewise. * gas/arm/attr-mfpu-vfp10.d: Likewise. * gas/arm/attr-mfpu-vfp3.d: Likewise. * gas/arm/attr-mfpu-vfp9.d: Likewise. * gas/arm/attr-mfpu-vfpv2.d: Likewise. * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. * gas/arm/attr-mfpu-vfpv3.d: Likewise. * gas/arm/attr-mfpu-vfpxd.d: Likewise. * gas/arm/attr-order.d: Likewise. * gas/arm/attr-override-cpu-directive.d: Likewise. * gas/arm/attr-override-mcpu.d: Likewise.
OpenPOWER on IntegriCloud