Commit graph

4102 commits

Author SHA1 Message Date
Ian Lance Taylor
0069b1f670 These are actually Ken's patches--I told him I'd take move them from
p3 into devo.

	* tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
	still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
	the register name.
	* tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not
	M68KCOFF.
1992-11-10 20:09:23 +00:00
Ian Lance Taylor
587c4264e0 These changes clean things up a bit, and improve Solaris cross
support when using /opt/SUNWspro/SC2.0/acc.

Tue Nov 10 09:50:25 1992  Ian Lance Taylor  (ian@cygnus.com)

	* obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
	section.

	* atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS,
	comment_chars, line_comment_chars and line_seperator_chars
	consistently const, and always initialized them.  Included read.h.
1992-11-10 18:17:00 +00:00
John Gilmore
9ee6289b47 * opncls.c (bfd_fdopenr, bfd_close): Add doc about cacheing
and about when file descriptors are closed.
1992-11-10 07:59:39 +00:00
John Gilmore
58108d01c2 Add how to declare the result of make_cleanup. 1992-11-10 07:57:43 +00:00
David D. Zuhn
c014d59723 * configure.in: expand the section that adds or removes
directories from the list of programs to build, to handle native
vs. cross in addition to host v. native
* test-build.mk: add -w to GNU_MAKE
1992-11-09 05:16:57 +00:00
David D. Zuhn
b19753b911 include file handling changes 1992-11-08 00:01:46 +00:00
David D. Zuhn
3f97524f59 more include changes 1992-11-08 00:00:58 +00:00
David D. Zuhn
52d5a27d5d delete some old ose cruft, handle -wrs as an os 1992-11-07 08:19:19 +00:00
David D. Zuhn
3c52e52d2c * config.sub: remove 'sparc'-->'sparc-sun' default transformation,
add 'sparc' to list of recognized cpus.  This needed to make
	'sparc-aout' expand to 'sparc-unknown-aout' instead of 'sparc-sun-aout'
