Alan Modra [Thu, 24 Feb 2000 15:26:57 +0000 (15:26 +0000)]
Yet more .intel_syntax fixes.
Catherine Moore [Thu, 24 Feb 2000 13:41:02 +0000 (13:41 +0000)]
* som.c (som_misc_symbol_info): Add field
secondary_def.
(som_bfd_derive_misc_symbol_info): Initialize
secondary_def.
(som_build_and_write_symbol_table): Keep track
of secondary_def field.
(som_slurp_symbol_table): Set BSF_WEAK symbol flag
if secondary_def field is set.
(som_bfd_ar_write_symbol_stuff): Initialize
secondary_def.
Catherine Moore [Thu, 24 Feb 2000 13:37:02 +0000 (13:37 +0000)]
* config/obj-som.c (obj_pseudo_table): Add "weak".
(obj_som_weak): New routine.
Alan Modra [Thu, 24 Feb 2000 12:41:54 +0000 (12:41 +0000)]
Forgot Changelog for last i386.h change.
Alan Modra [Thu, 24 Feb 2000 12:40:45 +0000 (12:40 +0000)]
Correct intel_syntax fsub* and fdiv* handling. Oh, how I'd like to be rid
of UNIXWARE_COMPAT.
Andrew Cagney [Thu, 24 Feb 2000 08:55:15 +0000 (08:55 +0000)]
Include "gdb_wait.h" instead of <wait.h>.
Alan Modra [Thu, 24 Feb 2000 08:18:20 +0000 (08:18 +0000)]
config/tc-i386.c (struct _i386_insn): Combine disps, imms, regs into
a union. Use throughout file. Delete TC_RELOC macro.
Andrew Cagney [Thu, 24 Feb 2000 08:16:26 +0000 (08:16 +0000)]
Only install GDBtk files when GDBtk is being built.
Andrew Cagney [Thu, 24 Feb 2000 07:27:51 +0000 (07:27 +0000)]
* configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
Andrew Cagney [Thu, 24 Feb 2000 05:38:51 +0000 (05:38 +0000)]
* config.guess, config.sub: Updated to match config's 2000-02-15
version.
Christopher Faylor [Thu, 24 Feb 2000 03:31:45 +0000 (03:31 +0000)]
* configure.tgt: Add arm, mips, sh wince targets.
* config/arm/tm-wince.h: New file.
* config/arm/wince.mt New file.
* config/sh/tm-wince.h: New file.
* config/sh/wince.mt New file.
* config/mips/tm-wince.h: New file.
* config/mips/wince.mt New file.
* wince.c: New file.
* wince-stub.c: New file.
* wince-stub.h: New file.
* sh-tdep.c: Use correct register names for Windows CE.
Alan Modra [Thu, 24 Feb 2000 01:56:31 +0000 (01:56 +0000)]
Remove dead code when not TC_M68K.
Alan Modra [Thu, 24 Feb 2000 01:40:42 +0000 (01:40 +0000)]
Mention IBM 370 support
Richard Henderson [Thu, 24 Feb 2000 00:43:29 +0000 (00:43 +0000)]
* config/tc-i386.c (md_assemble): When swapping operands for
intel_syntax, assume everything that's not Imm or Disp is a
register.
Nicholas Duffek [Thu, 24 Feb 2000 00:04:03 +0000 (00:04 +0000)]
* top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
(error_return, quit_return): Merge into catch_return pointer.
(return_to_top_level): Update comment. Longjmp to *catch_errors,
and communicate reason to catch_errors via setjmp return value.
(catch_errors): Always catch both quit and error, and if a catch
wasn't requested by caller, throw it to the next catch_error.
Replace dual longjmp buffer memcpy with single pointer change.
Add FIXME for possibly adding new interface to tell caller what
event was caught. Add extensive comments.
* defs.h (enum return_reason): Reserve 0 for use as initial
setjmp() return value.
(RETURN_MASK): New public macro to generate RETURN_MASK_* from
enum return_reason.
(RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
Richard Henderson [Wed, 23 Feb 2000 23:38:47 +0000 (23:38 +0000)]
* scripttempl/elfd10v.sc: Remove dynamic linking hooks.
Add and use memory regions.
Alan Modra [Wed, 23 Feb 2000 23:19:46 +0000 (23:19 +0000)]
Teach get_osabi_name about Linux
Nick Clifton [Wed, 23 Feb 2000 22:29:38 +0000 (22:29 +0000)]
fix typo in previous delta
Nick Clifton [Wed, 23 Feb 2000 22:27:55 +0000 (22:27 +0000)]
Accept 16-bit addresses.
Jim Blandy [Wed, 23 Feb 2000 22:11:07 +0000 (22:11 +0000)]
Doc fix.
Jim Blandy [Wed, 23 Feb 2000 19:46:25 +0000 (19:46 +0000)]
*** empty log message ***
Jim Blandy [Wed, 23 Feb 2000 19:45:45 +0000 (19:45 +0000)]
* gdbint.texinfo (FUNCTION_START_OFFSET): Document.
Timothy Wall [Wed, 23 Feb 2000 16:01:21 +0000 (16:01 +0000)]
Add new feature notices for changes made on 2/8 and 2/10/00.
Fernando Nasser [Wed, 23 Feb 2000 15:53:33 +0000 (15:53 +0000)]
2000-02-23 Fernando Nasser <fnasser@cygnus.com>
* infcmd.c (run_stack_dummy): Do not pop frame on random signal.
* valops.c (_initialize_valops): Add command "set unwindonsignal".
(hand_function_call): Test for unwind_on_signal and act accordingly.
Alan Modra [Wed, 23 Feb 2000 13:52:23 +0000 (13:52 +0000)]
Add IBM 370 support.
Andrew Cagney [Wed, 23 Feb 2000 06:19:22 +0000 (06:19 +0000)]
Fix copyright - Cygnus is a Red Hat company.
Andrew Cagney [Wed, 23 Feb 2000 02:47:21 +0000 (02:47 +0000)]
Revert.
Andrew Cagney [Wed, 23 Feb 2000 02:42:40 +0000 (02:42 +0000)]
Re-sync with ../include/dis-asm.h - LEN param changed to unsigned int.
Nick Clifton [Wed, 23 Feb 2000 01:26:59 +0000 (01:26 +0000)]
Add support for sh-pe and arm-wince-pe targets.
Andrew Cagney [Wed, 23 Feb 2000 00:25:43 +0000 (00:25 +0000)]
Add mi/ and testsuite/gdb.mi/ subdirectories.
Add --enable-gdbmi option to configury.
Add mi rules to Makefile.in
Add mi conditional output to event-top.c infrun.c main.c top.c.
Add -i=mi option.
Jim Blandy [Tue, 22 Feb 2000 22:16:24 +0000 (22:16 +0000)]
*** empty log message ***
Chandra Chavva [Tue, 22 Feb 2000 20:54:18 +0000 (20:54 +0000)]
* config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
determine if an instruction can be used in parallel with an ADDppp
or SUBppp instruction.
Chandra Chavva [Tue, 22 Feb 2000 20:52:14 +0000 (20:52 +0000)]
* opcode/d30v.h (FLAG_NOT_WITH_ADDSUBppp): Redefined as operation cannot
be combined in parallel with ADD/SUBppp.
Chandra Chavva [Tue, 22 Feb 2000 20:44:14 +0000 (20:44 +0000)]
* d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
procedure.
Nick Clifton [Tue, 22 Feb 2000 19:59:40 +0000 (19:59 +0000)]
Updated comment.
Nick Clifton [Tue, 22 Feb 2000 19:56:41 +0000 (19:56 +0000)]
Remove use of ELF_ST_OTHER.
Jim Blandy [Tue, 22 Feb 2000 19:22:37 +0000 (19:22 +0000)]
*** empty log message ***
Jim Blandy [Tue, 22 Feb 2000 19:22:25 +0000 (19:22 +0000)]
* gdbint.texinfo: Document COERCE_FLOAT_TO_DOUBLE --- the new form.
Jim Blandy [Tue, 22 Feb 2000 19:19:12 +0000 (19:19 +0000)]
* gdbarch.sh: Make the `default' field really default to zero, as
documented.
Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
more function-like.
(default_coerce_float_to_double, standard_coerce_float_to_double):
New functions.
(value_arg_coerce): Adjust for new definition.
* value.h (default_coerce_float_to_double,
standard_coerce_float_to_double): New declarations for the above.
* gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
* gdbarch.c, gdbarch.h: Regenerated.
* tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
definitions.
* mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
function here.
(mips_gdbarch_init): Install that as our coerce_float_to_double
function.
Jim Blandy [Tue, 22 Feb 2000 19:18:53 +0000 (19:18 +0000)]
Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
more function-like.
(default_coerce_float_to_double, standard_coerce_float_to_double):
New functions.
(value_arg_coerce): Adjust for new definition.
* value.h (default_coerce_float_to_double,
standard_coerce_float_to_double): New declarations for the above.
* gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
* gdbarch.c, gdbarch.h: Regenerated.
* tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
definitions.
* mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
function here.
(mips_gdbarch_init): Install that as our coerce_float_to_double
function.
Andrew Haley [Tue, 22 Feb 2000 19:01:25 +0000 (19:01 +0000)]
g2000-02-22 Andrew Haley <aph@cygnus.com>
* mips.h: (OPCODE_IS_MEMBER): Add comment.
Andrew Haley [Tue, 22 Feb 2000 18:55:30 +0000 (18:55 +0000)]
2000-02-22 Andrew Haley <aph@cygnus.com>
* doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
Kevin Buettner [Tue, 22 Feb 2000 18:47:41 +0000 (18:47 +0000)]
Cleanups and signal handler backtrace fix for GNU/Linux PPC port.
Andrew Haley [Tue, 22 Feb 2000 16:59:39 +0000 (16:59 +0000)]
ChangeLog change only.
Ian Lance Taylor [Tue, 22 Feb 2000 16:40:36 +0000 (16:40 +0000)]
merge with include from egcs 2000-02-22
Ian Lance Taylor [Tue, 22 Feb 2000 16:18:13 +0000 (16:18 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Ian Lance Taylor [Tue, 22 Feb 2000 16:18:13 +0000 (16:18 +0000)]
import libiberty from egcs
Ian Lance Taylor [Tue, 22 Feb 2000 16:14:35 +0000 (16:14 +0000)]
merge with libiberty from egcs 2000-02-22
Ian Lance Taylor [Tue, 22 Feb 2000 15:59:20 +0000 (15:59 +0000)]
import libiberty from egcs
Ian Lance Taylor [Tue, 22 Feb 2000 15:59:20 +0000 (15:59 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Andrew Haley [Tue, 22 Feb 2000 14:43:54 +0000 (14:43 +0000)]
1999-12-30 Andrew Haley <aph@cygnus.com>
* config/tc-mips.c (mips_gp32): New variable.
(macro_build) Use mips_gp32.
(mips_ip): Ditto.
(md_longopts): Add "-mgp32" and "-mgp64".
(md_parse_option): Add OPTION_GP32 and OPTION_GP64.
Andrew Haley [Tue, 22 Feb 2000 14:41:46 +0000 (14:41 +0000)]
1999-12-30 Andrew Haley <aph@cygnus.com>
* mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
force gp32 to zero.
* mips-opc.c (G6): New define.
(mips_builtin_op): Add "move" definition for -gp32.
Andrew Haley [Tue, 22 Feb 2000 14:39:20 +0000 (14:39 +0000)]
1999-12-30 Andrew Haley <aph@cygnus.com>
* mips.h (OPCODE_IS_MEMBER): Add gp32 arg.
Andrew Cagney [Tue, 22 Feb 2000 08:52:21 +0000 (08:52 +0000)]
When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracing
instead of sim_trace() to run the program; include support for ``-o''
option (operating environment); when a signal occurs, only continue
execution when operating environment mode.
Update d10v.
Ian Lance Taylor [Tue, 22 Feb 2000 08:06:01 +0000 (08:06 +0000)]
2000-02-22 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_add_object_symbols): If a version symbol is
not defined, don't add a second ELF_VER_CHR.
Ian Lance Taylor [Tue, 22 Feb 2000 07:50:13 +0000 (07:50 +0000)]
2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* config/obj-coff.c (add_lineno): Accept non-positive lineno with
warning, and bump it to 1.
Ian Lance Taylor [Tue, 22 Feb 2000 07:44:54 +0000 (07:44 +0000)]
From Grant Erickson <gerickso@Brocade.COM>:
* ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
Ian Lance Taylor [Tue, 22 Feb 2000 07:34:57 +0000 (07:34 +0000)]
2000-02-22 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_LINUX): Define.
Ian Lance Taylor [Tue, 22 Feb 2000 07:25:46 +0000 (07:25 +0000)]
From Brad Lucier <lucier@math.purdue.edu>:
* i386.c (i386_find_call): Add cast to ensure that printf argument
matches format.
* tahoe.c (tahoe_find_call): Likewise.
* vax.c (vax_find_call): Likewise.
Ian Lance Taylor [Tue, 22 Feb 2000 07:21:23 +0000 (07:21 +0000)]
From Brad Lucier <lucier@math.purdue.edu>:
* dwarf2dbg.c (print_stats): Add cast to force printf argument to
match format.
Ian Lance Taylor [Tue, 22 Feb 2000 07:18:10 +0000 (07:18 +0000)]
From Brad Lucier <lucier@math.purdue.edu>:
* readelf.c (process_version_sections): Add casts to make sure
argument to %* is an int.
(process_mips_specific): Add casts to make printf arguments match
format.
Ian Lance Taylor [Tue, 22 Feb 2000 05:52:59 +0000 (05:52 +0000)]
* elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for
invalid relocation types, and change them to R_386_NONE.
Ian Lance Taylor [Tue, 22 Feb 2000 05:51:02 +0000 (05:51 +0000)]
2000-02-22 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_bfd_final_link): Call output_extsym for global
symbols converted to local symbols even when stripping all
symbols.
(elf_link_output_extsym): Process global symbols converted to
local symbols even if they are being stripped.
Kevin Buettner [Tue, 22 Feb 2000 01:27:35 +0000 (01:27 +0000)]
Changes for GNU/Linux PPC native gdb port.
Kevin Buettner [Tue, 22 Feb 2000 01:21:06 +0000 (01:21 +0000)]
Changes for GNU/Linux PPC native gdb port.
Kevin Buettner [Tue, 22 Feb 2000 01:20:32 +0000 (01:20 +0000)]
Changes for GNU/Linux PPC native port of gdb.
Kevin Buettner [Tue, 22 Feb 2000 01:17:29 +0000 (01:17 +0000)]
Changes for GNU/Linux PPC native port.
Jim Blandy [Mon, 21 Feb 2000 22:15:09 +0000 (22:15 +0000)]
*** empty log message ***
Catherine Moore [Mon, 21 Feb 2000 20:00:33 +0000 (20:00 +0000)]
* config/tc-mips.c (MF_HILO_INSN): Define.
(mips_7000_hilo_fix): Declare.
(append_insn): Conditionally insert nops after an mfhi/mflo insn.
(md_parse_option): Check for 7000_HILO_FIX options.
(OPTION_M7000_HILO_FIX): Define.
(OPTION_NO_M7000_HILO_FIX): Define.
* doc/c-mips.texi (-mfix7000): Describe.
Elena Zannoni [Mon, 21 Feb 2000 15:56:37 +0000 (15:56 +0000)]
2000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Philippe De Muyter <phdm@macqel.be>
* event-loop.c (handle_file_event): In case of poll, enable
printing of informational message if an error/exception is
detected on the file descriptor.
Alan Modra [Mon, 21 Feb 2000 12:01:27 +0000 (12:01 +0000)]
This lot mainly cleans up `comparison between signed and unsigned' gcc
warnings. One usused var, and a macro parenthesis fix too. Also check
input sections are elf when doing gc in elflink.h.
Jim Kingdon [Mon, 21 Feb 2000 06:13:23 +0000 (06:13 +0000)]
* MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
Ian Lance Taylor [Mon, 21 Feb 2000 05:33:40 +0000 (05:33 +0000)]
ELF HPPA doesn't work at present; remove it until it does.
* config.bfd: Comment out setting targ_defvec to
bfd_elf32_hppa_vec.
* Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Remove elf32-hppa.lo.
(BFD32_BACKENDS_CFILES): Remove elf32-hppa.c.
(SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h.
* Makefile.in: Rebuild.
* targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.
Christopher Faylor [Mon, 21 Feb 2000 03:25:29 +0000 (03:25 +0000)]
cygwin32 -> cygwin.
Christopher Faylor [Mon, 21 Feb 2000 03:24:17 +0000 (03:24 +0000)]
cygwin32 -> cygwin
Andrew Cagney [Mon, 21 Feb 2000 03:04:19 +0000 (03:04 +0000)]
Include "expression.h" which "language.h" depends on.
Andrew Cagney [Mon, 21 Feb 2000 02:51:07 +0000 (02:51 +0000)]
Include "language.h" for longest_local_hex_string_custom().
Andrew Cagney [Mon, 21 Feb 2000 00:21:51 +0000 (00:21 +0000)]
Update gdbarch.sh so that it generates code including <gdb_wait.h>.
Andrew Cagney [Mon, 21 Feb 2000 00:15:55 +0000 (00:15 +0000)]
Add more maintainers. Expand the ARM related maintainers.
Andrew Cagney [Sun, 20 Feb 2000 23:52:58 +0000 (23:52 +0000)]
Add paragraph on multiple maintainers.
Fernando Nasser [Sun, 20 Feb 2000 18:23:31 +0000 (18:23 +0000)]
2000-02-19 Philippe De Muyter <phdm@macqel.be>
* cli-out.c (cli_table_header): Type of parameter `alignment' is
`enum ui_align', not `int'.
(cli_field_string, cli_field_skip): Likewise.
Frank Ch. Eigler [Sat, 19 Feb 2000 03:59:10 +0000 (03:59 +0000)]
* build fix
2000-02-18 Frank Ch. Eigler <fche@redhat.com>
* resrc.c: Remove unmatched #if for cygwin.
Geoffrey Keating [Sat, 19 Feb 2000 01:11:19 +0000 (01:11 +0000)]
* coffcode.h (coff_set_arch_mach_hook): Use free(), because there
is no bfd_free(). Revert bfd_free part of previous change.
Geoffrey Keating [Sat, 19 Feb 2000 00:59:26 +0000 (00:59 +0000)]
* coffcode.h (coff_set_arch_mach_hook): Don't use variable-size
arrays.
(coff_compute_section_file_positions): Use bfd_free to pair
bfd_malloc.
(coff_write_object_contents): Likewise.
* coff-rs6000.c (xcoff_howto_table_16): New variable.
(xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.
Frank Ch. Eigler [Sat, 19 Feb 2000 00:44:46 +0000 (00:44 +0000)]
* build fix for cygwin
2000-02-18 Frank Ch. Eigler <fche@redhat.com>
From Jason "crash" Molenda <jsm@cygnus.com>:
* configure.in: Check for getpagesize declaration.
* mvmalloc.c, mmap-sup.c: Conditionally declare getpagesize.
* configure: Regenerated.
Jim Blandy [Fri, 18 Feb 2000 23:34:44 +0000 (23:34 +0000)]
*** empty log message ***
Jim Blandy [Fri, 18 Feb 2000 22:19:31 +0000 (22:19 +0000)]
*** empty log message ***
Jim Blandy [Fri, 18 Feb 2000 22:16:16 +0000 (22:16 +0000)]
*** empty log message ***
Jim Blandy [Fri, 18 Feb 2000 22:15:46 +0000 (22:15 +0000)]
* buildsym.h (add_free_pendings): Declare.
* buildsym.c (add_free_pendings): New function.
(make_blockvector): 32x64 fix using longest_local_hex_string().
(start_subfile): initialize variable 'subfile'.
Nick Clifton [Fri, 18 Feb 2000 18:45:28 +0000 (18:45 +0000)]
Add a symbol's value to the computed frag offset, rather than overwriting it.
Elena Zannoni [Fri, 18 Feb 2000 17:00:18 +0000 (17:00 +0000)]
2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote.c (remote_async_detach): Use target_mourn_inferior(), to
make sure that all is cleaned up after we disconnect from the
target.
(remote_detach): Ditto.
Richard Henderson [Fri, 18 Feb 2000 09:23:06 +0000 (09:23 +0000)]
* elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect
and hide_symbol members.
(elf_link_hash_copy_indirect): Remove.
(elf_link_hash_hide_symbol): Remove.
(struct elf_backend_data): Add elf_backend_copy_indirect_symbol
and elf_backend_hide_symbol.
(_bfd_elf_link_hash_copy_indirect): Declare.
(_bfd_elf_link_hash_hide_symbol): Declare.
* elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument.
(_bfd_elf_link_hash_hide_symbol): Likewise.
(_bfd_elf_link_hash_table_init): Don't init killed members.
* elflink.h (elf_link_add_object_symbols): Use the bed function
pointers not elf_link_hash_{copy_indirect,hide_symbol}.
(elf_link_assign_sym_version): Likewise.
* elfxx-target.h (elf_backend_copy_indirect_symbol): Default.
(elf_backend_hide_symbol): Likewise.
(elfNN_bed): Update for new members.
Andrew Cagney [Fri, 18 Feb 2000 01:39:02 +0000 (01:39 +0000)]
From 2000-02-17 RodneyBrown@pmsc.com:
mm.c, attach.c, mmap-sup.c, sbrk-sup.c: Include <unistd.h> for sbrk
and lseek declarations.
Kevin Buettner [Thu, 17 Feb 2000 21:16:16 +0000 (21:16 +0000)]
Fix copyright line.
Fernando Nasser [Thu, 17 Feb 2000 20:11:15 +0000 (20:11 +0000)]
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
Add the patcher separator line between two same-day patches
(emacs thinks that they are not necessary).
Fernando Nasser [Thu, 17 Feb 2000 20:08:48 +0000 (20:08 +0000)]
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
From Rodney Brown <RodneyBrown@pmsc.com>
* ui-out.c (ui_out_set_flags): Fix typo, removing warning and
potentially harming mistake.
Fernando Nasser [Thu, 17 Feb 2000 19:51:04 +0000 (19:51 +0000)]
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
* arm-tdep.c: Use header file instead of extern declarations for
the {get,set}_arm_regname* functions.
Kevin Buettner [Thu, 17 Feb 2000 09:01:28 +0000 (09:01 +0000)]
AIX 4.3 core dump changes.
Joern Rennecke [Thu, 17 Feb 2000 00:33:36 +0000 (00:33 +0000)]
bfd:
Reinstate bits of sh4 support that got accidentally deleted.
Add sh-dsp support.
bfd:
* archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros.
(bfd_mach_sh3_dsp): Likewise.
(bfd_mach_sh4): Reinstate.
(bfd_default_scan): Recognize 7410, 7708, 7729 and 7750.
* bfd-in2.h: Regenerate.
* coff-sh.c (struct sh_opcode): flags is no longer short.
(USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros.
(sh_opcode41, sh_opcode42): Integrate as sh_opcode41.
(sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes.
(sh_opcode41, sh_opcode4, sh_opcode80): Likewise.
(sh_opcodes): No longer const.
(sh_dsp_opcodef0, sh_dsp_opcodef): New arrays.
(sh_insn_uses_reg): Check for USESAS and USESR8.
(sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS.
(_bfd_sh_align_load_span): Return early for SH4.
Modify sh_opcodes lookup table for sh-dsp / sh3-dsp.
Take into account that field b of a parallel processing insn
could be mistaken for a separate insn.
* cpu-sh.c (arch_info_struct): New array elements for
sh2, sh-dsp and sh3-dsp.
Reinstate element for sh4.
(SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros.
(SH4_NEXT): Reinstate.
(SH3_NEXT, SH3E_NEXT): Adjust.
* elf-bfd.h (_sh_elf_set_mach_from_flags): Declare.
* elf32-sh.c (sh_elf_set_private_flags): New function.
(sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise.
(sh_elf_merge_private_data): New function.
(elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define.
(bfd_elf32_bfd_copy_private_bfd_data): Define.
(bfd_elf32_bfd_merge_private_bfd_data): Change to
sh_elf_merge_private_data.
gas:
* config/tc-sh.c ("elf/sh.h"): Include.
(sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
(md.begin): Initialize target_arch.
Only include opcodes in has table that match selected architecture.
(parse_reg): Recognize register names for sh-dsp.
(parse_at): Recognize post-modify addressing.
(get_operands): The leading space is now optional.
(get_specific): Remove FDREG_N support. Add support for sh-dsp
arguments. Update valid_arch.
(build_Mytes): Add support for SDT_REG_N.
(find_cooked_opcode): New function, broken out of md_assemble.
(assemble_ppi, sh_elf_final_processing): New functions.
(md_assemble): Use find_cooked_opcode and assemble_ppi.
(md_longopts, md_parse_option): New option: -dsp.
* config/tc-sh.h (elf_tc_final_processing): Define.
(sh_elf_final_processing): Declare.
include/elf:
* sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros.
(EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise.
(EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise.
opcodes:
* sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
(print_insn_ppi): Likewise.
(print_insn_shx): Use info->mach to select appropriate insn set.
Add support for sh-dsp. Remove FD_REG_N support.
* sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
(sh_arg_type): Likewise. Remove FD_REG_N.
(sh_dsp_reg_nums): New enum.
(arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
(arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
(arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
(arch_sh3_dsp_up): Likewise.
(sh_opcode_info): New field: arch.
(sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
D_REG_N. Fill in arch field. Add sh-dsp insns.
Fernando Nasser [Wed, 16 Feb 2000 23:35:19 +0000 (23:35 +0000)]
2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* configure.in: Replaces obsolete gdbtk-variable.c with
gdbtk-varobj.c.
* configure: Regenerate.
* Makefile.in: Remove obsolete/extraneous references to
gdbtk-var* files.