binutils-gdb.git
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

26 years ago * config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
Doug Evans [Fri, 30 Jan 1998 20:02:46 +0000 (20:02 +0000)]
* config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
(md_parse_option): Handle them.
(md_show_usage): Print them.
(output_dma,output_pke): New static globals.
(md_begin): Initialize them to 1.
(assemble_pke): Handle -no-dma-pke.
(insert_file): Search include dir list.
(s_enddirect): Validate length if prespecified.
(s_endmpg): Likewise.  Handle -no-dma-pke.
(s_endunpack): Handle -no-dma-pke.

26 years ago * read.h (include_dirs): Declare.
Doug Evans [Fri, 30 Jan 1998 19:13:17 +0000 (19:13 +0000)]
* read.h (include_dirs): Declare.
(include_dir_count,include_dir_maxlen): Declare.

26 years ago * gas/mri/moveml.d: Add test comments, fix regexps.
Ian Lance Taylor [Fri, 30 Jan 1998 19:09:44 +0000 (19:09 +0000)]
* gas/mri/moveml.d: Add test comments, fix regexps.

26 years ago * listing.c (buffer_line): If we can't open the file, set at_end.
Ian Lance Taylor [Fri, 30 Jan 1998 19:06:39 +0000 (19:06 +0000)]
* listing.c (buffer_line): If we can't open the file, set at_end.
(listing_print): Remove unused local variable fi.

26 years ago * config/vms-conf.h: Don't undef VERSION.
Ian Lance Taylor [Fri, 30 Jan 1998 16:48:57 +0000 (16:48 +0000)]
* config/vms-conf.h: Don't undef VERSION.

26 years agoFri Jan 30 11:43:49 1998 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Fri, 30 Jan 1998 16:46:05 +0000 (16:46 +0000)]
Fri Jan 30 11:43:49 1998  H.J. Lu  <hjl@gnu.ai.mit.edu>
* Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets.
* Makefile.in: Rebuild.

26 years agoFix date in one entry.
Doug Evans [Fri, 30 Jan 1998 13:47:05 +0000 (13:47 +0000)]
Fix date in one entry.

26 years agofix typo in last change
Doug Evans [Fri, 30 Jan 1998 12:10:00 +0000 (12:10 +0000)]
fix typo in last change

26 years ago * config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
Doug Evans [Fri, 30 Jan 1998 12:01:27 +0000 (12:01 +0000)]
* config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
(md_parse_option): Handle them.
(md_show_usage): Print them.
(output_dma,output_pke): New static globals.
(md_begin): Initialize them to 1.
(assemble_pke): Handle -no-dma-pke.
(insert_file): Search include dir list.
(s_enddirect): Validate length if prespecified.
(s_endmpg): Likewise.  Handle -no-dma-pke.
(s_endunpack): Handle -no-dma-pke.

26 years ago * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
Stan Shebs [Fri, 30 Jan 1998 03:54:54 +0000 (03:54 +0000)]
* coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
never be defined.
* dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
Remove, no longer needed.
* hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
* config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
* config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
* config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
Cruft discovered while working on GDB internals manual

26 years ago* Fix MAXi encoding, Fix pkemscal/pkemscalf order.
Ian Carmichael [Fri, 30 Jan 1998 02:05:05 +0000 (02:05 +0000)]
* Fix MAXi encoding, Fix pkemscal/pkemscalf order.

26 years ago(print_insn_little_mips): tweak dvp support.
Doug Evans [Fri, 30 Jan 1998 01:15:06 +0000 (01:15 +0000)]
(print_insn_little_mips): tweak dvp support.

26 years ago * config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
Doug Evans [Thu, 29 Jan 1998 21:39:53 +0000 (21:39 +0000)]
* config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
(m32rx support): only include #ifdef HAVE_CPU_M32RX.

26 years ago * gas/m32r/{allinsn,high-1}.d: Allow # constant prefix to be missing.
Doug Evans [Thu, 29 Jan 1998 21:36:38 +0000 (21:36 +0000)]
* gas/m32r/{allinsn,high-1}.d: Allow # constant prefix to be missing.

26 years agoThu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu>
Ian Lance Taylor [Thu, 29 Jan 1998 21:31:11 +0000 (21:31 +0000)]
Thu Jan 29 16:24:04 1998  Mumit Khan  <khan@xraylith.wisc.edu>
* dlltool.c: Define exit status macros for _WIN32 but not
__CYGWIN32__.
(gen_lib_file): Check for exit status of unlink.
* resrc.c: Define popen and pclose if _WIN32 but not
__CYGWIN32__.