1992-11-07 07:43:43 +00:00
David D. Zuhn
255d097913 import from p3 1992-11-07 07:11:21 +00:00
David D. Zuhn
ffce44a010 added tcl, tk, and expect 1992-11-07 05:00:06 +00:00
Mike Werner
d86908e0de Checked in ChangeLog 1992-11-06 19:33:22 +00:00
Steve Chamberlain
2e6edad13c * c-exp.y: separated host/target idea of integer type size,
removed redundant parse rules. (YYSTYPE): added typed_val, removed
	UINT and CHAR rules. (parse_number): work out the targetwise type
	of a number based upon it's size and qualifiers. (yylex): chars
	are now treated the same way as ints.

	* source.c (indentify_source_line): don't core dump if wanted
	line is larger than number of lines in source. (can happen when
	coff gets confused about #included source).
1992-11-06 18:37:20 +00:00
John Gilmore
59c84bd8d5 Fix problems noticed by Allan Steel, <allan@maths.su.oz.au>,
when debugging a program with 100 shared libraries.

* solib.c (solib_map_sections):  Always close the BFD we open.
Free all malloc'd storage we allocate, too, including error cases.
(struct so_list):  Remove unused so_bfd member.
(clear_solib):  Don't bother closing so_bfd.

* symfile.c (symfile_bfd_open):  Mark newly opened BFD as
cacheable.  `So many symbol files, so little file descriptors.'
1992-11-06 11:05:08 +00:00
John Gilmore
8a96d79b70 * m68k-stub.c: Remove ansidecl.h and the few uses of it.
Stubs should stand alone as much as possible.

* source.c (show_directories):  Avoid printf_filtered length prob
pointed out by Jonathan Stone.

* i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper limit properly to
avoid accesses beyond end of table.  Fix by Lee W. Cooprider,
<Lee_Cooprider@vos.stratus.com>.
1992-11-06 09:21:13 +00:00
John Gilmore
a644baaa03 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly. 1992-11-06 08:14:14 +00:00
Mark Eichin
e8e18f7490 missing backslash after C++_FOR_BUILD in FLAGS_TO_PASS (latest/make dies,
/bin/make ignores it...)
1992-11-06 04:27:29 +00:00
Jim Wilson
0cef0e20f9 Flag error if absolute constant is too large for an immediate field. 1992-11-06 01:59:36 +00:00
Fred Fish
402dca80e7 * {ser-bsd.c, ser-termios.c} (serial_close): Pass address of
struct, not struct itself.
	* serial.h (serial_restore):  Fix prototype, takes pointer not
	struct.
1992-11-06 01:35:57 +00:00
Stu Grossman
2352d20bd7 * Makefile.in (depend): Add nm.h to the list of things to fixup.
* depend:  Redo, to fixup nm.h problems with *-tab.c files.
1992-11-06 01:13:34 +00:00
Ian Lance Taylor
2229261331 Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
* ldlang.c (lang_size_sections): don't change size and address for
	SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
	sections.
1992-11-06 00:39:51 +00:00
Ian Lance Taylor
41d1b02fe6 Thu Nov 5 16:35:44 1992 Ian Lance Taylor (ian@cygnus.com)
* bfd.h: Update to bring in SEC_SHARED_LIBRARY.
1992-11-06 00:39:31 +00:00
Ian Lance Taylor
8f718ed3bd Thu Nov 5 15:34:19 1992 Ian Lance Taylor (ian@cygnus.com)
* section.c: New section bit SEC_SHARED_LIBRARY.
	coffcode.h (styp_to_sec_flags): if STYP_NOLOAD && (STYP_TEXT ||
	STYP_DATA), set SEC_SHARED_LIBRARY.  This seems to be correct for
	i386-sysv.
1992-11-06 00:38:59 +00:00
Stu Grossman
4e084cde32 Add 29k-UDI stuff back in... 1992-11-06 00:20:50 +00:00
Stu Grossman
e7ae70e927 Re-install UDI comments. 1992-11-05 23:40:02 +00:00
Stu Grossman
6881fb6d20 Add 29k-UDI stuff back in... 1992-11-05 23:33:51 +00:00
David D. Zuhn
378fd38252 merge in some p3 Makefile changes 1992-11-05 23:04:38 +00:00
Steve Chamberlain
85c838d613 * relax.c (build_it): re-enable the processing of data_statements
in scripts, makes counted contructor lists work again.
1992-11-05 19:35:38 +00:00
Mike Werner
cd98a82fc1 checked in new changelog 1992-11-05 18:46:35 +00:00
John Gilmore
3662554d78 * target.c (struct bfd_target): Eliminate the SDEF and SDEF_FMT
macros; use PARAMS to declare the function pointers involved.
1992-11-05 13:50:25 +00:00
John Gilmore
a4c227913c Update to match EXFUN, bfd_seclet_struct, and SDEF cleanups in bfd. 1992-11-05 13:46:35 +00:00
John Gilmore
6e94236ab6 Remove uses of SDEF and PROTO macros (use PARAMS). 1992-11-05 13:44:51 +00:00
John Gilmore
f6047bbd51 Update after bfd_seclet_struct => bfd_seclet change. 1992-11-05 13:19:06 +00:00
John Gilmore
990e7c2297 * bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c,
targets.c: Rename struct bfd_seclet_struct to struct bfd_seclet.
1992-11-05 13:17:38 +00:00
John Gilmore
e87cc81623 Missed one use of PROTO. 1992-11-05 12:08:17 +00:00
John Gilmore
151a6341c6 Clean up some old BFD ansification macros.
* arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
It still remains as a local macro in gmalloc.c, which is derived
from some other copy of GNU Malloc somewhere (FIXME).

* ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
fns really static.
* arsup.h:  Declare extract_files.
1992-11-05 12:01:44 +00:00
John Gilmore
18fe0e9f7f Update to match PARAMS changes in bfd. 1992-11-05 11:22:12 +00:00
John Gilmore
fefb4b30e6 Cleanup: Replace all uses of EXFUN in the BFD sources, with PARAMS.
* archures.c, reloc.c, section.c, tekhex.c:  Use PARAMS in
declaring pointers to functions.
* cache.c, elf.c:  Move static function decls to top, use PARAMS.
* seclet.h:  Declare external function with PARAMS.

* libbfd.h:  Update, based on changes in source code and chew.
1992-11-05 11:13:01 +00:00
John Gilmore
042bf84cf7 * i386-stub.c: Remove ansidecl.h and the few uses of it.
Stubs should stand alone as much as possible.
1992-11-05 08:40:38 +00:00
John Gilmore
61f55ca303 * README: Add remote-es1800.c and remote-st2000.c to table.
* go32-nat.c:  Remove, there is no native go32 support.
* go32-xdep.c:  Remove unused fork, fvork, wait, execlp, kill_inferior.
* infcmd.c (run_command):  Avoid long calls to printf_filtered.
Bug fix courtesy of Alexander Klaiber.
1992-11-05 08:26:15 +00:00
John Gilmore
00539ee3b3 * bfd-in.h: Improve comments to make it clear that bfd.h is
the wrong place to edit this file.
* Makefile.in (install):  Install ansidecl.h and obstack.h in the
same places where we install bfd.h.
* libieee.h:  Add FIXME about removing limit on number of sections.
1992-11-05 08:17:56 +00:00
Stu Grossman
1549918a3f * inflow.c (pass_signal, set_sigint_trap, clear_sigint_trap): Add
new routines to deal with sending SIGINTs to attached processes
when the user interrupts the controlling GDB.
* inftarg.c (child_wait), procfs.c (procfs_wait):  Add calls to
the aforementioned routines when waiting for the attached process.
1992-11-05 03:54:01 +00:00
Mike Werner
df93a6c142 changed changelog 1992-11-05 02:42:35 +00:00
Mike Werner
fca4f908ca * Makefile.in: Added stuff for building deja-gnu. 1992-11-05 02:23:34 +00:00
Stu Grossman
f6c60bb4fb Undo last change. Read diffs backwards! 1992-11-05 00:55:55 +00:00
Stu Grossman
da60a50dc3 * readline.c: Cast many uses of alloca to (char *) to make brain-
damaged compilers happy.
* sysdep-norm.h:  Remove some crud, install dire warning.
1992-11-04 23:34:54 +00:00
Stu Grossman
740b7efa43 * elfread.c, mipsread.c: Include <string.h>.
* i386-stub.c:  Include "ansidecl.h" to deal with prototypes.
* serial.h:  Add prototype for serial_restore().
1992-11-04 23:31:52 +00:00
Sean Eric Fagan
061a65a56f (Duplicate change from p3.)
Only change coff auxent header fields when the circumstances require it.  or
at least warrant.
1992-11-04 21:57:47 +00:00
Ian Lance Taylor
a521e93a8e Wed Nov 4 11:13:25 1992 Ian Lance Taylor (ian@cygnus.com)
* minsyms.c (lookup_minimal_symbol_by_pc): subtract 1, not 2, from
	minimal_symbol_count, because the NULL symbol is not included in
	the count.  This prevented this function from finding the last
	symbol in the table.
1992-11-04 19:45:42 +00:00
Ken Raeburn
27ee87b307 delete unused BFD_EMIT_TABLE macro def 1992-11-04 16:08:39 +00:00