platform/upstream/binutils.git
26 years agoWhen starting a new simulator run, ensure proceed status is cleared.
Andrew Cagney [Fri, 6 Feb 1998 03:09:59 +0000 (03:09 +0000)]
When starting a new simulator run, ensure proceed status is cleared.

26 years agoSecond pass at moving sky files into mips dir,
Doug Evans [Fri, 6 Feb 1998 03:09:03 +0000 (03:09 +0000)]
Second pass at moving sky files into mips dir,
prepend sky- to all #include's of sky headers.

26 years ago * config/tc-mips.c (append_insn): Make sure that if we have a
Ian Lance Taylor [Fri, 6 Feb 1998 03:08:45 +0000 (03:08 +0000)]
* config/tc-mips.c (append_insn): Make sure that if we have a
fixup for an unmatched %hi reloc, it does not associated with a
variant frag.

26 years agodelete txvu/dvp/sky stuff, lives in mips dir now, configured with
Doug Evans [Fri, 6 Feb 1998 02:42:34 +0000 (02:42 +0000)]
delete txvu/dvp/sky stuff, lives in mips dir now, configured with
mips64r5900-sky-elf.

26 years agoFirst pass at moving sky stuff from ../txvu to mips dir.
Doug Evans [Fri, 6 Feb 1998 02:29:22 +0000 (02:29 +0000)]
First pass at moving sky stuff from ../txvu to mips dir.

26 years agoDelete txvu stuff.
Doug Evans [Fri, 6 Feb 1998 01:58:48 +0000 (01:58 +0000)]
Delete txvu stuff.
Delete last change that made sim build under dvp-elf.

26 years ago * top.c (do_nothing): Remove signal handler after signal is caught.
Jason Molenda [Fri, 6 Feb 1998 01:22:01 +0000 (01:22 +0000)]
   * top.c (do_nothing): Remove signal handler after signal is caught.

Helpful for SYSV systems where two ^-\s will cause problems.  Should have
no effect on BSD systems.

26 years ago * top.c (do_nothing): Remove signal handler after signal is caught.
Jason Molenda [Fri, 6 Feb 1998 01:16:56 +0000 (01:16 +0000)]
   * top.c (do_nothing): Remove signal handler after signal is caught.

Helpful for SYSV systems where two ^-\s will cause problems.  Should have
no effect on BSD systems.

26 years ago * configure.in (host_tools, native_only): Add libtool.
Jason Molenda [Fri, 6 Feb 1998 01:10:10 +0000 (01:10 +0000)]
    * configure.in (host_tools, native_only): Add libtool.

26 years agoRepeat/repeati are pc-relative
Michael Meissner [Thu, 5 Feb 1998 23:01:37 +0000 (23:01 +0000)]
Repeat/repeati are pc-relative

26 years agoNew files, update .Sanitize
Andrew Cagney [Thu, 5 Feb 1998 22:08:33 +0000 (22:08 +0000)]
New files, update .Sanitize

26 years ago * cgen-sim.h (EX_FN_NAME): _exc_ -> _ex_.
Doug Evans [Thu, 5 Feb 1998 21:29:18 +0000 (21:29 +0000)]
* cgen-sim.h (EX_FN_NAME): _exc_ -> _ex_.
(SEM_INSN): New macro.

26 years agoSanitize m32rx from cpu.h and m32r-sim.h.
Doug Evans [Thu, 5 Feb 1998 21:16:08 +0000 (21:16 +0000)]
Sanitize m32rx from cpu.h and m32r-sim.h.

26 years ago * Makefile.in (m32r.o): Depend on cpu.h
Doug Evans [Thu, 5 Feb 1998 21:01:06 +0000 (21:01 +0000)]
* Makefile.in (m32r.o): Depend on cpu.h
(extract.o): Pass -DSCACHE_P.
* mloop.in (extract{16,32}): Update call to m32r_decode.
* arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate.
* extract.c,model.c,sem-switch.c,sem.c: Regenerate.
* sim-main.h: #include "ansidecl.h".
Don't include cpu-opc.h, done by arch.h.
start-sanitize-m32rx
* Makefile.in (M32RX_OBJS): Build m32rx support now.
(m32rx.o): New rule.
* m32r-sim.h (m32rx_h_cr_[gs]et): Define.
* m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC.
(m32rx_h_accums_get): New function.
* mloopx.in: Update call to m32rx_decode.  Rewrite exec loop.
* cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
end-sanitize-m32rx

26 years ago * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
Ian Lance Taylor [Thu, 5 Feb 1998 20:40:06 +0000 (20:40 +0000)]
* scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
From Thomas de Lellis <tdel@wrs.com>.

