binutils-gdb.git
28 years agoTue Jun 25 11:41:24 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Tue, 25 Jun 1996 15:55:31 +0000 (15:55 +0000)]
Tue Jun 25 11:41:24 1996  Richard Henderson  <rth@tamu.edu>

* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
increment the .rela.plt size until after we're done creating the
.plt entry.
(elf64_alpha_finish_dynamic_symbol): Change .plt entry to load the
.rela.plt offset directly rather than calculating it.

28 years ago * gdb.threads/Makefile.in (docdir): Removed.
Jason Molenda [Tue, 25 Jun 1996 14:18:52 +0000 (14:18 +0000)]
    * gdb.threads/Makefile.in (docdir): Removed.

28 years ago * gdb/gdbserver/Makefile.in (docdir): Removed.
Jason Molenda [Tue, 25 Jun 1996 14:15:50 +0000 (14:15 +0000)]
    * gdb/gdbserver/Makefile.in (docdir): Removed.

28 years ago * Makefile.in (docdir): Remove.
Jason Molenda [Tue, 25 Jun 1996 14:10:43 +0000 (14:10 +0000)]
    * Makefile.in (docdir): Remove.

28 years ago * Makefile.in (datadir): Set to $(prefix)/share.
Jason Molenda [Tue, 25 Jun 1996 14:07:27 +0000 (14:07 +0000)]
    * Makefile.in (datadir): Set to $(prefix)/share.
        (docdir): Removed.

28 years ago * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
Jason Molenda [Tue, 25 Jun 1996 14:00:47 +0000 (14:00 +0000)]
    * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
        Use autoconf-set values.
        (docdir, oldincludedir): Removed.
        * configure.in (AC_PREREQ): autoconf 2.5 or higher.

28 years ago * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
Jason Molenda [Tue, 25 Jun 1996 13:57:19 +0000 (13:57 +0000)]
    * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
        Use autoconf-set values.
        (docdir): Removed.
        * configure.in (AC_PREREQ): autoconf 2.5 or higher.
        * configure: Rebuilt.

28 years ago * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
Jason Molenda [Tue, 25 Jun 1996 13:23:22 +0000 (13:23 +0000)]
    * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
        INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
        (docdir): Removed.
        * configure.in (AC_PREREQ): autoconf 2.5 or higher.
        (AC_PROG_INSTALL): Added.
        * configure: Rebuilt.

28 years ago * Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir,
Jason Molenda [Tue, 25 Jun 1996 13:11:45 +0000 (13:11 +0000)]
    * Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir,
        INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
        * configure.in (AC_PREREQ): autoconf 2.5 or higher.
        (AC_PROG_INSTALL): added.
        * configure: Rebuilt.

28 years ago * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
Jason Molenda [Tue, 25 Jun 1996 13:08:00 +0000 (13:08 +0000)]
    * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
        Use autoconf set values.
        (docdir): Removed.
        * configure.in (AC_PREREQ): autoconf 2.5 or higher.
        * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
        includedir): Use autoconf set values.
        (docdir): Removed.
        * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
        * nlm/configure: Rebuilt.
        * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.

