binutils-gdb.git
27 years ago * config/tc-mips.c (md_begin): Don't set interlocks for 4100.
Jim Wilson [Wed, 2 Apr 1997 02:33:47 +0000 (02:33 +0000)]
* config/tc-mips.c (md_begin): Don't set interlocks for 4100.

27 years agoTue Apr 1 16:28:50 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 1 Apr 1997 21:29:27 +0000 (21:29 +0000)]
Tue Apr  1 16:28:50 1997  Klaus Kaempf  <kkaempf@progis.de>

* makefile.vms: Don't run conf-a-gas.

27 years agoTue Apr 1 16:27:45 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 1 Apr 1997 21:28:15 +0000 (21:28 +0000)]
Tue Apr  1 16:27:45 1997  Klaus Kaempf  <kkaempf@progis.de>

* makefile.vms: Update CFLAGS, add clean target.

27 years agoTue Apr 1 16:24:28 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 1 Apr 1997 21:26:16 +0000 (21:26 +0000)]
Tue Apr  1 16:24:28 1997  Klaus Kaempf  <kkaempf@progis.de>

* config-gas.com: Update to handle both vax and alpha.
* makefile.vms: Update to use config-gas.
* conf-a-gas.com: Remove file.

27 years agoTue Apr 1 16:21:44 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 1 Apr 1997 21:22:54 +0000 (21:22 +0000)]
Tue Apr  1 16:21:44 1997  Klaus Kaempf  <kkaempf@progis.de>

* configure.com: New file.
* config.h-vms: Remove file.
* makefile.vms: Update for new configure scheme.

27 years agoTue Apr 1 16:18:05 1997 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 1 Apr 1997 21:19:48 +0000 (21:19 +0000)]
Tue Apr  1 16:18:05 1997  Klaus Kaempf  <kkaempf@progis.de>

* configure.com: New file.
* config.h-vms: Remove file.
* makefile.vms: Update for new configure scheme.

27 years ago * Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and
Ian Lance Taylor [Tue, 1 Apr 1997 21:09:44 +0000 (21:09 +0000)]
* Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and
itbl-lex.c dependencies.  Remove rules for itbl-lex.o,
itbl-parse.o, and itbl-ops.o; just use the normal .c.o rule.

27 years agoMake # a line comment character
Michael Meissner [Tue, 1 Apr 1997 16:29:10 +0000 (16:29 +0000)]
Make # a line comment character

27 years ago * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory instead
Jason Molenda [Tue, 1 Apr 1997 06:04:02 +0000 (06:04 +0000)]
    * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory instead
        of gdbtk.tcl.

27 years agoMon Mar 31 23:53:44 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Tue, 1 Apr 1997 04:54:41 +0000 (04:54 +0000)]
Mon Mar 31 23:53:44 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* config/tc-ppc.c (register_name): Declare.

27 years agoMon Mar 31 23:28:39 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Tue, 1 Apr 1997 04:30:38 +0000 (04:30 +0000)]
Mon Mar 31 23:28:39 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* coffcode.h (coff_mkobject_hook): Declare if not a macro.

27 years agoremove m32r sanitization
Ian Lance Taylor [Tue, 1 Apr 1997 04:12:20 +0000 (04:12 +0000)]
remove m32r sanitization

27 years agoMon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com>
Ian Lance Taylor [Mon, 31 Mar 1997 21:39:24 +0000 (21:39 +0000)]
Mon Mar 31 16:35:51 1997  Joel Sherrill  <joel@oarcorp.com>

        * configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*.

27 years agox
Ian Lance Taylor [Mon, 31 Mar 1997 21:35:19 +0000 (21:35 +0000)]
x

27 years agoMon Mar 31 16:31:04 1997 Joel Sherrill <joel@oarcorp.com>
Ian Lance Taylor [Mon, 31 Mar 1997 21:34:52 +0000 (21:34 +0000)]
Mon Mar 31 16:31:04 1997  Joel Sherrill  <joel@oarcorp.com>

        * configure.in (hppa*-*-rtems*): New target, like hppa-*-*elf*.