26 years ago * coff-i386.c (coff_pe_i386_relocate_section): New static function
Ian Lance Taylor [Thu, 5 Feb 1998 20:25:31 +0000 (20:25 +0000)]
* coff-i386.c (coff_pe_i386_relocate_section): New static function
if COFF_WITH_PE.
(coff_relocate_section): If COFF_WITH_PE, define as
coff_pe_i386_relocate_section.
* coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE,
skip empty sections, to match coff_write_object_contents.

26 years agoThu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Thu, 5 Feb 1998 20:13:58 +0000 (20:13 +0000)]
Thu Feb  5 11:57:06 1998  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * tracepoint.c (tracepoint_operation): call free_actions instead
        of free.  (free_actions): eliminate some memory leaks for actions.
        (validate_actionline): pass string arg by reference, so we can
        change the pointer.  Change all memrange collection arguments to
        canonical form (literal address and size), to enforce early
        evaluation.  Accept UNOP_MEMVAL (assembly variables) for
        trace collection.  (parse_and_eval_memrange): accept expressions
        for the address and size fields of a memrange (and evaluate
        them immediately).  (several places): use -1 instead of zero
        to distinguish an absolute memrange from a register-relative one.
        (encode_actions): add handling for UNOP_MEMVAL (assembly variable).

26 years agoDo not allow BFD_ALIGN to wrap
Michael Meissner [Thu, 5 Feb 1998 19:38:28 +0000 (19:38 +0000)]
Do not allow BFD_ALIGN to wrap

26 years agoDo not allow BFD_ALIGN to wrap
Michael Meissner [Thu, 5 Feb 1998 19:29:29 +0000 (19:29 +0000)]
Do not allow BFD_ALIGN to wrap

26 years ago * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
Ian Lance Taylor [Thu, 5 Feb 1998 17:50:44 +0000 (17:50 +0000)]
* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.

26 years ago * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
Ian Lance Taylor [Thu, 5 Feb 1998 17:45:32 +0000 (17:45 +0000)]
* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
* doc/Makefile.in: Likewise.

26 years ago * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
Ian Lance Taylor [Thu, 5 Feb 1998 17:24:24 +0000 (17:24 +0000)]
* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.

26 years ago * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend,
Ian Lance Taylor [Thu, 5 Feb 1998 16:52:22 +0000 (16:52 +0000)]
* elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend,
  rather than swapping out r_offset twice.  From Luke Deller
  <luked@cse.unsw.edu.au>.

26 years ago * Makefile.in (SFILES): add tracepoint.c.
Jason Molenda [Thu, 5 Feb 1998 01:47:26 +0000 (01:47 +0000)]
    * Makefile.in (SFILES): add tracepoint.c.
        (LINTFILES): add @CONFIG_SRCS@.
        (SOURCES): Ditto.
        * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
        * configure: Regenerated.

26 years agoWed Feb 4 16:53:58 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 5 Feb 1998 00:58:07 +0000 (00:58 +0000)]
Wed Feb  4 16:53:58 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: add target-gperf to noconfigdirs for Cygwin32.
        Fix typo in ming config comment.

26 years ago * configure.in: Set libtool_enable_shared rather than
Ian Lance Taylor [Thu, 5 Feb 1998 00:18:54 +0000 (00:18 +0000)]
* configure.in: Set libtool_enable_shared rather than
libtool_shared.  Remove diversion hack.
* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.

26 years ago * configure.in: Set libtool_enable_shared rather than
Ian Lance Taylor [Thu, 5 Feb 1998 00:16:01 +0000 (00:16 +0000)]
* configure.in: Set libtool_enable_shared rather than
libtool_shared.  Remove diversion hack.
* configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild
with new libtool.

26 years ago * ltconfig, ltmain.sh: Update from libtool 1.0h.
Ian Lance Taylor [Wed, 4 Feb 1998 23:56:46 +0000 (23:56 +0000)]
* ltconfig, ltmain.sh: Update from libtool 1.0h.

26 years agoAdd checks for side effects of instructions preventing their parallelisation.
Nick Clifton [Wed, 4 Feb 1998 23:44:58 +0000 (23:44 +0000)]
Add checks for side effects of instructions preventing their parallelisation.

26 years agoUpdated to match latest assembler output.
Nick Clifton [Wed, 4 Feb 1998 23:28:29 +0000 (23:28 +0000)]
Updated to match latest assembler output.

26 years agoApplied patch submitted by Jamie Smith <jsmith@teknema.demon.co.uk> to fix
Nick Clifton [Wed, 4 Feb 1998 23:26:03 +0000 (23:26 +0000)]
Applied patch submitted by Jamie Smith <jsmith@teknema.demon.co.uk> to fix
literal pool appearances instigated by macros.

