Jan Beulich [Wed, 2 Mar 2005 08:01:32 +0000 (08:01 +0000)]
gas/
2005-03-02 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
accesses.
(parse_register): Allow cr8...15 in all modes.
gas/testsuite/
2005-03-02 Jan Beulich <jbeulich@novell.com>
* gas/i386/cr-err.[ls]: New.
* gas/i386/crx.[ds]: New.
* gas/i386/i386.exp: Run new tests.
opcodes/
2005-03-02 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (print_insn): Suppress lock prefix printing for cr8...15
accesses.
(OP_C): Consider lock prefix in non-64-bit modes.
Jan Beulich [Wed, 2 Mar 2005 07:55:01 +0000 (07:55 +0000)]
gas/
2005-03-02 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
etc. like normal symbol references (T_ID).
gas/testsuite/
2005-03-02 Jan Beulich <jbeulich@novell.com>
* gas/i386/intelok.d: Add -r to objdump options. Adjust expectations.
* gas/i386/intelok.s: Add checks for various special memory operands.
Zack Weinberg [Wed, 2 Mar 2005 04:47:25 +0000 (04:47 +0000)]
* elf.c (bfd_section_from_shdr <default case>): Call
elf_backend_section_from_shdr hook unconditionally, and return
what it returns.
(bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr.
* elfxx-target.h (elf_backend_section_from_shdr)
(elf_backend_section_from_phdr): Default to
_bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr
respectively.
Alan Modra [Wed, 2 Mar 2005 00:11:30 +0000 (00:11 +0000)]
* symbols.c (fb_label_name): Fix silly thinko in last change.
gdbadmin [Wed, 2 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 1 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 1 Mar 2005 22:35:21 +0000 (22:35 +0000)]
* expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
* config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
Alexandre Oliva [Tue, 1 Mar 2005 22:33:54 +0000 (22:33 +0000)]
PR libgcj/20160
* ltmain.sh: Avoid creating archives with components that have
duplicate basenames.
Alan Modra [Tue, 1 Mar 2005 22:24:14 +0000 (22:24 +0000)]
* symbols.c (fb_label_name): Allow an augend of 2 for mmix.
also fix last changelog entry.
Nick Clifton [Tue, 1 Mar 2005 17:11:57 +0000 (17:11 +0000)]
Revert previous delta
Nick Clifton [Tue, 1 Mar 2005 17:07:53 +0000 (17:07 +0000)]
ld-d10v/default_layout.d: Adjust expected offsets to allow for section alignment.
ld-discard/extern.d: Adjust expected warning to take into account the fact that
the linker's name might be included and that the reloc might have been adjusted
to be against the section symbol.
Nick Clifton [Tue, 1 Mar 2005 16:14:29 +0000 (16:14 +0000)]
* ld-cris/warn3.d: Only run this version of the test for cris-aout targets.
* ld-cris/warn4.d: Only run this version of the test for cris-elf targets.
Nick Clifton [Tue, 1 Mar 2005 15:39:59 +0000 (15:39 +0000)]
Fix undefined local label test for COFF based ARM ports
Nick Clifton [Tue, 1 Mar 2005 15:18:44 +0000 (15:18 +0000)]
objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
(struct objdump_disasm_info): Add 'reloc' field.
(disassemble_bytes): Fix check for when an insn has a reloc associated with it.
Improve comment explaining why the use of octets is wrong. Set the 'reloc'
field in objdump_disasm_info structure.
(objdump_print_addr): Use new 'reloc' field to lookup the correct address for
the symbol associated with the current instruction's relocation.
(disassemble_info): Initialise 'reloc' field.
gas/arm/inst.d: Allow for ARM ports which decode the reloc associated with
branches and so show the exact symbolic destination address rather than an
offset from the start of the section.
gas/arm/pic.d: Likewise.
Ramana Radhakrishnan [Tue, 1 Mar 2005 15:05:27 +0000 (15:05 +0000)]
2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
PR gas/708
* config/tc-arc.c(md_assemble):Initialize suffix for extension
suffixes also.
* testsuite/gas/arc/extensions.s:New file
* testsuite/gas/arc/extensions.d:New file
DJ Delorie [Tue, 1 Mar 2005 14:33:00 +0000 (14:33 +0000)]
merge from gcc
Alan Modra [Tue, 1 Mar 2005 11:24:31 +0000 (11:24 +0000)]
* config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
Alan Modra [Tue, 1 Mar 2005 03:52:56 +0000 (03:52 +0000)]
* gas/m68k/mcf-emac.d: Allow for 64-bit addresses.
* gas/m68k/mcf-mac.d: Likewise.
* gas/m68k/mcf-mov3q.d: Likewise.
* gas/m68k/mode5.d: Likewise.
DJ Delorie [Tue, 1 Mar 2005 02:22:06 +0000 (02:22 +0000)]
merge from gcc
Alan Modra [Tue, 1 Mar 2005 02:00:15 +0000 (02:00 +0000)]
* as.h (assert): Warning fix.
* 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.
Alan Modra [Tue, 1 Mar 2005 01:57:39 +0000 (01:57 +0000)]
* config/tc-m68k.c (md_assemble): Don't use sizeof host short.
Alan Modra [Tue, 1 Mar 2005 01:56:27 +0000 (01:56 +0000)]
* targets.h: Typo fix.
* bfd-in2.h: Regenerate.
Alan Modra [Tue, 1 Mar 2005 00:43:58 +0000 (00:43 +0000)]
* configure.in (AC_C_BIGENDIAN): Invoke.
* 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.
Alan Modra [Tue, 1 Mar 2005 00:38:52 +0000 (00:38 +0000)]
* bout.c (b_out_write_object_contents): Don't use sizeof on host
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.
gdbadmin [Tue, 1 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 28 Feb 2005 23:00:40 +0000 (23:00 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym
entry points with the func descriptor as well as undefweak.
Alan Modra [Mon, 28 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Paul Brook [Mon, 28 Feb 2005 22:03:03 +0000 (22:03 +0000)]
2005-02-28 Paul Brook <paul@codesourcery.com>
* doc/c-arc.texi: Add missing @code.
Nick Clifton [Mon, 28 Feb 2005 18:05:06 +0000 (18:05 +0000)]
Update documentation about ARC's extension instructions.
Daniel Jacobowitz [Mon, 28 Feb 2005 17:00:49 +0000 (17:00 +0000)]
* dwarf2loc.c (loclist_read_variable): Set optimized_out
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.
Nick Clifton [Mon, 28 Feb 2005 16:07:33 +0000 (16:07 +0000)]
(pe_ILF_build_a_bfd): Do not assume that an @ will be present when
IMPORT_NAME_UNDOECRATE is used.
H.J. Lu [Mon, 28 Feb 2005 15:57:13 +0000 (15:57 +0000)]
2005-02-28 H.J. Lu <hongjiu.lu@intel.com>
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.
Jakub Jelinek [Mon, 28 Feb 2005 15:27:16 +0000 (15:27 +0000)]
* readelf.c (get_file_type, get_machine_name, get_osabi_name,
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.
Paolo Bonzini [Mon, 28 Feb 2005 15:13:42 +0000 (15:13 +0000)]
2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
PR bootstrap/20250
* Makefile.tpl (HOST target installs): Fix copy and pasto, use install
instead of check.
* Makefile.in: Regenerate.
Paolo Bonzini [Mon, 28 Feb 2005 14:07:03 +0000 (14:07 +0000)]
2005-02-28 Paolo Bonzini <bonzini@gnu.org>
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.
gdbadmin [Mon, 28 Feb 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 27 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Svein Seldal [Sun, 27 Feb 2005 18:44:55 +0000 (18:44 +0000)]
Changed my own mail address
gdbadmin [Sun, 27 Feb 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 26 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Elena Zannoni [Sat, 26 Feb 2005 04:32:56 +0000 (04:32 +0000)]
2005-02-25 Mark Kettenis <kettenis@gnu.org>
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.
gdbadmin [Sat, 26 Feb 2005 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 25 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update
H.J. Lu [Fri, 25 Feb 2005 22:12:12 +0000 (22:12 +0000)]
2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (display_debug_ranges): Print out offset for end of
list.
gdbadmin [Fri, 25 Feb 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Thu, 24 Feb 2005 23:54:03 +0000 (23:54 +0000)]
* gdb.ada/fixed_points.exp: Create compilation object directory
before running the test.
* gdb.ada/null_record.exp: Likewise.
* gdb.ada/packed_array.exp: Likewise.
* gdb.ada/start.exp: Likewise.
Alan Modra [Thu, 24 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Thu, 24 Feb 2005 20:26:32 +0000 (20:26 +0000)]
* acinclude.m4: Include bfd/bfd.m4 directly.
* configure.ac: Use AC_ARG_PROGRAM. Suggested by Aron Griffis
<agriffis@toolchain.org>.
* aclocal.m4, configure: Regenerated.
Ben Elliston [Thu, 24 Feb 2005 20:16:56 +0000 (20:16 +0000)]
* coffcode.h (coff_sym_filepos): Remove GNU960 conditional code.
* format.c (bfd_check_format_matches): Likewise.
* archive.c (BFD_GNU960_ARMAG): Likewise.
(bfd_generic_archive_p): Likewise.
(_bfd_write_archive_contents): Likewise.
Ben Elliston [Thu, 24 Feb 2005 20:11:05 +0000 (20:11 +0000)]
* ldfile.c: Remove GNU960 conditional code.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/lnk960.em: Likewise.
H.J. Lu [Thu, 24 Feb 2005 15:49:46 +0000 (15:49 +0000)]
2005-02-24 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.95.
* configure: Regenerate.
Julian Brown [Thu, 24 Feb 2005 15:28:56 +0000 (15:28 +0000)]
* elflink.c (elf_link_add_object_symbols): Force symbols in
discarded COMDAT group sections to have default visibility.
Andrew Cagney [Thu, 24 Feb 2005 13:51:36 +0000 (13:51 +0000)]
2005-02-24 Andrew Cagney <cagney@gnu.org>
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.
Alan Modra [Thu, 24 Feb 2005 13:38:01 +0000 (13:38 +0000)]
* cris-dis.c (format_hex): Remove ineffective warning fix.
* crx-dis.c (make_instruction): Warning fix.
* frv-asm.c: Regenerate.
Alan Modra [Thu, 24 Feb 2005 13:36:46 +0000 (13:36 +0000)]
* frv.opc (parse_A): Warning fix.
Alan Modra [Thu, 24 Feb 2005 13:34:38 +0000 (13:34 +0000)]
* coffcode.h (coff_print_aux): Warning fix.
* 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.
Nick Clifton [Thu, 24 Feb 2005 13:16:07 +0000 (13:16 +0000)]
(lnk960_before_parse): Remove redundant empty string from calls to concat.
gdbadmin [Thu, 24 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 23 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 23 Feb 2005 16:22:15 +0000 (16:22 +0000)]
2005-02-22 H.J. Lu <hongjiu.lu@intel.com>
* coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined.
* coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise.
Jim Blandy [Wed, 23 Feb 2005 16:06:58 +0000 (16:06 +0000)]
* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
Nick Clifton [Wed, 23 Feb 2005 16:04:40 +0000 (16:04 +0000)]
Fix compile time warnings generated by gcc 4.0
Andrew Cagney [Wed, 23 Feb 2005 15:24:22 +0000 (15:24 +0000)]
2005-02-23 Andrew Cagney <cagney@gnu.org>
* cli/cli-dump.c (dump_bfd_file): Replace magic constant with
SEC_XXX flags.
Alan Modra [Wed, 23 Feb 2005 12:30:48 +0000 (12:30 +0000)]
* pe-dll.c: Warning fixes.
* emultempl/sunos.em: Likewise.
Alan Modra [Wed, 23 Feb 2005 12:28:06 +0000 (12:28 +0000)]
* cgen.c: Warning fixes.
* 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.
Alan Modra [Wed, 23 Feb 2005 12:25:57 +0000 (12:25 +0000)]
* dlltool.c: Warning fixes.
* objdump.c: Likewise.
Nick Clifton [Wed, 23 Feb 2005 11:53:31 +0000 (11:53 +0000)]
(make_instruction): Move argument structure into inner scope and ensure that
all of its fields are initialised before they are used.
Nick Clifton [Wed, 23 Feb 2005 11:39:14 +0000 (11:39 +0000)]
Initialise bitfield.
Nick Clifton [Wed, 23 Feb 2005 11:18:11 +0000 (11:18 +0000)]
(elf32_m68hc11_relocate_section): Initialise variables that are passed by
reference to m68hc11_get_relocation_value in case that function does not
initialise them.
Nick Clifton [Wed, 23 Feb 2005 10:07:06 +0000 (10:07 +0000)]
configure: Regenerate.
Nick Clifton [Wed, 23 Feb 2005 09:56:44 +0000 (09:56 +0000)]
(cr16c_elf_final_link_relocate): Remove duplicated return statements and
replace with a single return at the end of the function. This helps pacify
the flow analysis code in gcc 4.0.
Nick Clifton [Wed, 23 Feb 2005 09:46:49 +0000 (09:46 +0000)]
(_bfd_elf_compute_section_file_positions): Initialise strtab to avoid compile
time warning.
Ben Elliston [Wed, 23 Feb 2005 03:49:41 +0000 (03:49 +0000)]
* opncls.c (bfd_zalloc): Document this function.
Catherine Moore [Wed, 23 Feb 2005 02:44:18 +0000 (02:44 +0000)]
* read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
* doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
gdbadmin [Wed, 23 Feb 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Eric Christopher [Tue, 22 Feb 2005 23:54:41 +0000 (23:54 +0000)]
2005-02-22 Eric Christopher <echristo@redhat.com>
* ld-mips-elf/reloc-merge-lo16.d: Correct symbol
table size for __start.
2005-02-22 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (struct proc): Change isym to
func_sym. New member func_end_sym.
(s_mips_ent): Update.
(s_mips_end): Ditto. Add code to compute function size.
Eric Christopher [Tue, 22 Feb 2005 23:37:30 +0000 (23:37 +0000)]
2005-02-22 Eric Christopher <echristo@redhat.com>
* gas/mips/elf-rel10.d: Update for label change.
Andrew Cagney [Tue, 22 Feb 2005 23:25:11 +0000 (23:25 +0000)]
2005-02-22 Andrew Cagney <cagney@gnu.org>
* configure.ac: Only enaable insight when itcl is present.
* configure: Re-generate.
Alan Modra [Tue, 22 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Maciej W. Rozycki [Tue, 22 Feb 2005 20:50:11 +0000 (20:50 +0000)]
* gas/mips/mips16-dwarf2.d: Pass -mabi=32. Include relocation
information.
* gas/mips/mips16-dwarf2-n32.d: New test to check DWARF2 line
information for MIPS16 for the n32 ABI.
* gas/mips/mips.exp. Run the new test.
Eric Christopher [Tue, 22 Feb 2005 19:39:06 +0000 (19:39 +0000)]
2005-02-22 Eric Christopher <echristo@redhat.com>
* gas/mips/elf-rel10.s: Add label for frob.
Daniel Jacobowitz [Tue, 22 Feb 2005 18:35:32 +0000 (18:35 +0000)]
* ldlang.c (section_already_linked): Don't call
bfd_section_already_linked for dynamic objects.
Daniel Jacobowitz [Tue, 22 Feb 2005 18:29:20 +0000 (18:29 +0000)]
* ld-elfvsb/hidden2.d: Expect OBJECT.
* ld-elfvsb/hidden2.s: Force type OBJECT.
* ld-elfvsb/hidden2.ld: Place .dynamic explicitly.
* ld-elf/start.s: Provide __start for MIPS.
* ld-elfcomm/elfcomm.exp: Accept MIPS common section. XFAIL size change
test.
* ld-elf/warn1.d: Use group.ld instead of -Ttext.
Alan Modra [Tue, 22 Feb 2005 13:01:53 +0000 (13:01 +0000)]
* arc-ext.c: Warning fixes.
* arc-ext.h: Likewise.
* cgen-opc.c: Likewise.
* ia64-gen.c: Likewise.
* maxq-dis.c: Likewise.
* ns32k-dis.c: Likewise.
* w65-dis.c: Likewise.
* ia64-asmtab.c: Regenerate.
Alan Modra [Tue, 22 Feb 2005 13:00:26 +0000 (13:00 +0000)]
* ldexp.c: Warning fixes.
* ldwrite.c: Likewise.
* emultempl/elf32.em: Likewise.
Alan Modra [Tue, 22 Feb 2005 12:59:21 +0000 (12:59 +0000)]
* basic_blocks.c: Warning fixes.
* gmon_io.c: Likewise.
* hist.c: Likewise.
* hist.h: Likewise.
Alan Modra [Tue, 22 Feb 2005 12:58:35 +0000 (12:58 +0000)]
* read.c: Warning fixes.
* config/obj-elf.c: Likewise.
Alan Modra [Tue, 22 Feb 2005 12:57:27 +0000 (12:57 +0000)]
* Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
(syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
dependencies. Run "make dep-am".
* nlmconv.c: Warning fixes.
* readelf.c: Likewise.
* srconv.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
of strcpy.
* Makefile.in: Regenerate.
Maciej W. Rozycki [Tue, 22 Feb 2005 12:32:26 +0000 (12:32 +0000)]
gas/:
* config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
emitting insn.
gas/testsuite/:
* gas/mips/mips16-dwarf2.d: New test to check DWARF2 line
information for MIPS16.
* gas/mips/mips16-dwarf2.s: Source for the new test.
* gas/mips/mips.exp: Run the new test.
Nick Clifton [Tue, 22 Feb 2005 09:16:10 +0000 (09:16 +0000)]
Allow darwin targeted ports to build tk, itcl and libgui.
H.J. Lu [Tue, 22 Feb 2005 00:50:07 +0000 (00:50 +0000)]
bfd/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* coffcode.h (sec_to_styp_flags): Replaced SEC_CLINK with
SEC_TIC54X_CLINK. Replace SEC_BLOCK with SEC_TIC54X_BLOCK.
Replace SEC_SHARED with SEC_COFF_SHARED.
(styp_to_sec_flags): Likewise.
* elfxx-target.h (TARGET_BIG_SYM): Remove SEC_ARCH_BIT_0.
(TARGET_LITTLE_SYM): Likewise.
* section.c (SEC_ARCH_BIT_0): Removed.
(SEC_LINK_DUPLICATES_SAME_CONTENTS): Defined with
SEC_LINK_DUPLICATES_ONE_ONLY and SEC_LINK_DUPLICATES_SAME_SIZE.
(SEC_SHARED): Renamed to ...
(SEC_COFF_SHARED): This.
(SEC_BLOCK): Renamed to ...
(SEC_TIC54X_BLOCK): This.
(SEC_CLINK): Renamed to ...
(SEC_TIC54X_CLINK): This.
(SEC_XXX): Rearranged. Move SEC_COFF_SHARED_LIBRARY,
SEC_COFF_SHARED, SEC_TIC54X_BLOCK and SEC_TIC54X_CLINK to the
end.
* bfd-in2.h: Regenerated.
binutils/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (parse_flags): Replace SEC_SHARED with
SEC_COFF_SHARED.
* objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
SEC_COFF_SHARED for COFF only.
gas/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
SEC_COFF_SHARED.
* config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
SEC_TIC54X_BLOCK.
(demand_empty_rest_of_line): Likewise.
(tic54x_sblock): Likewise.
(tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
ld/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
tic54x input only.
(lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
and ECOFF output only.
Alan Modra [Tue, 22 Feb 2005 00:33:20 +0000 (00:33 +0000)]
Regenerate cgen files
gdbadmin [Tue, 22 Feb 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 21 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Jim Blandy [Mon, 21 Feb 2005 21:59:54 +0000 (21:59 +0000)]
* callback.c (os_fstat): Don't declare 't' unless it's used.
Fred Fish [Mon, 21 Feb 2005 18:00:17 +0000 (18:00 +0000)]
Approved by nickc@redhat.com:
2005-02-21 Fred Fish <fnf@specifixinc.com>
* dwarf2.c (find_abstract_instance_name): Call recursively
to handle a DW_AT_specification.
Andrew Cagney [Mon, 21 Feb 2005 17:22:43 +0000 (17:22 +0000)]
2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* infptrace.c (store_register): Fix typo.
Andrew Cagney [Mon, 21 Feb 2005 17:14:03 +0000 (17:14 +0000)]
2005-02-21 Andrew Cagney <cagney@gnu.org>
* command.h (deprecated_add_set_cmd): Rename add_set_cmd.
* cli/cli-decode.h (add_set_cmd): Delete declaration.
* cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
* i386-nat.c (_initialize_i386_nat): Update call.
* valprint.c (_initialize_valprint): Update comment.
* gnu-nat.c (_initialize_gnu_nat): Update call.
Thiemo Seufer [Mon, 21 Feb 2005 13:57:56 +0000 (13:57 +0000)]
* elfxx-mips.c (ecoff_swap_rpdr_out, mips_elf_output_extsym,
mips_elf_create_dynamic_relocation,
_bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_final_link):
Remove #if 0'd code.
Eric Botcazou [Mon, 21 Feb 2005 12:29:05 +0000 (12:29 +0000)]
PR libgcj/10353
* configure.in (noconfigdirs) <sparc-*-solaris2.[0-6]>: Add libgcj.
* configure: Regenerate.