binutils-gdb.git
32 years ago* elfread.c (record_minimal_symbol_and_info): Kludged to put
John Gilmore [Sat, 13 Jun 1992 07:24:30 +0000 (07:24 +0000)]
* elfread.c (record_minimal_symbol_and_info):  Kludged to put
extra info in the minimal symbol.
(elf_symtab_read):  The extra info is the size of an ELF object,
which was kludged to us in the `udata' field of the BFD symbol.
Gag me with a crowbar...
(elf_symfile_read):  Keep track of both the absolute load address,
and the offset between load addr and symbols.  Handle STABS as
well as DWARF sections, passing the absolute load address to
elfstab_build_psymtabs.

* objfiles.c (free_objfile):  Eliminate storage leaks.  Contributed
by <Peter.Schauer@regent.e-technik.tu-muenchen.dbp.de>.
* symfile.c (symfile_bfd_open):  Comment where name is freed.
* symmisc.c (extend_psymbol_list):  Comment where list is freed.

32 years ago* dbxread.c: Add symbol_size to struct dbx_symfile_info.
John Gilmore [Sat, 13 Jun 1992 06:39:27 +0000 (06:39 +0000)]
* dbxread.c:  Add symbol_size to struct dbx_symfile_info.
Add symbol_size and file offsets to struct symloc.
Add static symbol_table_offset, string_table_offset,
file_string_table_offset, next_file_string_table_offset,
last_function_name.
(add_old_header_file):  Convert error() to complain()t.
(dbx_symfile_read):  Get symbol size via the objfile.
Also get symbol_table_offset.
(dbx_symfile_init):  Record symbol size and count via the objfile.
(dbx_next_symbol_text):  Always add file_string_table_offset when
accessing string table.
(read_dbx_symtab):  Initialize file_string_table_offset to 0.
(SET_NAMESTRING):  Use the offset.
(end_psymtab):  Large kludge to determine addresses where source
files start and end (for the psymtab header).
(psymtab_to_symtab_1):  Set file_string_table_offset before reading.
Get this, symbol size, and symbol offset, from psymtab.
(read_ofile_symtab):  Don't back up one symbol for Solaris2.
Patch up last_source_start_addr if zero in N_SO.
(process_one_symbol):  Add variable function_start_offset.
( "", N_FUN, N_LBRAC, N_RBRAC, N_SLINE):  Add ifdef for
BLOCK_ADDRESS_FUNCTION_RELATIVE.
( "", N_OBJ, N_OPT):  Ignore.
(elfstab_build_psymtabs):  New function to read stabs out of
an ELF file.

* Makefile.in:  Accept $(BISON) even though we really want $(YACC).
(gdb):  use GLOBAL_CFLAGS when linking, too.
* partial-stab.h (N_UNDF):  Deal with Sol2 relative stringtab offsets.
(N_OBJ, N_OPT):  Ignore.
('f', 'F'):  Save last function name.

* symfile.h:  Prototype elfstab_build_psymtabs.
* symfile.c:  Add almost-OK debug versions of add_psymbol_*to_list.

* xm-sysv4.h:  Add <limits.h> to avoid conflicting defns in defs.h.

32 years agoRemove reg_names decl (now in defs.h).
John Gilmore [Sat, 13 Jun 1992 06:08:09 +0000 (06:08 +0000)]
Remove reg_names decl (now in defs.h).

32 years agoAvoid ANSI C "empty translation unit" idiocy.
John Gilmore [Sat, 13 Jun 1992 06:04:03 +0000 (06:04 +0000)]
Avoid ANSI C "empty translation unit" idiocy.

32 years ago* section.c (STD_SECTION): Remove extra semicolon in declarations.
John Gilmore [Sat, 13 Jun 1992 05:58:49 +0000 (05:58 +0000)]
* section.c (STD_SECTION):  Remove extra semicolon in declarations.
* configure.in:  Rewrite target parsing to use simple format.
Handle sparc-sun-solaris2 configuration.
* aout64.h:  Avoid ANSI C brain death warning.
* elf.c:  Avoid trigraph (???) or /* in comments.

32 years agoLint
John Gilmore [Sat, 13 Jun 1992 05:56:15 +0000 (05:56 +0000)]
Lint

32 years agoLint
John Gilmore [Sat, 13 Jun 1992 05:24:22 +0000 (05:24 +0000)]
Lint

32 years agoAdd sun4sol2 => sparc-sun-solaris2.
John Gilmore [Sat, 13 Jun 1992 05:23:04 +0000 (05:23 +0000)]
Add sun4sol2 => sparc-sun-solaris2.

32 years ago* buildsym.h: Add processing_acc_compilation flag.
John Gilmore [Sat, 13 Jun 1992 02:18:44 +0000 (02:18 +0000)]
* buildsym.h:  Add processing_acc_compilation flag.
* buildsym.c (read_sun_builtin_type, read_sun_floating_type):  New.
(define_symbol):  Skip arg types in function entries.  Resolve
overloaded 'P' which acc uses for prototypes of functions called
by this file.
(read_type: 'b', 'r'):  Handle Solaris2 builtin types.

* minsyms.c (prim_record_minimal_symbol_and_info):  Hack to
save size of ELF symbols.  FIXME.
* tm-sun4os5.h:  Rename to tm-sun4sol2.h.  Update defines for Sol2.
* xm-sun4os5.h:  Rename to xm-sun4sol2.h.  Hack more defines.

* config/sun4os5.m[ht]:  Rename to config/sun4sol2.m[ht]; new xm, tm.

32 years ago* configure.in: Solaris config is sparc-sun-solaris2.
John Gilmore [Sat, 13 Jun 1992 01:56:41 +0000 (01:56 +0000)]
* configure.in:  Solaris config is sparc-sun-solaris2.
* config/sun4os5.m[ht]:  Rename to config/sun4sol2.m[ht].

32 years agochange to new solaris naming system, add sysv4 host config
David D. Zuhn [Sat, 13 Jun 1992 00:43:08 +0000 (00:43 +0000)]
change to new solaris naming system, add sysv4 host config

32 years ago * expprint.c (print_subexp): Add missing ']'.
Fred Fish [Fri, 12 Jun 1992 20:51:42 +0000 (20:51 +0000)]
* expprint.c (print_subexp):  Add missing ']'.
* defs.h (reg_names):  Fix declaration to match that in infcmd.c
* stack.c (reg_names):  Delete redundant (and inconsistent) decl.
* WHATS.NEW:  Point out improved C++ function name handling.
* gdbtypes.c (lookup_fundamental_type):  For now, use the same
type names for both implicitly and explicitly signed integral
types.  See comment in the source code.

32 years agoTwo `long long' fixes from Robert R. Henry (rrh@dino.tera.com):
John Gilmore [Thu, 11 Jun 1992 19:34:56 +0000 (19:34 +0000)]
Two `long long' fixes from Robert R. Henry (rrh@dino.tera.com):
* defs.h (longest_to_int):  Avoid void arm of ?: in error case.
* expprint.c (print_subexp):  Fix printing of register names.

32 years agoLatest and greatest, many bug fixes, value annotations, stack frame
Stu Grossman [Thu, 11 Jun 1992 17:35:58 +0000 (17:35 +0000)]
Latest and greatest, many bug fixes, value annotations, stack frame
annotations, etc...

32 years ago* objdump.1, binutils.texi: Update for --stabs. Also fix
John Gilmore [Thu, 11 Jun 1992 09:18:44 +0000 (09:18 +0000)]
* objdump.1, binutils.texi:  Update for --stabs.  Also fix
objdump's doc to use -- rather than + for long options.
(FIXME:  Not yet fixed everywhere in binutils.texinfo.)

32 years agoSmall changes from Solaris port. The big stuff is not all working yet.
John Gilmore [Thu, 11 Jun 1992 08:43:29 +0000 (08:43 +0000)]
Small changes from Solaris port.  The big stuff is not all working yet.

* inferior.h (register_valid):  Declare.
* remote-udi.c, rs6000-xdep.c, sparc-xdep.c, tm-rs6000.h:  Remove decl.
* objfiles.h (ALL_OBJFILE_{SYMTABS,PSYMTABS,MSYMBOLS}):  Add
macros for traversing the data structures in a single objfile.
* tm-m88k.h, tm-sparc.h (REGISTER_NAMES):  Remove extra semicolon.
* tm-i960.h (REGISTER_NAMES):  Cosmetic change.
* infcmd.c:  Lint.

32 years ago#undef PC, which Solaris2 defines in sys/types.h, clobbering the
John Gilmore [Thu, 11 Jun 1992 08:29:01 +0000 (08:29 +0000)]
#undef PC, which Solaris2 defines in sys/types.h, clobbering the
termcap global variable PC.

32 years agoNew feature: --stabs prints out a .stab section from an ELF file.
John Gilmore [Thu, 11 Jun 1992 08:23:11 +0000 (08:23 +0000)]
New feature: --stabs prints out a .stab section from an ELF file.
Installed under #ifdef ELF_STAB_DISPLAY so it can be easily disabled,
since it requires bfd-internals header files and such.

32 years agoAdd N_OBJ and N_OPT from Solaris-2.
John Gilmore [Thu, 11 Jun 1992 08:15:03 +0000 (08:15 +0000)]
Add N_OBJ and N_OPT from Solaris-2.

32 years agoRegen'd from bfd.c after removing elf_core_tdata_struct.
John Gilmore [Thu, 11 Jun 1992 08:12:01 +0000 (08:12 +0000)]
Regen'd from bfd.c after removing elf_core_tdata_struct.

32 years ago* elf.c (elf_obj_tdata): Merge elf_obj_tdata_struct and
John Gilmore [Thu, 11 Jun 1992 08:10:04 +0000 (08:10 +0000)]
* elf.c (elf_obj_tdata):  Merge elf_obj_tdata_struct and
elf_core_tdata_struct into a single common struct.  Core files
wouldn't have worked at all without this.
(bfd_elf_find_section):  New function for GDB's undercover use
to find string sections that BFD hides from it.
(elf_get_str_section):  Avoid multiple alloc&reads for same data; lint.
(elf_object_p, elf_core_file_p):  Allocate internal file header
storage dynamically.
* bfd.c (union {...} tdata):  Remove elf_core_tdata_struct.
* demo64.c:  Prevent "empty translation unit" warnings from idiots.

32 years ago * i386.h: a.out magic numbers from
Steve Chamberlain [Wed, 10 Jun 1992 14:59:16 +0000 (14:59 +0000)]
* i386.h: a.out magic numbers from
mohring@informatik.tu-muenchen.de

32 years agoWed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Wed, 10 Jun 1992 14:57:25 +0000 (14:57 +0000)]
Wed Jun 10 07:53:24 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* objdump.c(display_info), patches from
mohring@informatik.tu-muenchen.de to print the table much more
nicely.

32 years agoKeep this just in case
Steve Chamberlain [Wed, 10 Jun 1992 14:44:52 +0000 (14:44 +0000)]
Keep this just in case

32 years ago * Everywhere: Change RANLIB=echo>/dev/null (which confuses
Per Bothner [Wed, 10 Jun 1992 06:32:35 +0000 (06:32 +0000)]
* Everywhere: Change RANLIB=echo>/dev/null (which confuses
some shells - and I don't blame them) to RANLIB=true.
* mh-solaris:  Use /usr/ucb/install for INSTALL.

32 years ago * config/{mh-ncr3000, mh-sysv4}: Add INSTALL.
Fred Fish [Wed, 10 Jun 1992 02:20:25 +0000 (02:20 +0000)]
* config/{mh-ncr3000, mh-sysv4}:  Add INSTALL.

32 years ago * config/{i386v4.mh, ncr3000.mh}: Update RANLIB, add INSTALL.
Fred Fish [Wed, 10 Jun 1992 02:17:08 +0000 (02:17 +0000)]
* config/{i386v4.mh, ncr3000.mh}:  Update RANLIB, add INSTALL.

32 years ago * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL using
Fred Fish [Wed, 10 Jun 1992 02:10:02 +0000 (02:10 +0000)]
* config/{mh-ncr3000, mh-sysv4}:  Add definition for INSTALL using
/usr/ucb/install.

32 years ago * config/{mh-ncr3000, mh-sysv4}: Change INSTALL to use
Fred Fish [Wed, 10 Jun 1992 02:06:30 +0000 (02:06 +0000)]
* config/{mh-ncr3000, mh-sysv4}:  Change INSTALL to use
/usr/ucb/install.

32 years ago * c-exp.y, m2-exp.y: Move remapping defines for malloc and
Fred Fish [Wed, 10 Jun 1992 02:05:20 +0000 (02:05 +0000)]
* c-exp.y, m2-exp.y:  Move remapping defines for malloc and
realloc.  Add remapping defines for {yyss, yyssp, yyvs, yyvsp}.
* config/{amix.mh, i386v4.mh, ncr3000.mh, stratus.mh,
sun4os5.mh}:  Add definition for INSTALL using /usr/ucb/install.

32 years agoOops, forgot depend!
Stu Grossman [Tue, 9 Jun 1992 23:33:27 +0000 (23:33 +0000)]
Oops, forgot depend!

32 years ago* depend: rebuild to account for remote-st2000.c.
Stu Grossman [Tue, 9 Jun 1992 23:31:53 +0000 (23:31 +0000)]
* depend:  rebuild to account for remote-st2000.c.
* remote-st2000.c:  Almost works now.
* tm-st2000.h:  Need to turn on HAVE_68881, else things won't compile.

32 years ago * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
Steve Chamberlain [Tue, 9 Jun 1992 19:36:49 +0000 (19:36 +0000)]
* subsegs.c (subsegs_begin): create bss0_frchainP in the same was
as data0_frchainP

* write.c (write_object_file): various changes to handle data in
the BSS segment in much the same was as stuff in the DATA segment.

* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.

32 years ago * subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
Steve Chamberlain [Tue, 9 Jun 1992 14:57:42 +0000 (14:57 +0000)]
* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.

* tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
pcrel data stuff. (md_estimate_size_before_relax): when relaxing a
68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into
the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put
it into SEG_BSS

32 years ago * subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
Steve Chamberlain [Tue, 9 Jun 1992 14:57:23 +0000 (14:57 +0000)]
* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.

32 years ago * readline.h (rl_completer_quote_characters): Add declaration.
Fred Fish [Tue, 9 Jun 1992 06:10:54 +0000 (06:10 +0000)]
* readline.h (rl_completer_quote_characters):  Add declaration.
* readline.c (rl_completer_quote_characters):  Add global var.
* readline.c (strpbrk):  Add prototype and function.
* readline.c (rl_complete_internal):  Add code to handle
expansion of quoted strings.

32 years ago * c-exp.y (yylex): Recognize single-quoted strings that specify
Fred Fish [Tue, 9 Jun 1992 06:09:33 +0000 (06:09 +0000)]
* c-exp.y (yylex):  Recognize single-quoted strings that specify
tokens with embedded whitespace, such as C++ demangled names.
* defs.h (demangle_and_match, strcmp_iw, skip_quoted):  Prototypes.
* main.c (gdb_completer_quote_characters):  Add global variable.
* main.c (symbol_completion_function):  Total rewrite for C++
demangled name handling.
* main.c (skip_quoted):  New function.
* main.c (main):  Set rl_completer_quote_characters.
* symmisc.c (dump_symtab):  Print source language for symtab.
* symtab.c (expensive_mangler):  Add prototype and function.
* symtab.c (completion_list_add_symbol):  Total rewrite for new
C++ demangled name handling.
* symtab.c (lookup_symbol): Check for demangled C++ symbol first,
other changes for demangled C++ symbol handling.
* symtab.c (lookup_demangled_block_symbol):  Use demangle_and_match.
* symtab.c (lookup_demangled_partial_symbol):  Use demangle_and_match.
* symtab.c (decode_line_1):  Recognize C++ demangled names on input.
* symtab.c (completion_list_add_symbol):  Total rewrite for new
C++ demangled name handling.
* symtab.c (expensive_mangler):  New function.
* utils.c (strcmp_iw, demangle_and_match):  New functions.
* xcoffread.c (aixcoff_symfile_read):  Fix prototype.

32 years ago* Makefile.in: Roll VERSION to 4.5.4.
John Gilmore [Tue, 9 Jun 1992 05:10:15 +0000 (05:10 +0000)]
* Makefile.in:  Roll VERSION to 4.5.4.
* Makefile.in, config/*.mh, config/*.mt:  Rename TM_CFLAGS
to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names.
* config/sun4os5.mh:  Add MH_CFLAGS=-xs to save debug info.

32 years agoUse unsigned chars for fields in object files.
John Gilmore [Tue, 9 Jun 1992 03:14:50 +0000 (03:14 +0000)]
Use unsigned chars for fields in object files.

32 years agoTypo
John Gilmore [Tue, 9 Jun 1992 02:38:11 +0000 (02:38 +0000)]
Typo

32 years agoSee gdb/Changelog for details.
Stu Grossman [Mon, 8 Jun 1992 21:35:27 +0000 (21:35 +0000)]
See gdb/Changelog for details.

32 years ago* alldeps.mak: Rebuild to account for new files.
Stu Grossman [Mon, 8 Jun 1992 21:35:05 +0000 (21:35 +0000)]
* alldeps.mak:  Rebuild to account for new files.
* config/st2000.mt:  Use tm-st2000.h, not tm-68k.h.
* tm-st2000.h:  New file.

32 years ago* configure.in: Tandem debug monitor (st2000) support.
Stu Grossman [Mon, 8 Jun 1992 21:21:59 +0000 (21:21 +0000)]
* configure.in:  Tandem debug monitor (st2000) support.
* remote-st2000.c, config/st2000.mt:  ditto.

32 years agoSee gdb/Changelog for details
Stu Grossman [Mon, 8 Jun 1992 21:16:44 +0000 (21:16 +0000)]
See gdb/Changelog for details

32 years ago*** empty log message ***
Steve Chamberlain [Mon, 8 Jun 1992 17:14:18 +0000 (17:14 +0000)]
*** empty log message ***

32 years agolint
Steve Chamberlain [Mon, 8 Jun 1992 17:14:10 +0000 (17:14 +0000)]
lint

32 years ago*** empty log message ***
Steve Chamberlain [Mon, 8 Jun 1992 17:09:57 +0000 (17:09 +0000)]
*** empty log message ***

32 years agodon't crash when provided empty symbol table
Steve Chamberlain [Mon, 8 Jun 1992 17:09:40 +0000 (17:09 +0000)]
don't crash when provided empty symbol table

32 years agonew file from bothner, fixes sparc cross-disassembly core dumps
David D. Zuhn [Mon, 8 Jun 1992 07:46:10 +0000 (07:46 +0000)]
new file from bothner, fixes sparc cross-disassembly core dumps

32 years ago* configure.in: Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5.
John Gilmore [Sun, 7 Jun 1992 00:03:50 +0000 (00:03 +0000)]
* configure.in:  Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5.

32 years ago* blockframe.c (inside_entry_file, inside_main_func,
John Gilmore [Fri, 5 Jun 1992 18:52:27 +0000 (18:52 +0000)]
* blockframe.c (inside_entry_file, inside_main_func,
inside_entry_func):  Return 0 if no symbols; avoid crashing.

32 years agochange pathnames from /usr/share/misc to /usr/local/lib. They should *really*
Mark Eichin [Thu, 4 Jun 1992 19:36:37 +0000 (19:36 +0000)]
change pathnames from /usr/share/misc to /usr/local/lib. They should *really*
get built by configure, someday.

32 years agoThu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Thu, 4 Jun 1992 19:21:58 +0000 (19:21 +0000)]
Thu Jun  4 11:59:13 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* expr.c(expr): allow SEG_REGISTER in expressions.
* read.c(pseudo_set): register expressions can be the source of a
set.
* subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
goto SEG_TEXT (if a.out)
* write.c (write_object_file): If a.out don't use the old way for
-R.
* config/obj-a.out (s_sect): complain if the user tries to use a
subsegment with a value which might interfere with out -R hackery.
* config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
rather than use ugly if tree. (init_regtable): insert register
names into symbol table.

32 years agoadd real install, and some more normal paths.
Mark Eichin [Thu, 4 Jun 1992 19:10:49 +0000 (19:10 +0000)]
add real install, and some more normal paths.

32 years agouse byacc instead of bison.
Mark Eichin [Thu, 4 Jun 1992 19:10:06 +0000 (19:10 +0000)]
use byacc instead of bison.

32 years agoThu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)
Mark Eichin [Thu, 4 Jun 1992 18:36:56 +0000 (18:36 +0000)]
Thu Jun  4 11:34:02 1992  Mark Eichin  (eichin at cygnus.com)

* lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
help in debugging the problem (with -DDEBUG)
* gprof.c: symbol values are now real values, don't add the vma
anymore. (done for solaris; should verify this on other platforms)
* ChangeLog: created.

32 years ago* config.sub: Add support for Linux.
Per Bothner [Thu, 4 Jun 1992 07:38:43 +0000 (07:38 +0000)]
* config.sub:  Add support for Linux.
* Makefile.in:  Use $(FLAGS_TO_PASS) more consistently (at least for libg++).

32 years agoadded srcdir=. so that configure puts in a value
Mark Eichin [Thu, 4 Jun 1992 07:34:23 +0000 (07:34 +0000)]
added srcdir=. so that configure puts in a value
added explicit foo.o:foo.c lines since Solaris has the same VPATH bug that
SunOs 4.1.1 does...

32 years ago* xcoffread.c (read_xcoff_symtab): Set c_sclass from n_sclass
John Gilmore [Thu, 4 Jun 1992 05:23:08 +0000 (05:23 +0000)]
* xcoffread.c (read_xcoff_symtab):  Set c_sclass from n_sclass
without masking, since it is signed and will later be compared
against signed quantities.  The right fix is probably to make
it all unsigned, but this is a small, safe fix for this release.
FIXME -- make the real change sometime soon.

(Imported from progressive.)

32 years agofix -nfp documentation
David D. Zuhn [Wed, 3 Jun 1992 03:06:02 +0000 (03:06 +0000)]
fix -nfp documentation

32 years agoMakefile.in (all-binutils): ar needs flex, so depend on all-flex.
Michael Tiemann [Wed, 3 Jun 1992 00:21:33 +0000 (00:21 +0000)]
Makefile.in (all-binutils): ar needs flex, so depend on all-flex.

32 years agoFix -R problem from Adobe
Michael Tiemann [Tue, 2 Jun 1992 23:49:59 +0000 (23:49 +0000)]
Fix -R problem from Adobe

32 years agoMakefile.in: .c.o rule needed, default one (under solaris) ignores CFLAGS
Mark Eichin [Tue, 2 Jun 1992 17:22:47 +0000 (17:22 +0000)]
Makefile.in: .c.o rule needed, default one (under solaris) ignores CFLAGS
Makefile: it shouldn't be under cvs; given that it is, fix it too
arcs.c: fprintf used where printf should have been.
lookup.c: misdeclared calloc; use a cast instead.

32 years agoFix from net: when predigesting doc for texi2roff, search for "@c " at
Roland Pesch [Tue, 2 Jun 1992 00:50:41 +0000 (00:50 +0000)]
Fix from net: when predigesting doc for texi2roff, search for "@c " at
the beginning of a line, rather than just "@C" at the beginning of a
line, to identify (and remove) comments.

32 years agoTracking changes from Lucid: option formerly known as either
Roland Pesch [Tue, 2 Jun 1992 00:48:46 +0000 (00:48 +0000)]
Tracking changes from Lucid: option formerly known as either
"-cadillac" or "-energize" is called "-context" now.

32 years agoPass the correct number of parameters to `symbol_file_add'.
Michael Tiemann [Mon, 1 Jun 1992 23:19:09 +0000 (23:19 +0000)]
Pass the correct number of parameters to `symbol_file_add'.

32 years agoDefine MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h>
Michael Tiemann [Mon, 1 Jun 1992 23:17:21 +0000 (23:17 +0000)]
Define MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h>

32 years agochange mh-solaris2 to mh-solaris.
Mark Eichin [Mon, 1 Jun 1992 00:29:44 +0000 (00:29 +0000)]
change mh-solaris2 to mh-solaris.

32 years agoAdded solaris configuration support.
Mark Eichin [Sun, 31 May 1992 22:13:34 +0000 (22:13 +0000)]
Added solaris configuration support.

32 years agoHandle -m680[01234]0-wrs as specific vxworks68 targets. With -nfp,
Michael Tiemann [Sun, 31 May 1992 13:45:08 +0000 (13:45 +0000)]
Handle -m680[01234]0-wrs as specific vxworks68 targets.  With -nfp,
this offers full control over the CPU parameters of vxworks systems we
are likely to encounter (not to mention other 68k embedded targets
that run a.out as their debugging format).

32 years ago16 May version from prep
David D. Zuhn [Sun, 31 May 1992 08:16:00 +0000 (08:16 +0000)]
16 May version from prep

32 years agorecognize m680[1234] as separate processors now
David D. Zuhn [Sun, 31 May 1992 08:12:16 +0000 (08:12 +0000)]
recognize m680[1234] as separate processors now

32 years agobetter error testing on perverse cases (eg, ./config.sub -sun3)
David D. Zuhn [Sun, 31 May 1992 04:04:03 +0000 (04:04 +0000)]
better error testing on perverse cases (eg, ./config.sub -sun3)

32 years agoFix lint found by GCC.
Michael Tiemann [Sat, 30 May 1992 05:19:54 +0000 (05:19 +0000)]
Fix lint found by GCC.

32 years agoAdd flex to the list of keepers. flex is needed to build GNU ld.
Michael Tiemann [Fri, 29 May 1992 02:49:34 +0000 (02:49 +0000)]
Add flex to the list of keepers.  flex is needed to build GNU ld.

32 years agoRecognize sparclite as a sparc variant.
Jim Wilson [Thu, 28 May 1992 18:22:42 +0000 (18:22 +0000)]
Recognize sparclite as a sparc variant.

32 years agoAdd sparclite support.
Jim Wilson [Thu, 28 May 1992 18:21:39 +0000 (18:21 +0000)]
Add sparclite support.

32 years agoPass $tooldir in FLAGS_TO_PASS. Define -aout in $os. Both of these
Michael Tiemann [Thu, 28 May 1992 06:21:54 +0000 (06:21 +0000)]
Pass $tooldir in FLAGS_TO_PASS.  Define -aout in $os.  Both of these
are needed to do a `make all install' for a vxworks68 target install.