28 years ago * Makefile.in (srcdir, VPATH, prefix, infodir, INSTALL,
Jason Molenda [Tue, 25 Jun 1996 12:57:43 +0000 (12:57 +0000)]
    * Makefile.in (srcdir, VPATH, prefix, infodir, INSTALL,
        INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
        * configure.in: Rewritten for autoconf.
        * configure: New.

28 years ago * configure.in (AC_PREREQ): autoconf 2.5 or higher.
Jason Molenda [Tue, 25 Jun 1996 12:54:35 +0000 (12:54 +0000)]
    * configure.in (AC_PREREQ): autoconf 2.5 or higher.
        * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
        @srcdir@.
        * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
        autoconf 2.5 or higher.
        * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.

28 years ago * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
Jason Molenda [Tue, 25 Jun 1996 12:40:48 +0000 (12:40 +0000)]
    * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
        INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
        (docdir): Removed.
        * configure.in (AC_PREREQ): autoconf 2.5 or higher.
        * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir,
        includedir): Use autoconf set values.
        (docdir): Removed.

28 years ago * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
Jason Molenda [Tue, 25 Jun 1996 12:05:26 +0000 (12:05 +0000)]
    * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
        INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
        (docdir): Removed.
        * configure.in (AC_PREREQ): Autoconf 2.5 or higher.
        * configure: Rebuit.

28 years agotypeo
Jason Molenda [Tue, 25 Jun 1996 12:00:18 +0000 (12:00 +0000)]
typeo

28 years ago * Makefile.in, Makefile.in (bindir, libdir, datadir, mandir, infodir,
Jason Molenda [Tue, 25 Jun 1996 11:54:57 +0000 (11:54 +0000)]
    * Makefile.in, Makefile.in (bindir, libdir, datadir, mandir, infodir,
        includedir): Use autoconf-set values.
        * doc/Makefile.in, Makefile.in (bindir, libdir, datadir, mandir,
        infodir, includedir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use
        autoconf-set values.
        (docdir): Deleted.
        * configure.in (AC_PREREQ): autoconf v2.5 or higher.
        * configure: Rebuilt.

28 years agoTue Jun 25 19:00:08 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
Jason Molenda [Tue, 25 Jun 1996 11:41:30 +0000 (11:41 +0000)]
Tue Jun 25 19:00:08 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)

        * Makefile.in (datadir): Set to $(prefix)/share.

28 years agoConfigure and build diff and patch for cygwin32-hosted toolchains
Geoffrey Noer [Tue, 25 Jun 1996 06:30:51 +0000 (06:30 +0000)]
Configure and build diff and patch for cygwin32-hosted toolchains

28 years ago * som.c (som_write_fixups): Fix typo in R_END_TRY for exception
Jeff Law [Tue, 25 Jun 1996 04:50:10 +0000 (04:50 +0000)]
    * som.c (som_write_fixups): Fix typo in R_END_TRY for exception
        handling code > 1k away.
PA exception handling crud.

28 years agoDo not do PROVIDE of _GLOBAL_OFFSET_TABLE_
Michael Meissner [Mon, 24 Jun 1996 22:57:16 +0000 (22:57 +0000)]
Do not do PROVIDE of _GLOBAL_OFFSET_TABLE_

28 years agoAdd debug msg
Michael Meissner [Mon, 24 Jun 1996 22:45:02 +0000 (22:45 +0000)]
Add debug msg

28 years agoMon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl>
Ian Lance Taylor [Mon, 24 Jun 1996 22:01:01 +0000 (22:01 +0000)]
Mon Jun 24 17:55:31 1996  Jouke Numan  <jnuman@bazis.nl>

* ldlang.h (enum section_type): Define.
(lang_output_section_statement_type): Remove loadable field.  Add
sectype field.
(lang_enter_output_section_statement): Change flags parameter in
prototype to sectype.
* ldgram.y (typebits): Remove.
(sectype): New static variable.
(opt_at): Use sectype rather than typebits.
(type): Set sectype rather than typebits.
(atype): Likewise.
* ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in
EXPRESSION mode.
* ldlang.c (lang_output_section_statement_lookup): Set sectype
field rather than loadable field.
(wild_doit): Check sectype rather than loadable.
(lang_record_phdrs): Likewise.
(lang_enter_output_section_statement): Rename flags parameter to
sectype.  Set sectype field rather than loadable field.  Set flags
field based on sectype.

28 years ago * elf.c (elf_fake_sections): Don't set sh_addr of a non SEC_ALLOC
Ian Lance Taylor [Mon, 24 Jun 1996 22:00:22 +0000 (22:00 +0000)]
* elf.c (elf_fake_sections): Don't set sh_addr of a non SEC_ALLOC
section to 0 if user_set_vma is set.
* elflink.h (elf_bfd_final_link): Likewise.

28 years ago * objdump.c (endian): New static variable.
Ian Lance Taylor [Mon, 24 Jun 1996 20:49:28 +0000 (20:49 +0000)]
* objdump.c (endian): New static variable.
(usage): Mention -EB/-EL/--endian.
(long_options): Add "endian".
(disassemble_data): If endianness was specified, replace
abfd->xvec with a copy of itself with the given endianness.
(main): Handle -EB/-EL/--endian.
* binutils.texi, objdump.1: Mention -EB/-EL/--endian.

28 years ago * configure.in: Call AC_PROG_CC before running configure.host.
Ian Lance Taylor [Mon, 24 Jun 1996 18:21:47 +0000 (18:21 +0000)]
* configure.in: Call AC_PROG_CC before running configure.host.
* configure: Rebuild with autoconf 2.10.

28 years ago * configure.in: Only configure erc32 if using gcc.
Ian Lance Taylor [Mon, 24 Jun 1996 18:20:52 +0000 (18:20 +0000)]
* configure.in: Only configure erc32 if using gcc.

28 years agoadd type for read_cfront_member_functions
Angela Marie Thomas [Mon, 24 Jun 1996 16:58:30 +0000 (16:58 +0000)]
add type for read_cfront_member_functions

28 years ago * configure.in: On alpha*-*-osf*, link against libbfd.a if not
Ian Lance Taylor [Mon, 24 Jun 1996 16:04:19 +0000 (16:04 +0000)]
* configure.in: On alpha*-*-osf*, link against libbfd.a if not
using shared libraries.
* configure: Rebuild with autoconf 2.10.

28 years ago * configure.in: On alpha*-*-osf*, link against libbfd.a if not
Ian Lance Taylor [Mon, 24 Jun 1996 15:59:41 +0000 (15:59 +0000)]
* configure.in: On alpha*-*-osf*, link against libbfd.a if not
using shared libraries.
* configure: Rebuild.

28 years ago * win32-nat.c: #include <unistd.h>.
David Edelsohn [Mon, 24 Jun 1996 07:11:35 +0000 (07:11 +0000)]
* win32-nat.c: #include <unistd.h>.
(unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
(child_create_inferior): Convert only env var PATH to win32 style.
(set_pathstyle_dos): Delete.
(_initialize_inftarg): Delete dos-path-style command.

28 years agoFixed .Sanitize
Geoffrey Noer [Mon, 24 Jun 1996 06:06:44 +0000 (06:06 +0000)]
Fixed .Sanitize

28 years agoEnable dosrel for special dos installation (appending of .exe to
Geoffrey Noer [Mon, 24 Jun 1996 06:05:21 +0000 (06:05 +0000)]
Enable dosrel for special dos installation (appending of .exe to
installed binaries, etc...) for cygwin32-hosted toolchains.  New
config/mh-cygwin32 which enables this.

Removed diff from list of things not buildable via Canadian Cross

28 years ago(struct internal_scnhdr): Add comment regarding s_paddr.
David Edelsohn [Mon, 24 Jun 1996 01:24:35 +0000 (01:24 +0000)]
(struct internal_scnhdr): Add comment regarding s_paddr.

28 years ago * tests1.exp (test_modes): Remove *-*-* setup_sfail for
Fred Fish [Sun, 23 Jun 1996 17:24:20 +0000 (17:24 +0000)]
* tests1.exp (test_modes): Remove *-*-* setup_sfail for
"print unnumbered set range mode" and
"print numbered set range mode".

28 years agoSat Jun 22 11:39:01 1996 Jason Merrill <jason@yorick.cygnus.com>
Jason Merrill [Sat, 22 Jun 1996 18:40:49 +0000 (18:40 +0000)]
Sat Jun 22 11:39:01 1996  Jason Merrill  <jason@yorick.cygnus.com>

* Makefile.in (TARGET_SUBDIR): Move comment to previous line so we
  don't get ". ".

Fixes nightly build on rtl.

28 years ago * configure.in (mips*-sgi-irix6*): Set noconfigdirs appropriately.
Jim Wilson [Sat, 22 Jun 1996 00:27:07 +0000 (00:27 +0000)]
* configure.in (mips*-sgi-irix6*): Set noconfigdirs appropriately.

28 years agoFri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>
Ian Lance Taylor [Fri, 21 Jun 1996 22:12:01 +0000 (22:12 +0000)]
Fri Jun 21 17:40:56 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>

* configure.tgt: Add support for *-*-rtems* configurations.

28 years agoFri Jun 21 17:40:16 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>
Ian Lance Taylor [Fri, 21 Jun 1996 22:04:02 +0000 (22:04 +0000)]
Fri Jun 21 17:40:16 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>

* configure.in: Add support for *-*-rtems* configurations.
* configure: Rebuild.

28 years agoFri Jun 21 17:38:15 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>
Ian Lance Taylor [Fri, 21 Jun 1996 22:02:36 +0000 (22:02 +0000)]
Fri Jun 21 17:38:15 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>

* config.bfd: Add support for *-*-rtems* configurations.

28 years agoFri Jun 21 16:01:18 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Fri, 21 Jun 1996 20:10:12 +0000 (20:10 +0000)]
Fri Jun 21 16:01:18 1996  Richard Henderson  <rth@tamu.edu>

* configure.in: Add alpha-*-linuxecoff* target.  Use elf for
alpha-*-linux* target.  Force bfd_gas for alpha-*.  Require
opcodes library for alpha.
* configure: Rebuild with autoconf 2.10.
* config/tc-alpha.c: Substantial rewrite to add ELF support and
use new opcode table.
* config/tc-alpha.h (md_undefined_symbol): Don't define.
(LOCAL_LABEL): Define differently if OBJ_ELF.
(FAKE_LABEL_NAME): Define if OBJ_ELF.
* config/alpha-opcode.h: Remove.
* config/obj-elf.h: If TC_ALPHA, define ECOFF_DEBUGGING.
* Makefile.in (TARG_CPU_DEP_alpha): Depend upon
include/opcode/alpha.h rather than config/alpha-opcode.h.

28 years ago * elf.c (prep_headers): Add bfd_arch_alpha case.
Ian Lance Taylor [Fri, 21 Jun 1996 19:23:36 +0000 (19:23 +0000)]
* elf.c (prep_headers): Add bfd_arch_alpha case.

28 years ago * gdbtk.tcl (populate_register_window): Make initial window one
Fred Fish [Fri, 21 Jun 1996 18:20:12 +0000 (18:20 +0000)]
* gdbtk.tcl (populate_register_window): Make initial window one
line taller to account for new column header line.

28 years ago * gdbtk.tcl (create_register_windows): Include missing '$'s.
Fred Fish [Fri, 21 Jun 1996 18:09:27 +0000 (18:09 +0000)]
* gdbtk.tcl (create_register_windows): Include missing '$'s.
Add global declarations for various reg_format_* variables.

28 years agoFri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Fri, 21 Jun 1996 17:58:07 +0000 (17:58 +0000)]
Fri Jun 21 13:53:36 1996  Richard Henderson  <rth@tamu.edu>

* alpha-opc.c: New file.
* alpha-opc.h: Remove.
* alpha-dis.c: Complete rewrite to use new opcode table.
* configure.in: For bfd_alpha_arch, use alpha-opc.o.
* configure: Rebuild with autoconf 2.10.
* Makefile.in (ALL_MACHINES): Add alpha-opc.o.
(alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
alpha-opc.h.
(alpha-opc.o): New target.

28 years agoFri Jun 21 13:52:17 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Fri, 21 Jun 1996 17:52:56 +0000 (17:52 +0000)]
Fri Jun 21 13:52:17 1996  Richard Henderson  <rth@tamu.edu>

* alpha.h: New file.

28 years agoFri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Fri, 21 Jun 1996 17:10:14 +0000 (17:10 +0000)]
Fri Jun 21 13:05:51 1996  Richard Henderson  <rth@tamu.edu>

* configure.tgt (alpha-*-linuxecoff*): New target.
(alpha-*-linux*): Use elf64alpha.
* emulparams/elf64alpha.sh: New file.
* emultempl/elf32.em: If ELFSIZE is not set, set it to 32.  Use
${ELFSIZE} rather than 32 when calling BFD routines.
(hold_rodata): New static variable.
(gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a
readonly section that is not code.
(gld${EMULATION_NAME}_place_section): Set hold_rodata.  Don't use
a .rel section unless its bfd_section field is not NULL.
* Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o.
(eelf64alpha.c): New target.

28 years ago * gdbtk.c (get_register): Support for printing raw formats.
Fred Fish [Fri, 21 Jun 1996 17:03:22 +0000 (17:03 +0000)]
* gdbtk.c (get_register): Support for printing raw formats.
* gdbtk.tcl: Add hint for using debug_interface.
(center_window, add_breakpoint_frame, delete_breakpoint_frame):
Enclose arg in braces for consistency.
(create_registers_window, populate_reg_window, update_registers):
Major rewrite to support displaying multiple formats in the register window.
(init_reg_info): New function.
(recompute_reg_display_list):  Reset reg_display_list, start
register display lines at line 2.
PR 9457

28 years ago * ldmisc.c (vfinfo): Correct handling of 0 in %W case.
Ian Lance Taylor [Fri, 21 Jun 1996 16:46:10 +0000 (16:46 +0000)]
* ldmisc.c (vfinfo): Correct handling of 0 in %W case.

28 years agoFri Jun 21 12:35:27 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Fri, 21 Jun 1996 16:40:43 +0000 (16:40 +0000)]
Fri Jun 21 12:35:27 1996  Richard Henderson  <rth@tamu.edu>

* elf64-alpha.c: New file.
* config.bfd (alpha-*-linuxecoff*): New target.
(alpha-*-linux*, alpha-*-elf*): New targets.
* configure.in (bfd_elf64_alpha_vec): New vector.
* configure: Rebuild.
* targets.c (bfd_elf64_alpha_vec): Declare.
(bfd_target_vector): Add bfd_elf64_alpha_vec if BFD64.
* reloc.c (BFD_RELOC_ALPHA_GPDISP): Define.
* bfd-in2.h, libbfd.h: Rebuild.
* Makefile.in: Rebuild dependencies.
  (BFD64_BACKENDS): Add elf64-alpha.o.
(BFD64_BACKENDS_CFILES): Add elf64-alpha.c.

28 years agoFri Jun 21 12:33:24 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Fri, 21 Jun 1996 16:34:37 +0000 (16:34 +0000)]
Fri Jun 21 12:33:24 1996  Richard Henderson  <rth@tamu.edu>

