binutils-gdb.git
29 years agoConfigury for new ppc bfd
Kim Knuttila [Wed, 27 Sep 1995 11:36:47 +0000 (11:36 +0000)]
Configury for new ppc bfd

29 years agoFirst round BFD for PE/PowerPC
Kim Knuttila [Wed, 27 Sep 1995 11:34:10 +0000 (11:34 +0000)]
First round BFD for PE/PowerPC

29 years agoPowerpc and Pe support.
Kim Knuttila [Wed, 27 Sep 1995 11:06:00 +0000 (11:06 +0000)]
Powerpc and Pe support.

29 years agobasic coff for powerpc/PE
Kim Knuttila [Wed, 27 Sep 1995 11:03:15 +0000 (11:03 +0000)]
basic coff for powerpc/PE

29 years agompw-make.in is out, mpw-make.sed is in.
Stan Shebs [Wed, 27 Sep 1995 02:05:39 +0000 (02:05 +0000)]
mpw-make.in is out, mpw-make.sed is in.

29 years ago * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
Stan Shebs [Wed, 27 Sep 1995 01:53:07 +0000 (01:53 +0000)]
* mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
no longer create sysdep.h, sed ppc-opc.c to work around a
serious Metrowerks C bug.
* mpw-make.in: Remove.
* mpw-make.sed: New file, used by mpw-configure to edit
Makefile.in into an MPW makefile.

29 years ago Add PowerMac support and many other enhancements.
Stan Shebs [Tue, 26 Sep 1995 21:51:30 +0000 (21:51 +0000)]
Add PowerMac support and many other enhancements.
* mpw-configure: New option --cc to select compiler to use,
paste options set according to --cc into the generated
Makefile, generate the Makefile by sed'ing the Unix Makefile.in
if mpw-make.sed is present.
* mpw-config.in: Don't test for gC1, test for mpw-touch,
add forward includes for PowerPC include files.
* mpw-build.in: Build using Makefile.PPC if present.
(do-byacc, etc): Remove separate version resource builds.
(do-gas): Build "stamps" before "all".
(do-gcc): Build "stamps-h" and "stamps-c" before "all".
* mpw-README: Update to reflect --cc option, PowerMac support,
and recently-reported compatibility problems.

29 years agoSupport all of the V.4 relocations
Michael Meissner [Tue, 26 Sep 1995 19:17:10 +0000 (19:17 +0000)]
Support all of the V.4 relocations

29 years ago * bfd.c (bfd_assert): Remove \n from string passed to
Ian Lance Taylor [Tue, 26 Sep 1995 18:45:16 +0000 (18:45 +0000)]
* bfd.c (bfd_assert): Remove \n from string passed to
        _bfd_error_handler.

29 years agoFlesh out branch prediction support.
Michael Meissner [Tue, 26 Sep 1995 18:26:32 +0000 (18:26 +0000)]
Flesh out branch prediction support.

29 years ago * scripttempl/i386coff.sc: Remove .data2; no longer needed.
Ian Lance Taylor [Tue, 26 Sep 1995 18:01:34 +0000 (18:01 +0000)]
* scripttempl/i386coff.sc: Remove .data2; no longer needed.

29 years ago * coff-i386.c: (TWO_DATA_SECS): Don't define.
Ian Lance Taylor [Tue, 26 Sep 1995 17:58:38 +0000 (17:58 +0000)]
* coff-i386.c: (TWO_DATA_SECS): Don't define.
* coffcode.h (bfd_coff_backend_data): Remove _bfd_make_section_hook.
(bfd_coff_make_section_hook): Don't define.
(coff_make_section_hook): Remove.
(sec_to_styp_flags): Remove TWO_DATA_SECS case.
(styp_to_sec_flags): Likewise.
(coff_write_object_contents): Likewise.
(bfd_coff_std_swap_table): Don't initialize make_section_hook
field.
* libcoff.h: Rebuild.
* coffgen.c (make_a_section_from_file): Just call
bfd_make_section_anyway, not bfd_make_section or
bfd_coff_make_section_hook.
* ecoff.c (_bfd_ecoff_make_section_hook): Remove.
* libecoff.h (_bfd_ecoff_make_section_hook): Don't declare.
* coff-alpha.c (alpha_ecoff_backend_data): Don't initialize
make_section_hook field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.

29 years ago * aoutx.h (translate_from_native_sym_flags): Don't try to stuff
Ian Lance Taylor [Tue, 26 Sep 1995 16:56:28 +0000 (16:56 +0000)]
* aoutx.h (translate_from_native_sym_flags): Don't try to stuff
pointers into value field for warning and indirect symbols; just
leave the value field alone.
* linker.c (generic_link_add_symbol_list): Use next symbol for
warning and indirect symbols, rather than looking in symbol value.
* ecoff.c (ecoff_set_symbol_info): Remove indirect_ptr_ptr
parameter.  Change all callers.  Remove support for indirect
symbols; it didn't work anyhow.
(_bfd_ecoff_slurp_symbol_table): Remove indirect_ptr variable.
* syms.c: Change comments about BSF_WARNING and BSF_INDIRECT.
* bfd-in2.h: Rebuild.

