Binutils with MCST patches
Go to file
Ian Lance Taylor 0351b70c21 Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
	likewise for REPE.

	* config/tc-i386.c (reloc): Add braces.

	* config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
	consistent with Intel naming.
	* config/tc-i386.h (base_index_byte): Rename to sib_byte.  Don't
	use bitfields in sib_byte.
	(modrm_byte): Don't use bitfields here either.

	* config/tc-i386.c (current_templates): Add const.
	(parse_register): Add const to return, param, and char *s.
	(i386_operand): Add const to reg_entry *r.
	* config/tc-i386.h (templates): Add const to start, end.

	Inspired by code for 16 bit gas support from Martynas Kunigelis
	<martynas@nm3.ktu.lt>:
	* config/tc-i386.c (md_assemble): Add full support for 16 bit
	modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
	(uses_mem_addrmode): Remove.
	(md_estimate_size_before_relax): Add support here too.
	(md_relax_table): Rewrite interface to md_relax for 16 bit
	support.
	(BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
	(opcode_suffix_to_type): Remove.
	(CODE16, SMALL, SMALL16, BIG, BIG16): Define.
	(SIZE_FROM_RELAX_STATE): Modify to suit above.
	(md_convert_frag): Likewise.
	(i386_operand): Add support for 16 bit base/index regs,
	immediates, and displacements.  Remove some unnecessary casts, and
	localise end_of_operand_string, displacement_string_start,
	displacement_string_end variables.  Add GCC_ASM_O_HACK.
	* config/tc-i386.h (NO_BASE_REGISTER_16): Define.

	* config/tc-i386.c (prefix_hash): Remove.
	(md_begin): Rewrite without obstacks.  Remove prefix hash table
	handling.  Rewrite lexical table handling.
	(i386_print_statistics): Don't print prefix statistics.
	(md_assemble): Rewrite instruction parser so that line is not
	converted to lower case.  Don't do a hash_find for prefixes,
	instead recognise them via opcode modifier.
	(expecting_operand, paren_not_balanced): Localise variables.
	* config/tc-i386.h (IsPrefix): Define.
	(prefix_entry): Remove.

	* config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
	* config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
	'\\' in case where comment_chars contains '/'.

	* config/tc-i386.c (MATCH): Ensure given operand and template
	match for JumpAbsolute.  Makes e.g. `ljmp table(%ebx)' invalid;
	you must write `ljmp *table(%ebx)'.

	From H.J. Lu <hjl@gnu.org>:
	* config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
	as 0 ifndef BFD_ASSEMBLER.
	(md_assemble): Allow immediate operands without suffix or
	other reg operand to default in size to the current code size.
1998-06-08 17:06:00 +00:00
bfd Add prototypes. 1998-06-06 07:42:09 +00:00
binutils * objcopy.c (setup_section): Adjust the section size if copy_byte 1998-06-05 22:44:15 +00:00
config add acinclude.m4 to things-to-lose 1998-05-30 19:36:31 +00:00
gas Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au> 1998-06-08 17:06:00 +00:00
gdb * dbxread.c (read_dbx_symtab): Don't lower texthigh for last psymtab. 1998-06-05 20:57:54 +00:00
gprof * po/Make-in (install-info): New target. 1998-05-11 04:36:09 +00:00
include Mon Jun 8 12:15:52 1998 Alan Modra <alan@spri.levels.unisa.edu.au> 1998-06-08 16:20:19 +00:00
intl * Makefile.in (distclean): Remove config.log. 1998-05-26 22:29:54 +00:00
ld * configure.tgt (dvp-*-*): Set targ_emul=elf32l5900. 1998-06-05 23:00:19 +00:00
mmalloc
opcodes Fri Jun 5 23:47:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au> 1998-06-06 03:54:24 +00:00
readline * sysdep-6irix.h: New file. 1998-05-13 17:43:33 +00:00
sim Added support for the VU insn D (debug) & T (trace) bits. 1998-06-04 20:50:55 +00:00
.Sanitize Sanitize Java. 1998-05-15 19:47:04 +00:00
Build-A-Release.mk
ChangeLog * config.sub: Accept m68060 and m5200 as CPU names. 1998-06-03 18:52:10 +00:00
config-ml.in
config.guess * config.guess: More accurate determination of HP processor types. 1998-01-28 06:16:52 +00:00
config.sub Fix vr4320 sanitization. 1998-03-04 21:03:29 +00:00
configure
configure.bat
configure.in * configure.in: Use && rather than using -a in test, because odd 1998-06-01 21:29:21 +00:00
DOC.Sanitize
install-sh
install-texi.in
Install.in
intro.texi
ltconfig * ltconfig, ltmain.sh: Avoid producing a version number if 1998-05-07 21:28:06 +00:00
ltmain.sh * ltconfig, ltmain.sh: Avoid producing a version number if 1998-05-07 21:28:06 +00:00
makeall.bat
Makefile.in * Makefile.in: Add dependencies for boehm-gc to libjava. 1998-05-06 17:26:30 +00:00
makefile.vms
mpw-build.in
mpw-config.in
mpw-configure
mpw-README
Pack-A-Progressive
setup.com
tape-labels-tex.in
test-build.mk