binutils-gdb.git
28 years ago * Makefile.in: Add targets to automatically rebuild dependencies.
Ian Lance Taylor [Tue, 2 Jan 1996 22:48:13 +0000 (22:48 +0000)]
* Makefile.in: Add targets to automatically rebuild dependencies.
Remove targets which just listed dependencies of .o files.
(DEP): New variable.
(HFILES, GENERATED_HFILES): New variables.
(CFILES, GENERATED_CFILES): New variables.
(underscore.c): Don't do anything, just depend upon stamp-under.
(stamp-under): New target; do what underscore.c used to do.
(nlmconv.o): Depend upon sym.h and ecoff.h.
(.dep, .dep1, dep.sed, dep, dep-in): New targets.
(stage1, stage2, stage3, against, comparison): Remove.
(de-stage1, de-stage2, de-stage3): Remove.
(clean, distclean): Remove stamp-under and dep.sed.
* dep-in.sed: New file.

* Makefile.in (OBJDUMP_OBJS): New variable.
($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).

28 years agokeep nm-irix5.h
Stan Shebs [Tue, 2 Jan 1996 21:59:11 +0000 (21:59 +0000)]
keep nm-irix5.h

28 years agoKeep 1995 ChangeLog
Stan Shebs [Tue, 2 Jan 1996 21:57:59 +0000 (21:57 +0000)]
Keep 1995 ChangeLog

28 years agoLast year's changes to its own file.
Stan Shebs [Tue, 2 Jan 1996 21:56:00 +0000 (21:56 +0000)]
Last year's changes to its own file.

28 years ago * config/mips/nm-irix5.h: Restore.
Stan Shebs [Tue, 2 Jan 1996 21:55:10 +0000 (21:55 +0000)]
* config/mips/nm-irix5.h: Restore.
(TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
from Lee Iverson <leei@ai.sri.com>.
* config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
* config/mips/irix[345].mh (MUNCH_DEFINE): Remove.

28 years agoFor SH port, make relocation overflow an error instead of a warning.
Jim Wilson [Tue, 2 Jan 1996 20:45:49 +0000 (20:45 +0000)]
For SH port, make relocation overflow an error instead of a warning.

28 years agoAdd support for .note sections
Michael Meissner [Tue, 2 Jan 1996 19:17:17 +0000 (19:17 +0000)]
Add support for .note sections

28 years ago * elf32-ppc.c: Remove trailing newline from calls to
Ian Lance Taylor [Tue, 2 Jan 1996 18:06:55 +0000 (18:06 +0000)]
* elf32-ppc.c: Remove trailing newline from calls to
        _bfd_error_handler.
(ppc_elf_merge_private_bfd_data): Only warn about endianness
difference if target endianness is known.

28 years ago * configure.in (noconfigdirs): Put ld or gas in this early, if the
Brendan Kehoe [Tue, 2 Jan 1996 03:06:56 +0000 (03:06 +0000)]
    * configure.in (noconfigdirs): Put ld or gas in this early, if the
        user specifically used --with-gnu-ld=no or --with-gnu-as=no.

28 years ago * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
Jeff Law [Sun, 31 Dec 1995 06:41:24 +0000 (06:41 +0000)]
    * ecoff.c (ecoff_stab): Simplify.  Correctly handle sym + offset
        addresses for static variables.
So we can access statics in the static block on mips/alpha when using
gas.

28 years ago * gprof.c (long_options): Add "--function-ordering" and
Jeff Law [Sun, 31 Dec 1995 06:36:30 +0000 (06:36 +0000)]
* gprof.c (long_options): Add "--function-ordering" and
"--file-ordering" options.
(usage): Add new options to usage message.
(main): Handle new options.
* gprof.h (STYLE_FUNCTION_ORDER): Define.
(STYLE_FILE_ORDER): Define.
(function_mapping_file): Declare.
* cg_arcs.c (arcs, numarcs): New globals.
(arc_add): Put new arcs into the arc array so the function/file
ordering code can examine them.
* cg_arcs.h (struct arc): New field "has_been_placed".
(arcs, numarcs): Declare new globals.
* core.c (symbol_map, symbol_map_count): New globals.
(read_function_mappings): New function to read in a function
to object map file.
(core_init): Call read_function_mappings if a function mapping
file exists.
(core_create_function_syms): Handle function to object file
mappings.
* symtab.h (struct sym): New fields "mapped", "has_been_placed",
"nuses", "prev".
* cg_print.c (cmp_arc_count): New function for sorting arcs.
(cmp_fun_nuses): Likewise for functions.
(cg_print_function_ordering): New function to print a suggested
function ordering.
(cg_print_file_ordering): Likewise for ordering .o files.
(order_and_dump_functions_by_arcs): Helper function for function
and object file ordering code.
Gprof changes for mentor vm work.

28 years agoJust so we have them checked in somewhere; they're sanitized away as we
Jeff Law [Sun, 31 Dec 1995 06:28:22 +0000 (06:28 +0000)]
Just so we have them checked in somewhere; they're sanitized away as we
really don't want to distribute them as part of gprof (not without major
work).

