platform/upstream/binutils.git
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.

28 years ago * valops.c (value_cast): Handle casts to and from TYPE_CODE_CHAR.
Per Bothner [Mon, 11 Dec 1995 09:02:26 +0000 (09:02 +0000)]
* valops.c (value_cast):  Handle casts to and from TYPE_CODE_CHAR.
* ch-exp.c (match_integer_literal):  Fix long long support.
* gdbtypes.c (get_discrete_bounds):  Make TYPE_LENGTH (type) ==
sizeof (LONGEST) case work OK.

28 years agoDisable newlib for all vxworks targets.
Jim Wilson [Sat, 9 Dec 1995 22:59:09 +0000 (22:59 +0000)]
Disable newlib for all vxworks targets.

28 years ago * coffread.c, dbxread.c, dstread.c, objfiles.c, os9kread.c,
Fred Fish [Sat, 9 Dec 1995 05:12:46 +0000 (05:12 +0000)]
* coffread.c, dbxread.c, dstread.c, objfiles.c, os9kread.c,
symfile.c, symtab.c:  Use "obstack.h" rather than <obstack.h>.

28 years ago * gdbint.texinfo (Releases): Change gdb.tar.Z to gdb.tar.gz.
Fred Fish [Sat, 9 Dec 1995 05:10:21 +0000 (05:10 +0000)]
* gdbint.texinfo (Releases): Change gdb.tar.Z to gdb.tar.gz.
Fix typo.

28 years ago * elflink.h (elf_link_add_object_symbols): Set section_count to 0
Ian Lance Taylor [Fri, 8 Dec 1995 22:47:28 +0000 (22:47 +0000)]
* elflink.h (elf_link_add_object_symbols): Set section_count to 0
when setting sections to NULL.
PR 8600.

28 years ago * builtins.ch, builtins.exp, Makefile.in: New test case.
Wilfried Moser [Thu, 7 Dec 1995 13:18:08 +0000 (13:18 +0000)]
    * builtins.ch, builtins.exp, Makefile.in: New test case.

28 years ago * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
Ian Lance Taylor [Thu, 7 Dec 1995 02:04:14 +0000 (02:04 +0000)]
* config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.

28 years agoAlways keep the newly-added configure scripts.
Stan Shebs [Thu, 7 Dec 1995 01:37:31 +0000 (01:37 +0000)]
Always keep the newly-added configure scripts.

28 years agoKeep ch-exp.c, not ch-exp.y now.
Stan Shebs [Thu, 7 Dec 1995 01:28:34 +0000 (01:28 +0000)]
Keep ch-exp.c, not ch-exp.y now.

28 years ago * emultempl/aix.em (unix_ld): New static variable.
Ian Lance Taylor [Thu, 7 Dec 1995 01:12:30 +0000 (01:12 +0000)]
* emultempl/aix.em (unix_ld): New static variable.
(gld${EMULATION_NAME}_parse_args): Handle -unix.
(gld${EMULATION_NAME}_before_allocation): If unix_ld, pass
gc as false and export_defineds as true to size_dynamic_sections.
PR 8606.

28 years ago * xcofflink.c (struct xcoff_loader_info): Add export_defineds
Ian Lance Taylor [Thu, 7 Dec 1995 01:08:54 +0000 (01:08 +0000)]
* xcofflink.c (struct xcoff_loader_info): Add export_defineds
field.
(bfd_xcoff_size_dynamic_sections): Add export_defineds parameter.
(xcoff_build_ldsyms): If export_defineds is set, set XCOFF_EXPORT
for all symbols.
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration.
* bfd-in2.h: Rebuild.

28 years ago * remote-mips.c (mips_receive_header): Allow mips_syn_garbage to be
Stu Grossman [Thu, 7 Dec 1995 00:21:51 +0000 (00:21 +0000)]
* remote-mips.c (mips_receive_header):  Allow mips_syn_garbage to be
user-settable (via set syn-garbage-limit).  Setting it to -1 makes
it unlimited.

