aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-21*** empty log message ***gdbadmin1-1/+1
2010-12-20daily updateAlan Modra1-1/+1
2010-12-20 * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Only keepIan Lance Taylor3-2/+21
second of two consecutive entries with same offset.
2010-12-20 * ld-bootstrap/bootstrap.exp: Fix misplaced comment.Alan Modra2-3/+7
2010-12-20 * ld.texinfo (Expression Section): Describe treatment of numbersAlan Modra19-23/+75
and absolute symbols. * ldemul.c (after_open_default): Look up __ld_compatibility. * ldexp.c (fold_name): Convert absolute symbols to numbers when inside output section definitions, or when __ld_compatibility >= 221. (exp_fold_tree_1): Convert numbers to absolute when not in output section definition and __ld_compatibility < 221. Don't always convert values outside an output section definition to absolute. * ldexp.h (uses_defined): Comment. * ldlang.c (ld_compatibility): New variable. * ldlang.h (ld_compatibility): Declare. * emultempl/aix.em, * emultempl/armcoff.em, * emultempl/beos.em, * emultempl/elf32.em, * emultempl/genelf.em, * emultempl/lnk960.em, * emultempl/m68kcoff.em, * emultempl/mmo.em, * emultempl/pe.em, * emultempl/pep.em, * emultempl/sunos.em, * emultempl/z80.em: Call after_open_default from after_open function.
2010-12-20 PR ld/12001Alan Modra6-73/+46
Revert 2010-11-03 Nick Clifton * ldlang.c (ldlang_def_chain_list): Delete. (insert_defined, ldlang_add_def, lang_place_defineds): Delete. (lang_process): Don't call lang_place_defineds. (lang_add_assignment): Don't do anything special for --defsym. * ldexp.h (struct ldexp_control): Add uses_defined. (exp_fold_tree_no_dot): Declare. * ldexp.c (exp_fold_tree): Clear uses_defined. (exp_fold_tree_no_dot): Likewise. Make global. (fold_name <DEFINED>): Set uses_defined. (exp_fold_tree_1 <etree_assign>): Define symbol during first phase even when the value being assigned isn't valid. * ldlang.c (open_input_bfds): Process assignment statements. (lang_process): Bump lang_statement_iteration. (scan_for_self_assignment): Formatting. (print_assignment): Style. testsuite/ * ld-scripts/default-script2.d: Revert 2010-11-03 change.
2010-12-202010-12-20 Yao Qi <yao@codesourcery.com>Yao Qi2-0/+19
* arm-tdep.c (arm_register_reggroup_p): New. (arm_gdbarch_init): Set arm_register_reggroup_p for hook register_reggroup_p.
2010-12-20Forget to commit in my last check inYao Qi1-13/+13
2010-12-20 Yao Qi <yao@codesourcery.com> * features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate.
2010-12-202010-12-20 Yao Qi <yao@codesourcery.com>Yao Qi5-58/+67
* features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate.
2010-12-20*** empty log message ***gdbadmin1-1/+1
2010-12-19daily updateAlan Modra1-1/+1
2010-12-19*** empty log message ***gdbadmin1-1/+1
2010-12-18daily updateAlan Modra1-1/+1
2010-12-18include/opcode/Richard Sandiford2-2/+13
* mips.h: Update commentary after last commit.
2010-12-18include/opcode/Richard Sandiford13-1/+392
2010-12-14 Mingjie Xing <mingjie.xing@gmail.com> * mips.h (OP_*_OFFSET_A, OP_*_OFFSET_B, OP_*_OFFSET_C) (OP_*_RZ, OP_*_FZ, INSN2_M_FP_D, INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z) (INSN2_READ_GPR_Z, INSN2_READ_FPR_Z, INSN2_READ_GPR_D): Define. opcodes/ 2010-12-14 Mingjie Xing <mingjie.xing@gmail.com> * mips-opc.c (WR_z, WR_Z, RD_z, RD_Z, RD_d): Define. (mips_builtin_opcodes): Add loongson3a specific instructions. * mips-dis.c (print_insn_args): Handle the new arguments +a|b|c|z|Z. gas/ 2010-12-14 Mingjie Xing <mingjie.xing@gmail.com> * config/tc-mips.c (insn_uses_reg): Handle the new flags INSN2_READ_FPR_Z, INSN2_READ_GPR_D and INSN2_READ_GPR_Z. (append_insn): Handle delay-slot filling for the new flags. (validate_mips_insn): Handle the new arguments +a|b|c|z|Z. (mips_ip): Handle the new arguments +a|b|c|z|Z. gas/testsuite/ 2010-12-14 Mingjie Xing <mingjie.xing@gmail.com> * gas/mips/loongson-3a-2.s, gas/mips/loongson-3a-2.d, gas/mips/loongson-3a-3.s, gas/mips/loongson-3a-3.d: New tests. * gas/mips/mips.exp: Run them.
2010-12-18* config/rx-parse.y (SUB): Correct subtraction of immediateDJ Delorie2-1/+6
pattern.
2010-12-18 * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior.Marc Khouzam2-0/+33
(get_other_inferior): New.
2010-12-18 * python/py-progspace.c (py_free_pspace): Obtain arch anotherMarc Khouzam2-3/+7
way to avoid dereferencing a null pointer.
2010-12-182010-12-17 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* utils.c (do_my_cleanups): Comment fix-up.
2010-12-18*** empty log message ***gdbadmin1-1/+1
2010-12-17daily updateAlan Modra1-1/+1
2010-12-172010-12-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-20/+7
* COPYING.LIBGLOSS: Remove the GPL for fr30 target.
2010-12-17 * mips-tdep.c (make_mips16_addr): New function.Kevin Buettner2-5/+68
(mips_elf_make_msymbol_special): Don't set the low bit in the symbol's address. (mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit indicating mips16 address, if present. (mips_write_pc): Set bit indicating mips16 address when in a mips16 function. (mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise, but for each function pointer argument to inferior function call.
2010-12-17 * psympriv.h (struct partial_symtab) <readin>: Move fieldTom Tromey2-4/+11
earlier.
2010-12-17* reloc.c (BFD_RELOC_RX_ABS16_REV): Add.DJ Delorie7-4/+46
(BFD_RELOC_RX_ABS32_REV): Add. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-rx.c (rx_reloc_map): Add them. * config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more cases. (tc_gen_reloc): Fix handling of subtraction (esp wrt endianness).
2010-12-17*** empty log message ***gdbadmin1-1/+1
2010-12-16daily updateAlan Modra1-1/+1
2010-12-16 * mips-tdep.c (mips_convert_register_float_case_p)Kevin Buettner2-5/+99
(mips_convert_register_gpreg_case_p): New functions. (mips_convert_register_p): Invoke new functions above. (mips_register_to_value): Add case for fetching value shorter than 64 bits from a 64-bit register. (mips_value_to_register): Add case for storing value shorter than 64 bits into a 64-bit register.
2010-12-16 * symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_labelMaciej W. Rozycki5-24/+46
for new fake labels created off the dot special symbol. * config/tc-mips.h (tc_new_dot_label): New macro. (mips_record_label): New prototype. * config/tc-mips.c (my_getExpression): Remove MIPS16 fake label annotation. (s_cons, s_float_cons, s_gpword, s_gpdword): Only clear labels recorded once data expressions have been evaluated. (mips_define_label): Move code to record labels over to... (mips_record_label): ... this new function. * doc/internals.texi: Document tc_new_dot_label.
2010-12-16gold: fix testsuite dependencies.Ralf Wildenhues3-75/+38
gold/: * testsuite/Makefile.am (ifuncmain2static_LDADD) (ifuncmain2_LDADD, ifuncmain4static_LDADD, ifuncmain4_LDADD) (ifuncmain7static_LDADD, ifuncmain7_LDADD): New empty variables, to avoid unneeded links against $(LDADD). * testsuite/Makefile.in: Regenerate.
2010-12-162010-12-16 Joel Borggrén-Franck <joel.borggren.franck@gmail.com>Tom Tromey2-1/+6
* python/py-value.c (value_object_type) <tp_flags>: Add Py_TPFLAGS_BASETYPE.
2010-12-16NEWS: Mention new sim --map-info flag.Mike Frysinger2-0/+8
2010-12-16 * dwarf2read.c (_initialize_dwarf2_read): Fix help text ofDoug Evans2-1/+6
"save gdb-index" command.
2010-12-16*** empty log message ***gdbadmin1-1/+1
2010-12-15daily updateAlan Modra1-1/+1
2010-12-15gdbTom Tromey5-3/+68
* infrun.c (save_infcall_control_state): Handle the exception-resume breakpoint. (restore_infcall_control_state): Likewise. (discard_infcall_control_state): Likewise. gdb/testsuite 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.cp/nextoverthrow.cc (dummy): Return int 0. (NextOverThrowDerivates) <resumebpt>: New. (resumebpt_test): New. (main): Call resumebpt_test. * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2010-12-15 * mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bitKevin Buettner2-6/+23
cooked values that are being transferred to 64-bit raw registers. (mips_pseudo_register_read): Revise to preserve symmetry with mips_pseudo_register_write().
2010-12-152010-12-15 Greg Watson <g.watson@computer.org>Tom Tromey2-2/+6
* f-exp.y (yylex): Check entire token against keywords.
2010-12-15 Rename "maint set python auto-load" to "set auto-load-scripts".Doug Evans5-19/+64
* NEWS: Mention it. * python/py-auto-load.c (auto_load_scripts): Renamed from gdbpy_auto_load. (load_auto_scripts_for_objfile): Update. (gdbpy_initialize_auto_load): Rename "maint set python auto-load" to "set auto-load-scripts". doc/ * gdb.texinfo (Startup): Document auto-loading of scripts during startup. (Auto-loading): Delete "maint set python auto-load on|off". Add "set auto-load-scripts on|off".
2010-12-15 PR gold/12324Ian Lance Taylor4-6/+29
* x86_64.cc (Target_x86_64::Scan::check_non_pic): Give an error for R_X86_64_32 and R_X86_64_PC32. * testsuite/Makefile.am (ver_matching_def.so): Depend on and use ver_matching_def_pic.o. (ver_matching_def_pic.o): New target.
2010-12-15Add SORT_BY_INIT_PRIORITY.H.J. Lu20-14/+334
bfd/ 2010-12-15 H.J. Lu <hongjiu.lu@intel.com> * elf.c (_bfd_elf_new_section_hook): Special handling for .init_array/.fini_array output sections. ld/ 2010-12-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (GENSCRIPTS): Add @enable_initfini_array@. * NEWS: Mention SORT_BY_INIT_PRIORITY. * configure.in: Add AC_CANONICAL_BUILD. Add --enable-initfini-array. * genscripts.sh (ENABLE_INITFINI_ARRAY): New. * ld.h (sort_type): Add by_init_priority. * ld.texinfo: Document SORT_BY_INIT_PRIORITY. * ldgram.y (SORT_BY_INIT_PRIORITY): New. (wildcard_spec): Handle SORT_BY_INIT_PRIORITY. * ldlang.c (get_init_priority): New. (compare_section): Use get_init_priority for by_init_priority. * ldlex.l (SORT_BY_INIT_PRIORITY): New. * scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * config.in: Likewise. * configure: Likewise. ld/testsuite/ 2010-12-15 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/elf.exp (array_tests): Add init-mixed. (array_tests_static): Likewise. Also delete tmpdir/init-mixed. * ld-elf/init-mixed.c: New. * ld-elf/init-mixed.out: Likewise.
2010-12-15sim: add --map-info optionMike Frysinger2-1/+50
There are options for listing the current device/hw tree and memory regions, but no way to find out at run time all the current mappings. So add a new --map-info option akin to the --memory-info option which displays all the current mappings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-152010-12-15 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-5/+10
* dwarf.c (display_gdb_index): Fix printf types for used formatters.
2010-12-15*** empty log message ***gdbadmin1-1/+1
2010-12-14(decode_opcode): RXO_branchrel is relative to the opcode's PC, notDJ Delorie2-2/+4
the address following the opcode.
2010-12-14* rx.c (decode_opcode): For "MVFC PC,", use the address of theDJ Delorie2-0/+13
opcode, not the address following the opcode.
2010-12-14daily updateAlan Modra1-1/+1
2010-12-14gold: fix race in FileRead::~View.Ralf Wildenhues2-10/+25
gold/: * fileread.cc (file_counts_lock, file_counts_initialize_lock) (total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes): Move definition before File_read::View member definitions. (File_read::View::~View): Initialize and hold lock before updating current_mapped_bytes.
2010-12-14 * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, ratherKevin Buettner2-11/+16
than unsigned, values in registers.
2010-12-14Fix typos in gold.Ralf Wildenhues36-114/+148
gold/: * dwarf_reader.cc: Remove outdated comment. * gold-threads.cc: Fix typo in error message. * archive.cc: Fix typos in comments. * archive.h: Likewise. * arm-reloc-property.cc: Likewise. * arm-reloc-property.h: Likewise. * arm-reloc.def: Likewise. * arm.cc: Likewise. * attributes.h: Likewise. * cref.cc: Likewise. * ehframe.cc: Likewise. * fileread.h: Likewise. * gold.h: Likewise. * i386.cc: Likewise. * icf.cc: Likewise. * incremental.h: Likewise. * int_encoding.cc: Likewise. * layout.h: Likewise. * main.cc: Likewise. * merge.h: Likewise. * object.cc: Likewise. * object.h: Likewise. * options.cc: Likewise. * readsyms.cc: Likewise. * reduced_debug_output.cc: Likewise. * reloc.cc: Likewise. * script-sections.cc: Likewise. * sparc.cc: Likewise. * symtab.h: Likewise. * target-reloc.h: Likewise. * target.cc: Likewise. * target.h: Likewise. * timer.cc: Likewise. * timer.h: Likewise. * x86_64.cc: Likewise.