26 years agoWed Feb 4 16:10:21 1998 Brent Baccala <baccala@freesoft.org>
Ian Lance Taylor [Wed, 4 Feb 1998 21:18:25 +0000 (21:18 +0000)]
Wed Feb  4 16:10:21 1998  Brent Baccala  <baccala@freesoft.org>

* syms.c (struct stab_cache): Define.
(struct stab_find_info): Remove cached_offset, cached_stab,
cached_str, and cached_stroff fields.  Add file_cache,
function_cache, and line_cache fields.
(_bfd_stab_section_find_nearest_line): Use extensive caching to
speed up searches.

26 years agoWed Feb 4 15:40:00 1998 Geoffrey Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Wed, 4 Feb 1998 20:42:29 +0000 (20:42 +0000)]
Wed Feb  4 15:40:00 1998  Geoffrey Keating  <geoffk@ozemail.com.au>

* gas/ppc/ppc.exp: New file.
* gas/ppc/astest.s, gas/ppc/astest.d: New test.
* gas/ppc/astest2.s, gas/ppc/astest2.d: New test.

26 years ago * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
Ian Lance Taylor [Wed, 4 Feb 1998 20:33:12 +0000 (20:33 +0000)]
* config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
a gas internal symbol is adjustable.

26 years ago * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
Ian Lance Taylor [Wed, 4 Feb 1998 20:29:30 +0000 (20:29 +0000)]
* config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
a gas internal symbol is adjustable.

26 years ago* Update configure: txvu-elf changed to dvp-elf.
Ian Carmichael [Wed, 4 Feb 1998 18:46:18 +0000 (18:46 +0000)]
* Update configure: txvu-elf changed to dvp-elf.

26 years ago* Make sim build under dvp-elf.
Ian Carmichael [Wed, 4 Feb 1998 18:43:15 +0000 (18:43 +0000)]
* Make sim build under dvp-elf.

26 years ago * peicode.h (pe_print_idata): Check for import of ordinal rather
Ian Lance Taylor [Wed, 4 Feb 1998 18:35:46 +0000 (18:35 +0000)]
* peicode.h (pe_print_idata): Check for import of ordinal rather
than name.
(pe_print_edata): If there is no .edata section, look for the
export data in some other section.

26 years ago * as.h: If gcc version greater than 2.6, use `__format__' and
Ian Lance Taylor [Wed, 4 Feb 1998 18:18:54 +0000 (18:18 +0000)]
* as.h: If gcc version greater than 2.6, use `__format__' and
`__printf__' in function attributes, rather than `format' and
`printf'.

26 years ago * Makefile.am (ld_new_LDADD): Remove @LEXLIB@.
Ian Lance Taylor [Wed, 4 Feb 1998 18:03:14 +0000 (18:03 +0000)]
* Makefile.am (ld_new_LDADD): Remove @LEXLIB@.
* Makefile.in: Rebuild.

26 years ago * cgen-opc.c (cgen_set_cpu): Initialize hardware table.
Doug Evans [Wed, 4 Feb 1998 01:54:47 +0000 (01:54 +0000)]
* cgen-opc.c (cgen_set_cpu): Initialize hardware table.
* m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Update.

26 years ago * cgen.h (CGEN_INSN_MAX_ATTRS): Renamed from CGEN_MAX_INSN_ATTRS.
Doug Evans [Wed, 4 Feb 1998 01:16:11 +0000 (01:16 +0000)]
* cgen.h (CGEN_INSN_MAX_ATTRS): Renamed from CGEN_MAX_INSN_ATTRS.
(CGEN_HW_ENTRY): Move `next' entry to end of struct.
(CGEN_KEYWORD_MAX_ATTRS): Renamed from CGEN_MAX_KEYWORD_ATTRS.
(CGEN_OPERAND_MAX_ATTRS): Renamed from CGEN_MAX_OPERAND_ATTRS.

26 years agoadd sanitization of m32rx PIPE attribute, redact can do this more cleanly
Doug Evans [Wed, 4 Feb 1998 01:05:07 +0000 (01:05 +0000)]
add sanitization of m32rx PIPE attribute, redact can do this more cleanly

26 years agoTue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
Ian Lance Taylor [Wed, 4 Feb 1998 00:45:10 +0000 (00:45 +0000)]
Tue Feb  3 14:25:25 1998  Brent Baccala  <baccala@freesoft.org>

* bbconv.pl: New file.
* Makefile.am (EXTRA_DIST): Add bbconv.pl.
* Makefile.in: Rebuild.

26 years agoTue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
Ian Lance Taylor [Wed, 4 Feb 1998 00:41:51 +0000 (00:41 +0000)]
Tue Feb  3 14:25:25 1998  Brent Baccala  <baccala@freesoft.org>

