Commit Graph

22319 Commits

Author SHA1 Message Date
Bill Moyer a4e5fd18f9 dlltool.c: Added support for IMPORTS.
dlltool.h:  Redefined declaration of def_import().
defparse.y: Redefined IMPORT rule.
1998-04-28 17:36:17 +00:00
Ian Lance Taylor 784492b591 * configure.in: Call AC_ISC_POSIX near start. Move CY_GNU_GETTEXT
after AC_PROG_CC.
	* aclocal.m4, configure: Rebuild with current tools.
Also add sanitization to ChangeLog.
1998-04-28 17:16:39 +00:00
Ian Lance Taylor 4139b063a6 add opintl.h 1998-04-28 17:12:30 +00:00
Ian Lance Taylor c0fde1019f * config/tc-hppa.c: Change all calls to bzero to use memset.
(pa_ip): Add cast to avoid warning.
	(tc_gen_reloc, md_apply_fix): Likewise.
	(pa_find_space_by_number): Likewise.
	(hppa_force_relocation): Likewise.
	(pa_block): Change i to unsigned int.
	* config/obj-som.h (obj_som_copyright): Declare.
1998-04-28 16:44:24 +00:00
Mark Alexander c7f6d44389 * config.sub: Recognize sparc86x. 1998-04-28 14:46:19 +00:00
Ian Lance Taylor 5e04ff140d remove PR numbers 1998-04-28 02:31:15 +00:00
Richard Henderson 4d6f96ebe7 * elf.c (assign_file_positions_for_segments): Allow for holes
between sections added by a link script.

PR 15645
1998-04-28 01:03:42 +00:00
Ian Lance Taylor c91a48dd42 * bfdint.texi: New file.
* Makefile.am (noinst_TEXINFOS): New variable.
	* Makefile.in: Rebuild.
1998-04-28 00:20:27 +00:00
Nick Clifton 240f5c9faa Added Internationalisation macros to English text strings. 1998-04-28 00:07:48 +00:00
Doug Evans d9e3a135fa * cpu.c,model.c,sem-switch.c,sem.c: Regenerated. Mostly comment
and variable renaming due to macro insn additions.
	* mloop.in: Update to use CGEN_INSN_NUM.
	* cpu.x,modelx.c,readx.c,semx.c: Regenerated.
	* mloopx.in: Update to use CGEN_INSN_NUM.
1998-04-27 22:42:22 +00:00
Doug Evans e926707c80 * cpu.c,model.c,sem-switch.c,sem.c: Regenerated. Mostly comment
and variable renaming due to macro insn additions.
	* mloop.in: Update to use CGEN_INSN_NUM.
	* cpu.x,modelx.c,readx.c,semx.c: Regenerated.
	* mloopx.in: Update to use CGEN_INSN_NUM.
1998-04-27 22:41:32 +00:00
Mark Alexander 07f4558723 * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,
make it work on the simulator.
	(FIX_CALL_DUMMY): Convert to function call instead of inline code.
	(sparc_fix_call_dummy): Declare.
	* sparc-tdep.c (sparc_fix_call_dummy): New function, taken from
	old FIX_CALL_DUMMY macro, with additional fixes for simulator.
	(sparc_push_dummy_frame): Set registers differently on simulator
	to prevent corrupted register window save areas.
1998-04-27 22:19:46 +00:00
Nick Clifton 072aa625aa Internationalised the opcodes library. 1998-04-27 21:39:56 +00:00
John Metzler adc176bb64 Mon Apr 27 13:46:40 1998 John Metzler <jmetzler@cygnus.com>
* rom68k-rom.c (_initialize_rom68k init_rom68k_cmds):
	* abug-rom.c (_initialize_abug_rom init_abug-cmds):
	* cpu32bug-rom.c (_initialize_cpu32bug_rom init_cpu32bug_cmds):
	* mon960-rom.c (initialize_mon960 init_mon960_cmds):
	* op50-rom.c (initialize_op50n  init_op50n_cmds) :
	* ppcbug-rom.c (_initialize_ppcbug_rom init_ppc_cmds) :
	* sh3-rom.c (_initialize_sh3_rom init_sh3_cmds) :
	* sparclet-rom.c (_initialize_sparcletinit_sparclet_cmds ) :
	* remote-est.c ( _initialize_est  init_est_cmds) :
	* remote-hms.c (  _initialize_remote_hms  init_hms_cmds) :
	  Convert all static initializations of monitor ops structures to
 	executable initializations in oreer tat additions to the data structure
	definition can me made without repeating this editing exercise