26 years agoThu Jan 29 16:04:21 1998 Mumit Khan <khan@xraylith.wisc.edu>
Ian Lance Taylor [Thu, 29 Jan 1998 21:11:10 +0000 (21:11 +0000)]
Thu Jan 29 16:04:21 1998  Mumit Khan  <khan@xraylith.wisc.edu>
* ldfile.c (slash): Set to backslash if _WIN32 but not
__CYGWIN32__.
(ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a
leading backslash or a leading x: as an absolute path.
(ldfile_find_command_file): Use slash rather than / when
generating name to try.
* lexsup.c (PATH_SEPARATOR): Define.
(set_default_dirlist): Use PATH_SEPARATOR rather than ':'.

26 years ago * m32r-opc.h (HAVE_CPU_M32R): Define.
Doug Evans [Thu, 29 Jan 1998 21:04:25 +0000 (21:04 +0000)]
* m32r-opc.h (HAVE_CPU_M32R): Define.

26 years ago * Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
Doug Evans [Thu, 29 Jan 1998 21:03:41 +0000 (21:03 +0000)]
* Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
* arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h.
* arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.

26 years ago * elf32-mips.c: Add dvp support.
Doug Evans [Thu, 29 Jan 1998 20:58:50 +0000 (20:58 +0000)]
* elf32-mips.c: Add dvp support.

26 years agoThu Jan 29 15:55:35 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
Ian Lance Taylor [Thu, 29 Jan 1998 20:58:49 +0000 (20:58 +0000)]
Thu Jan 29 15:55:35 1998  J.J. van der Heijden  <J.J.vanderHeijden@student.utwente.nl>
* config.bfd (i[3456]-*-mingw32*): New target.
* acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32.
* aclocal.m4, configure: Rebuild.

26 years agoThu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
Ian Lance Taylor [Thu, 29 Jan 1998 19:48:18 +0000 (19:48 +0000)]
Thu Jan 29 14:42:44 1998  Pat Rankin  <rankin@eql.caltech.edu>
* Makefile.am (CONFIG_OBJS): New variable, containing part of old
OBJS variable.
(GENERIC_OBJS): New variable, with the rest of the old OBJS
variable.
(OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
($(srcdir)/make-gas.com): Rename from make-gas.com.
(stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
(EXTRA_DIST): Define.
* vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
explicitly rather than via the list of object files.
(gcc-as.opt): New file created when make-gas.com is run.
* config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
itbl-cpu.h} to #include appropriate file rather than copying that
file.
* config/vms-conf.h: Synchronize with current config.in.
* Makefile.in: Rebuild.

26 years agoadd more direct/unpack code
Doug Evans [Thu, 29 Jan 1998 19:37:59 +0000 (19:37 +0000)]
add more direct/unpack code

26 years ago * Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
Doug Evans [Thu, 29 Jan 1998 19:25:37 +0000 (19:25 +0000)]
* Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
* arch.h (HAVE_CPU_M32RX): Likewise.
* arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.

26 years agoOops. forgot to add the moved files.
Richard Henderson [Thu, 29 Jan 1998 17:51:56 +0000 (17:51 +0000)]
Oops. forgot to add the moved files.

26 years ago* gas/m68k/mri_moveml.[sd]: Moved to ...
Richard Henderson [Thu, 29 Jan 1998 17:44:48 +0000 (17:44 +0000)]
* gas/m68k/mri_moveml.[sd]: Moved to ...
* gas/mri/moveml.[sd]: ... here.
* gas/mri/mri.exp: Run it.

26 years ago * config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
Doug Evans [Thu, 29 Jan 1998 17:27:49 +0000 (17:27 +0000)]
* config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
(m32rx support): only include #ifdef HAVE_CPU_M32RX.

26 years agoFuxed sanitization (again!)
Nick Clifton [Thu, 29 Jan 1998 17:27:48 +0000 (17:27 +0000)]
Fuxed sanitization (again!)

26 years agoremove sky stuff from elf32-mips.c
Doug Evans [Thu, 29 Jan 1998 17:17:15 +0000 (17:17 +0000)]
remove sky stuff from elf32-mips.c

26 years agocheckpoint
Doug Evans [Thu, 29 Jan 1998 17:06:52 +0000 (17:06 +0000)]
checkpoint

26 years agocheckpoint
Doug Evans [Thu, 29 Jan 1998 13:22:46 +0000 (13:22 +0000)]
checkpoint

26 years agocheckpoint
Doug Evans [Thu, 29 Jan 1998 12:37:45 +0000 (12:37 +0000)]
checkpoint

26 years ago * cgen.sh: Portably read parms past $9.
Doug Evans [Thu, 29 Jan 1998 12:14:10 +0000 (12:14 +0000)]
* cgen.sh: Portably read parms past $9.

26 years agotxvu support moved into mips [as dvp]
Doug Evans [Thu, 29 Jan 1998 10:19:35 +0000 (10:19 +0000)]
txvu support moved into mips [as dvp]

26 years agorebuild
Ian Lance Taylor [Thu, 29 Jan 1998 04:41:00 +0000 (04:41 +0000)]
rebuild

26 years ago * dvp/dvp.exp: New file.
Doug Evans [Thu, 29 Jan 1998 01:33:53 +0000 (01:33 +0000)]
* dvp/dvp.exp: New file.
* dvp/{basic-1,br-1,upper-1,lower-1,pke-1}.[sd]: New testcases.

26 years agofix typo
Doug Evans [Thu, 29 Jan 1998 00:52:33 +0000 (00:52 +0000)]
fix typo

26 years agoSanitization fixes.
Nick Clifton [Thu, 29 Jan 1998 00:41:46 +0000 (00:41 +0000)]
Sanitization fixes.