* configure: Rebuild.

27 years agoMon Mar 31 16:29:50 1997 Joel Sherrill <joel@oarcorp.com>
Ian Lance Taylor [Mon, 31 Mar 1997 21:30:49 +0000 (21:30 +0000)]
Mon Mar 31 16:29:50 1997  Joel Sherrill  <joel@oarcorp.com>

        * bfd/config.bfd (hppa*-*-rtems*): New target, like hppa-*-*elf*.

27 years agoMon Mar 31 16:26:55 1997 Joel Sherrill <joel@oarcorp.com>
Ian Lance Taylor [Mon, 31 Mar 1997 21:29:17 +0000 (21:29 +0000)]
Mon Mar 31 16:26:55 1997  Joel Sherrill  <joel@oarcorp.com>

        * configure.in (hppa1.1-*-rtems*): New target, like hppa-*-*elf*.

27 years ago * coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a
Ian Lance Taylor [Mon, 31 Mar 1997 21:12:54 +0000 (21:12 +0000)]
* coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a
symbol index for a R_IHCONST reloc.

27 years agoMon Mar 31 15:40:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
Ian Lance Taylor [Mon, 31 Mar 1997 20:41:59 +0000 (20:41 +0000)]
Mon Mar 31 15:40:59 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>

* targmatch.sed: Do not use \(\) recursively.

27 years ago * gdbinit.in: New file.
Ian Lance Taylor [Mon, 31 Mar 1997 19:57:51 +0000 (19:57 +0000)]
* gdbinit.in: New file.
* .gdbinit: Remove.
* configure.in: Generate .gdbinit from gdbinit.in.
* configure: Rebuild.

27 years ago * config/tc-mips.c (mips_pseudo_table): Add "stabn".
Ian Lance Taylor [Mon, 31 Mar 1997 19:45:23 +0000 (19:45 +0000)]
* config/tc-mips.c (mips_pseudo_table): Add "stabn".
(mips16_mark_labels): New static function.
(append_insn): Call mips16_mark_labels.
(mips_emit_delays): Likewise.
(s_insn): Likewise.  Don't call mips_clear_insn_labels.
(s_mips_stab): New static function.

27 years ago * configure.in: Use ELF for mips-*-gnu*.
Ian Lance Taylor [Mon, 31 Mar 1997 19:16:11 +0000 (19:16 +0000)]
* configure.in: Use ELF for mips-*-gnu*.
* configure: Rebuild.

27 years agoMon Mar 31 14:01:40 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
Ian Lance Taylor [Mon, 31 Mar 1997 19:11:03 +0000 (19:11 +0000)]
Mon Mar 31 14:01:40 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>

* config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if
TE_DELTA.

27 years ago * configure.in: Remove noconfigdirs case since gdb also
Fred Fish [Sun, 30 Mar 1997 19:46:29 +0000 (19:46 +0000)]
* configure.in: Remove noconfigdirs case since gdb also
configures and builds for tic80-coff.

27 years ago * config/tic80/tic80.mt: Disable using the simulator
Fred Fish [Sun, 30 Mar 1997 19:35:55 +0000 (19:35 +0000)]
* config/tic80/tic80.mt: Disable using the simulator
until it is ready.

27 years ago * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
Bob Manson [Sat, 29 Mar 1997 22:08:56 +0000 (22:08 +0000)]
* gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.

27 years ago * COPYING: Install new version of file from FSF.
Fred Fish [Sat, 29 Mar 1997 21:03:31 +0000 (21:03 +0000)]
* COPYING: Install new version of file from FSF.
* copying.c (show_copying_command): Update FSF address.