32 years ago * ldgram.y, ldlex.l: parse ABSOLUTE
Steve Chamberlain [Wed, 27 May 1992 22:18:50 +0000 (22:18 +0000)]
    * ldgram.y, ldlex.l: parse ABSOLUTE
* ldexp.c: add support for ABSOLUTE

32 years ago * config/*.mh: Miscellaneous clean-up: Removed definitions
Per Bothner [Wed, 27 May 1992 20:21:42 +0000 (20:21 +0000)]
* config/*.mh:  Miscellaneous clean-up:  Removed definitions
of YACC (since it is not longer used in the Makefile).
Remove HOSTING_* definitions that are subsumed by the
ones added to Makefile.in.  Removed most definitions of CC.
* config/{sparc,news,hp300bsd,decstation}.mh:  Removed;
These are no longer needed.

32 years ago * Makefile.in: Added default definitions for HOSTING_CRT0,
Per Bothner [Wed, 27 May 1992 20:20:47 +0000 (20:20 +0000)]
* Makefile.in:  Added default definitions for HOSTING_CRT0,
HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.

32 years ago * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
Per Bothner [Wed, 27 May 1992 20:06:01 +0000 (20:06 +0000)]
* arlex.l:  Don't include <sysdep.h> (unneeded conflicts).
Add declaration of strdup().

32 years agoLint
John Gilmore [Wed, 27 May 1992 16:29:03 +0000 (16:29 +0000)]
Lint

32 years agoAdd apollo68.h.
Per Bothner [Tue, 26 May 1992 23:59:37 +0000 (23:59 +0000)]
Add apollo68.h.

32 years agoAdd mh-a68bsd.
Per Bothner [Tue, 26 May 1992 23:57:55 +0000 (23:57 +0000)]
Add mh-a68bsd.

32 years agolint
Steve Chamberlain [Tue, 26 May 1992 23:57:04 +0000 (23:57 +0000)]
lint

32 years ago * coff-a29k.c: do byte relocs correctly
Steve Chamberlain [Tue, 26 May 1992 23:53:00 +0000 (23:53 +0000)]
* coff-a29k.c: do byte relocs correctly
* coffcode.h (styp_to_sec_flags): never load INFO sections
* seclet.c (rel): don't relocate INFO sections

32 years agoFixes from Andrew Smith
Steve Chamberlain [Tue, 26 May 1992 23:49:49 +0000 (23:49 +0000)]
Fixes from Andrew Smith

32 years agoDon't be too sanitary
Steve Chamberlain [Tue, 26 May 1992 22:28:07 +0000 (22:28 +0000)]
Don't be too sanitary

(thanks Per)

32 years ago29k const fix
Steve Chamberlain [Tue, 26 May 1992 22:20:09 +0000 (22:20 +0000)]
29k const fix

32 years agoFix some typos
Steve Chamberlain [Tue, 26 May 1992 19:08:48 +0000 (19:08 +0000)]
Fix some typos

32 years agoCheckpoint
Steve Chamberlain [Tue, 26 May 1992 18:26:13 +0000 (18:26 +0000)]
Checkpoint

32 years agoThis is a test to see if the file is still locked.
Steve Chamberlain [Tue, 26 May 1992 14:51:23 +0000 (14:51 +0000)]
This is a test to see if the file is still locked.

32 years agoHeader file changes corresponding to BFD library changes just checked in.
Ken Raeburn [Tue, 26 May 1992 07:06:00 +0000 (07:06 +0000)]
Header file changes corresponding to BFD library changes just checked in.

32 years agoLots of changes from gas-bfd work. Includes:
Ken Raeburn [Tue, 26 May 1992 03:45:31 +0000 (03:45 +0000)]
Lots of changes from gas-bfd work.  Includes:
 * working reloc lookup support
 * better support for creation of COFF files from scratch
 * misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
 * one or two ugly kludges that should get cleaned up (but what's one
   or two more, in BFD?)
See ChangeLog for details.

32 years agoLots of changes from gas-bfd work. Includes:
Ken Raeburn [Tue, 26 May 1992 03:23:53 +0000 (03:23 +0000)]
Lots of changes from gas-bfd work.  Includes:
 * working reloc lookup support
 * better support for creation of COFF files from scratch
 * misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
 * one or two ugly kludges that should get cleaned up (but what's one
   or two more, in BFD?)
See ChangeLog for details.

32 years agoDraft Solaris install notes.
Roland Pesch [Mon, 25 May 1992 20:42:53 +0000 (20:42 +0000)]
Draft Solaris install notes.

Checked into "devo" temporarily; will probably need to move to another
repository.  Feel free to move it, but *please* move the entire
underlying RCS file, not just the HEAD version (unless, of course, you
move it while there's just this version checked in).

32 years ago * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
Per Bothner [Fri, 22 May 1992 22:38:13 +0000 (22:38 +0000)]
* Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
rules, since these are used when building a distribution.
* Makefile.in (arlex.c):  Don't re-direct output, since that
leaves a bogus output files if it fails.

32 years ago * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
Per Bothner [Fri, 22 May 1992 22:36:35 +0000 (22:36 +0000)]
* Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
rules, since these are used when building a distribution.
* Makefile.in (ldlex.c):  Don't re-direct output, since that
leaves a bogus output files if it fails.

32 years ago * ldlex.c: Fix some unnecessary flex-specific-isms.
Per Bothner [Fri, 22 May 1992 20:56:37 +0000 (20:56 +0000)]
* ldlex.c:  Fix some unnecessary flex-specific-isms.