* gprof.texi: Extensive additions to document all arguments and
output formats.

26 years agoTue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
Ian Lance Taylor [Wed, 4 Feb 1998 00:30:48 +0000 (00:30 +0000)]
Tue Feb  3 14:25:25 1998  Brent Baccala  <baccala@freesoft.org>

* symtab.c (symtab_finalize): Prefer function symbols over line
symbols.
(dbg_sym_lookup): Correct debugging messages.

* gprof.c (main): --sum implies --line.

* cg_print.c (cg_print): When doing line by line profiling, don't
use a non-function as a main listing item.

* call_graph.c (cg_tally): When using line by line profiling, use
  the function symbol as the child.

* symtab.h (NBBS): Define.
(Sym): Add bb_addr and bb_calls fields.
* basic_blocks.c (bb_read_rec): Save multiple basic blocks per
symbol.
(bb_write_blocks): Adjust for multiple basic blocks per symbol.
(print_exec_counts): Don't check whether a symbol is the start of
a basic block.  Print all basic blocks for a symbol.
(annotate_with_count): Rewrite to print all basic block counts and
to pay attention to width argument.
(print_annotated_source): Don't check whether symbol is the start
of a basic block.

26 years ago * infptrace.c (child_resume): Don't try to step if
Jason Molenda [Wed, 4 Feb 1998 00:19:05 +0000 (00:19 +0000)]
    * infptrace.c (child_resume): Don't try to step if
        NO_SINGLE_STEP is defined.

Date: Tue, 3 Feb 1998 16:28:11 -0500
From: "Gordon W. Ross" <gwr@mc.com>
To: bug-gdb@prep.ai.mit.edu
Subject: gdb/infptrace.c

26 years agofix comment
Doug Evans [Tue, 3 Feb 1998 23:39:28 +0000 (23:39 +0000)]
fix comment

26 years agoTue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
Ian Lance Taylor [Tue, 3 Feb 1998 19:52:41 +0000 (19:52 +0000)]
Tue Feb  3 14:25:25 1998  Brent Baccala  <baccala@freesoft.org>

Make it possible to build a cross gprof, although a few cases are
still not handled:
* configure.in: Don't set MY_TARGET.
* gprof.h: Don't include MACHINE_H.  Don't define FOPEN_RB or
FOPEN_WB; just get them from sysdep.h.
* core.h (min_insn_size, offset_to_code): Declare.
* core.c (MIN_INSN_SIZE): Don't define.
(min_insn_size, offset_to_code): New variables.
(core_init): Initialize min_insn_size and offset_to_code.
(find_call): New function.
(core_create_line_syms): Don't use min_dist.  Set is_static in
pass 2.
* hist.c (UNITS_TO_CODE): Define.
* gprof.c (default_excluded_list): Add "__mcount_internal".
* gmon.h: Change TARGET_alpha to __alpha__.
* hertz.h: Ifdef MACH, define hertz as HZ.
* alpha.c (alpha_Instruction): Rename from Instruction.  Change
all references.
(alpha_find_call): Rename from find_call.
* alpha.h: Remove.
* dummy.c, dummy.h: Remove.
* i386.c (i386_iscall): Rename from iscall.  Change all
references.  Check for call instruction, not jump or lcall.
(i386_find_call): Rename from find_call.  Correct for VMA.
Correct call destination computation.  Don't dereference symbol if
it is NULL.
* i386.h: Remove.
* ns532.c, ns532.h: Remove.
* sparc.c (CALL): Define.
(sparc_find_call): Rename from find_call.
* sparc.h: Remove.
* tahoe.c: Include cg_arcs.h, core.h, hist.h, and symtab.h.  Don't
include time_host.h.
(CALLF, PC): Define.
(enum tahoe_opermodes, tahoe_operandenum): Define.  Rename all
references to opermodes or operandenum to these.
(tahoe_operandmode): Rename from operandmode.  Call abort if
switch does not return.
(tahoe_operandname): Rename from operandname.  Call abort if
switch does not return.
(tahoe_operandlength): Rename from operandlength.  Call abort if
switch does not return.
(tahoe_reladdr): Rename from reladdr.
(tahoe_find_call): Rename from find_call.  Use core_text_space
rather than textspace.
* tahoe.h: Remove.
* vax.c (CALLS, PC): Define.
(enum opermodes, operandenum, struct modebyte): Define.
(vax_operandmode): Rename from operandmode.  Call abort if switch
does not return.
(vax_operandname): Rename from operandname.  Call abort if switch
does not return.
(vax_operandlength): Rename from operandlength.  Call abort if
switch does not return.
(vax_reladdr): Rename from reladdr.
(vax_find_call): Rename from find_call.
* vax.h: Remove.
* Makefile.am (AUTOMAKE_OPTIONS): Set to cygnus.
(MY_TARGET): Remove.
(INCLUDES): Remove -DTARGET_$(MY_TARGET) and -DMACHINE_H=
\"$(MY_TARGET).h\".
(gprof_SOURCES): Add i386.c, alpha.c, vax.c, tahoe.c, sparc.c.
(gprof_DEPENDENCIES): Remove $(MY_TARGET).o.
(gprof_LDADD): Likewise.
(noinst_HEADERS): Remove alpha.h, i386.h, ns532.h, sparc.h,
tahoe.h, vax.h, dummy.h.
(EXTRA_DIST): Remove alpha.c, i386.c, ns532.c, sparc.c, tahoe.c,
vax.c, dummy.c.
($(OBJECTS)): Don't depend upon $(MY_TARGET).h.
($(MY_TARGET).o): Remove target.
(i386.o, alpha.o, vax.o, tahoe.o, sparc.o): New targets.
* configure, Makefile.in, aclocal.m4: Rebuild.