29 years ago * aout-adobe.c (aout_adobe_callback): Use _bfd_error_handler
Ian Lance Taylor [Mon, 25 Sep 1995 21:31:29 +0000 (21:31 +0000)]
* aout-adobe.c (aout_adobe_callback): Use _bfd_error_handler
rather than a direct fprintf.
* archive.c (_bfd_write_archive_contents): Likewise.
* coffcode.h (coff_slurp_symbol_table): Likewise.
* elf32-ppc.c (ppc_elf_merge_private_bfd_data): Likewise.
(ppc_elf_unsupported_reloc): Likewise.
(ppc_elf_relocate_section): Likewise.
* i386linux.c (linux_tally_symbols): Likewise.
(linux_finish_dynamic_link): Likewise.
* osf-core.c (osf_core_core_file_p): Likewise.
* rs6000-core.c (rs6000coff_get_section_contents): Likewise.
* som.c (som_sizeof_headers): Likewise.
* srec.c (srec_bad_byte): Likewise.
* bfd.c (bfd_assert): Likewise.  Also change file to be const.
* libbfd-in.h (bfd_assert): Declare first parameter const.
* libbfd.h: Rebuild.
* coff-a29k.c (a29k_reloc): Don't bother to fprintf; returning
bfd_reloc_overflow is enough.
* coff-h8300.c (rtype2howto): Don't bother to fprintf; just abort.
* coff-h8500.c (rtype2howto): Likewise.
* coff-z8k.c (rtype2howto): Likewise.
* coffcode.h (dummy_reloc16_extra_cases): Likewise.
* elf.c (_bfd_elf_get_lineno): Likewise.
(_bfd_elf_no_info_to_howto): Likewise.
(_bfd_elf_no_info_to_howto_rel): Likewise.
* hp300hpux.c (convert_sym_type): Likewise.
(MY(swap_std_reloc_in)): Likewise.
* elf.c (bfd_section_from_shdr): Remove #if 0 sections.

29 years ago * libaout.h (struct aoutdata): Add line_buf field.
Ian Lance Taylor [Mon, 25 Sep 1995 20:55:50 +0000 (20:55 +0000)]
* libaout.h (struct aoutdata): Add line_buf field.
* aoutx.h (NAME(aout,find_nearest_line)): Remove statics buffer
and filename_buffer.  Instead, use a malloc buffer stored in the
new line_buf field.  Remove length restrictions.

29 years ago * coffgen.c (string_size): Remove static variable.
Ian Lance Taylor [Mon, 25 Sep 1995 20:25:12 +0000 (20:25 +0000)]
* coffgen.c (string_size): Remove static variable.
(debug_string_size, debug_string_section): Likewise.
(coff_fix_symbol_name): Add string_size_p, debug_string_section_p,
and debug_string_size_p parameters.  Use them instead of the
global variables.  Change all callers.
(coff_write_symbol): Likewise.
(coff_write_alien_symbol, coff_write_native_symbol): Likewise.
(coff_write_symbols): Add local variables to replace removed
global variables.

29 years agoBetter reloc support
Michael Meissner [Mon, 25 Sep 1995 20:15:13 +0000 (20:15 +0000)]
Better reloc support

29 years agoFix previous change
Michael Meissner [Mon, 25 Sep 1995 20:07:26 +0000 (20:07 +0000)]
Fix previous change

29 years ago * libcoff-in.h (struct coff_section_tdata): Add offset, i,
Ian Lance Taylor [Mon, 25 Sep 1995 20:03:11 +0000 (20:03 +0000)]
* libcoff-in.h (struct coff_section_tdata): Add offset, i,
function, and line_base fields.
* libcoff.h: Rebuild.
* coffgen.c (coff_find_nearest_line): Use section tdata to cache
information, rather than using static variables.

29 years ago * sunos.c (sunos_read_dynamic_info): Adjust offsets in an NMAGIC
Ian Lance Taylor [Mon, 25 Sep 1995 16:45:16 +0000 (16:45 +0000)]
* sunos.c (sunos_read_dynamic_info): Adjust offsets in an NMAGIC
file.  From Peter DeWolf <pld@amt.tay1.dec.com>.

29 years ago * gas/mri/mri.exp: Add setup_xfail for arm*-*-* for constants
Ian Lance Taylor [Mon, 25 Sep 1995 16:32:51 +0000 (16:32 +0000)]
* gas/mri/mri.exp: Add setup_xfail for arm*-*-* for constants
test.

29 years ago * config/tc-arm.c (md_atof): Output little endian constants in
Ian Lance Taylor [Mon, 25 Sep 1995 16:29:30 +0000 (16:29 +0000)]
* config/tc-arm.c (md_atof): Output little endian constants in
little endian mode.