27 years ago * gdb.base/scope.exp: It's now init0(), not init().
Bob Manson [Sat, 29 Mar 1997 21:00:14 +0000 (21:00 +0000)]
* gdb.base/scope.exp: It's now init0(), not init().

* gdb.base/scope0.c: For now, change init() to be init0().

27 years ago * config/monitor.exp: Use gdb_serial in preference to serial
Bob Manson [Sat, 29 Mar 1997 19:24:07 +0000 (19:24 +0000)]
* config/monitor.exp: Use gdb_serial in preference to serial
or netport.

* lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
  and it's not already set.

* gdb.base/setshow.exp: Only test the run command if the target
  isn't using a stub and if it supports argument passing.

27 years ago * Makefile.in (distclean): Remove .gdbinit.
Ian Lance Taylor [Fri, 28 Mar 1997 23:34:28 +0000 (23:34 +0000)]
* Makefile.in (distclean): Remove .gdbinit.

27 years ago * configure: Set cache_file to config.cache.
Ian Lance Taylor [Fri, 28 Mar 1997 23:30:32 +0000 (23:30 +0000)]
* configure: Set cache_file to config.cache.
* Makefile.in (local-distclean): Remove config.cache.

27 years agoFri Mar 28 17:57:53 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Fri, 28 Mar 1997 23:17:08 +0000 (23:17 +0000)]
Fri Mar 28 17:57:53 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>

* Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice.
* configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
set OPCODES to empty.
* configure: Rebuild.

27 years agoFri Mar 28 18:03:19 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Fri, 28 Mar 1997 23:16:18 +0000 (23:16 +0000)]
Fri Mar 28 18:03:19 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>

* configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
set OPCODES_LIB to empty.
* configure: Rebuild.

27 years ago * config/tic80/tm-tic80.h (NAMES_HAVE_UNDERSCORE): Define.
Fred Fish [Fri, 28 Mar 1997 22:47:22 +0000 (22:47 +0000)]
* config/tic80/tm-tic80.h (NAMES_HAVE_UNDERSCORE): Define.

27 years agoFix faulty assumption that va_list is a pointer type
Michael Meissner [Fri, 28 Mar 1997 20:48:12 +0000 (20:48 +0000)]
Fix faulty assumption that va_list is a pointer type

27 years agoFri Mar 28 15:44:41 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Fri, 28 Mar 1997 20:45:38 +0000 (20:45 +0000)]
Fri Mar 28 15:44:41 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* libiberty.h (basename): Add prototype for glibc and linux.

27 years agoFri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Fri, 28 Mar 1997 20:33:54 +0000 (20:33 +0000)]
Fri Mar 28 15:29:23 1997  H.J. Lu <hjl@gnu.ai.mit.edu>

Contributed by David S. Miller <davem@caip.rutgers.edu>:
* configure.tgt (sparc*-*-linuxaout*): New target.
(sparc*-*-linux*): New target.
* emulparams/sparclinux.sh: New file.
* Makefile.in (ALL_EMULATIONS): Add esparclinux.o.
(esparclinux.c): New target.

27 years agoFri Mar 28 15:25:24 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Fri, 28 Mar 1997 20:26:26 +0000 (20:26 +0000)]
Fri Mar 28 15:25:24 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* configure.in (sparc-*-linux*aout*, sparc-*-linux*): New
targets.
* configure: Rebuild.

27 years ago From David S. Miller <davem@caip.rutgers.edu> and H.J. Lu
Ian Lance Taylor [Fri, 28 Mar 1997 20:24:08 +0000 (20:24 +0000)]
From David S. Miller <davem@caip.rutgers.edu> and H.J. Lu
<hjl@gnu.ai.mit.edu>:
* sparclinux.c: New file.
* config.bfd (sparc-*-linuxaout*, sparc-*-linux*): New targets.
* configure.in (sparclinux_vec): Add to list of vectors.
* configure: Rebuild.
* targets.c (sparclinux_vec): Declare.
(bfd_target_vector): Add sparclinux_vec.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add sparclinux.o.
(BFD32_BACKENDS_CFILES): Add sparclinux.c.

