* elf32-mips.c (elf_mips_mach): New.
(_bfd_mips_elf_object_p): Use elf_mips_mach.
(_bfd_mips_elf_final_write_processing): Use the names
of machines, rather than the numbers. Set both the ARCH
and MACH in e_flags. Handle a few more specific machines.
(_bfd_mips_elf_merge_private_bfd_data): Merge both
EF_MIPS_ARCH and EF_MIPS_MACH.
* mips.h (EF_MIPS_MACH,E_MIPS_MACH_*): Added.
Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
relocations against globally visible symbols.
* config/tc-m68k.c (relaxable_symbol): New macro.
(m68k_ip, md_estimate_size_before_relax): Use it.
(tc_m68k_fix_adjustable): Also handle weak symbols.
* ld-shared/main.c (shlib_overriddencall2): New function.
(main): Call shlib_shlibcall2.
* ld-shared/sh1.c (shlib_shlibcall2): New function.
(shlib_overriddencall2): New function.
* ld-shared/shared.dat: Add output line for new test.
* ld-shared/sun4.dat: Likewise.
Stu Grossman [Mon, 4 May 1998 21:26:02 +0000 (21:26 +0000)]
* ocd.h: Add new flags, function codes, and processor types to support
new Wiggler capabilities.
* (ocd_write_bytes_size): New function to allow atomic writes of
memory in sizes larger than a byte.
* config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
references to externally visible symbols.
* config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
values in twice for a PC relative reloc if the symbol is
externally defined.
* config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
don't adjust a PC relative reloc against an externally visible
symbol.
* config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
for a PC relative fixup against an externally visible defined
symbol, arrange to store object file and addend values as though
the symbol were not defined.
(tc_gen_reloc): Likewise.
* coff-arm.c (coff_arm_relocate_section): Cast to bfd_signed_vma,
not signed.
* peicode.h (pe_saved_coff_bfd_print_private_bfd_data): Use PARAMS
when declaring parameter types.
(pe_saved_coff_bfd_copy_private_bfd_data): Likewise.
* Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf
sysdump coffdump to avoid extra $(EXEEXT).
* Makefile.in: Rebuild.
Also rebuild configure with correct version of autoconf.
Doug Evans [Sat, 2 May 1998 01:28:32 +0000 (01:28 +0000)]
* Makefile.in: Replace @MAINT@ with $(CGEN_MAINT).
(CGEN_MAINT): New variable.
* configure.in: Add support for --enable-cgen-maint.
* configure: Regenerate.
Andrew Cagney [Fri, 1 May 1998 07:58:47 +0000 (07:58 +0000)]
*) Delete CPU and CIA arguments from hw_io_*_buffer transfers.
Instead save them in the sim_hw structure.
*) Route sim-core accesses to hw devices through the sim_hw module.
*) Route hw device requests to abort/halt through the sim_hw module.
*) Add print parameter to hw_tree_print() function.
*) Add sim_engine_vabort () function.
* Makefile.in (maintainer-clean):
Don't get ahead of yourself and delete Makefile
before running `make'.
(local-maintainer-clean, do-maintainer-clean): New rules.
* configure.in: Stop appending EXEEXT to the end of
SRCONV_PROG (wrong because that variable may contain multiple
programs)
* Makefile.am: instead, add EXEEXTs to each SRCONV_PROG
program
* Makefile.in: regenerate
* configure: regenerate
* configure.in: Stop appending EXEEXT to the end of
SRCONV_PROG (wrong because that variable may contain multiple
programs)
* Makefile.in: instead, add EXEEXTs to each SRCONV_PROG
program
* configure: regenerate
James Lemke [Wed, 29 Apr 1998 21:17:53 +0000 (21:17 +0000)]
* sim-main.h, sky-libvpe.c: r59fp_op* functions were called with
1st parm of wrong type. Converted remaining "/" to "FDiv".
* interp.c: Make "--float-type host" the default.
Ian Lance Taylor [Wed, 29 Apr 1998 19:38:38 +0000 (19:38 +0000)]
* config.bfd: If we include any ELF targets in targ_defvec and/or
targ_selvecs, then add the generic ELF targets to targ_selvecs.
* elf32-gen.c (dummy): New static const variable.
(elf_generic_info_to_howto): New static function.
(elf_generic_info_to_howto_rel): New static function.
(elf_info_to_howto): Define as elf_generic_info_to_howto.
(elf_info_to_howto_rel): Define as elf_generic_info_to_howto_rel.
* elf64-gen.c: Same changes as elf32-gen.c.
* elfcode.h (elf_object_p): For the generic target, ignore a
failure of bfd_default_set_arch_mach. Fix indentation a bit.
John Metzler [Wed, 29 Apr 1998 17:33:57 +0000 (17:33 +0000)]
Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>
* nec4102rom.c : New file implements rom monitor adapter for
nec-vr4102 board. This board hosts the vr4111 chip. This file
required extenstions to the monitor_ops structure, hooks for wiat
filter, new flags. This version does not support more than one
breakpoint and resuming after a breakpoint in 16 bit mode is
completely disfunctional. * monitor.h : Defined additional hooks
for dmpregs, confinuer_hooks and wait_filter. These additions
require that all rom monitor interfaces be recoded to to
initializa monitor ops using assignments rather than static
structure initialization. Added new bits to flags
MO_EXACT_DUMPADDR, MO_HAS_BLOCKWRITES
* monitor.c (RDEBUG): Conditional tracing throughout the file.
(fromhex): Now recognized upper cse hex digits
(monitor_printf_noecho):
(monitor_readchar): Tracing interferes with input timing.
(monitor_open): Register different memory write functions with
dcache_init if MO_HAS_BLOCKWRITES.
(flush_monior_dcache): Added as an additional utilty.
(monitor-resume): Call continue hook if one has been supplied.
(monitor_wait_filter): New function Factored out of monitor wait
and used if alternate wait-filter has not been provided.
(monitor_wait): call alternate wait filter if provided. Call
monitor_dump_regs, a new function factored out from inline code.
(monitor_dump_block): A new function used as a utility when
monitors must dump several blocks of registers using different
commands.
(monitor_dump_regs): Call alternate function if provided. Uses new
hook in monitor.h.
(monitor_write_memory): Engage previouly added hook
MO_FILL_USES_ADDR.
(monitor_write_even_block): new function supports writing long
blocks of 4byte words.
(longlongendswap): new internal function
(monitor_write_memory_longlongs): new function writes large blocks
using command to enter a long long.
(monitor_write-memory_block): new Function figures out which block
mod to use.
(monitor_read_memory): Can now handle dump formats in which the bytes
preceeding the requested data is not printed.
* monitor.h: Added new fields to the structure
Tom Tromey [Wed, 29 Apr 1998 04:17:25 +0000 (04:17 +0000)]
* Makefile.in (GDBTKLIBS): New macro.
(INSTALLED_LIBS): Include GDBTKLIBS.
(CLIBS): Likewise.
* configure: Rebuilt.
* configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS.
(GDBTKLIBS): AC_SUBST.
Tom Tromey [Wed, 29 Apr 1998 02:59:28 +0000 (02:59 +0000)]
* gprof.c (main): Conditionally call setlocale.
* gprof.h: Include <locale.h> if HAVE_LOCALE_H.
(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
Tom Tromey [Wed, 29 Apr 1998 02:51:43 +0000 (02:51 +0000)]
* as.c (main): Conditionally call setlocale.
* gasp.c (main): Likewise.
* asintl.h: Include <locale.h> if HAVE_LOCALE_H.
(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
* common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define
AM_CYGWIN32 and AM_EXEEXT.
* common/Make-common.in: set EXEEXT, add missing EXEEXTs
to run and install-common rules.
* common/configure: regenerate
And update all subdirectory ChangeLogs and configure files.
Jillian Ye [Wed, 29 Apr 1998 00:48:13 +0000 (00:48 +0000)]
sce*test*_out_dif.dat : Change the last line of the files to be
"7f 0000000000000000"
: ----------------------------------------------------------------------
Ian Lance Taylor [Tue, 28 Apr 1998 23:52:20 +0000 (23:52 +0000)]
* corefile.c: Rename from core.c.
* corefile.h: Rename from core.h.
* Many .c files: Include corefile.h rather than core.h.
* Makefile.am (sources): Change core.c to corefile.c.
(noinst_HEADERS): Change core.h to corefile.h.
($(OBJECTS)): Depend upon corefile.h rather than core.h.
(corefile.o): Rename target from core.o, depend upon corefile.c.
* Makefile.in, po/POTFILES.in: Rebuild.
Jason Molenda [Tue, 28 Apr 1998 23:26:30 +0000 (23:26 +0000)]
Tue Apr 28 16:24:24 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile.in (install-gdbtk): Call this 'install-gdb' so that
the right GUI libraries and files are installed along with GDB.
This bit of the Makefile.in is bracketed by a sanitize-gdbtk, so
install-gdb will revert to the normal boring behavior if we sanitize
out all gdbtk bits.