Commit Graph

3985 Commits

Author SHA1 Message Date
Per Bothner cc8787efe1 * copy.c: Re-do command-line parsing to use getopt_long().
Add long option names.  Re-think option letters to be more
	consistent.
	* copy.c:  New function filter_symbols() for stripping only
	debug-symbols and/or local symbols.  Use these to support
	the previously-missing options of the old FSF strip.
1992-10-14 20:35:29 +00:00
Ian Lance Taylor 4b77b129c6 Added #include <ctype.h> to several files. It's often more efficient,
and on some systems it's required.
1992-10-14 20:20:03 +00:00
Roland Pesch 4928b97be9 Move "@c @smallbook" and "@c @cropmarks" out of titlepage, so if someone
uncomments them they affect the whole document...
1992-10-13 23:19:05 +00:00
John Gilmore 849d81e59f * config/news1000.mt: No longer needed, same as news.mt. 1992-10-13 08:30:26 +00:00
John Gilmore 358ca35ea4 Convert m68k entries to m68* entries to handle
all the various m68xxx hosts and targets.
1992-10-13 08:28:45 +00:00
John Gilmore 1bf20983a2 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
than repeating a copy of it here.
1992-10-13 08:25:08 +00:00
John Gilmore ee3b893b97 Replace m68kmote with plain old m68k. 1992-10-13 08:23:16 +00:00
Ian Lance Taylor 0bced705de Mon Oct 12 15:04:07 1992 Ian Lance Taylor (ian@cygnus.com)
* readline.c (init_terminal_io): if tgetent returns 0, the
	terminal type is unknown.
1992-10-12 22:05:57 +00:00
Steve Chamberlain a385b38f00 Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* ldmisc.c (demangle,vfinfo): use the new underscore info in bfd to
	to demangle symbols better
1992-10-12 17:25:00 +00:00
David D. Zuhn 0f8b9790a1 use sysv config for solaris2 hosting 1992-10-12 02:10:51 +00:00
David D. Zuhn 1b87a1b27b fix typo, added @table 1992-10-11 01:06:17 +00:00
K. Richard Pixley 601f15702e remove duplicate inftarg.o 1992-10-10 01:58:10 +00:00
Stu Grossman 47b7176b22 * Makefile.in (HFILES): Add all nm-irix3.h, nm-irix4.h,
nm-sun2.h, nm-mips.h.
1992-10-10 00:32:07 +00:00
Stu Grossman 3032863605 * config/irix3.mh (NATDEPFILES): nat-mips.o => mips-nat.o. 1992-10-09 23:11:25 +00:00
Stu Grossman a109657412 * Makefile.in (alldeps.mak): Add = sign after NATDEPFILES. 1992-10-09 23:01:11 +00:00
Stu Grossman 703bdc5b22 * config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o. 1992-10-09 21:36:35 +00:00
Stu Grossman 89f1a7df70 * config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o.
Also add nm-irix3.h to .Sanitize, and remove references to .Sanitize from
ChangeLog.
1992-10-09 21:23:43 +00:00
Mark Eichin 03c0866031 Eckhard Rueggeberg throught gprof didn't work because the man page was wrong.
The SYNOPSIS now matches the rest of the man page.
1992-10-09 18:34:33 +00:00
Ian Lance Taylor b5ddc1014c Fri Oct 9 08:41:11 1992 Ian Lance Taylor (ian@cygnus.com)
* xm-hppah.h: if __STDC__ is not defined, define
	HPPA_COMPILER_BUG.
	symtab.c (decode_line_1): avoid a bug in the HP9000/700 native
	compiler; see the comment in the file.

Here's the comment from the file:
  /* FIXME: The native HP 9000/700 compiler has a bug which appears
     when optimizing this file with target i960-vxworks.  I haven't
     been able to construct a simple test case.  The problem is that
     in the second call to SKIP_PROLOGUE below, the compiler somehow
     does not realize that the statement val = find_pc_line (...) will
     change the values of the fields of val.  It extracts the elements
     into registers at the top of the block, and does not update the
     registers after the call to find_pc_line.  You can check this by
     inserting a printf at the end of find_pc_line to show what values
     it is returning for val.pc and val.end and another printf after
     the call to see what values the function actually got (remember,
     this is compiling with cc -O, with this patch removed).  You can
     also examine the assembly listing: search for the second call to
     skip_prologue; the LDO statement before the next call to
     find_pc_line loads the address of the structure which
     find_pc_line will return; if there is a LDW just before the LDO,
     which fetches an element of the structure, then the compiler
     still has the bug.  */
