OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
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.

19 years ago2005-02-28 Paolo Bonzini <bonzini@gnu.org>
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.

19 years ago*** empty log message ***
gdbadmin [Mon, 28 Feb 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 27 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 27 Feb 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 26 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-25 Mark Kettenis <kettenis@gnu.org>
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.

19 years ago*** empty log message ***
gdbadmin [Sat, 26 Feb 2005 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 25 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
Keith Seitz [Fri, 25 Feb 2005 22:23:25 +0000 (22:23 +0000)]
    * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
        use throw_exception (struct exception).

19 years ago*** empty log message ***
gdbadmin [Fri, 25 Feb 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * gdb.ada/fixed_points.exp: Create compilation object directory
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.

19 years agodaily update
Alan Modra [Thu, 24 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * acinclude.m4: Include bfd/bfd.m4 directly.
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.

19 years ago * coffcode.h (coff_sym_filepos): Remove GNU960 conditional code.
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.

19 years ago2005-02-24 H.J. Lu <hongjiu.lu@intel.com>
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.

19 years ago * elflink.c (elf_link_add_object_symbols): Force symbols in
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.

19 years ago2005-02-24 Andrew Cagney <cagney@gnu.org>
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.

19 years ago * cris-dis.c (format_hex): Remove ineffective warning fix.
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.

19 years ago * coffcode.h (coff_print_aux): 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.

19 years ago*** empty log message ***
gdbadmin [Thu, 24 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 23 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-22 H.J. Lu <hongjiu.lu@intel.com>
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.

19 years ago* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
Jim Blandy [Wed, 23 Feb 2005 16:06:58 +0000 (16:06 +0000)]
* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.

19 years agoFix compile time warnings generated by gcc 4.0
Nick Clifton [Wed, 23 Feb 2005 16:04:40 +0000 (16:04 +0000)]
Fix compile time warnings generated by gcc 4.0

19 years ago2005-02-23 Andrew Cagney <cagney@gnu.org>
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.

19 years ago(make_instruction): Move argument structure into inner scope and ensure that
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.

19 years agoInitialise bitfield.
Nick Clifton [Wed, 23 Feb 2005 11:39:14 +0000 (11:39 +0000)]
Initialise bitfield.

19 years ago(elf32_m68hc11_relocate_section): Initialise variables that are passed by
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.

19 years agoconfigure: Regenerate.
Nick Clifton [Wed, 23 Feb 2005 10:07:06 +0000 (10:07 +0000)]
configure: Regenerate.

19 years ago(cr16c_elf_final_link_relocate): Remove duplicated return statements and
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.

19 years ago(_bfd_elf_compute_section_file_positions): Initialise strtab to avoid compile
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.

19 years ago * opncls.c (bfd_zalloc): Document this function.
Ben Elliston [Wed, 23 Feb 2005 03:49:41 +0000 (03:49 +0000)]
* opncls.c (bfd_zalloc): Document this function.

19 years ago*** empty log message ***
gdbadmin [Wed, 23 Feb 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-02-22 Andrew Cagney <cagney@gnu.org>
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.

19 years agodaily update
Alan Modra [Tue, 22 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago * arc-ext.c: Warning fixes.
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.

19 years agoAllow darwin targeted ports to build tk, itcl and libgui.
Nick Clifton [Tue, 22 Feb 2005 09:16:10 +0000 (09:16 +0000)]
Allow darwin targeted ports to build tk, itcl and libgui.

19 years agobfd/
H.J. Lu [Tue, 22 Feb 2005 00:50:04 +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.

19 years agoRegenerate cgen files
Alan Modra [Tue, 22 Feb 2005 00:33:20 +0000 (00:33 +0000)]
Regenerate cgen files

19 years ago*** empty log message ***
gdbadmin [Tue, 22 Feb 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 21 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* callback.c (os_fstat): Don't declare 't' unless it's used.
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.

19 years agoApproved by nickc@redhat.com:
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.

19 years ago2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
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.

19 years ago2005-02-21 Andrew Cagney <cagney@gnu.org>
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.

19 years ago * elfxx-mips.c (ecoff_swap_rpdr_out, mips_elf_output_extsym,
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.

19 years ago PR libgcj/10353
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.

19 years ago * Makefile.am: Run "make dep-am"
Alan Modra [Mon, 21 Feb 2005 11:48:33 +0000 (11:48 +0000)]
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.

19 years agobfd/
Alan Modra [Mon, 21 Feb 2005 11:48:00 +0000 (11:48 +0000)]
bfd/
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
bfd/doc/
* Makefile.in: Regenerate.

19 years ago * coffgen.c (bfd_coff_get_comdat_section): Check that
Alan Modra [Mon, 21 Feb 2005 11:21:29 +0000 (11:21 +0000)]
* coffgen.c (bfd_coff_get_comdat_section): Check that
coff_section_data isn't NULL.

19 years ago * elfread.c (elf_symtab_read): Discard section syms.
Alan Modra [Mon, 21 Feb 2005 11:00:44 +0000 (11:00 +0000)]
* elfread.c (elf_symtab_read): Discard section syms.

19 years ago2005-02-21 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 21 Feb 2005 07:15:49 +0000 (07:15 +0000)]
2005-02-21  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_set_enum_cmd): Delete function.
(deprecated_add_show_from_set): Delete function.
* command.h (add_set_enum_cmd): Delete declaration.
(deprecated_add_show_from_set): Delete declaration.
* cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
(deprecated_add_show_from_set): Delete declaration.
* arm-tdep.c (_initialize_arm_tdep): Update comment.
* kod.c (kod_set_os): Simplify.
* infrun.c (set_schedlock_func): Simplify.
* cli/cli-dump.c (add_dump_command): Update comment.

19 years ago2005-02-21 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 21 Feb 2005 07:08:42 +0000 (07:08 +0000)]
2005-02-21  Andrew Cagney  <cagney@gnu.org>

Replace string variables with a filename completer with
add_setshow_optional_filename_cmd.
* solib.c, symfile.c: Update.
* cli/cli-setshow.c: Do not tidle expand the file.

19 years ago2005-02-21 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 21 Feb 2005 06:21:09 +0000 (06:21 +0000)]
2005-02-21  Andrew Cagney  <cagney@gnu.org>

Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
and add_setshow_string_noescape_cmd.
* cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
NULL command's value.
* kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
* remote-sds.c, remote.c, symfile.c, top.c: Update.

19 years ago2005-02-20 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 21 Feb 2005 04:31:59 +0000 (04:31 +0000)]
2005-02-20  Andrew Cagney  <cagney@gnu.org>

Use add_setshow_enum_cmd through out.
* arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
* infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.

19 years ago2005-02-20 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 21 Feb 2005 03:59:23 +0000 (03:59 +0000)]
2005-02-20  Andrew Cagney  <cagney@gnu.org>

* mi/mi-main.c (captured_mi_execute_command): Use
mi_cmd_interpreter_exec.

19 years ago2005-02-20 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 21 Feb 2005 03:25:56 +0000 (03:25 +0000)]
2005-02-20  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_optional_filename_cmd): New
function.
* cli/cli-setshow.c (deprecated_show_value_hack)
(do_setshow_command): Handle var_optional_filename.
* command.h (enum var_types): Add var_optional_filename.
(add_setshow_optional_filename_cmd): Declare.
* infcmd.c (notice_args_read): Use.

19 years ago2005-02-20 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 21 Feb 2005 02:09:46 +0000 (02:09 +0000)]
2005-02-20  Andrew Cagney  <cagney@gnu.org>

* symfile-mem.c (symbol_file_add_from_memory): Pass
target_read_memory to bfd_elf_bfd_from_remote_memory.
(do_target_read_memory): Delete.

19 years ago*** empty log message ***
gdbadmin [Mon, 21 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 20 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agoinclude/
Alan Modra [Sun, 20 Feb 2005 14:59:07 +0000 (14:59 +0000)]
include/
* xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix.
* xtensa-isa.h (xtensa_insnbuf_to_chars): Likewise.
(xtensa_insnbuf_from_chars, xtensa_isa_length_from_chars): Likewise.
include/coff/
* xcoff.h (struct xcoff_loader_info): Warning fix.
bfd/
* bfd-in.h (bfd_elf_bfd_from_remote_memory): Warning fix.
* coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Likewise.
* coff-rs6000.c (xcoff_write_armap_big): Warning fixes.  Remove
useless assignments.
(xcoff_write_archive_contents_big): Likewise.
(_bfd_xcoff_put_ldsymbol_name): Likewise.
* coff64-rs6000.c (_bfd_xcoff64_put_ldsymbol_name): Likewise.
* coffgen.c (coff_write_symbols): Make "written" a bfd_vma.
* cofflink.c (process_embedded_commands): Warning fixes.
* cpu-arm.c: Delete unnecessary prototypes.  Convert to C90.
Warning fixes.
* dwarf2.c: Warning fixes.
* elf-bfd.h: Likewise.
* elf-eh-frame.c: Likewise.
* elf-strtab.c: Likewise.
* elf.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh-symbian.c: Likewise.
* elf32-sh.c: Delete unnecessary prototypes.  Warning fixes.
* elf64-sh64.c: Likewise.
* peicode.h: Likewise.
* elf64-mmix.c: Warning fixes.
* elfcode.h: Likewise.
* elfxx-mips.c: Likewise.
* libbfd-in.h: Likewise.
* libbfd.c: Likewise.
* mach-o.c: Likewise.
* merge.c: Likewise.
* mmo.c: Likewise.
* opncls.c: Likewise.
* pef.c: Likewise.
* srec.c: Likewise.
* vms-hdr.c: Likewise.
* vms-tir.c: Likewise.
* xtensa-isa.c: Likewise.
* xtensa-modules.c: Likewise.
* xsym.c: Likewise.
(pstrcmp): Use correct choice of string lengths.  Fix return value.
(bfd_sym_module_name): Correct string length.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

19 years ago* value.h (value_contents_equal): New prototype.
Mark Kettenis [Sun, 20 Feb 2005 01:19:24 +0000 (01:19 +0000)]
* value.h (value_contents_equal): New prototype.
* value.c (value_contents_equal): New function.
* varobj.c: Include "exceptions.h" and "gdb_assert.h".  Don't
include <math.h>.
(varobj_set_value): Initialize error to zero.
(varobj_update): Rename error2 to error and initialize it to zero.
Slightly change the wording of some comments.
(my_value_equal): Reimplement using TRY_CATCH and
value_contents_equal.

19 years ago*** empty log message ***
gdbadmin [Sun, 20 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 19 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 19 Feb 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 18 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 18 Feb 2005 20:57:16 +0000 (20:57 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_integer_cmd): New function.
* command.h (add_setshow_integer_cmd): Declare.
* cli/cli-cmds.c: Update.

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 18 Feb 2005 19:49:52 +0000 (19:49 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

Use add_setshow_uinteger_cmd through out.
* printcmd.c, source.c, utils.c, valprint.c: Update.

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 18 Feb 2005 18:58:56 +0000 (18:58 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

Use add_setshow_zinteger_cmd through out.  Re-sync gdbarch.sh
and gdbarch.c.
* breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
* gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
* pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
* serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
* varobj.c, cli/cli-cmds.c: Update.
* gdbarch.c, gdb-events.c: Regenerate.

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 18 Feb 2005 15:25:32 +0000 (15:25 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

Use add_setshow_boolean_command through out.  Delete #ifdef 0'ed
code adding set/show boolean commands.
* cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
* monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
* proc-api.c, remote-mips.c, remote.c, solib.c: Update.
* somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
* valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
* cli/cli-cmds.c: Update.

19 years ago*** empty log message ***
gdbadmin [Fri, 18 Feb 2005 00:00:11 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 17 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-17 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 17 Feb 2005 17:11:04 +0000 (17:11 +0000)]
2005-02-17  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
to filename_completer.
* solib.c (_initialize_solib, reload_shared_libraries): Use
add_setshow_filename_cmd.
* serial.c (_initialize_serial): Ditto.
* remote-utils.c (_initialize_sr_support): Ditto.

19 years agobfd/ChangeLog:
Alexandre Oliva [Thu, 17 Feb 2005 17:10:58 +0000 (17:10 +0000)]
bfd/ChangeLog:
* elf32-frv.c (elf32_frv_relocate_section): Remove warning from
uninitialized check_segment[1] in TLSMOFF case.
Reported by Alan Modra.
(elf32_frv_relocate_section): Improve errors and warnings.
ld/testsuite/ChangeLog:
* ld-frv/fdpic-static-6.d: Update.
* ld-frv/fdpic*.d: Remove explicit -mfdpic from #as.  Update
spelling of errors and warnings.

19 years ago2005-02-17 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 17 Feb 2005 15:00:36 +0000 (15:00 +0000)]
2005-02-17  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* command.h (fprint_setshow_ftype): Delete.
(add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
* complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
* hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
* mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
* remote.c, target.c, cli/cli-logging.c: Update.

19 years ago2005-02-17 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 17 Feb 2005 13:49:56 +0000 (13:49 +0000)]
2005-02-17  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* command.h (fprint_setshow_ftype): Delete.
(add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
* complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
* hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
* mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
* remote.c, target.c, cli/cli-logging.c: Update.

19 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning.
Alan Modra [Thu, 17 Feb 2005 12:39:17 +0000 (12:39 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning.

19 years ago2005-02-16 Martin Hunt <hunt@redhat.com>
Martin Hunt [Thu, 17 Feb 2005 07:15:50 +0000 (07:15 +0000)]
2005-02-16  Martin Hunt  <hunt@redhat.com>

* generic/gdbtk-stack.c (get_frame_name): Replace
print_address_numeric with deprecated_print_address_numeric.
* generic/gdbtk-cmds.c (gdbtk_load_asm): Ditto.

19 years agoFix bogus entry.
Mark Kettenis [Thu, 17 Feb 2005 00:19:15 +0000 (00:19 +0000)]
Fix bogus entry.

19 years ago*** empty log message ***
gdbadmin [Thu, 17 Feb 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 16 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-16 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 16 Feb 2005 17:20:59 +0000 (17:20 +0000)]
2005-02-16  Andrew Cagney  <cagney@gnu.org>

Merge setshow print and show parameters.
* command.h (show_value_ftype): Define.
(deprecated_show_value_hack): Declare.
(add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
(add_setshow_boolean_cmd, add_setshow_filename_cmd)
(add_setshow_string_cmd, add_setshow_uinteger_cmd)
(add_setshow_zinteger_cmd): Change type of show_func to
show_value_ftype.
* cli/cli-decode.h (struct cmd_list_element): Replace
fprint_setshow with show_value_func.
* cli/cli-decode.c (add_setshow_cmd_full): Update show_func
parameter.  Set show_value_func.  Do not set cmd_sfunc.
(add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
(add_setshow_boolean_cmd, add_setshow_filename_cmd)
(add_setshow_string_cmd, add_setshow_uinteger_cmd)
(add_setshow_zinteger_cmd): Update.
* complaints.c (complaints_show_value): Replace
fprint_setshow_complaints.
(_initialize_complaints): Update.
* mips-tdep.c (show_mask_address): Update.
* arm-tdep.c (show_fp_model): Update.
* cli/cli-setshow.c (do_setshow_command): Call show_value_func
instead of fprint_setshow.  Use deprecated_show_value_hack.
(deprecated_show_value_hack): New function.
* remote.c (add_packet_config_cmd, show_remote_cmd):
(show_remote_protocol_P_packet_cmd)
(show_remote_protocol_P_packet_cmd)
(show_remote_protocol_Z_access_wp_packet_cmd)
(show_remote_protocol_Z_hardware_bp_packet_cmd)
(show_remote_protocol_Z_packet_cmd)
(show_remote_protocol_Z_read_wp_packet_cmd)
(show_remote_protocol_Z_software_bp_packet_cmd)
(show_remote_protocol_Z_write_wp_packet_cmd)
(show_remote_protocol_binary_download_cmd)
(show_remote_protocol_p_packet_cmd)
(show_remote_protocol_qPart_auxv_packet_cmd)
(show_remote_protocol_qSymbol_packet_cmd)
(show_remote_protocol_vcont_packet_cmd): Update.

19 years ago* wrapper.h: Update copyright year. Properly wrap a few
Mark Kettenis [Wed, 16 Feb 2005 13:21:48 +0000 (13:21 +0000)]
* wrapper.h: Update copyright year.  Properly wrap a few
prototypes.
(struct gdb_wrapper_arguments): Remove forward declaration.
* wrapper.c: Update copyright year.  Include "ui-out.h".
(struct gdb_wrapper_arguments): Remove.
(struct captured_value_struct_elt_args): Remove.
(wrapper_parse_exp_1, wrap_evaluate_expression)
(wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
(wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
(do_captured_value_struct_elf): Remove functions.
(gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
(gdb_value_equal, gdb_value_assign, gdb_value_subscript)
(gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
Re-implement using TRY_CATCH.

19 years ago * mach-o.c (bfd_mach_o_scan): Don't ignore return value of
Alan Modra [Wed, 16 Feb 2005 04:45:23 +0000 (04:45 +0000)]
* mach-o.c (bfd_mach_o_scan): Don't ignore return value of
bfd_mach_o_scan_start_address.
* elfxx-ia64.c (elfNN_ia64_relax_brl): Rewrite for 32-bit bfd_vma.
* elfxx-mips.c: Remove unnecessary prototypes.
(sort_dynamic_relocs_64): Abort if not BFD64.

19 years ago* remote-e7000.c: unuse TM_FILE defined macro.
Yoshinori Sato [Wed, 16 Feb 2005 03:21:03 +0000 (03:21 +0000)]
* remote-e7000.c: unuse TM_FILE defined macro.
(e7000_fetch_registers)
(e7000_store_registers)
(e7000_wait): delete NUM_REALREGS.
* remote-hms.c: move TM_FILE macro.
(CCR_REGNO): move define from tm-h8300.h.

19 years ago * coff-arm.c (coff_arm_is_local_label_name): Warning fix.
Alan Modra [Wed, 16 Feb 2005 02:38:53 +0000 (02:38 +0000)]
* coff-arm.c (coff_arm_is_local_label_name): Warning fix.
* elf32-frv.c (frvfdpic_relocs_info_hash): Likewise.
* pef.c (bfd_pef_scan): Don't ignore return value of
bfd_pef_scan_start_address.

19 years agobfd/
Alan Modra [Wed, 16 Feb 2005 02:20:10 +0000 (02:20 +0000)]
bfd/
* elf64-ppc.c (ppc64_elf_edit_toc): Skip toc if size is zero.
Skip toc reloc adjust if reloc_count is zero.
ld/
* emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
an error creating fake bfd fatal.
(ppc_before_allocation): Continue on after errors.
(gld${EMULATION_NAME}_finish): Likewise.

19 years ago* amd64-linux-tdep.c: Update copyright year.
Mark Kettenis [Wed, 16 Feb 2005 02:17:02 +0000 (02:17 +0000)]
* amd64-linux-tdep.c: Update copyright year.
(amd64_linux_sigtramp_start): Change argument to `struct
frame_info *'.  Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(amd64_linux_sigtramp_p): Adjust call to
amd64_linux_sigtramp_start.

19 years ago*** empty log message ***
gdbadmin [Wed, 16 Feb 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 15 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agobfd/:
Maciej W. Rozycki [Tue, 15 Feb 2005 19:57:53 +0000 (19:57 +0000)]
bfd/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* elf32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rel.
* elf64-mips.c (mips16_elf64_howto_table_rel): New array for
MIPS16 REL reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16
relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into mips16_elf64_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_elf64_howto_table_rela): New array for MIPS16 RELA
reloc howtos.  Add R_MIPS16_26, R_MIPS16_GPREL, R_MIPS16_HI16 and
R_MIPS16_LO16 relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16
placeholders.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf64_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf64_rtype_to_howto): Fetch MIPS16 howtos from
mips16_elf64_howto_table_rela or mips16_elf64_howto_table_rel.
* elfn32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
REL reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf_n32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rela or elf_mips16_howto_table_rel.
* elfxx-mips.c (_bfd_mips16_elf_reloc_unshuffle): New function to
handle bit shuffling for MIPS16 relocs.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
(_bfd_mips_elf_lo16_reloc): Use _bfd_mips16_elf_reloc_unshuffle()
and _bfd_mips16_elf_reloc_shuffle().
(_bfd_mips_elf_generic_reloc): Likewise.
(mips_elf_calculate_relocation): Likewise.  Handle R_MIPS16_HI16
and R_MIPS16_LO16.
(mips_elf_obtain_contents): Remove bit shuffling.
(mips_elf_perform_relocation): Likewise; call
_bfd_mips16_elf_reloc_unshuffle() and _bfd_mips16_elf_reloc_shuffle()
instead.
(_bfd_mips_elf_relocate_section): Likewise.  Handle R_MIPS16_HI16
and R_MIPS16_LO16.
* elfxx-mips.h (_bfd_mips16_elf_reloc_unshuffle): Declare.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
* reloc.c (BFD_RELOC_MIPS16_HI16): New reloc.
(BFD_RELOC_MIPS16_HI16_S): Likewise.
(BFD_RELOC_MIPS16_LO16): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

gas/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* config/tc-mips.c (reloc_needs_lo_p): Handle
BFD_RELOC_MIPS16_HI16_S.
(fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
(append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
complaints on.
(mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
Call my_getSmallExpression() to parse percent operators.
(percent_op_match, mips_percent_op): Separate definitions.
(mips16_percent_op): Define percent operators for the MIPS16 mode.
(parse_relocation): Handle the MIPS16 mode using
mips16_percent_op.
(md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.

gas/testsuite/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* gas/mips/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* gas/mips/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* gas/mips/mips16-hilo.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.

include/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* elf/mips.h (R_MIPS16_GOT16): New reloc code.
(R_MIPS16_CALL16): Likewise.
(R_MIPS16_HI16): Likewise.
(R_MIPS16_LO16): Likewise.
(R_MIPS16_min): New fake reloc code.
(R_MIPS16_max): Likewise.

ld/testsuite/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* ld-mips-elf/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* ld-mips-elf/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* ld-mips-elf/mips16-hilo.s: Auxiliary source for the new tests.
* ld-mips-elf/mips-elf.exp: Run the new tests.

19 years ago * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
Joel Brobecker [Tue, 15 Feb 2005 17:13:06 +0000 (17:13 +0000)]
    * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
        SYMBOL_NATURAL_NAME to set type names.

19 years ago2005-02-15 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 15 Feb 2005 15:49:28 +0000 (15:49 +0000)]
2005-02-15  Andrew Cagney  <cagney@gnu.org>

Mark up add_com, add_info and add_prefix_cmd.
* breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
* exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
* go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
* maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
* ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
* remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
* remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
* remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
* sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
* symfile.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
* win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
* tui/tui-stack.c, tui/tui-win.c: Update.

19 years ago * gdb.ada/packed_array/pa.adb: New file.
Joel Brobecker [Tue, 15 Feb 2005 15:35:26 +0000 (15:35 +0000)]
    * gdb.ada/packed_array/pa.adb: New file.
        * gdb.ada/packed_array.exp: New testcase.

19 years agoFix compile time warning messages
Nick Clifton [Tue, 15 Feb 2005 12:52:03 +0000 (12:52 +0000)]
Fix compile time warning messages

19 years agobfd/
Jan Beulich [Tue, 15 Feb 2005 07:37:10 +0000 (07:37 +0000)]
bfd/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* elfxx-ia64.c (ia64_howto_table): Correct strings for
R_IA64_DTPMOD64[LM]SB.

gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
new variables type, suffix, and width. Handle
BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
FUNC_DTP_RELATIVE case. Return incoming relocation type if
BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
if unable to translate relocation type, using the new variables.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/reloc.[ds]: New.
* gas/ia64/reloc-bad.[ls]: New.
* gas/ia64/ia64.exp: Run new tests.

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 15 Feb 2005 02:05:10 +0000 (02:05 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

* config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
* config/h8300/tm-h8300.h: Delete file.

19 years ago2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 15 Feb 2005 01:54:58 +0000 (01:54 +0000)]
2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Allow relax
backward branch in the same section.
(elfNN_ia64_relocate_section): Inform users that the input
section is too big to relax br instruction when overflow
happens to R_IA64_PCREL21B, R_IA64_PCREL21BI, R_IA64_PCREL21M
and R_IA64_PCREL21F.

19 years ago*** empty log message ***
gdbadmin [Tue, 15 Feb 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***