Commit Graph

363 Commits

Author SHA1 Message Date
Roland Pesch 2090ba8351 Quit moving *-in.h into and out of doc subdir. Doc subdir knows how
to find them.
1991-11-15 20:26:52 +00:00
Roland Pesch fafbc31929 Repairs for srcdir/objdir separation.
Individual targets for proto-header files.
1991-11-15 20:22:15 +00:00
Per Bothner c9f19dac96 * aoutx.h (NAME(aout,print_symbol)): Fix thinko.
* syms.c (bfd_stab_names):  Turn on new GNU_EXTRA_STABS macro
	to include names of N_SETT etc.
1991-11-15 03:53:14 +00:00
Fred Fish f8a754829c Remove line containing only a leading tab. Such lines cause some versions
of "make" to choke, including SVR4 versions.
1991-11-15 03:44:04 +00:00
Per Bothner 811b9ab218 Add Makefile.in, configure.in. Remove Makefile. 1991-11-15 03:29:15 +00:00
Fred Fish 58df00e9aa Add minimal support for reading ELF symbol files and generating canonical bfd
symbol tables.  Also change the names of some functions.
1991-11-15 03:26:58 +00:00
Fred Fish 7d68537f73 Trivial change to comment to remove redundant "to". 1991-11-15 03:14:20 +00:00
Steve Chamberlain fb3851d4d4 Added harris 1991-11-14 15:24:43 +00:00
Steve Chamberlain da9471d47b Get prototype of memchr right 1991-11-14 04:35:42 +00:00
Steve Chamberlain 2bf92e47a9 Install bfd.h into destdir/include 1991-11-14 04:35:20 +00:00
K. Richard Pixley 38dc9747fe Now works in objdir/subdirs. 1991-11-14 03:14:12 +00:00
Roland Pesch a28c84e830 Removed '-' prefix from Makefile invocation of makeinfo. Not needed
(til next time someone breaks it; I want a bugreport then).
1991-11-14 00:23:20 +00:00
K. Richard Pixley 8792d41421 added staging stuff & install target 1991-11-14 00:17:45 +00:00
K. Richard Pixley f259290f0d take care of doc subdir, too 1991-11-14 00:16:05 +00:00
Roland Pesch a9773c8993 Repair info node-pointer bug. 1991-11-13 23:06:07 +00:00
Sean Eric Fagan bf61dec7d8 Changed 'i386_coff' to 'i386-coff' to match the real file's name. 1991-11-13 22:19:33 +00:00
K. Richard Pixley 40c0f22d98 Initial revision 1991-11-13 20:00:07 +00:00
Steve Chamberlain 56b10d6dee * ieee.c: (ieee_object_p) cast NULL correctly.
* configure.in: added harris host
1991-11-13 19:27:21 +00:00
Steve Chamberlain d14a8a061e Initial revision 1991-11-13 19:25:56 +00:00
Steve Chamberlain 6ea296a6fd *** empty log message *** 1991-11-13 17:10:23 +00:00
Steve Chamberlain c2ce073867 Various changes from David Wood. 1991-11-13 17:09:33 +00:00
John Gilmore 5685fb5005 Just use #undef, not #define foo foo 1991-11-12 15:22:22 +00:00
Steve Chamberlain 080f6324d6 Mon Nov 11 20:30:18 1991 Steve Chamberlain (sac at cygnus.com)
* Makefile.in: standardize on MINUS_G to disable debugging
	* coff-m88k.c: create coff armaps instead of bsd ones.
	* opncls.c (bfd_close_all_done), (bfd_close): Mask out random bits
	when calling chmod.
1991-11-12 04:32:57 +00:00
Fred Fish 4807bcf9a3 Additions to support ELF formatted core files. 1991-11-12 03:12:26 +00:00
Per Bothner ff7ce1700b * aoutx.h (NAME(aout,find_nearest_line)): Handle the case
of two N_SO stabs, one for directory, and one for filename.

	* bfd-in.h (print_vma):  Factor out duplicate definition.

	Exit a little more gracefully when malloc returns NULL.
	* libbfd.c: New function bfd_xmalloc (malloc wrapper).
	* opncls.c, syms.c, bout.c, aoutx.h:  Replace malloc by bfd_xmalloc.
	* libbfd.h: Rre-generated due to libbfd.c update.
1991-11-12 02:46:26 +00:00
Fred Fish f135f137a9 Document use of elf_big_vec as DEFAULT_VECTOR. 1991-11-09 21:51:52 +00:00
Fred Fish a6c1d73165 Don't try to create a bfd section for the first ELF section header table
entry, since it is just a placeholder with no name.
1991-11-09 21:48:15 +00:00
John Gilmore 285dbe1917 * coff-rs6000.c, config/mh-rs6000: Make it work on archive and
core files, when compiling native.
* hosts/h-rs6000.h:  Define FASCIST_FDOPEN for bfd_fdopenr.
1991-11-09 11:13:02 +00:00
John Gilmore 00a76e06c9 Define FASCIST_FDOPEN. 1991-11-09 11:11:09 +00:00
Steve Chamberlain 85e0c72139 Thu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
* coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
	manipulation of lnno fields in lineno structs in a coff-<f>.h
	independent way. Override it in coff-<f>.h to your favourite
	number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
	(coff_swap_lineno_out): modified to use the new macros.