27 years agoFri Mar 28 14:44:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Fri, 28 Mar 1997 19:47:20 +0000 (19:47 +0000)]
Fri Mar 28 14:44:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* m68klinux.c (MACHTYPE_OK): Define.
* i386linux.c (MACHTYPE_OK): Define.

27 years ago * itbl-parse.y (yyerror): Make static. Declare.
Ian Lance Taylor [Fri, 28 Mar 1997 19:40:00 +0000 (19:40 +0000)]
* itbl-parse.y (yyerror): Make static.  Declare.

27 years ago From Ralf Baechle <ralf@gnu.ai.mit.edu>:
Ian Lance Taylor [Fri, 28 Mar 1997 19:34:34 +0000 (19:34 +0000)]
From Ralf Baechle <ralf@gnu.ai.mit.edu>:
* configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and
mips*-*-linux*.  Use elf32bmip and elf32lmip, not elf32ebmip and
elf32elmip.

27 years agofix comment
Ian Lance Taylor [Fri, 28 Mar 1997 19:27:51 +0000 (19:27 +0000)]
fix comment

27 years ago From Ralf Baechle <ralf@gnu.ai.mit.edu>:
Ian Lance Taylor [Fri, 28 Mar 1997 19:25:01 +0000 (19:25 +0000)]
From Ralf Baechle <ralf@gnu.ai.mit.edu>:
* configure.in: Set emulations for mips-*-linux*-*.
* configure: Rebuild.