28 years ago * config-ml.in: Add support for
David Edelsohn [Sun, 31 Dec 1995 00:13:13 +0000 (00:13 +0000)]
* config-ml.in: Add support for
--disable-{softfloat,m68881,m68000,m68020} on m68*-*-*.
Simplify setting of multidirs from --disable-foo.

28 years ago * tests2.exp: Setup_xfail "i*86-*-linux" and
Fred Fish [Sun, 31 Dec 1995 00:03:54 +0000 (00:03 +0000)]
* tests2.exp: Setup_xfail "i*86-*-linux" and
"mips-sgi-irix*" for "real write 4" and "real write 8".
Conditionalize both tests for system specific value
of "infinity" string.

28 years agoForgot a few things...
Fred Fish [Sat, 30 Dec 1995 22:35:57 +0000 (22:35 +0000)]
Forgot a few things...

28 years ago * builtins.exp (test_size): Alpha seems to have long builtins.
Fred Fish [Sat, 30 Dec 1995 22:31:31 +0000 (22:31 +0000)]
* builtins.exp (test_size):  Alpha seems to have long builtins.
* tests1.exp: Setup xfail "*-*-*" for "ptype r2".
* tests2.exp: Add check to skip chill tests.

28 years ago * lib/gdb.exp (default_gdb_start): Fix typo.
Fred Fish [Sat, 30 Dec 1995 22:27:24 +0000 (22:27 +0000)]
* lib/gdb.exp (default_gdb_start): Fix typo.
* gdb.base/corefile.exp: Allow "Core was generated by ..."
messages to not include the full program name that caused
the core dump since some systems (such as solaris) apparently
truncate this path to about 80 characters.
When generating a core file first try increasing the core file
size limit to unlimited since some systems may default it to
zero, and it is harmless to try it.  Move the test for failing
to generate a core file to where it will actually get executed.
* gdb.c++/templates.exp (test_ptype_of_templates): Accept
new gdb result from g++ debug info improvements and make old
pattern obsolescent.  Also account for size_t differences
(may be int or long).
* gdb.base/a1-selftest.exp (test_with_self): Check for case where
initialization before function call is placed in the delay slot
and thus appears to be skipped over by commands such as "next".

28 years ago * nm.c ( long_options): Add "--defined-only" option.
Jeff Law [Sat, 30 Dec 1995 17:02:06 +0000 (17:02 +0000)]
    * nm.c ( long_options): Add "--defined-only" option.
        (usage): Update for new "--defined-only" option.
        (filter_symbols): Handle "--defined-only".
Part of mentor vm work.

28 years ago * symfile.c (find_sym_fns): Add PowerMac to xcoff file recognition
Stan Shebs [Sat, 30 Dec 1995 01:33:40 +0000 (01:33 +0000)]
* symfile.c (find_sym_fns): Add PowerMac to xcoff file recognition
kludge.

28 years ago * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
Stan Shebs [Sat, 30 Dec 1995 00:23:40 +0000 (00:23 +0000)]
* gdb.base/a1-selftest.exp (test_with_self): Run without windows.

28 years ago * arparse.y: Include "bucomm.h", not <sysdep.h>.
Ian Lance Taylor [Fri, 29 Dec 1995 21:02:02 +0000 (21:02 +0000)]
* arparse.y: Include "bucomm.h", not <sysdep.h>.
* nlmheader.y: Don't include "sysdep.h".