29 years ago * configure.in: Call AC_HEADER_SYS_WAIT.
Ian Lance Taylor [Mon, 25 Sep 1995 16:22:43 +0000 (16:22 +0000)]
* configure.in: Call AC_HEADER_SYS_WAIT.
* configure: Rebuild.
* config.in: Rebuild.
* dlltool.c: Include "libiberty.h" and "bucomm.h".  Don't include
<stdio.h>, <stdlib.h>, or <string.h>.  Don't include <wait.h>.
Include <sys/types.h>.  Use HAVE_SYS_WAIT_H to control whether to
include <sys/wait.h> or define the wait macros by hand.  Don't
declare xmalloc.
(gen_lib_file): Don't assume that sprintf returns the number of
characters; use strlen instead.

29 years ago * init.c (initialized): Remove static variable.
Ian Lance Taylor [Mon, 25 Sep 1995 15:50:25 +0000 (15:50 +0000)]
* init.c (initialized): Remove static variable.
(bfd_init): Don't bother setting initialized.
(bfd_check_init): Remove.
* opncls.c (_bfd_new_bfd): Don't call bfd_check_init.
* libbfd.h: Rebuild.

29 years ago * configure.in: Fix typo: fmt-elf to fmt=elf.
Ian Lance Taylor [Mon, 25 Sep 1995 04:26:30 +0000 (04:26 +0000)]
* configure.in: Fix typo: fmt-elf to fmt=elf.

29 years ago * rs6000-tdep.c (push_dummy_frame): Handle lr_offset of zero
Peter Schauer [Sat, 23 Sep 1995 13:30:04 +0000 (13:30 +0000)]
* rs6000-tdep.c (push_dummy_frame):  Handle lr_offset of zero
correctly.

29 years ago * mdebugread.c (parse_partial_symbols): Reset includes_used
Peter Schauer [Sat, 23 Sep 1995 11:09:52 +0000 (11:09 +0000)]
* mdebugread.c (parse_partial_symbols):  Reset includes_used
and dependencies_used after finishing the partial symbol table.

* rs6000-nat.c (xcoff_relocate_core):  Don't relocate data
addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE
is defined.
* xcoffread.c:  gcc -Wall lint. Remove traceback table reading
code. The existing code tried to add parameter information for
functions compiled without -g, which cannot be done properly
for optimized code and produced misleading parameter displays.
(ef_complaint, eb_complaint):  Make a local static copy to avoid
dependency on coffread.c.
(read_xcoff_symtab, process_xcoff_symbol, scan_xcoff_symtab):
Enter C_EXT/C_HIDEXT symbols into the minimal symbol table only.
(read_xcoff_symtab):  Ignore C_STAT section auxiliary entry
symbols. Complain about unmatched .ef and .eb symbols instead of
segfaulting.
(process_xcoff_symbol):  Determine value of C_GSYM symbols via
the global_sym_chain mechanism in stabsread.c.
(xcoff_new_init):  Call stabsread_new_init and buildsym_new_init.
(init_string_tab):  Initialize length field bytes in the strtbl.
(scan_xcoff_symtab):  Skip symbols that start with `$' or `.$'.
Set first_fun_line_offset for symbols with two auxents only.

29 years ago * rs6000-core.c (rs6000coff_core_p): Don't check the core file
Peter Schauer [Sat, 23 Sep 1995 11:04:45 +0000 (11:04 +0000)]
* rs6000-core.c (rs6000coff_core_p):  Don't check the core file
size for full core dumps. Copy core file header to private data.
(rs6000coff_core_file_failing_command,
rs6000coff_core_file_failing_signal):  New functions to extract
the file name and terminating signal from the core file.
* coff-rs6000.c:  Use them.

29 years ago * ldfile.c (ldfile_set_output_arch): Make arch const.
Ian Lance Taylor [Fri, 22 Sep 1995 22:09:43 +0000 (22:09 +0000)]
* ldfile.c (ldfile_set_output_arch): Make arch const.

29 years ago Change arch info to be const, initialized at compile time.
Ian Lance Taylor [Fri, 22 Sep 1995 22:06:51 +0000 (22:06 +0000)]
Change arch info to be const, initialized at compile time.
* archures.c: Reindent many functions.  Change CONST to const.
(bfd_arch_info_type): Make arch_name const.  Remove disassemble;
nothing set it anyhow.  Make next const.
(bfd_arch_info_list): Remove.
(bfd_archures_list): Rename from archures_init_table.  Change from
a table of function pointers to a table of bfd_arch_info_type
structure addresses.
(bfd_scan_arch): Rewrite accordingly.  Return a const pointer.
(bfd_lookup_arch): Likewise.
(bfd_set_arch_info): Rewrite accordingly.  Change argument to be a
const pointer.
(bfd_default_arch_struct): Make const.
(bfd_arch_init, bfd_arch_linkin): Remove.
(bfd_get_arch_info): Return a const pointer.
* init.c (bfd_init): Don't call bfd_arch_init.
* bfd.c (struct _bfd): Make arch_info const.
* bfd-in2.h: Rebuild.
* libbfd.h: Rebuild.
* configure.in: Put & before everything in $selarchs.
* configure: Rebuild.
* cpu-*.c: Change bfd_*_arch from a function which calls
bfd_arch_linkin to a const structure.
* ieee.c (ieee_object_p): Make arch const.

