external/binutils.git
29 years ago* Makefile.in: Change all references to MY_MACHINE to MY_TARGET, to match
Ken Raeburn [Thu, 20 Apr 1995 21:30:10 +0000 (21:30 +0000)]
* Makefile.in: Change all references to MY_MACHINE to MY_TARGET, to match
configure script.

29 years agoThu Apr 20 09:07:39 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 20 Apr 1995 16:10:44 +0000 (16:10 +0000)]
Thu Apr 20 09:07:39 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* linker.c (link_action): Do the right thing when a undefined
strong symbol appears after an undefined weak symbol.

29 years ago * config/est.exp: Fix copyright and comments. Remove dead code.
Stu Grossman [Thu, 20 Apr 1995 00:46:15 +0000 (00:46 +0000)]
* config/est.exp:  Fix copyright and comments.  Remove dead code.
Use targetname, serialport and baud variables instead of fixed
constants.
* config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
* config/cpu32bug.exp:  New file to support cpu32bug monitors.

29 years ago * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
Stu Grossman [Thu, 20 Apr 1995 00:15:14 +0000 (00:15 +0000)]
* hppa-tdep.c (deposit_17):  New routine to deposit 17 bit
constants into PA instructions.
* Put #ifdefs around all signal handling code.  Not generally
needed for embedded boards.
* (hppa_fix_call_dummy):  Parameterize offsets into call dummy to
allow different dummys to be used by this code.  Use
INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
Conditionalize setup of _sr4export fixup.  Improve comments.
* config/pa/tm-hppa.h:  Define INSTRUCTION_SIZE.  Use a different
call dummy if PA_LEVEL_0 is defined.  Better comments for call
dummys.  Define offsets for LDIL/LDO instructions which load
function addresses.
* config/pa/tm-pro.h:  Get rid of signal handling stuff.  Define
PA_LEVEL_0 to disable mucking with space regs and such.

29 years ago * configure.in (mips-sgi-irix6): Use mh-irix5.
Jim Wilson [Thu, 20 Apr 1995 00:04:20 +0000 (00:04 +0000)]
* configure.in (mips-sgi-irix6): Use mh-irix5.

29 years ago * gdb.base/watchpoint.exp: Don't run
Jim Kingdon [Wed, 19 Apr 1995 20:50:56 +0000 (20:50 +0000)]
* gdb.base/watchpoint.exp: Don't run
test_watchpoint_triggered_in_syscall for sunos.

29 years ago* gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
J.T. Conklin [Wed, 19 Apr 1995 18:27:35 +0000 (18:27 +0000)]
* gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
  comment emitted by this script to gen-c-prog.awk.

* Makefile.in, configure.in: Converted to use autoconf.
* configure: New file, generated with autoconf 2.3.
* config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc,
  mt-tahoe, mt-vax}: Removed.

29 years agoFix April 17th change.
Michael Meissner [Wed, 19 Apr 1995 18:14:20 +0000 (18:14 +0000)]
Fix April 17th change.

29 years ago * remote.texi (Bootstrapping): Clarify that flush_i_cache is only
Jim Kingdon [Wed, 19 Apr 1995 14:07:31 +0000 (14:07 +0000)]
* remote.texi (Bootstrapping): Clarify that flush_i_cache is only
for the sparc stub.

29 years agoadded remote-vxmips.c, remotevxwparc.c to Things-to-keep
Angela Marie Thomas [Wed, 19 Apr 1995 08:16:58 +0000 (08:16 +0000)]
added remote-vxmips.c, remotevxwparc.c to Things-to-keep

29 years ago* mips-dis.c (print_insn_little_mips): Cast return value from bfd_getl32 from
Ken Raeburn [Tue, 18 Apr 1995 16:24:09 +0000 (16:24 +0000)]
* mips-dis.c (print_insn_little_mips): Cast return value from bfd_getl32 from
bfd_vma to unsigned long, because _print_insn_mips expects an unsigned long,
and that might be fewer words of argument storage (e.g., if bfd_vma is long
long on a 32-bit machine).
(print_insn_big_mips): Likewise with bfd_getb32 value.
(_print_insn_mips): Now static.

