Commit Graph

5990 Commits

Author SHA1 Message Date
Jim Kingdon 41126f153d * cache.c (bfd_cache_init): Increment open_files and call close_one
if necessary.
	(bfd_open_file): Don't increment open_files here.
1993-06-18 18:40:02 +00:00
Jim Kingdon 6278bcbda7 * config/delta88.mh: Don't set CC. 1993-06-18 18:38:05 +00:00
David D. Zuhn 1a4874f78f append transformbasename to transformed name 1993-06-18 18:18:12 +00:00
Jim Kingdon 394d1b3f0d #if 0 out some more declarations which conflict with system headers 1993-06-18 18:15:58 +00:00
Jim Kingdon 83660d21a7 * configure.in (m88k-*-sysvr4*): Use sysdep-norm.h. 1993-06-18 18:14:26 +00:00
Jim Kingdon e23b7b308a new file 1993-06-18 17:54:36 +00:00
Jim Kingdon 244ffee7f1 * Makefile.in: Add elf32-{mips,m88k,generic}.
elf32-{mips,m88k,generic}.c: New files.
	targets.c (target_vector): Include bfd_elf32_{mips,m88k,generic}_vec.
	elfcode.h (elf_object_p): Match elf32-generic for all machines which
	don't match a different target.
1993-06-18 17:45:41 +00:00
Fred Fish 5c0e7bd6ef * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
	  avoid spurious xfails.
	* gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
	* gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
	* gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
1993-06-18 17:43:51 +00:00
Jim Kingdon e64ec645a8 * buildsym.h: Doc fix for processing_acc_compilation. 1993-06-18 17:40:50 +00:00
David D. Zuhn 9cd039e778 more install/program_transform_name fixes 1993-06-18 17:03:58 +00:00
David D. Zuhn df063d29cc fix INSTALL_XFORM definition 1993-06-18 16:57:33 +00:00
Jim Kingdon 6b4b4d1791 * cache.c, bfd-in.h: New function bfd_make_cacheable.
opncls.c (bfd_fdopenr): Suggest it in the comment.
	* cache.c (bfd_cache_init): Increment open_files.
1993-06-18 16:13:10 +00:00
Jim Kingdon 2c4f2c7296 * Makefile.in: Add elf32-{mips,m88k}.
elf32-{mips,m88k}.c: New files.
	targets.c (target_vector): Include bfd_elf32_{mips,m88k}_vec.
1993-06-18 16:07:34 +00:00
John Gilmore 933ae8d4fd Eliminate "int8_type", "int16_type", "int32_type", and their
variants from the BFD universe.  Leave the 64-bit types for now,
since they are in flux.