28 years agoAllow toplevel make to over certain GCC variables; add all-bootstrap target
Michael Meissner [Fri, 29 Dec 1995 13:43:06 +0000 (13:43 +0000)]
Allow toplevel make to over certain GCC variables; add all-bootstrap target

28 years ago * README.GDBTK: Polish introductory paragraph.
Stan Shebs [Thu, 28 Dec 1995 23:16:41 +0000 (23:16 +0000)]
* README.GDBTK: Polish introductory paragraph.

28 years ago * config-ml.in (ml_realsrcdir): New, to account for ${subdir}.
David Edelsohn [Wed, 27 Dec 1995 23:52:53 +0000 (23:52 +0000)]
* config-ml.in (ml_realsrcdir): New, to account for ${subdir}.

28 years agoAdding perl to devo (perl5.002beta1).
Gordon Irlam [Wed, 27 Dec 1995 22:51:42 +0000 (22:51 +0000)]
Adding perl to devo (perl5.002beta1).

28 years ago * nm.c (print_symdef_entry): Check return value of
Ian Lance Taylor [Tue, 26 Dec 1995 23:20:35 +0000 (23:20 +0000)]
* nm.c (print_symdef_entry): Check return value of
bfd_get_elt_at_index.

28 years ago * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
Ian Lance Taylor [Tue, 26 Dec 1995 22:35:31 +0000 (22:35 +0000)]
* ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
__eabi.

28 years agoAdd Pentium DG/UX support
Michael Meissner [Tue, 26 Dec 1995 16:43:40 +0000 (16:43 +0000)]
Add Pentium DG/UX support

28 years ago * core.c (core_sym_class): Ignore symbols without BSF_FUNCTION
Jeff Law [Mon, 25 Dec 1995 04:32:29 +0000 (04:32 +0000)]
    * core.c (core_sym_class): Ignore symbols without BSF_FUNCTION
        set if ignore_non_function is set.
        * gprof.h (ignore_non_functions): Declare.
        * gprof.c (ignore_non_functions): Define.
        (long_options): Add "ignore-non-functions".
        (usage): Add new options.
        (main): Recognize "-D" and "--ignore-non-functions" option.
So we can get more accurate information on Solaris, HPUX and other
systems that can uniquely identify function symbols.

28 years agoBuild dlltool if config is powerpc*-*-win*
Michael Meissner [Sat, 23 Dec 1995 16:05:03 +0000 (16:05 +0000)]
Build dlltool if config is powerpc*-*-win*

28 years agokeep configure
Jason Molenda [Sat, 23 Dec 1995 01:07:12 +0000 (01:07 +0000)]
keep configure

28 years agocorrectly name file
Michael Meissner [Fri, 22 Dec 1995 16:42:06 +0000 (16:42 +0000)]
correctly name file

28 years agoAdd DG/UX x86 host
Michael Meissner [Fri, 22 Dec 1995 16:10:46 +0000 (16:10 +0000)]
Add DG/UX x86 host

28 years ago * remote-array.c (array_wait): Poll the keyboard along with the
Rob Savoye [Fri, 22 Dec 1995 02:09:38 +0000 (02:09 +0000)]
* remote-array.c (array_wait): Poll the keyboard along with the
serial port so users can tpye at the target while their
application is running.

28 years agoAdd PentiumPro support
Michael Meissner [Thu, 21 Dec 1995 21:09:43 +0000 (21:09 +0000)]
Add PentiumPro support

28 years agoAdd ppcbug-rom.o, srec.o dependencies
Michael Meissner [Thu, 21 Dec 1995 20:01:22 +0000 (20:01 +0000)]
Add ppcbug-rom.o, srec.o dependencies

28 years agoAdd ifndef wrappers
Michael Meissner [Thu, 21 Dec 1995 19:51:55 +0000 (19:51 +0000)]
Add ifndef wrappers

28 years agoMake @got be real GOT reloc; make @xgot be old TOC16 reloc
Michael Meissner [Thu, 21 Dec 1995 17:54:31 +0000 (17:54 +0000)]
Make @got be real GOT reloc; make @xgot be old TOC16 reloc

28 years agoWork in progress to add real GOT support
Michael Meissner [Thu, 21 Dec 1995 17:50:22 +0000 (17:50 +0000)]
Work in progress to add real GOT support