29 years ago * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
Stu Grossman [Mon, 17 Apr 1995 22:43:56 +0000 (22:43 +0000)]
* cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
w89k-rom.c:  Remove loadtypes, loadprotos and baudrates.
* op50-rom.c:  Fix copyrights and add load routine to op50n_cmds.
* rom68k-rom.c (_initialize_rom68k):  Don't set baud rate.
* w89k-rom.c:  Fix copyrights.

29 years ago*** empty log message ***
Stu Grossman [Mon, 17 Apr 1995 06:32:32 +0000 (06:32 +0000)]
*** empty log message ***

29 years ago * monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove
Stu Grossman [Mon, 17 Apr 1995 06:31:39 +0000 (06:31 +0000)]
* monitor.c:  Move all xmodem stuff into xmodem.[ch].  Remove
unnecessary remoteloadprotocol and remoteloadtype support.
* (expect expect_prompt):  Change names to monitor_expect and
monitor_expect_prompt.  Make them global.
* (printf_monitor):  Change name to monitor_printf.  Make global.
* (monitor_read_memory):  Flush command echo to avoid parsing
ambiguity with CPU32Bug monitor.
* (monitor_load):  Remove remoteloadprotocol and remoteloadtype
support.  Call target_ops->load_routine, default to
monitor_load_srec.
* (monitor_load_srec):  Remove everything but S-record support.
* monitor.h (monitor_ops):  Add load_routine to provide monitor
specific download capability.
* remote-est.c:  Clean up copyrights and comments.
* w89k-rom.c:  Use new xmodem support.
* xmodem.c xmodem.h:  New files to support xmodem downloads.
* rom68k-rom.c remote-est.c:  Fix copyrights, add load_routine
entry to monitor_ops.
* cpu32bug-rom.c:  New file to support Moto BCC debuggers.
* config/m68k/est.mt (TDEPFILES):  Add cpu32bug.o.
* config/pa/hppapro.mt (TDEPFILES):  Add xmodem.o.

29 years agoREADME.GDBTK is a gdbtk file
Stan Shebs [Sun, 16 Apr 1995 13:39:57 +0000 (13:39 +0000)]
README.GDBTK is a gdbtk file

29 years ago* rem-multi.shar: Removed; superceded by gdbserver.
Jim Kingdon [Sun, 16 Apr 1995 01:03:11 +0000 (01:03 +0000)]
* rem-multi.shar: Removed; superceded by gdbserver.

29 years ago * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
Jim Kingdon [Sun, 16 Apr 1995 00:53:31 +0000 (00:53 +0000)]
* xcoffread.c (xcoff_sym_fns): Revise comment about merging this
with coffread.c.

* breakpoint.c (fixup_breakpoints): Removed.
* rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
(vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.

* coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
sections, not just SECT_OFF_MAX-1.

* rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
to be indexed by SECT_OFF_* instead of xcoff section numbers.
* objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
* symtab.h: Revise comment about block_line_section.
* rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.

29 years ago* gdb.base/a1-selftest.exp: Add alpha xfail.
Jim Kingdon [Sat, 15 Apr 1995 21:29:14 +0000 (21:29 +0000)]
* gdb.base/a1-selftest.exp: Add alpha xfail.

29 years ago * mpw-make.in (init.c): Don't try to do symbolic {o} in sed
Stan Shebs [Sat, 15 Apr 1995 21:22:14 +0000 (21:22 +0000)]
* mpw-make.in (init.c): Don't try to do symbolic {o} in sed
command, not allowed by some version of MPW Make.
* ser-mac.c (mac-setbaudrate): Make it actually set baud rates.

29 years agoSat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
Jim Kingdon [Sat, 15 Apr 1995 21:13:08 +0000 (21:13 +0000)]
Sat Apr 15 14:05:09 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)

* alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
VALUE_TYPE).  Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.

Sat Apr 15 14:04:32 1995  Per Bothner  <bothner@cygnus.com>

* alpha-tdep.c (alpha_push_arguments): Only cast to long for
TYPE_CODE_INT.

29 years ago * gdbtk.c (gdb_disassemble): Read from inferior if connected
Stan Shebs [Sat, 15 Apr 1995 21:01:31 +0000 (21:01 +0000)]
* gdbtk.c (gdb_disassemble): Read from inferior if connected
to a VxWorks target.

