Commit Graph

14201 Commits

Author SHA1 Message Date
Steve Chamberlain a325a02e36 Add sim_set_callbacks. 1995-10-13 22:06:30 +00:00
Ken Raeburn 106773f836 Use system page size for obstack chunk size instead of 128, permitting override
by application.

Include missing patch from Andreas Schwab's changes.

Fix up minor configuration problems.
1995-10-13 22:03:11 +00:00
Steve Chamberlain 4a29aa8458 * srcwin.cpp (CSrcScroll1::OnDraw): Don't show disabled
splats unless a breakpoint is possible.
	* gui.mak: Include mips config.
	* prebuilt/mips/elf32-target.h: Regenerated.
1995-10-13 21:15:18 +00:00
Michael Meissner 4444ae6e3d Do not give error message if dlltool was not built 1995-10-13 20:11:35 +00:00
Steve Chamberlain b1e463692c Fri Oct 13 11:22:01 1995 steve chamberlain <sac@slash.cygnus.com>
* coff-arm.c (in_reloc_p): New.
	* coff-i386.c (in_reloc_p): New.
	* coffcode.h: Allways include peicode.h if COFF_WITH_PE.
	(coff_write_object_contents): Only set has_reloc_section
	if PE_IMAGE.
	* cofflink.c (_bfd_coff_generic_relocate_section): Call
	in_reloc_p to decide if reloc should be emitted.
	* libcoff.h (pe_data_type.in_reloc_p): New.
	* peicode.h (pe_mkobject): Initialize in_reloc_p.
1995-10-13 18:28:31 +00:00
Steve Chamberlain 87b1a0733b Fri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com>
* deflex.l: Allow quoting of IDs.
	* defparse.y (%union): string deleted.
	(command): DESCRIPTION takes ID.
	* dlltool.c (gen_def_file): Quote outgoing name if
	necessary.  Preserve NONAME.
	(gen_lib_file): Run ranlib.
	(workout_prefix): Deleted.
	(main, usage, long_options): Add --as, --ranlib, --ar options.
1995-10-13 18:08:46 +00:00
Jeff Law 95037710ca * somsolib.c (som_solib_add): Just give a warning if a file
mentioned in the dld_list can't be found.
Warning seems more reasonable than croaking.

        * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP): Dig out
        the PC from the PC queues rather than %r31.
Fixes net bug.  Might also fix one of the hpux10 corefile.exp failures,
not sure (will test when I get back monday morning).
1995-10-13 17:05:53 +00:00
Michael Meissner a1fe883fd0 Rename trace to ppc_trace; Remove extra static. 1995-10-13 14:01:32 +00:00
Michael Meissner 9f5912cb98 Format #instructions with commas 1995-10-13 01:10:06 +00:00
Jeff Law 148070cca4 * corelow.c (core_open): Don't update the to_sections and
to_sections_end fields in core_ops here.  It's too late.
        * irix5-nat.c (solib_add): Update the to_sections and
        to_sections_end fields in core_ops here if needed.
        * osfsolib.c (solib_add): Likewise.
        * rs6000-nat.c (xcoff_reload_core): Likewise.
        * solib.c (solib_add): Likewise.
        * somsolib.c (solib_add): Likewise.
1995-10-12 23:26:06 +00:00
Michael Meissner a8958dd48b Performance tweaks 1995-10-12 21:49:37 +00:00
Michael Meissner 8e20a3ac82 Inline most things except semantics which causes GCC to balloon, and device{s,_tree} which causes a bug 1995-10-12 15:48:22 +00:00
Fred Fish 1c17c0902a * Makefile.in (VERSION): Bump version to 4.15.1 1995-10-12 00:29:59 +00:00
Fred Fish bf4e0fe736 * Makefile.in (VERSION): Version 4.15 released.
* README: Updated for version 4.15.
	* README.GDBTK: Updated for version 4.15
	* NEWS: Updated for 4.15 release.
1995-10-11 22:27:33 +00:00
Steve Chamberlain f051e1b0af Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com>
* dlltool.c (mtable): HOW_ALIGN_LONG, new.
	(d_ord): Deleted.
	(d_low_ord, d_high_ord, d_named_funcs): New.
	(gen_exp_file): Create noname entries correctly.
	(gen_lib_file): Dump exports alphabetically.
	(process_duplicates):  Count nonamed functions.
	(fill_ordinals): Keep track of highest ord too.
	(mangle_defs): Create alphabetically ordered list of names.