29 years ago * objdump.c (disassemble_data): Don't use the old BFD based
Ian Lance Taylor [Fri, 22 Sep 1995 21:19:38 +0000 (21:19 +0000)]
* objdump.c (disassemble_data): Don't use the old BFD based
disassembler interface.  Make info a const pointer.

29 years agostart at handling branch taken/branch not taken hints.
Michael Meissner [Fri, 22 Sep 1995 20:42:38 +0000 (20:42 +0000)]
start at handling branch taken/branch not taken hints.

29 years agoStart work to all full PowerPC V.4 reloc support.
Michael Meissner [Fri, 22 Sep 1995 20:30:18 +0000 (20:30 +0000)]
Start work to all full PowerPC V.4 reloc support.

29 years ago * cfg-ml-com.in (m68*-*-*): Only build multilibs for
David Edelsohn [Fri, 22 Sep 1995 19:21:08 +0000 (19:21 +0000)]
* cfg-ml-com.in (m68*-*-*): Only build multilibs for
embedded m68k systems (-aout, -coff, -elf, -vxworks).
(--with-multilib-top): Pass to recursive invocations.

29 years agominor cleanup
Michael Meissner [Fri, 22 Sep 1995 02:37:04 +0000 (02:37 +0000)]
minor cleanup

29 years agominor cleanup
Michael Meissner [Fri, 22 Sep 1995 02:33:41 +0000 (02:33 +0000)]
minor cleanup

29 years agoAdd support -mrelocatable-lib
Michael Meissner [Fri, 22 Sep 1995 02:30:57 +0000 (02:30 +0000)]
Add support -mrelocatable-lib

29 years agodo not set EF_PPC_RELOCATABLE for -mrelocatable-lib
Michael Meissner [Fri, 22 Sep 1995 01:19:53 +0000 (01:19 +0000)]
do not set EF_PPC_RELOCATABLE for -mrelocatable-lib

29 years agoDefault stack creation; fixup last change.
Michael Meissner [Thu, 21 Sep 1995 22:50:23 +0000 (22:50 +0000)]
Default stack creation; fixup last change.

29 years agoenhance OEA behavior.
Michael Meissner [Thu, 21 Sep 1995 22:23:56 +0000 (22:23 +0000)]
enhance OEA behavior.

29 years agoLocate __bss_start at the real start of bss.
Michael Meissner [Thu, 21 Sep 1995 21:57:32 +0000 (21:57 +0000)]
Locate __bss_start at the real start of bss.

29 years ago * subsegs.c (subseg_set): Permit SEG_ABSOLUTE in know expression.
Ian Lance Taylor [Thu, 21 Sep 1995 20:42:11 +0000 (20:42 +0000)]
* subsegs.c (subseg_set): Permit SEG_ABSOLUTE in know expression.
* expr.c (expr): Account for new operatorT values in know
expression.

* write.c (fixup_segment): Clear fixp->fx_subsy if the relocation
is fully resolved.

29 years agoadd -mrelocatable-lib, -memb support
Michael Meissner [Thu, 21 Sep 1995 20:23:15 +0000 (20:23 +0000)]
add -mrelocatable-lib, -memb support

29 years ago * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
Jeff Law [Thu, 21 Sep 1995 07:30:50 +0000 (07:30 +0000)]
    * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
        * gdb.disasm/sh3.exp (fmac): Corresponding changes.

29 years ago * gas/sh/fp.s (fmac): Update for new assembly syntax.
Jeff Law [Thu, 21 Sep 1995 07:28:42 +0000 (07:28 +0000)]
    * gas/sh/fp.s (fmac): Update for new assembly syntax.

29 years ago * op50-rom.c (op50n_cmds): Send ".\r" after the interrupt
Jeff Law [Thu, 21 Sep 1995 03:11:16 +0000 (03:11 +0000)]
    * op50-rom.c (op50n_cmds): Send ".\r" after the interrupt
        character.

29 years ago * coffcode.h (coff_write_object_contents): Clear the vstamp field
Ian Lance Taylor [Wed, 20 Sep 1995 23:09:09 +0000 (23:09 +0000)]
* coffcode.h (coff_write_object_contents): Clear the vstamp field
in the a.out header.

29 years agoadd maintainer-clean Makefile targets
Ian Lance Taylor [Wed, 20 Sep 1995 17:38:13 +0000 (17:38 +0000)]
add maintainer-clean Makefile targets