* alpha.h: New file.
* common.h (EM_ALPHA): Define.
start-sanitize-arc
(EM_CYGNUS_ARC): Change to not conflict with EM_ALPHA.
end-sanitize-arc

28 years ago * coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PE
David Edelsohn [Thu, 20 Jun 1996 23:59:08 +0000 (23:59 +0000)]
* coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PE
ifdef to COFF_WITH_PE.
(coff_compute_section_file_positions): Likewise.
(coff_write_object_contents): Likewise.  Delete COFF_OBJ_WITH_PE.
* pe-{arm,i386,ppc}.c (COFF_OBJ_WITH_PE): Delete.
* peicode.h (pe_bfd_copy_private_bfd_data): Delete ifdef
COFF_IMAGE_WITH_PE, always include.

28 years ago * config/obj-aout.c (obj_emit_relocations): Give an error if the
Ian Lance Taylor [Thu, 20 Jun 1996 23:42:18 +0000 (23:42 +0000)]
* config/obj-aout.c (obj_emit_relocations): Give an error if the
relocation symbol was not resolved.
* config/obj-coff.c (do_relocs_for): Likewise.

28 years ago * expr.c (struct expr_symbol_line): Define.
Ian Lance Taylor [Thu, 20 Jun 1996 23:14:13 +0000 (23:14 +0000)]
* expr.c (struct expr_symbol_line): Define.
(expr_symbol_lines): New static variable.
(make_expr_symbol): Add entry to expr_symbol_lines.
(expr_symbol_where): New function.
* expr.h: Use extern on function declarations.
(expr_symbol_where): Declare.
* symbols.c (resolve_symbol_value): Try to use expr_symbol_where
rather than printing the meaningless name of an expression
symbol.