27 years ago * config/tc-mips.c (struct mips_set_options): Define.
Ian Lance Taylor [Fri, 28 Mar 1997 19:18:11 +0000 (19:18 +0000)]
* config/tc-mips.c (struct mips_set_options): Define.
(mips_opts): New static variable.
(mips_isa): Remove.  Now a field in mips_opts.  Change all
references.
(mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
(mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
(struct mips_option_stack): Define.
(mips_opts_stack): New static variable.
(s_mipsset): Add support for .set push and .set pop.
* doc/c-mips.texi: Document .set push and .set pop.

27 years ago * coff-mips.c (mips_ecoff_backend_data): Initialize new
Ian Lance Taylor [Fri, 28 Mar 1997 19:01:48 +0000 (19:01 +0000)]
* coff-mips.c (mips_ecoff_backend_data): Initialize new
bfd_coff_backend_data field.
* coff-alpha.c (alpha_ecoff_backend_data): Likewise.

27 years ago * config/obj-elf.c (obj_elf_section_change_hook): New function.
Ian Lance Taylor [Fri, 28 Mar 1997 18:10:09 +0000 (18:10 +0000)]
* config/obj-elf.c (obj_elf_section_change_hook): New function.
* config/obj-elf.h (obj_elf_section_change_hook): Declare it.
* config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.

27 years ago * config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs
Ian Lance Taylor [Fri, 28 Mar 1997 17:39:23 +0000 (17:39 +0000)]
* config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs
for mips*el*-*-linux* and mips*-*-linux*.  From H.J. Lu
<hjl@lucon.org> and Ralf Baechle <ralf@gnu.ai.mit.edu>.

27 years ago * configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
Ian Lance Taylor [Fri, 28 Mar 1997 17:11:55 +0000 (17:11 +0000)]
* configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
* configure, config.in: Rebuild.
* sysdep.h: Include <stdlib.h> if it exists.
* sparc-dis.c: Include <stdio.h> and "sysdep.h".  Don't include
<string.h>.
* Makefile.in: Rebuild dependencies.

27 years ago * ppc-opc.c: Add PPC 403 instructions and extended opcodes. From
Ian Lance Taylor [Fri, 28 Mar 1997 17:07:47 +0000 (17:07 +0000)]
* ppc-opc.c: Add PPC 403 instructions and extended opcodes.  From
Andrew Bray <andy@madhouse.demon.co.uk>.

27 years ago * bfd.c: Include "libiberty.h".
Ian Lance Taylor [Fri, 28 Mar 1997 16:56:57 +0000 (16:56 +0000)]
* bfd.c: Include "libiberty.h".
(strerror): Don't declare.
(bfd_errmsg): Call xstrerror rather than strerror.

27 years ago * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by
Jason Molenda [Fri, 28 Mar 1997 08:04:44 +0000 (08:04 +0000)]
    * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by
        default, not $(srcdir).

27 years agoThu Mar 27 15:52:40 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 27 Mar 1997 23:55:00 +0000 (23:55 +0000)]
Thu Mar 27 15:52:40 1997  Geoffrey Noer  <noer@cygnus.com>

        * mh-cygwin32: override CXXFLAGS, setting to -O2 only
        (no debug)

27 years ago * remote-mips.c: Clean up comment and extraneous semicolon
Mark Alexander [Thu, 27 Mar 1997 22:25:51 +0000 (22:25 +0000)]
* remote-mips.c: Clean up comment and extraneous semicolon
for mips_monitor_prompt variable.

27 years ago * gprof.c (main): Correct copyright message.
Ian Lance Taylor [Thu, 27 Mar 1997 22:18:17 +0000 (22:18 +0000)]
* gprof.c (main): Correct copyright message.

27 years ago * lexsup.c (parse_args): Update copyright date in version
Ian Lance Taylor [Thu, 27 Mar 1997 22:14:57 +0000 (22:14 +0000)]
* lexsup.c (parse_args): Update copyright date in version
message.

27 years ago * as.c (parse_args): Update copyright date in version message.
Ian Lance Taylor [Thu, 27 Mar 1997 22:13:23 +0000 (22:13 +0000)]
* as.c (parse_args): Update copyright date in version message.

27 years ago * remote-mips.c: Add `set monitor-prompt' command.
Mark Alexander [Thu, 27 Mar 1997 22:09:34 +0000 (22:09 +0000)]
* remote-mips.c: Add `set monitor-prompt' command.

27 years ago Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
Ian Lance Taylor [Thu, 27 Mar 1997 22:02:46 +0000 (22:02 +0000)]
Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
* objcopy.c: Include <utime.h> or <sys/time.h>.
(strip_options): Add "preserve-dates".
(copy_options): Likewise.
(copy_usage): Mention -p and --preserve-dates.
(strip_usage): Likewise.
(make_same_dates): New static function.
(strip_main): Handle -p.
(copy_main): Likewise.
* binutils.texi, strip.1, objcopy.1: Document new option.

27 years agomention addr2line
Ian Lance Taylor [Thu, 27 Mar 1997 21:37:03 +0000 (21:37 +0000)]
mention addr2line

27 years ago addr2line.c contributed by Ulrich Lauther
Ian Lance Taylor [Thu, 27 Mar 1997 21:35:00 +0000 (21:35 +0000)]
addr2line.c contributed by Ulrich Lauther
<Ulrich.Lauther@zfe.siemens.de>:
* addr2line.c: New file.
* Makefile.in: Rebuild dependencies.
  (ADDR2LINE_PROG): New variable.
(MANPAGES): Add addr2line.
(PROGS): Add $(ADDR2LINE_PROG).
(CFILES): Add addr2line.c.
($(ADDR2LINE_PROG)): New target.
* binutils.texi: Document addr2line.
* addr2line.1: New file.

27 years ago * version.c (print_version): Update copyright date.
Ian Lance Taylor [Thu, 27 Mar 1997 21:03:14 +0000 (21:03 +0000)]
* version.c (print_version): Update copyright date.

27 years ago * mips-opc.c: Add cast when setting mips_opcodes.
Ian Lance Taylor [Thu, 27 Mar 1997 19:25:01 +0000 (19:25 +0000)]
* mips-opc.c: Add cast when setting mips_opcodes.

27 years ago * Makefile.in (clean-here): Remove dependency files.
Ian Lance Taylor [Thu, 27 Mar 1997 18:52:00 +0000 (18:52 +0000)]
* Makefile.in (clean-here): Remove dependency files.

27 years ago * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY
Ian Lance Taylor [Thu, 27 Mar 1997 18:45:20 +0000 (18:45 +0000)]
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY
reloc even if the symbol is in the .bss section.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.

27 years ago * coffcode.h (bfd_coff_backend_data): Add new field
Ian Lance Taylor [Thu, 27 Mar 1997 18:01:55 +0000 (18:01 +0000)]
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_default_section_alignment_power.
(bfd_coff_default_section_alignment_power): Define.
(bfd_coff_std_swap_table): Initialize new field.
* libcoff.h: Rebuild.
* cofflink.c (coff_link_add_symbols): Limit alignment of a common
symbol to the default section alignment.

27 years ago * COPYING: Update FSF address.
Ian Lance Taylor [Thu, 27 Mar 1997 17:56:03 +0000 (17:56 +0000)]
* COPYING: Update FSF address.

27 years ago * read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
Ian Lance Taylor [Thu, 27 Mar 1997 17:31:06 +0000 (17:31 +0000)]
* read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
(s_mri_common): Check S_IS_COMMON unconditionally.
* symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
* config/tc-alpha.c (s_alpha_comm): Likewise.
* config/tc-mips.c (nopic_need_relax): Likewise.
* config/tc-ppc.c (ppc_elf_lcomm): Likewise.
(ppc_pe_comm): Likewise.
* config/obj-elf.c (obj_elf_common): Likewise.  Set segment of
common symbol to bfd_com_section_ptr.
* config/tc-sparc.c (s_common): Likewise.
(tc_gen_reloc): Likewise.

27 years agoThu Mar 27 00:45:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 27 Mar 1997 08:48:14 +0000 (08:48 +0000)]
Thu Mar 27 00:45:57 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>

* elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the
21-bit absolute that made it act as a relative.

27 years agoThu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 27 Mar 1997 08:44:55 +0000 (08:44 +0000)]
Thu Mar 27 00:42:28 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d30.exp: Add test case reloc.
* reloc.[sd]: New files to test relocations.

27 years agoThu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 27 Mar 1997 08:44:39 +0000 (08:44 +0000)]
Thu Mar 27 00:42:28 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>

* gas/d30v/d30.exp: Add test case reloc.
* gas/d30v/reloc.[sd]: New files to test relocations.

27 years agoThu Mar 27 00:29:46 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 27 Mar 1997 08:41:18 +0000 (08:41 +0000)]
Thu Mar 27 00:29:46 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d30v.c (md_apply_fix3): Get the relocs right.

27 years ago * listing.c (print_lines): Add lineno parameter. Change all
Ian Lance Taylor [Wed, 26 Mar 1997 22:26:14 +0000 (22:26 +0000)]
* listing.c (print_lines): Add lineno parameter.  Change all
callers.
(listing_listing): Only call calc_hex for the right line.
(listing_list): Set the new edict based on the current edict, in
order to handle listing commands in macros correctly.

27 years ago * elf32-ppc.c (ppc_elf_check_relocs): Only create the got section
Ian Lance Taylor [Wed, 26 Mar 1997 19:51:12 +0000 (19:51 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Only create the got section
if it is needed.

27 years agoWed Mar 26 13:35:15 1997 H.J. Lu <hjl@lucon.org>
Ian Lance Taylor [Wed, 26 Mar 1997 18:36:17 +0000 (18:36 +0000)]
Wed Mar 26 13:35:15 1997  H.J. Lu  <hjl@lucon.org>

* config/tc-i386.c (tc_i386_fix_adjustable): Only define if
BFD_ASSEMBLER.

27 years ago * config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
Ian Lance Taylor [Wed, 26 Mar 1997 17:23:34 +0000 (17:23 +0000)]
* config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
instructions.

27 years ago * cond.c (cond_finish_check): New function.
Ian Lance Taylor [Wed, 26 Mar 1997 16:38:42 +0000 (16:38 +0000)]
* cond.c (cond_finish_check): New function.
* as.h (cond_finish_check): Declare.
* as.c (main): Call cond_finish_check.

27 years agoAdd libgloss, G++ libraries to tic80 builds
Michael Meissner [Wed, 26 Mar 1997 15:41:04 +0000 (15:41 +0000)]
Add libgloss, G++ libraries to tic80 builds

27 years ago Fix from Peter Schauer:
Mark Alexander [Wed, 26 Mar 1997 14:48:59 +0000 (14:48 +0000)]
Fix from Peter Schauer:
* mdebugread.c (parse_procedure): Set address of procedure to
block start; this fixes problems with shared libraries introduced
by change of Mar 21.

27 years ago * aoutx.h (some_aout_object_p): Change executable test to fix
Stu Grossman [Wed, 26 Mar 1997 06:53:10 +0000 (06:53 +0000)]
* aoutx.h (some_aout_object_p):  Change executable test to fix
problems with embedded a.out systems.

27 years agoTue Mar 25 18:16:43 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Wed, 26 Mar 1997 02:21:57 +0000 (02:21 +0000)]
Tue Mar 25 18:16:43 1997  Geoffrey Noer  <noer@cygnus.com>

      * mh-cygwin32: override LIBGCC2_DEBUG_CFLAGS so debug info
      isn't included in cygwin32-hosted libgcc2.a by default

27 years agoHandle BSD make and its liking for `set -e'
Andrew Cagney [Wed, 26 Mar 1997 01:50:19 +0000 (01:50 +0000)]
Handle BSD make and its liking for `set -e'

27 years agoTue Mar 25 14:45:54 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 25 Mar 1997 22:49:26 +0000 (22:49 +0000)]
Tue Mar 25 14:45:54 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d30v.c (md_assemble): If two instructions
are supposed to be assembled in parallel and the first one is
long, print an error and stop.
(md_apply_fix3): Don't calculate absolute relocs.  Just write
them out.