29 years agoadd maintainer-clean Makefile targets
Ian Lance Taylor [Wed, 20 Sep 1995 17:24:12 +0000 (17:24 +0000)]
add maintainer-clean Makefile targets

29 years ago * Makefile.in (maintainer-clean): New target, synonym for
Ian Lance Taylor [Wed, 20 Sep 1995 17:21:54 +0000 (17:21 +0000)]
* Makefile.in (maintainer-clean): New target, synonym for
realclean.

29 years ago * Makefile.in (maintainer-clean): New synonym for realclean.
Ian Lance Taylor [Wed, 20 Sep 1995 16:58:57 +0000 (16:58 +0000)]
* Makefile.in (maintainer-clean): New synonym for realclean.

29 years agoWed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 20 Sep 1995 16:57:36 +0000 (16:57 +0000)]
Wed Sep 20 08:16:03 1995  steve chamberlain  <sac@slash.cygnus.com>

* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
(GETENV_PROVIDED, FCLOSE_PROVIDED): New.
* doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document.
* remote-sim.[ch] (sim_callback_write_stdout): New.

29 years ago * run.c (sim_callback_write_stdout): New.
Steve Chamberlain [Wed, 20 Sep 1995 16:52:52 +0000 (16:52 +0000)]
* run.c (sim_callback_write_stdout):  New.
* interp.c (trap): Call sim_callback_write_stdout when needed.

29 years ago * aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for
Ian Lance Taylor [Wed, 20 Sep 1995 16:10:18 +0000 (16:10 +0000)]
* aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for
a reloc against a local symbol, even if it's not a section.

29 years agoWed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 20 Sep 1995 15:37:50 +0000 (15:37 +0000)]
Wed Sep 20 08:16:03 1995  steve chamberlain  <sac@slash.cygnus.com>

* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
(GETENV_PROVIDED, FCLOSE_PROVIDED): New.
* doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document.
* remote-sim.[ch] (sim_callback_write_stdout): New.

29 years agoWed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 20 Sep 1995 15:32:41 +0000 (15:32 +0000)]
Wed Sep 20 08:16:03 1995  steve chamberlain  <sac@slash.cygnus.com>

* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
(GETENV_PROVIDED, FCLOSE_PROVIDED): New.
* doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document.
* remote-sim.[ch] (gdbsim_write_stdout): New.

29 years ago * gdbtypes.c (create_set_type): Set TYPE_LENGTH in bytes, not bits.
Per Bothner [Tue, 19 Sep 1995 22:39:04 +0000 (22:39 +0000)]
* gdbtypes.c (create_set_type):  Set TYPE_LENGTH in bytes, not bits.
* valops.c (value_bitstring):  TYPE_LENGTH is bytes, not bits.

* gdbtypes.c (force_to_range_type):  Calculate upper limit of
TYPE_CODE_CHAR depending on TYPE_LENGTH (instead of just using 255).

29 years ago * targets.c (bfd_target): Remove unused align_power_min field.
Ian Lance Taylor [Tue, 19 Sep 1995 21:11:46 +0000 (21:11 +0000)]
* targets.c (bfd_target): Remove unused align_power_min field.
* bfd-in2.h: Rebuild.
* All backends: Remove initialization of align_power_min.

29 years agoTue Sep 19 14:02:21 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Tue, 19 Sep 1995 21:04:02 +0000 (21:04 +0000)]
Tue Sep 19 14:02:21 1995  steve chamberlain  <sac@slash.cygnus.com>

* peicode.h (coff_swap_scnhdr_out): Get sizes for BSS right.
(pr 8045)

29 years ago* configure.in (noconfigdirs): Disable libg++ and libstdc++ on
J.T. Conklin [Tue, 19 Sep 1995 20:52:44 +0000 (20:52 +0000)]
* configure.in (noconfigdirs): Disable libg++ and libstdc++ on
v810-*-*.

29 years ago* configure.in (noconfigdirs): Disable libg++ and libstdc++ on v810-*-*.
J.T. Conklin [Tue, 19 Sep 1995 20:51:48 +0000 (20:51 +0000)]
* configure.in (noconfigdirs): Disable libg++ and libstdc++ on v810-*-*.

29 years ago * config/tc-m68k.c (m68k_ip): Reject immediate operands for '%'.
Ian Lance Taylor [Tue, 19 Sep 1995 19:50:59 +0000 (19:50 +0000)]
* config/tc-m68k.c (m68k_ip): Reject immediate operands for '%'.

29 years ago * config/tc-m68k.c (m68k_ip): Reject immediate operands for '|'.
Ian Lance Taylor [Tue, 19 Sep 1995 19:33:48 +0000 (19:33 +0000)]
* config/tc-m68k.c (m68k_ip): Reject immediate operands for '|'.
Replace 'P' with '0', '1', and '2'.

