external/binutils.git
31 years ago * symtab.c (decode_line_1): Add comment about use of
Jim Kingdon [Fri, 19 Nov 1993 21:16:16 +0000 (21:16 +0000)]
* symtab.c (decode_line_1): Add comment about use of
return_to_top_level directly instead of error.  Add comment saying
that the '' should not be needed--that the completer should be fixed.

31 years ago binutils.texi: minor fix for nlmconv chapter
Jeffrey Osier [Fri, 19 Nov 1993 21:12:49 +0000 (21:12 +0000)]
binutils.texi:  minor fix for nlmconv chapter

31 years ago * TODO: New file, describing tests we could write.
Jim Kingdon [Fri, 19 Nov 1993 20:24:02 +0000 (20:24 +0000)]
* TODO: New file, describing tests we could write.
* gdb.t09/corefile.exp: Move description of tests to write to TODO.

31 years ago * TODO: New file, describing tests we could write.
Jim Kingdon [Fri, 19 Nov 1993 20:22:34 +0000 (20:22 +0000)]
* TODO: New file, describing tests we could write.
* gdb.t06/corefile.exp: Move description of tests to write to TODO.

31 years agosparc-coff related changes
Ken Raeburn [Fri, 19 Nov 1993 20:04:07 +0000 (20:04 +0000)]
sparc-coff related changes

31 years ago * coff-a29k.c (a29k_reloc): For R_IREL, don't left shift
Ian Lance Taylor [Fri, 19 Nov 1993 19:51:52 +0000 (19:51 +0000)]
* coff-a29k.c (a29k_reloc): For R_IREL, don't left shift
signed_value before sign extending it.  Don't subtract out
reloc_entry->address.  This makes it compatible with what gas is
generating.

Fixes PR 3790.

31 years ago * elfcode.h (elf_fake_sections): Accept .sbss as the name for a
Ian Lance Taylor [Fri, 19 Nov 1993 19:41:49 +0000 (19:41 +0000)]
* elfcode.h (elf_fake_sections): Accept .sbss as the name for a
SHT_NOBITS sections.
(map_program_segments): Don't leave the loop after the first
SHT_NOBITS section.
(assign_file_positions_except_relocs): Only force sh_offset and
sh_addr to match modulo maxpagesize for a section which is not
SHT_NOBITS.  Changed the method used to force page alignment after
a SHT_NOBITS section to only do it for the last such consecutive
section, and to really force page alignment.

