aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-16 * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Conditionally compile inJoel Brobecker2-0/+8
support for pcb->pcb_{fs,ds,es,gs} on FreeBSD older than 8.0.
2009-10-162009-10-16 Doug Kwan <dougkwan@google.com>Doug Kwan2-1/+5
* elfcpp/elfcpp.h (DT_PREINIT_ARRAY): Correct enum value.
2009-10-16daily updateAlan Modra1-1/+1
2009-10-162009-10-16 Doug Kwan <dougkwan@google.com>Doug Kwan7-19/+170
* dynobj.cc (Versions::Versions): Initialize version_script_. Only insert base version symbol definition for a shared object if version script defines any version versions. (Versions::define_base_version): New method definition. (Versions::add_def): Check that base version is not needed. (Versions::add_need): Define base version lazily. * dynobj.h (Versions::define_base_version): New method declaration. (Versions::needs_base_version_): New data member declaration. * testsuite/Makefile.am (check_SCRIPTS): Add no_version_test.sh (check_DATA): Add no_version_test.stdout. (libno_version_test.so, no_version_test.o no_version_test.stdout): New make rules. * testsuite/Makefile.in: Regenerate. * testsuite/no_version_test.c: New file. * testsuite/no_version_test.sh: Ditto.
2009-10-16 * MAINTAINERS: Add myself as m32r maintainer.Doug Evans2-0/+5
2009-10-162009-10-16 Doug Kwan <dougkwan@google.com>Doug Kwan14-14/+425
* expression.cc (class Segment_start_expression): New class definition. (Segment_start_expression::value): New method definition. (script_exp_function_segment_start): Return a new Segment_start_expression. * gold/script-c.h (script_saw_segment_start_expression): New function prototype. * script-sections.cc (Script_sections::Script_sections): Initialize SAW_SEGMENT_START_EXPRESSION_ to false. (Script_sections::set_section_addresses): Use -Ttext, -Tdata and -Tbbs options to specify section addresses if given in command line and no SEGMENT_START expression is seen in a script. * script-sections.h (Script_sections::saw_segment_start_expression, Script_sections::set_saw_segment_start_expression): New method definition. (Script_sections::saw_segment_start_expression_): New data member declaration. * script.cc (script_saw_segment_start_expression): New function. * yyscript.y (SEGMENT_START): Call script_saw_segment_start_expression. * testsuite/Makefile.am (check_SCRIPTS): Add script_test_6.sh, script_test_7.sh and script_test_8.sh. (check_DATA): Add script_test_6.stdout, script_test_7.stdout and script_test_8.stdout. (MOSTLYCLEANFILES): Add script_test_6, script_test_7 and script_test_8. (script_test_6, script_test_6.stdout, script_test_7, script_test_7.stdout, script_test_8, script_test_8.stdout): New rules. * Makefile.in: Regenerate. * testsuite/script_test_6.sh: New file. * testsuite/script_test_6.t: Same. * testsuite/script_test_7.sh: Same. * testsuite/script_test_7.t: Same. * testsuite/script_test_8.sh: Same.
2009-10-162009-10-16 Doug Kwan <dougkwan@google.com>Doug Kwan2-4/+14
* output.cc (Output_segment::set_section_list_address): Cast expressions to unsigned long long type to avoid format warnings.
2009-10-16 * MAINTAINERS: Add myself as m32r maintainer.Doug Evans2-0/+5
2009-10-162009-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+13
PR gas/10775 * doc/c-i386.texi: Mention the 8 extra control registers for x86-64. Mention .code64 directive.
2009-10-162009-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-301/+313
* i386-opc.h: Use enum instead of nested macros.
2009-10-16 * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro.Nick Clifton9-10/+49
(gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option to exclude all symbols from automatic export. (gld_${EMULATION_NAME}_list_options): Describe it. (gld${EMULATION_NAME}_handle_option): Handle it. * emultempl/pep.em: Likewise to all the above. * pe-dll.c (pe_dll_exclude_all_symbols): New variable. (process_def_file_and_drectve): Use it. * pe-dll.h (pe_dll_exclude_all_symbols): Declare. * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias. * pep-dll.h (pe_dll_exclude_all_symbols): Declare. * NEWS: Mention the new feature. * ld.texinfo: Document the new command line switch.
2009-10-162009-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-795/+799
* i386-dis.c: Simplify enums.
2009-10-16 PR 10764Nick Clifton3-8/+15
* Makefile.am (sysinfo.o, syslex.o): Place source file after all command line switches. * Makefile.in: Regenerate.
2009-10-16 PR 10768Nick Clifton2-52/+97
* dlltool.c (bfd_get_errmsg): New macro. (scan_obj_file): Use it. (make_one_lib_file): Use it. (make_head): Use it. (make_delay_head): Use it. (make_tail): Use it. (gen_lib_file): Use it. (identify_dll_for_implib): Use it. (identify_search_archive): Use it.
2009-10-16 * bootstrap.exp: Detect if plugins are enabled. Skip the staticNick Clifton2-1/+28
link test and add -ldl to the remaining tests if they are.
2009-10-16 * readelf.c (usage): Add mention of --debug-dump=frames-interp.Nick Clifton4-2/+15
Wrap output to 80 columns. * objdump.c (usage): Likewise. * doc/binutils.texi (readelf): Add note about =frames-interp.
2009-10-16 PR binutils/10785Alan Modra4-17/+35
* coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Don't bfd_alloc bim and bim->buffer. bfd_malloc instead. * peicode.h (pe_ILF_build_a_bfd): Similarly. (ILF_DATA_SIZE): Don't include bim. * opncls.c (bfd_close): Test bim->buffer non-NULL before freeing.
2009-10-16 * script.cc (Script_options::add_symbol_assignment): Always add aIan Lance Taylor3-5/+20
dot assginment to script_sections_. * script-sections.cc (Script_sections::add_dot_assignment): Initialize if necessary.
2009-10-16 * layout.cc (Layout::relaxation_loop_body): Don't crash if we seeIan Lance Taylor2-1/+6
program headers with no load segment if there is a linker script.
2009-10-16 * layout.cc (Layout::set_segment_offsets): Align the file offsetIan Lance Taylor4-36/+99
to the segment aligment for -N or -n with no load segment. * output.cc (Output_segment::add_output_section): Don't crash if the first section is a TLS section. (Output_segment::set_section_list_addresses): Print an error message if the address moves backward in a linker script. * script-sections.cc (Output_section_element_input::set_section_addresses): Don't increase *dot_value for a SHF_TLS/SHT_NOBITS section. (Orphan_output_section::set_section_addresses): Likewise.
2009-10-16*** empty log message ***gdbadmin1-1/+1
2009-10-15daily updateAlan Modra1-1/+1
2009-10-152009-10-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-843/+878
Ineiev <ineiev@gmail.com> PR binutils/10767 * i386-dis.c: Use enum instead of nested macros.
2009-10-152009-10-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+4
* i386-dis.c (MAX_BYTEMODE): Removed.
2009-10-15* MAINTAINERS: Add self as MicroBlaze maintainer.Michael Eager2-0/+5
2009-10-15 * config/djgpp/fnchange.lst: Add translations for cpu-microblaze.c,Michael Eager9-1/+1254
elf32-microblaze.c, microblaze-rom.c, microblaze-linux-tdep.c, microblaze-tdep.h, microblaze-tdep.c, microblaze-opc.h, microblaze-opcm.h, microblaze-dis.c, microblaze-dis.h, sim/microblaze, microblaze.h, and microblaze.isa. * configure.tgt: Add targets microblaze*-linux-*, microblaze*-xilinx-*. * Makefile.in: Build microblaze-tdep.o, microblaze-linux-tdep.o. HFILES_NO_SRCDIR: Add microblaze-tdep.h. * microblaze-linux-tdep.c: New. * microblaze-tdep.c: New. * microblaze-tdep.h: New. * NEWS: Announce Xilinx MicroBlaze support.
2009-10-152009-10-15 Doug Kwan <dougkwan@google.com>Doug Kwan2-2/+36
* layout.cc (Layout::finish_dynamic_section): Generate tags DT_FINI_ARRAY, DT_FINI_ARRAYSZ, DT_INIT_ARRAY, DT_INIT_ARRAYSZ, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ as needed. If -Bsymbolic is used, add DT_SYMBOLIC and set DF_SYMBOLIC in DT_FLAGS.
2009-10-15Forgot to mention PR gdb/10757.Paul Pluzhnikov1-0/+1
2009-10-152009-10-15 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-1/+51
* linux-nat.c (linux_nat_post_attach_wait): Adjust assert. (lin_lwp_attach_lwp, linux_nat_attach): Handle disappearing LWP.
2009-10-152009-10-15 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+8
* record.c (record_insn_max_num): Make unsigned. (_initialize_record): Use uinteger instead of zinteger for set command, so that it will report "unlimited" for zero.
2009-10-152009-10-15 Michael Snyder <msnyder@vmware.com>Michael Snyder2-66/+158
* record.c (record_reg_alloc): New function. (record_reg_release): New function. (record_mem_alloc): New function. (record_mem_release): New function. (record_end_alloc): New function. (record_end_release): New function. (record_entry_release): New function. (record_list_release): Simplify, call record_entry_release. (record_list_release_next): Rename to record_list_release_following. Simplify and call record_entry_release. (record_list_release_first): Simplify, comment, and use record_entry_release. (record_arch_list_add_reg): Simplify, call record_reg_alloc. (record_arch_list_add_mem): Simplify, call record_mem_alloc. (record_arch_list_add_end): Simplify, call record_end_alloc.
2009-10-15merge from gccDJ Delorie2-0/+6
2009-10-152009-10-12 Michael Snyder <msnyder@vmware.com>Michael Snyder2-7/+17
* record.c (record_list_release_first): Do not decrement record_insn_num. (set_insn_num_max): Remove printf. Decrement record_insn_num in the loop.
2009-10-152009-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+5
* std-config.h: Fix spelling error.
2009-10-152009-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+5
* sim-inline.h: Fix spelling error.
2009-10-15 PR gas/1491Alan Modra8-89/+99
gas/ * macro.c: Delete unnecessary function declarations. (buffer_and_nest): Support multiple labels per line for LABELS_WITHOUT_COLONS targets if the labels do have colons. (free_macro): Move so that we don't need forward declaration. * read.c (read_a_source_file): Take a copy of macro expansion line before we trim labels. * listing.c (listing_newline): Adjust stdin line save for input_line_pointer still at start of line. gas/testsuite/ * gas/macros/dot.s: Don't start macro invocations is first column. * gas/macros/dot.l: Update. * gas/macros/macros.exp: Run dot test on more targets.
2009-10-152009-10-15 Jim Blandy <jimb@red-bean.com>Tristan Gingold2-12/+39
* libgnuintl.h (_INTL_MAY_RETURN_STRING_ARG, gettext, dgettext) (dcgettext, ngettext, dngettext, dcngettext): Backport changes from current gettext to provide GCC format_arg attributes.
2009-10-15 * object.h (class Relocate_info): Add reloc_shdr and data_shdrIan Lance Taylor4-38/+25
fields. * object.cc (Sized_relobj::relocate_sections): Set reloc_shdr and data_shdr fields of relinfo. * i386.cc (class Target_i386::Relocate): Remove ldo_addrs_ field. (Target_i386::Relocate::relocate_tls): Don't call fix_up_ldo. For R_386_TLS_LDO_32, adjust based on section flags. (Target_i386::Relocate::fix_up_ldo): Remove.
2009-10-15*** empty log message ***gdbadmin1-1/+1
2009-10-142009-10-14 Cary Coutant <ccoutant@google.com>Cary Coutant2-1/+5
* dwarf2read.c (read_import_statement): Call follow_die_ref_or_sig.
2009-10-14 * ld-scripts/phdrs3.d: Allow colon in name of linker binary.Joseph Myers2-1/+5
2009-10-14daily updateAlan Modra1-1/+1
2009-10-14 * dwarf2read.c (dwarf2_const_value): Fix order of arguments toKeith Seitz2-1/+6
store_unsigned_integer.
2009-10-14Remove spurious gdb/ ...Pedro Alves1-1/+0
2009-10-14 gdb/Pedro Alves3-2/+8
* configure.ac (build_warnings): Add -Wunused-value. * configure: Regenerate.
2009-10-142009-10-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-5/+10
* solib-darwin.c: Remove trailing whitespaces. (darwin_dyld_version_ok): Fix typo.
2009-10-14 PR 969Alan Modra2-2/+7
* m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
2009-10-14* ldlex.l (yy_input): Remove second argument and return the valueAndreas Schwab2-8/+15
instead. (YY_INPUT): Adjust.
2009-10-14 * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New.Alan Modra4-0/+18
2009-10-142009-10-14 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2-1/+16
* sh-tdep.c (sh_gdbarch_init): Add show_regs settings for bfd_mach_sh3_nommu, bfd_mach_sh2a_nofpu_or_sh3_nommu, bfd_mach_sh2a_or_sh3e, bfd_mach_sh2a_or_sh4, bfd_mach_sh4_nommu_nofpu, and bfd_mach_sh2a_nofpu_or_sh4_nommu_nofpu. Move bfd_mach_sh2a_or_sh4 to use the same configuration as bfd_mach_sh4.