29 years ago * m68k-opc.c: Split pmove patterns which use 'P' into patterns
Ian Lance Taylor [Tue, 19 Sep 1995 19:31:25 +0000 (19:31 +0000)]
* m68k-opc.c: Split pmove patterns which use 'P' into patterns
which use '0', '1', and '2' instead.  Specify the proper size for
a pmove immediate operand.  Correct the pmovefd patterns to be
moves to a register, not from a register.
* m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.

29 years ago * config/tc-m68k.c (parse_mri_control_operand): Change leftstop
Ian Lance Taylor [Tue, 19 Sep 1995 15:36:38 +0000 (15:36 +0000)]
* config/tc-m68k.c (parse_mri_control_operand): Change leftstop
and rightstop to not be const.
(parse_mri_control_expression): Likewise.
(build_mri_control_operand): Likewise.  Use m68k_ip_op to examine
the operand, not m68k_reg_parse.
(s_mri_if): In MRI mode, stop at the first '*'.
(s_mri_while): Likewise.
(s_mri_else): In MRI mode, ignore trailing characters.
(s_mri_endi, s_mri_break, s_mri_next, s_mri_for): Likewise.
(s_mri_endf, s_mri_repeat, s_mri_until, s_mri_endw): Likewise.
* config/m68k-parse.y: Revert yesterday's change.
* config/m68k-parse.h: Revert yesterday's change.

29 years ago* configure.in (noconfigdirs): Disable bfd, binutils, gas, gcc,
J.T. Conklin [Tue, 19 Sep 1995 06:11:12 +0000 (06:11 +0000)]
* configure.in (noconfigdirs): Disable bfd, binutils, gas, gcc,
gdb, ld and opcodes on v810-*-*.

29 years agoMon Sep 18 18:42:27 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Tue, 19 Sep 1995 01:47:35 +0000 (01:47 +0000)]
Mon Sep 18 18:42:27 1995  steve chamberlain  <sac@slash.cygnus.com>

* interp.c (trap): Remove useless code.

Fri Sep 15 19:30:05 1995  steve chamberlain  <sac@slash.cygnus.com>

* syscall.h: Copy from newlib.

29 years ago * config/tc-m68k.c (parse_mri_control_operand): Change leftstart
Ian Lance Taylor [Mon, 18 Sep 1995 22:25:54 +0000 (22:25 +0000)]
* config/tc-m68k.c (parse_mri_control_operand): Change leftstart
and rightstart to not be const.
(parse_mri_control_expression): Likewise.
(build_mri_control_operand): Likewise.  If the left side of the
comparison is a register, and the right side is not, swap the two
sides.
* config/m68k-parse.y (m68k_reg_parse): Make globally visible.
* config/m68k-parse.h (m68k_reg_parse): Declare.

29 years ago * read.c (mri_comment_field): New function.
Ian Lance Taylor [Mon, 18 Sep 1995 21:53:40 +0000 (21:53 +0000)]
* read.c (mri_comment_field): New function.
(mri_comment_end): New function.
(s_align_bytes): Use mri_comment_field.
(s_align_ptwo, s_comm, s_mri_common, s_fail, s_globl): Likewise.
(s_float_space, s_struct): Likewise.
(s_space): Use mri_comment_field rather than doing it by hand.
(cons_worker, equals): Likewise.
(s_end): Ignore comments starting with '*' or '!'.
* read.h (mri_comment_field): Declare.
(mri_comment_end): Declare.
* cond.c (s_if): Use mri_comment_field.
* config/tc-m68k.c (s_chip, s_reg): Likewise.

29 years ago * write.c (fixup_segment): Handle ABS-sym in -sym case rather than
Ian Lance Taylor [Mon, 18 Sep 1995 21:11:34 +0000 (21:11 +0000)]
* write.c (fixup_segment): Handle ABS-sym in -sym case rather than
sym-sym case.
* config/obj-coff.c (fixup_segment): Likewise.  Permit negative
symbols if TC_M68K.
* config/tc-m68k.c (tc_coff_fix2rtype): If fx_tcbit is set, return
R_RELLONG_NEG.
(tc_gen_reloc): If fx_tcbit is set, abort.
(md_apply_fix_2): For a negative reloc, move fx_subsy to fx_addsy,
and set fx_tcbit.
Permits generating negative relocs for m68k COFF.

29 years ago * config/tc-m68k.c (s_reg): Ignore comment field in MRI mode.
Ian Lance Taylor [Mon, 18 Sep 1995 19:23:53 +0000 (19:23 +0000)]
* config/tc-m68k.c (s_reg): Ignore comment field in MRI mode.

29 years ago Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:
Ian Lance Taylor [Mon, 18 Sep 1995 18:57:59 +0000 (18:57 +0000)]
Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:
* Makefile.in (CC_FOR_TARGET): Remove brokensed stuff.
(CXX_FOR_TARGET): Likewise.
(install): Likewise.
(GENERATED_HFILES): Remove config.h.
(.dep): Depend upon config.h.