28 years ago * ecoff.c (ecoff_armap_hash): If hlog is 0, just return 0, rather
Ian Lance Taylor [Thu, 20 Jun 1996 22:23:22 +0000 (22:23 +0000)]
* ecoff.c (ecoff_armap_hash): If hlog is 0, just return 0, rather
than relying on a right shift of 32.

28 years ago * configure.in: Revise sol-thread.o test.
David Edelsohn [Thu, 20 Jun 1996 21:21:27 +0000 (21:21 +0000)]
* configure.in: Revise sol-thread.o test.
* configure: Regenerated.

* source.c (find_source_lines): Reassign size to result of read.

28 years ago* Makefile.in (taz): Handle case where tex3patch didn't even get checked out.
Ken Raeburn [Thu, 20 Jun 1996 21:01:42 +0000 (21:01 +0000)]
* Makefile.in (taz): Handle case where tex3patch didn't even get checked out.
Also, if it was found, put the symlink in a new util subdirectory.

28 years ago* config/tc-i386.c (md_number_to_chars): Deleted.
Ken Raeburn [Thu, 20 Jun 1996 20:06:44 +0000 (20:06 +0000)]
* config/tc-i386.c (md_number_to_chars): Deleted.
* config/tc-i386.h (md_number_to_chars): New macro.