1998-04-27 21:11:07 +00:00
Ian Lance Taylor cc4f98f55e * configure.in: Change version number to 2.9.4
* configure: Rebuild.
1998-04-27 20:50:54 +00:00
Ian Lance Taylor 5b10df4a85 * configure.in: Change version number to 2.9.4
* configure: Rebuild.
1998-04-27 20:42:00 +00:00
Doug Evans 1294c286cb * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. 1998-04-27 20:10:40 +00:00
Ian Lance Taylor b6177e139c * configure.in: Change version number to 2.9.4
* configure: Rebuild.
1998-04-27 19:59:14 +00:00
Ian Lance Taylor d510976d2a * configure.in: Change version number to 2.9.4
* configure: Rebuild.
1998-04-27 19:44:13 +00:00
Doug Evans f2980bb478 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
* config/tc-m32r.c (assemble_parallel_insn): No need to try
	non-relaxable variant any more.  Simplify test for nop insn.
	(md_assemble): Only scan operands if m32rx.  Set orig_insn in case
	scan of operands yields an insn different from original (e.g. a macro).
	Fix call to can_make_parallel.
1998-04-27 19:36:06 +00:00
Ian Lance Taylor 567a6d7d95 * ecoff.h: Change symbolS in function declaration to struct
symbol.
1998-04-27 19:17:00 +00:00
Doug Evans 041d7e18a9 tweak comment 1998-04-27 17:49:54 +00:00
Doug Evans 2613b5e63d * cgen-asm.c (cgen_current_opcode_table): Renamed from ..._data.
(asm_hash_table_entries): New variable.
	(cgen_asm_init): Free asm_hash_table_entries.
	(hash_insn_array,hash_insn_list): New functions.
	(build_asm_hash_table): Use them.  Hash macro insns as well.
	(cgen_asm_lookup_insn): Update.
	* cgen_dis.c (cgen_current_opcode_table): Renamed from ..._data.
	(dis_hash_table_entries): New variable.
	(cgen_dis_init): Free dis_hash_table_entries.
	(hash_insn_array,hash_insn_list): New functions.
	(build_dis_hash_table): Use them.  Hash macro insns as well.
	(cgen_dis_lookup_insn): Update.
	* cgen-opc.c (cgen_current_opcode_table): Renamed from ..._data.
	(cgen_set_cpu,cgen_hw_lookup,cgen_insn_count): Update.
	(cgen_macro_insn_count): New function.
	* cgen-opc.in (@arch@_cgen_lookup_insn): New arg alias_p.
	All callers updated.  Sanity check result of extract fn.
	(@arch@_cgen_get_insn_operands): Change result type to void.
	Delete args insn_value, length.  New arg fields.  All callers updated.
	(@arch@_cgen_lookup_get_insn_operands): New function.