26 years agoIGEN - Replace IMEM (IMEM_IMMED) macro with IMEM<insn-size> macro,
Andrew Cagney [Tue, 3 Feb 1998 05:39:15 +0000 (05:39 +0000)]
IGEN - Replace IMEM (IMEM_IMMED) macro with IMEM<insn-size> macro,
update v850, tic80 and mips simulators.
IGEN - Prepend prefix to more generated symbols and macros
(idecode_issue, instruction_word).
IGEN - Add -Wnowith option to supress warnings about word size
inflicts in input files.
MIPS - Clean up Makefile.in, m16.igen, m16.dc (new), m16run.c (new) so
that a mips16 simulator built using IGEN can be compiled.

26 years ago * configure.in: Change version to 2.8.4.
Jason Molenda [Tue, 3 Feb 1998 04:09:26 +0000 (04:09 +0000)]
    * configure.in: Change version to 2.8.4.
        * configure: Regenerated.

GDB 4.17 is going to use BFD-2.8.3, so bump to 2.8.4 to avoid conflicts.

26 years ago * Makefile.in (VERSION): Bump to 4.16.2.
Jason Molenda [Tue, 3 Feb 1998 03:09:27 +0000 (03:09 +0000)]
    * Makefile.in (VERSION): Bump to 4.16.2.

as per HOW_TO_RELEASE

26 years agoAdd sim-main.h to v850e_files for sanitization.
Jason Molenda [Tue, 3 Feb 1998 01:37:25 +0000 (01:37 +0000)]
Add sim-main.h to v850e_files for sanitization.

26 years ago * gdbint.texinfo: Remove obsolete mentions of pinsn.c and opcode.h
Stan Shebs [Tue, 3 Feb 1998 01:21:29 +0000 (01:21 +0000)]
* gdbint.texinfo: Remove obsolete mentions of pinsn.c and opcode.h
  files, finish sorting of host vs target vs native macros, describe
  some more of them.

26 years ago* alpha-nat.c (fetch_aout_core_registers): Rename from
Richard Henderson [Tue, 3 Feb 1998 01:20:27 +0000 (01:20 +0000)]
* alpha-nat.c (fetch_aout_core_registers): Rename from
fetch_core_registers.
(fetch_elf_core_registers): New function.
(supply_gregset): Use ALPHA_REGSET_BASE.
(supply_fpregset): Likewise.
(fill_fpregset): Likewise.
(alpha_aout_core_fns): Rename from alpha_core_fns.
(alpha_elf_core_fns): New.
* config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o.
Disable MMALLOC.
* config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF.
(TARGET_ELF64): Likewise.
(ALPHA_REGSET_BASE): New.
* config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New.
* config/alpha/tm-alphalinux.h: Include tm-sysv4.h.

* solib.c (elf_locate_base): Add TARGET_ELF64 support.
(info_sharedlibary_command): Likewise.

* configure.host: Match alpha*.
* configure.tgt: Likewise.

26 years agoRemove unsanitized mention of v850e.
Jason Molenda [Tue, 3 Feb 1998 01:10:35 +0000 (01:10 +0000)]
Remove unsanitized mention of v850e.

26 years agoAdded m32rx sanitization.
Nick Clifton [Tue, 3 Feb 1998 01:08:35 +0000 (01:08 +0000)]
Added m32rx sanitization.

26 years agoMove devo/CYGNUS from keep_these_too to cygnus_files so that a generic
Jason Molenda [Tue, 3 Feb 1998 00:53:21 +0000 (00:53 +0000)]
Move devo/CYGNUS from keep_these_too to cygnus_files so that a generic
Sanitize w/o keep-cygnus will remove it.