1992-10-09 15:49:16 +00:00
John Gilmore 0e35d2f37e First cut at support for all BSD variants on 386. 1992-10-09 11:55:05 +00:00
John Gilmore 534c231e2c First cut at support for all BSD variants on 386. 1992-10-09 11:48:37 +00:00
John Gilmore 6d68588226 First cut at support for all BSD variants on 386.
* tm-i386bsd.h, xm-i386bsd.h:  New config files.
* i386b-nat.c:  New native support file.
* configure.in:  Add host and target for i[34]86-*-bsd*.
* config/i386bsd.mh, config/i386bsd.mt:  New config files.
1992-10-09 11:48:24 +00:00
John Gilmore 5a5fa3688c * configure.host: New file, contains mapping of host configs
to host support file names for bfd, binutils, opcodes.
* configure.in:  Use it.
* i386aout.c:  Cleanup, dump TARGET_IS_LITTLE_ENDIAN_P.
* i386bsd.c:  Cleanup, reformat.
* config/i386-bsd.mt:  Comment changes.
* config/i386bsd.mh:  New file for core file support.
* hosts/i386bsd.h:  Merge changes from Peter Schauer.
* bout.c (ALIGN):  Rename to ALIGNER, since system header files
on BSD 4.4 define ALIGN (sigh!).
1992-10-09 11:38:30 +00:00
John Gilmore 366dfd0c6f * bout.c (ALIGN): Rename to ALIGNER, since system header files
on BSD 4.4 define ALIGN (sigh!).
1992-10-09 10:47:32 +00:00
John Gilmore 5a63b336cb Remove space from blank line, avoid Make complaints. 1992-10-09 10:15:05 +00:00
K. Richard Pixley 56e8942230 Sun2 native support (untested).
* xm-sun2.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS,
  REGISTER_U_ADDR): removed to nm-sun2.h.
* nm-sun2.h: new file.
* config/sun2os[34].mh (XDEPFILES): infptrace.o inftarg.o
  fork-child.o sun3-xdep.o removed.
  (NAT_FILE, NATDEPFILES): new macros.
1992-10-09 08:20:47 +00:00
K. Richard Pixley a70dc8981b Mips native support. Decstation and iris4 have been tested.
Iris3 has not.

* mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
  fill_fpregset): removed to irix4-nat.c
* mips-xdep.c: removed.
* irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new
  files.
* procfs.c: include nm.h.
* xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed.
* xm-irix4.h: bump copyright.
(U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS,
PROC_NAME_FMT): removed.
* xm-mips.h (FETCH_INFERIOR_REGISTERS): removed.
* config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o.
(NAT_FILE, NATDEPFILES): new macros for native support.
(CC): supply default compiler switches.
* config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o.
(NAT_FILE, NATDEPFILES): new macros for native support.  Note that
irix3 is untested.
* config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o
  fork-child.o mips-xdep.o coredep.o.
  (NAT_FILE, NATDEPFILES): new macros for native support.
1992-10-09 07:59:37 +00:00
K. Richard Pixley 55ec69fb42 * config/rs6000.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o
* config/sun3os3.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o
* config/sun3os4.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o
1992-10-09 07:22:15 +00:00
John Gilmore 01ae50eb0e * infcmd.c (path_info): Avoid 250-char limit on printf_filtered,
by using puts_filtered instead.
1992-10-09 06:20:26 +00:00
Ken Raeburn 0256270d64 * remote-nindy.c (nindy_load): Replacement version from Steve
Chamberlain, doesn't require forking to run "strip" or "sx".
1992-10-09 04:51:32 +00:00
John Gilmore 439a4936c3 * configure.in: Reformat the target section, test many configs. 1992-10-09 02:42:29 +00:00
Mark Eichin 7f90aa8b18 Linker now works for go32; other changes keep it from breaking the other
platforms (new backend_data "exec_header_not_counted") (from p3.)
1992-10-09 02:41:30 +00:00
Ken Raeburn 23ab00aadf * config.sub: Complain if no argument is given. Added support for 386bsd as OS
and target alias.
1992-10-09 01:44:03 +00:00
Ken Raeburn 214f8f2392 * aout-target.h (callback): Don't define this function if it won't be used.
* aoutx.h (some_aout_object_p): Restore old aout_data value if this type
doesn't match.  Don't lose if file sections have already been created.
(set_arch_mach): Set reloc_entry_size.
(slurp_symbol_table): Use bfd_h_get_{16,8} for reaeding symbol data.

