aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-12-102009-12-10 Doug Kwan <dougkwan@google.com>Doug Kwan4-18/+1084
elfcpp/ChangeLog * arm.h: New enums for EABI object attribute tags and values. gold/ChangeLog * arm.cc (attributes.h): New include. (Arm_relobj::Arm_relobj): Initialize attributes_section_data_. (Arm_relobj::~Arm_relobj): Delete object pointed by attributes_section_data_. (Arm_relobj::attributes_section_data): New method definition. (Arm_relobj::attributes_section_data_): New data member declaration. (Arm_dynobj::Arm_dynobj): Initialize attributes_section_data_. (Arm_dynobj::~Arm_dynobj): Delete object pointed by attributes_section_data_. (Arm_dynobj::attributes_section_data): New method definition. (Arm_dynobj::attributes_section_data_): New data member declaration. (Target_arm::Target_arm): Initialize attributes_section_data_. Change initialization value of may_use_blx_ to false. (Target_arm::using_thumb2, Target_arm::using_thumb_only, Target_arm::may_use_arm_nop, Target_arm::may_use_thumb2_nop): Use object attributes to compute results instead of hard-coding. (Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order, Target_arm::get_secondary_compatible_arch, Target_arm::set_secondary_compatible_arch Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name, Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes): New method declarations. (Target_arm::get_aeabi_object_attribute): New method definition. (Target_arm::attributes_section_data_): New data member declaration. (read_arm_attributes_section): New template definition. (Arm_relobj::do_read_symbols): Read attributes section if it exists. (Arm_dynobj::do_read_symbols): Ditto. (Target_arm::do_finalize_sections): Merge attributes sections from input. Check for BLX use after attributes section merging. Fix __exidx_start and __exidx_end visibility. Create an .ARM.attributes section if necessary. (Target_arm::get_secondary_compatible_arch, Target_arm::set_secondary_compatible_arch, Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name, Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes, Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order): New method definitions.
2009-12-102009-12-10 Oza Pawandeep (paawan1982@yahoo.comMichael Snyder5-0/+429
* gdb.reverse/i387-env-reverse.c: New file. * gdb.reverse/i387-env-reverse.exp: New file. * gdb.reverse/i387-stack-reverse.c: New file. * gdb.reverse/i387-stack-reverse.exp: New file.
2009-12-102009-12-10 Oza Pawandeep <paawan1982@yahoo.com>Michael Snyder2-20/+377
* i386-tdep.c: Support for floating point recording. Records and Replay the i386 floating point registers, of i387 FPU. (i386_record_floats): New function. (i386_process_record): Implement FP insns.
2009-12-102009-12-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-40/+78
* addr2line.c (pretty_print): New variable. (long_options): Add an entry for -p/--pretty-print. (usage): Document -p/--pretty-print. (translate_addresses): Handle pretty_print. Reindent. (main): Handle option -p. * doc/binutils.texi (addr2line): Document -p/--pretty-print. * NEWS: Mention new feature.
2009-12-10 bfd/Maciej W. Rozycki6-7/+50
* elfxx-mips.c (mips_elf_calculate_relocation): Correct handling of undefined symbols. ld/testsuite/ * ld-mips-elf/undefined.d: New test. * ld-mips-elf/undefined.s: Source for the new test. * ld-mips-elf/mips-elf.exp: Run the new test.
2009-12-10 * plugin.cc (Plugin::load): Don't cast from void* to a functionIan Lance Taylor2-3/+10
pointer.
2009-12-102009-12-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-152/+226
* config/tc-i386.c (arch_entry): Add len and skip. (cpu_arch): Use STRING_COMMA_LEN. (MESSAGE_TEMPLATE): New. (show_arch): Likewise. (md_show_usage): Use show_arch.
2009-12-10 * dynobj.cc (Sized_dynobj::do_read_symbols): Clear versionIan Lance Taylor2-1/+14
information fields.
2009-12-10*** empty log message ***gdbadmin1-1/+1
2009-12-09daily updateAlan Modra1-1/+1
2009-12-09 bfd/Daniel Jacobowitz7-3/+51
* elf32-arm.c (elf32_arm_next_input_section): Skip sections without SEC_CODE. ld/testsuite/ * ld-arm/arm-elf.exp (armeabitests): Add farcall-data. * ld-arm/farcall-data.d, ld-arm/farcall-data.s: New. * lib/ld-lib.exp (run_ld_link_tests, run_cc_link_tests): Correct regular expression for archives.
2009-12-092009-12-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+8
* testsuite/Makefile.am (two_file_shared_1_pic_2_test_DEPENDENCIES): Replace two_file_shared_1.so with two_file_shared_2.so. * testsuite/Makefile.in: Regenerated.
2009-12-092009-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-3/+8
* machoread.c (macho_symfile_read): Use symbol_file_add_separate to add dsym files.
2009-12-092009-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-291/+292
* symfile.h (symbol_file_add_separate): New prototype. (find_separate_debug_file_by_buildid): Ditto. (find_separate_debug_file_by_debuglink): Ditto. * symfile.c (reread_separate_symbols): Remove. (find_separate_debug_file): Split into ... (find_separate_debug_file_by_buildid): ... this and ... (find_separate_debug_file_by_debuglink): ... this. (symbol_file_add_with_addrs_or_offsets): Do not save orig_addrs. Remove separate debug file handling. (symbol_file_add_separate): New function. (reread_symbols): Do not considere separate debug files, but free them while handling their parent. Reindent. * coffread.c (coff_symfile_read): Handle separate object file. * elfread.c (elf_symfile_read): Ditto.
2009-12-092009-12-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-3/+38
* addr2line.c (translate_addresses): Display addresses if option -a is used. (with_addresses): New variable. (long_options): Add option '-a'. (usage): Add usage for option '-a'. (main): Handle option '-a'. * doc/binutils.texi (addr2line): Document option '-a'. * NEWS: Mention new feature.
2009-12-09 * acinclude.m4: Update comment.Joel Brobecker2-1/+6
2009-12-09 * acinclude.m4: Link against in-tree libiconv by addingJoel Brobecker3-28/+48
libiconv.a to the LIBS instead of using -liconv. * configure: Regenerate.
2009-12-09 PR 10924Nick Clifton2-5/+17
* arm-dis.c (print_insn_arm): Mark insns that use the PC in post-indexed addressing as unpredictable.
2009-12-092009-12-09 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon1-1/+2
* python/py-type.c (typy_range): Initialize variables to zero.
2009-12-092009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>Yoshinori Sato2-42/+42
* compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc. Index registers not masked memory areas. Only simply increment or decrement. * compile.c(store_1): Ditto.
2009-12-092009-12-08 Doug Kwan <dougkwan@google.com>Doug Kwan10-143/+1149
* Makefile.am (CCFILES): Add attributes.cc and int_encoding.cc. (HFILES): Add attributes.h and int_encoding.h. * Makefile.in: Regenerate. * dwarf_reader.cc (read_unsigned_LEB_128, read_signed_LEB_128): Move function definitions to int_encoding.cc * dwarf_reader.h (read_unsigned_LEB_128, read_signed_LEB_128): Move prototypes to int_encoding.h * reduced_debug_output.cc (int_encoding.h): New include. (write_unsigned_LEB_128, get_length_as_unsigned_LEB_128): Move function definitions to int_encoding.cc (insert_into_vector, read_from_pointer): Move template definitions to int_encoding.h * attributes.cc: New file. * attributes.h: New file. * int_encoding.cc: New file. * int_encoding.h: New file.
2009-12-09 PR ld/11012Alan Modra3-1/+11
* emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Move .rela.opd .. (INITIAL_RELOC_SECTIONS): .. to here. New define. * scripttempl/elf.sc: Expand INITIAL_RELOC_SECTIONS.
2009-12-09*** empty log message ***gdbadmin1-1/+1
2009-12-08daily updateAlan Modra1-1/+1
2009-12-08 * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.Cary Coutant2-3/+6
(debug_displays): Remove duplicate entry for debug_pubtypes.
2009-12-082009-12-08 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon6-0/+112
PR python/10804 * python/py-type.c (typy_range): New Function. 2009-12-08 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-type.exp (test_range): New test. 2009-12-08 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Types In Python): Describe range function.
2009-12-08 * charset.c: Include environ.h.Doug Evans2-5/+63
(ignore_line_p): New function. (find_charset_names): Handle older versions of iconv that print human-readable output even if stdout is not a tty.
2009-12-08 * pex-unix.c (pex_unix_exec_child): Save/restore environ.Doug Evans2-1/+24
2009-12-08 * elf.c (write_zeros): New function.Alan Modra2-0/+31
(assign_file_positions_for_load_sections): Allocate file space for NOBITS sections that are followed by PROGBITS sections in a segment.
2009-12-08Call symbol_same_p to check to if 2 symbols are the same.H.J. Lu7-2/+50
gas/ 2009-12-07 H.J. Lu <hongjiu.lu@intel.com> PR gas/11037 * expr.c (resolve_expression): Call symbol_same_p to check if 2 symbols are the same. * symbols.c (symbol_same_p): New. * symbols.h (symbol_same_p): Likewise. gas/testsuite/ 2009-12-07 H.J. Lu <hongjiu.lu@intel.com> PR gas/11037 * gas/i386/intelpic.s: Add testcases. * gas/i386/intelpic.d: Updated.
2009-12-08 * NEWS: Announce Renesas RX support.Kevin Buettner2-0/+3
2009-12-08*** empty log message ***gdbadmin1-1/+1
2009-12-07daily updateAlan Modra1-1/+1
2009-12-072009-12-07 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola2-63/+103
PR gold/11055 * incremental-dump.cc (dump_incremental_inputs): New. (main): Use dump_incremental_inputs.
2009-12-07Sync with GCC:Kaveh Ghazi3-148/+80
PR middle-end/30447 PR middle-end/30789 PR other/40302 * configure.ac: Require MPC. * configure: Regenerate. * configure.ac: Update minimum MPC version to 0.8. * configure: Regenerate.
2009-12-07 * configure.tgt: Add rx-*-elf target.Kevin Buettner3-0/+875
* rx-tdep.c: New target.
2009-12-072009-12-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-10/+36
PR gold/10893 * i386.cc (Target_i386::Scan::globa): Use is_func instead of checking elfcpp::STT_FUNC. (Target_i386::Relocate::relocate): Likewise. * x86_64.cc (Target_x86_64::Scan::global): Likewise. * symtab.cc (Symbol_table::sized_write_symbol): Turn IFUNC symbols from shared libraries into normal FUNC symbols. * symtab.h (Symbol): Add is_func and use it.
2009-12-072009-12-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold10-24/+26
* symfile.h (struct sym_fns): Adjust comment on sym_read. * symfile.c (syms_from_objfile): Pass all symfile flags to sym_read. * dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags, adjust header comment. * elfread.c (elf_symfile_read): Ditto. * somread.c (som_symfile_read): Ditto. * xcoffread.c (xcoff_initial_scan): Ditto. * coffread.c (coff_symfile_read): Rename mainline to symfile_flags. * machoread.c (macho_symfile_read): Ditto. * mipsread.c (mipscoff_symfile_read): Ditto.
2009-12-072009-12-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold6-30/+12
* dbxread.c (dbx_symfile_read): No need to test mainline to call init_psymbol_list. * xcoffread.c (xcoff_initial_scan): Ditto; * coffread.c (coff_symfile_read): Remove call to init_psymbol_list. * elfread.c (elf_symfile_read): Ditto. * machoread.c (macho_symfile_read): Ditto.
2009-12-07*** empty log message ***gdbadmin1-1/+1
2009-12-06daily updateAlan Modra1-1/+1
2009-12-062009-12-05 Doug Kwan <dougkwan@google.com>Doug Kwan11-10/+131
elfcpp/ChangeLog: * arm.h: Define enums for Tag_CPU_arch EABI attribute. gold/ChangeLog: * arm.cc (Target_arm::arm_info): Initialize new fields attributes_section and attributes_vendor. * i386.cc (Target_i386::i386_info): Same. * object.cc (Sized_relobj::do_layout): Skip attribute section. * gold/powerpc.cc (Target_powerpc::powerpc_info): Initialize new fields attributes_section and attributes_vendor. * sparc.cc (Target_sparc::sparc_info): Same. * target.h (Target::attributes_section, Target::attributes_vendor, Target::is_attributes_section, Target::attribute_arg_type, Target::attributes_order): New method definitions. (Target::Target_info::attributes_section, Target::Target_info::attributes_vendor): New fields. (Target::do_attribute_arg_type, Target::do_attributes_order): New virtual method definitions. * x86_64.cc (Target_x86_64::x86_64_info): Initialize new fields attributes_section and attributes_vendor. * testsuite/testfile.cc (Target_test::test_target_info): Same.
2009-12-062009-12-05 Doug Kwan <dougkwan@google.com>Doug Kwan2-45/+61
* arm.cc: Update comments about interworking and stub generation. (Target_arm::Relocate::reloc_is_non_pic): Update list of relocations considered as non-PIC. (Arm_relocate_functions::base_abs): Fix formatting. (Arm_relocate_functions::got_prel): Fix comment. Change interface of function to use GOT entry address instead of offset. (Target_arm::Scan::global): Issue an error if a symbol would need a PLT does not get one because it is untyped. Remove code to create dynamic symbols for relative branches. (Target_arm::Relocate::relocate: Use 0 instead of false since function takes unsigned integer instead of boolean.
2009-12-06*** empty log message ***gdbadmin1-1/+1
2009-12-052009-12-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-154/+73
* testsuite/Makefile.am (constructor_test_LDADD): New. Empty. (two_file_test_LDADD): Likewise. (common_test_1_LDADD): Likewise. (exception_test_LDADD) Likewise. (weak_test_LDADD): Likewise. (many_sections_test_LDADD): Likewise. (initpri1_LDADD): Likewise. (script_test_1_LDADD): Likewise. (script_test_2_LDADD): Likewise. (justsyms_LDADD): Likewise. (binary_test_LDADD): Likewise. (large_LDADD): Likewise. * testsuite/Makefile.in: Regenerated.
2009-12-05daily updateAlan Modra1-1/+1
2009-12-052009-12-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+9
* resolve.cc (symbol_to_bits): Treat STB_GNU_UNIQUE as STB_GLOBAL. (Symbol_table::override_with_special): Likewise. (Symbol_table::add_from_object): Likewise.
2009-12-05*** empty log message ***gdbadmin1-1/+1
2009-12-04daily updateAlan Modra1-1/+1
2009-12-04 * valops.c (value_struct_elt_for_reference): Do not rely onDaniel Jacobowitz2-14/+21
field order.