* config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in the file.
(load_symbol_address, load_expression): Use build_mem.
(build_operate): New function.
(emit_addq_r): Use it.

Wed Mar 13 22:14:14 1996  Pat Rankin  <rankin@eql.caltech.edu>

* symbols.c (colon):  #if VMS, use S_SET_OTHER to store `const_flag'.

Tue Mar  5 14:31:45 1996  Pat Rankin  <rankin@eql.caltech.edu>

* config/tc-vax.h (NOP_OPCODE): Define.

Sun Feb  4 21:01:03 1996  Pat Rankin  <rankin@eql.caltech.edu>

* config/obj-vms.h (S_IS_COMMON): Define.
(S_IS_LOCAL): Check for \002 as well as \001.
(LONGWORD_ALIGNMENT): New macro.
(SUB_SEGMENT_ALIGN): Use it.

Fri Jan 26 17:44:09 1996  Pat Rankin  <rankin@eql.caltech.edu>

* config/vms-conf.h: Reconcile with conf.in.

28 years ago * peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0.
David Edelsohn [Thu, 20 Jun 1996 19:36:35 +0000 (19:36 +0000)]
* peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0.

28 years ago * rs6k.h: Remove obsolete file.
Ian Lance Taylor [Thu, 20 Jun 1996 19:04:10 +0000 (19:04 +0000)]
* rs6k.h: Remove obsolete file.

28 years ago Add enough support to understand the gcc svr3.ifile script:
Ian Lance Taylor [Thu, 20 Jun 1996 18:23:24 +0000 (18:23 +0000)]
Add enough support to understand the gcc svr3.ifile script:
* ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context.  Add
BIND keyword.
* ldgram.y: Add BIND token.
(section): Recognize GROUP.
(opt_ext_with_type): Recognize a couple of cases of BIND.
* ldlang.c (init_os): Don't do anything if section is already
initialized.  Call exp_init_os on addr_tree field.
(exp_init_os): New static function.
(map_input_to_output_sections): Call exp_init_os on assignment
expression.
(lang_place_orphans): Check for common sections by name COMMON
rather than by common_section field.  Don't warn about absence of
[COMMON] command.

28 years agoAdd support for Linux on PowerPC
Michael Meissner [Thu, 20 Jun 1996 16:31:16 +0000 (16:31 +0000)]
Add support for Linux on PowerPC

28 years ago * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
Fred Fish [Thu, 20 Jun 1996 15:50:37 +0000 (15:50 +0000)]
* gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
avoid backing up over prompt.  At every input, make sure insert
point is at least after command start, handle control-u to delete
current input line.
(tclsh): Handle backspace to avoid backing up over prompt.  Handle
control-u to delete current input line.

28 years ago * write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
Ian Lance Taylor [Thu, 20 Jun 1996 01:45:14 +0000 (01:45 +0000)]
* write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
defined.

28 years ago * doc/as.texinfo: Document that any number of hex digits can
Ian Lance Taylor [Thu, 20 Jun 1996 01:34:19 +0000 (01:34 +0000)]
* doc/as.texinfo: Document that any number of hex digits can
follow \x.

