binutils-gdb.git
31 years ago* Makefile.in (refcard.dvi): Use srcdir where necessary.
Jim Kingdon [Tue, 20 Jul 1993 23:37:05 +0000 (23:37 +0000)]
* Makefile.in (refcard.dvi): Use srcdir where necessary.

31 years ago * coff-m68k.c (m68k_howto2rtype): Make arg CONST to match callers.
Fred Fish [Tue, 20 Jul 1993 23:20:36 +0000 (23:20 +0000)]
* coff-m68k.c (m68k_howto2rtype):  Make arg CONST to match callers.

31 years ago * mips-opc.c: New file, containing opcode table from
Jim Kingdon [Tue, 20 Jul 1993 22:55:21 +0000 (22:55 +0000)]
* mips-opc.c: New file, containing opcode table from
../include/opcode/mips.h.

31 years ago* dynix3.h: New, for symmetry running dynix.
Jim Kingdon [Tue, 20 Jul 1993 22:54:28 +0000 (22:54 +0000)]
* dynix3.h: New, for symmetry running dynix.

31 years ago * elfcode.h: Fix several illegal pointer combination warnings for
Fred Fish [Tue, 20 Jul 1993 22:42:59 +0000 (22:42 +0000)]
* elfcode.h:  Fix several illegal pointer combination warnings for
usages of bfd_alloc and alloca.