29 years agoMon Sep 18 14:44:04 1995 Arne H. Juul <arnej@pvv.unit.no>
Ian Lance Taylor [Mon, 18 Sep 1995 18:45:56 +0000 (18:45 +0000)]
Mon Sep 18 14:44:04 1995  Arne H. Juul  <arnej@pvv.unit.no>

* configure.in (mips-dec-netbsd*): New target.
* configure: Rebuild.

29 years agoMon Sep 18 14:39:38 1995 Arne H. Juul <arnej@pvv.unit.no>
Ian Lance Taylor [Mon, 18 Sep 1995 18:42:00 +0000 (18:42 +0000)]
Mon Sep 18 14:39:38 1995  Arne H. Juul  <arnej@pvv.unit.no>

* configure.tgt (mips*-dec-netbsd*): New target.

29 years agoMon Sep 18 14:35:01 1995 Arne H. Juul <arnej@pvv.unit.no>
Ian Lance Taylor [Mon, 18 Sep 1995 18:37:58 +0000 (18:37 +0000)]
Mon Sep 18 14:35:01 1995  Arne H. Juul  <arnej@pvv.unit.no>

* config.bfd (mips-dec-netbsd*): New target.
* configure.host (mips-dec-netbsd*): New host.
* configure.in (mips-dec-netbsd*): New native.
* configure: Rebuild.

29 years ago * lib/ld.exp (default_ld_version): Call prune_system_crud.
Ian Lance Taylor [Mon, 18 Sep 1995 18:23:06 +0000 (18:23 +0000)]
* lib/ld.exp (default_ld_version): Call prune_system_crud.
(default_ld_relocate, default_ld_link): Likewise.
(default_ld_simple_link, default_ld_compile): Likewise.
(default_ld_assemble, default_ld_nm): Likewise.

29 years ago * lib/gas-defs.exp (gas_run): Call prune_system_crud.
Ian Lance Taylor [Mon, 18 Sep 1995 18:05:49 +0000 (18:05 +0000)]
* lib/gas-defs.exp (gas_run): Call prune_system_crud.
(run_dump_test, objdump): Likewise.

29 years agomention COFF linker improvement
Ian Lance Taylor [Mon, 18 Sep 1995 17:39:04 +0000 (17:39 +0000)]
mention COFF linker improvement

29 years ago * mh-hp300 (CC): Add "CC = cc -Wp,-H256000" to avoid
Fred Fish [Mon, 18 Sep 1995 17:14:35 +0000 (17:14 +0000)]
* mh-hp300 (CC): Add "CC = cc -Wp,-H256000" to avoid
"too much defining" errors from the HPUX compiler.

29 years agoin verbose mode add newline after files are processed
Ken Raeburn [Mon, 18 Sep 1995 16:28:11 +0000 (16:28 +0000)]
in verbose mode add newline after files are processed

29 years ago * somsolib.c (auto_solib_add_at_startup): Delete definition. No
Jeff Law [Mon, 18 Sep 1995 07:48:34 +0000 (07:48 +0000)]
* somsolib.c (auto_solib_add_at_startup): Delete definition.  No
longer needed.

29 years ago * configure.in: Set endian to little for mips-*-ultrix*.
Ian Lance Taylor [Mon, 18 Sep 1995 02:20:06 +0000 (02:20 +0000)]
* configure.in: Set endian to little for mips-*-ultrix*.
* configure: Rebuild.

29 years agoNCR changes
Angela Marie Thomas [Sun, 17 Sep 1995 03:05:25 +0000 (03:05 +0000)]
NCR changes

29 years ago* config/mh-ncrsvr43: Removed AR_FLAGS
release [Sun, 17 Sep 1995 01:33:20 +0000 (01:33 +0000)]
* config/mh-ncrsvr43: Removed AR_FLAGS

29 years ago * config/mips/tm-mips.h (UNUSED_REGNUM): Define.
Peter Schauer [Sat, 16 Sep 1995 20:37:36 +0000 (20:37 +0000)]
* config/mips/tm-mips.h (UNUSED_REGNUM):  Define.
* mipsv4-nat.c (supply_gregset):  Fill UNUSED_REGNUM register
with zero.

29 years ago * config/tc-m68k.c: Change some "CONST" references to "const".
Jeff Law [Sat, 16 Sep 1995 03:44:03 +0000 (03:44 +0000)]
* config/tc-m68k.c: Change some "CONST" references to "const".

Just changed those which caused redefinition errors on a system where
CONST != const.  Many more remain.

29 years agoconfigure.host: fix shell syntax errors
Ken Raeburn [Sat, 16 Sep 1995 00:05:19 +0000 (00:05 +0000)]
configure.host: fix shell syntax errors

29 years agovms updates
Ken Raeburn [Fri, 15 Sep 1995 21:47:19 +0000 (21:47 +0000)]
vms updates

29 years agovms updates
Ken Raeburn [Fri, 15 Sep 1995 21:41:56 +0000 (21:41 +0000)]
vms updates