27 years ago * stabs.c (_bfd_stab_section_offset): New function.
Ian Lance Taylor [Tue, 25 Mar 1997 20:49:31 +0000 (20:49 +0000)]
* stabs.c (_bfd_stab_section_offset): New function.
* libbfd-in.h (_bfd_stab_section_offset): Declare.
* libbfd.h: Rebuild.
* elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a
stab reloc.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.

27 years ago * stabs.c (_bfd_link_section_stabs): Copy over the first header
Ian Lance Taylor [Tue, 25 Mar 1997 19:46:12 +0000 (19:46 +0000)]
* stabs.c (_bfd_link_section_stabs): Copy over the first header
symbol.  Check for memory allocation failure of *psinfo.
(_bfd_write_section_stabs): Add psinfo parameter.  Change all
callers.  Set the value of the header symbol.
* libbfd-in.h (_bfd_write_section_stabs): Update declaration.
* libbfd.h: Rebuild.

27 years ago * stabs.texinfo (Stab Section Basics): Make it clear that only
Ian Lance Taylor [Tue, 25 Mar 1997 19:44:43 +0000 (19:44 +0000)]
* stabs.texinfo (Stab Section Basics): Make it clear that only
some versions of the GNU linker remove the leading N_UNDF symbol.

27 years ago* emul_bugapi.c (emul_bugapi_create): Guard against NULL images.
Andrew Cagney [Tue, 25 Mar 1997 05:06:12 +0000 (05:06 +0000)]
* emul_bugapi.c (emul_bugapi_create): Guard against NULL images.
* configure.in (enable-sim-endain): Correct typo in usage (from
Erik Landry <landry@ENGR.ORST.EDU>).
* configure: Re-generate.

