external/binutils.git
28 years ago * config/tc-m68k.c (m68k_float_copnum): New static variable.
Ian Lance Taylor [Wed, 9 Aug 1995 19:32:49 +0000 (19:32 +0000)]
* config/tc-m68k.c (m68k_float_copnum): New static variable.
(md_pseudo_table): Add fopt and mask2.
(m68k_ip): Use m68k_float_copnum, not COPNUM, when setting
coprocessor register to use.  In case 'I' when checking operands,
correct coprocessor register numbers.  In case 'I' when setting
operands, don't add 1.
(s_fopt): New static function.
* config/m68k-parse.h (COPNUM): Don't define.

28 years ago * listing.c (listing_psize): Treat argument as indicating whether
Ian Lance Taylor [Wed, 9 Aug 1995 19:32:03 +0000 (19:32 +0000)]
* listing.c (listing_psize): Treat argument as indicating whether
a height is expected.

28 years agoFix typo in changelog entry.
Jeff Law [Wed, 9 Aug 1995 18:59:48 +0000 (18:59 +0000)]
Fix typo in changelog entry.

28 years ago * configure.in (powerpc-*-aix*): Recognize as a new gdb host
Jeff Law [Wed, 9 Aug 1995 18:53:41 +0000 (18:53 +0000)]
     * configure.in (powerpc-*-aix*): Recognize as a new gdb host
         and target.
         (powerpc-*-eabi*): Don't set configdirs.
         (powerpcle-*-eabi*0: Likewise.
         * configure: Updated.
         * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses
         for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is
         defined.
         * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments
         for powerpc running aix4.
         * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target
         and host include files for powerpc running aix4.

More of Mike's powerpc work + minor changes.

28 years agoAdd ChangeLog entry for accidental checkin of read.c.
Ian Lance Taylor [Wed, 9 Aug 1995 15:44:05 +0000 (15:44 +0000)]
Add ChangeLog entry for accidental checkin of read.c.

28 years ago * top.c (target_output_hook): Really make it match defs.h (char *
Stan Shebs [Wed, 9 Aug 1995 15:16:33 +0000 (15:16 +0000)]
* top.c (target_output_hook): Really make it match defs.h (char *
is not the same as unsigned char *).

28 years ago * configure.in: Move random special target handling before
Ian Lance Taylor [Wed, 9 Aug 1995 14:53:21 +0000 (14:53 +0000)]
* configure.in: Move random special target handling before
possible break.
* configure: Rebuild.

28 years agoTue Aug 8 23:41:25 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Wed, 9 Aug 1995 03:46:15 +0000 (03:46 +0000)]
Tue Aug  8 23:41:25 1995  Alan Modra  <alan@spri.levels.unisa.edu.au>

* configure.in: Consistently use ${target_cpu_type} rather than
${cpu_type} after the loop.
* configure: Rebuild.
* Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than
@cpu_type@.

28 years ago* expr.h (operatorT): Remove comma after last enumerator value.
Ken Raeburn [Wed, 9 Aug 1995 01:44:02 +0000 (01:44 +0000)]
* expr.h (operatorT): Remove comma after last enumerator value.

28 years agoyet more vms work from pat rankin
Ken Raeburn [Wed, 9 Aug 1995 01:39:47 +0000 (01:39 +0000)]
yet more vms work from pat rankin

28 years ago* as.h (alloca): If __STDC__, declare void* instead of char*.
Ken Raeburn [Wed, 9 Aug 1995 01:16:09 +0000 (01:16 +0000)]
* as.h (alloca): If __STDC__, declare void* instead of char*.

28 years ago * dlltool.c (mtable): New fields.
Steve Chamberlain [Wed, 9 Aug 1995 00:12:18 +0000 (00:12 +0000)]
* dlltool.c (mtable): New fields.
(ASM_RVA_BEFORE, ASM_RVA_AFTER): New.
(flush_page, gen_lib_file): Use new macros.

28 years agoTue Aug 8 16:34:57 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Tue, 8 Aug 1995 23:54:27 +0000 (23:54 +0000)]
Tue Aug  8 16:34:57 1995  steve chamberlain  <sac@slash.cygnus.com>

* cofflink.c (_bfd_coff_generic_relocate_section): Remove most
of special case stuff for PE.  Now handled by relocs.
* coff-i386.c (coff_i386_reloc): Special case of PE type 7s.
(howto_table): Type 7 is dir32-rva.

