Nick Clifton [Thu, 19 Feb 1998 19:43:18 +0000 (19:43 +0000)]
Add more tests.
Nick Clifton [Thu, 19 Feb 1998 19:16:54 +0000 (19:16 +0000)]
Added a couple of tests.
Ian Lance Taylor [Thu, 19 Feb 1998 18:43:09 +0000 (18:43 +0000)]
* configure.in: Don't build libgui for a cygwin32 target when not on
a cygwin32 host.
Gavin Romig-Koch [Thu, 19 Feb 1998 15:24:10 +0000 (15:24 +0000)]
* interp.c (load_memory): Add missing "break"'s.
Doug Evans [Thu, 19 Feb 1998 10:24:15 +0000 (10:24 +0000)]
* config/tc-dvp.c: Include stdarg.h/varargs.h.
(md_pseudo_table): Add .word.
(assemble_dma): Set alignment to 16 bytes. Enable code that records
fixups.
(assemble_one_insn): Handle DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}.
(md_apply_fix3): Handle DVP_OPERAND_DMA_ADDR.
(parse_dma_addr_autocount): Renamed from parse_dma_ptr_autocount.
Rewrite.
(eval_expr): New function.
(create_label,create_colon_label): New function.
(s_enddmadata): Rewrite.
Doug Evans [Thu, 19 Feb 1998 10:10:32 +0000 (10:10 +0000)]
* dvp.h (DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}): Split
DVP_OPERAND_DMA_PTR_AUTOCOUNT into two.
(dma_operand_{count,addr}): Declare.
Richard Henderson [Thu, 19 Feb 1998 07:44:04 +0000 (07:44 +0000)]
* Makefile.am (install-exec-local): Install properly when ln
fails or tooldir == prefix.
Nick Clifton [Thu, 19 Feb 1998 02:13:27 +0000 (02:13 +0000)]
Special case handling of updates to the condition bit to allow for the fact
that it is shadowed by several registers.
Doug Evans [Thu, 19 Feb 1998 00:40:15 +0000 (00:40 +0000)]
* tc-dvp.c: Allow FAKE arguments to have a parser handler.
Doug Evans [Thu, 19 Feb 1998 00:39:38 +0000 (00:39 +0000)]
Allow FAKE arguments to have a parser handler.
Doug Evans [Wed, 18 Feb 1998 23:57:47 +0000 (23:57 +0000)]
fix thinko in last patch
Doug Evans [Wed, 18 Feb 1998 23:56:15 +0000 (23:56 +0000)]
* config/tc-dvp.c (parse_float): New function.
(assemble_vu): Handle loi insns.
(assemble_one_insn): Simplify suffix parsing.
Handle DVP_OPERAND_FLOAT.
Doug Evans [Wed, 18 Feb 1998 23:49:27 +0000 (23:49 +0000)]
* dvp-dis.c (print_vu): Handle loi insns.
(print_insn): Likewise.
* dvp-opc.c (vu_lower_opcodes): Add "loi".
Nick Clifton [Wed, 18 Feb 1998 22:35:08 +0000 (22:35 +0000)]
Added --Wp and --Wnp abbreviations for --[no-]warn-explicit-parallel-conflicts.
Forced parallel constructions to use non-relaxable aliases of insns.
Frank Ch. Eigler [Wed, 18 Feb 1998 21:26:38 +0000 (21:26 +0000)]
* Started PKE sim unit testing. A number of minor errors were corrected.
A few PKE instructions even run correctly! Next missing function of
interest: FIFO pruning.
* sky-pke.c (pke_issue): Take extra SIM_DESC argument.
(pke_attach): Attach correct PKE0/PKE1 device. Open trace file if
VIF{0,1}_TRACE_FILE env. var. is defined.
(pke_io_write_buffer): Classify words in FIFO quadword. Use
kludgey sim_core routines to access DMA registers.
(pke_pc_advance): Add PKEcode classification. Correct DMA tag
skipping. Emit trace records.
(pke_pc_fifo): Add PKEcode operand classification.
(pke_check_stall): Perform stall checks against updated register
scheme.
(pke_code_unpack): Correct operand-count calculation.
(pke_code_stmask): Correct instruction skipping.
* sky-pke.h (PKE_MEM_WRITE, PKE_MEM_READ): New kludge macros.
(BIT_MASK_BTW): Corrected off-by-one error.
(enum wordclass): Classify words in a FIFO quadword.
* sky-dma.c (dma_io_read_buffer): Correct address checking assertions.
* sky-engine.c (engine_run): Pass along SIM_DESC to PKE
instruction issue code.
Doug Evans [Wed, 18 Feb 1998 20:39:02 +0000 (20:39 +0000)]
Delete rac-d,rac-ds,rach-d,rach-ds, they're aliases.
Doug Evans [Wed, 18 Feb 1998 20:37:27 +0000 (20:37 +0000)]
.Sanitize for devo/sim/testsuite/sim/m32r.
Jeff Law [Wed, 18 Feb 1998 20:05:53 +0000 (20:05 +0000)]
* simops.c (multiply instructions): Cast input operands to a
signed64/unsigned64 type as appropriate.
Nick Clifton [Wed, 18 Feb 1998 19:01:59 +0000 (19:01 +0000)]
Treat a double vertical bar as a seperator between instructions.
James Lemke [Wed, 18 Feb 1998 16:47:03 +0000 (16:47 +0000)]
DMA define names changed (SRCADDR -> MADR).
Doug Evans [Wed, 18 Feb 1998 07:57:59 +0000 (07:57 +0000)]
(CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS.
Doug Evans [Wed, 18 Feb 1998 05:46:37 +0000 (05:46 +0000)]
* cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.
Andrew Cagney [Wed, 18 Feb 1998 04:11:09 +0000 (04:11 +0000)]
Extend sim-trace.[hc] to include a generic set of macro's for tracing
ALU/... inputs/outputs.
Base implementation on original v850 code.
Update igen to generate code interfacing with newer sim-trace.[hc].
Doug Evans [Wed, 18 Feb 1998 04:04:07 +0000 (04:04 +0000)]
* config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch.
Doug Evans [Wed, 18 Feb 1998 02:59:52 +0000 (02:59 +0000)]
* cen.c (cgen_md_apply_fix3): Delete call to validate_operand.
Test result of insert_operand for error.
Doug Evans [Wed, 18 Feb 1998 02:50:58 +0000 (02:50 +0000)]
* dvp-opc.c (parse_vfreg): Dest spec is optional.
(print_vfreg): Don't print dest spec.
(parse_accdest): Dest spec is optional.
(print_accdest): Don't print dest spec.
Doug Evans [Wed, 18 Feb 1998 02:46:36 +0000 (02:46 +0000)]
* gas/dvp/{basic-1,lower-1,upper-1,upper-2}.d: Update to remove dest
spec on operands.
Richard Henderson [Wed, 18 Feb 1998 02:45:07 +0000 (02:45 +0000)]
* objcopy.c (compare_section_lma): Rename from _vma.
(copy_object): Gap fill based on LMA not VMA.
* binutils.texi: Update and clarify.
* objcopy.1: Likewise.
PR 14917
Doug Evans [Wed, 18 Feb 1998 02:31:57 +0000 (02:31 +0000)]
remove #ifdef HAVE_CPU_M32RX uses. tweak some comments
Doug Evans [Wed, 18 Feb 1998 02:26:47 +0000 (02:26 +0000)]
* Makefile.in (M32R_OBJS): Add cpu.o.
(cpu.o): Add rule for.
(NL_TARGET): Define.
* configure.in: Add AC_CHECK_PROG(SCHEME).
* cpu.c: New file.
* cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* mloop.in (execute): Update call to semantic fn.
(M32RX_OBJS): Add cpux.o.
(cpux.o): Add rule for.
cpux.c: New file.
* cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
* m32rx.c (m32rx_h_accums_{get,set}): Rewrite.
(m32rx_h_cr_{get,set}): New functions.
(m32rx_h_accums_{get,set}): New functions.
* mloopx.in: Rewrite main loop.
* m32r.c (do_trap): Move from here.
* sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support.
(sim_create_inferior): Use h_pc_set.
(h_pc_{get,set}): New functions.
(h_gr_{get,set}): New functions.
(syscall_{read,write}_mem): New functions.
* sim-main.h (h_{gr,pc}_{get,set}): Declare.
Doug Evans [Wed, 18 Feb 1998 02:05:54 +0000 (02:05 +0000)]
* Make-common.in (CGEN_MAIN_SCM): Update.
* aclocal.m4 (USE_MAINTAINER_MODE): New variable.
Ian Lance Taylor [Wed, 18 Feb 1998 01:34:41 +0000 (01:34 +0000)]
* dlltool.c (make_one_lib_file): Don't add 1 to hint.
Doug Evans [Wed, 18 Feb 1998 01:30:04 +0000 (01:30 +0000)]
* cgen-sim.h (SEMANTIC_CACHE_FN): Delete.
(SEMANTIC_FN): Rewrite declaration.
(DECODE): Update type of semantic_fast member.
({EX,SEM}_FN_NAME): Have only one version.
* cgen.sh: Support building cpu.c.
* sim-base.h (sim_state_base): Delete conditionals surrounding
member scache_size.
Doug Evans [Wed, 18 Feb 1998 01:26:15 +0000 (01:26 +0000)]
* Makefile.am (CGENFILES): Update.
* Makefile.in: Regenerate.
* cgen-asm.in (insert_normal): Result is error message now.
Validate value to be inserted.
(insert_insn_normal): Result is error message now.
(@arch@_cgen_assemble_insn): Update.
* cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max
arguments. Don't perform validation here.
* m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate.
Doug Evans [Wed, 18 Feb 1998 00:02:27 +0000 (00:02 +0000)]
* cgen.h (cgen_insert_fn): Change type of result to const char *.
(cgen_parse_{signed,unsigned}_integer): Delete min,max arguments.
Ian Carmichael [Tue, 17 Feb 1998 23:50:35 +0000 (23:50 +0000)]
* XGKICK now uses memory-based GIF fifo.
Frank Ch. Eigler [Tue, 17 Feb 1998 23:14:57 +0000 (23:14 +0000)]
* remote-mips.c (mips_request): Use unsigned long during parsing
returned value from monitor, to prevent accidental sign extension.
Jason Molenda [Tue, 17 Feb 1998 22:42:02 +0000 (22:42 +0000)]
Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
* configure.in: Ditto.
* configure: Regenerated.
Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* gdbtypes.c (check_typedef): Do not try to resolve the length of
a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
set TYPE_FLAG_TARGET_STUB as well.
Patches from Peter.
Doug Evans [Tue, 17 Feb 1998 22:05:11 +0000 (22:05 +0000)]
keep config, lib, sim.
Doug Evans [Tue, 17 Feb 1998 21:58:11 +0000 (21:58 +0000)]
* config/default.exp: New file.
* lib/sim-defs.exp: New file.
* sim/m32r/*: m32r dejagnu simulator testsuite.
Doug Evans [Tue, 17 Feb 1998 21:54:07 +0000 (21:54 +0000)]
keep m32r
Doug Evans [Tue, 17 Feb 1998 21:52:53 +0000 (21:52 +0000)]
m32r simulator testsuite
Doug Evans [Tue, 17 Feb 1998 20:54:50 +0000 (20:54 +0000)]
* Makefile.in (build_alias): Define.
(arch): Define.
(RUNTEST_FOR_TARGET): Delete.
(RUNTEST): Fix.
(SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS,CGENFILES): Define.
(check): Depend on site.exp.
(site.exp): New target.
(cgen): New target.
* configure.in: Call AC_CHECK_PROG(SCHEME) if using cgen.
(arch): Define from target_cpu.
* configure: Regenerate.
Michael Meissner [Tue, 17 Feb 1998 19:38:48 +0000 (19:38 +0000)]
Better tracing for conditional branches
Ian Lance Taylor [Tue, 17 Feb 1998 18:02:55 +0000 (18:02 +0000)]
* libbfd.c (bfd_seek): If fseek fails, save errno around call to
bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not
bfd_error_system_call.
Andrew Cagney [Tue, 17 Feb 1998 04:28:00 +0000 (04:28 +0000)]
Pass REGISTER_RAW_SIZE to sim_{fetch,store}_register. Verify returned
register size.
Andrew Cagney [Tue, 17 Feb 1998 04:06:38 +0000 (04:06 +0000)]
For sim_fetch_register / sim_store_register: Add LENGTH parameter,
return actual size of register, 0 if not applicable, -1 of legacy
implementation.
Ian Carmichael [Mon, 16 Feb 1998 22:09:57 +0000 (22:09 +0000)]
* Added VU0_CIA register #define.
Ian Carmichael [Mon, 16 Feb 1998 22:07:11 +0000 (22:07 +0000)]
* Add magic VU1_CIA register.
Ian Carmichael [Mon, 16 Feb 1998 21:44:45 +0000 (21:44 +0000)]
* Partially implement new VPE_STAT register.
Nick Clifton [Mon, 16 Feb 1998 20:30:58 +0000 (20:30 +0000)]
Only parallelise instructions when assembling for the m32rx, and when
neither instruction is relaxable.
Ian Lance Taylor [Mon, 16 Feb 1998 17:25:52 +0000 (17:25 +0000)]
fix 5900 in Makefile.am
Andrew Cagney [Mon, 16 Feb 1998 09:17:07 +0000 (09:17 +0000)]
Make ``target d10v'' and ``target remote'' equivalent.
Hack remote.c so that xfer_memory calls a memory translate function.
Ron Unrau [Mon, 16 Feb 1998 04:33:28 +0000 (04:33 +0000)]
configure: rerun autoconf
interp.c: shield dummy vu registers with -DTARGET_SKY
Andrew Cagney [Mon, 16 Feb 1998 00:35:57 +0000 (00:35 +0000)]
Implement "dbt" and "rtd" instructions.
Import fixes to dmap_addr() from mitsu branch.
Andrew Cagney [Sun, 15 Feb 1998 23:21:19 +0000 (23:21 +0000)]
Test the RDT and DBT instructions.
Ron Unrau [Sun, 15 Feb 1998 21:33:13 +0000 (21:33 +0000)]
configure.in: add -DTARGET_SKY for mips64r5900-sky-elf configure.
sim-main.h: Define regs for sky if -DTARGET_SKY
interp.c: Initial register upload/download support for sky.
Ron Unrau [Sun, 15 Feb 1998 21:30:02 +0000 (21:30 +0000)]
parse.c (write_dollar_variable): call new function target_map_name_to_register
so that targets can define their own register name aliases.
infcmd.c (registers_info): call target_map_name_to_register so that
"print $reg" and "info reg $reg" share the same register alias set.
mips-tdep.c: separate MIPS_R5900_REGS from NUM_REGS so that sky registers
can be printed separately.
txvu-tdep.c: print registers according to current CPU context.
tm-txvu.h: define SKY registers and conditionalize register interpretation
macros.
txvu.mt: Don't bother building remote-mips.o for sky target.
Ian Carmichael [Sat, 14 Feb 1998 05:34:08 +0000 (05:34 +0000)]
* Vu1 state moved to struct. Host-target endian twiddling. Misc other fixes.
Michael Meissner [Sat, 14 Feb 1998 00:59:44 +0000 (00:59 +0000)]
TIC80 uses little endian doubles, not big endian
Stan Shebs [Sat, 14 Feb 1998 00:49:47 +0000 (00:49 +0000)]
* config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
* config/i386/xm-i386mk.h: Fix an include.
* config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
Stan Shebs [Sat, 14 Feb 1998 00:38:57 +0000 (00:38 +0000)]
micro-cleanup
Frank Ch. Eigler [Fri, 13 Feb 1998 23:29:38 +0000 (23:29 +0000)]
- PKE simulation almost finished. Needed enhancements:
* trace file generation
* FIFO pruning
- PKE functions still missing due to external dependencies:
* interrupt to 5900 (igen?)
* VU busy checking (sky-vu / coprocessor registers)
* PATH3 masking (sky-gpuif / covert control interface)
Nick Clifton [Fri, 13 Feb 1998 22:46:09 +0000 (22:46 +0000)]
Fix tests to match latest version of the assembler.
Nick Clifton [Fri, 13 Feb 1998 22:45:14 +0000 (22:45 +0000)]
Do not bother checking the operands of instructions which have no operands!
Doug Evans [Fri, 13 Feb 1998 22:36:22 +0000 (22:36 +0000)]
Fix comment.
Doug Evans [Fri, 13 Feb 1998 22:35:43 +0000 (22:35 +0000)]
* cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
operand instance list.
* m32r-opc.c: Regenerate.
Michael Meissner [Fri, 13 Feb 1998 22:12:51 +0000 (22:12 +0000)]
Pass floating point structure address instead of the structure itself
Nick Clifton [Fri, 13 Feb 1998 21:52:13 +0000 (21:52 +0000)]
Reverted writes_to_pc() back to old version of code until PC operands are
supported by cgen.
Ian Lance Taylor [Fri, 13 Feb 1998 21:48:00 +0000 (21:48 +0000)]
* Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
* doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
* doc/Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 13 Feb 1998 21:39:55 +0000 (21:39 +0000)]
* Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
Ian Lance Taylor [Fri, 13 Feb 1998 19:55:14 +0000 (19:55 +0000)]
* Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
Ian Lance Taylor [Fri, 13 Feb 1998 19:44:27 +0000 (19:44 +0000)]
rebuild with new automake
Ian Lance Taylor [Fri, 13 Feb 1998 18:39:49 +0000 (18:39 +0000)]
x
Mark Alexander [Fri, 13 Feb 1998 18:34:46 +0000 (18:34 +0000)]
Oops, fix typo.
Mark Alexander [Fri, 13 Feb 1998 18:33:34 +0000 (18:33 +0000)]
* mn10300-dis.c (print_insn_mn10300): Recognize break instruction.
Ian Lance Taylor [Fri, 13 Feb 1998 18:31:09 +0000 (18:31 +0000)]
* configure.in: Get the version number from BFD.
* configure: Rebuild.
Ian Lance Taylor [Fri, 13 Feb 1998 18:13:58 +0000 (18:13 +0000)]
* Makefile.am (libopcodes_la_LDFLAGS): Define.
* Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 13 Feb 1998 18:12:58 +0000 (18:12 +0000)]
* Makefile.am (libbfd_la_LDFLAGS): Define.
* Makefile.in: Rebuild.
Patrick Macdonald [Fri, 13 Feb 1998 18:02:24 +0000 (18:02 +0000)]
First functional drop of the gpuif code plus modifications to
non-gpuif code to allow sky sim to build with --enable-sim-warnings
Nick Clifton [Fri, 13 Feb 1998 18:01:19 +0000 (18:01 +0000)]
Parallelisation code changed to used cgen's new ins operands feature.
Nick Clifton [Fri, 13 Feb 1998 17:51:46 +0000 (17:51 +0000)]
Regenerated after modifying cgen/m32r.cpu to remove WRITE_LR and WRITE_SRC
attributes.
Ian Lance Taylor [Fri, 13 Feb 1998 05:49:55 +0000 (05:49 +0000)]
* config/tc-mips.c (macro_build): Handle operand type 'C'.
(macro): Fix handling of M_COP[0-3].
Andrew Cagney [Fri, 13 Feb 1998 05:22:49 +0000 (05:22 +0000)]
Implement separate user (SPU) and interrupt (SPI) stack pointers.
Andrew Cagney [Fri, 13 Feb 1998 05:19:02 +0000 (05:19 +0000)]
Test switching between SPI/SPU.
Doug Evans [Fri, 13 Feb 1998 03:16:48 +0000 (03:16 +0000)]
Beginnings of m32r simulator testsuite.
Doug Evans [Fri, 13 Feb 1998 03:01:10 +0000 (03:01 +0000)]
Keep m32r-elf.
Doug Evans [Fri, 13 Feb 1998 02:33:26 +0000 (02:33 +0000)]
* cgen.h (lookup_insn): New argument alias_p.
* dvp.h (VU_FLAG_[IEMDT]): New macros.
Doug Evans [Fri, 13 Feb 1998 02:31:33 +0000 (02:31 +0000)]
tweak last entry
Doug Evans [Fri, 13 Feb 1998 02:31:10 +0000 (02:31 +0000)]
* cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.
Ignore ALIAS insns if asked to.
(@arch@_cgen_get_insn_operands): Pass 0 for alias_p, NULL for insn.
* m32r-opc.c: Regenerate.
Doug Evans [Fri, 13 Feb 1998 01:48:16 +0000 (01:48 +0000)]
(vu_operands): New element UFLAGS.
(parse_uflags,print_uflags): New functions.
(vu_upper_opcodes): Add UFLAGS to all insns.
Doug Evans [Fri, 13 Feb 1998 01:44:29 +0000 (01:44 +0000)]
* gas/dvp/upper-2.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.
Doug Evans [Fri, 13 Feb 1998 01:18:09 +0000 (01:18 +0000)]
Regenerate with less verbose operand instance tables.
Ian Lance Taylor [Fri, 13 Feb 1998 01:13:15 +0000 (01:13 +0000)]
* gasp/macro.out: Adjust to reflect the fact that keyword
arguments are now permitted after positional arguments.
Ian Lance Taylor [Fri, 13 Feb 1998 01:09:32 +0000 (01:09 +0000)]
Based on patches from Ross Harvey <ross@teraflop.com>:
* macro.c (ISSEP): Only treat '<' and '>' as separator characters
if macro_alternate or macro_mri.
(getstring): Remove support for byte constants between < and >.
(get_any_string): '<' only starts a string if macro_alternate or
macro_mri.
(macro_expand_body): Permit keyword parameters following
positional parameters.
Ian Lance Taylor [Fri, 13 Feb 1998 00:11:41 +0000 (00:11 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* netbsd.h (MACHTYPE_OK): Define.
(MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when
calling N_SET_MACHTYPE, rather than having a switch.
* libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD,
and M_ALPHA_NETBSD.
* i386netbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* m68k4knetbsd.c (SEGMENT_SIZE): Don't define.
(MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* m68knetbsd.c: (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* ns32knetbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* sparcnetbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
Ian Lance Taylor [Fri, 13 Feb 1998 00:00:55 +0000 (00:00 +0000)]
* scripttempl/elf.sc: Align the _end symbol according to the ELF
format size. From Gordon W. Ross <gwr@mc.com>.
Ian Lance Taylor [Thu, 12 Feb 1998 23:14:33 +0000 (23:14 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.host (alpha*-*-netbsd*): New host.
* configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
targets.
Ian Lance Taylor [Thu, 12 Feb 1998 23:12:45 +0000 (23:12 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.in (alpha*-*-netbsd*): New target.
* config/te-nbsd.h (LOCAL_LABELS_FB): Define.
* configure: Rebuild.
Ian Lance Taylor [Thu, 12 Feb 1998 23:03:13 +0000 (23:03 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* vaxnetbsd.c: New file.
* netbsd-core.c: Clean up. Remove unused macros. Use netbsd
rather than netbsd_core.
* targets.c (vaxnetbsd_vec): Declare.
(bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is
defined, add netbsd_core_vec.
* configure.in: Set COREFILE for alpha*-*-netbsd* and
powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is
netbsd-core.lo, set COREFLAG to -DNETBSD_CORE.
* config.bfd (alpha*-*-netbsd*): New target.
* Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Add vaxnetbsd.lo.
(BFD32_BACKENDS_CFILES): Add vaxnetbsd.c.
* configure, Makefile.in: Rebuild.