31 years ago * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.
Ian Lance Taylor [Fri, 19 Nov 1993 19:31:51 +0000 (19:31 +0000)]
* configure.in (mips*-sgi-irix5*): New target.  Use mipsb-elf32.
* emulparams/elf32mipsb.sh (DATA_ADDR): Define.
(OTHER_READONLY_SECTIONS): Define for .reginfo.
(EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK.
* scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating.
Move OTHER_READONLY_SECTIONS after all the other readonly
sections.  Don't use DATA_ADDR twice.

31 years ago * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If
Ian Lance Taylor [Fri, 19 Nov 1993 19:29:49 +0000 (19:29 +0000)]
* ldmain.c (enter_file_symbols): Removed duplicate tests of p.  If
p is in a common section, make sure the BFD has a section of that
name.

31 years ago* coffcode.h (coff_slurp_symbol_table): Print more verbose message
Ken Raeburn [Fri, 19 Nov 1993 19:17:14 +0000 (19:17 +0000)]
* coffcode.h (coff_slurp_symbol_table): Print more verbose message
in the case of an unknown (or unhandled) storage class.

31 years agoModified Files:
Kung Hsu [Fri, 19 Nov 1993 19:13:41 +0000 (19:13 +0000)]
Modified Files:
ChangeLog symtab.c

        * symtab.c(decode_line_1): fix the inconsistency of setting
        breakpoint with '' or without them. The '' is needed when you
        want name completion.

31 years agoNew file, for known lacks in testsuite
Jim Kingdon [Fri, 19 Nov 1993 17:20:18 +0000 (17:20 +0000)]
New file, for known lacks in testsuite

31 years agorecent coff/lynx changes
Ken Raeburn [Fri, 19 Nov 1993 17:00:07 +0000 (17:00 +0000)]
recent coff/lynx changes

31 years ago(coff_bfd_reloc_type_lookup): Don't define if already defined.
Ken Raeburn [Fri, 19 Nov 1993 16:30:08 +0000 (16:30 +0000)]
(coff_bfd_reloc_type_lookup): Don't define if already defined.
(coff_slurp_line_table): Reformatted.

31 years agosparc.h (RELSZ): Use correct value.
Ken Raeburn [Fri, 19 Nov 1993 16:23:37 +0000 (16:23 +0000)]
sparc.h (RELSZ): Use correct value.

31 years agoGet ECOFF gas to work again after this morning's checkins.
Ian Lance Taylor [Thu, 18 Nov 1993 21:00:19 +0000 (21:00 +0000)]
Get ECOFF gas to work again after this morning's checkins.

31 years agoVarious entries.
Ian Lance Taylor [Thu, 18 Nov 1993 19:10:20 +0000 (19:10 +0000)]
Various entries.

31 years ago * config/tc-mips.c: Check ECOFF_DEBUGGING rather than
Ian Lance Taylor [Thu, 18 Nov 1993 18:56:31 +0000 (18:56 +0000)]
* config/tc-mips.c: Check ECOFF_DEBUGGING rather than
OBJ_ECOFF in many cases.
(mips_any_noreorder): New variable.
(mips_cprestore_offset): Initialize to -1.
(mips_frame_reg): New variable.
(RELAX_ENCODE, RELAX_OLD, RELAX_NEW, RELAX_RELOC1,
RELAX_RELOC2, RELAX_RELOC3, RELAX_WARN): New macros.
(md_pseudo_table): Handle "gpword" and "cpadd".
(md_begin): Initialize ok to false.  If OBJ_ELF, set alignment
of text, data and bss sections to 4.  Set alignment of
.reginfo section to 2.  If ECOFF_DEBUGGING, create .mdebug
section.
(ALIGN_ERR, ALIGN_ERR2): Removed unused and useless alignment
check.
(append_insn, macro_build, macro_build_lui): Take place
argument.  Changed all callers.
(append_insn): If appending a nop, don't emit one.
(macro_build): Changed assertion for 'i', 'j', 'o' case.
(gp_reference): Removed.
(load_address): New function.
(macro): If mips_noreorder is used, set mips_any_noreorder.
Extensive changes to handle GP and PIC symbols differently.
Build both possible code choices using a variant frag, and
make a final decision at the end of assembly when all
information is known.  Added PIC support for all symbol
references.
(mips_ip): Don't permit anything but a number after $ for a
coprocessor register.  Don't use .lit4 or .lit8 sections when
generating PIC code.  If OBJ_ELF, set alignment of .lit4 or
.lit8 section to 4.
(md_apply_fix): Accept and ignore GOT16 and GPREL32 relocs.
(s_change_sec): Set alignment of ELF .rodata or .sdata section
to 4.
(s_mipsset): If .set noreorder, set mips_any_noreorder.
(s_cpload): Ignore .cpload if not generating PIC code.  Warn
if .cpload is not in noreorder section.
(s_cprestore): Ignore .cprestore if not generating PIC code.
(s_gpword, s_cpadd): New functions.
(tc_get_register): Added frame argument; if true, set
mips_frame_reg to return value.  Changed all callers.
(md_estimate_size_before_relax): Don't error out, but instead
determine how much a frag should grow.
(tc_gen_reloc): Return multiple relocs if appropriate, as
determined by md_estimate_size_before_relax.
(md_convert_frag): New function.
(mips_elf_final_processing): Set ELF header flags based on
mips_any_noreorder and mips_pic.
* config/tc-mips.h (RELOC_EXPANSION_POSSIBLE): Define.
(MAX_RELOC_EXPANSION): Define to be 3.
(md_relax_frag): Define to be 0.
(md_convert_frag): Don't define.
(tc_get_register): Changed declaration.

31 years agoModified Files:
Kung Hsu [Thu, 18 Nov 1993 18:54:11 +0000 (18:54 +0000)]
Modified Files:
  ChangeLog valops.c

        * valops.c(search_struct_method): to use unified search so type
conversion operator works in calling method. (this file should be
checked in with last commit, I missed it).

31 years agoVarious entries.
Ian Lance Taylor [Thu, 18 Nov 1993 17:24:53 +0000 (17:24 +0000)]
Various entries.

31 years ago * elfcode.h (bfd_section_from_shdr): Don't dump core if target
Ian Lance Taylor [Thu, 18 Nov 1993 17:12:47 +0000 (17:12 +0000)]
* elfcode.h (bfd_section_from_shdr): Don't dump core if target
section has no ELF section data.
(elf_make_sections): Set addralign of reloc section to 4.
(elf_fake_sections): Likewise.
(map_program_segments): Don't consider section 0.
(assign_file_positions_except_relocs): Don't consider section 0.
In the main loop, skip the symtab and strtab sections, since their
positions are set elsewhere.
(swap_out_syms): Set addralign of symtab section to 4.  Set
addralign of strtab sections to 1.
(assign_file_positions_for_relocs): Don't consider section 0.
(write_object_contents): Don't write out section 0.
(sym_is_global): Take abfd argument.  Call
elf_backend_sym_is_global if it is not NULL.
(elf_map_symbols): Pass abfd to sym_is_global.
(write_object_contents): Call elf_backend_final_write_processing
if it is defined.

31 years ago * libelf.h (struct elf_backend_data): Added fields
Ian Lance Taylor [Thu, 18 Nov 1993 17:10:42 +0000 (17:10 +0000)]
* libelf.h (struct elf_backend_data): Added fields
elf_backend_sym_is_global and elf_backend_final_write_processing.
* elf32-target.h (elf32_bed): Added corresponding initializers.
* elf64-target.h (elf64_bed): Likewise.

31 years agoFix for PR 3978:
Fred Fish [Thu, 18 Nov 1993 16:34:43 +0000 (16:34 +0000)]
Fix for PR 3978:

* valprint.c (val_print_string):  When looking for a null
terminator compare current bufsize to fetchlimit to determine
when to stop, instead of computing buffer+fetchlimit which
may overflow for very large limits (like "unlimited").

31 years agoModified Files:
Kung Hsu [Thu, 18 Nov 1993 02:30:33 +0000 (02:30 +0000)]
Modified Files:
ChangeLog eval.c valarith.c

        * eval.c(evaluate_subexp): to use unified search so type conversion
        operator works in calling method.
        * valarith.c(value_x_binop, value_x_unop): same as above.

31 years ago * libecoff.h: Include coff/ecoff.h.
Ian Lance Taylor [Thu, 18 Nov 1993 00:07:33 +0000 (00:07 +0000)]
* libecoff.h: Include coff/ecoff.h.
(struct ecoff_backend_data): Move external debugging information
fields into a single field pointing to an ecoff_debug_swap
structure.
(ecoff_data_type): Move debugging information fields into a single
field pointing to an ecoff_debug_info structure.
* coff-alpha.c, coff-mips.c, ecoff.c: Corresponding changes.

31 years ago * mipsread.c: Change use of ECOFF information to correspond to
Ian Lance Taylor [Wed, 17 Nov 1993 23:58:46 +0000 (23:58 +0000)]
* mipsread.c: Change use of ECOFF information to correspond to
changes in bfd/libecoff.h.
(mipscoff_symfile_offsets): Made static.

31 years ago * configure.in (mips-*-irix5*): New target. Use elf and mips-big.
Ian Lance Taylor [Wed, 17 Nov 1993 23:26:43 +0000 (23:26 +0000)]
* configure.in (mips-*-irix5*): New target.  Use elf and mips-big.

31 years ago * Makefile.in (REAL_SOURCES): Added ecoff.c.
Ian Lance Taylor [Wed, 17 Nov 1993 23:25:35 +0000 (23:25 +0000)]
* Makefile.in (REAL_SOURCES): Added ecoff.c.
(REAL_HEADERS): Added ecoff.h.
(OBJS): Added ecoff.o.
(ecoff.o): New target.

31 years agoWed Nov 17 13:56:10 1993 Stan Shebs (shebs@rtl.cygnus.com)
Stan Shebs [Wed, 17 Nov 1993 23:25:23 +0000 (23:25 +0000)]
Wed Nov 17 13:56:10 1993  Stan Shebs  (shebs@rtl.cygnus.com)

* i386lynx.c (swap_std_reloc_in, swap_ext_reloc_in): Ignore
garbage bits appearing in the upper end of symbolnums.

* config/sparc-lynx.mt (TDEFINES): Add -DFPRINTF_ALREADY_DECLARED.

31 years agoNew files for ECOFF debugging split out of config/obj-ecoff.c.
Ian Lance Taylor [Wed, 17 Nov 1993 23:23:39 +0000 (23:23 +0000)]
New files for ECOFF debugging split out of config/obj-ecoff.c.

31 years ago * write.c (is_dnrange): Do not define if md_relax_frag is defined.
Ian Lance Taylor [Wed, 17 Nov 1993 23:06:12 +0000 (23:06 +0000)]
* write.c (is_dnrange): Do not define if md_relax_frag is defined.
(relax_segment): If md_relax_frag is defined, use it to handle a
frag of type rs_machine_dependent rather than looking through
md_relax_table.

* write.c (relax_and_size_seg): Don't set SEC_HAS_CONTENTS for a
bss section.  Set SEC_RELOC if there are any relocations, even for
a zero size section.

* write.c (write_relocs): In RELOC_EXPANSION_POSSIBLE case, based
data offset on reloc[0]->address rather than reloc[j]->address, so
that multiple relocs can affect different memory locations.

* write.c (chain_frchains_together, relax_and_size_seg,
adjust_reloc_syms, write_relocs): Make third argument PTR, not
char *, to match definition of bfd_map_over_sections.

31 years ago * read.c (read_a_source_file): If we find a bad pseudo-op,
Ian Lance Taylor [Wed, 17 Nov 1993 23:03:42 +0000 (23:03 +0000)]
* read.c (read_a_source_file): If we find a bad pseudo-op,
do a continue to go on to the next line rather than a break.
Removed duplicate bad pseudo-op code which was never executed.

* read.c (s_lcomm): Do not require a comma after the name.

* read.c (s_lcomm): Set bss flag for .sbss section if used.

31 years ago * nlmconv.1: new man page
Jeffrey Osier [Wed, 17 Nov 1993 22:51:16 +0000 (22:51 +0000)]
* nlmconv.1:  new man page
* objcopy.1:  fixed format errors

31 years ago * mips.h: (M_J_A): Added.
Ian Lance Taylor [Wed, 17 Nov 1993 22:22:07 +0000 (22:22 +0000)]
* mips.h: (M_J_A): Added.
(M_LA): Removed.

31 years agoUse sun4sol2 for a target of sparc-netware.
Sean Eric Fagan [Wed, 17 Nov 1993 22:20:44 +0000 (22:20 +0000)]
Use sun4sol2 for a target of sparc-netware.

31 years ago * mips.h (struct ecoff_debug_info): Define.
Ian Lance Taylor [Wed, 17 Nov 1993 22:19:49 +0000 (22:19 +0000)]
* mips.h (struct ecoff_debug_info): Define.

31 years agoNeed to declare nlm32_sparc_vec; oopsie.
Sean Eric Fagan [Wed, 17 Nov 1993 20:31:32 +0000 (20:31 +0000)]
Need to declare nlm32_sparc_vec; oopsie.

31 years agoNew files and changed files for NetWare/SPARC.
Sean Eric Fagan [Wed, 17 Nov 1993 19:56:30 +0000 (19:56 +0000)]
New files and changed files for NetWare/SPARC.

31 years agoDon't want the new files to disappear unexpectedly!
Sean Eric Fagan [Wed, 17 Nov 1993 19:54:51 +0000 (19:54 +0000)]
Don't want the new files to disappear unexpectedly!

31 years agoTwo more files in BFD updated for NetWARE/SPARC.
Sean Eric Fagan [Wed, 17 Nov 1993 19:54:02 +0000 (19:54 +0000)]
Two more files in BFD updated for NetWARE/SPARC.

31 years agoNetWare/SPARC changes; required changes to the interface as well as
Sean Eric Fagan [Wed, 17 Nov 1993 19:52:09 +0000 (19:52 +0000)]
NetWare/SPARC changes; required changes to the interface as well as
adding files.

31 years agoModified Files:
Kung Hsu [Wed, 17 Nov 1993 18:07:58 +0000 (18:07 +0000)]
Modified Files:
ChangeLog eval.c valops.c

        * valops.c (typecmp): improve prototype matching when calling
        a method. Make 'p (*(ostream *) &cout) << "lll" ' to work.
        * eval.c(evalute_subexp): fix operator search problem when call
        like  p x.'operator+'(i).

31 years agoPlease CVS, let me kill this file!
Stu Grossman [Wed, 17 Nov 1993 17:40:24 +0000 (17:40 +0000)]
Please CVS, let me kill this file!

31 years agoPlease CVS, let me kill these files...
Stu Grossman [Wed, 17 Nov 1993 17:39:00 +0000 (17:39 +0000)]
Please CVS, let me kill these files...

31 years ago * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
Ian Lance Taylor [Wed, 17 Nov 1993 17:05:33 +0000 (17:05 +0000)]
* Makefile.in: Use CFLAGS as well as LDFLAGS when linking.

31 years agofix typo
David MacKenzie [Wed, 17 Nov 1993 12:52:07 +0000 (12:52 +0000)]
fix typo

31 years ago * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
Stu Grossman [Wed, 17 Nov 1993 07:56:28 +0000 (07:56 +0000)]
* i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c:  Remove.  Move
common code into lynx-nat.c.
* lynx-nat.c:  New module.  Contains portable code for Lynx native
stuff (mostly ptrace related).
* config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
* config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o

* config/nm-lynx.h, config/tm-lynx.h:  New files to contain
non-architecture specific native and target defs.
* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
(arch) portable stuff into ../{tm nm}-lynx.h.

31 years ago * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
Stu Grossman [Wed, 17 Nov 1993 07:17:45 +0000 (07:17 +0000)]
* i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c:  Remove.  Move
common code into lynx-nat.c.
* lynx-nat.c:  New module.  Contains portable code for Lynx native
stuff (mostly ptrace related).
* config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
* config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o

* config/nm-lynx.h, config/tm-lynx.h:  New files to contain
non-architecture specific native and target defs.
* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
(arch) portable stuff into ../{tm nm}-lynx.h.

31 years ago* mh-a68bsd: Define CC to gcc.
Jim Kingdon [Wed, 17 Nov 1993 04:57:03 +0000 (04:57 +0000)]
* mh-a68bsd: Define CC to gcc.

31 years ago * config/tc-hppa.c (pa_ip): Fix thinko in 21bit range check.
Jeff Law [Wed, 17 Nov 1993 04:40:15 +0000 (04:40 +0000)]
    * config/tc-hppa.c (pa_ip): Fix thinko in 21bit range check.

31 years ago * COPYING.LIB: New file (standard version 2 LGPL, as already cited
Jim Kingdon [Wed, 17 Nov 1993 04:35:46 +0000 (04:35 +0000)]
* COPYING.LIB: New file (standard version 2 LGPL, as already cited
by the source files).

31 years ago * symtab.c (gdb_mangle_name): Only assume that the physname is
Jim Kingdon [Wed, 17 Nov 1993 04:24:34 +0000 (04:24 +0000)]
* symtab.c (gdb_mangle_name): Only assume that the physname is
the entire mangled name if it looks like the mangled name of a
constructor.  Needed for testsuite to work with GCC 2.4.5.

31 years ago* gdb.t06/signals.exp: Add kludge to force re-sync.
Jim Kingdon [Wed, 17 Nov 1993 03:59:25 +0000 (03:59 +0000)]
* gdb.t06/signals.exp: Add kludge to force re-sync.

31 years ago * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
Jim Kingdon [Wed, 17 Nov 1993 03:11:30 +0000 (03:11 +0000)]
* gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
to xgdb instead of gdb, get out of gdb.

31 years ago * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
Stu Grossman [Wed, 17 Nov 1993 01:38:11 +0000 (01:38 +0000)]
* i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c:  Remove.  Move
common code into lynx-nat.c.
* lynx-nat.c:  New module.  Contains portable code for Lynx native
stuff (mostly ptrace related).
* config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
* config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o

* config/nm-lynx.h, config/tm-lynx.h:  New files to contain
non-architecture specific native and target defs.
* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
(arch) portable stuff into ../{tm nm}-lynx.h.

31 years ago * lynx-core.c (lynx_core_file_p): Change bfd_zalloc to bfd_alloc.
Stu Grossman [Wed, 17 Nov 1993 01:11:30 +0000 (01:11 +0000)]
* lynx-core.c (lynx_core_file_p):  Change bfd_zalloc to bfd_alloc.
* m68klynx.c:  Define core file macros.
* hosts/i386lynx.h, hosts/m68klynx.h, hosts/lynx.h:  Move all
non-architecture specific stuff into lynx.h.

31 years ago * i386linux.c: Define new macro ZMAGIC_DISK_BLOCK_SIZE to 1024, and
Jim Kingdon [Tue, 16 Nov 1993 23:07:40 +0000 (23:07 +0000)]
* i386linux.c: Define new macro ZMAGIC_DISK_BLOCK_SIZE to 1024, and
change PAGE_SIZE to 4096.

31 years agodon't build ld on i386-sysv4 platforms
David D. Zuhn [Tue, 16 Nov 1993 23:06:48 +0000 (23:06 +0000)]
don't build ld on i386-sysv4 platforms

31 years ago * config.guess: Recognize Apollos (using environment variables).
Jim Kingdon [Tue, 16 Nov 1993 20:43:36 +0000 (20:43 +0000)]
* config.guess: Recognize Apollos (using environment variables).
* configure.in: Don't configure ld, binutils, or gprof for Apollo.

31 years ago * a68v-nat.c: Replace with new version from Troy Rollo. The
Jim Kingdon [Tue, 16 Nov 1993 20:29:03 +0000 (20:29 +0000)]
* a68v-nat.c: Replace with new version from Troy Rollo.  The
version I am replacing appears to be an old copy of sun3-nat.c.
* dstread.c (dst_symfile_read): Replace sort_all_symtab_syms call
with loop.

31 years ago * Makefile.in (TAGS): Depend on TAGFILES_{NO,WITH}_SRCDIR.
Jim Kingdon [Tue, 16 Nov 1993 19:51:59 +0000 (19:51 +0000)]
* Makefile.in (TAGS): Depend on TAGFILES_{NO,WITH}_SRCDIR.

* Makefile.in: (HFILES,TAGFILES): Split into _WITH_SRCDIR and
_NO_SRCDIR versions.
(TAGS): Only add srcdir to TAGFILES_NO_SRCDIR.
(This is part of a long saga involving me putting srcdir on
everything (perhaps for now-obsolete reasons, I forget), Rich
removing the srcdir from everything, Stu putting it back some
places for Sun make, and me just now getting around to fixing
`make TAGS' again).

31 years agoAdd ChangeLog entry for change by Rob
Jim Kingdon [Tue, 16 Nov 1993 16:27:54 +0000 (16:27 +0000)]
Add ChangeLog entry for change by Rob

31 years agoCorrect typos in sac ChangeLog entry
Jim Kingdon [Tue, 16 Nov 1993 16:25:21 +0000 (16:25 +0000)]
Correct typos in sac ChangeLog entry

31 years agoModified Files:
Kung Hsu [Tue, 16 Nov 1993 02:58:42 +0000 (02:58 +0000)]
Modified Files:
ChangeLog stack.c

        * stack.c(print_frame_info): print demangled function name
        ansi style.

31 years agoHow many times do I have to do this...
Steve Chamberlain [Mon, 15 Nov 1993 23:49:21 +0000 (23:49 +0000)]
How many times do I have to do this...

31 years agoUse remote-e7000.c
Steve Chamberlain [Mon, 15 Nov 1993 23:29:56 +0000 (23:29 +0000)]
Use remote-e7000.c

31 years ago * config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
Jim Kingdon [Mon, 15 Nov 1993 23:29:10 +0000 (23:29 +0000)]
* config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
REGEX.
* config/i386/xm-linux.h: Don't include xm-i386v.h.  Define
HOST_BYTE_ORDER ourselves.  Define HAVE_TERMIOS not HAVE_TERMIO.
Define NEED_POSIX_SETPGID.  Include unistd.h.

31 years ago * remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
Steve Chamberlain [Mon, 15 Nov 1993 23:26:56 +0000 (23:26 +0000)]
* remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
* remote-utils.c, remote-utils.h (gr_load_image): New function to
download to target.
* h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c
(sim_load): delete.
* remote-sim.c (sim_load): Use gr_load_image.
* config/sh/sh.mt: Add remote-e7000

31 years agoInitial revision
Steve Chamberlain [Mon, 15 Nov 1993 23:25:03 +0000 (23:25 +0000)]
Initial revision

31 years agoWhy does cvs keep core dumping?
Steve Chamberlain [Mon, 15 Nov 1993 23:22:31 +0000 (23:22 +0000)]
Why does cvs keep core dumping?

31 years ago * remote-utils.c, remote-utils.h (gr_load_image): New function to
Steve Chamberlain [Mon, 15 Nov 1993 23:21:29 +0000 (23:21 +0000)]
* remote-utils.c, remote-utils.h (gr_load_image): New function to
download to target.

31 years ago* mh-linux: Don't put -static in LDFLAGS. Add comments.
Jim Kingdon [Mon, 15 Nov 1993 23:01:36 +0000 (23:01 +0000)]
* mh-linux: Don't put -static in LDFLAGS.  Add comments.

31 years agousr cr instead of cq in AR_FLAGS
David D. Zuhn [Mon, 15 Nov 1993 21:44:18 +0000 (21:44 +0000)]
usr cr instead of cq in AR_FLAGS

31 years agoModified Files:
Kung Hsu [Mon, 15 Nov 1993 20:40:03 +0000 (20:40 +0000)]
Modified Files:
  ChangeLog symtab.c

        * symtab.c(gdb_mangle_name): fix the problem with constructor
        name mangling.

31 years ago * gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
Jim Kingdon [Mon, 15 Nov 1993 20:13:30 +0000 (20:13 +0000)]
* gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
* gdbtypes.c (check_stub_type): On TYPE_FLAG_TARGET_STUB, do
what cleanup_undefined_types does for arrays, except we clear
TYPE_FLAG_TARGET_STUB if we fix up the type.
* stabsread.c (cleanup_undefined_types): Add comments about how
doing arrays here is no longer the clean way to do it.
(read_array_type): Set TYPE_FLAG_TARGET_STUB as well as calling
add_undefined_type.
* c-typeprint.c, ch-typeprint.c: Move call to check_stub_type
outside switch so it happens for all type codes.
* cp-valprint.c (cp_print_value_fields): Recurse to val_print,
instead of c_val_print, so that check_stub_type gets called.

* gdbtypes.h, gdbtypes.c, m2-lang.c, ch-lang.c, c-lang.c: Remove
TYPE_FLAG_SIGNED.  It was inconsistently set, never checked
(except in recursive_dump_type), and is pointless.

31 years ago* Makefile.in (diststuff): New target.
Ken Raeburn [Mon, 15 Nov 1993 20:10:49 +0000 (20:10 +0000)]
* Makefile.in (diststuff): New target.
* VERSION: Updated.

31 years ago * som.c (som_object_setup): Do not create dummy ".text", ".data",
Jeff Law [Mon, 15 Nov 1993 08:43:36 +0000 (08:43 +0000)]
* som.c (som_object_setup): Do not create dummy ".text", ".data",
and ".bss" sections.
(setup_sections): Do not set SEC_HAS_CONTENTS if a section's size
is zero.  Recognize BSS type sections and turn off SEC_LOAD and
SEC_DATA (so binutils/size works).  Set the correct value for
a section's _raw_size.
(som_slurp_symbol_table): Program entry points, and millicode are
also functions.  Mark them as such.  Also mark L$* symbols as
debugging symbols.

31 years ago * paread.c (pa_symfile_init): Look for the $TEXT$ section rather
Jeff Law [Mon, 15 Nov 1993 08:42:01 +0000 (08:42 +0000)]
* paread.c (pa_symfile_init): Look for the $TEXT$ section rather
than the .text section.

31 years ago * bfd-in2.h: Rebuilt.
Jeff Law [Mon, 15 Nov 1993 07:34:01 +0000 (07:34 +0000)]
    * bfd-in2.h: Rebuilt.

31 years ago * stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle
Jim Kingdon [Mon, 15 Nov 1993 05:36:36 +0000 (05:36 +0000)]
* stabsread.c: Remove #if 0'd dbx_class_complaint.  We now handle
this (more or less) gracefully, and complain() was never a good
way of dealing with this.

31 years ago * objdump.c (dump_stabs): Handle stabs-in-som as implemented
Jeff Law [Sun, 14 Nov 1993 08:29:27 +0000 (08:29 +0000)]
* objdump.c (dump_stabs): Handle stabs-in-som as implemented
by the new BFD SOM assembler.

31 years ago * gdb.stabs/hppa.mt: A makefile fragment for the PA.
Jeff Law [Sun, 14 Nov 1993 07:20:53 +0000 (07:20 +0000)]
* gdb.stabs/hppa.mt: A makefile fragment for the PA.
* gdb.stabs/configure.in (hppa*-*-*): Use it.
* gdb.stabs/hppa.sed: New sed script for the PA.

31 years ago * gdb.stabs: Re-write weird.def and configuration to use sed
Jim Kingdon [Sun, 14 Nov 1993 06:50:42 +0000 (06:50 +0000)]
* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.

31 years ago * stabsread.c (read_type): Skip the colon when reading a
Jim Kingdon [Sun, 14 Nov 1993 06:40:47 +0000 (06:40 +0000)]
* stabsread.c (read_type): Skip the colon when reading a
cross-reference.  Only complain, not error_type, on unrecognized
cross-reference types.  error_type, not dump core, if the colon is
missing.

31 years ago * stabs.texinfo (Nested Symbols): New node.
Jim Kingdon [Sun, 14 Nov 1993 06:33:55 +0000 (06:33 +0000)]
* stabs.texinfo (Nested Symbols): New node.
(String Field, Symbol Descriptors, Cross-References): Refer to it.

31 years ago * gdb.stabs: Re-write weird.def and configuration to use sed
Jim Kingdon [Sun, 14 Nov 1993 05:57:47 +0000 (05:57 +0000)]
* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.

31 years ago * gdb.stabs: Re-write weird.def and configuration to use sed
Jim Kingdon [Sun, 14 Nov 1993 05:35:22 +0000 (05:35 +0000)]
* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.

31 years ago * som.c (som_bfd_reloc_type_lookup): Add missing prototype. Returns
Jeff Law [Sun, 14 Nov 1993 01:32:09 +0000 (01:32 +0000)]
    * som.c (som_bfd_reloc_type_lookup): Add missing prototype.  Returns
        a pointer to constant data.  Delete bogus #define which made the
        function useless.

31 years ago * som.c (som_begin_writing): New function.
Jeff Law [Sun, 14 Nov 1993 00:56:58 +0000 (00:56 +0000)]
* som.c (som_begin_writing): New function.

31 years ago * som.c (som_write_space_strings): New function.
Jeff Law [Sun, 14 Nov 1993 00:33:00 +0000 (00:33 +0000)]
* som.c (som_write_space_strings): New function.
(som_write_symbol_strings): New function.

31 years ago * som.c (som_write_fixups): New function.
Jeff Law [Sun, 14 Nov 1993 00:00:05 +0000 (00:00 +0000)]
* som.c (som_write_fixups): New function.

31 years ago * som.c (som_prep_for_fixups): New function.
Jeff Law [Sat, 13 Nov 1993 23:28:34 +0000 (23:28 +0000)]
    * som.c (som_prep_for_fixups): New function.

31 years agofix NAME hyphen
David MacKenzie [Sat, 13 Nov 1993 15:16:23 +0000 (15:16 +0000)]
fix NAME hyphen

31 years ago * som.c (som_write_object_contents): Do not abort. Flesh out.
Jeff Law [Sat, 13 Nov 1993 08:57:07 +0000 (08:57 +0000)]
    * som.c (som_write_object_contents): Do not abort.  Flesh out.
        (som_set_section_contents): Do not abort.  Flesh out.

31 years ago * som.c (som_build_and_write_symbol_table): New function.
Jeff Law [Sat, 13 Nov 1993 08:37:14 +0000 (08:37 +0000)]
* som.c (som_build_and_write_symbol_table): New function.

31 years ago * som.c (som_write_headers): New function.
Jeff Law [Sat, 13 Nov 1993 08:02:43 +0000 (08:02 +0000)]
    * som.c (som_write_headers): New function.

31 years ago * som.c (som_reloc_call): New function.
Jeff Law [Sat, 13 Nov 1993 07:22:06 +0000 (07:22 +0000)]
* som.c (som_reloc_call): New function.

31 years ago * som.c (som_sizeof_headers): Add missing prototype.
Jeff Law [Sat, 13 Nov 1993 06:52:07 +0000 (06:52 +0000)]
    * som.c (som_sizeof_headers): Add missing prototype.
        (som_set_arch_mach): Do not abort.

31 years ago * som.c (som_prep_headers): New function.
Jeff Law [Sat, 13 Nov 1993 06:44:29 +0000 (06:44 +0000)]
* som.c (som_prep_headers): New function.

31 years ago * config/tc-hppa.[ch]: Fix assorted trivial indention problems.
Jeff Law [Sat, 13 Nov 1993 01:08:50 +0000 (01:08 +0000)]
    * config/tc-hppa.[ch]: Fix assorted trivial indention problems.