29 years agokeep new files
Ken Raeburn [Sat, 15 Apr 1995 08:21:11 +0000 (08:21 +0000)]
keep new files

29 years ago* Makefile.in (ALL_EMULATIONS): Added em68kelf.o.
Ken Raeburn [Fri, 14 Apr 1995 20:33:05 +0000 (20:33 +0000)]
* Makefile.in (ALL_EMULATIONS): Added em68kelf.o.
(em68kelf.o): New target.
* config/m68k-elf.mt, emulparams/m68kelf.sh: New files.
* configure.in: Use them for m68*-*-elf.

29 years ago* config.bfd: Add m68*-*-elf*.
Ken Raeburn [Fri, 14 Apr 1995 20:25:09 +0000 (20:25 +0000)]
* config.bfd: Add m68*-*-elf*.
* elf32-m68k.c: Filled out implementation, except for dynamic linking support.
* reloc.c (enum bfd_reloc_code_real): Added *_GOT_PCREL, *_GOTOFF, *_PLT_PCREL,
 *_PLTOFF, *_68K_* relocations for ELF.
* libbfd.h, bfd-in2.h: Regenerated.

29 years ago * README.GDBTK: New file. Contains the obvious.
Stu Grossman [Fri, 14 Apr 1995 17:20:29 +0000 (17:20 +0000)]
* README.GDBTK:  New file.  Contains the obvious.

29 years agoFix for PR 6732.
Ken Raeburn [Thu, 13 Apr 1995 23:36:33 +0000 (23:36 +0000)]
Fix for PR 6732.

* config/tc-sh.c (md_convert_frag): Instead of aborting on large displacements,
print an error message.  Don't invoke the code that followed the abort call
until it's been verified.

29 years ago* config/tc-m68k.c (md_show_usage): Add 68060 to list. Split cpu list into
Ken Raeburn [Thu, 13 Apr 1995 22:21:11 +0000 (22:21 +0000)]
* config/tc-m68k.c (md_show_usage): Add 68060 to list.  Split cpu list into
three lines.

29 years ago * remote-array.c: New file for Array Tech LSI33k based controller
Rob Savoye [Thu, 13 Apr 1995 22:17:54 +0000 (22:17 +0000)]
* remote-array.c: New file for Array Tech LSI33k based controller
board.

29 years ago * remote-vxsparc.c: New file, preliminary check in, this configuration
Kung Hsu [Thu, 13 Apr 1995 20:03:52 +0000 (20:03 +0000)]
    * remote-vxsparc.c: New file, preliminary check in, this configuration
        not supported yet.
        * remote-vxmips.c: ditto.

29 years ago * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
Kung Hsu [Thu, 13 Apr 1995 19:37:57 +0000 (19:37 +0000)]
    * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
        extract_address.
        * remote-vxsparc.c: New file, preliminary check in, this configuration
        not supported yet.
        * remote-vxmips.c: ditto.

29 years agoDo not use unprotected ANSI/ISO prototypes.
Michael Meissner [Thu, 13 Apr 1995 16:13:48 +0000 (16:13 +0000)]
Do not use unprotected ANSI/ISO prototypes.

29 years ago * monitor.h (init_monitor_ops): Declare.
Stan Shebs [Thu, 13 Apr 1995 01:23:53 +0000 (01:23 +0000)]
* monitor.h (init_monitor_ops): Declare.
* rom68k-rom.c: Clarify some comments.
(rom68k_open): Define as static, to match decl.

29 years ago * gdb.gdb: New file.
Jim Kingdon [Thu, 13 Apr 1995 00:46:52 +0000 (00:46 +0000)]
* gdb.gdb: New file.
* .gdbinit: Move list-objfiles to gdb.gdb.

29 years ago* values.c (set_internalvar): Set modifiable flag of newval.
Jim Kingdon [Thu, 13 Apr 1995 00:36:37 +0000 (00:36 +0000)]
* values.c (set_internalvar): Set modifiable flag of newval.

29 years agoWed Apr 12 16:06:01 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Wed, 12 Apr 1995 23:07:58 +0000 (23:07 +0000)]
Wed Apr 12 16:06:01 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* test-build.mk: Enable building of shared libraries on IRIX 5 and
        OSF/1.  Fix compiler flags.
