Commit Graph

1494 Commits

Author SHA1 Message Date
Steve Chamberlain
ec8dc50bb6 i386 aout changes from Bob Kukura 1991-11-04 00:46:44 +00:00
Steve Chamberlain
82e643ecc4 Initial revision 1991-11-04 00:46:42 +00:00
Steve Chamberlain
ce4d59e25d Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
i386 aout changes from Bob Kukura
	* Makefile.in, config.h: added i386aout support
	* configure.in: fixed /h-{myhost} typo
	* ldgram.y: -MM now gives more boring map.
	* ldlang.c: now does D_PAGED flag the right way.
	* ldsym.c: -MM flags does the right thing.
1991-11-04 00:45:25 +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
aeedc30e25 * configure.in: Fixed typo. Also, a fix for hp300bsd.
* ldlang.c (init_os):  Compensate for BFD change,
	where bfd_make_section now returns NULL for a duplicate
	section request, instead of the old section.
1991-11-03 23:03:01 +00:00
Per Bothner
b27d204648 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
* ar.c (get_pos_bfd): Fix to handling of before/after
	positioning options.
	* bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
	since libiberty contains vfprintf etc if otherwise missing.
	* m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
	type operands, as used by branch instructions.
	* nm.c:  Delegate printing of symbols to BFD,
	by using bfd_print_symbol to do the formatting.
1991-11-03 22:58:48 +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
Per Bothner
b941cb35d2 Updated from ../bfd/bfd-in.h. 1991-11-03 19:55:59 +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
650e42fb18 Add x_csect defines. 1991-11-01 19:14:29 +00:00
John Gilmore
c9bd6710ad * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real
filename with error messages.
* stack.c (frame_select_command):  Rename to select_frame_command
to avoid "fr" and "fra" having nonunique completions.
* symfile.c (sort_symtab_syms):  Ignore sort of zero symtab *.
(symfile_init):  Print file format name when unable to handle it.
(free_named_symtabs):  Use BLOCKVECTOR rather than obsolete BLOCKLIST.
* symmisc.c (free_symtab):  Only free linetable if nonzero.
* symtab.h:  Remove obsolete BLOCKLIST macros.
1991-11-01 19:12:35 +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
Stu Grossman
d7d1098dca * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure
that stop_step is 1 at bottom of main loop.  I don't know why this
needs to be done, but it helps me sleep better at night.
1991-11-01 02:16:20 +00:00
Roland Pesch
715eb31fa9 *** empty log message *** 1991-11-01 01:46:59 +00:00
K. Richard Pixley
28f3b09449 new install theme 1991-11-01 00:25:28 +00:00
K. Richard Pixley
0e409e0b3e rewrote m68up aliases, pea works on anything 1991-10-31 07:06:33 +00:00
Steve Chamberlain
2fac678d8c *** empty log message *** 1991-10-31 05:40:50 +00:00
Steve Chamberlain
a0c686b537 #CVS: Modified Files: 1991-10-31 01:25:35 +00:00
Steve Chamberlain
3ab958289b *** empty log message *** 1991-10-31 01:25:20 +00:00
Steve Chamberlain
8442cbcdd4 *** empty log message *** 1991-10-31 00:46:02 +00:00
Steve Chamberlain
26dcf901d5 *** empty log message *** 1991-10-31 00:35:31 +00:00
K. Richard Pixley
8d91aae616 Initial revision 1991-10-31 00:08:52 +00:00
Roland Pesch
9f06bb91f2 Minor corrections from proofreading pass for WRS. 1991-10-29 21:27:01 +00:00
Steve Chamberlain
99823b6670 88k stuff 1991-10-29 08:47:32 +00:00
Steve Chamberlain
fbb70f408b Initial revision 1991-10-29 08:27:23 +00:00
Steve Chamberlain
0885eef129 Don't care about an unlink failure 1991-10-29 07:13:23 +00:00
Steve Chamberlain
5f0e876707 * ar.c (write_archive.c): added unlink before rename since some
systems can't rename onto an existant file.
1991-10-28 19:22:12 +00:00
Stu Grossman
8b3c897ae9 * main.c (initialize_history): Read history after reading all
init files.
1991-10-28 02:20:47 +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
b90c4f33cd * c-exp.y (yyerror): Pass error message if given.
* configure.in:  Add rs6000 host and target.
* inflow.c (new_tty):  O_NOCTTY kludge for RS/6000.
* symfile.h (entry_point):  Add.
1991-10-27 22:27:15 +00:00
John Gilmore
a23075bc5a * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO.
* tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h,
tm-sparc.h:  Accept fromleaf parameter.
1991-10-27 22:26:52 +00:00
John Gilmore
4137c5fc0d * buildsym.c: Break out initial malloc sizes.
(record_line):  Record directly in a subfile.  Alloc on demand.
(compare_line_numbers):  Add from xcoffread.c.
(end_symtab):  New params say whether to sort pendings and
linetable.  Patch block stabs if defined.  Shrink linetable before
allocating the symtab.
* buildsym.h:  Delete line_vector* and prev_line_number.  Add
global_stabs and file_stabs for xcoffread.
* dbxread.c (start_subfile):  Move to buildsym.  Change above calls.
* symtab.h:  LINETABLE(symtab) can now be null.  Zap LINELIST.
* symmisc.c, symtab.c:  Cope with null LINETABLEs.
1991-10-27 22:26:02 +00:00
K. Richard Pixley
9439f48f4c Fixed ".reserve", and added toolversion for sparc + some nitpicks. 1991-10-26 08:48:23 +00:00
John Gilmore
d47d5315c8 * symfile.c (syms_from_bfd): New routine.
(add_symbol_file):  Call it to do the real work.
(syms_from_bfd):  Initialize entry_point before calling symfile_init.
* symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c:
Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
1991-10-26 08:02:23 +00:00
John Gilmore
2ce38c6d29 Add buildsym.c and buildsym.h. 1991-10-26 07:22:46 +00:00
John Gilmore
c030245775 Break out symbol-table-building routines
from dbxread.c, so they can be shared with xcoffread.c.
1991-10-26 07:21:30 +00:00
Per Bothner
bcccec8c8d Various fixes to improve g++ debugging. See ChangeLog. 1991-10-26 02:05:14 +00:00
Stu Grossman
5ab580ccf8 * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of
short return values for sparc and 68k.  Patch from Paul Eggert.
1991-10-26 01:06:16 +00:00
Stu Grossman
eb3f3e5c6a *** empty log message *** 1991-10-26 00:57:08 +00:00
Stu Grossman
159a075e55 * coffread.c, coredep.c, i386-xdep.c: install patches for
SysV/386 3.2 from Mauro DePalma.
1991-10-25 23:10:12 +00:00
John Gilmore
40458cc92c Rename coff-related files. 1991-10-25 10:21:10 +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