28 years ago * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
Ian Lance Taylor [Thu, 20 Jun 1996 01:18:47 +0000 (01:18 +0000)]
* sparc-dis.c (print_insn_sparc): Remove unused local variable i.
Set imm_added_to_rs1 even if the source and destination register
are not the same.

28 years ago * objdump.c (stabs): Change from struct internal_nlist * to
Ian Lance Taylor [Thu, 20 Jun 1996 01:00:26 +0000 (01:00 +0000)]
* objdump.c (stabs): Change from struct internal_nlist * to
bfd_byte *.
(print_section_stabs): Fetch stabs information directly, rather
than assuming that struct internal_nlist is the right size.

28 years agoChanges to gdbtk configury so cygwin32 hosts (in addition to go32)
Geoffrey Noer [Thu, 20 Jun 1996 00:29:38 +0000 (00:29 +0000)]
Changes to gdbtk configury so cygwin32 hosts (in addition to go32)
are configured without gdbtk

28 years ago * as.c (struct defsym_list): Define.
Ian Lance Taylor [Wed, 19 Jun 1996 21:08:03 +0000 (21:08 +0000)]
* as.c (struct defsym_list): Define.
(defsyms): New static variable.
(parse_args): Just put --defsym arguments on defsyms list, rather
than defining them.
(main): Define defsyms after output file is created.

28 years ago * config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
Ian Lance Taylor [Wed, 19 Jun 1996 20:33:30 +0000 (20:33 +0000)]
* config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
cpu32.  From Eric Norum <Eric.Norum@usask.ca>.

28 years ago * sparc-opc.c: Add some two operand forms of the wr instruction.
Ian Lance Taylor [Wed, 19 Jun 1996 19:56:51 +0000 (19:56 +0000)]
* sparc-opc.c: Add some two operand forms of the wr instruction.

28 years ago * i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp,
Ian Lance Taylor [Wed, 19 Jun 1996 19:52:04 +0000 (19:52 +0000)]
* i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp,
fdivp, and fdivrp.  Add ffreep.

28 years ago * binutils.texi: Document change to binary format: file position
Ian Lance Taylor [Wed, 19 Jun 1996 18:50:41 +0000 (18:50 +0000)]
* binutils.texi: Document change to binary format: file position
based on load address, not section VMA.

28 years ago * as.c (emulation_name): Remove unused static variable.
Ian Lance Taylor [Wed, 19 Jun 1996 18:42:42 +0000 (18:42 +0000)]
* as.c (emulation_name): Remove unused static variable.
(default_emul_bfd_name): Add return NULL to avoid warning.
* ecoff.c (ecoff_stab): Remove unused variables name and
name_end.
* frags.c (frag_new): Remove unused variable tmp.
* hash.c (hash_grow): Parenthesize + within <<.
(hash_print_statistics): Use %lu, not %d, to print unsigned
long variables.
* messages.c: Include "libiberty.h".
(fprint_value): Add cast to avoid printf warning.
(sprint_value): Likewise.
* read.c: Include "ecoff.h".
(emit_expr): Add casts to avoid printf warnings.
* read.h: Use extern for function declarations.
(pop_insert): Declare.
* stabs.c: Include "ecoff.h".
* subsegs.c (subseg_set_rest): Remove unused variables tmp,
former_last_fragP, and new_fragP.
* subsegs.h (subsegs_print_statistics): Declare.
* symbols.c (debug_verify_symchain): Change macro to discard
arguments.
* write.c (dump_section_relocs): Likewise.
* write.h: Use extern for function declarations.
(write_print_statistics): Declare.
* config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
warning.
* config/e-mipself.c (mipself_bfd_name): Likewise.
* config/obj-elf.h (elf_ecoff_set_ext): Declare.

28 years ago * config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
Ian Lance Taylor [Wed, 19 Jun 1996 18:34:30 +0000 (18:34 +0000)]
* config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
insn_error rather than calling check_absolute_expr.

28 years ago * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
Ian Lance Taylor [Wed, 19 Jun 1996 17:06:41 +0000 (17:06 +0000)]
* config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
emit relocations against external symbols.

28 years ago * config/tc-alpha.c (tc_gen_reloc): Output a sensible error
Ian Lance Taylor [Wed, 19 Jun 1996 17:01:22 +0000 (17:01 +0000)]
* config/tc-alpha.c (tc_gen_reloc): Output a sensible error
  message if bfd_reloc_type_lookup fails, rather than calling
  assert.

28 years ago * elf.c (map_sections_to_segments): Fix up the test for -Ttext to
Ian Lance Taylor [Wed, 19 Jun 1996 16:30:27 +0000 (16:30 +0000)]
* elf.c (map_sections_to_segments): Fix up the test for -Ttext to
approximate the correct answer if SIZEOF_HEADERS was not used.

28 years agoUpdated documentation for lose-inet -> keep-inet change
Tom Tromey [Wed, 19 Jun 1996 15:40:45 +0000 (15:40 +0000)]
Updated documentation for lose-inet -> keep-inet change