1998-04-27 17:48:05 +00:00
Jason Molenda a9eeaad765 Mon Apr 27 10:43:04 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gdb_string.h (strdup): Don't specify arguments in prototype.
1998-04-27 17:44:26 +00:00
Doug Evans 030f419b08 * cgen.h (CGEN_ATTR_TYPE): Delete `const', moved to uses.
(cgen_asm_finish_insn): Update prototype.
	(cgen_insn): New members num, data.
	(CGEN_INSN_TABLE): Members asm_hash, asm_hash_table_size,
	dis_hash, dis_hash_table_size moved to ...
	(CGEN_OPCODE_TABLE).  Here.  Renamed from CGEN_OPCODE_DATA.
	All uses updated.  New members asm_hash_p, dis_hash_p.
	(CGEN_MINSN_EXPANSION): New struct.
	(cgen_expand_macro_insn): Declare.
	(cgen_macro_insn_count): Declare.
	(get_insn_operands): Update prototype.
	(lookup_get_insn_operands): Declare.
1998-04-27 17:31:38 +00:00
Ian Lance Taylor 6581c418e3 * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf. 1998-04-27 16:40:18 +00:00
Ian Lance Taylor d091d2ab3b x 1998-04-27 16:15:36 +00:00
Ian Lance Taylor bef28bc98a * emultempl/elf32.em (global_vercheck_needed): New file static
variable.
	(global_vercheck_failed): New file static variable.
	(gld${EMULATION_NAME}_after_open): Check for shared libraries
	twice, once with force set to 0 and once with it set to 1.
 	(gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter.
	Change all callers.
	(gld${EMULATION_NAME}_search_needed): Likewise.
	(gld${EMULATION_NAME}_try_needed): Likewise.  If not force, check
	whether the libraries needs any incompatible versions.
	(gld${EMULATION_NAME}_vercheck): New static function.
1998-04-27 16:14:37 +00:00
Ian Lance Taylor 0d3887ba8f Based on patch from H.J. Lu <hjl@gnu.org>:
* elf.c (bfd_elf_get_bfd_needed_list): New function.
	* bfd-in.h (bfd_elf_get_bfd_needed_list): Declare.
	* bfd-in2.h: Rebuild.
1998-04-27 15:51:27 +00:00
Andrew Cagney f68cdf65e8 Clean up cell types. 1998-04-27 07:13:00 +00:00
Tom Tromey 5da9ce07eb * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* acconfig.h: New file.
	* configure.in: Reverted change of Apr 24; use sinclude again.
1998-04-26 22:03:55 +00:00
Tom Tromey b29daf0287 * Makefile.in (autoconf-common autoheader-common): Don't pass -l
to autoconf and autoheader.
1998-04-26 21:44:25 +00:00
Tom Tromey 59fb349750 * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* acconfig.h: New file.
	* configure.in: Reverted change of Apr 24; use sinclude again.
	Don't call AC_C_CROSS.
1998-04-26 21:43:25 +00:00
Tom Tromey 56df89bcf6 * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* acconfig.h (NEED_DECLARATION_PRINTF): Removed.
1998-04-26 21:39:16 +00:00
Ian Lance Taylor 25b5beb81a * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
(md_convert_frag): Fix i18n typo.
1998-04-26 17:45:34 +00:00
Peter Schauer 8b150a6b18 * rs6000-nat.c (vmap_ldinfo): Issue warning instead of error if
fstat on ldinfo_fd fails.  Use objfile->obfd instead of vp->bfd
	to check for reference to the same file.

	* target.c (target_read_string):  Handle string transfers at the
	end of a memory section gracefully.
1998-04-26 14:59:48 +00:00
Richard Henderson 94fa695eca * ecoff.c (ecoff_get_cur_proc_sym): New function.
* ecoff.h: Protoype it.
        * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
        [EVAX] (s_alpha_prologue): Delete.
        (md_pseudo_table): Update.
1998-04-26 03:15:37 +00:00
Richard Henderson dbcd157d76 * elf64-alpha.c (struct alpha_relax_info): Replace elfsym with other.
Change all users.
1998-04-26 03:09:20 +00:00
Richard Henderson 2506b5688c * elf64-alpha.c (struct alpha_relax_info): Add tsec & elfsym members.
(elf64_alpha_relax_section): Fill them in.
        (elf64_alpha_relax_opt_call): Implement more than a stub.
        (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default
        alignment on .scommon.
        (elf64_alpha_merge_gots): Merge use counts as well.
1998-04-26 01:33:51 +00:00
Richard Henderson 986c3691f2 * elf64-alpha.c (elf64_alpha_relax_section): Use the proper section
for calculating a local symbol's address.
        (elf64_alpha_calc_got_offsets): Skip entries with 0 use count.
        Set the .got's cooked size as well as the raw size.
1998-04-25 21:10:01 +00:00
Ian Lance Taylor ad7302a081 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
array to local pointer.
	(get_args, parse_expr): Add casts to avoid warnings.
1998-04-25 18:02:12 +00:00
Geoffrey Noer 6ef37205d9 Fri Apr 24 17:18:56 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: enable EXEEXT setting
1998-04-25 00:20:45 +00:00
Tom Tromey 7c9e17390b * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* acconfig.h: Removed.
	* configure.in: Call CY_GNU_GETTEXT.
	* Makefile.in (INTLLIBS): New macro.
	(INTLDEPS): Likewise.
	($(RUN_PROG)): Depend on INTLDEPS; link against INTLLIBS.
	(top_builddir): New macro.
1998-04-24 22:12:15 +00:00
Tom Tromey ead653821c * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* configure.in: Don't call sinclude.
1998-04-24 22:02:29 +00:00
Tom Tromey 6bded866f0 * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* configure.in: Don't call sinclude.
1998-04-24 21:45:01 +00:00
Tom Tromey c2816431f1 * Makefile.in (autoconf-common autoheader-common): Pass `-l
../common' to autoconf and autoheader.  Unconditionally run
	autoconf in every subdir.
	(autoconf-changelog autoheader-changelog): Unconditionally run
	commands in every subdir.
	(autoconf-install autoheader-install): Likewise.
1998-04-24 21:00:29 +00:00
Tom Tromey cbd15dc12a * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* configure.in: Don't call sinclude.
1998-04-24 20:57:53 +00:00
Tom Tromey a2eb9d2751 * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* Makefile.in (top_builddir): New macro.
	(INTLLIBS): New macro.
	(INTLDEPS): Likewise.
	(psim): Depend on INTLDEPS; link against INTLLIBS.
	* configure.in: Call CY_GNU_GETTEXT.
1998-04-24 20:55:51 +00:00
Tom Tromey fc4198bbb5 * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* acconfig.h: New file.
	* Make-common.in (top_builddir): New macro.
	(INTL_LIB): Removed.
	(INTLLIBS): New macro.
	(INTLDEPS): Likewise.
	(LIBDEPS): Use INTLDEPS.
	(EXTRA_LIBS): Use INTLLIBS.
	* aclocal.m4 (SIM_AC_COMMON): Call CY_GNU_GETTEXT.
	(CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST,
	AM_LC_MESSAGES): New macros from GNU gettext.
1998-04-24 20:51:56 +00:00
Tom Tromey b1df34b9ed * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* configure.in: Don't call sinclude.
1998-04-24 20:39:48 +00:00