Commit graph

23104 commits

Author SHA1 Message Date
Ian Lance Taylor
4af4a84ce0 Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
	relocs.
	(md_apply_fix_2): Force the symbol of the vtable reloc to be
	weak.
1998-07-09 16:10:28 +00:00
Jeff Law
1f0ba346eb * am33.igen: Add remaining non-DSP instructions.
Lots of work still remains.  PSW handing is probably broken badly and the
mul/mac classes of instructions are probably not handled correctly.
1998-07-09 16:09:24 +00:00
Ian Lance Taylor
035151d03b * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
* doc/Makefile.in: Rebuild.
1998-07-09 15:32:16 +00:00
Jeff Law
9c55817e66 * am33.igen (translate_rreg): New function. Use it as appropriate. 1998-07-09 00:24:57 +00:00
Jeff Law
377e53bb6b * am33.igen: More am33 instructions. Fix "div". 1998-07-08 22:33:35 +00:00
Jeff Law
d7cf212baf * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
for %lo expressions.
        (mips_ip, case 'u'): Move range check after code to mask
        off bits in %hi/%lo expressions.  Mask off high bits for
        %lo expressions.
pr16135
1998-07-08 18:25:52 +00:00
Ian Lance Taylor
ae2a2f6cc2 * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid
conflicts with system header files.  Change all uses.
1998-07-08 18:06:49 +00:00
Ian Lance Taylor
e566cb381e * Makefile.am (MAINTAINERCLEANFILES): Define.
* Makefile.in: Rebuild.
1998-07-08 18:03:30 +00:00
Jeff Law
ccd5eb2da9 * m10300-dis.c (disassemble): When printing RREGs and XRREGs, map
from raw register #s to symbolic names to make debugging easier.
1998-07-08 17:38:15 +00:00
Ian Lance Taylor
ab1d35b40c Wed Jul 8 11:29:56 1998 Manfred Hollstein <manfred@s-direktnet.de>
* coff-m88k.c (m88k_special_reloc): Don't lose the information
	that a symbol is undefined.
1998-07-08 15:30:31 +00:00
Andrew Cagney
9483af2c61 Add a printf fmt style version of sim_events_schedule.
This allows the caller to specify extra trace information that is
only evaluated when tracing is enabled.
1998-07-08 08:00:36 +00:00
Jeff Law
d76c93e68c * readelf.c (byte_get): Use PARAMS in prototype.
(error): Make it work with non-ANSI compilers.
        (warn): Likewise.
        (get_ver_flags): Don't use an ANSI prototype in the definition.
1998-07-08 03:55:07 +00:00
Jeff Law
3f4444e020 * som.c (som_bfd_gc_sections): Define. 1998-07-08 03:51:25 +00:00
Ian Lance Taylor
3964a18abe * Makefile.am (ldver.texi): New target.
(ld.info, ld.dvi): Depend upon ldver.texi.
	* ld.texinfo: Include ldver.texi.  Mention version number on title
	page and in top node.
	* Makefile.in: Rebuild.
1998-07-07 22:04:16 +00:00
Ian Lance Taylor
9107a66f2f * doc/Makefile.am (gasver.texi): New target.
(as.info, as.dvi): Depends upon gasver.texi.
	* doc/as.texinfo: Include gasver.texi.  Mention version number on
	title page and in top node.
	* doc/Makefile.in: Rebuild.
1998-07-07 21:58:52 +00:00
Ian Lance Taylor
57ea81b957 fix libtool 1.2b bug 1998-07-07 21:19:20 +00:00
Ian Lance Taylor
ac7f389da4 improve behaviour on SunOS 1998-07-07 20:23:27 +00:00
Ian Lance Taylor
99e9c6f741 * ltconfig, ltmain.sh: Update to libtool 1.2b. 1998-07-07 19:24:58 +00:00
Richard Henderson
ad0d51e38d * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
but not including the line containing the edict.
        * listing.h (LISTING_EOF): New.
        * input-scrub.c (input_scrub_next_buffer): Call it.

PR 14509
1998-07-07 18:46:38 +00:00
Ian Lance Taylor
d06fb99076 * objcopy.c (filter_bytes): Set size correctly if the size of the
section is not an even multiple of the interleave.  Based on patch
	from Brion Stone <Brion.Stone@attws.com>.
1998-07-07 17:27:00 +00:00
Ian Lance Taylor
5819d6324a Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (i386_operand): Don't set the size of an
 	immediate address based solely on the suffix and the mode.

	* config/tc-i386.c (md_assemble): Add assertion to make sure
	overlap2 does not set Imm.