1991-11-07 19:06:38 +00:00
Steve Chamberlain d60f7e4804 Added default_reloc_type_lookup to arch_info 1991-11-05 22:18:59 +00:00
Steve Chamberlain a53047e8a6 Added h-delta88 1991-11-05 20:55:45 +00:00
K. Richard Pixley 40773f7f3f find include files 1991-11-05 00:06:29 +00:00
Steve Chamberlain e181b631aa Added ctor.c (I remembered this time) 1991-11-04 00:37:06 +00:00
Steve Chamberlain cad28227e3 added ctor.c 1991-11-04 00:36:30 +00:00
Steve Chamberlain a7bae57e32 Added ctor.c 1991-11-04 00:36:13 +00:00
Steve Chamberlain 522e0ead63 Sat Nov 2 14:26:03 1991 Steve Chamberlain (steve at cygnus.com)
* Makefile.in: Added ctor.c
	* archures.c (bfd_default_arch_struct) added
	bfd_default_reloc_type_lookup.
	* coffcode.h: removed a load of #if 0ed code.
	(coff_compute_file_section_positions): now works out the section
	alignment and size correctly in all cases.
	(coff_get_symtab): looks for contructor symbols and calls the
	right function when they're found. (coff_canonicalize_reloc):
	knows when a section is full of contructors and does the right
	thing.
	* cpu-m88k.c: Added default_reloc_type lookup to the architecture
	description.
	* libbfd-in.h: (bfd_default_reloc_type_lookup) defun  added.
	* libcoff.h: removed #if 0ed code
	* reloc.c: (bfd_reloc_code_real_type) added BFD_RELOC_CTOR for
	arch independent contructtor relocation type.
	(bfd_reloc_type_lookup): removed the comment "this will go away"
	since it won't. (bfd_howto_32): stolen from 88k, this is a 32bit
	reloc which is used when BFD_RELOC_CTOR falls through to give a
	default 32bit reloc for contructors.
	(bfd_default_reloc_type_lookup): added.
	* aoutf1.h: fixed SEGMENT_SIZE typo.
1991-11-04 00:35:19 +00:00
Per Bothner e18e24af07 * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new option
bfd_print_symbol_nm, for use by nm.
	* aoutx.h (NAME(aout,print_symbol)):  Add code for new
	bfd_print_symbol_nm option, to print in nm format.
	* coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol)
	oasys.c (oasys_print_symbol):  Provide stub implementations
	for bfd_print_symbol_nm.
	* syms.c:  New function bfd_decode_symclass, used by nm printer.
	New function bfd_stab_name to look up string name of stab code.
1991-11-03 22:47:50 +00:00
Per Bothner 7100c892fd Get rid of MISSING_VFPRINTF, since libiberty provides one. 1991-11-03 22:46:06 +00:00
Steve Chamberlain 7a25e728e7 Now include ctor.c in the right places. 1991-11-02 22:37:35 +00:00
Steve Chamberlain e5e193c742 Initial revision 1991-11-02 22:37:07 +00:00
John Gilmore 6d7c88c3d0 * coff-rs6000.c: Change name to "aixcoff-rs6000", to avoid
matching prefix "coff".
* coffcode.h (coff_swap_aux_in, coff_swap_aux_out):  Handle
rs/6000 csect records.
1991-11-01 02:24:43 +00:00
Steve Chamberlain da6745fd68 * coff-m88k.c, targets.c: change name of m88k_bcs to m88kbcs 1991-10-28 01:18:01 +00:00
Steve Chamberlain 01dd1b2b47 Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)
* configure.in: add motorola delta88 cases
	* libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix
	write_armap prototype
	* libbfd.c: add doc on bfd_write_bigendian_4byte_int
1991-10-28 01:08:51 +00:00
Steve Chamberlain 2f192e9b95 Initial revision 1991-10-28 01:00:06 +00:00
John Gilmore 156e38523a * Rename COFF-related files in `coff-ARCH.c' form.
coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
coff-mips.c, coff-rs6000.c to be exact.
1991-10-25 10:17:52 +00:00
John Gilmore 4a29cb1e7e * Makefile.in: Only supply TARGET_DEFAULTS to targets.c, reducing
make output clutter.
1991-10-25 09:49:37 +00:00
John Gilmore db138ce2a7 Update doc on how to define an architecture for "mh" change. 1991-10-25 08:03:08 +00:00
John Gilmore cc97dfbba7 RS/6000 support 1991-10-25 07:16:59 +00:00
John Gilmore ba9137fe2d Initial revision 1991-10-25 07:16:56 +00:00