Ian Lance Taylor [Thu, 27 Jun 1996 16:39:46 +0000 (16:39 +0000)]
* listing.c (calc_hex): Offset by fr_fix when examining fr_var.
From <uddeborg@carmen.se>.
Ian Lance Taylor [Thu, 27 Jun 1996 16:12:22 +0000 (16:12 +0000)]
remove debugging code
Ian Lance Taylor [Thu, 27 Jun 1996 15:37:48 +0000 (15:37 +0000)]
* configure.in: Call AC_ISC_POSIX.
* configure: Rebuild.
* Makefile.in (gprof): Pass $(CFLAGS) during link.
* hertz.c: Don't include <sys/time.h>; let sysdep.h handle that.
If HAVE_SETITIMER is not defined, try using sysconf.
Ian Lance Taylor [Thu, 27 Jun 1996 15:29:21 +0000 (15:29 +0000)]
* configure.in: Add AC_ISC_POSIX, and check for setitimer and
sysconf functions (for gprof).
* configure, config.in: Rebuild.
Ian Lance Taylor [Thu, 27 Jun 1996 01:44:49 +0000 (01:44 +0000)]
* ecoff.c (_bfd_ecoff_archive_p): Check the first object file in
an archive if it has a map. If the object file has the wrong
xvec, reject it.
PR 9972.
Geoffrey Noer [Thu, 27 Jun 1996 00:22:06 +0000 (00:22 +0000)]
Adding bash and time to list of hosttools
Ian Lance Taylor [Wed, 26 Jun 1996 21:27:09 +0000 (21:27 +0000)]
* coff-alpha.c (alpha_adjust_reloc_in): Set the addend for a
BRADDR, SREL16, SREL32, or SREL64 reloc against an external
symbol.
(alpha_relocate_section): Likewise.
Ian Lance Taylor [Wed, 26 Jun 1996 20:32:22 +0000 (20:32 +0000)]
* coffswap.h (coff_swap_reloc_out): Use RELSZ, not sizeof.
(coff_swap_filehdr_out): Use FILHSZ, not sizeof.
(coff_swap_sym_out): Use SYMESZ, not sizeof.
(coff_swap_aux_out): Use AUXESZ, not sizeof.
(coff_swap_lineno_out): Use LINESZ, not sizeof.
(coff_swap_aouthdr_out): Use AOUTSZ, not sizeof.
(coff_swap_scnhdr_out): Use SCNHSZ, not sizeof.
* peicode.h: Corresponding changes.
Ian Lance Taylor [Wed, 26 Jun 1996 20:28:29 +0000 (20:28 +0000)]
* All files: Define FILHSZ, AOUTSZ, AOUTHDRSZ, SCNHSZ, SYMESZ,
AUXESZ, LINESZ, RELSZ as numeric constants rather than uses of
sizeof. Define AOUTHDRSZ in all files.
* pe.h (AOUTSZ): Define by adding to AOUTHDRSZ.
Michael Meissner [Wed, 26 Jun 1996 20:01:38 +0000 (20:01 +0000)]
Make simulator build again on SunOS and HP/US systems
Ian Lance Taylor [Wed, 26 Jun 1996 19:58:40 +0000 (19:58 +0000)]
* configure.tgt (mips*-dec-osf*): New target.
Ian Lance Taylor [Wed, 26 Jun 1996 19:54:48 +0000 (19:54 +0000)]
* configure.in (mips-*-osf*): New target.
* configure: Rebuild.
Ian Lance Taylor [Wed, 26 Jun 1996 17:36:05 +0000 (17:36 +0000)]
* config/tc-m68k.c: Add 68ec060 as a synonym for 68060.
Tom Tromey [Wed, 26 Jun 1996 17:22:33 +0000 (17:22 +0000)]
COPYING.LIB, config, config-ml.in, etc, and symlink-tree are not in IDK
Jackie Smith Cashion [Wed, 26 Jun 1996 15:28:00 +0000 (15:28 +0000)]
Wed Jun 26 16:23:08 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-mips.c: Added cop_interlocks, to avoid NOP insertion
between co-processor comparisons and branches for the VR4300.
The preliminary documentation was slightly unclear on this issue, but
NEC have confirmed that there is an interlock within the CPU.
Jeff Law [Wed, 26 Jun 1996 15:07:58 +0000 (15:07 +0000)]
Sanitize h8s stuff out of bfd-in2.h too.
Wilfried Moser [Wed, 26 Jun 1996 13:13:45 +0000 (13:13 +0000)]
* gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
* ch-exp.c (calculate_array_length): Function removed.
Jackie Smith Cashion [Wed, 26 Jun 1996 10:08:42 +0000 (10:08 +0000)]
Added.
Jackie Smith Cashion [Wed, 26 Jun 1996 10:03:58 +0000 (10:03 +0000)]
Keep the mips directory.
Fred Fish [Wed, 26 Jun 1996 04:38:38 +0000 (04:38 +0000)]
* lib/gdb.exp: Report timeout value for verbosity level 2.
* config/gdbserver.exp: Ditto.
* config/hppro.exp: Ditto.
* config/mips-gdb.exp: Ditto.
* config/monitor.exp: Ditto.
* config/netware.exp: Ditto.
* config/sim-gdb.exp: Ditto.
* config/slite-gdb.exp: Ditto.
* config/udi-gdb.exp: Ditto.
* config/unix-gdb.exp: Ditto.
* config/vx-gdb.exp: Ditto.
* gdb.base/a1-selftest.exp: Ditto.
* gdb.base/a2-run.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/corefile.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/recurse.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.base/signals.exp: Ditto.
Jason Molenda [Wed, 26 Jun 1996 03:35:01 +0000 (03:35 +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.
Jason Molenda [Wed, 26 Jun 1996 03:26:09 +0000 (03:26 +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.
(AC_PROG_CC): Moved to before configure.host call.
* configure: Rebuilt.
Jason Molenda [Wed, 26 Jun 1996 03:22:34 +0000 (03:22 +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.
Jason Molenda [Wed, 26 Jun 1996 03:20:23 +0000 (03:20 +0000)]
* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
(docdir, oldincludedir): Removed.
* configure.in (AC_PREREQ): autoconf 2.5 or higher.
(AC_PROG_INSTALL): Added.
* configure: Rebuilt.
Martin Hunt [Wed, 26 Jun 1996 00:51:14 +0000 (00:51 +0000)]
* remote-e7000.c (e7000_read_inferior_memory_large): New function.
(e7000_xfer_inferior_memory): Call it.
PR 9754
Michael Meissner [Tue, 25 Jun 1996 19:45:17 +0000 (19:45 +0000)]
Comment out code to make GOT pointers negative of the GOT symbol for now
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.
Jason Molenda [Tue, 25 Jun 1996 14:18:52 +0000 (14:18 +0000)]
* gdb.threads/Makefile.in (docdir): Removed.
Jason Molenda [Tue, 25 Jun 1996 14:15:50 +0000 (14:15 +0000)]
* gdb/gdbserver/Makefile.in (docdir): Removed.
Jason Molenda [Tue, 25 Jun 1996 14:10:43 +0000 (14:10 +0000)]
* Makefile.in (docdir): Remove.
Jason Molenda [Tue, 25 Jun 1996 14:07:27 +0000 (14:07 +0000)]
* Makefile.in (datadir): Set to $(prefix)/share.
(docdir): Removed.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Jason Molenda [Tue, 25 Jun 1996 12:00:18 +0000 (12:00 +0000)]
typeo
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.
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.
Geoffrey Noer [Tue, 25 Jun 1996 06:30:51 +0000 (06:30 +0000)]
Configure and build diff and patch for cygwin32-hosted toolchains
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.
Michael Meissner [Mon, 24 Jun 1996 22:57:16 +0000 (22:57 +0000)]
Do not do PROVIDE of _GLOBAL_OFFSET_TABLE_
Michael Meissner [Mon, 24 Jun 1996 22:45:02 +0000 (22:45 +0000)]
Add debug msg
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.
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.
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.
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.
Ian Lance Taylor [Mon, 24 Jun 1996 18:20:52 +0000 (18:20 +0000)]
* configure.in: Only configure erc32 if using gcc.
Angela Marie Thomas [Mon, 24 Jun 1996 16:58:30 +0000 (16:58 +0000)]
add type for read_cfront_member_functions
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.
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.
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.
Geoffrey Noer [Mon, 24 Jun 1996 06:06:44 +0000 (06:06 +0000)]
Fixed .Sanitize
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
David Edelsohn [Mon, 24 Jun 1996 01:24:35 +0000 (01:24 +0000)]
(struct internal_scnhdr): Add comment regarding s_paddr.
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".
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.
Jim Wilson [Sat, 22 Jun 1996 00:27:07 +0000 (00:27 +0000)]
* configure.in (mips*-sgi-irix6*): Set noconfigdirs appropriately.
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.
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.
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.
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.
Ian Lance Taylor [Fri, 21 Jun 1996 19:23:36 +0000 (19:23 +0000)]
* elf.c (prep_headers): Add bfd_arch_alpha case.
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.
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.
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.
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.
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.
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
Ian Lance Taylor [Fri, 21 Jun 1996 16:46:10 +0000 (16:46 +0000)]
* ldmisc.c (vfinfo): Correct handling of 0 in %W case.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
Ian Lance Taylor [Thu, 20 Jun 1996 19:04:10 +0000 (19:04 +0000)]
* rs6k.h: Remove obsolete file.
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.
Michael Meissner [Thu, 20 Jun 1996 16:31:16 +0000 (16:31 +0000)]
Add support for Linux on PowerPC
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.
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.
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.
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.
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.
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
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.
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>.
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.
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.
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.
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.
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.