* build-all.mk: Support Linux and OSF/1 3.0.  Fix compiler flags.

29 years ago * xcoffread.c: Call complain() rather than error() or printing a
Jim Kingdon [Wed, 12 Apr 1995 22:17:41 +0000 (22:17 +0000)]
* xcoffread.c: Call complain() rather than error() or printing a
warning.

29 years agoAlways keep MPW support
Stan Shebs [Wed, 12 Apr 1995 19:29:34 +0000 (19:29 +0000)]
Always keep MPW support

29 years agoMerge MPW ChangeLog with generic ChangeLog
Stan Shebs [Wed, 12 Apr 1995 19:27:42 +0000 (19:27 +0000)]
Merge MPW ChangeLog with generic ChangeLog

29 years agoAlways keep MPW support
Stan Shebs [Wed, 12 Apr 1995 18:46:15 +0000 (18:46 +0000)]
Always keep MPW support

29 years agoMerge MPW ChangeLog with generic ChangeLog
Stan Shebs [Wed, 12 Apr 1995 18:44:27 +0000 (18:44 +0000)]
Merge MPW ChangeLog with generic ChangeLog

29 years ago* aoutx.h (machine_type, case bfd_arch_mips): Treat R8000 like R6000 and R4000
Ken Raeburn [Wed, 12 Apr 1995 16:41:50 +0000 (16:41 +0000)]
* aoutx.h (machine_type, case bfd_arch_mips): Treat R8000 like R6000 and R4000
for now.