* hosts/i386bsd.h: New file.
* configure.in: Recognize i[34]86-*-bsd host.

* aout-target.h (callback, write_object_contents): Delete unused variables.

* aoutx.h (reloc_type_lookup): New function.
* aout-target.h (MY_reloc_howto_type_lookup): Use it as default.
* aoutf1.h (sunos4_reloc_type_lookup): Deleted.
(MY_reloc_howto_type_lookup): Don't define it.

* aoutx.h (adjust_sizes_and_vmas): Don't bother with padding for OMAGIC files.
(slurp_symbol_table): Use header byte order, not target byte order, for reading
symbol data.
1992-10-09 01:39:06 +00:00
John Gilmore d047d16af7 * configure.in: Undo some brain damage in the host section.
* Makefile.in (make):  Remove obsolete `make make'.
	* aoutx.h (some_aout_object_p):  Make defines line up.
1992-10-09 01:34:32 +00:00
Stu Grossman e6c6137281 * Makefile.in (HFILES): Add nm-*.h files. 1992-10-09 01:29:17 +00:00
Stu Grossman 4fe3e3753a Remove stratus.mt and stratus.mh until we can get copyright assignment from the
real author of the i860 stuff.
1992-10-09 00:53:44 +00:00
Stu Grossman 7c17335770 Remove duplicate core.c entry from SFILES_MAINDIR. 1992-10-09 00:49:57 +00:00
Stu Grossman 1e587b7085 Remove a29k-udi.c till we straighten out AMD copyright stuff. 1992-10-09 00:48:59 +00:00
John Gilmore 3b0d8c28ba Fix up HPPA file names. 1992-10-09 00:45:31 +00:00
K. Richard Pixley dd6f869584 * config/sun4os4.mh (XDEPFILES): fork-child.o removed.
(NATDEPFILES): added fork-child.o.
1992-10-09 00:06:15 +00:00
K. Richard Pixley 968720bf25 * doc/gdbint.texinfo: document a few more macros, create new
section for native macros.
1992-10-08 23:29:35 +00:00
Ian Lance Taylor 9d4016257d Thu Oct 8 15:07:22 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (XTRAFLAGS): include newlib directories if
	newlib/Makefile exists, rather than if host != target.
1992-10-08 22:09:32 +00:00
Stu Grossman 5413338bff * Makefile.in alldeps.mak depend: Rip out 29k/udi pending
resolution of copyright issues.
1992-10-08 20:54:37 +00:00
K. Richard Pixley dc48694c78 keep sun3-nat.c, rs6000-nat.c, nm-sun3.h, nm-rs6000.h. Forget
sun3-xdep.c, sparc-xdep.c, rs6000-xdep.c
1992-10-08 17:47:04 +00:00
Fred Fish 256b39e042 Save i386bsd.c since it is now required to build bfd.
(Am I the *only* one that regularly builds sanitized trees and thus
 gets to clean up these things?)
1992-10-08 17:43:08 +00:00
Steve Chamberlain ab414d8767 Now a bfd knows whether underscores are normally prepended
to symbols in its file format.
1992-10-08 16:03:58 +00:00
Steve Chamberlain 294eaca479 Some of these are guesses, if you know different, just yell.
Thu Oct  8 08:52:48 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

	 Now a bfd knows whether underscores are normally prepended
	 to symbols in its file format. Helps with error messages.

	* aout-adobe.c, aout-target.h, bout.c, coff-a29k.c, coff-h8300.c,
	coff-z8k.c: targets set so they have leading underscore
	* coff-i386.c, coff-i960.c, coff-m68k.c, coff-mips.c, coff-m88k.c,
	coff-rs6000.c, coff-we32k.c, elf.c, ieee.c, srec.c: targets set
	without leading underscore flag
	* targets.c: add symbol leading char to xvec description
	* bfd-in.h (bfd_get_symbol_leading_char): new macro.
1992-10-08 16:02:09 +00:00
Stu Grossman 0da7012441 * Makefile.in (setup-to-dist): Remove -norecursion so that doc
subdir gets configured.

Bad John, bad...
1992-10-08 03:11:46 +00:00
Sean Eric Fagan 17cb669f38 Going back to old remote method for now. 1992-10-08 02:58:25 +00:00