28 years ago * binary.c (binary_set_section_contents): Set section file
Ian Lance Taylor [Wed, 19 Jun 1996 15:39:08 +0000 (15:39 +0000)]
* binary.c (binary_set_section_contents): Set section file
position based on LMA rather than VMA.

28 years ago * config/tc-alpha.c (alpha_force_relocation): Add
Ian Lance Taylor [Wed, 19 Jun 1996 15:33:44 +0000 (15:33 +0000)]
* config/tc-alpha.c (alpha_force_relocation): Add
BFD_RELOC_12_PCREL to switch.

28 years agoWed Jun 19 11:19:25 1996 Manfred Hollstein KS/EIC5 60/3/142 #40283 <manfred@lts...
Ian Lance Taylor [Wed, 19 Jun 1996 15:23:21 +0000 (15:23 +0000)]
Wed Jun 19 11:19:25 1996  Manfred Hollstein KS/EIC5 60/3/142 #40283  <manfred@lts.sel.alcatel.de>

* linker.c (_bfd_generic_link_output_symbols): Don't output any
symbols if info->strip == strip_all.

28 years agoMon Jun 17 16:34:46 1996 Jason Merrill <jason@yorick.cygnus.com>
Jason Merrill [Wed, 19 Jun 1996 01:28:24 +0000 (01:28 +0000)]
Mon Jun 17 16:34:46 1996  Jason Merrill  <jason@yorick.cygnus.com>

* Makefile.in (taz): texinfo/tex3patch no longer exists.

28 years ago * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
Jeff Law [Tue, 18 Jun 1996 23:33:49 +0000 (23:33 +0000)]
    * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
        * run.c (main): Treat the H8/S like the H8/300H for now.

More sanitize H8/S stuff.

28 years ago * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
Jeff Law [Tue, 18 Jun 1996 23:29:39 +0000 (23:29 +0000)]
    * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
        (h8300_command): Likewise.
        (set_machine): Likewise.
        (set_machine_hook): Likewise.
        (_initialize_h8300m): Likewise.

        * config/h8300/tm-h8300.h (h8300smode): Declare.

More sanitized H8/S work.

28 years ago * dis-asm.h (print_insn_h8300s): Declare.
Jeff Law [Tue, 18 Jun 1996 23:20:37 +0000 (23:20 +0000)]
    * dis-asm.h (print_insn_h8300s): Declare.

end-sanitize-h8s
More H8/S stuff.

28 years ago * h8300.h (H8300SMAGIC): Define.
Jeff Law [Tue, 18 Jun 1996 23:20:15 +0000 (23:20 +0000)]
    * h8300.h (H8300SMAGIC): Define.
        (H8300SBADMAG): Define.

end-sanitize-h8s
H8/S stuff