29 years ago Make the COFF backend linker merge common types:
Ian Lance Taylor [Fri, 15 Sep 1995 14:29:05 +0000 (14:29 +0000)]
Make the COFF backend linker merge common types:
* cofflink.c (struct coff_debug_merge_element): Define.
(struct coff_debug_merge_type): Define.
(struct coff_debug_merge_hash_entry): Define.
(struct coff_debug_merge_hash_table): Define.
(coff_debug_merge_hash_table_init): Define.
(coff_debug_merge_hash_table_free): Define.
(coff_debug_merge_hash_lookup): Define.
(struct coff_final_link_info): Add debug_merge field.
(coff_debug_merge_hash_newfunc): New static function.
(_bfd_coff_final_link): Allocate and free debug_merge table.
(coff_link_input_bfd): Merge identical enum, struct and union
types.
PR 7145.

29 years ago * gencode.c: Back up PC by 2 for breakpoints.
Stu Grossman [Fri, 15 Sep 1995 02:36:10 +0000 (02:36 +0000)]
* gencode.c:  Back up PC by 2 for breakpoints.
* interp.c:  Move fp regs beyond pc/pr/etc to avoid confusing GDB,
which expect pc to immediatly follow regs[].

29 years ago * remote-sim.c (gdbsim_create_inferior): Back out change that
Stu Grossman [Fri, 15 Sep 1995 00:41:32 +0000 (00:41 +0000)]
* remote-sim.c (gdbsim_create_inferior):  Back out change that
broke all simulator configurations except the rs6000.

29 years ago * monitor.c (monitor_expect): Discard NULL characters.
Jeff Law [Thu, 14 Sep 1995 21:48:25 +0000 (21:48 +0000)]
    * monitor.c (monitor_expect): Discard NULL characters.
Fixes random failures on the OKI board.

29 years ago * infcmd.c: Add extern declaration for auto_solib_add_at_startup.
Kung Hsu [Thu, 14 Sep 1995 21:32:54 +0000 (21:32 +0000)]
    * infcmd.c: Add extern declaration for auto_solib_add_at_startup.

29 years ago * symfile.c: Move global variable auto_solib_add_at_startup from
Kung Hsu [Thu, 14 Sep 1995 20:44:03 +0000 (20:44 +0000)]
    * symfile.c: Move global variable auto_solib_add_at_startup from
        solib.c to symfile.c.
        * solib.c: ditto.
        * symfile.h: Add extern declaration of the above mentioned variable.
        * infcmd.c: Take out extern declaration, since it's in symfile.h.

29 years ago * gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests.
David Edelsohn [Thu, 14 Sep 1995 20:12:01 +0000 (20:12 +0000)]
* gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests.
* gas/sparc/sparc.exp: Run them.

29 years ago * coffread.c (coff_symtab_read): Complain about unmatched .ef and
Stu Grossman [Thu, 14 Sep 1995 19:43:02 +0000 (19:43 +0000)]
* coffread.c (coff_symtab_read):  Complain about unmatched .ef and
.eb symbols instead of segfaulting.

29 years ago Convert i960 COFF to use COFF backend linker.
Ian Lance Taylor [Thu, 14 Sep 1995 19:03:21 +0000 (19:03 +0000)]
Convert i960 COFF to use COFF backend linker.
* coff-i960.c (coff_i960_relocate): Use a coff_section_data
structure to store the symbol being used.
(coff_i960_start_final_link): New static function.
(coff_i960_relocate_section): New static function.
(coff_i960_adjust_symndx): New static function.
(coff_start_final_link): Define.
(coff_relocate_section): Define.
(coff_adjust_symndx): Define.
* coffcode.h (bfd_coff_backend_data): Add new callback function
_bfd_coff_start_final_link.
(bfd_coff_start_final_link): Define.
(coff_start_final_link): Define if not defined.
(bfd_coff_std_swap_table): Add coff_start_final_link.
* cofflink.c (_bfd_coff_internal_syment_name): Make globally
visible.
(_bfd_coff_final_link): Call bfd_coff_start_final_link if the
function callback is not NULL.
* libcoff-in.h (struct coff_section_tdata): Add tdata field.
(_bfd_coff_internal_syment_name): Declare.
* libcoff.h: Rebuild.
* configure.in (icoff_big_vec): Add cofflink.o.
(icoff_little_vec): Likewise.
* configure: Rebuild.

29 years ago * sparc-opc.c (sparc_opcodes): Mark all insns that reference
David Edelsohn [Thu, 14 Sep 1995 19:00:40 +0000 (19:00 +0000)]
* sparc-opc.c (sparc_opcodes): Mark all insns that reference
%psr, %wim, %tbr as F_NOTV9.

29 years ago * Makefile.in (clean-info): Remove extraneous tab from line
Fred Fish [Thu, 14 Sep 1995 00:39:41 +0000 (00:39 +0000)]
* Makefile.in (clean-info): Remove extraneous tab from line
following action.