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

30 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.

30 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").

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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

30 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.

30 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.

30 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.

30 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.

30 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.

30 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!

30 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.

30 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.

30 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).

30 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!

30 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...

30 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.

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

30 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.

30 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.

30 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.

30 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.

30 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).

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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

30 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.

30 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.

30 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).

30 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

30 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

30 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.

30 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...

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

30 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.

30 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

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

30 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?

30 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.

30 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.

30 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

30 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.

30 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.

30 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.

30 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.

30 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.

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

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

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

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 years ago * config/obj-som.c (obj_som_version): Add missing ';'.
Jeff Law [Sat, 13 Nov 1993 00:54:15 +0000 (00:54 +0000)]
    * config/obj-som.c (obj_som_version): Add missing ';'.
        (som_frob_file): Delete whitespace at EOL.

30 years ago * som.c (som_count_spaces): New function.
Jeff Law [Sat, 13 Nov 1993 00:39:20 +0000 (00:39 +0000)]
    * som.c (som_count_spaces): New function.
        (som_count_subspaces): New function.
        (compare_syms): New function.
        (som_compute_checksum): New function.

30 years ago * som.c (hppa_som_gen_reloc_type): New function.
Jeff Law [Sat, 13 Nov 1993 00:28:06 +0000 (00:28 +0000)]
    * som.c (hppa_som_gen_reloc_type): New function.
        (som_bfd_reloc_type_lookup): New function.

30 years ago * config/m68k/tm-sun3.h: Disable use of alternate breakpoint insn
Stu Grossman [Sat, 13 Nov 1993 00:26:06 +0000 (00:26 +0000)]
* config/m68k/tm-sun3.h:  Disable use of alternate breakpoint insn
when doing remote stuff.

30 years ago * som.c (try_prev_fixup): New function.
Jeff Law [Sat, 13 Nov 1993 00:16:17 +0000 (00:16 +0000)]
* som.c (try_prev_fixup): New function.
(som_reloc_skip): New function.
(som_reloc_addend): New function.

30 years ago * som.c (som_initialize_reloc_queue): New function.
Jeff Law [Sat, 13 Nov 1993 00:07:20 +0000 (00:07 +0000)]
* som.c (som_initialize_reloc_queue): New function.
(som_reloc_queue_insert): Likewise.
(som_reloc_queue_fix): Likewise.
(som_reloc_queue_find): Likewise.

30 years ago* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
Jim Kingdon [Sat, 13 Nov 1993 00:06:49 +0000 (00:06 +0000)]
* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.

30 years ago * som.c (som_hppa_howto_table): SOM howto relocation table.
Jeff Law [Fri, 12 Nov 1993 23:49:58 +0000 (23:49 +0000)]
    * som.c (som_hppa_howto_table): SOM howto relocation table.
        (hppa_som_reloc): New function.

30 years agoversion number updated following 2.2 release
Ken Raeburn [Fri, 12 Nov 1993 23:44:55 +0000 (23:44 +0000)]
version number updated following 2.2 release

30 years ago * som.c (struct reloc_queue): New structure to keep track of
Jeff Law [Fri, 12 Nov 1993 23:43:24 +0000 (23:43 +0000)]
* som.c (struct reloc_queue): New structure to keep track of
the last four multibyte relocations emitted.
(enum pa_symbol_type): Type to fully describe the symbol types
associated with .import/.export assembler directives.

30 years ago * som.c: Include libhppa.h
Jeff Law [Fri, 12 Nov 1993 23:39:35 +0000 (23:39 +0000)]
* som.c: Include libhppa.h

30 years ago * som.c (bfd_som_set_section_attributes): New function.
Jeff Law [Fri, 12 Nov 1993 23:36:04 +0000 (23:36 +0000)]
* som.c (bfd_som_set_section_attributes): New function.
(bfd_som_set_subsection_attributes): Likewise.
(bfd_som_set_symboL_type): Likewise.
(bfd_som_attach_unwind_info): Likewise.
* som.h: Declare new exported functions.

