aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-10* Makefile.def (configure-gcc): Depend on all-libelf.Alexandre Oliva3-9/+14
* Makefile.in: Rebuild.
2010-06-10Stop if -march=XXX is invalid.H.J. Lu2-5/+30
2010-06-10 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (update_code_flag): New. (set_code_flag): Use it. (i386_target_format): Replace set_code_flag with update_code_flag.
2010-06-102010-06-10 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2-225/+12
* override.m4: Remove obsolete (<2.64) definitions.
2010-06-10sync changelog with gcc, plus commit the following patch:Paolo Bonzini2-12/+27
2010-06-09 Iain Sandoe <iains@gcc.gnu.org> PR bootstrap/43170 * tls.m4 (GCC_CHECK_TLS): Add volatile qualifier to the test references. Move the main () test reference ahead of pthread_create(). Add a comment to explain the requirements of the test.
2010-06-10 PR other/43838Jakub Jelinek3-1/+25
* cp-demangle.c (struct d_print_info): Add flush_count field. (d_print_init): Initialize it to 0. (d_print_flush): Increment it. (d_print_comp): If needed flush before appending ", ". Only decrement dpi->len if no flushes happened during the recursive call. * testsuite/demangle-expected: Add a test for this.
2010-06-102010-06-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-3/+8
* readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are not inplace.
2010-06-102010-06-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-4/+7
* config.bfd: Remove #if/#endif so that som can be compiled on any host. * targets.c (_bfd_target_vector): Remove #if/#endif so that som can be used on any host.
2010-06-10bfd/Tristan Gingold5-410/+834
2010-06-10 Tristan Gingold <gingold@adacore.com> * som.c: Can now be compiled on any host. Include bfd headers instead of system one. (som_compute_checksum): Parameter is now a pointer to a som_external_header structure. Adjust. (struct section_to_type): Field section is now const. (R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional definition. (R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto. (R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto. (som_swap_clock_in, som_swap_clock_out): New functions. (som_swap_header_in, som_swap_header_out): Likewise. (som_swap_space_dictionary_in): Likewise. (som_swap_space_dictionary_out): Likewise. (som_swap_subspace_dictionary_in): Likewise. (som_swap_subspace_dictionary_record_out): Likewise. (som_swap_aux_id_in, som_swap_aux_id_out): Likewise. (som_swap_string_auxhdr_out): Likewise. (som_swap_compilation_unit_out): Likewise. (som_swap_exec_auxhdr_in): Likewise. (som_swap_exec_auxhdr_out): Likewise. (som_swap_lst_header_in): Likewise. (som_object_setup): Adjust parameter type using bfd types. (setup_sections): Likewise. Ditto for object file types. Use intermediate variables for external representation and use the swap functions to convert. (som_object_p): Ditto. Remove #ifdef/#endif on always defined macros. (som_prep_headers): Likewise. (som_write_symbol_strings): Likewise. (som_begin_writing): Likewise. (som_finish_writing): Likewise. (som_build_and_write_symbol_table): Likewise. (bfd_section_from_som_symbol): Likewise. (som_slurp_symbol_table): Likewise. (som_bfd_print_private_bfd_data): Likewise. (bfd_som_attach_aux_hdr): Likewise. Clear the padding. (bfd_som_attach_compilation_unit): Likewise. (som_bfd_count_ar_symbols): Likewise. (som_bfd_fill_in_ar_symbols): Likewise. (som_slurp_armap): Likewise. (som_bfd_ar_write_symbol_stuff): Likewise. (som_write_armap): Likewise. Use _bfd_ar_spacepad instead of sprintf to write header fields. * som.h: Include bfd headers instead of system one. (FILE_HDR_SIZE, AUX_HDR_SIZE): Removed. (struct somdata): Use bfd structures instead of system ones. (struct som_section_data_struct): Likewise. (struct som_subspace_dictionary_record): Removed (now in include/som/internal.h) gas/ 2010-06-10 Tristan Gingold <gingold@adacore.com> * config/obj-som.h: Includes som/reloc.h
2010-06-10include/som:Tristan Gingold6-0/+664
2010-06-10 Tristan Gingold <gingold@adacore.com> * aout.h: New file. * clock.h: Likewise. * lst.h: Likewise. * reloc.h: Likewise. * internal.h: Likewise.
2010-06-102010-06-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-8/+55
* dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and DW_TAG_HP_Bliss_field_set. (enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue, DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size, DW_AT_HP_definition_points, DW_AT_HP_default_location and DW_AT_HP_is_result_param. (enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d, DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited, DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed, DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d. (enum dwarf_line_number_x_ops): Add DW_LNE_HP_source_file_correlation. (enum dwarf_source_language): Add DW_LANG_HP_Bliss, DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro, DW_LANG_HP_Assembler.
2010-06-102010-06-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-5/+5
* targets.c (bfd_target_list): Remove hp/ux compiler work-around as bfd requires an ANSI-C compiler.
2010-06-10gas/Jan Beulich2-45/+16
2010-06-10 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (cpu_arch): Add comment. (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags from the generic entries of cpu_arch[].
2010-06-10*** empty log message ***gdbadmin1-1/+1
2010-06-10daily updateAlan Modra1-1/+1
2010-06-092010-06-09 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+7
* target.c (update_current_target): Fix spelling error in comment. (target_mourn_inferior): Fix spelling error in error message.
2010-06-09 PR ld/11603Dave Korn2-22/+28
* pe-dll.c (process_def_file_and_drectve): Reorder check for forwarded export name after check for ordinary export.
2010-06-09 * gas/config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enumMatthew Gretton-Dann11-30/+131
value. (parse_operands): Add support for OP_RRnpctw. (insns): Update floating-point load/store multiples so the first register is of type OP_RRnpctw. * gas/testsuite/gas/arm/vldm-arm.d: New test. * gas/testsuite/gas/arm/vldm-thumb-bad.d: Likewise. * gas/testsuite/gas/arm/vldm-thumb-bad.l: Likewise. * gas/testsuite/gas/arm/vldm.s: Likewise. * gas/testsuite/gas/arm/vldmw-arm-bad.d: Likewise. * gas/testsuite/gas/arm/vldmw-bad.l: Likewise. * gas/testsuite/gad/arm-vldmw-bad.s: Likewise. * gas/testsuite/gas/arm/vldmw-thumb-bad.d: Likewise.
2010-06-09 * yyscript.y (input_list_element): Allow strings prefixed withNick Clifton4-33/+66
the '-' character. Treat these as libraries. * script.cc (script_add_library): New function. Adds a library specified by "-l<name>" found in an input script. * script-c.h: Add prototype for script_add_library.
2010-06-092010-06-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+11
* bfdio.c (bfd_bread): Fix the code to prevent reading past the end of archive members.
2010-06-09Trivial correction to two comments in dictionary.h.Paul N. Hilfinger2-2/+7
Changelog: * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments.
2010-06-09*** empty log message ***gdbadmin1-1/+1
2010-06-09daily updateAlan Modra1-1/+1
2010-06-082010-06-08 Michael Snyder <msnyder@vmware.com>Michael Snyder30-111/+148
* gdb.ada/exec_changed.exp: Use ".*" instead of "" as wildcard regexp. * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp. * gdb.base/call-ar-st.exp: Ditto. * gdb.base/checkpoint.exp: Ditto. * gdb.base/default.exp: Ditto. * gdb.base/dump.exp: Ditto. * gdb.base/ending-run.exp: Ditto. * gdb.base/fileio.exp: Ditto. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.base/readline.exp: Ditto. * gdb.base/reread.exp: Ditto. * gdb.base/restore.exp: Ditto. * gdb.base/shlib-call.exp: Ditto. * gdb.base/valgrind-db-attach.exp: Ditto. * gdb.base/volatile.exp: Ditto. * gdb.base/watchpoints.exp: Ditto. * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp. * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp. * gdb.python/py-value.exp: Ditto. * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp. * gdb.trace/circ.exp: Ditto. * gdb.trace/collection.exp: Ditto. * gdb.trace/packetlen.exp: Ditto. * gdb.trace/passc-dyn.exp: Ditto. * gdb.trace/report.exp: Ditto. * gdb.trace/tfile.exp: Ditto. * gdb.trace/tfind.exp: Ditto. * gdb.trace/while-dyn.exp: Ditto.
2010-06-08 * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.Bernd Schmidt2-0/+17
2010-06-082010-06-08 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+5
* remote.c (remote_close): Set inferior_ptid to null_ptid.
2010-06-08gdb/Jan Kratochvil5-21/+96
* configure.ac <"${have_libpython}" != no>: New workaround of python#4434. * configure: Regenerate. gdb/testsuite/ * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2010-06-082010-06-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+6
* som.c (som_bfd_free_cached_info): Do not free relocations as they were allocated with bfd_zalloc.
2010-06-082010-06-08 Quentin Neill <quentin.neill@amd.com>Sebastian Pop2-25/+32
* config/tc-i386.c (pi): Rename local loop counter variable i that shadows global static i386_insn i when DEBUG386 is defined. (pte) Ditto.
2010-06-082010-06-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+6
* vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment for the first block.
2010-06-08 * standards.texi: Import current version from gnustandardsNick Clifton3-194/+316
project. * gnu-oids.texi: New file.
2010-06-08 * gprof.texi (Sampling Error): Note that call counts and basicNick Clifton2-4/+14
block counts are only reliable for multi-threaded applications if the counting function itself is thread safe.
2010-06-08etc/ChangeLogNick Clifton11-538/+401
* standards.texi: Relicense under GFDL v1.3. * fdl.texi: Replace with v1.3 text. gas/ChangeLog * doc/as.texinfo: Replace abbreviated 20th century year numbers with full versions. gprof/ChangeLog * gprof.texi: Replace abbreviated 20th century year numbers with full versions. ld/ChangeLog * fdl.texi: Replace with v1.3 text. * ld.texinfo: Replace abbreviated 20th century year numbers with full versions. * ldint.texinfo: Likewise. Relicense under GFDL v1.3. Replace text of v1.1 FDL with an include of the fdl.texi file.
2010-06-08oops - omitted from previous deltaNick Clifton1-0/+5
2010-06-08 * reg.c (set_oszc): Use unsigned int for the mask.Nick Clifton2-4/+9
(set_szc, set_osz, set_sz): Likewise.
2010-06-082010-06-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-0/+20
* vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function. * libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare. * libbfd.h: Regenerate. * elfxx-ia64.c (bfd_elfNN_write_archive_contents): Redefine for VMS. (bfd_elfNN_mkarchive): Ditto.
2010-06-082010-06-08 Hui Zhu <teawater@gmail.com>Hui Zhu2-4/+12
* record.c (record_wait): Move signal out of replay code.
2010-06-082010-06-07 Doug Kwan <dougkwan@google.com>Doug Kwan2-11/+21
* arm.cc (Target_arm::do_relax): Reserve more space for stubs. Restrict stub-group size to be within long conditional branch range when working around cortex-A8 erratum.
2010-06-08*** empty log message ***gdbadmin1-1/+1
2010-06-08daily updateAlan Modra1-1/+1
2010-06-07gdb/Jan Kratochvil10-22/+315
Fix PR 10640. * dwarf2-frame.c (no_dwarf_call): New function. (execute_stack_op): Set CTX->DWARF_CALL. * dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New. * dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New. (struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field. * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions. (dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL. (needs_frame_dwarf_call): New function. (dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL. * dwarf2read.c (follow_die_offset): Based on former follow_die_ref. Update the comment. Move variables die, offset and error call to ... (follow_die_ref): ... a new function. (dwarf2_fetch_die_location_block): New function. * dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype. gdb/testsuite/ Test PR 10640. * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2010-06-07gdb/Jan Kratochvil3-5/+20
* dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu. (dwarf_expr_tls_address): Use per_cu instead of objfile. (dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE. Initialize new BATON.PER_CU. Adjust CTX->GDBARCH initialization for this change. (struct needs_frame_baton): New field per_cu. (dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU. * dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.
2010-06-07Fix operator doubly nested namespace search.Sami Wagiaalla2-28/+60
2010-06-07 Sami Wagiaalla <swagiaal@redhat.com> * cp-support.c (make_symbol_overload_list_namespace): Only search static and global blocks. (make_symbol_overload_list_block): New function. (make_symbol_overload_list): Separate namespace search from block search. (make_symbol_overload_list_qualified): Use make_symbol_overload_list_block.
2010-06-07Test and support all cpp operator types.Sami Wagiaalla11-69/+554
2010-06-07 Sami Wagiaalla <swagiaal@redhat.com> * value.h: Created oload_search_type enum. (find_overload_match): Use oload_search_type enum. * valops.c (find_overload_match): Support combined member and non-member search. * eval.c (evaluate_subexp_standard): Calls to find_overload_match now use oload_search_type enum. (oload_method_static): Verify index is a proper value. * valarith.c (value_user_defined_cpp_op): Search for and handle both member and non-member operators. (value_user_defined_cpp_op): New function. (value_user_defined_op): New function. (value_x_unop): Use value_user_defined_op. (value_x_binop): Ditto. * cp-support.c (make_symbol_overload_list_using): Added block iteration. Add check for namespace aliases and imported declarations. 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/koenig.exp: Test for ADL operators. * gdb.cp/koenig.cc: Added ADL operators. * gdb.cp/operator.exp: New test. * gdb.cp/operator.cc: New test.
2010-06-07 * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): CorrectIan Lance Taylor2-1/+6
#ifdef typo.
2010-06-07gdb/Jan Kratochvil2-1/+6
* breakpoint.h (owner): Extend the comment.
2010-06-07gdb/Jan Kratochvil2-18/+36
Clear stale specific bp_location from former whole breakpoint. * breakpoint.c (delete_breakpoint): Move the stale referencing clear code ... (free_bp_location): ... here. Rename there the called function to bpstat_remove_bp_location_callback. (bpstat_remove_breakpoint_callback): Rename to ... (bpstat_remove_bp_location_callback): ... here, change DATA resolution to struct bp_location. Change the called function to bpstat_remove_bp_location. Create new declaration for the function. (bpstat_remove_breakpoint): Rename to ... (bpstat_remove_bp_location): ..., change the parameter to loc, adjust code for the new parameter type.
2010-06-07 * gas/testsuite/gas/arm/thumb-eabi.d: Add case for divided syntax encoding ↵Matthew Gretton-Dann22-25/+54
of movs. * gas/testsuite/gas/arm/thumb.d: Likewise. * gas/testsuite/gas/arm/thumb.s: Likewise. * gas/testsuite/gas/arm/thumb2_it.d: Update for change in lsls/movs disassembly. * gas/testsuite/gas/arm/thumb2_it_auto.d: Liekwise. * gas/testsuite/gas/arm/thumb32.d: Likewise. * ld/testsuite/ld-arm/arm-call.d: Handle change in lsls/movs disassembly. * ld/testsuite/ld-arm/farcall-thumb-arm-short.d: Likewise. * ld/testsuite/ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Likewise. * ld/testsuite/ld-arm/farcall-thumb-thumb-blx.d: Likewise. * ld/testsuite/ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise. * ld/testsuite/ld-arm/farcall-thumb-thumb-m.d: Likewise. * ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. * ld/testsuite/ld-arm/farcall-thumb-thumb.d: Likewise. * ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise. * ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad.d: Likewise. * ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d: Likewise. * ld/testsuite/ld-arm/thumb2-bl-bad.d: Likewise. * opcodes/arm-dis.c (thumb-opcodes): Add disassembly for movs.
2010-06-07 * README: Make version-agnostic.Nathan Sidwell2-77/+57
2010-06-07daily updateAlan Modra1-1/+1
2010-06-07*** empty log message ***gdbadmin1-1/+1