(cf communication with shebs where rms complained that CYGNUS was showing
up in GDB snapshots.)

26 years agoMon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Ian Lance Taylor [Tue, 3 Feb 1998 00:37:20 +0000 (00:37 +0000)]
Mon Feb  2 19:34:54 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>

Add tms320c30 support:
* configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets.
* emulparams/tic30aout.sh: New file.
* emulparams/tic30coff.sh: New file.
* scripttempl/tic30aout.sc: New file.
* scripttempl/tic30coff.sc: New file.
* Makefile.am (ALL_EMULATIONS): Add etic30aout.o and
etic30coff.o.
(etic30aout.c, etic30coff.c): New targets.
* Makefile.in: Rebuild.

26 years agoMon Feb 2 19:22:15 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Ian Lance Taylor [Tue, 3 Feb 1998 00:25:05 +0000 (00:25 +0000)]
Mon Feb  2 19:22:15 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>

* tic30-dis.c: New file.
* disassemble.c (disassembler): Add bfd_arch_tic30 case.
* configure.in: Handle bfd_tic30_arch.
* Makefile.am: Rebuild dependencies.
(CFILES): Add tic30-dis.c
(ALL_MACHINES): Add tic30-dis.lo.
* configure, Makefile.in: Rebuild.

26 years agoMon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Ian Lance Taylor [Tue, 3 Feb 1998 00:17:20 +0000 (00:17 +0000)]
Mon Feb  2 18:30:34 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>

Add tms320c30 support:
* config/tc-tic30.h: New file.
* config/tc-tic30.c: New file.
* config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
TARGET_FORMAT as "coff-tic30".
* configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
* Makefile.am: Rebuild dependencies.
(CPU_TYPES): Add tic30.
(CPU_OBJ_VALID): tic30-aout is valid.
(TARGET_CPU_CFILES): Add config/tc-tic30.c.
(TARGET_CPU_HFILES): Add config/tc-tic30.h.
* configure, Makefile.in: Rebuild.

26 years agoImprove error reporting for PR14724
Nick Clifton [Mon, 2 Feb 1998 23:44:42 +0000 (23:44 +0000)]
Improve error reporting for PR14724