30 years ago * som.h (struct som_symbol): Add new fields to hold additional
Jeff Law [Fri, 12 Nov 1993 23:08:13 +0000 (23:08 +0000)]
* som.h (struct som_symbol): Add new fields to hold additional
information needed to build/write symbol tables and fixup streams.
(struct som_section_data_struct): Add new fields to hold additional
information needed to build/write space and subspace headers.
(som_symbol_data): New accessor macro for SOM symbol information.
(R_HPPA_*): Basic relocation types to be used by the assembler.

30 years ago * config/tc-hppa.c (hppa_fix_struct): Use a real type for the
Jeff Law [Fri, 12 Nov 1993 22:54:41 +0000 (22:54 +0000)]
* config/tc-hppa.c (hppa_fix_struct): Use a real type for the
field selector, rather than an int.  All uses of field selectors
fixed.
(tc_gen_reloc): For SOM PLABELs, always set addend to zero for now.
(md_apply_fix_1): Do not call hppa_field_adjust for any PLABEL
field.

30 years ago * partial-stab.h: Ignore ':' symbol descriptors. Same case as
Jim Kingdon [Fri, 12 Nov 1993 22:30:05 +0000 (22:30 +0000)]
* partial-stab.h: Ignore ':' symbol descriptors.  Same case as
Kung's stabsread.c change.

30 years ago * stabs.texinfo (Nested Symbols): New node.
Jim Kingdon [Fri, 12 Nov 1993 22:18:29 +0000 (22:18 +0000)]
* stabs.texinfo (Nested Symbols): New node.
(String Field, Symbol Descriptors): Refer to it.

30 years ago* gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
Jim Kingdon [Fri, 12 Nov 1993 21:32:42 +0000 (21:32 +0000)]
* gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.

30 years agoModified Files:
Kung Hsu [Fri, 12 Nov 1993 19:34:24 +0000 (19:34 +0000)]
Modified Files:
ChangeLog stabsread.c

        * stabsread.c (patch_block_stabs, define_symbol, read_type): in
        g++ template instantiation, nested class can be part of the
        params, and '::' can gets into symbol or type names. This is
        to fix the problem. (fix pr3837)

30 years agoModified Files:
Kung Hsu [Fri, 12 Nov 1993 19:21:13 +0000 (19:21 +0000)]
Modified Files:
gdbtypes.c ChangeLog

        * gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer
        to struct/union case. (fix pr3857)

30 years ago * coff-solib.c (coff_solib_add): Cast result of alloca().
Stu Grossman [Fri, 12 Nov 1993 18:59:43 +0000 (18:59 +0000)]
* coff-solib.c (coff_solib_add):  Cast result of alloca().
* m68k-tdep.c (m68k_saved_pc_after_call):  Get rid of
GDB_TARGET_IS_SUN3.  Use more general SYSCALL_TRAP macro.
* config/m68k/m68klynx.mh (NATDEPFILES):  Remove exec.o (it's
already in TDEPFILES).
* config/m68k/tm-m68k.h (SAVED_PC_AFTER_CALL):  Use
m68k_saved_pc_after_call.
* Remove all Sun3 specific stuff.
* (FIX_CALL_DUMMY):  Cast arg to bfd_putb32 to unsigned char *.
* config/m68k/tm-m68klynx.h:  Define SYSCALL_TRAP as trap #10.
Disable REMOTE_BREAKPOINT mechanism.
* config/m68k/tm-sun3.h:  Get rid of GDB_TARGET_IS_SUN3.
* Protect from multiple includion.
* Move Sun3 specific stuff from tm-m68k.h to here.
* Define SYSCALL_TRAP as trap #0.
* Remove def of SAVED_PC_AFTER_CALL (now in tm-m68k.h).
* gdbserver/low-lynx.c:  Redo all register store/fetch stuff to
make it portable for 386 and 68k.