27 years agoMon Mar 24 19:43:16 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Tue, 25 Mar 1997 03:47:14 +0000 (03:47 +0000)]
Mon Mar 24 19:43:16 1997  Geoffrey Noer  <noer@cygnus.com>

        * symtab.c (find_pc_symtab): change to support the case
        where the objfile is reordered and contains both coff and
        stabs debugging info (continue on if a psymtab isn't found).

27 years ago * coff-tic80.c (tic80_howto_table): Add R_ABS entry.
Fred Fish [Tue, 25 Mar 1997 03:07:35 +0000 (03:07 +0000)]
* coff-tic80.c (tic80_howto_table): Add R_ABS entry.
(rtype2howto): Handle R_ABS reloc type.  Also abort on unhandled
reloc types, rather than silently failing to generate an output file.

27 years ago * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
Jeff Law [Mon, 24 Mar 1997 21:48:36 +0000 (21:48 +0000)]
    * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
        * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
        * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
disassembler testsuite for the mn10300.

27 years agoRemove m32r sanitization.
David Edelsohn [Mon, 24 Mar 1997 21:29:21 +0000 (21:29 +0000)]
Remove m32r sanitization.

27 years ago * targmatch.sed: Use the hold space to put the #ifdef around the
Ian Lance Taylor [Mon, 24 Mar 1997 21:22:00 +0000 (21:22 +0000)]
* targmatch.sed: Use the hold space to put the #ifdef around the
the string constant.
* targets.c (UNSUPPORTED_TARGET): Don't define.
(find_target): Don't check for UNSUPPORTED_TARGET.
(bfd_set_default_target): Don't try to optimize by checking for
default.

27 years agoDelete duplicate mn10300 entry, move other to normal place.
David Edelsohn [Mon, 24 Mar 1997 20:42:43 +0000 (20:42 +0000)]
Delete duplicate mn10300 entry, move other to normal place.

27 years ago(m32r): Clean up support for.
David Edelsohn [Mon, 24 Mar 1997 20:24:29 +0000 (20:24 +0000)]
(m32r): Clean up support for.

27 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Mon, 24 Mar 1997 20:07:49 +0000 (20:07 +0000)]
* Makefile.in: Rebuild dependencies.
  (ALL_MACHINES_CFILES): Add cpu-m32r.c.
(BFD32_BACKENDS_CFILES): Add elf32-m32r.c.
(elf32-m32r.o): Remove explicit target.

27 years ago * Makefile.in (install-dirs): Don't crash if prefix, and hence
Ian Lance Taylor [Mon, 24 Mar 1997 20:03:29 +0000 (20:03 +0000)]
* Makefile.in (install-dirs): Don't crash if prefix, and hence
MAKEDIRS, is empty.

27 years ago * sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s.
Ian Lance Taylor [Mon, 24 Mar 1997 19:59:06 +0000 (19:59 +0000)]
* sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s.
The documented instructions are bf/s and bt/s.

27 years ago * config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or
Ian Lance Taylor [Mon, 24 Mar 1997 19:52:42 +0000 (19:52 +0000)]
* config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or
i[3456]86-*-linux*.

27 years ago * i386.h: Add iclr.
Ian Lance Taylor [Mon, 24 Mar 1997 19:38:27 +0000 (19:38 +0000)]
* i386.h: Add iclr.

27 years ago * config/tc-i386.h (iclrKludge): Define.
Ian Lance Taylor [Mon, 24 Mar 1997 19:37:05 +0000 (19:37 +0000)]
* config/tc-i386.h (iclrKludge): Define.
* config/tc-i386.c (md_assemble): Handle iclrKludge.