Per Bothner [Fri, 22 Nov 1991 05:22:06 +0000 (05:22 +0000)]
stab.def: Remove the GNU extended type codes (e.g. N_SETT).
aoutx.h: Put back the N_HEADER_IN_TEXT(x) that John removed,
but use his heuristic as its default definition.
bfd.H; Re-generated.
Per Bothner [Fri, 22 Nov 1991 05:00:08 +0000 (05:00 +0000)]
Moved bfd_stab_name() and bfd_stab_names[]
from syms.c to new file stab-syms.c.
Renamed to aout_stab_name() and aout_stab_names[].
Also, since GNU extended type codes such as N_SETT are no longer
in ../include/stab.def, include them manually.
Fred Fish [Fri, 22 Nov 1991 02:30:34 +0000 (02:30 +0000)]
Initialize the c++ specific portion of the type structure for union types
as well as struct types, since gdb attempts to reference that portion for
both types. Was getting core dumps due to NULL pointer dereferencing.
Stu Grossman [Thu, 21 Nov 1991 22:48:11 +0000 (22:48 +0000)]
* readline.c: Move config stuff to sysdep.h, use typedef dirent
consistently, remove refs to d_namlen (& D_NAMLEN) to improve
portability. Also, update copyright notice.
readline.h: remove config stuff that I added erroneously in the
first place.
John Gilmore [Thu, 21 Nov 1991 19:55:32 +0000 (19:55 +0000)]
* aout64.h (N_TXTADDR, N_TXTOFF, N_TXTSIZE): New definitions
that should handle all uses. LOGICAL_ versions deleted.
Eliminate N_HEADER_IN_TEXT, using a_entry to determine which
kind of zmagic a.out file we are looking at.
* coff-rs6000.h: Typo.
John Gilmore [Thu, 21 Nov 1991 19:52:23 +0000 (19:52 +0000)]
* libaout.h (WORK_OUT_FILE_POSITIONS): One more try at this
rather complicated seeming problem. Eliminate LOGICAL_ versions,
just make N_XXX work by excluding the header from the text segment.
* aoutx.h: Fix comments to match.
Fred Fish [Tue, 19 Nov 1991 15:59:55 +0000 (15:59 +0000)]
Add defines so that parsers produced by SVR4 versions of yacc can coexist
in the same executable without collision (c-exp.y, m2-exp.y). Add forward
delaration of function returning pointer to shut up compiler warnings about
conversion of int to pointer (symtab.h).
Per Bothner [Mon, 18 Nov 1991 08:04:14 +0000 (08:04 +0000)]
* Makefile.in: Bump to version 1.92.
* version.c, Makefile.in: Get version string from Makefile.
* copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
Make the same change that we earlier did for ar/ranlib:
Generate two different binaries for strip and copy and use
a global variable with different values to distinguish
ostrip from copy. (-1 means to use argv[0] to decide,
so you can get the old behavior, but it is no longer the default).
* copy.c (copy_file): Set EXEC_P of output bfd if input is so.
* copy.c (main): If is_strip==-1, compare last 5 chars
of argv[0], not the whole path.
* copy.c (main): Return 0, not 1.
* copy.c (setup_sections): Fix due to change in bfd_make_section
now failing if asked for a duplicate section.
* strip.c, ostrip.c: Removed obsolete files.
* ar.c, not-ranlib.c, maybe-ranlib.c:
Change encoding of is_ranlib variable to be consistent
with is_strip for strip.copy (i.e -1 to means use argv[0]).
Per Bothner [Sun, 17 Nov 1991 21:38:05 +0000 (21:38 +0000)]
* targets.c: Make the default target_vector contain
just &DEFAULT_VECTOR. This makes executables a lot smaller.
Old behavior can be gotten by defining ALL_TARGETS.
* aoutf1.h, demo64.c, i386aout.c, newsos3.c, sunos.c:
Factored out common code into new file aout-target.h.
Saves a lot of duplicate code for a.out variants.
Per Bothner [Fri, 15 Nov 1991 03:47:35 +0000 (03:47 +0000)]
* stab.def: Added defs for extended GNU symbol types,
such as N_SETT. These are normally ifdef'd out (because
of conflicts with a.out.gnu.h), but are used by bfb_stab_name().