26 years ago * Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force
Ian Lance Taylor [Mon, 2 Feb 1998 22:49:54 +0000 (22:49 +0000)]
* Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force
make to reexamine the file timestamp.
($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise.

Mon Feb  2 17:39:39 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>

Add tms320c30 support:
* cpu-tic30.c: New file.
* aout-tic30.c: New file.
* coff-tic30.c: New file.
* archures.c (bfd_arch_tic30): Define.
(bfd_tic30_arch): Declare.
(bfd_archures_list): Add bfd_tic30_arch.
* targets.c (bfd_target_vector): Add tic30_aout_vec and
tic30_coff_vec.
* reloc.c (BFD_RELOC_TIC30_LDP): Define.
* coffcode.h (coff_set_arch_mach_hook): Add tic30 case.
(coff_set_flags): Likewise.
* config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets.
* configure.in (tic30_aout_vec, tic30_coff_vec): New vectors.
* Makefile.am: Rebuild dependencies.
(ALL_MACHINES): Add cpu-tic30.lo.
(ALL_MACHINES_CFILES): Add cpu-tic30.c.
(BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo.
(BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c.
* configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild.

26 years agoMon Feb 2 17:10:38 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Ian Lance Taylor [Mon, 2 Feb 1998 22:13:36 +0000 (22:13 +0000)]
Mon Feb  2 17:10:38 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>

* tic30.h: New file.

26 years agoAllow HI16_S reloc to lag behind LO16 reloc by a couple of instructions.
Nick Clifton [Mon, 2 Feb 1998 20:37:53 +0000 (20:37 +0000)]
Allow HI16_S reloc to lag behind LO16 reloc by a couple of instructions.

26 years ago * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.
Ian Lance Taylor [Mon, 2 Feb 1998 19:18:42 +0000 (19:18 +0000)]
* ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.

26 years ago * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from
Ian Lance Taylor [Mon, 2 Feb 1998 19:15:33 +0000 (19:15 +0000)]
* elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from
0x100000.

26 years ago * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
Ian Lance Taylor [Mon, 2 Feb 1998 19:14:33 +0000 (19:14 +0000)]
* configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
accept either ld.so or ld-linux.so.

26 years agoRemoved mulwhi-a mulwlo-a, macwhi-a, macwlo-a instructions.
Nick Clifton [Mon, 2 Feb 1998 19:07:04 +0000 (19:07 +0000)]
Removed mulwhi-a mulwlo-a, macwhi-a, macwlo-a instructions.

26 years agoImprovments to error message reporting for PR14720
Nick Clifton [Mon, 2 Feb 1998 18:22:20 +0000 (18:22 +0000)]
Improvments to error message reporting for PR14720

26 years agoMon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Mon, 2 Feb 1998 17:44:57 +0000 (17:44 +0000)]
Mon Feb  2 12:39:05 1998  Geoff Keating  <geoffk@ozemail.com.au>

* config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
  BFD_RELOC_HI16_S to store the high bits of any value.

* config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
(TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
assembler calculate relocations to any external symbol at all.
* config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
involving generation of pc-relative relocs.
(md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
has been moved to md_apply_fix3.

* config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
(ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
which actually means (the address of identifier's GOT entry) +
constant, which is not particularly useful.

26 years agoMake IGEN the generator for all but mips16 simulators.
Andrew Cagney [Mon, 2 Feb 1998 14:14:17 +0000 (14:14 +0000)]
Make IGEN the generator for all but mips16 simulators.
Clean up botched merge in interp.c:sim_open().

26 years agoAdd support for configuring the size of the floating point unit (fp_word).
Andrew Cagney [Mon, 2 Feb 1998 14:06:52 +0000 (14:06 +0000)]
Add support for configuring the size of the floating point unit (fp_word).
For mips, move fp_registers into a separate array of type fp_word[].

26 years agoRewrite the mipsI/II/III pending-slot code.
Andrew Cagney [Mon, 2 Feb 1998 13:49:17 +0000 (13:49 +0000)]
Rewrite the mipsI/II/III pending-slot code.

26 years agoAlways compile FP code (test for FP at run-time).
Andrew Cagney [Mon, 2 Feb 1998 08:25:33 +0000 (08:25 +0000)]
Always compile FP code (test for FP at run-time).
Remove dependance of interp.c on gencode.c's output.

26 years agoNew test - verify sdl insn.
Andrew Cagney [Mon, 2 Feb 1998 06:16:07 +0000 (06:16 +0000)]
New test - verify sdl insn.

26 years ago * gas/mips/4010.s: Pad test code out to a 16byte boundary.
Jeff Law [Mon, 2 Feb 1998 04:43:07 +0000 (04:43 +0000)]
    * gas/mips/4010.s: Pad test code out to a 16byte boundary.
        * gas/mips/4010.d: Corresponding changes.
        * gas/mips/4100.s: Pad test code out to a 16byte boundary.
        * gas/mips/4100.d: Corresponding changes.
        * gas/mips/4650.s: Pad test code out to a 16byte boundary.
        * gas/mips/4650.d: Corresponding changes.
start-sanitize-r5900
        * gas/mips/5900.s: Pad test code out to a 16byte boundary.
        * gas/mips/5900.d: Corresponding changes.
end-sanitize-r5900

To make mips-ecoff happy, which apparently pads out the sections...

26 years agomips: Add multi-processor support for r5900. Others might work.
Andrew Cagney [Sun, 1 Feb 1998 03:29:48 +0000 (03:29 +0000)]
mips: Add multi-processor support for r5900. Others might work.
common, igen: Fix MP related bugs.

26 years agoAdd config support for the size of the target address and OF cell.
Andrew Cagney [Sat, 31 Jan 1998 14:07:23 +0000 (14:07 +0000)]
Add config support for the size of the target address and OF cell.

26 years agomips - for r5900 generate igen simulator.
Andrew Cagney [Sat, 31 Jan 1998 06:56:13 +0000 (06:56 +0000)]
mips - for r5900 generate igen simulator.
igen - stop crash when simulator isn't multi-sim'ed

26 years agoSanitize away "*-windows*" host makefile frag when sanitizing
Fred Fish [Sat, 31 Jan 1998 06:25:12 +0000 (06:25 +0000)]
Sanitize away "*-windows*" host makefile frag when sanitizing
with --lose-mswin.

26 years agoigen: Fix SMP simulator generator support.
Andrew Cagney [Sat, 31 Jan 1998 06:23:41 +0000 (06:23 +0000)]
igen: Fix SMP simulator generator support.
Use the bfd-processor name in the sim-engine switch.
Add nr_cpus argument to sim_engine_run.
tic80, v850, d30v, mips, common:
Update
mips: Fill in bfd-processor field of model records so that
they match ../bfd/archures.

26 years agoMake --keep-mswin
Fred Fish [Sat, 31 Jan 1998 06:19:34 +0000 (06:19 +0000)]
Make --keep-mswin

26 years ago * Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name
Doug Evans [Sat, 31 Jan 1998 03:30:32 +0000 (03:30 +0000)]
* Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name
to transform.
* Makefile.in: Regenerate.

26 years ago * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name
Doug Evans [Sat, 31 Jan 1998 03:22:45 +0000 (03:22 +0000)]
* Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name
to transform.
* Makefile.in: Regenerate.

26 years agoconfig/tc-dvp.c (md_pcrel_from_section): Add offset to delay slot for
Doug Evans [Sat, 31 Jan 1998 02:51:33 +0000 (02:51 +0000)]
config/tc-dvp.c (md_pcrel_from_section): Add offset to delay slot for
undefined symbols.

26 years agoFri Jan 30 17:18:32 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Sat, 31 Jan 1998 01:23:12 +0000 (01:23 +0000)]
Fri Jan 30 17:18:32 1998  Geoffrey Noer  <noer@cygnus.com>
        * configure.in: Remove expect from noconfigdirs when target
        is cygwin32.  OK to build expect and dejagnu with Canadian
        Cross.

26 years agoFri Jan 30 19:15:17 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Sat, 31 Jan 1998 00:16:44 +0000 (00:16 +0000)]
Fri Jan 30 19:15:17 1998  Geoff Keating  <geoffk@ozemail.com.au>
* scripttempl/elfppc.sc: Put .dynsbss in .sbss.

26 years ago * elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true
Doug Evans [Sat, 31 Jan 1998 00:11:35 +0000 (00:11 +0000)]
* elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true
and partial_inplace=false.
(mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL.

26 years ago * elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true.
Doug Evans [Sat, 31 Jan 1998 00:11:34 +0000 (00:11 +0000)]
* elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true.
(mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL.

26 years agoFri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Sat, 31 Jan 1998 00:11:33 +0000 (00:11 +0000)]
Fri Jan 30 19:07:07 1998  Geoff Keating  <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure
to create .dynsbss and .rela.sbss sections.
(ppc_elf_adjust_dynamic_symbol): Put space for small data to be
copied from dynamic objects into .sbss.
(ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't
use it.  Correct typo of .rela.sdata2.
(ppc_elf_finish_dynamic_symbol): Generate reloc to where we
put the data, which may now be in .sbss.
(ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss.
(elf_backend_create_dynamic_sections): Define as
ppc_elf_create_dynamic_sections.
* elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs
against _GLOBAL_OFFSET_TABLE_.
  (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in
shared libraries which refer to local symbols.  Make sure that the
test for allocating space for a reloc in a shared object is the
same as the test for emitting a reloc.

26 years ago (md_pcrel_from_section): Add offset to delay slot for
Doug Evans [Sat, 31 Jan 1998 00:04:27 +0000 (00:04 +0000)]
(md_pcrel_from_section): Add offset to delay slot for
undefined symbols.

26 years agoImplement DMAcnt, DMAret & DMAend with explicit count args.
James Lemke [Sat, 31 Jan 1998 00:04:26 +0000 (00:04 +0000)]
Implement DMAcnt, DMAret & DMAend with explicit count args.

26 years agodon't build itcl libgui tk tix
Doug Evans [Fri, 30 Jan 1998 23:25:03 +0000 (23:25 +0000)]
don't build itcl libgui tk tix

26 years ago* dvp-opc.c, a bunch of little change to the instruction table to make
Ian Carmichael [Fri, 30 Jan 1998 22:42:04 +0000 (22:42 +0000)]
* dvp-opc.c, a bunch of little change to the instruction table to make
* it consistent with the SCE asmvu assembler (and inconsistent with the
* spec).

26 years ago * configure.in: Correct check for shared opcodes library.
Ian Lance Taylor [Fri, 30 Jan 1998 22:04:36 +0000 (22:04 +0000)]
* configure.in: Correct check for shared opcodes library.
* configure: Rebuild.

26 years agochangelog entries for gdb/13521.
David Taylor [Fri, 30 Jan 1998 21:11:53 +0000 (21:11 +0000)]
changelog entries for gdb/13521.

26 years agofix d30v and sky sanitization
Doug Evans [Fri, 30 Jan 1998 20:45:53 +0000 (20:45 +0000)]
fix d30v and sky sanitization

26 years agoChanges by Peter.Schauer to fix gdb/13521 -- gdb step command fails to step
David Taylor [Fri, 30 Jan 1998 20:33:43 +0000 (20:33 +0000)]
Changes by Peter.Schauer to fix gdb/13521 -- gdb step command fails to step
from a function in one dynamically linked library into a function in another
dynamically linked library.

26 years agotweak last dvp entry
Doug Evans [Fri, 30 Jan 1998 20:10:19 +0000 (20:10 +0000)]
tweak last dvp entry