29 years ago * arc-tdep.c: #include "gdbcmd.h".
David Edelsohn [Wed, 12 Apr 1995 15:47:39 +0000 (15:47 +0000)]
* arc-tdep.c: #include "gdbcmd.h".
(codestream_seek): Pass CORE_ADDR.
(arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
(debug_pipeline_p): Likewise.
(X_...): Instruction field access macros.
(BUILD_INSN): Define.
(codestream_tell): Allow for stream elements > 1 byte.
(codestream_fill): Likewise.
(setup_prologue_scan): New function.
(arc_get_frame_setup): Call it.  Update to current spec
regarding prologues.  Use BUILD_INSN.
(skip_prologue): New argument `frameless_p'.  Use BUILD_INSN.
(arc_frame_saved_pc): New function.
(frame_find_saved_regs): Use BUILD_INSN.
(get_insn_type, single_step): New functions.
(one_stepped): New global.
(arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
(arc_set_cpu_type): New function.
(_initialize_arc_tdep): Define new `set' commands `cpu',
`displaypipeline', and `debugpipeline'.
* remote-arc.c (break_insn): Add bi-endian support.
(arc_insert_breakpoint): Likewise.
(arc_remove_breakpoint): Likewise.
(switch_command): Delete.
* arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
(TARGET_BYTE_ORDER_SELECTABLE): Define.
(DEFAULT_ARC_CPU_TYPE): Define.
(SKIP_PROLOGUE_FRAMELESS_P): Define.
(BREAKPOINT): Delete.
(BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
(DECR_PC_AFTER_BREAK): Change to 8.
(NO_SINGLE_STEP): Define.
(ARC_PC_TO_REAL_ADDRESS): Define.
(SAVED_PC_AFTER_CALL): Use it.
(NUM_REGS, REGISTER_BYTES): Fix.
(FRAME_SAVED_PC): Call arc_frame_saved_pc.
(FRAME_LOCALS_ADDRESS): Fix.

29 years agoARC stuff.
David Edelsohn [Wed, 12 Apr 1995 15:46:23 +0000 (15:46 +0000)]
ARC stuff.

29 years agoSupport keep-arc flag.
David Edelsohn [Wed, 12 Apr 1995 15:45:15 +0000 (15:45 +0000)]
Support keep-arc flag.

29 years ago * config/tc-arc.c (delay_slot_type): New function.
David Edelsohn [Wed, 12 Apr 1995 14:41:21 +0000 (14:41 +0000)]
* config/tc-arc.c (delay_slot_type): New function.
(md_assemble): Use hashed list of insns.
Print warning if 8 byte insn appears in delay slot.
(md_operand): Handle %st(sym1-sym2).
(get_arc_exp_reloc_type): Likewise.
(md_apply_fix, case BFD_RELOC_ARC_B26): Now using implicit addends
so must store them here.

29 years agoARC stuff.
David Edelsohn [Wed, 12 Apr 1995 14:40:14 +0000 (14:40 +0000)]
ARC stuff.

29 years ago * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
Jim Kingdon [Wed, 12 Apr 1995 04:42:05 +0000 (04:42 +0000)]
* rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
symfile_objfile, nuke it.

29 years ago * configure.in: Recognize --with-newlib.
David Edelsohn [Wed, 12 Apr 1995 01:59:39 +0000 (01:59 +0000)]
* configure.in: Recognize --with-newlib.
(sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target.
(arc-*-*): Build g++ stuff now.

29 years ago * top.c, utils.c, defs.h: Remove error_hook. It is currently
Jim Kingdon [Wed, 12 Apr 1995 00:16:35 +0000 (00:16 +0000)]
* top.c, utils.c, defs.h: Remove error_hook.  It is currently
unused and would need to hook into error_begin()/return_to_top_level(),
instead of error(), if it were to be used.

29 years ago* configure.in: Require at least autoconf 2.3, because earlier versions lose on
Ken Raeburn [Tue, 11 Apr 1995 23:51:52 +0000 (23:51 +0000)]
* configure.in: Require at least autoconf 2.3, because earlier versions lose on
some AIX versions.
* configure: Regenerated.

* configure.in: Add m68k-*-elf.
* config/tc-m68k.c (comment_chars) [OBJ_ELF]: Include '#'.
(md_pseudo_table) [OBJ_ELF]: Ignore "swbeg".
(md_begin): Set alt_notend_table['&'], so svr4-style immediate operands are
accepted.
(md_apply_fix): Argument VALP should point to valueT.
(md_convert_frag): Argument SEC should be type segT.
(md_shortopts) [OBJ_ELF]: Accept 'Q' with an argument.
(md_parse_option): Ignore it.
(md_convert_frag_1): Add in frag address for the symbol in the displacement
calculation.
* config/tc-m68k.h (TARGET_FORMAT) [OBJ_ELF]: Use "elf32-m68k".
(TARGET_ARCH): Define.
(REGISTER_PREFIX_OPTIONAL) [OBJ_ELF]: Default to 0.
(LOCAL_LABEL, FAKE_LABEL_NAME, REGISTER_PREFIX_OPTIONAL): Handle these the same
way for OBJ_ELF as for M68KCOFF.

29 years ago* as.h (struct relax_type): Add forward declaration for type.
Ken Raeburn [Tue, 11 Apr 1995 22:55:29 +0000 (22:55 +0000)]
* as.h (struct relax_type): Add forward declaration for type.

29 years ago * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
Jim Kingdon [Tue, 11 Apr 1995 22:26:14 +0000 (22:26 +0000)]
* utils.c, defs.h (warning_begin): Renamed from warning_setup, for
consistency with error_begin.  Also print warning_pre_print.
Document it better.
* utils.c (warning): Use it.
* utils.c (error_begin): Doc fix.
* rs6000-nat.c (vmap_ldinfo): If symfile_objfile is not part of
any vmap, nuke it.

29 years ago * annotate.texi: Clarify which addresses have differing formats
Jim Kingdon [Tue, 11 Apr 1995 19:08:18 +0000 (19:08 +0000)]
* annotate.texi: Clarify which addresses have differing formats
depending on the language and which do not.

29 years ago * printcmd.c (print_address_numeric): Pass use_local to
Jim Kingdon [Tue, 11 Apr 1995 18:57:57 +0000 (18:57 +0000)]
* printcmd.c (print_address_numeric): Pass use_local to
print_longest, rather than always passing 1.

29 years agoAlways keep MPW support
Stan Shebs [Tue, 11 Apr 1995 18:45:25 +0000 (18:45 +0000)]
Always keep MPW support

29 years agoMerge MPW ChangeLog with generic ChangeLog
Stan Shebs [Tue, 11 Apr 1995 18:21:44 +0000 (18:21 +0000)]
Merge MPW ChangeLog with generic ChangeLog

29 years ago* nlm/Makefile.in: Remove comments discussing munch.
Jim Kingdon [Tue, 11 Apr 1995 16:39:37 +0000 (16:39 +0000)]
* nlm/Makefile.in: Remove comments discussing munch.

29 years agoUse F_SETOWN if SIOCSPGRP is not available.
Michael Meissner [Tue, 11 Apr 1995 15:14:07 +0000 (15:14 +0000)]
Use F_SETOWN if SIOCSPGRP is not available.

29 years agonote doc changes
Ken Raeburn [Tue, 11 Apr 1995 06:34:31 +0000 (06:34 +0000)]
note doc changes

29 years agobunch o changes
Ken Raeburn [Tue, 11 Apr 1995 06:19:06 +0000 (06:19 +0000)]
bunch o changes

29 years agowrite.c: Complain about .space or .org moving backwards.
Ken Raeburn [Tue, 11 Apr 1995 06:10:34 +0000 (06:10 +0000)]
write.c: Complain about .space or .org moving backwards.

Do generic rs_machine_dependent relaxation only if TC_GENERIC_RELAX_TABLE is
defined.  Use its value as the base of the table, so the actual declaration
can be cpu-specific (and const or not as appropriate).  For other cpus where
this isn't done (the majority), delete md_relax_table altogether.

For machines with WORKING_DOT_WORD, delete md_{short,long}_jump_size.

29 years agoAlways keep MPW support
Stan Shebs [Tue, 11 Apr 1995 02:08:59 +0000 (02:08 +0000)]
Always keep MPW support

29 years agoMerge MPW ChangeLog in with generic ChangeLog
Stan Shebs [Tue, 11 Apr 1995 01:55:20 +0000 (01:55 +0000)]
Merge MPW ChangeLog in with generic ChangeLog

29 years ago(PCINDEX): New macro.
Ken Raeburn [Tue, 11 Apr 1995 01:31:08 +0000 (01:31 +0000)]
(PCINDEX): New macro.
(md_relax_table): No longer const.  Add PCINDEX entries.
(m68k_ip): For AINDX with simple symbol operand, generate a PCINDEX frag if PC
is used, or do normal non-AINDX processing for address register.
(m68k_init_after_args): If cpu is 68000 or 68010, fix md_relax_table to prevent
relaxation of PCINDEX/BYTE mode to SHORT, since they don't support that mode.
(md_convert_frag_1, case PCLEA/LONG): Add 4 to offset, not 2.  Add support for
new PCINDEX modes.
(md_estimate_size_before_relax): Process PCINDEX/SZ_UNDEF mode.
(md_convert_frag_1, case PCLEA/SHORT): Add 2 to offset.
(m68k_ip, case most punctuation/AOFF): If using PC, call add_frag using PCLEA.

29 years agoFix for PR6697:
Ken Raeburn [Tue, 11 Apr 1995 01:29:49 +0000 (01:29 +0000)]
Fix for PR6697:
(nopic_need_relax): New static function, split out from
md_estimate_size_before_relax.
(md_estimate_size_before_relax): Call it.
(load_address, macro): In NO_PIC branches, if nopic_need_relax returns nonzero,
don't attempt GP optimization.

29 years agoDon't explicitly include config.h. Deleted a bunch of "#if 0" code and useless
Ken Raeburn [Tue, 11 Apr 1995 01:03:07 +0000 (01:03 +0000)]
Don't explicitly include config.h.  Deleted a bunch of "#if 0" code and useless
comments.
(struct m68k_cpu): New type.
(archs, n_archs): New variables, with single list of name/enum mapping and
aliases.
(m68k_ip): Delete the table here.
(m68k_init_after_args): Use the new table here instead of open-coding it.
(md_parse_option, case 'm'): Ditto.

29 years ago * valprint.c (print_longest): Fix a syntax error in #ifdef
Kung Hsu [Tue, 11 Apr 1995 00:04:41 +0000 (00:04 +0000)]
    * valprint.c (print_longest): Fix a syntax error in #ifdef
        PRINTF_HAS_LONG_LONG.

29 years ago * config/mips/xm-irix5.h: turn on CC_has_LONG_LONG and
Kung Hsu [Mon, 10 Apr 1995 23:53:52 +0000 (23:53 +0000)]
* config/mips/xm-irix5.h: turn on CC_has_LONG_LONG and
PRINTF_HAS_LONG_LONG.
* config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.

29 years agoalways keep MPW support files
Stan Shebs [Mon, 10 Apr 1995 22:59:42 +0000 (22:59 +0000)]
always keep MPW support files

29 years agoMerge MPW ChangeLog with generic ChangeLog
Stan Shebs [Mon, 10 Apr 1995 22:59:03 +0000 (22:59 +0000)]
Merge MPW ChangeLog with generic ChangeLog

29 years ago * Makefile.in: move {all,check,install}-gdb from *_MODULES
Jason Molenda [Mon, 10 Apr 1995 21:39:32 +0000 (21:39 +0000)]
    * Makefile.in: move {all,check,install}-gdb from *_MODULES
        to *_X11_MODULES due to gdbtk needing X include files et al.

29 years agoAdded "regPacket.h" to "Things to Keep"
David H. Webster [Mon, 10 Apr 1995 21:18:02 +0000 (21:18 +0000)]
Added "regPacket.h" to "Things to Keep"

29 years agoAdded the following files to "Things to Keep":
David H. Webster [Mon, 10 Apr 1995 21:16:26 +0000 (21:16 +0000)]
Added the following files to "Things to Keep":
      est.exp
      rom68k.exp
      slite-gdb.exp

29 years agoAdded "remote-vx68.c" and "remote-vx960.c" to "Things to Keep"
David H. Webster [Mon, 10 Apr 1995 21:10:09 +0000 (21:10 +0000)]
Added "remote-vx68.c" and "remote-vx960.c" to "Things to Keep"

29 years agoRemoved alpha-regdef.h from "Things to Lose"
David H. Webster [Mon, 10 Apr 1995 21:01:22 +0000 (21:01 +0000)]
Removed alpha-regdef.h from "Things to Lose"

29 years agoRemoved the following files from "Things to Keep":
David H. Webster [Mon, 10 Apr 1995 20:59:24 +0000 (20:59 +0000)]
Removed the following files from "Things to Keep":

     alpha-nw.mt
     gdbserve.mt
     tm-alphanw.h

29 years agoRemoved "nlmstub.def" from "Things to Keep"
David H. Webster [Mon, 10 Apr 1995 20:53:40 +0000 (20:53 +0000)]
Removed "nlmstub.def" from "Things to Keep"

29 years agoRemoved the following files from "Things to Keep":
David H. Webster [Mon, 10 Apr 1995 20:49:18 +0000 (20:49 +0000)]
Removed the following files from "Things to Keep":

      README-ALPHA-NETWARE
      aio.h
      alpha-io.S
      alpha.c
      alpha.h
      altdebug.h

29 years agoalways keep MPW support files
Stan Shebs [Mon, 10 Apr 1995 20:26:39 +0000 (20:26 +0000)]
always keep MPW support files

29 years agoMerge MPW changes into general ChangeLog
Stan Shebs [Mon, 10 Apr 1995 20:18:22 +0000 (20:18 +0000)]
Merge MPW changes into general ChangeLog

29 years agodoc changes
Ken Raeburn [Mon, 10 Apr 1995 20:11:48 +0000 (20:11 +0000)]
doc changes

29 years ago* doc/internals.texi: Add loud disclaimer. Refill to 79 columns, specify
Ken Raeburn [Mon, 10 Apr 1995 20:06:48 +0000 (20:06 +0000)]
* doc/internals.texi: Add loud disclaimer.  Refill to 79 columns, specify
fill-column in local-variables section.  Change subheadings to subsections so
they can be cross-referenced.  Describe broken words, frags, frag chains,
generic relaxation, relax table, m68k relaxation, m68k addressing modes, test
suite code.  Add a few words about various file formats.

29 years agono longer sanitize out MPW support files
Stan Shebs [Mon, 10 Apr 1995 20:05:48 +0000 (20:05 +0000)]
no longer sanitize out MPW support files

29 years agoMerge MPW ChangeLog into generic ChangeLog
Stan Shebs [Mon, 10 Apr 1995 19:44:46 +0000 (19:44 +0000)]
Merge MPW ChangeLog into generic ChangeLog

29 years ago* lib/gas-defs.exp (pass_phase): New proc.
Ken Raeburn [Mon, 10 Apr 1995 19:40:00 +0000 (19:40 +0000)]
* lib/gas-defs.exp (pass_phase): New proc.
(run_dump_test): Note passing or failing of each phase of this test, instead of
failure of phases or passing of complete test.  Ensure test file name is in
reported message.

29 years agoNuke RCS string. Fix comment.
Ken Raeburn [Mon, 10 Apr 1995 19:38:56 +0000 (19:38 +0000)]
Nuke RCS string.  Fix comment.

29 years agoFix patterns.
David Edelsohn [Mon, 10 Apr 1995 08:12:12 +0000 (08:12 +0000)]
Fix patterns.

29 years agoDelete illegal insns.
David Edelsohn [Mon, 10 Apr 1995 08:11:59 +0000 (08:11 +0000)]
Delete illegal insns.

29 years ago(test_template_insn): Delete .s/.d files afterwards.
David Edelsohn [Mon, 10 Apr 1995 07:36:06 +0000 (07:36 +0000)]
(test_template_insn): Delete .s/.d files afterwards.
(main body): Run ld, st tests.

29 years ago * gas/arc/{ld.[sd],st.[sd]}: New files.
David Edelsohn [Mon, 10 Apr 1995 07:34:05 +0000 (07:34 +0000)]
* gas/arc/{ld.[sd],st.[sd]}: New files.

29 years agoTests for ld, lr, st, sr insns.
David Edelsohn [Mon, 10 Apr 1995 07:32:57 +0000 (07:32 +0000)]
Tests for ld, lr, st, sr insns.

29 years agoshimm values "are always signed"
David Edelsohn [Mon, 10 Apr 1995 06:54:14 +0000 (06:54 +0000)]
shimm values "are always signed"

29 years ago * gdb.base/recurse.exp: Fix comment.
Jim Kingdon [Sun, 9 Apr 1995 21:05:37 +0000 (21:05 +0000)]
* gdb.base/recurse.exp: Fix comment.

* TODO: Remove item about printing variables in nodebug.exp.  Add
item about enabling tests which are only run on some targets.

* gdb.base/watchpoint.exp: Various cleanups (make each test pass or
fail, make test names unique, use new gdb_test convention
regarding pattern, use gdb_test more, etc.).

29 years ago * gdb.base/bitfields.exp: Various cleanups (make each test pass or
Jim Kingdon [Sun, 9 Apr 1995 17:10:57 +0000 (17:10 +0000)]
* gdb.base/bitfields.exp: Various cleanups (make each test pass or
fail, make test names unique, etc.).

29 years agoMore ARC stuff.
David Edelsohn [Sun, 9 Apr 1995 00:47:26 +0000 (00:47 +0000)]
More ARC stuff.

29 years agoTest extended shifts, mul64/mulu64 insns.
David Edelsohn [Sun, 9 Apr 1995 00:22:54 +0000 (00:22 +0000)]
Test extended shifts, mul64/mulu64 insns.

29 years ago(test_template_insn): Document usage.
David Edelsohn [Sat, 8 Apr 1995 23:43:39 +0000 (23:43 +0000)]
(test_template_insn): Document usage.
New parameter `cpu', callers updated.
(main body): Test host/graphics/audio extensions.
Test ext/sex insns.

29 years agoTests for various insn3 insns (eg: ext, sex).
David Edelsohn [Sat, 8 Apr 1995 23:25:34 +0000 (23:25 +0000)]
Tests for various insn3 insns (eg: ext, sex).

29 years ago* gas/arc/{arc.exp,math.[sd],flag.[sd],j.[sd]}: New files.
David Edelsohn [Sat, 8 Apr 1995 23:10:39 +0000 (23:10 +0000)]
* gas/arc/{arc.exp,math.[sd],flag.[sd],j.[sd]}: New files.
* gas/arc/{branch.[sd],alias.[sd],sshift.[sd]}: New files.

29 years agoMore tests.
David Edelsohn [Sat, 8 Apr 1995 23:09:56 +0000 (23:09 +0000)]
More tests.