28 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix
David Edelsohn [Wed, 6 Dec 1995 22:41:10 +0000 (22:41 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix
call to sort_sections.

28 years ago * ldlang.c (print_statement{,s}): Delete duplicate prototype.
David Edelsohn [Wed, 6 Dec 1995 22:38:14 +0000 (22:38 +0000)]
* ldlang.c (print_statement{,s}): Delete duplicate prototype.
(print_statement_list): Renamed from print_statement.  All callers
updated.
(print_statement): New function to print just one statement.
(print_{data,reloc,padding}_statement): Don't crash if
output_section == NULL.
(dprint_statement): New function.

28 years ago * ldexp.c (exp_fold_tree): Permit assignments to dot in the final
Ian Lance Taylor [Wed, 6 Dec 1995 19:58:05 +0000 (19:58 +0000)]
* ldexp.c (exp_fold_tree): Permit assignments to dot in the final
phase if the current section is abs_output_section.
PR 8605.

28 years ago * gdbtypes.c (check_stub_method): Make sure we get back a function
Brendan Kehoe [Wed, 6 Dec 1995 02:34:53 +0000 (02:34 +0000)]
* gdbtypes.c (check_stub_method): Make sure we get back a function
string in the demangled name before we try to use it.

fixes gdb/8306 (Mentor, ser/med)

28 years ago * monitor.c (monitor_expect_regexp): Make static, add prototype.
Stu Grossman [Wed, 6 Dec 1995 02:13:00 +0000 (02:13 +0000)]
* monitor.c (monitor_expect_regexp):  Make static, add prototype.
* (monitor_read_memory_single):  Call monitor_expect_regexp with
pointer to getmem_resp_delim_pattern, not entire struct.

28 years ago * c-lang.h (c_op_print_tab): Don't declare, some compilers
Stan Shebs [Wed, 6 Dec 1995 01:33:49 +0000 (01:33 +0000)]
* c-lang.h (c_op_print_tab): Don't declare, some compilers
consider illegal if structure not defined, and only used
in c-lang.c anyway.

28 years ago* read.c (s_fill): If md_flush_pending_output is defined, call it.
Ken Raeburn [Tue, 5 Dec 1995 22:28:25 +0000 (22:28 +0000)]
* read.c (s_fill): If md_flush_pending_output is defined, call it.

28 years ago From David Mosberger-Tang <davidm@azstarnet.com>:
Stan Shebs [Tue, 5 Dec 1995 21:55:18 +0000 (21:55 +0000)]
    From David Mosberger-Tang  <davidm@azstarnet.com>:
        * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
        instruction.

28 years ago * tests2.exp: Add compiling of the test case.
Wilfried Moser [Tue, 5 Dec 1995 09:52:45 +0000 (09:52 +0000)]
    * tests2.exp: Add compiling of the test case.

28 years agoFix .idata doc bug.
David Edelsohn [Tue, 5 Dec 1995 03:57:07 +0000 (03:57 +0000)]
Fix .idata doc bug.

28 years agoDocument the .idata section.
David Edelsohn [Tue, 5 Dec 1995 03:36:11 +0000 (03:36 +0000)]
Document the .idata section.

28 years ago* config/obj-coff.c (size_section, fill_section, fixup_mdeps): Treat
Ken Raeburn [Mon, 4 Dec 1995 23:11:02 +0000 (23:11 +0000)]
* config/obj-coff.c (size_section, fill_section, fixup_mdeps): Treat
rs_align_code like rs_align.

28 years ago * ihex.c (ihex_scan): Handle record types 4 and 5.
Ian Lance Taylor [Mon, 4 Dec 1995 22:08:45 +0000 (22:08 +0000)]
* ihex.c (ihex_scan): Handle record types 4 and 5.
(ihex_object_p): Permit types 4 and 5.
(ihex_set_section_contents): Remove check for out of range
addresses.
(ihex_write_object_contents): Generate types 4 and 5.

28 years agoRemoved some debugging prints. duh
Kim Knuttila [Mon, 4 Dec 1995 21:47:37 +0000 (21:47 +0000)]
Removed some debugging prints. duh

28 years ago * mpw-configure: Add support for exec-prefix.
Stan Shebs [Mon, 4 Dec 1995 20:48:19 +0000 (20:48 +0000)]
* mpw-configure: Add support for exec-prefix.

28 years ago* sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
J.T. Conklin [Mon, 4 Dec 1995 20:32:44 +0000 (20:32 +0000)]
* sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
(sh_table): Added many SH3 opcodes.
* sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.

28 years ago* gencode.c (tab): Added several sh3 opcodes.
J.T. Conklin [Mon, 4 Dec 1995 20:27:38 +0000 (20:27 +0000)]
* gencode.c (tab): Added several sh3 opcodes.
(think): Added printonmatch for A_SSR and A_SPC.
* interp.c (SSR, SPC): Added definitions.
(saved_state_type): Added ssr and spc registers.

28 years ago * config.guess: Recognize HP model 816 machines as having
Jeff Law [Mon, 4 Dec 1995 18:19:32 +0000 (18:19 +0000)]
    * config.guess: Recognize HP model 816 machines as having
        a PA1.1 processor.

Already at the FSF.

28 years ago * configure: Ignore new autoconf configure options.
Ian Lance Taylor [Mon, 4 Dec 1995 17:34:36 +0000 (17:34 +0000)]
* configure: Ignore new autoconf configure options.

28 years ago * elflink.h (elf_link_output_extsym): Just ignore warning and
Ian Lance Taylor [Mon, 4 Dec 1995 16:23:36 +0000 (16:23 +0000)]
* elflink.h (elf_link_output_extsym): Just ignore warning and
indirect references to symbols which don't really exist.

28 years agoDumper for PowerPC .edata section
Kim Knuttila [Mon, 4 Dec 1995 01:58:54 +0000 (01:58 +0000)]
Dumper for PowerPC .edata section

28 years ago * aout-arm.c (MY_swap_std_reloc_out): Use KEEPIT to get the symbol
David Edelsohn [Sun, 3 Dec 1995 23:29:09 +0000 (23:29 +0000)]
* aout-arm.c (MY_swap_std_reloc_out): Use KEEPIT to get the symbol
index, don't call stoi.

28 years ago * config/tc-arm.c (cp_address_required_here): Set pre_inc when
David Edelsohn [Sun, 3 Dec 1995 23:26:32 +0000 (23:26 +0000)]
* config/tc-arm.c (cp_address_required_here): Set pre_inc when
converting an absolute address into a PC-relative one.

28 years agoEdit out GM-specific bits from files.
Stan Shebs [Sun, 3 Dec 1995 22:11:25 +0000 (22:11 +0000)]
Edit out GM-specific bits from files.

28 years ago * eval.c (evaluate_subexp_standard case): Fix typo.
Per Bothner [Sun, 3 Dec 1995 20:32:55 +0000 (20:32 +0000)]
* eval.c (evaluate_subexp_standard case):  Fix typo.

28 years ago * ch-exp.c (parse_named_record_element): Avoid aggregrate
Jeff Law [Sun, 3 Dec 1995 19:59:21 +0000 (19:59 +0000)]
    * ch-exp.c (parse_named_record_element): Avoid aggregrate
        initializations for automatic variables.

        * hppa-tdep.c (hppa_alignof): Fix typo in last change.

Fixes minor build problems.

28 years ago * symfile.c (global_psymbols, static_psymbols): Remove, unused.
Fred Fish [Sun, 3 Dec 1995 03:34:55 +0000 (03:34 +0000)]
* symfile.c (global_psymbols, static_psymbols):  Remove, unused.

28 years ago * alpha-tdep.c (heuristic_proc_desc): Add heuristic to
Peter Schauer [Sat, 2 Dec 1995 11:08:20 +0000 (11:08 +0000)]
* alpha-tdep.c (heuristic_proc_desc):  Add heuristic to
determine the return address register, needed for OSF/1-3.2C.
* config/alpha/tm-alpha.h (T7_REGNUM, T9_REGNUM):  Define.

28 years ago * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
Ian Lance Taylor [Sat, 2 Dec 1995 06:17:46 +0000 (06:17 +0000)]
* ld-srec/srec.exp: Don't use [] in setup_xfail expressions.

28 years ago * ihex.c: New file; support for Intel Hex format.
Ian Lance Taylor [Sat, 2 Dec 1995 02:00:08 +0000 (02:00 +0000)]
* ihex.c: New file; support for Intel Hex format.
* targets.c (enum bfd_flavour): Add bfd_target_ihex_flavour.
(ihex_vec): Declare.
(bfd_target_vector): Always include ihex_vec.
* bfd.c (struct _bfd): Add ihex_data field to tdata union.
* Makefile.in: Rebuild dependencies.
(BFD_LIBS): Add ihex.o
(BFD_LIBS_CFILES): Add ihex.c.
* bfd-in2.h: Rebuild.

28 years ago * srec.c (srec_scan): Set lma as well as vma.
Ian Lance Taylor [Sat, 2 Dec 1995 01:59:20 +0000 (01:59 +0000)]
* srec.c (srec_scan): Set lma as well as vma.

28 years agoFix typo; some progress in ppcbug support
Michael Meissner [Sat, 2 Dec 1995 01:14:06 +0000 (01:14 +0000)]
Fix typo; some progress in ppcbug support

28 years agoOoops. Fix to work with new scheme (where runtest invokes the compiler).
Per Bothner [Fri, 1 Dec 1995 22:50:47 +0000 (22:50 +0000)]
Ooops.  Fix to work with new scheme (where runtest invokes the compiler).

28 years ago * mpw-make.sed (install, install-only): Edit in Mac-specific
Stan Shebs [Fri, 1 Dec 1995 22:44:24 +0000 (22:44 +0000)]
* mpw-make.sed (install, install-only): Edit in Mac-specific
install procedure.

28 years ago * mpw-config.in: Don't always use te-generic.h for emulation.
Stan Shebs [Fri, 1 Dec 1995 22:40:56 +0000 (22:40 +0000)]
* mpw-config.in: Don't always use te-generic.h for emulation.
(powerpc-apple-macos): Use emulation te-macos.h.
start-sanitize-gm
(mips-gm-magic): New configuration.
end-sanitize-gm
* mpw-make.sed (install, install-only): Edit in Mac-specific
install procedure.

28 years ago * pr-8405.ch, pr-8405.exp, Makefile.in: New test case.
Per Bothner [Fri, 1 Dec 1995 22:17:42 +0000 (22:17 +0000)]
* pr-8405.ch, pr-8405.exp, Makefile.in:  New test case.

28 years ago * ldgram.y (PHDRS): New token.
Ian Lance Taylor [Fri, 1 Dec 1995 21:49:51 +0000 (21:49 +0000)]
* ldgram.y (PHDRS): New token.
(ifile_p1): Accept phdrs.
(section): Accept phdr_opt at the end of the section definition.
(phdr_op): New nonterminal.
(phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise.
* ldlex.l: Accept PHDRS.
* ldlang.h (struct lang_output_section_phdr_list): Define.
(lang_output_section_statement_type): Add phdrs field.
(struct lang_phdr): Define.
(LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define.
(lang_new_phdr): Declare.
* ldlang.c (lang_phdr_list): New static variable.
(lang_output_section_statement_lookup): Initialize phdrs field.
(lang_process): Call lang_record_phdrs.
(lang_new_phdr): New function.
(lang_section_in_phdr): New function.
(lang_record_phdrs): New static function.
* ld.texinfo: Document PHDRS.

28 years ago * bfd.c (bfd_record_phdr): New function.
Ian Lance Taylor [Fri, 1 Dec 1995 21:45:33 +0000 (21:45 +0000)]
* bfd.c (bfd_record_phdr): New function.
* bfd-in.h (bfd_record_phdr): Declare.
* bfd_in2.h: Rebuild.

28 years ago * elf.c (assign_file_positions_for_segments): Sort the sections in
Ian Lance Taylor [Fri, 1 Dec 1995 21:44:38 +0000 (21:44 +0000)]
* elf.c (assign_file_positions_for_segments): Sort the sections in
each segment.
(get_program_header_size): Return the right size if segment_map is
not NULL.
(copy_private_bfd_data): Don't bother to sort the sections.

28 years ago * elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus
Ian Lance Taylor [Fri, 1 Dec 1995 20:59:10 +0000 (20:59 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus
BFD_ASSERT.
PR 8562.

28 years ago * libbfd.c (bfd_malloc, bfd_realloc): New functions.
Ian Lance Taylor [Fri, 1 Dec 1995 19:48:10 +0000 (19:48 +0000)]
* libbfd.c (bfd_malloc, bfd_realloc): New functions.
(bfd_zmalloc): Return PTR, not char *.  Take size_t, not
bfd_size_type.
* libbfd-in.h (bfd_malloc, bfd_realloc): Declare.
(bfd_zmalloc): Change declaration.
* libbfd.h: Rebuild.
* Many files: Use bfd_malloc and bfd_realloc rather than malloc
and realloc.  Don't set bfd_error_no_memory if they fail.

28 years ago * configure.in: Improve message about unsupported ELF targets.
Ian Lance Taylor [Fri, 1 Dec 1995 19:38:40 +0000 (19:38 +0000)]
* configure.in: Improve message about unsupported ELF targets.
* configure: Rebuild.

28 years ago * tests1.exp, tests2.exp (test_print_reject): Remove; causes
Per Bothner [Fri, 1 Dec 1995 19:05:52 +0000 (19:05 +0000)]
* tests1.exp, tests2.exp (test_print_reject):  Remove;  causes
conflicts with later tests using test_print_reject in ../lib/gdb.exp.
(passcount):  Remove.
* tests2.exp (test_print_accept):  Removed.
(test_write):  Re-write to use gdb_test rather than test_print_accept.
* tests1.exp (test_print_accept_exact):  Removed.
(tests_locations):  Rewrite to use gdb_test and not above proc.

28 years ago * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
Ian Lance Taylor [Fri, 1 Dec 1995 18:15:18 +0000 (18:15 +0000)]
* ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.

28 years ago* gencode.c: Tidied instruction decoding, and added FP instruction
Jackie Smith Cashion [Fri, 1 Dec 1995 16:42:44 +0000 (16:42 +0000)]
* gencode.c: Tidied instruction decoding, and added FP instruction
support.
* interp.c: Added dineroIII, and BSD profiling support. Also
run-time FP handling.

At the moment the options are still mostly build-time controlled,
rather than run-time. Also work still needs to be done to remove (long
long) usage (However this is trivial, just time-consuming).

The out-standing instruction work to be done is in supporting round
and trunc for FP operations, and providing better exception support.

28 years ago * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
Ian Lance Taylor [Fri, 1 Dec 1995 15:56:25 +0000 (15:56 +0000)]
* config/tc-m88k.c (m88k_do_align): Correct check for whether fill
pattern is zero.  From Manfred Hollstein.

28 years agoFix subfc.,subfco,subco,subco. to be in the proper classifications
Michael Meissner [Fri, 1 Dec 1995 12:40:39 +0000 (12:40 +0000)]
Fix subfc.,subfco,subco,subco. to be in the proper classifications

28 years agofix typo
Michael Meissner [Fri, 1 Dec 1995 12:21:03 +0000 (12:21 +0000)]
fix typo

28 years ago * tests1.ch, tests1.exp, tests2.ch, tests2.exp, Makefile.in:
Per Bothner [Fri, 1 Dec 1995 08:17:13 +0000 (08:17 +0000)]
* tests1.ch, tests1.exp, tests2.ch, tests2.exp, Makefile.in:
New (extensive) test cases.
* chexp.exp:  Fix relations to return TRUE or FALSE.

28 years ago * language.c (lang_bool_type), language.h: New function.
Per Bothner [Fri, 1 Dec 1995 08:08:41 +0000 (08:08 +0000)]
* language.c (lang_bool_type), language.h:  New function.
* language.h (LA_BOOL_TYPE):  New macro.
* eval.c (evaluate_subexp_standard)  Use LA_BOOL_TYPE instead
of builtin_type_int where appropriate,
* valarith.c (value_subscript):  Likewise.

28 years ago * valops.c (value_slice): Implement (value) bitstring slices.
Per Bothner [Fri, 1 Dec 1995 08:06:45 +0000 (08:06 +0000)]
* valops.c (value_slice):  Implement (value) bitstring slices.
* valprint.c (val_print):  If TYPE_LENGTH is zero, don't automatically
print "<incomplete type>" - Chill has zero-length (string) types.

28 years ago * gdbtypes.c (check_stub_type): Removed; no longes needed.
Per Bothner [Fri, 1 Dec 1995 08:04:51 +0000 (08:04 +0000)]
* gdbtypes.c (check_stub_type):  Removed;  no longes needed.
* ch-exp.c (expect, parse_call):  Tweak error messages.

28 years agoPowerPC changes
Kim Knuttila [Fri, 1 Dec 1995 02:08:19 +0000 (02:08 +0000)]
PowerPC changes

28 years agoPowerPC DLL Support
Kim Knuttila [Fri, 1 Dec 1995 01:01:42 +0000 (01:01 +0000)]
PowerPC DLL Support

28 years ago* config/mt-v810 (CC_FOR_TARGET): Add -ansi flag. NEC compiler
J.T. Conklin [Thu, 30 Nov 1995 23:01:31 +0000 (23:01 +0000)]
* config/mt-v810 (CC_FOR_TARGET): Add -ansi flag.  NEC compiler
defaults to K&R mode, but doesn't have varargs.h, so we have to
compile in ANSI mode.

28 years ago * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
Ian Lance Taylor [Thu, 30 Nov 1995 22:15:13 +0000 (22:15 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
p_paddr if p_paddr is zero.
(make_mapping): Set includes_filehdr and includes_phdrs for first
PT_LOAD segment.
(map_sections_to_segments): Set includes_phdrs for PT_PHDR
segment.
(assign_file_positions_for_segments): Handle includes_filehdr and
includes_phdrs.  Remove special handling of PT_PHDR and first
PT_LOAD segments.
(copy_private_bfd_data): Set includes_filehdr and includes_phdr
when appropriate.  Remove special handling of PT_PHDR segment.
Use a more complex condition for when a section is included in a
segment to handle Solaris linker oddities.

28 years ago * config.guess: Recognize Pentium under SCO.
Per Bothner [Thu, 30 Nov 1995 22:00:52 +0000 (22:00 +0000)]
* config.guess:  Recognize Pentium under SCO.

28 years agoidata alignment in .s files
Kim Knuttila [Thu, 30 Nov 1995 18:47:11 +0000 (18:47 +0000)]
idata alignment in .s files

28 years agoExpose .edata section
Kim Knuttila [Thu, 30 Nov 1995 18:18:38 +0000 (18:18 +0000)]
Expose .edata section

28 years agoAdd a comment saying .junk sections are discarded by the linker.
David Edelsohn [Thu, 30 Nov 1995 17:15:12 +0000 (17:15 +0000)]
Add a comment saying .junk sections are discarded by the linker.

28 years agoThu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts...
Ian Lance Taylor [Thu, 30 Nov 1995 16:30:13 +0000 (16:30 +0000)]
Thu Nov 30 11:32:34 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>

* configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and
HOSTING_LIBS for testing.
(m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for
testing.

28 years agoThu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts...
Ian Lance Taylor [Thu, 30 Nov 1995 16:25:27 +0000 (16:25 +0000)]
Thu Nov 30 11:23:42 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>

* config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
add section's paddr to add_number; compatibility to native as and
ld forbids.

28 years agoThu Nov 30 11:17:33 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts...
Ian Lance Taylor [Thu, 30 Nov 1995 16:23:05 +0000 (16:23 +0000)]
Thu Nov 30 11:17:33 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>

* coff-m88k.c (howto_table): Reformatted for easier reading;
special_function now points to new function m88k_special_reloc.
(howto_hvrt16): Function previously used for handling HVRT16 relocs
removed.
(rtype2howto): Do not add reloc's r_offset to the addend, this will
be done correctly by m88k_special_reloc.
(reloc_processing): New function to be used by RELOC_PROCESSING.
(RELOC_PROCESSING): Define to call reloc_processing.

28 years agoLet autoconf determine if host is big endian or not
Michael Meissner [Thu, 30 Nov 1995 11:13:08 +0000 (11:13 +0000)]
Let autoconf determine if host is big endian or not

28 years agoconfigure.in: handle m68k-sysv4 correctly
Ken Raeburn [Thu, 30 Nov 1995 04:24:08 +0000 (04:24 +0000)]
configure.in: handle m68k-sysv4 correctly

28 years agoMove struct hash_entry from hash.h to hash.c.
Ken Raeburn [Thu, 30 Nov 1995 04:22:27 +0000 (04:22 +0000)]
Move struct hash_entry from hash.h to hash.c.

28 years ago(elf_frob_symbol): Don't free and clear sy_obj if it's already known to be null.
Ken Raeburn [Thu, 30 Nov 1995 04:19:13 +0000 (04:19 +0000)]
(elf_frob_symbol): Don't free and clear sy_obj if it's already known to be null.

28 years ago * Makefile.in: Add .exp.check rule.
Per Bothner [Thu, 30 Nov 1995 03:35:14 +0000 (03:35 +0000)]
* Makefile.in:  Add .exp.check rule.
* callch.ch:  Add missing "%." to format strings.
* callch.exp:  Fix argument to gdb_load.
* chexp.exp:  Add specific error messages to test_print_reject calls.
* misc.exp:  Add a test for PR 8496.
* pr-6632.exp, pr-8136.exp:  Link executables from two .o files.

28 years ago * ch-exp.y: Replaced by ...
Per Bothner [Thu, 30 Nov 1995 03:26:34 +0000 (03:26 +0000)]
* ch-exp.y:  Replaced by ...
* ch-exp.c:  New file.  Use recursive-descent.
Recognize labelled array tuples and powerset ranges.
* Makefile.in:  Update for no longer using yacc for ch-exp.

* c-lang.c:  Make various functions non-static.
* c-lang.h:  Add bunches of prototypes.
* cp-valprint.c (cp_print_value_fields):  Also take address.
(cp_print_value):  Likewise.  Use baselcass_offset.
* stabsread.c (current_symbol):  New static variable.
(type_synonym_name):  Remove.
(read_type):  If copying, make copy be a TYPE_CODE_TYPEDEF.
(read_array_type):  Don't need to handle undefined element type here.
(cleanup_undefined_types):  Ditto.
(read_range_type):  Look for Chill ranges.
* valops.c (value_assign):  Fix case lval_internalvar - don't try
to assign into old value (which might be too small!).
(value_coerce_array):  No longer need special VALUE_REPEATED handling.
(value_arg_coerce):  Cleaner array->pointer decay mechanism.
(search_struct_field):  Use baseclass_offset rather than
baseclass_addr.
(value_slice):  Use get_discrete_bounds.
* value.h (COERCE_VARYING_ARRAY):  Take type argumnt as well.
* values.c (baseclass_offset):  Change parameter interface.
(baseclass_addr):  Removed.
* c-typeprint.c, c-valprint.c, ch-valprint.c, values.c, valops.c:
Add check_typedef/CHECK_TYPEDEF as needed.