31 years ago * mips-tdep.c (heuristic_proc_start): First time we print the
Jim Kingdon [Tue, 20 Jul 1993 22:36:13 +0000 (22:36 +0000)]
* mips-tdep.c (heuristic_proc_start): First time we print the
warning, elaborate.
(_initialize_mips_tdep): Improve docstring for `set heur'.

31 years ago * libnlm.h (nlm_obj_tdata): Rename hidden struct members to avoid
Fred Fish [Tue, 20 Jul 1993 22:07:39 +0000 (22:07 +0000)]
* libnlm.h (nlm_obj_tdata):  Rename hidden struct members to avoid
apparent Sun C preprocessor recursion.  Fix access macros.
* nlmcode.h:  Remove spurious '&' before several array references.

31 years ago * Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c
Jim Kingdon [Tue, 20 Jul 1993 21:45:32 +0000 (21:45 +0000)]
* Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c
config/m68k-coffun.mt -> u68k-coff.mt.
* Makefile.in, configure.in: Corresponding changes.

31 years ago* config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
Jim Kingdon [Tue, 20 Jul 1993 21:24:20 +0000 (21:24 +0000)]
* config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.

31 years ago * symtab.c (find_line_symtab): New function, to deal with multiple
Jim Kingdon [Tue, 20 Jul 1993 21:15:45 +0000 (21:15 +0000)]
* symtab.c (find_line_symtab): New function, to deal with multiple
symtabs with the same name.
(find_line_pc{,_range}): Use it.
(find_pc_symtab): Add comment about overlapping symtabs.

31 years ago* elf32-sparc.c (elf_sparc_howto_table): Don't use "^&" before
Ken Raeburn [Tue, 20 Jul 1993 20:26:51 +0000 (20:26 +0000)]
* elf32-sparc.c (elf_sparc_howto_table): Don't use "^&" before
function name; it's valid without, and some compilers give
warnings with it there.

31 years agoadd i386-lynx support
David D. Zuhn [Tue, 20 Jul 1993 19:18:13 +0000 (19:18 +0000)]
add i386-lynx support

31 years agosupport for CONFIG_SHELL
David D. Zuhn [Tue, 20 Jul 1993 18:32:12 +0000 (18:32 +0000)]
support for CONFIG_SHELL

31 years agoReflect symmetry changes
Jim Kingdon [Tue, 20 Jul 1993 18:12:53 +0000 (18:12 +0000)]
Reflect symmetry changes

31 years agokeep mh-lynxos and mh-unixware
David D. Zuhn [Tue, 20 Jul 1993 17:34:43 +0000 (17:34 +0000)]
keep mh-lynxos and mh-unixware

31 years agochange linux to use OTHER_EMULATIONS
Mark Eichin [Tue, 20 Jul 1993 16:54:23 +0000 (16:54 +0000)]
change linux to use OTHER_EMULATIONS

31 years agoexperimental linux support
Mark Eichin [Tue, 20 Jul 1993 16:50:41 +0000 (16:50 +0000)]
experimental linux support

31 years agoMake emul-list.h depend on Makefile, so changes to EMULATION_OFILES get
Ken Raeburn [Tue, 20 Jul 1993 16:38:49 +0000 (16:38 +0000)]
Make emul-list.h depend on Makefile, so changes to EMULATION_OFILES get
reflected.

31 years agodisable em_i386linux.o until emulparams/i386linux.sh is checked in
Ken Raeburn [Tue, 20 Jul 1993 16:31:47 +0000 (16:31 +0000)]
disable em_i386linux.o until emulparams/i386linux.sh is checked in

31 years ago * bfd.c (union tdata): Add nlm_obj_data;
Fred Fish [Tue, 20 Jul 1993 15:30:58 +0000 (15:30 +0000)]
* bfd.c (union tdata):  Add nlm_obj_data;
* targets.c (enum target_flavour):  Add bfd_target_nlm_flavour.

31 years ago * bfd-in.h: Apply some of the changes that were made to bfd-in2.h.
Fred Fish [Tue, 20 Jul 1993 15:22:37 +0000 (15:22 +0000)]
* bfd-in.h:  Apply some of the changes that were made to bfd-in2.h.

31 years ago * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
Peter Schauer [Tue, 20 Jul 1993 07:04:26 +0000 (07:04 +0000)]
* gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
targets use aout.mt instead of ecoff.mt as gas understands
standard aout format.

31 years agoAdd nlm directory.
Fred Fish [Tue, 20 Jul 1993 05:16:51 +0000 (05:16 +0000)]
Add nlm directory.

31 years ago * (common.h, external.h, internal.h): New files for NLM/NetWare
Fred Fish [Tue, 20 Jul 1993 05:16:04 +0000 (05:16 +0000)]
* (common.h, external.h, internal.h):  New files for NLM/NetWare
support.

31 years ago * config.sub (netware): Add as a basic system type.
Fred Fish [Tue, 20 Jul 1993 04:55:52 +0000 (04:55 +0000)]
* config.sub (netware):  Add as a basic system type.

31 years ago * Makefile.in (SFILES): Add nlmread.c.
Fred Fish [Tue, 20 Jul 1993 04:53:03 +0000 (04:53 +0000)]
* Makefile.in (SFILES):  Add nlmread.c.
* Makefile.in (OBS):  Add nlmread.o.
* Makefile.in (nlmread.o):  Add new target.
* configure.in (i[34]86-*-netware):  New configuration.
* nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}:  New files
for NLM/NetWare support.

31 years ago * configure.in (*-*-netware, i[34]86-*-netware): New configs.
Fred Fish [Tue, 20 Jul 1993 04:45:13 +0000 (04:45 +0000)]
* configure.in (*-*-netware, i[34]86-*-netware):  New configs.
* Makefile.in (BFD32_BACKENDS):  Add nlm.o, nlm32.o, nlm32-gen.o.
* Makefile.in (BFD64_BACKENDS):  Add nlm64.o, nlm64-gen.o.
* Makefile.in (CFILES):  Add nlm{32,64}.c, nlm{32,64}-gen.c.
* Makefile.in (nlm.o, nlm{32,64}.o, nlm{32,64}-gen.o:  New targets.
* bfd-in2.h (INLINE):  Defines moved here.
* {aoutx.h, elf.c, elfcode.h}:  Move INLINE defines to bfd-in2.h.
* libelf.h (CAT4):  Move define to bfd-in2.h.
* bfd-in2.h (CAT4):  Merge CAT4 macro with other CAT macros.
* bfd-in2.h (union tdata):  Add nlm_obj_data.
* bfd-in2.h (enum target_flavour):  Add bfd_target_nlm_flavour.
* targets.c (bfd_nlm{32,64}_{big,little}_vec):  Add prototypes.
* targets.c (target_vector):  Add bfd_nlm{32,64}_{big,little}_vec.
* (libnlm.h, nlm.c, nlmcode.h, nlm{32,64}-gen.c,
nlm{32,64}-target.h, nlm{32,64}.c, config/i386-nlm.mt):  New files
for NLM support.

31 years ago * lib/gdb.exp (runto): Don't insist that function we are running to
Jim Kingdon [Tue, 20 Jul 1993 02:57:39 +0000 (02:57 +0000)]
* lib/gdb.exp (runto): Don't insist that function we are running to
was compiled with -g.

* gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.

31 years ago * symtab.h (enum minimal_symbol_type): Add mst_file_*.
Jim Kingdon [Tue, 20 Jul 1993 02:50:15 +0000 (02:50 +0000)]
* symtab.h (enum minimal_symbol_type): Add mst_file_*.
* partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
* dbxread.c (record_minimal_symbol): Deal with statics.
* minsyms.c (lookup_minimal_symbol): Prefer externals to statics.

31 years ago * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
Jim Kingdon [Tue, 20 Jul 1993 01:15:20 +0000 (01:15 +0000)]
* gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
to get back into the read system call.
Accept leading newline in case where we woke it up.

31 years ago* config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
Jim Kingdon [Tue, 20 Jul 1993 00:31:15 +0000 (00:31 +0000)]
* config/i386/xm-i386sco.h: Define HAVE_TERMIOS.

31 years ago* hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
Jim Kingdon [Tue, 20 Jul 1993 00:22:35 +0000 (00:22 +0000)]
* hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.

31 years ago* hppa.h (break): First immediate field is unsigned.
Jim Kingdon [Tue, 20 Jul 1993 00:20:44 +0000 (00:20 +0000)]
* hppa.h (break): First immediate field is unsigned.

31 years ago* hppa.h: Add rfir instruction.
Jim Kingdon [Tue, 20 Jul 1993 00:17:37 +0000 (00:17 +0000)]
* hppa.h: Add rfir instruction.

31 years ago * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
Jim Kingdon [Mon, 19 Jul 1993 23:31:09 +0000 (23:31 +0000)]
* printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
arg_bytes field of makeva_list is always aligned.
* config/pa/xm-pa.h: Make arglist_address a char *.

31 years ago * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
Jim Kingdon [Mon, 19 Jul 1993 23:20:55 +0000 (23:20 +0000)]
* printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
arg_bytes field of makeva_list is always aligned.
* config/pa/xm-pa.h: Make arglist_address a char *.

31 years agofix stupid typo
David D. Zuhn [Mon, 19 Jul 1993 22:24:56 +0000 (22:24 +0000)]
fix stupid typo

31 years agoadd i386-lynx support
David D. Zuhn [Mon, 19 Jul 1993 22:14:45 +0000 (22:14 +0000)]
add i386-lynx support

31 years ago * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
Jim Kingdon [Mon, 19 Jul 1993 21:39:36 +0000 (21:39 +0000)]
* hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
don't output a space.

31 years ago* hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
Jim Kingdon [Mon, 19 Jul 1993 20:54:04 +0000 (20:54 +0000)]
* hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.

31 years agodis-asm.h (struct disassemble_info): New field application_data.
Ken Raeburn [Mon, 19 Jul 1993 20:12:50 +0000 (20:12 +0000)]
dis-asm.h (struct disassemble_info): New field application_data.

31 years agovarious changes
Ken Raeburn [Mon, 19 Jul 1993 20:05:41 +0000 (20:05 +0000)]
various changes

31 years ago(write_relocs): New function, split off from write_contents. Use memset
Ken Raeburn [Mon, 19 Jul 1993 20:05:16 +0000 (20:05 +0000)]
(write_relocs): New function, split off from write_contents.  Use memset
instead of bzero.
(write_object_file): Apply write_relocs to each section before applying
write_contents.

31 years ago(read_begin): Call obstack_begin with values closer to 1K multiples.
Ken Raeburn [Mon, 19 Jul 1993 20:04:25 +0000 (20:04 +0000)]
(read_begin): Call obstack_begin with values closer to 1K multiples.
(read_a_source_file, big_cons, float_cons): Use memcpy instead of bcopy.

31 years agoforgot to check this in long ago...
Ken Raeburn [Mon, 19 Jul 1993 20:03:06 +0000 (20:03 +0000)]
forgot to check this in long ago...

31 years ago(obj_elf_previous): New function.
Ken Raeburn [Mon, 19 Jul 1993 19:49:34 +0000 (19:49 +0000)]
(obj_elf_previous): New function.
(previous_section, previous_subsection): New vars.
(obj_elf_section): Save current place in case DWARF code wants us
to pop back to it.  Handle unquoted section name as well as quoted
section name.  Don't crash on invalid strings.
(obj_pseudo_table): Handle new pseudos "previous", "2byte", and "4byte".

31 years ago * config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
Ian Lance Taylor [Mon, 19 Jul 1993 19:13:30 +0000 (19:13 +0000)]
* config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
calculating opP->isiz; this permits the expression size to be
determined as well, later on.

Fixes PR 2911.

31 years ago* elf.c, elfcode.h, libelf.h: Serious reorganization.
Ken Raeburn [Mon, 19 Jul 1993 19:12:59 +0000 (19:12 +0000)]
* elf.c, elfcode.h, libelf.h: Serious reorganization.
Deleted `thunk' structure, merged into tdata, duplicate data eliminated.
Rearranged functions, grouping by function.
Broke up many functions in elfcode.h, re-ordered many parts of file writing
to handle unpredictable state of section relocation table as provided by
various applications.
Still needs cleanup: Merge functions back together, split out data structure
with only data that is used only when writing out object file.