28 years agoMake ppcbug work
Michael Meissner [Thu, 21 Dec 1995 17:06:04 +0000 (17:06 +0000)]
Make ppcbug work

28 years ago * defs.h: Delete extraneous whitespace at end of file.
Fred Fish [Thu, 21 Dec 1995 04:08:27 +0000 (04:08 +0000)]
* defs.h: Delete extraneous whitespace at end of file.
* symfile.h: Move #include of demangle.h outside conditional.
* objfiles.h (struct objstats, OBJSTAT, OBJSTATS): New struct
and macros to hold per-objfile statistics for internal instrumentation.
(struct objfile): Add OBJSTATS member, which is optional.
* buildsym.h (next_symbol_text_func): Now takes objfile argument.
Also update copyright to 1995.
* dbxread.c (dbx_next_symbol_text): Now takes objfile argument.
(dbx_symfile_init, coffstab_build_psymtabs, elfstab_build_psymtabs,
stabsect_build_psymtabs): Accumulate string table size.
(dbx_next_symbol_text, read_dbx_symtab, read_ofile_symtab):
Accumulate number of stabs symbols read.
* dwarfread.c (new_symbol, symthesize_typedef):
Accumulate number of full symbols created.
* gdbtypes.c (alloc_type): Accumulate number of types.
* maint.c (maintenance_print_statistics): New function.
* mdebugread.c (mdebug_next_symbol_text): Now takes objfile argument.
* minsyms.c (prim_record_minimal_symbol_and_info): Accumulate
number of minimal symbols read.
* os9kread.c (read_os9k_psymtab): next_symbol_text takes objfile arg.
* partial-stab.h: next_symbol_text takes objfile arg.
* stabsread.c (error_type, STABS_CONTINUE): Now takes objfile arg and
  uses it to call next_symbol_text.
* symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
Accumulate number of partial symbols created.
* symfile.h (ADD_PSYMBOL_VT_TO_LIST): Accumulate number of partial
symbols created.
* symmisc.c (print_objfile_statistics): Print the per-objfile
internal instrumentation statistics gathered.
* xcoffread.c (xcoff_next_symbol_text): Now takes objfile argument.

28 years ago * configure.in (noconfigdirs): Add gas or ld if --with-gnu-as=no or
Brendan Kehoe [Thu, 21 Dec 1995 01:42:59 +0000 (01:42 +0000)]
* configure.in (noconfigdirs): Add gas or ld if --with-gnu-as=no or
--with-gnu-ld=no.

Don't build/configure gas or ld if we said we don't want them.

28 years ago* elf.c (copy_private_bfd_data): When attaching sections to segments ignore
Ken Raeburn [Thu, 21 Dec 1995 00:41:20 +0000 (00:41 +0000)]
* elf.c (copy_private_bfd_data): When attaching sections to segments ignore
sections that won't be allocated.  Patch from Andreas Schwab.

28 years agoAdd switches to control AIX multlibs
Michael Meissner [Wed, 20 Dec 1995 20:17:24 +0000 (20:17 +0000)]
Add switches to control AIX multlibs

28 years ago * config/tc-mips.c (load_address): Correctly handle a constant in
Ian Lance Taylor [Wed, 20 Dec 1995 19:56:41 +0000 (19:56 +0000)]
* config/tc-mips.c (load_address): Correctly handle a constant in
SVR4_PIC case.  From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.

28 years agoconfigure m68k-cbm non-sysv4 correctly
Ken Raeburn [Wed, 20 Dec 1995 01:13:05 +0000 (01:13 +0000)]
configure m68k-cbm non-sysv4 correctly

28 years ago * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
Ian Lance Taylor [Tue, 19 Dec 1995 23:00:26 +0000 (23:00 +0000)]
* ld-srec/srec.exp: Add setup_xfails for XCOFF targets.