* hosts/*.h:  Remove declarations of all these types.
1993-06-18 10:29:14 +00:00
John Gilmore 34dd8ba311 Eliminate "int8_type", "int16_type", "int32_type", and their
variants from the BFD universe.  Leave the 64-bit types for now,
since they are in flux.

* aoutx.h, hp300hpux.c:  Eliminate needless (int32_type) casts.
* libaout.h (GET_SWORD):  Convert (int32_type) to (int).
* ieee.c:  Convert uint8e_type => unsigned char.
* oasys.c:  Extensive changes to eliminate obsolete types.
These depend on changes in ../include/oasys.h as well.
1993-06-18 10:26:55 +00:00
John Gilmore 7b490afcb4 * oasys.h: Eliminate "int8_type", "int16_type", "int32_type", and
their variants.  These changes are coordinated with corresponding
changes in ../bfd/oasys.c.
1993-06-18 10:24:11 +00:00
Jim Kingdon 8715a9f36a * printcmd.c (print_formatted): Don't use tab in wrap_here arg. 1993-06-18 03:12:22 +00:00
Jim Kingdon ec604f5f6c * hosts/delta88.h: #if 0 out some declarations which conflict with
system headers.
1993-06-18 03:12:04 +00:00
Jim Kingdon c9d8fc9120 * config/m88k/xm-delta88.h: Comment out unused defines which conflict
with system headers.
	* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
	Use VPRINTF macro if defined.
	* config/m88k/xm-delta88.h: Define VPRINTF.  Include <sys/siginfo.h>.
	Define TIOC{GETC,GLTC}_BROKEN.
	* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
	* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
	make things easier on munch (apparently this matters on
	the delta88 with svr3).
1993-06-18 02:33:01 +00:00
Jim Kingdon fc61e9eeec * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
${srcdir}/../include.

	* config/m88k/xm-delta88.h: Comment out unused defines which conflict
	with system headers.
	* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
	Use VPRINTF macro if defined.
	* config/m88k/xm-delta88.h: Define VPRINTF.  Include <sys/siginfo.h>.
	Define TIOC{GETC,GLTC}_BROKEN.
	* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
	* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
	make things easier on munch (apparently this matters on
	the delta88 with svr3).
1993-06-18 02:32:27 +00:00
Fred Fish 1d2bb44589 * Makefile.in: Change extension for gzip'd files from '.z' to
'.gz' per new FSF standard usage.
1993-06-18 01:45:34 +00:00
Steve Chamberlain 90fe361fdc * gencode.c: Fix some opcodes.
* interp.c: Support for profiling and portability fixes.
	* run.c (main): Get profiling args.
1993-06-18 01:31:54 +00:00
Steve Chamberlain d360d135af Fix install. 1993-06-18 01:30:34 +00:00
David D. Zuhn 981dfa40c7 remove parentdir support 1993-06-18 01:00:13 +00:00
David D. Zuhn c8fee4a53e canonicalize install.sh location 1993-06-18 00:35:08 +00:00
David D. Zuhn 0ed316a062 quote program_transform_name value 1993-06-17 23:59:43 +00:00
David D. Zuhn 9126738c04 canonicalize install.sh location 1993-06-17 23:56:08 +00:00
David D. Zuhn e9b991c691 doc last change 1993-06-17 23:55:23 +00:00
David D. Zuhn e0d005f216 get install.sh canonicalized 1993-06-17 23:50:35 +00:00
David D. Zuhn 09938a1612 configure already add the -e 1993-06-17 23:50:01 +00:00
David MacKenzie d18a45278e Document -Map option. 1993-06-17 23:23:48 +00:00
Jim Kingdon d57528d1ce hand-edited 1993-06-17 23:20:46 +00:00
David MacKenzie 2de8edce8f * ldgram.y: Tweak grammar to make reporting of invalid options work. 1993-06-17 22:55:38 +00:00
Steve Chamberlain 4ce149f970 Alpha host support. 1993-06-17 22:23:40 +00:00
Steve Chamberlain 7ccb1e4401 * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
host.
	* sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
	wired (and wrong) constant.
	* values.c (unpack_long): Add case to unpack when target object is
	sizeof(int).
	* config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
	simulator defines.
1993-06-17 22:16:07 +00:00
Steve Chamberlain 219cf23283 Understand more opcodes. 1993-06-17 22:02:49 +00:00
Steve Chamberlain 115147fbb0 * config/obj-coffbfd.c (fill_section): Don't allow fills backwards.
* config/tc-sh (get_specific, md_convert_frag,
	md_estimate_size_before_relax): Add support for rest of opcodes.
1993-06-17 21:58:28 +00:00
Steve Chamberlain f216ecc54a Support for constructors. 1993-06-17 21:49:48 +00:00
David MacKenzie 565c93e92a * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
and .cc.o rule.
1993-06-17 21:34:11 +00:00
David MacKenzie f1907ff24b Moved to emulparams subdir. 1993-06-17 21:23:10 +00:00
David MacKenzie 6fa11e9f43 Moved to scripttempl subdir. 1993-06-17 21:21:21 +00:00
David MacKenzie e89ea690c9 Moved to emultempl subdir. 1993-06-17 21:19:58 +00:00
David MacKenzie 168bb59fe6 No longer needed. 1993-06-17 21:16:37 +00:00
David MacKenzie 8ddef5528d * ldfile.c (ldfile_open_command): Don't try .ld extension.
It wasn't documented (or likely used) and wastes time.
	(try_open): If EXTEN is empty, don't try it.

	* ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c,
	ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c,
	ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls
	with normal function declarations.

	* Move *.em to emultempl/*.em.  Move *.sh to emulparams/*.sh.
	Move *.sc-sh to scripttempl/*.sc.
	* {emultempl,emulparams,scripttempl}/README: New files.
	* sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files
	removed, replaced with generic.em.
	* h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from
	 h8[35]00hms.s[ch].  Change their contents to omit the "hms".

	* *.em (*_get_script): Return script name instead of script contents.
	* ldlang.c (lang_process): Change caller.

	* ldlex.l, ldgram.y: Recognize -m option.
	Check for input files after *all* options in grammar.
	* ldmain.c (main): Check for -m options.  Add default directory
	for -m.

	* mkscript.c: File removed.
	* genscripts.sh: Take two more parameters, tooldirlib and libdir,
	to add to the default LIB_PATH.
	Look for input files in the new subdirectories.
	Create the scripts in emulations subdirectory and don't filter
	them through mkscript.
	* configure.in: Make the emulations subdirectory.

	* Makefile.in: Account for all of the above changes.
	Remove unused .SUFFIXES.  Get libgcc.a path with gcc
	-print-libgcc-file-name instead of $(libdir)/libgcc.a.
	Put CFLAGS last in the compilation rules.
	Add -I../bfd to INCLUDES so sysdep.h is found.

	* ldfile.c (try_open): If opening without the extension fails,
	try with the extension even if -v or -V was given.
	had_script is imported (from ldgram.y), not exported.
1993-06-17 20:55:43 +00:00
K. Richard Pixley 21cc14d850 start tracking user visible changes 1993-06-16 23:13:57 +00:00
K. Richard Pixley 1c5d60496e rename user settable option from rpcTimeout to vxworks-timeout. 1993-06-16 23:11:46 +00:00
Fred Fish 53f0969be3 * Makefile.in (depend): More makefile diddling.
* alldeps.mak, depend:  Update to latest automatically built
	versions.
1993-06-16 21:34:42 +00:00
David MacKenzie 1855298745 Nuke dir. 1993-06-16 21:16:16 +00:00
Ian Lance Taylor 91ea6ab0b1 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
header files.
1993-06-16 20:49:36 +00:00
Steve Chamberlain 73fbbeead4 * gmon.h, gprof.h: structs of chars used to hold external
representations.
	* gprof.c (getpfile, openpfile, readsamples): Swap data in using
	new structures.
1993-06-16 19:58:37 +00:00