1998-07-07 17:20:59 +00:00
Ian Lance Taylor
4edc93e913 Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (space_chars): Remove. The scrubber converts
	sequences of whitespace to a single space.
	(is_space_chars): Just compare with space.
	(md_begin): Don't initialize space_chars.
	(md_assemble): Just skip a single whitespace character.
	(i386_operand): Rewrite base-index parsing to use new
	parse_register, and to skip white space.  Skip white space in a
	number of other places too.  Don't give error message if
	parse_register fails.
	(parse_register): Change reg_string parameter to be non-const.
	Add end_op parameter.  Skip white space after the `%', and return
	end of register string.  Give error message here rather than
	caller.
1998-07-07 17:09:55 +00:00
Ron Unrau
89f015d750 symtab.c (find_pc_sect_psymbol) - handle address 0 better 1998-07-07 13:41:03 +00:00
Ian Lance Taylor
0378333b74 Rearrange ChangeLog files by years. 1998-07-06 22:27:28 +00:00
Ian Lance Taylor
41cae8d4ed Update for ChangeLog breakup. Remove gm sanitization; the stuff being
sanitized out was removed long ago.
1998-07-06 22:22:36 +00:00
Ian Lance Taylor
06fdc311e7 Rearrange ChangeLog files by years. 1998-07-06 22:08:05 +00:00
Jeff Law
d2b02ab22d * mn10300.igen: Add am33 support. 1998-07-06 22:02:02 +00:00
Jeff Law
135431cd7e * Makefile.in: Use multi-sim to support both a mn10300 and am33
simulator.
1998-07-06 21:57:22 +00:00
Jeff Law
658fb0c743 * sim-bits.h (EXTEND24): Define. 1998-07-06 21:55:37 +00:00
Jeff Law
3e75ff7efd * am33.igen: Add many more am33 instructions. 1998-07-06 21:41:06 +00:00
Ian Lance Taylor
53fc351582 * configure.tgt (i[3456]86-*-solaris*): New target. 1998-07-06 18:55:37 +00:00
Nick Clifton
384fff9c9b Do not complain about overflows in ARM_26D relocations, since they have already been performed.
Patch submitted by <rjb@dcs.gla.ac.uk>
1998-07-06 18:38:19 +00:00
Ian Lance Taylor
69c3ef085f * coffcode.h (coff_write_object_contents): If we have any long
section names, call coff_write_symbols even if there are no
	symbols.
1998-07-04 16:27:08 +00:00
Ian Lance Taylor
b58e666f2e * ldlang.c (wild_section): Don't get an assertion failure if the
section is discarded.
1998-07-03 22:10:22 +00:00
Ian Lance Taylor
7617a82283 * scripttempl/pe.sc: Use SORT to sort sections appropriately.
* emultempl/pe.em (sort_by_file_name): Remove.
	(sort_by_section_name): Remove.
	(sort_sections_1, sort_sections): Remove.
	(gld_${EMULATION_NAME}_before_allocation): Don't call
	sort_sections.
	(hold_section, hold_section_name): New static variables.
	(hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise.
	(gld_${EMULATION_NAME}_place_orphan): Rewrite.  Look for a good
	place to put the section.  Align the section.  Sort the input
	sections by name.
	(gld_${EMULATION_NAME}_place_section): New static function.
1998-07-03 21:52:58 +00:00
Ian Lance Taylor
6ccce8e82b * ldlang.c (wild_sort): When sorting by file name, sort by archive
name first.
1998-07-03 21:52:43 +00:00
Ian Lance Taylor
4d315b8660 * expr.c (op_encoding): Make const.
(expr_set_precedence): New function.
	(expr_begin): Don't set operator rankings, just call
	expr_set_precedence.
	* expr.h (expr_set_precedence): Declare.
	* read.c (s_mri): Call expr_set_precedence.
1998-07-03 19:55:44 +00:00
Ian Lance Taylor
115bb25d15 add missing word 1998-07-03 19:28:00 +00:00
Ian Lance Taylor
5b6ca067a8 * emultempl/pe.em (set_pe_subsystem): Don't call
ldlang_add_undef.
	(gld_${EMULATION_NAME}_after_parse): New static function.
	(ld_${EMULATION_NAME}_emulation): Use new after_parse function
	rather than after_parse_default.
1998-07-03 18:40:38 +00:00
Ian Lance Taylor
749c81f717 comment fixes 1998-07-03 18:40:17 +00:00
Ian Lance Taylor
b2529df1be * ldgram.y (extern_name_list): Do not require symbols to be
separated by commas.
	(ifile_p1): Add EXTERN.
	* ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI
	mode.
	* ld.texinfo (Options): Mention that EXTERN is equivalent to -u.
	(Miscellaneous Commands): Document EXTERN.
1998-07-03 18:25:46 +00:00
Ian Lance Taylor
369ee5df3e * elf.c (copy_private_bfd_data): Only set phdr_included oncde for
a PT_LOAD segment, rather than only setting it once for the entire
	file.

	* elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA,
	rather than ignoring every phdr with a p_paddr of 0, ignore all
	the phdrs if they all have a p_paddr of 0.
1998-07-03 17:45:52 +00:00
Ian Lance Taylor
81db6a9e28 * stabs.c (_bfd_write_stab_strings): Check whether the .stabstr
section was discarded from the link.
1998-07-03 17:12:22 +00:00
Joern Rennecke
a83a26f74a Brought over from sh4-980527-branch:
Fix for execute/va-arg-5.c -Os -mrelax -m4-single failure:
	* coff-sh.c (sh_insn_uses_freg): Ignore lowest bit of register number.
1998-07-03 13:43:16 +00:00
Joern Rennecke
0ea9d7bc70 Brought over from sh4-980527-branch:
Fix for execute/921208-1.c -Os -mrelax -m4-single failure:
	* coff-sh.c (sh_insns_conflict): Load of fpscr conflicts with
	floating point operations.
1998-07-03 13:40:08 +00:00
Ken Raeburn
5c1c32cae5 * lib/gas-defs.exp (gas_init): Complain if target name isn't in canonical form. 1998-07-03 03:10:58 +00:00
Doug Evans
039fa2c847 * cgen-sim.h (CPU_SCACHE): Make size unsigned.
(CPU_SCACHE_HASH_MASK): New macro.
	(SCACHE_HASH_PC): Rewrite.
	* genmloop.sh (engine_resume_{full,fast}): Move some of hash
	computation out of main loop.
1998-07-03 00:14:49 +00:00
Doug Evans
1b9ec81e15 * m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define. 1998-07-03 00:11:25 +00:00
Ian Lance Taylor
bf47f02283 * cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global
function symbols.
1998-07-02 22:40:45 +00:00
Ian Lance Taylor
20489f152f * doc/as.texinfo (Statements): Remove paragraph discussing
continuing lines with a backslash.  This hasn't worked for years,
	if it ever did.
1998-07-02 20:25:45 +00:00