28 years ago* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc instead of
Ken Raeburn [Tue, 8 Aug 1995 23:31:28 +0000 (23:31 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc instead of
alloca.

28 years ago* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use
J.T. Conklin [Tue, 8 Aug 1995 22:25:36 +0000 (22:25 +0000)]
* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use
$r/../gcc/xgcc unless it is present.

28 years ago* Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc
J.T. Conklin [Tue, 8 Aug 1995 22:15:20 +0000 (22:15 +0000)]
* Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc
unless it is present.

28 years ago * binutils-all/objcopy.exp: Add setup_xfail for a29k-*-vxworks*
Ian Lance Taylor [Tue, 8 Aug 1995 21:49:12 +0000 (21:49 +0000)]
* binutils-all/objcopy.exp: Add setup_xfail for a29k-*-vxworks*
for simple copy test.

28 years ago * config/tc-m68k.c (archs): Add 68ec000, 68hc000, 68hc001,
Ian Lance Taylor [Tue, 8 Aug 1995 21:46:37 +0000 (21:46 +0000)]
* config/tc-m68k.c (archs): Add 68ec000, 68hc000, 68hc001,
68ec020, 68ec030, 68ec040, and 68330.
(md_pseudo_table): Add chip and comline.
(m68k_init_after_args): Use strcasecmp when comparing default_cpu
against architectures.
(mri_chip, s_chip): New static functions.

28 years ago * gas/mri/common.s, gas/mri/common.d: New test.
Ian Lance Taylor [Tue, 8 Aug 1995 21:41:52 +0000 (21:41 +0000)]
* gas/mri/common.s, gas/mri/common.d: New test.
* gas/mri/mri.exp: Run it.

28 years ago * struc-symbol.h (struct symbol): Add sy_mri_common bit.
Ian Lance Taylor [Tue, 8 Aug 1995 21:41:30 +0000 (21:41 +0000)]
* struc-symbol.h (struct symbol): Add sy_mri_common bit.
* read.h (mri_comon_symbol): Declare.
(s_mri_common): Declare.
* read.c (mri_line_label): New static variable.
(mri_common_symbol): New global variable.
(potable): Add "common" and "common.s".
(read_a_source_file): In MRI mode, set mri_line_label for a label
at the start of a line.
(s_mri_common): New function.
(s_space): Handle mri_common_symbol.
* symbols.c (colon): Change return value from void to symbolS *,
and return new symbol.  If mri_common_symbol is set, attach the
new symbol to it.
(resolve_symbol_value): Handle an sy_mri_common symbol.
* symbols.h (colon): Change return value in declaration.
* subsegs.c (subseg_set_rest): Clear mri_common_symbol.
(subseg_set (both versions)): Likewise.
* frags.c (frag_more): Warn if mri_common_symbol is not NULL.
* write.c (adjust_reloc_syms): Skip sy_mri_common symbols.
(write_object_file): Discard sy_mri_common symbols.
(fixup_segment): Change relocations against sy_mri_common symbols
to be against the common symbol itself.
* config/obj-coff.c (yank_symbols): Discard sy_mri_common symbols.
(fixup_segment): Change relocations against sy_mri_common symbols
to be against the common symbol itself.
* config/obj-aout.c (obj_crawl_symbol_chain): Discard
sy_mri_common symbols.

28 years ago * top.c (target_output_hook): Make declaration match the one
Jeff Law [Tue, 8 Aug 1995 18:01:46 +0000 (18:01 +0000)]
    * top.c (target_output_hook): Make declaration match the one
        in defs.h.

28 years ago * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.
Jeff Law [Tue, 8 Aug 1995 17:53:58 +0000 (17:53 +0000)]
    * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.
        (add_psymbol_addr_to_list): Likewise.
        * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise.

28 years ago * configure.host: Recognize aix4 explicitly.
Jeff Law [Tue, 8 Aug 1995 17:31:52 +0000 (17:31 +0000)]
    * configure.host: Recognize aix4 explicitly.
        * rs6000-core.c (CORE_DATA_SIZE_FIELD): New macro to get a the size
        of a core dump's data section.  Provide alternate definition for aix4.
        (SAVE_FIELD): Similarly for save state field (register info).
        (STACK_END_ADDR): Provide definition suitable for aix4.
        * config/{aix4.mh,aix4.mt}: New configuration files.
        * hosts/aix4.h: Likewise.

Mike's aix4 changes, slightly modified.

28 years ago * doc/c-m68k.texi: Add documentation for CPU specific options, and
Ian Lance Taylor [Tue, 8 Aug 1995 17:12:22 +0000 (17:12 +0000)]
* doc/c-m68k.texi: Add documentation for CPU specific options, and
for Motorola syntax.

28 years ago * config/m68k-parse.y (motorola_operand): For (%pc), set mode to
Ian Lance Taylor [Tue, 8 Aug 1995 17:09:10 +0000 (17:09 +0000)]
* config/m68k-parse.y (motorola_operand): For (%pc), set mode to
DISP, not BASE.

28 years ago* write.c (relax_align): Add extra padding for linkrelax only if
Ken Raeburn [Tue, 8 Aug 1995 06:54:30 +0000 (06:54 +0000)]
* write.c (relax_align): Add extra padding for linkrelax only if
LINKER_RELAXING_SHRINKS_ONLY is defined.
* config/tc-i960.h (LINKER_RELAXING_SHRINKS_ONLY): Define it.
* doc/internals.texi (Relaxation): Write up some stuff on linker relaxing and
LINKER_RELAXING_SHRINKS_ONLY.

28 years ago * gas/mri/mri.exp: Add setup_xfail for a29k*-*-* for constants
Ian Lance Taylor [Tue, 8 Aug 1995 03:48:22 +0000 (03:48 +0000)]
* gas/mri/mri.exp: Add setup_xfail for a29k*-*-* for constants
test.

28 years ago * gasp/crash1.out, gasp/macro.out, gasp/sfunc.out: Complete
Ian Lance Taylor [Tue, 8 Aug 1995 03:38:59 +0000 (03:38 +0000)]
* gasp/crash1.out, gasp/macro.out, gasp/sfunc.out: Complete
truncated files, so that the tests pass.

28 years agoMove testsuite ChangeLog entries to testsuite/ChangeLog.
Ian Lance Taylor [Tue, 8 Aug 1995 03:35:44 +0000 (03:35 +0000)]
Move testsuite ChangeLog entries to testsuite/ChangeLog.

28 years ago * gas/mri/mri.exp: Add setup_xfail for hppa*-*-* for equ,
Ian Lance Taylor [Tue, 8 Aug 1995 03:22:47 +0000 (03:22 +0000)]
* gas/mri/mri.exp: Add setup_xfail for hppa*-*-* for equ,
constants, and expr.

28 years ago * gas/m68k/all.exp: Run schwab test on hpux*, not just hpux. Run
Ian Lance Taylor [Tue, 8 Aug 1995 03:17:41 +0000 (03:17 +0000)]
* gas/m68k/all.exp: Run schwab test on hpux*, not just hpux.  Run
on vxworks*, not just vxworks5.1.

28 years ago * som.c (som_bfd_copy_private_symbol_data): Cast initializations
Ian Lance Taylor [Tue, 8 Aug 1995 03:05:16 +0000 (03:05 +0000)]
* som.c (som_bfd_copy_private_symbol_data): Cast initializations
to avoid warnings.

28 years ago * lib/gas-defs.exp (fail_phase, pass_phase): Remove.
Ian Lance Taylor [Tue, 8 Aug 1995 02:56:44 +0000 (02:56 +0000)]
* lib/gas-defs.exp (fail_phase, pass_phase): Remove.
(run_dump_test): Just call pass or fail.

28 years ago * gas/m68k/operands.s, gas/m68k/operands.d: New test.
Ian Lance Taylor [Tue, 8 Aug 1995 02:43:30 +0000 (02:43 +0000)]
* gas/m68k/operands.s, gas/m68k/operands.d: New test.
* gas/m68k/op68000.d: New test.
* gas/m68k/cas.s, gas/m68k/cas.d: New test.
* gas/m68k/bitfield.s, gas/m68k/bitfield.d: New test.
* gas/m68k/schwab.d: Run objdump with -j .text.  Adjust for
changes to disassembler.
* gas/m68k/all.exp: Run new tests.  Run schwab test for
m68k-*-coff*.

28 years ago * config/m68k-parse.y: New file: bison grammar for m68k operands,
Ian Lance Taylor [Tue, 8 Aug 1995 02:36:10 +0000 (02:36 +0000)]
* config/m68k-parse.y: New file: bison grammar for m68k operands,
including support for Motorola syntax.
* config/m68k-parse.h: New file; definitions shared between
m68k-parse.y and tc-m68k.c.
* config/tc-m68k.c: Include m68k-parse.h.
(enum operand_type): Move to m68k-parse.h, where it is named
m68k_operand_type.  Rename all uses.  Rearrange somewhat.  Add
FPREG.  Rename AOFF to DISP.  Rename AINDX to BASE.  Rename APODX
to POST.  Rename APRDX to PRE.  Remove AMIND.  Rename MSCR to
CONTROL.  Remove DINDR.
(struct m68k_exp): Move to m68k-parse.h.  Remove e_beg, e_end and
e_seg fields.  Rename e_exp to exp.  Rename e_siz to size, and
change type to enum m68k_size.  Change all uses.
(enum _register): Move to m68k-parse.h, where it is named
m68k_register.  Rename all uses.  Add ZDATA0-7 and ZADDR0-7.
(struct m68k_op): Move to m68k-parse.h.  Change all fields.
(seg): Don't define.
(add_exp): Remove.
(FAIL, OK): Remove.
(m68k_reg_parse): Move to m68k-parse.y, and rewrite.
(SKIP_WHITE, SKIP_W): Remove.
(try_moto_index, try_index): Remove.
(m68k_ip_op): Move to m68k-parse.y, and rewrite to use grammar.
(main): Remove obsolete test function.
(m68k_ip): Extensive changes to use new grammar.
(get_regs): Remove.
(crack_operand): m68k_ip_op now returns 0 on success.
(init_table): Add ssp, zd0-7 and za0-7.
(md_assemble): Make er const.  Correct loop over operands when
looking for error message.
(md_begin): Set alt_notend_table for '(' and '@'.
(get_num): Expression is already parsed.  Don't set seg.
* configure.in: If cpu_type is m68k, put m68k-parse.o in
extra-objects.
* configure: Rebuild.
* Makefile.in (DISTSTUFF): Add m68k-parse.c.
(BISON): Use ../bison/bison if it exists.
(BISONFLAGS): Define as empty.
(TARG_CPU_DEP_m68k): Depend upon $(srcdir)/config/m68k-parse.h.
(m68k-parse.c, m68k-parse.o): New targets.

28 years ago * top.c (target_output_hook): New definition.
Steve Chamberlain [Mon, 7 Aug 1995 22:42:19 +0000 (22:42 +0000)]
* top.c (target_output_hook): New definition.

28 years ago * stack.c (gdb_string.h): Include after defs.h
Steve Chamberlain [Mon, 7 Aug 1995 22:39:00 +0000 (22:39 +0000)]
* stack.c (gdb_string.h): Include after defs.h
* defs.h (target_output_hook): New declaration.
* source.c (mod_path): Fix Win32 \ handling.

28 years ago * som.c (som_decode_symclass): Handle absolute symbols by checking
Jeff Law [Mon, 7 Aug 1995 20:53:29 +0000 (20:53 +0000)]
* som.c (som_decode_symclass): Handle absolute symbols by checking
the SOM type (since they will rarely if ever be in the absolute
section).

Something Ian noticed.

28 years ago * m68k-dis.c: (fpcr_names): Add % before all register names.
Ian Lance Taylor [Mon, 7 Aug 1995 20:22:13 +0000 (20:22 +0000)]
* m68k-dis.c: (fpcr_names): Add % before all register names.
(reg_names): Likewise.
(print_insn_arg): Don't explicitly print % before register names.
Add % before register names in static array names.  In case 'r',
print data registers as `@(Dn)', not `Dn@'.  When printing a
memory address, don't print @# before it.
(print_indexed): Change base_disp and outer_disp from int to
bfd_vma.  Print using MIT syntax, not mutant invalid Motorola
syntax.  Sign extend 8 byte displacement correctly.
(print_base): Print using MIT syntax.  Print zpc when appropriate.
Change parameter disp from int to bfd_vma.

28 years ago * configure.in (i386-go32 host): Fix typo (deja-gnu -> dejagnu).
David Edelsohn [Mon, 7 Aug 1995 16:24:42 +0000 (16:24 +0000)]
* configure.in (i386-go32 host): Fix typo (deja-gnu -> dejagnu).
(i386-win32 host): Likewise.  Don't build readline.

28 years ago * gas/sh/*: New tests for the hitachi-sh.
Jeff Law [Mon, 7 Aug 1995 09:04:27 +0000 (09:04 +0000)]
* gas/sh/*: New tests for the hitachi-sh.

Sanitized away for now...

28 years ago * config/tc-sh.c (parse_reg): Handle new FP registers.
Jeff Law [Mon, 7 Aug 1995 08:58:12 +0000 (08:58 +0000)]
* config/tc-sh.c (parse_reg): Handle new FP registers.
(get_specific): Handle new operand types.

Sanitized away for now.

28 years ago * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
Jeff Law [Mon, 7 Aug 1995 08:48:22 +0000 (08:48 +0000)]
* gdb.disasm/sh3.s: Source for sh3 disassembler tests.
* gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
* gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
* gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.

sh3e disassembler tests.  Sanitized out for now.

28 years ago * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
Jeff Law [Mon, 7 Aug 1995 08:39:42 +0000 (08:39 +0000)]
    * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
        F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
        * sh-opc.h (sh_arg_type): Add new operand types.
        (sh_table): Add new opcodes from SH3E Floating Point ISA.

sh3e stuff.  Sanitized out for now.

28 years ago * gdb.base/corefile.exp: Change xfail for backtrace in
Fred Fish [Mon, 7 Aug 1995 07:20:02 +0000 (07:20 +0000)]
* gdb.base/corefile.exp:  Change xfail for backtrace in
corefile.exp from linuxaout to all linux.
* gdb.base/sigall.exp (test_one_sig):  Specifically deal with
cases where we miss the breakpoint at the signal handler
for some reason.  Setup xfail for linuxoldld/linuxaout and
getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
hitting SIGURG breakpoint.
* gdb.base/signals.exp:  Setup xfail for "next" acting like
continue to add linuxoldld.  Setup xfail for all linux for
"next to handler in signals_tests_1", "backtrace in
signals_tests_1", "continue to func1", "pass SIGUSR1",
and continue to handler".

28 years ago * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
Jeff Law [Mon, 7 Aug 1995 04:17:24 +0000 (04:17 +0000)]
* hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
out of a long branch stub.

hpux10 _start is incorrectly marked as a long-branch stub.

28 years ago * Makefile.in (GDBTK_SUPPORT_DIRS): Define and pass as part of
Fred Fish [Sun, 6 Aug 1995 19:18:27 +0000 (19:18 +0000)]
* Makefile.in (GDBTK_SUPPORT_DIRS):  Define and pass as part of
SUPPORT_FILES to submakes.

28 years agoRemove traces of gdbtk from Makefile.in if --lose-gdbtk arg seen.
Fred Fish [Sun, 6 Aug 1995 19:16:15 +0000 (19:16 +0000)]
Remove traces of gdbtk from Makefile.in if --lose-gdbtk arg seen.

28 years ago * objcopy.c (mark_symbols_used_in_relocations): Handle sections
Jeff Law [Sat, 5 Aug 1995 06:18:31 +0000 (06:18 +0000)]
* objcopy.c (mark_symbols_used_in_relocations): Handle sections
with no relocations.
* coffgrok.c (do_sections_p1): Likewise.

Fix for net bug.

28 years ago * som (som_get_reloc_upper_bound): Return -1 on error. Compute
Jeff Law [Sat, 5 Aug 1995 06:07:33 +0000 (06:07 +0000)]
* som (som_get_reloc_upper_bound): Return -1 on error.  Compute
return value with sizeof (arelent *), not sizeof (arelent).

Net bug and something I noticed while fixing it.

28 years ago * ch-exp.y (write_lower_upper_value): Add prototype so bison
Fred Fish [Sat, 5 Aug 1995 01:13:26 +0000 (01:13 +0000)]
* ch-exp.y (write_lower_upper_value):  Add prototype so bison
generated parser will insert prototype before first func usage.
Bison and byacc order the output sections differently.  Also
make function static.

28 years ago * Makefile.in (GDB_SUPPORT_DIRS): Add utils.
Fred Fish [Sat, 5 Aug 1995 01:04:06 +0000 (01:04 +0000)]
* Makefile.in (GDB_SUPPORT_DIRS): Add utils.
(DEVO_SUPPORT): Add mpw-README, mpw-build.in, mpw-config.h and
mpw-configure.

28 years ago * xcoffread.c (process_linenos): Fix typo in last change.
Jeff Law [Fri, 4 Aug 1995 20:40:44 +0000 (20:40 +0000)]
    * xcoffread.c (process_linenos): Fix typo in last change.

28 years agoLose EST-only files (now part of generic m68k monitor config)
Stan Shebs [Fri, 4 Aug 1995 00:47:13 +0000 (00:47 +0000)]
Lose EST-only files (now part of generic m68k monitor config)

28 years agoDocument FSF address updating of all files with FSF addresses,
Fred Fish [Thu, 3 Aug 1995 18:42:27 +0000 (18:42 +0000)]
Document FSF address updating of all files with FSF addresses,
except for the COPYING* files.

28 years agoRemove Sanitize reference.
Fred Fish [Thu, 3 Aug 1995 17:07:55 +0000 (17:07 +0000)]
Remove Sanitize reference.

28 years agoAdd ChangeLog, pr-5984.ch, pr-5984.exp.
Fred Fish [Thu, 3 Aug 1995 17:07:16 +0000 (17:07 +0000)]
Add ChangeLog, pr-5984.ch, pr-5984.exp.

28 years agoAdd hppro.exp, monitor.exp.
Fred Fish [Thu, 3 Aug 1995 17:06:45 +0000 (17:06 +0000)]
Add hppro.exp, monitor.exp.

28 years agoRemove keep-chill stuff from .Sanitize and add gdb.chill to things to
Fred Fish [Thu, 3 Aug 1995 16:56:36 +0000 (16:56 +0000)]
Remove keep-chill stuff from .Sanitize and add gdb.chill to things to
keep.  Remove sanitize references in ChangeLog.  Remove start/end
sanitize-chill lines in Makefile.in.

28 years agoAdd configure to r16_files and arc_files in .Sanitize
Fred Fish [Thu, 3 Aug 1995 16:48:48 +0000 (16:48 +0000)]
Add configure to r16_files and arc_files in .Sanitize
Remove references to .Sanitize in ChangeLogs, start updating
always sanitized away file HOW_TO_RELEASE.

28 years agoRemove reference to config/.Sanitize
Fred Fish [Thu, 3 Aug 1995 16:45:21 +0000 (16:45 +0000)]
Remove reference to config/.Sanitize

28 years agoRemove tcl and tk from static list of things to keep. They are dynamically
Fred Fish [Thu, 3 Aug 1995 16:44:20 +0000 (16:44 +0000)]
Remove tcl and tk from static list of things to keep.  They are dynamically
added to either the keep or loose list depending upon the presence of the
-lose-gdbtk option.

28 years ago * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO): Add pc_reg field.
Peter Schauer [Thu, 3 Aug 1995 09:17:51 +0000 (09:17 +0000)]
* config/alpha/tm-alpha.h (EXTRA_FRAME_INFO):  Add pc_reg field.
(SKIP_TRAMPOLINE_CODE):  Define.
* alpha-tdep.c (alpha_frame_saved_pc):  Use pc_reg field from
frame to find the saved pc register.
(alpha_saved_pc_after_call):  Skip over shared library trampoline
before trying to find the saved pc register.
(find_proc_desc):  Copy PROC_PC_REG from found proc_desc
to heuristic proc_desc.
(init_extra_frame_info):  Initialize pc_reg field in frame.

28 years ago * configure.in (m68*-est-*): Use monitor target config.
Stan Shebs [Thu, 3 Aug 1995 01:07:32 +0000 (01:07 +0000)]
* configure.in (m68*-est-*): Use monitor target config.
* configure: Update.
* config/m68k/est.mt, config/m68k/tm-est.h: Delete.
* config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.

28 years ago * m68kmri.h: Remove.
Ian Lance Taylor [Wed, 2 Aug 1995 22:48:21 +0000 (22:48 +0000)]
* m68kmri.h: Remove.

28 years ago * config/tc-m68k.c: Remove BREAK_UP_BIG_DECL stuff.
Ian Lance Taylor [Wed, 2 Aug 1995 22:42:21 +0000 (22:42 +0000)]
* config/tc-m68k.c: Remove BREAK_UP_BIG_DECL stuff.
(struct m68k_incant): Change m_operands field to be const.
(struct m68k_it): Change args field to be const.
(m68k_ip): Change local variable s to be const.
(opcode_ptr): Remove.
(md_begin): Use m68k_numopcodes, not numopcodes.  Use
m68k_opcodes, not removed opcode_ptr.  Use m68k_numaliases, not
numaliases.

28 years ago * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
Ian Lance Taylor [Wed, 2 Aug 1995 22:38:58 +0000 (22:38 +0000)]
* m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
Clean up tables.
* m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
(opcode): Remove.
(print_insn_m68k): Change d to be const.  Use m68k_numopcodes
rather than numopcodes.  Use m68k_opcodes rather than removed
opcode function.  Don't check F_ALIAS.
(print_insn_arg): Change first parameter to be const char *.
* Makefile.in (ALL_MACHINES): Add m68k-opc.o.
(m68k-opc.o): New target.
* configure.in: Build m68k-opc.o for bfd_m68k_arch.
* configure: Rebuild.

28 years ago * m68k.h: Move tables into opcodes/m68k-opc.c, leaving just the
Ian Lance Taylor [Wed, 2 Aug 1995 22:37:40 +0000 (22:37 +0000)]
* m68k.h: Move tables into opcodes/m68k-opc.c, leaving just the
declarations.  Remove F_ALIAS and flag field of struct
m68k_opcode.  Change arch field of struct m68k_opcode to unsigned
int.  Make name and args fields of struct m68k_opcode const.

28 years agoRewritten so table is only sorted/hashed once, even if switching
David Edelsohn [Wed, 2 Aug 1995 22:35:22 +0000 (22:35 +0000)]
Rewritten so table is only sorted/hashed once, even if switching
between sparc32/sparc64 in one executable.

28 years ago* configure.in (appdirs): Use =, not ==, in test expression when trying to
Ken Raeburn [Wed, 2 Aug 1995 20:39:02 +0000 (20:39 +0000)]
* configure.in (appdirs): Use =, not ==, in test expression when trying to
build the text to print in the warning message for Solaris users.

28 years ago(build_hash_table): Fix memory leak.
David Edelsohn [Wed, 2 Aug 1995 17:15:07 +0000 (17:15 +0000)]
(build_hash_table): Fix memory leak.
(print_insn_sparc, print_insn_sparc64): Clean up comments regarding
switching between sparc32 and sparc64.

28 years ago(build_hash_table): Allocate all entries at once.
David Edelsohn [Wed, 2 Aug 1995 16:48:02 +0000 (16:48 +0000)]
(build_hash_table): Allocate all entries at once.

28 years ago * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
David Edelsohn [Wed, 2 Aug 1995 16:06:17 +0000 (16:06 +0000)]
* sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
(opcode_bits, opcode_hash_table, sparc64_p): New variables.
(opcodes_initialized): Renamed from opcodes_sorted.
(build_hash_table): New function.
(is_delayed_branch): Use hash table.
(print_insn): Renamed from print_insn_sparc, made static.
Build and use hash table.
(print_insn_sparc, print_insn_sparc64): New functions.
(compare_opcodes): If !sparc64, move sparc64 opcodes to end,
and vice-versa if sparc64.
* sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.

28 years ago * sparc.h (F_NOTV9): Define.
David Edelsohn [Wed, 2 Aug 1995 15:18:52 +0000 (15:18 +0000)]
* sparc.h (F_NOTV9): Define.

28 years ago * Makefile.in (VERSION): Bump to 4.14.2
Fred Fish [Wed, 2 Aug 1995 05:55:49 +0000 (05:55 +0000)]
* Makefile.in (VERSION): Bump to 4.14.2

28 years agoUpdate FSF address.
Fred Fish [Wed, 2 Aug 1995 03:41:12 +0000 (03:41 +0000)]
Update FSF address.

28 years ago * xcoffread.c (process_linenos): The value in include file symbol
Kung Hsu [Tue, 1 Aug 1995 23:09:20 +0000 (23:09 +0000)]
* xcoffread.c (process_linenos): The value in include file symbol
should point to line number table. Currently this value is not
set correctly by AIX ld. A fix to get around this bug.

28 years ago * gas/mri/*: New tests for MRI mode.
Ian Lance Taylor [Tue, 1 Aug 1995 22:10:10 +0000 (22:10 +0000)]
* gas/mri/*: New tests for MRI mode.

28 years ago * config/tc-m68k.c (init_table): Add "control", "status", "iaddr",
Ian Lance Taylor [Tue, 1 Aug 1995 22:02:07 +0000 (22:02 +0000)]
* config/tc-m68k.c (init_table): Add "control", "status", "iaddr",
"sfcr", and "dfcr" as synonyms for existing entries.
(md_begin): In MRI mode, force flag_reg_prefix_optional to 1.
(md_parse_option): Removed unused locals i and arch.  Change type
of arch (another one) to unsigned long.
(tc_coff_sizemachdep): Add return after abort to avoid warning.

28 years ago Initial support for MRI style labels and expressions.
Ian Lance Taylor [Tue, 1 Aug 1995 22:01:01 +0000 (22:01 +0000)]
Initial support for MRI style labels and expressions.
* as.h (flag_mri): Declare/define.
* as.c (show_usage): Mention -M and its synonym --mri.
(parse_args): Add 'M' to std_shortopts.  Add "mri" to
std_longopts.  Set flag_mri if -M is seen.
(main): Call parse_args before input_scrub_begin.  Call
expr_begin.
* app.c (do_scrub_begin): Don't set lex for '"' or '\'' in MRI
mode.  Do set lex for ';', '*', and '!' in MRI mode.
(do_scrub_next_char): Remove MRI ifdef in LEX_IS_WHITESPACE case.
In MRI mode, keep spaces between labels and colons.  Remove MRI
ifndef around LEX_IS_ONECHAR_QUOTE case.  In MRI mode, don't use
'!' or '*' as comment characters even if they are in
comment_chars.
* read.h (lex_type): No longer const.
* read.c: Include libiberty.h.
(lex_type): No longer const.
(read_begin): In MRI mode, set lex_type of '?' to 3.
(potable): Add dc, dc.b, dc.d, dc.l, dc.s, dc.w, dc.x, ds, ds.b,
ds.l, ds.w, and xdef.
(read_a_source_file): Change LABELS_WITHOUT_COLON ifdef to check
for MRI mode at runtime rather than compile time.  Handle the EQU
pseudo-op in MRI mode.  Remove bogus MRI ifdef around done_pseudo.
Change NO_PSEUDO_DOT ifdef to also take effect for MRI mode at
runtime.
(cons): In MRI mode, always call parse_mri_cons rather than
TC_PARSE_CONS_EXPRESSION.
(parse_mri_cons): Always compile, not just when MRI is defined.
Call TC_PARSE_CONS_EXPRESSION, not expression, when the input is
not a string constant.  Handle A and E modifiers.
(float_cons): Accept :xxxx, where the x's are hex digits.
* expr.h (operatorT): Add O_eq, O_ne, O_lt, O_le, O_ge, O_gt.
(expr_begin): Declare.
* expr.c (integer_constant): In MRI mode, if the base was not
specified, look for a suffix on the number to set the base.
(mri_char_constant): New static function.
(operand): Remove MRI ifdef.  In MRI mode, do various things: Pass
0 as the base when calling integer_constant if there was no
prefix.  Check for a hex constant suffix if when a leading '0' is
seen.  Don't accept 0x or 0b as a prefix.  Check for E'chars' and
A'chars'.  Handle MRI character constants.  Treat '"' as the
unary bitwise not operator.  Treat $ as the program counter, or as
the prefix for a hex constant.  Treat % as the prefix for a binary
constant and @ as the prefix for an octal constant.  Treat : as
the prefix for a hex constant.
(op_encoding): Set '"' to O_bit_not, '<' to O_lt, and '>' to O_gt.
(op_rank): No longer const.  Change rank values.
(expr_begin): New function.
(operator): New static function.
(expr): Use operator.  Don't bother to mention the operator in
warnings.  Remove bogus #if 0 code.  Handle new operatorT values.
* atof-generic.c (atof_generic): In MRI mode, accept underscores
around the exponent in floating point numbers.
* symbols.h (symbols_case_sensitive): Declare.
* symbols.c (symbols_case_sensitive): New global variable.
(symbol_create): Check symbols_case_sensitive.
(symbol_find_base): Likewise.
(resolve_symbol_value): Handle new operatorT values.
(print_expr_1): Likewise.
(S_IS_LOCAL): In MRI mode, names beginning with two '?' characters
are local.

28 years ago* configure.in: Check for working mmap, ansi headers, string.h,
J.T. Conklin [Tue, 1 Aug 1995 20:14:27 +0000 (20:14 +0000)]
* configure.in: Check for working mmap, ansi headers, string.h,
strings.h, and memory.h.
* configure: Regenerated.

* gdb_stat.h: New file, "portable" <sys/stat.h>.
* gdb_string.h: New file, "portable" <string.h>.

* altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
instead of <sys/stat.h>.

* alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
"gdb_string.h" instead of <string.h>.
* gdbtk.c: Likewise.

* config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
sparc/xm-sun4os4.h (HAVE_MMAP): Removed.

* config/xm-lynx.h, config/i386/xm-ptx.h,
config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
config/pa/hppah.h, config/rs6000/xm-rs6000.h,
config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
* config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/pa/xm-hppah.h (memcpy, memset): Removed declarations.

28 years ago * Makefile.in: Remove superfluous runtest gasp.
Steve Chamberlain [Tue, 1 Aug 1995 18:41:59 +0000 (18:41 +0000)]
* Makefile.in: Remove superfluous runtest gasp.

28 years agoTue Aug 1 11:35:18 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Tue, 1 Aug 1995 18:39:08 +0000 (18:39 +0000)]
Tue Aug  1 11:35:18 1995  steve chamberlain  <sac@slash.cygnus.com>

* tc-sh.c (md_convert_frag): Make some error messages more
explict.

28 years ago * mips-tdep.c (mips_extract_return_value): Fix returning of
Peter Schauer [Tue, 1 Aug 1995 09:20:05 +0000 (09:20 +0000)]
* mips-tdep.c (mips_extract_return_value):  Fix returning of
values whose length is less than the register size for big endian
targets.
* alpha-tdep.c (alpha_extract_return_value,
alpha_store_return_value):  Use alpha_convert_register_to_*
to handle functions returning "float" correctly.

28 years ago * gasp.c (main): Parse -I option.
Steve Chamberlain [Tue, 1 Aug 1995 03:35:23 +0000 (03:35 +0000)]
* gasp.c (main): Parse -I option.
(do_include): Look through include list.
* gasp.c (change_base): Don't modify numbers in strings.
(pr7583)

  * testsuite/gasp/*: New.
* testsuite/Makefile.in: Use gasp tests.
* testsuite/config/default.exp: Add gasp stuff.

28 years ago * testsuite/Makefile.in: Use gasp tests.
Steve Chamberlain [Tue, 1 Aug 1995 03:11:52 +0000 (03:11 +0000)]
* testsuite/Makefile.in: Use gasp tests.
* testsuite/config/default.exp: Add gasp stuff.

28 years agoKeep gasp.
Steve Chamberlain [Tue, 1 Aug 1995 02:52:03 +0000 (02:52 +0000)]
Keep gasp.

28 years agogasp is gone from here.
Steve Chamberlain [Tue, 1 Aug 1995 02:51:01 +0000 (02:51 +0000)]
gasp is gone from here.

28 years ago moved.
Steve Chamberlain [Tue, 1 Aug 1995 02:49:34 +0000 (02:49 +0000)]
moved.

28 years agomoved.
Steve Chamberlain [Tue, 1 Aug 1995 02:48:52 +0000 (02:48 +0000)]
moved.

28 years ago new file.
Steve Chamberlain [Tue, 1 Aug 1995 02:45:00 +0000 (02:45 +0000)]
new file.

28 years ago New order.
Steve Chamberlain [Tue, 1 Aug 1995 02:39:21 +0000 (02:39 +0000)]
New order.

28 years ago * h8500-tdep.c: General linting and cleanup.
Stan Shebs [Tue, 1 Aug 1995 02:37:02 +0000 (02:37 +0000)]
* h8500-tdep.c: General linting and cleanup.
(opcodes/h8500-opc.h): Don't include.
(code_size, data_size): Make static.
(frame_locals_address, frame_args_address): Remove.
(h8300_pop_frame): Rename to h8500_pop_frame.
(big_command, medium_command, compact_command, small_command):
Define as regular functions rather than with macro trickery.
(tm_print_insn): Set to correct disassembler function.
* config/h8500/tm-h8500.h: Minor cleanup, add prototypes.
(ABOUT_TO_RETURN): #if 0 out.
(FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define.
(GDB_TARGET_IS_H8500): Remove duplicate definition.
(regoff): Remove, never used.
* config/h8500/h8500.mt (TDEPFILES): Add monitor.o.

28 years agoyet more vms work
Ken Raeburn [Tue, 1 Aug 1995 01:41:53 +0000 (01:41 +0000)]
yet more vms work

28 years ago * gasp.c (change_base): Don't modify numbers in strings. (pr7583)
Steve Chamberlain [Tue, 1 Aug 1995 01:31:42 +0000 (01:31 +0000)]
* gasp.c (change_base): Don't modify numbers in strings. (pr7583)
  * testsuite/gas/gasp/*: New.

28 years agoOops, don't edit a file when your checkin hasn't finished
J.T. Conklin [Mon, 31 Jul 1995 22:50:21 +0000 (22:50 +0000)]
Oops, don't edit a file when your checkin hasn't finished

28 years ago* configure.in: Check for unistd.h.
J.T. Conklin [Mon, 31 Jul 1995 22:46:03 +0000 (22:46 +0000)]
* configure.in: Check for unistd.h.
* configure: Regenerated.

* command.c, cp-valprint.c, fork-child.c, i386-tdep.c,
i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c,
source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h
and/or unistd.h to bring prototypes into scope.

28 years agoremove local variables, change-log-mode does all of that
Ken Raeburn [Mon, 31 Jul 1995 21:09:39 +0000 (21:09 +0000)]
remove local variables, change-log-mode does all of that

28 years ago * strings.c (print_strings): For compatibility with existing
Ian Lance Taylor [Mon, 31 Jul 1995 17:24:17 +0000 (17:24 +0000)]
* strings.c (print_strings): For compatibility with existing
strings programs, print strings which are not terminated with a
null byte or a newline.
* binutils.texi, strings.1: Update documentation accordingly.

28 years ago * cfg-ml-com.in (z8k-*-coff): Add 'std' multilib build.
Steve Chamberlain [Mon, 31 Jul 1995 16:57:38 +0000 (16:57 +0000)]
* cfg-ml-com.in (z8k-*-coff): Add 'std' multilib build.