aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-05 PR 10910Ian Lance Taylor2-7/+11
* output.cc (Output_segment::add_output_section): Add missing return statement.
2009-11-05 * symtab.h (SYMBOL_SET_LINKAGE_NAME): Update comment.Tom Tromey6-17/+24
* symfile.c (allocate_symtab): Don't use obsavestring on a constant string. * stabsread.c (define_symbol): Don't use obsavestring on a constant string. * mdebugread.c (parse_type): Don't use obsavestring on a constant string. (new_symtab): Likewise. * elfread.c (elf_symtab_read): Don't use obsavestring on a constant string.
2009-11-05 * lexsup.c: Rename --add-needed to --copy-dt-needed-entries.Nick Clifton10-67/+120
* ldlang.h (struct lang_input_statement_struct): Rename add_needed to add_DT_NEEDED_for_dynamic. Rename as_needed to add_DT_NEEDED_for_regular. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldlang.c: Use the new variable names. * ldgram.y: Likewise. * emultempl/elf32.em: Likewise. * ld.texinfo: Document the renamed option. Also mention its affect on the resolution of dynamic symbols. * NEWS: Mention the changed option name.
2009-11-05 * elflink.c (elf_link_add_object_symbols): Improve errorNick Clifton2-2/+27
message generated when a symbol is left unresolved because a --no-add-needed command line option has prevented the inclusion of the DSO defining it.
2009-11-05 * gas/i386/i386.exp (space1): Move test inside check for x86Nick Clifton2-3/+7
target.
2009-11-052009-11-05 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-4/+71
* dllwrap.c (is_leading_underscore): New variable. (cpu_type): New enum type. (which_cpu): New variable. (usage): Add new options --no-leading-underscore and --leading-underscore. (long_options): Likewise. (OPTION_NO_LEADING_UNDERSCORE): New define. (OPTION_LEADING_UNDERSCORE): Likewise. (main): Initialize which_host, pass new options to dlltool, do underscoring dependent on is_leading_underscore, and do '@12' decoration only for x86.
2009-11-05 PR 10880Ian Lance Taylor4-9/+50
* object.h (class Object): Add is_needed and set_is_needed methods. Add is_needed_ field. Make bool fields into bitfields. * symtab.cc (Symbol_table::set_dynsym_indexes): If a symbol is defined in a dynamic object and referenced by a regular object, set is_needed for the dynamic object. * layout.cc (Layout::finish_dynamic_section): Don't add DT_NEEDED if the file is marked with as_needed and it is not needed.
2009-11-05[opcodes]DJ Delorie1-27/+55
* rx-decode.opc (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove. * rx-decode.c: Regenerate. * rx-dis.c (cpen): Remove. [gas] * config/rx-parse.y (MVTIPL): Update bit pattern. (cpen): Remove. [include/opcode] * rx.h (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove.
2009-11-05[opcodes]DJ Delorie7-16/+24
* rx-decode.opc (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove. * rx-decode.c: Regenerate. * rx-dis.c (cpen): Remove. [gas] * config/rx-parse.y (MVTIPL): Update bit pattern. (cpen): Remove. [include/opcode] * rx.h (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove.
2009-11-05*** empty log message ***gdbadmin1-1/+1
2009-11-04 * symfile.c (add_psymbol_to_bcache): Don't copy name. MakeTom Tromey2-14/+9
'psymbol' non-static.
2009-11-04daily updateAlan Modra1-1/+1
2009-11-042009-11-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+32
PR gas/876 * gas/i386/i386.exp: Run space1. * gas/i386/space1.l: New. * gas/i386/space1.s: Likewise.
2009-11-042009-11-04 Kai Tietz <kai.tietz@onevision.com>Kai Tietz13-112/+177
* emulparams/arm_epoc_pe.sh: Remove ENTRY. * emulparams/arm_wince_pe.sh: Likewise. * emulparams/i386pe.sh: Likewise. * emulparams/i386pe_posix.sh: Likewise. * emulparams/mcorepe.sh: Likewise. * emulparams/mipspe.sh: Likewise. * emulparams/ppcpe.sh: Likewise. * emulparams/armpe.sh: Likewise. * emulparams/i386pep.sh: Likewise. * emulparams/shpe.sh: Likewise. Additionally cleaned up double-defined variables SUBSYSTEM and INITIAL_SYMBOL_CHAR. * emultempl/pe.em: Remove use of ENTRY. (pe_subsystem): New local variable. (gld_XXX_before_parse): Don't set default entry point here. (set_entry_point): New function to set entry point. (set_pe_subsystem): Remove code for entry point. (gld_XXX_after_parse): Use set_entry_point here. * emultempl/pep.em: Likewise.
2009-11-04 PR 10887Ian Lance Taylor6-13/+36
* arm.cc (Target_arm::do_finalize_sections): Don't add dynamic tags if data is discarded by linker script. * i386.cc (Target_i386::do_finalize_sections): Likewise. * powerpc.cc (Target_powerpc::do_finalize_sections): Likewise. * sparc.cc (Target_sparc::do_finalize_sections): Likewise. * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
2009-11-04 * layout.cc (Layout::get_output_section): Add is_interp andIan Lance Taylor13-102/+248
is_dynamic_linker_section parameters. Change all callers. (Layout::choose_output_section): Likewise. (Layout::make_output_section): Likewise. (Layout::add_output_section_data): Add is_dynamic_linker_section parameter. Change all callers. * layout.h (class Layout): Update declarations. * output.h (class Output_section): Add is_interp, set_is_interp, is_dynamic_linker_section, set_is_dynamic_linker_section methods. Add is_interp_, is_dynamic_linker_section_ fields. Change generate_code_fills_at_write_ to a bitfield. * output.cc (Output_section::Output_sections): Initialize new fields. (Output_segment::add_output_section): Add do_sort parameter. Change all callers.
2009-11-04Fix ChangeLog typo.Paul Brook1-1/+1
2009-11-042009-11-04 Daniel Jacobowitz <dan@codesourcery.com>Maxim Kuvyrkov5-3/+53
Maxim Kuvyrkov <maxim@codesourcery.com> * config/tc-m68k.h (CF_DIFF_EXPR_OK): Define to 0 for uClinux. (CFI_DIFF_LSDA_OK): Define. * config/te-uclinux.h: New file. * configure.tgt (m68k-uclinux): Define em. * dw2gencfi.c (CFI_DIFF_LSDA_OK): New macro. (dot_cfi_lsda, output_fde): Use instead of CFI_DIFF_EXPR_OK.
2009-11-04 * m32c-desc.c: Regenerate.Doug Evans3-2/+7
* mep-desc.c: Regenerate.
2009-11-04 * arch.c: Regenerate.Doug Evans11-291/+176
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * model.c: Regenerate. * sem-switch.c: Regenerate. * sem.c: Regenerate.
2009-11-04 * arch.c: Regenerate.Doug Evans11-319/+609
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * model.c: Regenerate. * sem-switch.c: Regenerate. * sem.c: Regenerate.
2009-11-04 * arch.c: Regenerate.Doug Evans23-443/+866
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpu2.c: Regenerate. * cpu2.h: Regenerate. * cpuall.h: Regenerate. * cpux.c: Regenerate. * cpux.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * decode2.c: Regenerate. * decode2.h: Regenerate. * decodex.c: Regenerate. * decodex.h: Regenerate. * model.c: Regenerate. * model2.c: Regenerate. * modelx.c: Regenerate. * sem-switch.c: Regenerate. * sem.c: Regenerate. * sem2-switch.c: Regenerate. * semx-switch.c: Regenerate.
2009-11-04 * Makefile.in (mloop.c): Add @true to rule.Doug Evans2-15/+33
(mloopx.c, mloop2.c): Ditto. (stamp-*): Add Makefile dependency. (arch.c, arch.h, cpuall.h): Specify full path. (cpu.h, sem.c, sem-switch.c, model.c, decode.c, decode.h): Ditto. (cpux.h, semx-switch.c, modelx.c, decodex.c, decodex.h): Ditto. (cpu2.h, sem2-switch.c, model2.c, decode2.c, decode2.h): Ditto.
2009-11-04 * arch.c: Regenerate.Doug Evans18-759/+364
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode-compact.c: Regenerate. * decode-compact.h: Regenerate. * decode-media.c: Regenerate. * decode-media.h: Regenerate. * defs-compact.h: Regenerate. * defs-media.h: Regenerate. * sem-compact-switch.c: Regenerate. * sem-compact.c: Regenerate. * sem-media-switch.c: Regenerate. * sem-media.c: Regenerate. * sh-desc.c: Regenerate. * sh-opc.h: Regenerate.
2009-11-04 * arch.c: Regenerate.Doug Evans10-3293/+2066
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * model.c: Regenerate. * sem.c: Regenerate.
2009-11-04 PR 10860Ian Lance Taylor4-15/+99
* options.h (class General_options): Add --warn-common. * resolve.cc (Symbol_table::resolve): Handle --warn-common when merging two common symbols. (Symbol_table::should_override): Handle --warn-common when merging a common symbol with a defined symbol. Use report_resolve_problem for multiple definitions. (Symbol_table::report_resolve_problem): New function. * symtab.h (class Symbol_table): Declare report_resolve_problem.
2009-11-04*** empty log message ***gdbadmin1-1/+1
2009-11-03daily updateAlan Modra1-1/+1
2009-11-032009-11-03 Doug Kwan <dougkwan@google.com>Doug Kwan2-1/+164
* arm.cc (Target_arm::Target_arm): Initialize stub_tables_ and stub_factory_. (Target_arm::stub_factory): New method definition. (Target_arm::new_arm_input_section, Target_arm::find_arm_input_section, Target_arm::new_stub_table, Target_arm::reloc_uses_thumb_bit): New method declarations. (Target_arm::Stub_table_list, Target_arm::Arm_input_section_map): New type definitions. (Target_arm::stub_tables_, Target_arm::stub_factory_): New data member declarations. (Target_arm::reloc_uses_thumb_bit, Target_arm::new_arm_input_section, Target_arm::find_arm_input_section, Target_arm::new_stub_table): New method definitions.
2009-11-032009-11-03 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-12/+14
* linux-thread-db.c (disable_thread_event_reporting): Adjust.
2009-11-03 * Makefile.in (SIM_EXTRA_DEPS): Add sh-desc.h sh-opc.h.Doug Evans2-10/+23
(sh-desc.o): New rule. (sh-desc.h,sh-desc.c,sh-opc.h): Replaces rule for desc.h. (all generated file rules): Specify generated file with full path.
2009-11-03 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.Nathan Sidwell4-3/+9
* gdb.arch/i386-prologue.exp: Likewise. * gdb.arch/i386-unwind.exp: Likewise.
2009-11-03 * options.h (class General_options): Add --warn_constructors.Ian Lance Taylor2-0/+7
2009-11-03 PR 10893Ian Lance Taylor2-2/+68
* defstd.cc (in_section): Add entries for __rel_iplt_start, __rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack.
2009-11-03 PR 10895Ian Lance Taylor2-3/+13
* po/Make-in ($(srcdir)/$(PACKAGE).pot): Pass -C and --msgid-bugs-address. (install-pdf): New target. (install-data_yes): Look up one directory to find mkinstalldirs.
2009-11-03 * elfcpp.h: Remove trailing commas from enum definitions.Ian Lance Taylor2-4/+8
2009-11-032009-11-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* po/Make-in (.po.gmo): Don't generate .gmo files in source tree.
2009-11-03 * MAINTAINERS (Responsible Maintainers): Add Tristan Gingold asJoel Brobecker2-0/+6
maintainer of the avr target.
2009-11-032009-11-03 Alan Modra <amodra@bigpond.net.au>Ulrich Weigand2-17/+27
Ulrich Weigand <uweigand@de.ibm.com> * elf32-spu.c (mark_functions_via_relocs): Handle non-branch relocs (jump tables or other references to code labels) as well.
2009-11-032009-11-03 Paul Brook <paul@codesourcery.com>Paul Brook5-10/+19
gas/ * config/tc-arm.c (do_vfp_nsyn_mla_mls): Fix vmls excoding. gas/testsuite/ * gas/arm/vfp-neon-syntax.d: Update expected results. * gas/arm/vfp-neon-syntax_t2.d: Update expected results.
2009-11-03 * configure.ac (i[34567]86-*): Check if we're targetting x86-64Nathan Sidwell4-0/+64
with an i686 compiler. * configure.srv (i[34567]86-*-linux*): Pull in x86-64 handling if needed. * configure: Rebuilt.
2009-11-03*** empty log message ***gdbadmin1-1/+1
2009-11-02daily updateAlan Modra1-1/+1
2009-11-02 * lib/gdb.exp (gdb_expect): Fix timeout typo.Daniel Jacobowitz2-1/+5
2009-11-02 * elfread.c (elf_symfile_segments): Do not warn aboutDaniel Jacobowitz2-1/+16
uninitialized sections outside of load segments.
2009-11-02 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.Daniel Jacobowitz2-24/+5
2009-11-02 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.Daniel Jacobowitz2-4/+8
2009-11-02gdb/Jan Kratochvil6-50/+123
* symfile.c (build_id_to_debug_filename): New variable debugdir. Move variables size, s and data into a new inner block. Change xmalloc for alloca, use direct BUILDID->SIZE there now. Loop for the DEBUG_FILE_DIRECTORY components. (find_separate_debug_file): New variable debugdir and debugdir_end. Loop for the DEBUG_FILE_DIRECTORY components. (_initialize_symfile): For "debug-file-directory" use plural and note one can use multiple components now. gdb/doc/ * gdb.texinfo (set debug-file-directory, show debug-file-directory) (Auto-loading): Use plural and note one can use multiple components now. gdb/testsuite/ * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2009-11-02gdb/Jan Kratochvil2-39/+26
* symfile.c (find_separate_debug_file): Initialize dir, debugfile and canon_name to NULL. Change alloca to xmalloc, newly call xfree for it. New label cleanup_return_debugfile, jump to it from the failure paths.
2009-11-02gdb/Jan Kratochvil5-6/+67
* symfile.c (separate_debug_file_exists): When the CRCs mismatch print a warning. (find_separate_debug_file): Pass in the objfile's name. gdb/testsuite/ * gdb.base/sepdebug.exp (CRC mismatch is reported): New test. * gdb.base/sepdebug2.c: New file.