1995-10-11 20:40:45 +00:00
Michael Meissner dc904637db Use standard set of libs for powerpc-*-eabisim. 1995-10-11 20:19:44 +00:00
Michael Meissner dec38daceb October 11th changes from Andrew 1995-10-11 20:17:49 +00:00
Ian Lance Taylor ee9f09cd26 * elflink.h (elf_link_add_object_symbols): Correct conditions
under which type and size change warnings are issued.
1995-10-11 04:50:20 +00:00
Ian Lance Taylor 78b31b6bb8 x 1995-10-10 22:51:22 +00:00
Ian Lance Taylor d7731c7d2c * coffgen.c (coff_count_linenumbers): Don't count line numbers for
a symbol which is not in a real section.
	(coff_write_native_symbol): Corresponding change.
1995-10-10 22:49:38 +00:00
Ian Lance Taylor 5c6725cf59 * cofflink.c (_bfd_coff_link_hash_newfunc): Rename from
coff_link_hash_newfunc and make non-static.
	(_bfd_coff_link_hash_table_init): New function, broken out of
	_bfd_coff_link_hash_table_create.
	(_bfd_coff_link_hash_table_create): Use it.
	(process_embedded_commands): Make static.
	* libcoff-in.h ((_bfd_coff_link_hash_newfunc): Declare.
	(_bfd_coff_link_hash_table_init): Declare.

	* libcoff-in.h (struct xcoff_tdata): Add cputype field.
	* libcoff.h: Rebuild.
1995-10-10 22:47:49 +00:00
Ian Lance Taylor 091824ebcd * ldlang.c (lang_finish): Don't try to use an entry_symbol from a
section which was not linked into the final output.
PR 8172.
1995-10-10 21:54:24 +00:00
Fred Fish 17b90c4a61 * Makefile.in (BISON): Remove macro. 1995-10-10 20:44:07 +00:00
Fred Fish 479fc045cd * Makefile.in (BISONFLAGS): Remove macro. 1995-10-10 20:37:09 +00:00
Fred Fish 3f38d5c97e Document changes 1995-10-10 20:21:21 +00:00
Fred Fish 9c2c8c344b * Makefile.in (BISON): Remove macro definition.
(YACC):  Set from autoconfig.
        (FLAGS_TO_PASS):  Remove BISON.
        (TARGET_FLAGS_TO_PASS):  Remove BISON
1995-10-10 20:20:04 +00:00
Fred Fish 204c882538 Regenerate 1995-10-10 20:19:44 +00:00
Fred Fish 1e02f0789d Add AC_PROG_YACC 1995-10-10 20:19:37 +00:00
Steve Chamberlain eb708f2e7a Tue Oct 10 12:25:11 1995 steve chamberlain <sac@slash.cygnus.com>
* win32-nat.c (child_create_inferior): Pass argv correctly.
	* Makefile.in (win32-nat.o): Add dependencies.
1995-10-10 19:33:04 +00:00
Fred Fish 9dd7e56f74 * Makefile.in (FLAGS_TO_PASS): Remote BISON. 1995-10-10 19:23:54 +00:00
Steve Chamberlain ef1d2d2ebf * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix
fatal typos.
1995-10-10 17:21:18 +00:00
Steve Chamberlain be92df36be Tue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com>
* Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
1995-10-10 16:39:35 +00:00
Steve Chamberlain 5718164625 * complete.c (filename_completion_function): Enable for
win32 when not MSC.
1995-10-10 15:49:23 +00:00
Ian Lance Taylor 7db865dcad * config/tc-mips.c: Correct s_cons arguments. From Michael
Joosten <joost@ori.cadlab.de>.
1995-10-10 15:35:30 +00:00
Ian Lance Taylor 8235c11240 * elflink.h (elf_link_add_object_symbols): Don't warn about
changing the size or type if the old definition was weak.
1995-10-10 05:30:17 +00:00
Ian Lance Taylor 5caef232bd * ld.h (args_type): Add rpath_link field.
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for
	required dependencies in rpath_link path.  Only search
	LD_LIBRARY_PATH when configured native.
	* lexsup.c (parse_args): Recognize -rpath-link.
	* ld.1, ld.texinfo: Document -rpath-link.
1995-10-10 05:05:18 +00:00
Ian Lance Taylor 034fd45d55 build gas on AIX 1995-10-10 00:26:54 +00:00
Ian Lance Taylor 1b13e6fc49 * config/tc-ppc.c (ppc_macro): Make count unsigned.
(ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
	(ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
	the fix_line field.
	* config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
	make non-static.  Change all users.
	* config/obj-coff.h (coff_n_line_nos): Declare.
1995-10-10 00:25:16 +00:00
Ian Lance Taylor 49488f2b2d * coffcode.h (combined_entry_type): Add fix_line field.
(coff_slurp_line_table): Warn if we try to set the lineno field of
	a symbol twice.
	(coff_slurp_symbol_table): If RS6000COFF_C, handle C_BINCL and
	C_EINCL by setting fix_line.  Fix C_BSTAT symbol value.
	* coffgen.c (coff_mangle_symbols): Handle fix_line.
	(coff_write_symbol): Only use N_DEBUG if the symbol is in the
	absolute section.
	(coff_print_symbol): Print fix_value symbols in a useful fashion.
	* libcoff.h: Rebuild.
1995-10-09 23:32:22 +00:00
Steve Chamberlain 24e6097868 * NEWS: Add information about win32 and arm code.
* win32-nat.c: Renamed from win32.c
	* config/i386/win32.mh: Renamed from config/i386/i386win32.mh.
	* config/i386/win32.mt: Renamed from config/i386/i386win32.mt.
	* config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h.
	* config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h.
	* configure.in (i[345]86-*-win32): Updated to cope with filename changes.
	* configure: Regenerated.
1995-10-09 21:54:26 +00:00
Ian Lance Taylor a6d5af315d * configure.in: Stop putting binutils in noconfigdirs for
powerpc-*-aix* and rs6000-*-*.
1995-10-09 21:23:34 +00:00
Ian Lance Taylor 5f710a3a89 * libcoff-in.h (struct xcoff_tdata): Define.
(xcoff_data): Define.
	* bfd.c (struct _bfd): Add xcoff_obj_data field to tdata union.
	* bfd-in2.h, libcoff.h: Rebuild.
	* coff-rs6000.c (xcoff_mkobject): New static function.
	(coff_mkobject): Define.
	(xcoff_copy_private_bfd_data): New static function.
	(coff_bfd_copy_private_bfd_data): Define.
	(rs6000coff_howto_table): Change R_TOC complain_on_overflow from
	signed to bitfield.
	(rs6000coff_vec): Add DYNAMIC to object_flags.
	* coffcode.h (sec_to_styp_flags): If RS6000COFF_C, handle .pad and
	.loader sections specially.
	(coff_new_section_hook): If RS6000COFF_C, get the .text and .data
	section alignment from the XCOFF tdata information.
	(coff_mkobject_hook): If RS6000COFF_C, set DYNAMIC based on
	F_SHROBJ, and copy the extra a.out header information into the
	XCOFF tdata structure.
	(coff_write_object_contents): If RS6000COFF_C, set F_SHROBJ,
	F_DYNLOAD and the extra a.out header information.
	(coff_slurp_symbol_table): Set BSF_NOT_AT_END for a C_EXT or
	C_HIDEXT symbol with attached csect information.
	* coffswap.h (coff_swap_aouthdr_in): If RS6000COFF_C, swap
	in the o_maxdata field.
	(coff_swap_aouthdr_out): If RS6000COFF_C, swap extra XCOFF fields.
	* coffgen.c (coff_renumber_symbols): Don't move any symbol to the
	end if BSF_NOT_AT_END is set.
1995-10-09 21:19:53 +00:00
Steve Chamberlain 531f86b422 Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com>
* dlltool.c (add_underscore): New.
	(xlate): Use new name.
	(main, usage): Update.
1995-10-09 20:08:13 +00:00
Ian Lance Taylor b2a8627896 * internal.h (struct internal_aouthdr): Add o_maxdata field. 1995-10-09 18:50:11 +00:00
Ian Lance Taylor 01f873d2c7 * rs6000.h (AOUTHDR): Add o_maxdata field. Add comments.
(_PAD, _LOADER): Define.
	(STYP_LOADER): Define.
1995-10-09 18:46:30 +00:00
Michael Meissner adbc2f5521 Add support for building -mcall-aixdesc libraries. 1995-10-09 16:40:32 +00:00
Ian Lance Taylor 3f2c5b2d2f * coffcode.h (coff_slurp_symbol_table): Set BSF_NOT_AT_END for an
XCOFF XTY_LD symbol.
1995-10-09 15:40:38 +00:00
Ian Lance Taylor 0322af0d62 * targets.c (bfd_target): Rename _bfd_read_ar_hdr field to
_bfd_read_ar_hdr_fn.
	* libbfd-in.h (_bfd_read_ar_hdr): Update accordingly.
	* bfd-in2.h, libbfd.h: Rebuild.
	* archive.c (_bfd_get_elt_at_filepos): Cast _bfd_read_ar_hdr
	return value.
	(do_slurp_bsd_armap, do_slurp_coff_armap): Likewise.
	(bfd_slurp_bsd_armap_f2): Likewise.
	(_bfd_slurp_extended_name_table): Likewise.
1995-10-09 15:29:04 +00:00
Per Bothner 93f972b7de * ch-exp.y (yylex): Also look for '$' following '$'. 1995-10-09 01:00:09 +00:00
Peter Schauer 23de525f42 * configure.in: Explicitly `exit 0' for broken shells.
* configure:  Rebuilt.
1995-10-08 11:27:49 +00:00