28 years ago * h8300.h: Reorder various #defines for readability.
Jeff Law [Tue, 18 Jun 1996 23:19:44 +0000 (23:19 +0000)]
    * h8300.h: Reorder various #defines for readability.
        (ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define.
        (BITOP): Accept additional (unused) argument.  All callers changed.
        (EBITOP): Likewise.
        (O_LAST): Bump.
        (ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes.

start-sanitize-h8s
        * h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define.
        (O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define.
        (BITOP, EBITOP): Handle new H8/S addressing modes for
        bit insns.
        (UNOP3): Handle new shift/rotate insns on the H8/S.
        (insns using exr): New instructions.
        (tas, mac, ldmac, clrmac, ldm, stm): New instructions.

end-sanitize-h8s
You guessed it.  More H8/S junk.

28 years ago * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
Jeff Law [Tue, 18 Jun 1996 23:00:38 +0000 (23:00 +0000)]
    * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
        to just "mode".

start-sanitize-h8s
        * disassemble.c (disassembler): Handle H8/S.
        * h8300-dis.c (print_insn_h8300s): New function for H8/S.
end-sanitize-h8s

Even more H8/S goo.

28 years ago * scripttempl/h8300s.sc: New file for H8/S.
Jeff Law [Tue, 18 Jun 1996 22:55:30 +0000 (22:55 +0000)]
    * scripttempl/h8300s.sc: New file for H8/S.
        * emulpararms/h8300s.sh: New file for H8/S.
        * Makefile.in (ALL_EMULATIONS): Add H8/S.
        (e_h8300s.c): Add dependencies.
        * configure.tgt: Add H8/S to targ_extra_emuls.
H8/S linker stuff.  Sanitized until status of this code is known.

28 years ago * coff-h8300.c: Remove #if 0 code.
Jeff Law [Tue, 18 Jun 1996 22:26:09 +0000 (22:26 +0000)]
    * coff-h8300.c: Remove #if 0 code.
        (compatable): Don't allow mixing/matching of different architectures.
Just stuff I noticed.

start-sanitize-h8s
        * archures.c (bfd_mach_h8300s): Add.
        * bfd-in2.h: Rebuilt.
        * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too.
        (BADMAG): Likewise.
        (h8300_reloc16_estimate): Likewise.
        (h8300_reloc16_extra_cases): Likewise.
        (h8300_bfd_link_add_symbols): Likewise.
        * coffcode.h (coff_set_arch_mach_hook): Likewise.
        (coff_set_flags): Likewise.
        * cpu-h8300.c (h8300_scan): Likewise.
        Add H8/S to bfd_h8300_arch list.
end-sanitize-h8s
H8/S support.  Sanitized away until we know its official status.

28 years ago * read.c (s_fill): Don't warn about a zero repeat count.
Ian Lance Taylor [Tue, 18 Jun 1996 22:17:40 +0000 (22:17 +0000)]
* read.c (s_fill): Don't warn about a zero repeat count.

28 years ago * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
Ian Lance Taylor [Tue, 18 Jun 1996 22:08:44 +0000 (22:08 +0000)]
* ppc-opc.c: Fix fcmpo opcode.  From Sergei Steshenko
<sergei@msil.sps.mot.com>.

28 years ago * configure.tgt (i[345]86*-*-isc*): New target. From
Ian Lance Taylor [Tue, 18 Jun 1996 21:58:52 +0000 (21:58 +0000)]
* configure.tgt (i[345]86*-*-isc*): New target.  From
<uddeborg@carmen.se>.

28 years ago * config/tc-mips.c (mips_ip): Don't warn about using AT as a
Ian Lance Taylor [Tue, 18 Jun 1996 21:57:56 +0000 (21:57 +0000)]
* config/tc-mips.c (mips_ip): Don't warn about using AT as a
coprocessor register.

28 years ago * core.c (core_create_line_syms): Use xstrdup rather than strdup.
Ian Lance Taylor [Tue, 18 Jun 1996 21:37:38 +0000 (21:37 +0000)]
* core.c (core_create_line_syms): Use xstrdup rather than strdup.
* source.c (source_file_lookup_path): Likewise.

28 years ago * config/tc-i386.c (md_assemble): When checking the size of a
Ian Lance Taylor [Tue, 18 Jun 1996 21:15:35 +0000 (21:15 +0000)]
* config/tc-i386.c (md_assemble): When checking the size of a
register to set the size of an instruction, do a bitwise and with
Reg8 and Reg16 rather than requiring the type to be exactly Reg8
or Reg16.

28 years ago * config/tc-h8300.c (parse_reg): Tweak error messages.
Jeff Law [Tue, 18 Jun 1996 20:28:20 +0000 (20:28 +0000)]
    * config/tc-h8300.c (parse_reg): Tweak error messages.
        (build_bytes): Likewise.
        (skip_colonthing): Handle :32 suffix.
        (get_specific): Promote L_24 to L_32 if it makes a match.
        Don't always promote L_8 to L_16.
        (do_a_fix_imm): Clean up L_32 and L_24 handling.
H8/S related stuff that doesn't need to be sanitized.

start-sanitize-h8s
        * config/tc-h8300.c (Smode): New variable.
        (h8300hmode): Turn off Hmode.
        (h8300smode): New function.  Turn on Smode and Hmode.
        (md_pseudo_table): New ".h8300s" pseudo-op.
        (parse_reg): Handle "exr" register.
        (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
        Handle "mach" and "machl" operands for ldmac.
        (get_specific): Handle "stm.l" and "ldm.l".
        (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
        * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
        (Smode): Declare.
end-sanitize-h8s
Sanitized H8/S stuff until we know its status.

28 years agoTweak.
Jeff Law [Tue, 18 Jun 1996 20:02:10 +0000 (20:02 +0000)]
Tweak.

28 years ago * gas/h8300/cbranchh.s: Switch into h8300h mode.
Jeff Law [Tue, 18 Jun 1996 19:50:54 +0000 (19:50 +0000)]
    * gas/h8300/cbranchh.s: Switch into h8300h mode.
        * gas/h8300/h8300.exp (H8/300H misc tests): Fix test names.
Just something I noticed.

        * gas/h8300/{addsubs.s,bitops1s.s,bitops2s.s}: New tests for the
        H8/S.
        * gas/h8300/{bitops3.s,bitops4.s,cbranchs.s,logicals.s}: Likewise.
        * gas/h8300/{branchess.s,compares.s,macs.s,decimals.s}: Likewise.
        * gas/h8300/{incdecs.s,divmuls.s,miscs.s,multiples.s}: Likewise.
        * gas/h8300/{movbs.s,movws.s,movls.s,pushpops.s}: Likewise.
        * gas/h8300/{rotshifts.s,extends.s}: Likewise.
        * gas/h8300/h8300.exp: Run them.
Sanitized away until status is clarified.

28 years ago * gas/h8300/cbranchh.s: Switch into h8300h mode.
Jeff Law [Tue, 18 Jun 1996 19:40:18 +0000 (19:40 +0000)]
* gas/h8300/cbranchh.s: Switch into h8300h mode.
Just something I noticed.