* elf.c (bfd_elf_generic_reloc): New function, taken from coff-mips.c.
* elf32-sparc.c (elf_sparc_howto_table): Use it, to work around
bfd_perform_relocation lossage.

31 years agoRepair bugs in conditionals, spotted by Zoo during "latest" build.
Roland Pesch [Mon, 19 Jul 1993 19:04:24 +0000 (19:04 +0000)]
Repair bugs in conditionals, spotted by Zoo during "latest" build.

31 years ago(BFD_LIBS): Include coff-mips.o and coff-msym.o, so that gdb will link.
Ken Raeburn [Mon, 19 Jul 1993 18:55:29 +0000 (18:55 +0000)]
(BFD_LIBS): Include coff-mips.o and coff-msym.o, so that gdb will link.
(ofiles): Don't use sort or uniq; do it with sh constructs.

31 years ago* ser-unix.c: Don't try to use job control with termio.
Jim Kingdon [Mon, 19 Jul 1993 18:51:00 +0000 (18:51 +0000)]
* ser-unix.c: Don't try to use job control with termio.

31 years ago * expr.c (clean_up_expression): Don't cancel the subtraction of
Ian Lance Taylor [Mon, 19 Jul 1993 18:46:39 +0000 (18:46 +0000)]
* expr.c (clean_up_expression): Don't cancel the subtraction of
undefined symbols.