28 years ago * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set
Ian Lance Taylor [Tue, 19 Dec 1995 22:36:03 +0000 (22:36 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set
relocateable before calling ldctor_build_sets if the output file
is in an XCOFF format.

28 years ago * coff-i960.c (CALC_ADDEND): Define.
Ian Lance Taylor [Tue, 19 Dec 1995 21:38:51 +0000 (21:38 +0000)]
* coff-i960.c (CALC_ADDEND): Define.
(coff_i960_relocate_section): Add the input section VMA to the
addend for PC relative relocs.
PR 8697.

28 years ago12/19 release from Andrew that fixes Netbsd break problem
Michael Meissner [Tue, 19 Dec 1995 16:41:06 +0000 (16:41 +0000)]
12/19 release from Andrew that fixes Netbsd break problem

28 years ago * configure.in (i386-win32): Don't build expect if we're not
Jason Molenda [Tue, 19 Dec 1995 01:56:18 +0000 (01:56 +0000)]
    * configure.in (i386-win32): Don't build expect if we're not
        building the tcl subdir.

28 years ago * Makefile.in: (configure-target-examples, all-target-examples):
Stan Shebs [Mon, 18 Dec 1995 19:50:07 +0000 (19:50 +0000)]
* Makefile.in: (configure-target-examples, all-target-examples):
New targets, configure and build example programs.

28 years agoWork with new and old BFDs; Do not inline model externs functions by default
Michael Meissner [Sat, 16 Dec 1995 15:02:48 +0000 (15:02 +0000)]
Work with new and old BFDs; Do not inline model externs functions by default

28 years ago * mpw-configure: If an mpw-config.in generated a file mk.sed,
Stan Shebs [Sat, 16 Dec 1995 00:20:14 +0000 (00:20 +0000)]
* mpw-configure: If an mpw-config.in generated a file mk.sed,
use it as input to sedit the generated MPW makefile.
* mpw-README: Add a suggestion about Gestalt.h.

28 years ago* config/tc-sh.c (parse_reg): Recognize SH3 registers.
J.T. Conklin [Fri, 15 Dec 1995 22:30:33 +0000 (22:30 +0000)]
* config/tc-sh.c (parse_reg): Recognize SH3 registers.
(get_specific): Handle A_SSR, A_SPC and A_REG_B.
(build_Mbytes): Handle REG_B.

28 years ago * disassemble.c (disassembler): Use new bfd_big_endian macro.
Ian Lance Taylor [Fri, 15 Dec 1995 21:45:00 +0000 (21:45 +0000)]
* disassemble.c (disassembler): Use new bfd_big_endian macro.

28 years ago * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
Ian Lance Taylor [Fri, 15 Dec 1995 21:39:35 +0000 (21:39 +0000)]
* ld-srec/srec.exp: Remove i960 COFF setup_xfail.

28 years ago * ldwrite.c (build_link_order): When handling a data statement, if
Ian Lance Taylor [Fri, 15 Dec 1995 21:39:09 +0000 (21:39 +0000)]
* ldwrite.c (build_link_order): When handling a data statement, if
the endianness of the output file is unknown, use the endianness
of the input file.

28 years ago * run.c (main): Use new bfd_big_endian macro.
Ian Lance Taylor [Fri, 15 Dec 1995 21:28:11 +0000 (21:28 +0000)]
* run.c (main): Use new bfd_big_endian macro.

28 years ago * targets.c (enum bfd_endian): Define.
Ian Lance Taylor [Fri, 15 Dec 1995 21:18:43 +0000 (21:18 +0000)]
* targets.c (enum bfd_endian): Define.
(bfd_target): Rename byteorder_big_p to byteorder, and change it
from boolean to enum bfd_endian.  Change header_byteorder_big_p
correspondingly.
* bfd-in.h (bfd_big_endian, bfd_little_endian): New macros.
(bfd_header_big_endian, bfd_header_little_endian): New macros.
* bfd-in2.h: Rebuild.
* All targets: Change initialization of byteorder and
header_byteorder to use enum bfd_endian values rather than
booleans.
* All files: Change all references to byteorder_big_p and
header_byteorder_big_p to use new bfd_*_endian macros.

28 years ago * top.c (set_endian_from_file): Use new bfd_big_endian macro.
Ian Lance Taylor [Fri, 15 Dec 1995 21:17:04 +0000 (21:17 +0000)]
* top.c (set_endian_from_file): Use new bfd_big_endian macro.

28 years ago * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
Ian Lance Taylor [Fri, 15 Dec 1995 21:12:36 +0000 (21:12 +0000)]
* ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.

28 years agoFix warnings when using full inlining.
Michael Meissner [Fri, 15 Dec 1995 21:06:22 +0000 (21:06 +0000)]
Fix warnings when using full inlining.

28 years ago * mpw-make.sed: Add quotes to RIncludes reference.
Raymond Jou [Fri, 15 Dec 1995 20:31:58 +0000 (20:31 +0000)]
* mpw-make.sed: Add quotes to RIncludes reference.

28 years ago * remote-array.c: Remove bogus setting of baudrate to 4800. Their
Rob Savoye [Fri, 15 Dec 1995 20:20:33 +0000 (20:20 +0000)]
* remote-array.c: Remove bogus setting of baudrate to 4800. Their
hardware has real UARTS now.

28 years agoChanges from Andrew
Michael Meissner [Fri, 15 Dec 1995 20:20:13 +0000 (20:20 +0000)]
Changes from Andrew

28 years ago* mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
Raymond Jou [Fri, 15 Dec 1995 20:17:52 +0000 (20:17 +0000)]
* mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.

28 years ago * coffgen.c (make_a_section_from_file): Set lma to s_paddr, not
Ian Lance Taylor [Fri, 15 Dec 1995 17:07:00 +0000 (17:07 +0000)]
* coffgen.c (make_a_section_from_file): Set lma to s_paddr, not
s_vaddr.
* coffcode.h (coff_write_object_contents): Set s_paddr to lma, not
vma.
* ecoff.c (_bfd_ecoff_write_object_contents): Likewise.

28 years ago * dlltool.c (fill_ordinals): Start from 1 if no other instructions
Steve Chamberlain [Fri, 15 Dec 1995 15:52:56 +0000 (15:52 +0000)]
* dlltool.c (fill_ordinals): Start from 1 if no other instructions
  given.

28 years ago * pe[i]-i386.c (TARGET_UNDERSCORE): Define to '_'.
Steve Chamberlain [Fri, 15 Dec 1995 15:32:29 +0000 (15:32 +0000)]
* pe[i]-i386.c (TARGET_UNDERSCORE): Define to '_'.

28 years agoDelete jaguar. Delete psion sanitization.
David Edelsohn [Thu, 14 Dec 1995 22:48:32 +0000 (22:48 +0000)]
Delete jaguar.  Delete psion sanitization.

28 years ago * ieee.c: Lots of minor cleanups. Make many functions return
Ian Lance Taylor [Thu, 14 Dec 1995 20:33:14 +0000 (20:33 +0000)]
* ieee.c: Lots of minor cleanups.  Make many functions return
errors rather than calling abort.  Also:
(ieee_write_twobyte): Remove; change callers to call existing
ieee_write_2bytes function.
(ieee_write_expression): Don't output the section twice when
outputting a local symbol.  Don't emit an extraneous zero if there
is only one term.
(ieee_slurp_sections): Set the lma as well as the vma.
(ieee_archive_p): Use bfd_alloc_grow rather than an obstack.

28 years ago * config/obj-coff.c (write_object_file): Set the s_align field to
Ian Lance Taylor [Thu, 14 Dec 1995 20:12:31 +0000 (20:12 +0000)]
* config/obj-coff.c (write_object_file): Set the s_align field to
the number of bytes, rather than to the power of 2.
PR 8674, 8678.

28 years ago * ihex.c (ihex_set_arch_mach): Don't accept any architecture, just
Ian Lance Taylor [Thu, 14 Dec 1995 18:46:54 +0000 (18:46 +0000)]
* ihex.c (ihex_set_arch_mach): Don't accept any architecture, just
a recognized one or bfd_arch_unknown.
(ihex_get_symtab_upper_bound): Define as bfd_0l, to permit objcopy
to succeed.
(ihex_get_symtab): Likewise.

28 years ago * config.sub: Accept *-*-ieee*.
Ian Lance Taylor [Wed, 13 Dec 1995 21:45:07 +0000 (21:45 +0000)]
* config.sub: Accept *-*-ieee*.

28 years ago * aoutx.h: Include <ctype.h>.
Ian Lance Taylor [Wed, 13 Dec 1995 20:47:36 +0000 (20:47 +0000)]
* aoutx.h: Include <ctype.h>.
(struct aout_link_includes_table): Define.
(struct aout_link_includes_totals): Define.
(struct aout_link_includes_entry): Define.
(aout_link_includes_lookup): Define macro.
(struct aout_final_link_info): Add includes field.
(aout_link_includes_newfunc): New static function.
(NAME(aout,final_link)): Initialize includes hash table.
(aout_link_write_symbols): Eliminate duplicate N_BINCL entries.

28 years ago * mpw-config.in: Match on mips-*-* instead of mips-idt-ecoff.
Stan Shebs [Wed, 13 Dec 1995 18:54:24 +0000 (18:54 +0000)]
* mpw-config.in: Match on mips-*-* instead of mips-idt-ecoff.

28 years ago * stabs.texinfo (Include Files): Document the values the SunOS4
Ian Lance Taylor [Wed, 13 Dec 1995 17:36:52 +0000 (17:36 +0000)]
* stabs.texinfo (Include Files): Document the values the SunOS4
linker creates for N_BINCL/N_EINCL/N_EXCL stabs.

28 years agoProtected debugging code. (duh)
Kim Knuttila [Wed, 13 Dec 1995 16:22:02 +0000 (16:22 +0000)]
Protected debugging code. (duh)

28 years agoFixes for .reloc
Kim Knuttila [Wed, 13 Dec 1995 12:56:29 +0000 (12:56 +0000)]
Fixes for .reloc

28 years agoFixes for .reloc
Kim Knuttila [Tue, 12 Dec 1995 23:47:05 +0000 (23:47 +0000)]
Fixes for .reloc

28 years agoReflect file rename.
Stan Shebs [Tue, 12 Dec 1995 22:37:05 +0000 (22:37 +0000)]
Reflect file rename.

28 years ago * mpw-config.in: Recognize mips-*-* as equivalent to
Stan Shebs [Tue, 12 Dec 1995 22:35:48 +0000 (22:35 +0000)]
* mpw-config.in: Recognize mips-*-* as equivalent to
mips-idt-ecoff.
* mpw-eppcmac.c: Shortened from mpw-eppcmacos.c.
* mpw-ld.r: Add version resources.
(cfrg): Use symbolic instead of literal name for executable.

28 years ago * Makefile.in (distclean): Remove stamp-h. From Ronald
Ian Lance Taylor [Tue, 12 Dec 1995 17:23:11 +0000 (17:23 +0000)]
* Makefile.in (distclean): Remove stamp-h.  From Ronald
F. Guilmette <rfg@monkeys.com>.

28 years ago * Makefile.in (DISTCLEAN_HERE): New variable.
Ian Lance Taylor [Tue, 12 Dec 1995 17:21:31 +0000 (17:21 +0000)]
* Makefile.in (DISTCLEAN_HERE): New variable.
(distclean): Use it.
(maintainer-clean): Depend upon clean-here rather than clean,
distclean, and clean-info.  Run make maintainer-clean in doc.
Remove files listed in DISTCLEAN_HERE.
* doc/Makefile.in (maintainer-clean realclean): Split out from
distclean.  Depend upon clean-info and distclean.

28 years ago * Makefile.in (clean): Remove $(DEMANGLER_PROG).1. From Ronald
Ian Lance Taylor [Tue, 12 Dec 1995 17:08:17 +0000 (17:08 +0000)]
* Makefile.in (clean): Remove $(DEMANGLER_PROG).1.  From Ronald
F. Guilmette <rfg@monkeys.com>.

28 years ago * Makefile.in (local-distclean): Remove $(TARGET_SUBDIR). From
Ian Lance Taylor [Tue, 12 Dec 1995 17:03:18 +0000 (17:03 +0000)]
* Makefile.in (local-distclean): Remove $(TARGET_SUBDIR).  From
Ronald F. Guilmette <rfg@monkeys.com>.

28 years ago * config.bfd: Handle sparc-*-elf*. From Ronald F. Guilmette
Ian Lance Taylor [Tue, 12 Dec 1995 16:44:22 +0000 (16:44 +0000)]
* config.bfd: Handle sparc-*-elf*.  From Ronald F. Guilmette
<rfg@monkeys.com>.

28 years agoKeep all new PowerMac files.
Stan Shebs [Tue, 12 Dec 1995 02:39:06 +0000 (02:39 +0000)]
Keep all new PowerMac files.

28 years ago * configure.in (powerpc-*-macos*): New target configuration.
Stan Shebs [Tue, 12 Dec 1995 02:35:27 +0000 (02:35 +0000)]
* configure.in (powerpc-*-macos*): New target configuration.
* configure: Update.
* config/powerpc/macos.mh, config/powerpc/macos.mt,
  config/powerpc/nm-macos.h, config/powerpc/tm-macos.h, mac-nat.c:
  New files, native PowerMac debugging support.
* Makefile.in (mac-nat.o): Add build rule.
* mpw-config.in (enable_cflags): Add support.
(m68k-apple-macos, powerpc-apple-macos): Fix natdepfiles to
list object file instead of source file.
* mpw-make.sed (@ENABLE_CFLAGS@): Don't edit out, replace with
value of variable.
(install, install-only): Edit MPW-specific installation into
place of Unix shell code.
* mac-gdb.r: Fix version resources to use symbolic version strings.
(cfrg): New resource, code fragment for PowerMac.

28 years ago * dbxread.c (process_one_symbol): When looking at the next
Fred Fish [Tue, 12 Dec 1995 01:58:31 +0000 (01:58 +0000)]
* dbxread.c (process_one_symbol): When looking at the next
minimal symbol, check for end of the minimal symbol array
  (symbol with NULL pointer for name) before dereferencing it.
Fixes PR 8644

28 years ago * tuples.ch, tuples.exp: Exhance test cases (from PR 8643).
Per Bothner [Tue, 12 Dec 1995 00:55:18 +0000 (00:55 +0000)]
* tuples.ch, tuples.exp:  Exhance test cases (from PR 8643).

28 years ago * eval.c (evaluate_struct_tuple): Fix thinko.
Per Bothner [Tue, 12 Dec 1995 00:51:21 +0000 (00:51 +0000)]
* eval.c (evaluate_struct_tuple):  Fix thinko.
This fixes PR 8643.

28 years ago * mac-as.r: Fix copyright and version strings.
Stan Shebs [Tue, 12 Dec 1995 00:27:29 +0000 (00:27 +0000)]
* mac-as.r: Fix copyright and version strings.
(cfrg): Use PROG_NAME instead of literal name.

28 years ago * configure.in (host==powerpc-pe): Add many directories to noconfigdirs
Jason Molenda [Mon, 11 Dec 1995 23:34:30 +0000 (23:34 +0000)]
    * configure.in (host==powerpc-pe): Add many directories to noconfigdirs
        for powerpc-pe native.
        (target==i386-win32): add tcl, make to noconfigdirs if canadian cross.
        (target==powerpc-pe): duplicate i386-win32 entry.

28 years agoMoved the .reloc section slightly
Kim Knuttila [Mon, 11 Dec 1995 23:04:18 +0000 (23:04 +0000)]
Moved the .reloc section slightly

28 years ago * mac-binutils.r: Fix copyright and version strings.
Stan Shebs [Mon, 11 Dec 1995 22:35:35 +0000 (22:35 +0000)]
* mac-binutils.r: Fix copyright and version strings.

* Makefile.in (version): Remove, no longer used.

28 years ago * read.c (read_a_source_file): If tc_unrecognized_line is defined,
Ian Lance Taylor [Mon, 11 Dec 1995 19:23:10 +0000 (19:23 +0000)]
* read.c (read_a_source_file): If tc_unrecognized_line is defined,
call it.
* config/tc-a29k.h (tc_unrecognized_line): Define.
* config/tc-a29k.c (a29k_unrecognized_line): New function.
(md_operand): Handle a29k style local dollar labels.

28 years ago * builtins.exp, pr-5016.{ch,exp}, result.{ch,exp},
Wilfried Moser [Mon, 11 Dec 1995 14:59:01 +0000 (14:59 +0000)]
    * builtins.exp, pr-5016.{ch,exp}, result.{ch,exp},
        tests1.{ch,exp}: Enhance test cases.

28 years ago * ch-typeprint.c (chill_type_print_base): Slightly change of printing
Wilfried Moser [Mon, 11 Dec 1995 14:54:50 +0000 (14:54 +0000)]
    * ch-typeprint.c (chill_type_print_base): Slightly change of printing
        of variant structures.