aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-03-01merge from gccDJ Delorie5-0/+95
2005-03-01 * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.Alan Modra2-1/+2
2005-03-01 * gas/m68k/mcf-emac.d: Allow for 64-bit addresses.Alan Modra5-4/+11
* gas/m68k/mcf-mac.d: Likewise. * gas/m68k/mcf-mov3q.d: Likewise. * gas/m68k/mode5.d: Likewise.
2005-03-01merge from gccDJ Delorie2-5/+10
2005-03-01 * as.h (assert): Warning fix.Alan Modra7-13/+21
* expr.c (expr): Correct assertion. * read.c (s_comm_internal): Remove assertion. * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER. (fixup_segment): Remove assertion. * config/tc-dlx.c (machine_ip): Remove untrue assertions. (md_apply_fix3): Likewise. * config/tc-i370.c (md_begin): Correct assertion. (i370_macro): Warning fix for assertion.
2005-03-01 * config/tc-m68k.c (md_assemble): Don't use sizeof host short.Alan Modra2-1/+2
2005-03-01 * targets.h: Typo fix.Alan Modra3-2/+5
* bfd-in2.h: Regenerate.
2005-03-01 * configure.in (AC_C_BIGENDIAN): Invoke.Alan Modra10-123/+389
* configure: Regenerate. * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof host variable to set string header size. * config/obj-aout.c (obj_header_append): Don't use host structs. (obj_symbol_to_chars): Likewise. (obj_emit_strings): Likewise. Use the passed in output pointer. * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE. * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size, not sizeof host struct. (obj_header_append, obj_symbol_to_chars): Don't use host structs. (obj_emit_strings): Likewise. * config/obj-bout.h (EXEC_BYTES_SIZE): Define. (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of sizeof host struct. (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using sizeof host struct. (host_number_to_chars): Define. * config/obj-hp300.c (hp300_header_append): Don't use sizeof host internal struct to set header sizes. * config/tc-i960.c (md_number_to_field): Warning fix. (md_ri_to_chars): Use host byte order. (get_cdisp, md_apply_fix3): Warning fix.
2005-03-01 * bout.c (b_out_write_object_contents): Don't use sizeof on hostAlan Modra2-7/+13
structs to size on-disk structures. (b_out_set_section_contents): Size the external struct, not the internal one for on-disk size. (b_out_sizeof_headers): Likewise.
2005-03-01*** empty log message ***gdbadmin1-1/+1
2005-02-28 * elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-symAlan Modra2-2/+6
entry points with the func descriptor as well as undefweak.
2005-02-28daily updateAlan Modra1-1/+1
2005-02-282005-02-28 Paul Brook <paul@codesourcery.com>Paul Brook1-2/+2
* doc/c-arc.texi: Add missing @code.
2005-02-28Update documentation about ARC's extension instructions.Nick Clifton2-11/+142
2005-02-28 * dwarf2loc.c (loclist_read_variable): Set optimized_outDaniel Jacobowitz12-77/+119
instead of reporting an error. * valprint.c (value_check_printable): New function. (common_val_print): New function. Use value_check_printable. (value_print): Use value_check_printable. * value.h (common_val_print): Add prototype. * c-valprint.c (c_val_print): Use common_val_print. * cp-valprint.c (cp_print_value_fields): Likewise. (cp_print_hpacc_virtual_table_entries): Likewise. * f-valprint.c (f_val_print): Likewise. * jv-valprint.c (java_value_print, java_print_value_fields): Likewise. * scm-valprint.c (scm_value_print): Likewise. * stack.c (print_frame_args): Likewise. * varobj.c (c_value_of_variable): Likewise. * p-valprint.c (pascal_val_print, pascal_value_print): Likewise. (pascal_object_print_value_fields): Likewise. Update call to pascal_object_print_static_field. (pascal_object_print_static_field): Remove TYPE argument. Use common_val_print.
2005-02-28(pe_ILF_build_a_bfd): Do not assume that an @ will be present whenNick Clifton2-5/+13
IMPORT_NAME_UNDOECRATE is used.
2005-02-282005-02-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-15/+50
PR 757 * elf-bfd.h (_bfd_elf_merge_symbol): Add a pointer to unsigned int. * elf32-sh-symbian.c (sh_symbian_relocate_section): Pass NULL to _bfd_elf_merge_symbol. * elflink.c (_bfd_elf_merge_symbol): Use the pointer to unsigned int to return the alignment of the old common symbol in the dynamic object. (_bfd_elf_add_default_symbol): Pass NULL to _bfd_elf_merge_symbol. (elf_link_add_object_symbols): Pass &old_alignment to _bfd_elf_merge_symbol. Get the alignment of the new common symbol in the dynamic object.
2005-02-28 * readelf.c (get_file_type, get_machine_name, get_osabi_name,Jakub Jelinek2-68/+90
get_segment_type, get_section_type_name, get_elf_class, get_data_encoding, get_group_flags, dynamic_section_mips_val, get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name, get_AT_name, process_mips_specific, process_gnu_liblist, get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of sprintf where needed. (get_dynamic_type): Likewise. Increase buff to 64 bytes. (get_elf_section_flags): Increase buff to 33 bytes. Avoid using strcat. (get_dynamic_flags): Renamed to... (print_dynamic_flags): ... this. Print the flags to stdout instead of returning them as string. (process_dynamic_section): Adjust caller.
2005-02-282005-02-28 Andrew Pinski <pinskia@physics.uc.edu>Paolo Bonzini3-65/+72
PR bootstrap/20250 * Makefile.tpl (HOST target installs): Fix copy and pasto, use install instead of check. * Makefile.in: Regenerate.
2005-02-282005-02-28 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini8-3412/+3369
Sync from gcc. 2005-02-28 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * Makefile.def (target_modules): Remove "stage", now unnecessary. * Makefile.tpl (HOST_SUBDIR): New substitution. (STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET, USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET, USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET, USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it. (Host modules, Bootstrapped modules): Use it. (Build modules, Target modules): Do not create symlink trees, always configure out-of-srcdir. (distclean): Try removing $(host_subdir) with rm before using rm -rf. * configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use $(HOST_SUBDIR). Create a symlink for host_subdir. * Makefile.in: Regenerate. * configure: Regenerate. Merged from libada-gnattools-branch: 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.def: Add gnattools as a module, depending on target-libada. * Makefile.in: Regenerate. * configure.in: Include gnattools in host_tools; disable it if ada is disabled. * configure: Regenerate. config: 2005-02-28 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src gcc build is going.
2005-02-28*** empty log message ***gdbadmin1-1/+1
2005-02-27daily updateAlan Modra1-1/+1
2005-02-27Changed my own mail addressSvein Seldal3-2/+7
2005-02-27*** empty log message ***gdbadmin1-1/+1
2005-02-26daily updateAlan Modra1-1/+1
2005-02-262005-02-25 Mark Kettenis <kettenis@gnu.org>Elena Zannoni2-30/+43
Committed by Elena Zannoni <ezannoni@redhat.com> * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust info_ptr before building psymtabs for included files. (create_all_comp_units): Initailize initial length size of compilation header to zero. (read_initial_length): Complain if both 32-bit and 64-bit DWARF sections are encountered within the same compilation header. (dwarf_decode_line_header): Pass compilation header in call to read_initial_length.
2005-02-26*** empty log message ***gdbadmin1-1/+1
2005-02-25daily updateAlan Modra1-1/+1
2005-02-252005-02-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+9
* readelf.c (display_debug_ranges): Print out offset for end of list.
2005-02-25*** empty log message ***gdbadmin1-1/+1
2005-02-24 * gdb.ada/fixed_points.exp: Create compilation object directoryJoel Brobecker5-0/+12
before running the test. * gdb.ada/null_record.exp: Likewise. * gdb.ada/packed_array.exp: Likewise. * gdb.ada/start.exp: Likewise.
2005-02-24daily updateAlan Modra1-1/+1
2005-02-24 * acinclude.m4: Include bfd/bfd.m4 directly.Daniel Jacobowitz5-101/+68
* configure.ac: Use AC_ARG_PROGRAM. Suggested by Aron Griffis <agriffis@toolchain.org>. * aclocal.m4, configure: Regenerated.
2005-02-24 * coffcode.h (coff_sym_filepos): Remove GNU960 conditional code.Ben Elliston4-32/+8
* format.c (bfd_check_format_matches): Likewise. * archive.c (BFD_GNU960_ARMAG): Likewise. (bfd_generic_archive_p): Likewise. (_bfd_write_archive_contents): Likewise.
2005-02-24 * ldfile.c: Remove GNU960 conditional code.Ben Elliston5-163/+7
* emultempl/gld960.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/lnk960.em: Likewise.
2005-02-242005-02-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+7
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.95. * configure: Regenerate.
2005-02-24 * elflink.c (elf_link_add_object_symbols): Force symbols inJulian Brown2-1/+9
discarded COMDAT group sections to have default visibility.
2005-02-242005-02-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney35-88/+812
Add show_VARIABLE functions, update add_setshow call. * varobj.c (_initialize_varobj, show_varobjdebug): Add and update. * valprint.c (_initialize_valprint, show_print_max) (show_stop_print_at_null, show_repeat_count_threshold) (show_prettyprint_structs, show_unionprint) (show_prettyprint_arrays, show_addressprint, show_input_radix) (show_output_radix): Ditto. * valops.c (_initialize_valops, show_overload_resolution): Ditto. * utils.c (initialize_utils, show_chars_per_line) (show_lines_per_page, show_demangle, show_pagination_enabled) (show_sevenbit_strings, show_asm_demangle): Ditto * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind) (show_tui_border_mode, show_tui_active_border_mode): Ditto. * top.c (init_main, show_new_async_prompt) (show_async_command_editing_p, show_write_history_p) (show_history_size, show_history_filename, show_caution) (show_annotation_level, init_main): Ditto. * target.c (initialize_targets, show_targetdebug) (show_trust_readonly): Ditto. * symfile.c (_initialize_symfile, show_symbol_reloading) (show_ext_args, show_download_write_size) (show_debug_file_directory): Ditto. * source.c (_initialize_source, show_lines_to_list): Ditto. * solib.c (_initialize_solib, show_auto_solib_add) (show_solib_search_path): Ditto. * p-valprint.c (_initialize_pascal_valprint) (show_pascal_static_field_print): Ditto. * printcmd.c (_initialize_printcmd, show_max_symbolic_offset) (show_print_symbol_filename): Add and update. * parse.c (_initialize_parse, show_expressiondebug): Dito. * observer.c (_initialize_observer, show_observer_debug): Dito. * maint.c (_initialize_maint_cmds, show_watchdog) (show_maintenance_profile_p): Dito. * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito. * infrun.c (_initialize_infrun, show_debug_infrun) (show_stop_on_solib_events, show_follow_fork_mode_string) (show_scheduler_mode, show_step_stop_if_no_debug): Ditto. * infcall.c (_initialize_infcall, show_coerce_float_to_double_p) (show_unwind_on_signal_p): Ditto. * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution) (_initialize_gdbtypes, show_overload_debug): Ditto. * gdb-events.c, gdb-events.sh (_initialize_gdb_events) (show_gdb_events_debug): Ditto. * gdbarch.c, gdbarch.sh (show_gdbarch_debug) (_initialize_gdbarch): Ditto. * frame.c (_initialize_frame, show_backtrace_past_main) (show_backtrace_past_entry, show_backtrace_limit) (show_frame_debug): Ditto. * exec.c (_initialize_exec, show_write_files): Ditto. * dwarf2read.c (_initialize_dwarf2_read) (show_dwarf2_max_cache_age): Ditto. * demangle.c (_initialize_demangler) (show_demangling_style_names): Ditto. * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto. * cp-valprint.c (show_static_field_print) (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto. * corefile.c (_initialize_core, show_gnutarget_string): Ditto. * cli/cli-logging.c (_initialize_cli_logging) (show_logging_overwrite, show_logging_redirect) (show_logging_filename): Ditto. * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p) (init_cli_cmds, show_baud_rate, show_remote_debug) (show_remote_timeout, show_max_user_call_depth): Ditto. * charset.c (show_host_charset_name, show_target_charset_name) (initialize_charset): Ditto. * breakpoint.c (show_can_use_hw_watchpoints) (show_pending_break_support, _initialize_breakpoint): Ditto.
2005-02-24 * cris-dis.c (format_hex): Remove ineffective warning fix.Alan Modra4-7/+12
* crx-dis.c (make_instruction): Warning fix. * frv-asm.c: Regenerate.
2005-02-24 * frv.opc (parse_A): Warning fix.Alan Modra2-2/+6
2005-02-24 * coffcode.h (coff_print_aux): Warning fix.Alan Modra10-33/+46
* elf-m10300.c (mn10300_elf_relax_section): Use section->id instead of section pointer to identify. * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. Allocate the correct size buffer for local sym mangling too. (h8300_bfd_link_add_symbols): Likewise. * elf32-sh-symbian.c (sh_symbian_process_embedded_commands): Fix warning. * elf32-sh64.c (shmedia_prepare_reloc): Use %B and %p in error message * elf32-xtensa.c (literal_value_hash): Warning fix. * versados.c (process_otr): Warning fix. (versados_canonicalize_reloc): Likewise. * vms-gsd.c (_bfd_vms_slurp_gsd): Warning fix. * vms.c (fill_section_ptr): Warning fix.
2005-02-24(lnk960_before_parse): Remove redundant empty string from calls to concat.Nick Clifton2-5/+17
2005-02-24*** empty log message ***gdbadmin1-1/+1
2005-02-23daily updateAlan Modra1-1/+1
2005-02-232005-02-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+23
* coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined. * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise.
2005-02-23* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.Jim Blandy2-0/+5
2005-02-23Fix compile time warnings generated by gcc 4.0Nick Clifton20-329/+331
2005-02-232005-02-23 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+8
* cli/cli-dump.c (dump_bfd_file): Replace magic constant with SEC_XXX flags.
2005-02-23 * pe-dll.c: Warning fixes.Alan Modra3-12/+18
* emultempl/sunos.em: Likewise.
2005-02-23 * cgen.c: Warning fixes.Alan Modra33-138/+186
* config/tc-arc.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-avr.c: Likewise. * config/tc-d10v.c: Likewise. * config/tc-d30v.c: Likewise. * config/tc-frv.c: Likewise. * config/tc-frv.h: Likewise. * config/tc-h8300.c: Likewise. * config/tc-h8500.c: Likewise. * config/tc-i370.c: Likewise. * config/tc-i960.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ip2k.c: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-maxq.c: Likewise. * config/tc-mcore.c: Likewise. * config/tc-mips.c: Likewise. * config/tc-msp430.c: Likewise. * config/tc-pj.c: Likewise. * config/tc-ppc.c: Likewise. * config/tc-ppc.h: Likewise. * config/tc-s390.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-sh64.c: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic80.c: Likewise. * config/tc-v850.c: Likewise. * config/tc-vax.c: Likewise. * config/tc-w65.c: Likewise. * config/tc-xstormy16.c: Likewise. * config/tc-z8k.c: Likewise.