Fixes PR 2997.

* read.c (s_data), config/obj-coffbfd.c (obj_coff_data): If -R,
switch to text section rather than data section.

Fixes PR 2971.

31 years ago * hppa-tdep.c (pc_in_linker_stub): New function.
Jim Kingdon [Mon, 19 Jul 1993 17:36:18 +0000 (17:36 +0000)]
* hppa-tdep.c (pc_in_linker_stub): New function.
(find_proc_framesize): Return 0 for linker stubs.
(rp_saved): Tell the caller where rp is saved.
(frame_chain_valid): Return 1 for linker stubs.
(frame_saved_pc): Use return value from rp_saved.

31 years agofix net-equip pr 2975: tm-m68k.c(m68k_ip): adjust for pc-rel offset before using...
Ken Raeburn [Mon, 19 Jul 1993 16:49:01 +0000 (16:49 +0000)]
fix net-equip pr 2975: tm-m68k.c(m68k_ip): adjust for pc-rel offset before using value, not after

31 years agomore linux support bits
Mark Eichin [Mon, 19 Jul 1993 15:00:19 +0000 (15:00 +0000)]
more linux support bits

31 years agoadd linux support (may not work yet, just cloned from i386-aout)
Mark Eichin [Mon, 19 Jul 1993 14:51:00 +0000 (14:51 +0000)]
add linux support (may not work yet, just cloned from i386-aout)

