aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-10-14include/Alan Modra6-5/+19
* bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from bfd_link_common_skip_ar_aymbols. (struct bfd_link_info): Here too. bfd/ * aoutx.h (aout_link_check_ar_symbols): Typo fix. ld/ * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix.
2009-10-14 Add support for -pie.Ian Lance Taylor12-28/+129
* options.h (class General_options): Add -pie and --pic-executable. (General_options::output_is_position_independent): Test -pie. (General_options::output_is_executable): Return true if not shared and not relocatable. (General_options::output_is_pie): Remove. * options.cc (General_options::finalize): Reject incompatible uses of -pie. * gold.cc (queue_middle_tasks): A -pie link is not static. * symtab.h (Symbol::needs_plt_entry): Return false if -pie. * symtab.cc (Symbol::final_value_is_known): Return false if output_is_position_independent. * layout.cc (Layout::set_segment_offsets): Start at address 0 if output_is_position_independent. * output.cc (Output_file_header::do_sized_write): Use ET_DYN if output_is_position_independent. * i386.cc (Output_data_plt_i386::do_write): Use the PIC PLT if output_is_position_independent. * testsuite/Makefile.am (check_PROGRAMS): Add basic_pie_test and two_file_pie_test. (basic_pie_test.o, basic_pie_test): New targets. (two_file_test_1_pie.o, two_file_test_1b_pie.o): New targets. (two_file_test_2_pie.o, two_file_test_main_pie.o): New targets. (two_file_pie_test): New target. * testsuite/Makefile.in: Rebuild. * README: Remove note saying that -pie is not supported.
2009-10-14 * ldlang.c (load_symbols): Set whole_archive from entry whenAlan Modra2-1/+9
parsing a linker script.
2009-10-14*** empty log message ***gdbadmin1-1/+1
2009-10-13 * MAINTAINERS (common): Move myself to "past maintainers" section.Ben Elliston2-1/+5
2009-10-13daily updateAlan Modra1-1/+1
2009-10-13 * arm-tdep.c (arm_push_dummy_call): Set the low bit of LR forDaniel Jacobowitz2-8/+211
a Thumb entry point. (thumb_get_next_pc): Handle Thumb-2 and ARM v6 instructions. Refuse to single step into IT blocks.