31 years ago Make breakpoint_re_set_one work with overloaded member functions,
Peter Schauer [Mon, 19 Jul 1993 06:41:16 +0000 (06:41 +0000)]
Make breakpoint_re_set_one work with overloaded member functions,
`b 123' and `b foo' if foo is a static function.
* symtab.c (decode_line_1, decode_line_2):  New argument `canonical'
to return canonical line specs if requested by the caller.
* breakpoint.c, source.c, symtab.c, symtab.h:  Change prototypes and
callers accordingly.
* symtab.c (build_canonical_line_spec):  New helper function which
constructs the canonical line spec.
* breakpoint.c (break_command_1):  Use canonical line spec instead
of command string as addr_string if necessary.
* source.c (line_info):  Fix storage leak.

31 years ago * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
Jim Kingdon [Mon, 19 Jul 1993 05:09:06 +0000 (05:09 +0000)]
* infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
but not the others.
* symm-tdep.c: Remove exec_file_command.
[_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
A few miscellaneous cleanups.
* symm-nat.c: Renamed from symm-xdep.c.
* All symmetry dependent files: Many changes.

31 years ago * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
Jim Kingdon [Mon, 19 Jul 1993 05:00:13 +0000 (05:00 +0000)]
* infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
but not the others.
* symm-tdep.c: Remove exec_file_command.
[_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
A few miscellaneous cleanups.
* symm-nat.c: Renamed from symm-xdep.c.
* All symmetry dependent files: Many changes.

31 years ago * coffcode.h: Recognize I386PTXMAGIC.
Jim Kingdon [Mon, 19 Jul 1993 04:55:21 +0000 (04:55 +0000)]
* coffcode.h: Recognize I386PTXMAGIC.
* aoutf1.h, libaout.h: Add M_386_DYNIX.
* trad-core.c (TRAD_CORE_USER_OFFSET, TRAD_CORE_STACK_FILEPOS):
New macros; use it if defined.
* config/symmetry.mh, hosts/symmetry.h: New files.

31 years ago* dynix3.h: New, for symmetry running dynix.
Jim Kingdon [Mon, 19 Jul 1993 04:53:24 +0000 (04:53 +0000)]
* dynix3.h: New, for symmetry running dynix.

31 years ago * mips-tdep.c (mips_skip_prologue): New argument lenient.
Jim Kingdon [Mon, 19 Jul 1993 02:28:21 +0000 (02:28 +0000)]
* mips-tdep.c (mips_skip_prologue): New argument lenient.
Use read_memory_nobpt.
(is_delayed, mips_in_lenient_prologue): New functions.
(init_extra_frame_info): If in the prologue, don't use saved registers.
* config/mips/tm-mips.h: Declare mips_skip_prologue.

31 years ago* mips.h: Split the actual table out into ../../opcodes/mips-opc.c.
Jim Kingdon [Mon, 19 Jul 1993 02:26:06 +0000 (02:26 +0000)]
* mips.h: Split the actual table out into ../../opcodes/mips-opc.c.

31 years ago * mips-opc.c: New file, containing opcode table from
Jim Kingdon [Mon, 19 Jul 1993 02:25:39 +0000 (02:25 +0000)]
* mips-opc.c: New file, containing opcode table from
../include/opcode/mips.h.
* Makefile.in: Add it.

31 years ago * partial-stab.h (N_SO): Add the text offset to valu before, not after,
Jim Kingdon [Sun, 18 Jul 1993 22:50:30 +0000 (22:50 +0000)]
* partial-stab.h (N_SO): Add the text offset to valu before, not after,
passing it to END_PSYMTAB.

31 years ago * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
Peter Schauer [Sun, 18 Jul 1993 15:47:51 +0000 (15:47 +0000)]
* gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
to make the stabs test work on ecoff systems using gcc and -with-stabs.
* gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
enable ecoff configuration.

31 years agoMOD2
Roland Pesch [Sat, 17 Jul 1993 01:58:47 +0000 (01:58 +0000)]
MOD2

31 years ago * symtab.c (find_pc_symtab): Call warning, not printf directly.
Jim Kingdon [Sat, 17 Jul 1993 01:58:33 +0000 (01:58 +0000)]
* symtab.c (find_pc_symtab): Call warning, not printf directly.

* solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.

31 years agoIntroduce MOD2 switch to segregate material on Modula-2; eventually
Roland Pesch [Sat, 17 Jul 1993 01:57:50 +0000 (01:57 +0000)]
Introduce MOD2 switch to segregate material on Modula-2; eventually
each supported language should be controlled by a separate switch, and CONLY
should be retired.

31 years ago * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
Jim Kingdon [Sat, 17 Jul 1993 01:37:06 +0000 (01:37 +0000)]
* Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
* Makefile.in: Change accordingly.
(CFILES): Add elf64-gen.c.

31 years ago * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
Jim Kingdon [Sat, 17 Jul 1993 01:28:11 +0000 (01:28 +0000)]
* Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
* Makefile.in: Change accordingly.
(CFILES): Add elf64-gen.c.

31 years agoposix.2 final changes
David MacKenzie [Sat, 17 Jul 1993 01:10:10 +0000 (01:10 +0000)]
posix.2 final changes

31 years ago* Makefile.in (TAGS): make work when srcdir != objdir.
Jim Kingdon [Fri, 16 Jul 1993 22:28:12 +0000 (22:28 +0000)]
* Makefile.in (TAGS): make work when srcdir != objdir.

31 years agoremove /dev/null kludge
David MacKenzie [Fri, 16 Jul 1993 22:24:10 +0000 (22:24 +0000)]
remove /dev/null kludge

31 years agoupdate for lynx, sgi -x- sh
David D. Zuhn [Fri, 16 Jul 1993 21:21:30 +0000 (21:21 +0000)]
update for lynx, sgi -x- sh

31 years ago * ldgram.y (OPTION_Lfile): New token.
Ian Lance Taylor [Fri, 16 Jul 1993 21:15:40 +0000 (21:15 +0000)]
* ldgram.y (OPTION_Lfile): New token.
(command_line_option): Accept OPTION_L NAME (whitespace after -L).
* ldlex.l (<COMMAND>): Accept -L without FILENAME.

31 years agoh8/300h stuff
David Edelsohn [Fri, 16 Jul 1993 20:46:46 +0000 (20:46 +0000)]
h8/300h stuff

31 years agoFix h8300h support (need own .mt file).
David Edelsohn [Fri, 16 Jul 1993 20:44:05 +0000 (20:44 +0000)]
Fix h8300h support (need own .mt file).

31 years agoh8/300h support
David Edelsohn [Fri, 16 Jul 1993 20:43:14 +0000 (20:43 +0000)]
h8/300h support

31 years agoFix bit instructions (was setting destination reg and not carry).
David Edelsohn [Fri, 16 Jul 1993 20:26:05 +0000 (20:26 +0000)]
Fix bit instructions (was setting destination reg and not carry).

31 years agowork around lynxos /bin/sh lossage
David D. Zuhn [Fri, 16 Jul 1993 20:21:43 +0000 (20:21 +0000)]
work around lynxos /bin/sh lossage

31 years agouse mh-lynxos for *-*-lynxos
David D. Zuhn [Fri, 16 Jul 1993 20:17:49 +0000 (20:17 +0000)]
use mh-lynxos for *-*-lynxos

31 years agonew file for lynx
David D. Zuhn [Fri, 16 Jul 1993 20:15:44 +0000 (20:15 +0000)]
new file for lynx

31 years agouse mh-lynxos host fragment
David D. Zuhn [Fri, 16 Jul 1993 20:15:19 +0000 (20:15 +0000)]
use mh-lynxos host fragment

31 years agohandle broken test (lynx)
David D. Zuhn [Fri, 16 Jul 1993 20:14:38 +0000 (20:14 +0000)]
handle broken test (lynx)

31 years ago * mips.h: Reworked the hazard information somewhat, and fixed some
Ian Lance Taylor [Fri, 16 Jul 1993 17:01:31 +0000 (17:01 +0000)]
* mips.h: Reworked the hazard information somewhat, and fixed some
bugs in the instruction hazard descriptions.

31 years ago * mipsread.c: No longer need to undefine ZMAGIC.
Ian Lance Taylor [Fri, 16 Jul 1993 16:58:08 +0000 (16:58 +0000)]
* mipsread.c: No longer need to undefine ZMAGIC.

31 years ago * coff-mips.c: Use MIPS_AOUT_{OZ}MAGIC rather than {OZ}MAGIC.
Ian Lance Taylor [Fri, 16 Jul 1993 16:56:05 +0000 (16:56 +0000)]
* coff-mips.c: Use MIPS_AOUT_{OZ}MAGIC rather than {OZ}MAGIC.

31 years ago * mips.h (MIPS_AOUT_{OZ}MAGIC): Renamed from {OZ}MAGIC.
Ian Lance Taylor [Fri, 16 Jul 1993 16:55:20 +0000 (16:55 +0000)]
* mips.h (MIPS_AOUT_{OZ}MAGIC): Renamed from {OZ}MAGIC.

31 years ago * config/tc-hppa.h (tc_frob_label): Define.
Ian Lance Taylor [Fri, 16 Jul 1993 16:26:41 +0000 (16:26 +0000)]
* config/tc-hppa.h (tc_frob_label): Define.

* config/tc-mips.c: Many changes to support simple assembler
optimization.
(insn_label, prev_insn, prev_prev_insn, dummy_opcode,
prev_insn_valid, prev_insn_frag, prev_insn_where,
prev_insn_fixp, prev_insn_is_delay_slot): New static
variables.
(insn_uses_reg, mips_no_prev_insn, mips_emit_delays,
mips_align, s_stringer, s_mips_space): New static functions.
(mips_define_label): New global function.
(md_pseudo_table): For "ascii", "asciz", "asciiz", call
s_stringer.  Changed argument to float_cons from 0 or 1 to 'f'
or 'd'.  For "space" call s_mips_space.
(md_begin): Call mips_no_prev_insn.
(append_insn): Only insert necessary NOP instructions.
(macro): Call mips_emit_delays before setting mips_noreorder.
Increment and decrement mips_noreorder rather than using
save_reorder_condition.  Don't bother to use noreorder in
M_L_DOB and M_L_DAB, since append_insn will not insert a NOP.
(md_atof): Handle floating point numbers correctly for both
big and little endian targets.
(s_align, s_cons): Call mips_align rather than frag_align.
(s_change_seg, s_cons): Call mips_emit_delays.
(s_float_cons): Let float_cons do the work.
(s_mipsset): Call mips_emit_delays when setting noreorder.
* config/tc-mips.h (tc_frob_label): Define to be
mips_define_label.

31 years ago * read.c (float_cons): Simplified parsing logic. If
Ian Lance Taylor [Fri, 16 Jul 1993 16:26:03 +0000 (16:26 +0000)]
* read.c (float_cons): Simplified parsing logic.  If
REPEAT_CONS_EXPRESSIONS is defined, accept a repeat count.

* symbols.c (colon): Rather than a special case for TC_HPPA,
use new macro tc_frob_label.

31 years ago * config/obj-ecoff.c (ecoff_build_symbols, ecoff_build_procs,
Ian Lance Taylor [Fri, 16 Jul 1993 15:58:08 +0000 (15:58 +0000)]
* config/obj-ecoff.c (ecoff_build_symbols, ecoff_build_procs,
ecoff_frob_files): Consistently use S_GET_VALUE rather than
bfd_asymbol_value.  Warn if taking difference of symbols in
different segments.

31 years ago * config/tc-m88k.c (omagic): Removed unused variable.
Ian Lance Taylor [Thu, 15 Jul 1993 22:16:39 +0000 (22:16 +0000)]
* config/tc-m88k.c (omagic): Removed unused variable.

31 years agoRemoved definition of OMAGIC from m88k.h.
Ian Lance Taylor [Thu, 15 Jul 1993 22:10:56 +0000 (22:10 +0000)]
Removed definition of OMAGIC from m88k.h.

31 years ago * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
Ian Lance Taylor [Thu, 15 Jul 1993 22:07:28 +0000 (22:07 +0000)]
* m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
(print_insn): Now just calls print_insn_m88k.

31 years agoremove dupliate include
David MacKenzie [Thu, 15 Jul 1993 22:02:01 +0000 (22:02 +0000)]
remove dupliate include

31 years ago * config/obj-ecoff.c (ecoff_frob_file): Discard all open scopes,
Ian Lance Taylor [Thu, 15 Jul 1993 22:01:27 +0000 (22:01 +0000)]
* config/obj-ecoff.c (ecoff_frob_file): Discard all open scopes,
with a warning.

31 years ago* h8300-tdep.c (examine_prologue): Make prototype match definition.
David Edelsohn [Thu, 15 Jul 1993 21:55:14 +0000 (21:55 +0000)]
* h8300-tdep.c (examine_prologue): Make prototype match definition.

31 years ago(examine_prologue): Make prototype match definition.
David Edelsohn [Thu, 15 Jul 1993 21:53:51 +0000 (21:53 +0000)]
(examine_prologue): Make prototype match definition.

31 years agosource cleanups; fix finding scripts
David MacKenzie [Thu, 15 Jul 1993 21:49:24 +0000 (21:49 +0000)]
source cleanups; fix finding scripts