12a6b7db3SskrllWed Dec 31 12:29:47 1997  Jeffrey A Law  (law@cygnus.com)
22a6b7db3Sskrll
32a6b7db3Sskrll	* config/tc-mn10200.c (md_relax_table): Correct branch ranges.
42a6b7db3Sskrll
52a6b7db3SskrllMon Dec 22 13:06:05 1997  Joel Sherrill  <joel@oarcorp.com>
62a6b7db3Sskrll
72a6b7db3Sskrll	* configure.in (i386*-go32-rtems*): Fix to be the same as
82a6b7db3Sskrll	i[3456]86-go32.
92a6b7db3Sskrll	* configure: Rebuild.
102a6b7db3Sskrll
112a6b7db3SskrllMon Dec 22 12:54:07 1997  Ian Lance Taylor  <ian@cygnus.com>
122a6b7db3Sskrll
132a6b7db3Sskrll	* config/tc-mips.c (macro): The 4650 doesn't permit M_LDC1_AB,
142a6b7db3Sskrll	M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB, or M_S_DOB.
152a6b7db3Sskrll	(mips_ip): Always check for FP_D, not just for instructions that
162a6b7db3Sskrll	are not part of the regular ISA.
172a6b7db3Sskrll
182a6b7db3SskrllThu Dec 18 16:49:28 1997  Richard Henderson  <rth@cygnus.com>
192a6b7db3Sskrll
202a6b7db3Sskrll	* config/tc-d10v.c (build_insn): Make `number' a long for 64-bit hosts.
212a6b7db3Sskrll
222a6b7db3SskrllThu Dec 18 16:42:57 1997  Richard Henderson  <rth@cygnus.com>
232a6b7db3Sskrll
242a6b7db3Sskrll	* config/tc-alpha.c (cpu_types): 21164pc/pca56 does not have CIX.
252a6b7db3Sskrll
262a6b7db3SskrllWed Dec 17 21:23:07 1997  Jeffrey A Law  (law@cygnus.com)
272a6b7db3Sskrll
282a6b7db3Sskrll	* expr.c (integer_constant 32bit bignum): Mask off bits outside
292a6b7db3Sskrll	the range we care about.
302a6b7db3Sskrll
312a6b7db3SskrllWed Dec 17 15:29:03 1997  Michael Meissner  <meissner@cygnus.com>
322a6b7db3Sskrll
332a6b7db3Sskrll	* config/tc-d30v.c (md_shortopts): Add 'n' and 'N' options.
342a6b7db3Sskrll	(exec_type_enum): Enumeration giving all of the exec types.
352a6b7db3Sskrll	(warn_nops): New static variable to give nop warning level.
362a6b7db3Sskrll	({cur,prev}_mul32_p): New static variable to keep track of whether
372a6b7db3Sskrll	the current/previous instruction is a 32-bit multiply.
382a6b7db3Sskrll	(Optimizing): Make static.
392a6b7db3Sskrll	(NOP{2,_LEFT,_RIGHT}): Macros for word of nops and left/right
402a6b7db3Sskrll	nops.
412a6b7db3Sskrll	(d30v_insert_operand): Delete declaration of unused function.
422a6b7db3Sskrll	(write_2_short): Make exec_type argument enum, not int.
432a6b7db3Sskrll	(parallel_ok): Ditto.
442a6b7db3Sskrll	(check_range): Delete unused variable(s).
452a6b7db3Sskrll	(build_insn): Ditto.
462a6b7db3Sskrll	(find_format): Ditto.
472a6b7db3Sskrll	(md_apply_fix3): Ditto.
482a6b7db3Sskrll	(md_show_usage): Document -n and -N.
492a6b7db3Sskrll	(md_parse_option): Parse -n and -N.
502a6b7db3Sskrll	(write_1_short): If -n, warn about adding a nop.  Use
512a6b7db3Sskrll	NOP_{LEFT,RIGHT}.
522a6b7db3Sskrll	(write_2_short): Use enumeration values instead of hard coded
532a6b7db3Sskrll	integers.  Reset exec_type for default operations.  For explicit
542a6b7db3Sskrll	parallel operations, call parallel_ok to make sure everything is
552a6b7db3Sskrll	ok.  If writing out a parallel operation, and the previous
562a6b7db3Sskrll	instruction was a 32-bit multiply, indicate current instruction
572a6b7db3Sskrll	is.
582a6b7db3Sskrll	(parallel_ok): Allow add/tx ... to be done in parallel with
592a6b7db3Sskrll	another add/tx ... assuming the gpr registers don't overlap.
602a6b7db3Sskrll	(md_assemble): Use exec type enumeration values, not hard coded
612a6b7db3Sskrll	ints.  Check for loads or 16-bit multiplies following in the next
622a6b7db3Sskrll	cycle after a 32-bit multiply.  Add nops if that is the case.
632a6b7db3Sskrll	(do_assemble): Copy prev_mul32_p to cur_mul32_p, and set
642a6b7db3Sskrll	cur_mul32_p if current instruction is a 32-bit multiply.
652a6b7db3Sskrll	(find_format): Change spacing and layout.
662a6b7db3Sskrll
672a6b7db3SskrllTue Dec 16 16:55:45 1997  Fred Fish  <fnf@cygnus.com>
682a6b7db3Sskrll
692a6b7db3Sskrll	* config/tc-tic80.c (tic80_relax): New static variable.
702a6b7db3Sskrll	(md_longopts): Add new OPTION_RELAX and OPTION_NO_RELAX options.
712a6b7db3Sskrll	(md_parse_option): Handle new relax options.
722a6b7db3Sskrll	(md_show_usage): Document new relax options.
732a6b7db3Sskrll	(find_opcode): Don't use short forms of PC relative branches if
742a6b7db3Sskrll	tic80_relax is set.
752a6b7db3Sskrll
762a6b7db3SskrllTue Dec 16 15:26:03 1997  Michael Meissner  <meissner@cygnus.com>
772a6b7db3Sskrll
782a6b7db3Sskrll	* config/tc-d30v.c (parallel_ok): Remove non-register bits from
792a6b7db3Sskrll	used/set flag fields.  Make flag vars unsigned long.  Use
802a6b7db3Sskrll	FLAG_A{0,1} for accumulators.  Allow any 2 insns to be done in
812a6b7db3Sskrll	parallel if they use the same conditional flag with reversed
822a6b7db3Sskrll	meaning.  Allow 2 add/sub insns that set the carry or overflow
832a6b7db3Sskrll	flags but do not query them to be done in parallel.  Don't allow 2
842a6b7db3Sskrll	word store operations to be done in parallel with ADDppp or
852a6b7db3Sskrll	SUBppp.  Don't allow loads to be done in parallel with 16 bit
862a6b7db3Sskrll	multiplies.
872a6b7db3Sskrll
882a6b7db3SskrllTue Dec 16 09:20:43 1997  Nick Clifton  <nickc@cygnus.com>
892a6b7db3Sskrll
902a6b7db3Sskrll	* config/tc-arm.c: Prevent use of interworking support for
912a6b7db3Sskrll	non-COFF targets.
922a6b7db3Sskrll
932a6b7db3SskrllMon Dec 15 15:20:32 1997  Nick Clifton  <nickc@cygnus.com>
942a6b7db3Sskrll
952a6b7db3Sskrll	* doc/all.texi: Add M32R cpu.
962a6b7db3Sskrll
972a6b7db3Sskrll	* doc/as.texinfo: Add documentation of m32r processor.
982a6b7db3Sskrll
992a6b7db3Sskrll	* doc/c-m32r.texi: New file, documenting m32r specific features.
1002a6b7db3Sskrll
1012a6b7db3SskrllMon Dec 15 10:32:28 1997  Jeffrey A Law  (law@cygnus.com)
1022a6b7db3Sskrll
1032a6b7db3Sskrll	* config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
1042a6b7db3Sskrll	the instruction.
1052a6b7db3Sskrll
1062a6b7db3SskrllFri Dec 12 11:44:20 1997  Fred Fish  <fnf@cygnus.com>
1072a6b7db3Sskrll
1082a6b7db3Sskrll	* config/tc-tic80.c (build_insn): Handle instructions that have
1092a6b7db3Sskrll	long (32 bit) PC relative offsets.  Fix places that previously
1102a6b7db3Sskrll	misused R_MPPCR for 15 bit offsets to use the new R_MPPCR15W type.
1112a6b7db3Sskrll	(md_apply_fix): Add case to handle long PC relative offsets.
1122a6b7db3Sskrll
1132a6b7db3SskrllFri Dec 12 10:35:01 1997  Nick Clifton  <nickc@cygnus.com>
1142a6b7db3Sskrll
1152a6b7db3Sskrll	* doc/c-arm.texi (ARM Options): Document support for new ARM
1162a6b7db3Sskrll	processor names.
1172a6b7db3Sskrll
1182a6b7db3Sskrll	* config/tc-arm.c (md_parse_option): Add support for new ARM
1192a6b7db3Sskrll	processor names.
1202a6b7db3Sskrll
1212a6b7db3SskrllThu Dec 11 17:46:50 1997  Richard Henderson  <rth@cygnus.com>
1222a6b7db3Sskrll
1232a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
1242a6b7db3Sskrll	(insop, m68k_ip): Make `opcode' const so it doesn't happen again.
1252a6b7db3Sskrll
1262a6b7db3SskrllFri Dec  5 11:23:59 1997  Nick Clifton  <nickc@cygnus.com>
1272a6b7db3Sskrll
1282a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Fix BFD_RELOC_32 against a
1292a6b7db3Sskrll	symbol + offset.
1302a6b7db3Sskrll
1312a6b7db3Sskrll	* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Use
1322a6b7db3Sskrll	SHT_V850_{S|T|Z}COMMON to mark special common sections.
1332a6b7db3Sskrll
1342a6b7db3SskrllTue Dec  2 17:05:13 1997  Nick Clifton  <nickc@cygnus.com>
1352a6b7db3Sskrll
1362a6b7db3Sskrll	* config/tc-v850.c: Brought up to date with the branch.
1372a6b7db3Sskrll
1382a6b7db3SskrllMon Dec  1 20:24:18 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
1392a6b7db3Sskrll
1402a6b7db3Sskrll	* config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
1412a6b7db3Sskrll	(SWITCH_TABLE): Handle BFD_RELOC_8.
1422a6b7db3Sskrll	(md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
1432a6b7db3Sskrll	(coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
1442a6b7db3Sskrll	(sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
1452a6b7db3Sskrll
1462a6b7db3SskrllSat Nov 22 16:19:22 1997  Richard Henderson  <rth@cygnus.com>
1472a6b7db3Sskrll
1482a6b7db3Sskrll	* config/tc-alpha.c (range_signed_16, range_signed_32): Work around an
1492a6b7db3Sskrll	apparent bug in gcc's long long support crossing from x86.
1502a6b7db3Sskrll
1512a6b7db3SskrllSat Nov 22 14:26:09 1997  Nick Clifton  <nickc@cygnus.com>
1522a6b7db3Sskrll
1532a6b7db3Sskrll	* config/tc-arm.c: Brought up to date with latest changes on arm
1542a6b7db3Sskrll	branch.
1552a6b7db3Sskrll
1562a6b7db3SskrllSat Nov 22 15:50:09 1997  Klaus Kaempf  <kkaempf@progis.de>
1572a6b7db3Sskrll
1582a6b7db3Sskrll	* config-gas.com: Get version info from configure.in.
1592a6b7db3Sskrll
1602a6b7db3Sskrll	* makefile.vms: include depend.obj in OBJS.
1612a6b7db3Sskrll
1622a6b7db3Sskrll	* config/tc-alpha.c (s_alpha_section): Remove ".lcomm" handling.
1632a6b7db3Sskrll
1642a6b7db3Sskrll	* config/tc-alpha.c (alpha_basereg_clobbered): Remove variable and
1652a6b7db3Sskrll	all corresponding code.
1662a6b7db3Sskrll
1672a6b7db3SskrllThu Nov 20 15:06:08 1997  Richard Earnshaw <rearnsha@arm.com>
1682a6b7db3Sskrll
1692a6b7db3Sskrll	* config/tc-arm.h (TARGET_FORMAT for generic a.out targets): Allow
1702a6b7db3Sskrll	run-time endian selection.
1712a6b7db3Sskrll
1722a6b7db3SskrllWed Nov 19 17:44:42 1997  Richard Henderson  <rth@cygnus.com>
1732a6b7db3Sskrll
1742a6b7db3Sskrll	* config/tc-sh.c (parse_reg): Properly quote for fv4.
1752a6b7db3Sskrll
1762a6b7db3SskrllWed Nov 19 23:46:18 1997  Ian Lance Taylor  <ian@cygnus.com>
1772a6b7db3Sskrll
1782a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Add missing breaks in case on
1792a6b7db3Sskrll	symbol value operator.
1802a6b7db3Sskrll
1812a6b7db3SskrllTue Nov 18 18:45:14 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
1822a6b7db3Sskrll
1832a6b7db3Sskrll	* config/tc-d10v.c (parallel_ok, find_opcode):
1842a6b7db3Sskrll	Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
1852a6b7db3Sskrll
1862a6b7db3SskrllSun Nov 16 10:05:07 1997  Fred Fish  <fnf@cygnus.com>
1872a6b7db3Sskrll
1882a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Cast second arg of
1892a6b7db3Sskrll	md_apply_fix3 call to type "valueT *".
1902a6b7db3Sskrll
1912a6b7db3SskrllThu Nov 13 13:53:10 1997  Andrew Cagney  <cagney@b1.cygnus.com>
1922a6b7db3Sskrll
1932a6b7db3Sskrll	* configure.in (emulations): Make FreeBSD an aout / i386bsd
1942a6b7db3Sskrll	variant.
1952a6b7db3Sskrll	* configure: Re-generate.
1962a6b7db3Sskrll
1972a6b7db3SskrllThu Nov 13 11:07:14 1997  Gavin Koch  <gavin@cygnus.com>
1982a6b7db3Sskrll
1992a6b7db3Sskrll	* config/tc-mips.c (macro_build): Use the membership field
2002a6b7db3Sskrll	for INSN_MACRO's.
2012a6b7db3Sskrll	(mips_ip): Same.
2022a6b7db3Sskrll
2032a6b7db3SskrllThu Nov 13 02:04:55 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
2042a6b7db3Sskrll
2052a6b7db3Sskrll	* config/tc-d10v.c (find_opcode): For OPCODE_FAKE, add check for
2062a6b7db3Sskrll	first argument if it's supposed to be a register.
2072a6b7db3Sskrll
2082a6b7db3SskrllTue Nov 11 19:25:05 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
2092a6b7db3Sskrll
2102a6b7db3Sskrll	* app.c (do_scrub_chars):  If d10v, re-insert a space before
2112a6b7db3Sskrll	a '#' when in state 10.
2122a6b7db3Sskrll
2132a6b7db3SskrllTue Nov 11 13:33:15 1997  Ian Lance Taylor  <ian@cygnus.com>
2142a6b7db3Sskrll
2152a6b7db3Sskrll	* config/tc-h8300.c: Include "subsegs.h".
2162a6b7db3Sskrll	(tc_reloc_mangle): Handle references to symbols which are not
2172a6b7db3Sskrll	being output, so that references to `.' work.
2182a6b7db3Sskrll
2192a6b7db3SskrllMon Nov 10 13:43:33 1997  Ian Lance Taylor  <ian@cygnus.com>
2202a6b7db3Sskrll
2212a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Call add_fix when needed for '_'
2222a6b7db3Sskrll	case.
2232a6b7db3Sskrll
2242a6b7db3Sskrll	* macro.c (sub_actual): If we don't find a parameter for an &,
2252a6b7db3Sskrll	just substitute &.
2262a6b7db3Sskrll
2272a6b7db3SskrllFri Nov  7 21:29:32 1997  Ken Raeburn  <raeburn@cygnus.com>
2282a6b7db3Sskrll
2292a6b7db3Sskrll	* config/tc-mips.c (mips_ip): In default case, call as_bad
2302a6b7db3Sskrll	instead of fprintf, to get "assembler messages:" message output
2312a6b7db3Sskrll	before instead of after.
2322a6b7db3Sskrll
2332a6b7db3SskrllFri Nov  7 10:36:22 1997  Doug Evans  <devans@canuck.cygnus.com>
2342a6b7db3Sskrll
2352a6b7db3Sskrll	* frags.h: Handle multiple inclusion.
2362a6b7db3Sskrll
2372a6b7db3SskrllWed Nov  5 10:51:49 1997  Doug Evans  <devans@canuck.cygnus.com>
2382a6b7db3Sskrll
2392a6b7db3Sskrll	Based on a patch from Ian.Dall@dsto.defence.gov.au.
2402a6b7db3Sskrll	* as.h (struct frag, frag support): Moved from here.
2412a6b7db3Sskrll	* frags.h: To here.
2422a6b7db3Sskrll	(struct frag, member tc_frag_data): New member if TC_FRAG_TYPE
2432a6b7db3Sskrll	is defined.
2442a6b7db3Sskrll	(struct frag, member fr_cgen): Renamed from fr_targ.cgen.
2452a6b7db3Sskrll	* cgen.c (cgen_asm_finish_insn): Update.
2462a6b7db3Sskrll	* config/tc-m32r.c (md_estimate_size_before_relax): Update.
2472a6b7db3Sskrll	* config/tc-m32r.h (TC_FRAG_INIT): Renamed from md_init_frag.
2482a6b7db3Sskrll	(md_convert_frag): Ditto.
2492a6b7db3Sskrll	* config/tc-ns32k.h (TC_FRAG_TYPE): Define.
2502a6b7db3Sskrll	(frag_opcode_frag,frag_opcode_offset,frag_bsr): Update.
2512a6b7db3Sskrll	(TC_FRAG_INIT): Update.
2522a6b7db3Sskrll
2532a6b7db3SskrllTue Nov  4 16:35:57 1997  Ian Dall  <Ian.Dall@dsto.defence.gov.au>
2542a6b7db3Sskrll
2552a6b7db3Sskrll	* write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to
2562a6b7db3Sskrll	print out MD fields of fix.
2572a6b7db3Sskrll	* frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if
2582a6b7db3Sskrll	defined) to initialize MD fields in frag.
2592a6b7db3Sskrll	* as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k.
2602a6b7db3Sskrll	Delete pcrel_adjust.  Add fr_opcode_fragP, fr_opcode_offset.
2612a6b7db3Sskrll	* config/tc-ns32k.h: Add comments. Remove obsolete
2622a6b7db3Sskrll	BFD_FAST_SECTION_FILL definition, change prototypes for
2632a6b7db3Sskrll	fix_new_ns32k and fix_new_ns32k_exp to add new arguments
2642a6b7db3Sskrll	opcode_frag and opcode_offset and remove pcrel_adjust.
2652a6b7db3Sskrll	(TC_FIX_TYPE): add opcode_fragP and opcode_offset fields.
2662a6b7db3Sskrll	(TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE.
2672a6b7db3Sskrll	(TC_FRAG_INIT): new macro to initialize machine dependent field in
2682a6b7db3Sskrll	frags.
2692a6b7db3Sskrll	(frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access
2702a6b7db3Sskrll	MD fields in frag structure.
2712a6b7db3Sskrll	(fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset,
2722a6b7db3Sskrll	fix_bsr): macros to access MD fields in fix structure.
2732a6b7db3Sskrll	* config/tc-ns32k.c: Avoid overlength lines. Align comments.  Don't
2742a6b7db3Sskrll	use struct opcode_location as these fields are now in the frag
2752a6b7db3Sskrll	structure.
2762a6b7db3Sskrll	(convert_iif): Call frag_more as it is needed instead
2772a6b7db3Sskrll	of trying to allocate for the whole insn. Avoid call of frag_more
2782a6b7db3Sskrll	with negative argument.
2792a6b7db3Sskrll	(md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix,
2802a6b7db3Sskrll	md_estimate_size_before_relax, md_pcrel_from,
2812a6b7db3Sskrll	tc_aout_fix_to_chars): use accessor macros to get md fields in fix
2822a6b7db3Sskrll	and frag structures.
2832a6b7db3Sskrll	(fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and
2842a6b7db3Sskrll	opcode_offset and remove pcrel_adjust.
2852a6b7db3Sskrll	(convert_iif, cons_fix_new_ns32k): call fix_new_ns32k,
2862a6b7db3Sskrll	fix_new_ns32k_exp with changed arguments.
2872a6b7db3Sskrll
2882a6b7db3SskrllMon Nov  3 13:30:17 1997  Gavin Koch  <gavin@cygnus.com>
2892a6b7db3Sskrll
2902a6b7db3Sskrll	* config/tc-mips.c (md_begin): Reorganize setting of default values so
2912a6b7db3Sskrll	that mips_cpu depends on TARGET_CPU, and mips_opts.isa depends on
2922a6b7db3Sskrll	mips_cpu.
2932a6b7db3Sskrll	(md_parse_option): Remove all code that sets defaults; md_begin
2942a6b7db3Sskrll	handles all of this now.
2952a6b7db3Sskrll
2962a6b7db3SskrllSun Nov  2 14:46:09 1997  Ian Lance Taylor  <ian@cygnus.com>
2972a6b7db3Sskrll
2982a6b7db3Sskrll	* Makefile.am (STAGESTUFF): Change bin_PROGRAMS to
2992a6b7db3Sskrll	noinst_PROGRAMS.
3002a6b7db3Sskrll	(bootstrap, bootstrap2, bootstrap3): Likewise.
3012a6b7db3Sskrll	* Makefile.in: Rebuild.
3022a6b7db3Sskrll
3032a6b7db3Sskrll	* config/tc-ppc.c (ppc_fix_adjustable): Don't adjust relocs in the
3042a6b7db3Sskrll	TOC section to be against the csect.
3052a6b7db3Sskrll
3062a6b7db3SskrllFri Oct 31 18:19:55 1997  Ken Raeburn  <raeburn@cygnus.com>
3072a6b7db3Sskrll
3082a6b7db3Sskrll	* config/tc-mips.c (validate_mips_insn): New function, checks
3092a6b7db3Sskrll	match versus mask bits, and also verifies that all bits to be
3102a6b7db3Sskrll	output are actually specified somewhere.
3112a6b7db3Sskrll	(md_begin): Call it for 32-bit instructions, instead of doing
3122a6b7db3Sskrll	match/mask check here.  In case of failure, print a message, but
3132a6b7db3Sskrll	check the rest of the opcode table before exiting.
3142a6b7db3Sskrll
3152a6b7db3SskrllThu Oct 30 13:46:20 1997  Nick Clifton  <nickc@cygnus.com>
3162a6b7db3Sskrll
3172a6b7db3Sskrll	* config/tc-arm.c (md_apply_fix3): Fix thumb ADR pseudo op.  Patch
3182a6b7db3Sskrll	from Tony Thompson at ARM: athompso@arm.com
3192a6b7db3Sskrll
3202a6b7db3SskrllThu Oct 30 11:11:26 1997  Michael Meissner  <meissner@cygnus.com>
3212a6b7db3Sskrll
3222a6b7db3Sskrll	* config/tc-d30v.c (build_insn): Allow odd registers for ld2w and
3232a6b7db3Sskrll	friends.
3242a6b7db3Sskrll
3252a6b7db3SskrllFri Oct 24 15:56:47 1997  Ian Lance Taylor  <ian@cygnus.com>
3262a6b7db3Sskrll
3272a6b7db3Sskrll	* config/tc-ppc.c (md_assemble): When handling @l, always sign
3282a6b7db3Sskrll	extend if the operand expects a signed value.
3292a6b7db3Sskrll
3302a6b7db3Sskrll	* config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
3312a6b7db3Sskrll	default which is to permit dollar labels.
3322a6b7db3Sskrll
3332a6b7db3SskrllFri Oct 24 11:19:22 1997  Jakub Jelinek  <jj@sunsite.mff.cuni.cz>
3342a6b7db3Sskrll
3352a6b7db3Sskrll	* config/tc-sparc.c (sparc_memory_model): New variable.
3362a6b7db3Sskrll	(md_longopts): Add -TSO/-PSO/-RMO options.
3372a6b7db3Sskrll	(md_parse_options): Handle them.
3382a6b7db3Sskrll	(sparc_elf_final_processing): For 64 ELF, set required
3392a6b7db3Sskrll	memory ordering in e_flags. Default to RMO and let the user
3402a6b7db3Sskrll	override it through command line.
3412a6b7db3Sskrll
3422a6b7db3Sskrll	* config/tc-sparc.h (elf_tc_final_processing): Add.
3432a6b7db3Sskrll
3442a6b7db3SskrllWed Oct 22 17:42:12 1997  Richard Henderson  <rth@cygnus.com>
3452a6b7db3Sskrll
3462a6b7db3Sskrll	* config/tc-sparc.c (v9a_asr_table): New variable.
3472a6b7db3Sskrll	(sparc_ip): Handle v9a asr's.
3482a6b7db3Sskrll	Patch from David Miller <davem@vger.rutgers.edu>.
3492a6b7db3Sskrll
3502a6b7db3SskrllWed Oct 22 17:22:59 1997  Richard Henderson  <rth@cygnus.com>
3512a6b7db3Sskrll
3522a6b7db3Sskrll	* config/tc-sparc.h (md_do_align): New macro.
3532a6b7db3Sskrll	* config/tc-sparc.c (sparc_handle_align): Handle rs_align_code.
3542a6b7db3Sskrll	Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>.
3552a6b7db3Sskrll
3562a6b7db3SskrllWed Oct 22 12:51:18 1997  Ian Lance Taylor  <ian@cygnus.com>
3572a6b7db3Sskrll
3582a6b7db3Sskrll	* config/tc-sh.c (sh_small): New variable.
3592a6b7db3Sskrll	(OPTION_SMALL): Define.
3602a6b7db3Sskrll	(md_longopts): Add "small".
3612a6b7db3Sskrll	(md_parse_option): Handle OPTION_SMALL.
3622a6b7db3Sskrll	(md_show_usage): Mention -small.
3632a6b7db3Sskrll	* config/tc-sh.h (sh_small): Declare.
3642a6b7db3Sskrll	(SUB_SEGMENT_ALIGN): Handle sh_small.
3652a6b7db3Sskrll	* config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
3662a6b7db3Sskrll	case.
3672a6b7db3Sskrll
3682a6b7db3Sskrll	* config/tc-mips.c (macro): Correct handling of constant in M_LI_D
3692a6b7db3Sskrll	case in little endian mode.
3702a6b7db3Sskrll
3712a6b7db3SskrllTue Oct 21 10:20:11 1997  Doug Evans  <devans@canuck.cygnus.com>
3722a6b7db3Sskrll
3732a6b7db3Sskrll	* config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
3742a6b7db3Sskrll	overflow signalling to linker.
3752a6b7db3Sskrll
3762a6b7db3SskrllMon Oct 20 14:54:06 1997  Klaus K"ampf  <kkaempf@progis.de>
3772a6b7db3Sskrll
3782a6b7db3Sskrll	* makefile.vms: Fix for dec c.
3792a6b7db3Sskrll
3802a6b7db3Sskrll	* config-gas.com: Give explanation for dec c setup in error
3812a6b7db3Sskrll	message.
3822a6b7db3Sskrll
3832a6b7db3Sskrll	* config/tc-alpha.c (s_alpha_comm): Make .comm symbols separate
3842a6b7db3Sskrll	sections on openvms/alpha.
3852a6b7db3Sskrll
3862a6b7db3Sskrll	* config/obj-evax.c: support .weak pseudo-op
3872a6b7db3Sskrll
3882a6b7db3SskrllMon Oct 20 10:13:32 1997  Doug Evans  <devans@canuck.cygnus.com>
3892a6b7db3Sskrll
3902a6b7db3Sskrll	* config/tc-sparc.c (default_arch_size): New static local.
3912a6b7db3Sskrll	(struct sparc_arch): Rename arch_size to default_arch_size.
3922a6b7db3Sskrll	New member user_option_p.
3932a6b7db3Sskrll	(sparc_arch_table): Always include v9, v9a.  New entry v9-64.
3942a6b7db3Sskrll	(init_default_arch): Check whether default arch is valid.
3952a6b7db3Sskrll	Set default_arch_size in addition to sparc_arch_size.
3962a6b7db3Sskrll	(OPTION_32,OPTION_64): Define.
3972a6b7db3Sskrll	(md_longopts): New entries for -32, -64.
3982a6b7db3Sskrll	(md_parse_option): Handle them.
3992a6b7db3Sskrll	(md_show_usage): Print them.  Ensure init_default_arch called.
4002a6b7db3Sskrll	* configure.in (sparc64): Set arch to v9-64.
4012a6b7db3Sskrll	* configure: Regenerated.
4022a6b7db3Sskrll
4032a6b7db3SskrllSun Oct 19 13:50:50 1997  Ian Lance Taylor  <ian@cygnus.com>
4042a6b7db3Sskrll
4052a6b7db3Sskrll	* write.c (subsegs_finish): New function, broken out of
4062a6b7db3Sskrll	write_object_file.
4072a6b7db3Sskrll	(write_object_file): Some code moves into subsegs_finish.
4082a6b7db3Sskrll	* write.c (subsegs_finish): Declare.
4092a6b7db3Sskrll	* as.c (main): Call subsegs_finish.
4102a6b7db3Sskrll
4112a6b7db3Sskrll	* read.c (s_include): Check for error return from
4122a6b7db3Sskrll	demand_copy_string.
4132a6b7db3Sskrll
4142a6b7db3SskrllTue Oct 14 20:50:58 1997  Richard Henderson  <rth@cygnus.com>
4152a6b7db3Sskrll
4162a6b7db3Sskrll	* read.c (get_line_sb): Accept any eol marker while scanning macros.
4172a6b7db3Sskrll
4182a6b7db3SskrllTue Oct 14 19:12:45 1997  Richard Henderson  <rth@cygnus.com>
4192a6b7db3Sskrll
4202a6b7db3Sskrll	* config/tc-alpha.h (DIFF_EXPR_OK): Define.
4212a6b7db3Sskrll	* config/tc-i386.h (DIFF_EXPR_OK): Define.
4222a6b7db3Sskrll	* config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
4232a6b7db3Sskrll	the correct relocation when it exists.
4242a6b7db3Sskrll	* config/tc-i386.c (md_apply_fix3): Likewise.
4252a6b7db3Sskrll
4262a6b7db3Sskrll	* config/tc-ppc.h: Correct typo in comment.
4272a6b7db3Sskrll	* config/tc-v850.h: Likewise.
4282a6b7db3Sskrll
4292a6b7db3SskrllFri Oct 10 16:09:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
4302a6b7db3Sskrll
4312a6b7db3Sskrll	* config/tc-d10v.c (parallel_ok): Allow parallel instruction issue
4322a6b7db3Sskrll	when second instruction is writing to first instructions inputs.
4332a6b7db3Sskrll
4342a6b7db3SskrllMon Oct 13 15:27:17 1997  Richard Henderson  <rth@cygnus.com>
4352a6b7db3Sskrll
4362a6b7db3Sskrll	* ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
4372a6b7db3Sskrll	templated programs to build with -g.
4382a6b7db3Sskrll
4392a6b7db3SskrllFri Oct 10 17:48:29 1997  Nick Clifton  <nickc@cygnus.com>
4402a6b7db3Sskrll
4412a6b7db3Sskrll	* config/tc-v850.c (md_relax_table): Add support for relaxing
4422a6b7db3Sskrll	unconditional branches.  This patch is courtesy of Jim Wilson.
4432a6b7db3Sskrll	(md_convert_frag): Fix relaxing of branches.  This patch is
4442a6b7db3Sskrll	courtesy of Jim Wilson.
4452a6b7db3Sskrll	(md_assemble): Create different fixups for conditional and
4462a6b7db3Sskrll	unconditional branches.  This patch is courtesy of Jim Wilson.
4472a6b7db3Sskrll	(md_estimate_size_before_relax): Estimate size of variable part of
4482a6b7db3Sskrll	fixup based on whether it is for a conditional or an unconditional
4492a6b7db3Sskrll	branch.  This patch is courtesy of Jim Wilson.
4502a6b7db3Sskrll	(v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
4512a6b7db3Sskrll	v850_zbss, v850_rosdata, v850_rozdata, v850_bss): Add call to
4522a6b7db3Sskrll	obj_elf_section_change_hook().
4532a6b7db3Sskrll	(v850_comm): New function.
4542a6b7db3Sskrll	(md_pseudo_table): Add new pseudo ops .zcomm, .scomm and .tcomm.
4552a6b7db3Sskrll	(md_begin): Add bss flag to seg_info of bss sections.
4562a6b7db3Sskrll
4572a6b7db3Sskrll	Add support for .scommon, .tcommon and .zcommon sections.
4582a6b7db3Sskrll
4592a6b7db3Sskrll	* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add .scommon,
4602a6b7db3Sskrll	.zcommon, .tbss, .call_table_data and .call_table_text.
4612a6b7db3Sskrll
4622a6b7db3SskrllFri Oct 10 15:01:14 1997  Doug Evans  <dje@canuck.cygnus.com>
4632a6b7db3Sskrll
4642a6b7db3Sskrll	* configure.in (sparc): Set DEFAULT_ARCH from correct target.
4652a6b7db3Sskrll	* configure: Regenerated.
4662a6b7db3Sskrll
4672a6b7db3SskrllFri Oct 10 11:22:45 1997  Martin M. Hunt  <hunt@cygnus.com>
4682a6b7db3Sskrll
4692a6b7db3Sskrll	* config/tc-d10v.c: Fixes to make sure the AT_WORD
4702a6b7db3Sskrll	expression is not confused with -1.
4712a6b7db3Sskrll
4722a6b7db3SskrllFri Oct 10 11:54:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
4732a6b7db3Sskrll
4742a6b7db3Sskrll	* config/tc-d10v.c (parallel_ok): Flag SP as modified for @-sp
4752a6b7db3Sskrll	operand - OPERAND_ATMINUS.
4762a6b7db3Sskrll
4772a6b7db3SskrllFri Oct 10 00:47:44 1997  Michael Meissner  <meissner@cygnus.com>
4782a6b7db3Sskrll
4792a6b7db3Sskrll	* config/tc-d10v.c (parallel_ok): Note that auto increment and
4802a6b7db3Sskrll	decrement modify the index register.
4812a6b7db3Sskrll
4822a6b7db3SskrllThu Oct  9 15:17:50 1997  Ian Lance Taylor  <ian@cygnus.com>
4832a6b7db3Sskrll
4842a6b7db3Sskrll	From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
4852a6b7db3Sskrll	* config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
4862a6b7db3Sskrll	68336, 68341, 68349.
4872a6b7db3Sskrll	* doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
4882a6b7db3Sskrll	-m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
4892a6b7db3Sskrll	-m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
4902a6b7db3Sskrll	-m68349.
4912a6b7db3Sskrll
4922a6b7db3Sskrll	* doc/Makefile.am (CPU_DOCS): Define.
4932a6b7db3Sskrll	(as.info): Depend upon $(CPU_DOCS).
4942a6b7db3Sskrll	* doc/Makefile.in: Rebuild.
4952a6b7db3Sskrll
4962a6b7db3Sskrll	* configure.in: Remove AM_PROG_INSTALL; it's called by
4972a6b7db3Sskrll	AM_INIT_AUTOMAKE.
4982a6b7db3Sskrll	* configure: Rebuild.
4992a6b7db3Sskrll
5002a6b7db3SskrllThu Oct  9 01:44:36 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
5012a6b7db3Sskrll
5022a6b7db3Sskrll	* config/tc-d10v.h (TC_START_LABEL): Don't define.
5032a6b7db3Sskrll	(tc_frob_label): Define.
5042a6b7db3Sskrll
5052a6b7db3SskrllThu Oct  9 00:07:23 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
5062a6b7db3Sskrll
5072a6b7db3Sskrll	* config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
5082a6b7db3Sskrll	to pair a branch and link with anything but an exe instruction.
5092a6b7db3Sskrll
5102a6b7db3SskrllWed Oct  8 16:28:53 1997  Richard Henderson  <rth@cygnus.com>
5112a6b7db3Sskrll
5122a6b7db3Sskrll	* config/tc-alpha.c (load_expression): Disable the sym+const .got
5132a6b7db3Sskrll	optimization to reduce the alignment surprises for gcc.
5142a6b7db3Sskrll
5152a6b7db3SskrllWed Oct  8 16:11:15 1997  Doug Evans  <dje@canuck.cygnus.com>
5162a6b7db3Sskrll
5172a6b7db3Sskrll	* config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
5182a6b7db3Sskrll	* config/tc-sparc.c (sparc_target_format): Handle coff here.
5192a6b7db3Sskrll	(sparc_ip): Add %hix,%lox.
5202a6b7db3Sskrll	(md_apply_fix3): Call as_bad_where, not as_bad.
5212a6b7db3Sskrll	Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
5222a6b7db3Sskrll	(tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
5232a6b7db3Sskrll
5242a6b7db3SskrllWed Oct  8 12:33:32 1997  Richard Henderson  <rth@cygnus.com>
5252a6b7db3Sskrll
5262a6b7db3Sskrll	* configure.in: Change alpha-*-* to alpha*-*-*; config.guess now
5272a6b7db3Sskrll	recognizes alphaev5 etc.
5282a6b7db3Sskrll	* configure: Rebuild.
5292a6b7db3Sskrll
5302a6b7db3SskrllWed Oct  8 00:04:05 1997  Gavin Koch  <gavin@cygnus.com>
5312a6b7db3Sskrll
5322a6b7db3Sskrll	* config/tc-mips.c (md_begin): Replace the TARGET_CPU value
5332a6b7db3Sskrll	of mipsr3900 with mipstx39.
5342a6b7db3Sskrll
5352a6b7db3Sskrll	* config/tc-mips.c (mips_ip): Don't print the 'opcode requires
5362a6b7db3Sskrll	-mipsXX message' if the insn isn't an ISA insn.
5372a6b7db3Sskrll
5382a6b7db3SskrllTue Oct  7 12:48:30 1997  Doug Evans  <dje@canuck.cygnus.com>
5392a6b7db3Sskrll
5402a6b7db3Sskrll	* config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
5412a6b7db3Sskrll	Redefine TARGET_FORMAT to call sparc_target_format.
5422a6b7db3Sskrll	* config/tc-sparc.c (in_unsigned_range): New function.
5432a6b7db3Sskrll	(sparc_arch_size): Make static.
5442a6b7db3Sskrll	(sparc_target_format): New function.
5452a6b7db3Sskrll	(sparc_ip): Delete variable immediate_max.  Rewrite %hi/etc reloc
5462a6b7db3Sskrll	handling.  Add support for %hh,%hm,%lm,%h44,%m44,%l44.
5472a6b7db3Sskrll	(output_insn): Set `fx_no_overflow'.
5482a6b7db3Sskrll	(md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
5492a6b7db3Sskrll	(tc_gen_reloc): Likewise.
5502a6b7db3Sskrll
5512a6b7db3SskrllMon Oct  6 14:04:50 1997  Nick Clifton  <nickc@cygnus.com>
5522a6b7db3Sskrll
5532a6b7db3Sskrll	* config/tc-v850.c (v850_section): Remove.
5542a6b7db3Sskrll
5552a6b7db3Sskrll	* config/obj-elf.c (obj_elf_section): Enhance error message.
5562a6b7db3Sskrll
5572a6b7db3SskrllFri Oct  3 15:40:38 1997  Ian Lance Taylor  <ian@cygnus.com>
5582a6b7db3Sskrll
5592a6b7db3Sskrll	* config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
5602a6b7db3Sskrll	including obj-elf.h in OBJ_MAYBE_ELF case.
5612a6b7db3Sskrll	(mips_target_format): Return NULL after abort to avoid warning.
5622a6b7db3Sskrll
5632a6b7db3Sskrll	* ecoff.c (generate_ecoff_stab): Remove unused static function.
5642a6b7db3Sskrll
5652a6b7db3Sskrll	* expr.c (operator): Accept ==.  From Anders Blomdell
5662a6b7db3Sskrll	<anders.blomdell@control.lth.se>.
5672a6b7db3Sskrll
5682a6b7db3Sskrll	* config/atof-ieee.c (gen_to_words): When generating a denormal
5692a6b7db3Sskrll	number, handle an overflow into the smallest normalized number.
5702a6b7db3Sskrll
5712a6b7db3SskrllMon Sep 29 15:24:52 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5722a6b7db3Sskrll
5732a6b7db3Sskrll	* as.h, input-scrub.c (new_logical_line): New return value.
5742a6b7db3Sskrll	* read.c (s_app_file): Don't note the same file several times
5752a6b7db3Sskrll	in a row.
5762a6b7db3Sskrll
5772a6b7db3SskrllThu Sep 25 13:08:02 1997  Ian Lance Taylor  <ian@cygnus.com>
5782a6b7db3Sskrll
5792a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Remove ` operand specifier.
5802a6b7db3Sskrll
5812a6b7db3SskrllWed Sep 24 16:54:40 1997  Joel Sherrill  <joel@oarcorp.com>
5822a6b7db3Sskrll
5832a6b7db3Sskrll	* configure.in (sh*-*-rtems*): New target, like sh-*-elf*.
5842a6b7db3Sskrll	* configure: Rebuild.
5852a6b7db3Sskrll
5862a6b7db3SskrllWed Sep 24 11:30:25 1997  Ian Lance Taylor  <ian@cygnus.com>
5872a6b7db3Sskrll
5882a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Handle q and v operand specifiers.
5892a6b7db3Sskrll
5902a6b7db3Sskrll	* doc/c-i386.texi (i386-Float): Remove incorrect assertion that
5912a6b7db3Sskrll	fn* instructions do not insert implicit fwait.  This was changed
5922a6b7db3Sskrll	Jan 29, 1996.
5932a6b7db3Sskrll
5942a6b7db3Sskrll	* config/m68k-parse.y (yylex): Permit an expression to be used for
5952a6b7db3Sskrll	the scale factor.
5962a6b7db3Sskrll
5972a6b7db3Sskrll	* Makefile.am (EXTRA_as_new_SOURCES): Set to config/m68k-parse.y,
5982a6b7db3Sskrll	not m68k-parse.y.
5992a6b7db3Sskrll	* Makefile.in: Rebuild.
6002a6b7db3Sskrll
6012a6b7db3Sskrll	* aclocal.m4: Rebuild with new libtool.
6022a6b7db3Sskrll	* configure: Rebuild.
6032a6b7db3Sskrll
6042a6b7db3SskrllTue Sep 23 17:48:09 1997  Ian Lance Taylor  <ian@cygnus.com>
6052a6b7db3Sskrll
6062a6b7db3Sskrll	* app.c (do_scrub_chars): Clear mri_state at end of .mri
6072a6b7db3Sskrll	pseudo-op.
6082a6b7db3Sskrll
6092a6b7db3Sskrll	* config/tc-mips.c (hilo_interlocks): Change from a static
6102a6b7db3Sskrll	variable to a macro, so that it varies with the variables upon
6112a6b7db3Sskrll	which it depends.
6122a6b7db3Sskrll	(gpr_interlocks, cop_interlocks): Likewise.
6132a6b7db3Sskrll	(md_begin): Don't initialize them.
6142a6b7db3Sskrll
6152a6b7db3SskrllFri Sep 19 17:08:41 1997  Jeffrey A Law  (law@cygnus.com)
6162a6b7db3Sskrll
6172a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Use strcasecomp instead
6182a6b7db3Sskrll	of strcmp where appropriate.
6192a6b7db3Sskrll
6202a6b7db3SskrllThu Sep 18 14:11:56 1997  Nick Clifton  <nickc@cygnus.com>
6212a6b7db3Sskrll
6222a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Cope with a zero data area
6232a6b7db3Sskrll	relocation with a constant offset.
6242a6b7db3Sskrll	(md_assemble): Produce error message when special data area
6252a6b7db3Sskrll	relocations are used on instructions which do not support them.
6262a6b7db3Sskrll	(md_assemble): Reset processor mask if defined by command line
6272a6b7db3Sskrll	switch.
6282a6b7db3Sskrll
6292a6b7db3SskrllThu Sep 18 11:24:01 1997  Doug Evans  <dje@canuck.cygnus.com>
6302a6b7db3Sskrll
6312a6b7db3Sskrll	* config/tc-sparc.c: Reorganize file.
6322a6b7db3Sskrll	(parse_keyword_arg): Allow numbers in reg names.
6332a6b7db3Sskrll	(SPECIAL_CASE_NONE): New macro.
6342a6b7db3Sskrll	(md_assemble): Use it.
6352a6b7db3Sskrll	(lookup_arch,init_default_arch): New functions.
6362a6b7db3Sskrll	(default_arch,default_init_p,sparc_arch_table): New static locals.
6372a6b7db3Sskrll	(sparc_arch_size): New static local.
6382a6b7db3Sskrll	(max_architecture): Initialize in init_default_arch.
6392a6b7db3Sskrll	(md_parse_options): Call init_default_arch if necessary.
6402a6b7db3Sskrll	Rewrite -xarch/-A processing.
6412a6b7db3Sskrll	(md_show_usage): Print -A values from sparc_arch_table.
6422a6b7db3Sskrll	(md_begin): Call init_default_arch if necessary.
6432a6b7db3Sskrll	(sparc_md_end): Handle both 32 and 64 bit environments.
6442a6b7db3Sskrll	* config/tc-sparc.h (TARGET_FORMAT): Likewise.
6452a6b7db3Sskrll	* acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
6462a6b7db3Sskrll	(DEFAULT_ARCH): Add.
6472a6b7db3Sskrll	* config.in: Regenerate.
6482a6b7db3Sskrll	* configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
6492a6b7db3Sskrll	(SPARC_V9,SPARC_ARCH64): Delete.
6502a6b7db3Sskrll	* configure: Regenerate.
6512a6b7db3Sskrll	* config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.
6522a6b7db3Sskrll
6532a6b7db3SskrllWed Sep 17 16:54:20 1997  Nick Clifton  <nickc@cygnus.com>
6542a6b7db3Sskrll
6552a6b7db3Sskrll	* config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ ()
6562a6b7db3Sskrll	macro.
6572a6b7db3Sskrll	(handle_tdaoff, handle_zdaoff, handle_sdaoff): New functions.
6582a6b7db3Sskrll
6592a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Corrected typo.
6602a6b7db3Sskrll	* config/tc-v850.c Add new sections: call_table_data and
6612a6b7db3Sskrll	call_table_text.
6622a6b7db3Sskrll	(v850_reloc_prefix): Add support for ctoff() relocation prefix.
6632a6b7db3Sskrll	(handle_ctoff): New Function.
6642a6b7db3Sskrll
6652a6b7db3Sskrll	* doc/c-v850.texi (V850 Opcodes): Document call table relocations.
6662a6b7db3Sskrll
6672a6b7db3SskrllTue Sep 16 14:18:22 1997  Nick Clifton  <nickc@cygnus.com>
6682a6b7db3Sskrll
6692a6b7db3Sskrll	* config/tc-v850.c (v850_reloc_prefix): Add support for a 16 bit
6702a6b7db3Sskrll	displacement from the tiny data area pointer.
6712a6b7db3Sskrll
6722a6b7db3SskrllMon Sep 15 21:28:09 1997  Jeffrey A Law  (law@cygnus.com)
6732a6b7db3Sskrll
6742a6b7db3Sskrll	* config/tc-hppa.c (fix_new_hppa): Make declaration match
6752a6b7db3Sskrll	definition.
6762a6b7db3Sskrll
6772a6b7db3SskrllMon Sep 15 18:33:06 1997  Nick Clifton  <nickc@cygnus.com>
6782a6b7db3Sskrll
6792a6b7db3Sskrll	* config/tc-v850.c (processor_mask): New variable.
6802a6b7db3Sskrll	(set_machine, md_parse_option): Set processor_mask.
6812a6b7db3Sskrll	(md_assemble): Check that instruction is available to target
6822a6b7db3Sskrll	processor.
6832a6b7db3Sskrll
6842a6b7db3Sskrll	* config/tc-v850.h (TARGET_PROCESSOR): New constant.
6852a6b7db3Sskrll
6862a6b7db3SskrllMon Sep 15 11:28:04 1997  Ken Raeburn  <raeburn@cygnus.com>
6872a6b7db3Sskrll
6882a6b7db3Sskrll	Merge in work from Martin Hunt:
6892a6b7db3Sskrll
6902a6b7db3Sskrll	* config/tc-d30v.c (build_insn): For mvfsys and mvtsys,
6912a6b7db3Sskrll	CR is 0 for PSWL and PSWH.
6922a6b7db3Sskrll
6932a6b7db3Sskrll	* config/tc-d30v.c (do_assemble): Don't accept
6942a6b7db3Sskrll	illegal condition codes for cmpu instruction.
6952a6b7db3Sskrll
6962a6b7db3Sskrll	* config/tc-d30v.c: Add support for BFD_RELOC_D30V_9_PCREL
6972a6b7db3Sskrll	used in d*i instructions.
6982a6b7db3Sskrll
6992a6b7db3Sskrll	* config/tc-d30v.c (check_size): New function.  Check
7002a6b7db3Sskrll	relocations for overflows.
7012a6b7db3Sskrll	(md_pcrel_from_section): Fix relocations between sections.
7022a6b7db3Sskrll	(md_apply_fix3): Use new relocation types for 15 and 21
7032a6b7db3Sskrll	bit relocations in the right container. Needed because
7042a6b7db3Sskrll	the address of the instruction is not eight-byte aligned
7052a6b7db3Sskrll	but the relocations must be.
7062a6b7db3Sskrll
7072a6b7db3Sskrll	* config/tc-d30v.c (md_apply_fix3): Check for overflow.
7082a6b7db3Sskrll	(find_format): If ".s" or ".l" are used, don't try
7092a6b7db3Sskrll	to compute branch sizes.
7102a6b7db3Sskrll
7112a6b7db3Sskrll	* config/tc-d30v.c (do_assemble): Check for ".s" or
7122a6b7db3Sskrll	".l" extensions to opcode names.
7132a6b7db3Sskrll	(find_format): Generate the correct instructions when
7142a6b7db3Sskrll	".s" or ".l" are used.
7152a6b7db3Sskrll
7162a6b7db3Sskrll	* config/tc-d30v.c (build_insn): Check for odd registers
7172a6b7db3Sskrll	on instructions that require even registers.
7182a6b7db3Sskrll
7192a6b7db3Sskrll	* config/tc-d30v.h (md_start_line_hook): Define.
7202a6b7db3Sskrll	* config/tc-d30v.c (md_start_line_hook): New hook.
7212a6b7db3Sskrll	Checks the beginning of each line for a ".".  If it
7222a6b7db3Sskrll	finds one, assume a pseudo-op and flush any unwritten
7232a6b7db3Sskrll	instructions.
7242a6b7db3Sskrll
7252a6b7db3Sskrll	* config/tc-d30v.c (md_apply_fix3): Fix problem
7262a6b7db3Sskrll	with determining when fixups were done.
7272a6b7db3Sskrll
7282a6b7db3Sskrll	* config/tc-d30v.c (build_insn): Fix bug where the numeric
7292a6b7db3Sskrll	part of a symbol (for example, "foo+8") was being written
7302a6b7db3Sskrll	into the instruction.
7312a6b7db3Sskrll	(md_pseudo_table): Change .word to be 32 bits and add
7322a6b7db3Sskrll	.hword as 16 bits.
7332a6b7db3Sskrll
7342a6b7db3Sskrll	* config/tc-d30v.c (parallel_ok): Check to see if first
7352a6b7db3Sskrll	instruction is a jump.
7362a6b7db3Sskrll
7372a6b7db3Sskrll	* config/tc-d30v.c (parallel_ok): Major code reorganization.
7382a6b7db3Sskrll
7392a6b7db3SskrllWed Sep 10 10:07:08 1997  Nick Clifton  <nickc@cygnus.com>
7402a6b7db3Sskrll
7412a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Corrected spelling mistake.
7422a6b7db3Sskrll	* configure.in (emulations): Add v850 emulation.
7432a6b7db3Sskrll
7442a6b7db3SskrllTue Sep  9 17:14:33 1997  Doug Evans  <dje@canuck.cygnus.com>
7452a6b7db3Sskrll
7462a6b7db3Sskrll	* Makefile.am (CPU_TYPES): Add arc.
7472a6b7db3Sskrll	(TARGET_CPU_CFILES): Add tc-arc.c.
7482a6b7db3Sskrll	(TARGET_CPU_HFILES): Add tc-arc.h.
7492a6b7db3Sskrll	(dependencies): Rebuild.
7502a6b7db3Sskrll	* Makefile.in: Rebuild.
7512a6b7db3Sskrll	* configure.in: Recognize arc-*-elf*.
7522a6b7db3Sskrll	* configure: Regenerated.
7532a6b7db3Sskrll	* config/tc-arc.[ch]: New files.
7542a6b7db3Sskrll
7552a6b7db3SskrllTue Sep  9 10:19:37 1997  Nick Clifton  <nickc@cygnus.com>
7562a6b7db3Sskrll
7572a6b7db3Sskrll	* doc/c-v850.texi (V850 Opcodes): Document hi0() reloc prefix.
7582a6b7db3Sskrll	Correct description of hi() reloc prefix.
7592a6b7db3Sskrll
7602a6b7db3Sskrll	* doc/c-v850.texi (V850 Opcodes): Document new reloc prefix.
7612a6b7db3Sskrll	* config/tc-v850.c (v850_reloc_prefix): Add hilo() reloc prefix.
7622a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Add support for BFD_RELOC_32.
7632a6b7db3Sskrll
7642a6b7db3Sskrll	* doc/c-v850.texi: Document new pseudo ops and command line
7652a6b7db3Sskrll	options.
7662a6b7db3Sskrll
7672a6b7db3Sskrll	* config/tc-v850.c (set_machine): New function.
7682a6b7db3Sskrll	* config/tc-v850.c (.v850): New pseudo op.
7692a6b7db3Sskrll	* config/tc-v850.c (.v850e): New pseudo op.
7702a6b7db3Sskrll	* config/tc-v850.c (.v850ea): New pseudo op.
7712a6b7db3Sskrll
7722a6b7db3Sskrll
7732a6b7db3SskrllMon Sep  8 23:08:04 1997  Ian Lance Taylor  <ian@cygnus.com>
7742a6b7db3Sskrll
7752a6b7db3Sskrll	Support -alh and -ald for DWARF 1:
7762a6b7db3Sskrll	* listing.c (struct list_info_struct): Add debugging field.
7772a6b7db3Sskrll	(listing_newline): Initialize the debugging field.  If ELF, if the
7782a6b7db3Sskrll	section starts with .debug or .line, set the debugging field in
7792a6b7db3Sskrll	the listing structure.
7802a6b7db3Sskrll	(debugging_pseudo): Add list parameter.  Change all callers.  If
7812a6b7db3Sskrll	the debugging field is set, consider it to be a debugging pseudo.
7822a6b7db3Sskrll	If ELF, skip blank lines between debugging lines.
7832a6b7db3Sskrll	* read.c (emit_expr): If ELF, look for line numbers.
7842a6b7db3Sskrll	(stringer): If ELF, look for file names.
7852a6b7db3Sskrll
7862a6b7db3SskrllMon Sep  8 12:33:40 1997  Nick Clifton  <nickc@cygnus.com>
7872a6b7db3Sskrll
7882a6b7db3Sskrll	* config/tc-v850.c (v850_insert_operand): Only test for overflow
7892a6b7db3Sskrll	if there is no insert function.
7902a6b7db3Sskrll
7912a6b7db3Sskrll	* config/tc-v850.h (TARGET_MACHINE): New constant.
7922a6b7db3Sskrll
7932a6b7db3Sskrll	* config/tc-v850.c (v850_insert_operand): Add
7942a6b7db3Sskrll	-mwarn_unsigned_overflow.
7952a6b7db3Sskrll	(md_begin): Set BFD machine number based on machine variable.
7962a6b7db3Sskrll	(md_parse_option): Add -mv850, -mv850e and -mv850ea options.
7972a6b7db3Sskrll
7982a6b7db3SskrllMon Sep  8 11:20:46 1997  Ian Lance Taylor  <ian@cygnus.com>
7992a6b7db3Sskrll
8002a6b7db3Sskrll	* as.h: Don't declare alloca if it is a macro.
8012a6b7db3Sskrll	* macro.c: Likewise.
8022a6b7db3Sskrll
8032a6b7db3SskrllSun Sep  7 00:30:19 1997  Richard Henderson  <rth@cygnus.com>
8042a6b7db3Sskrll
8052a6b7db3Sskrll	* config/tc-alpha.c (md_parse_option): Move m[] out to top level and
8062a6b7db3Sskrll	rename to cpu_types[].
8072a6b7db3Sskrll	(s_alpha_arch): New function.
8082a6b7db3Sskrll	(md_pseudo_table): Add "arch".
8092a6b7db3Sskrll
8102a6b7db3Sskrll	* config/tc-alpha.c (md_begin): Merge the two loops through the
8112a6b7db3Sskrll	opcode table.
8122a6b7db3Sskrll	(s_alpha_proc): Add initial SKIP_WHITESPACE.
8132a6b7db3Sskrll	(s_alpha_set): Likewise.  Use get_symbol_end instead local while loop.
8142a6b7db3Sskrll
8152a6b7db3SskrllSat Sep  6 19:38:12 1997  Fred Fish  <fnf@cygnus.com>
8162a6b7db3Sskrll
8172a6b7db3Sskrll	* read.h (s_lcomm_bytes): Add prototype (for real this time).
8182a6b7db3Sskrll
8192a6b7db3SskrllThu Sep  4 12:10:01 1997  Ian Lance Taylor  <ian@cygnus.com>
8202a6b7db3Sskrll
8212a6b7db3Sskrll	* config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for
8222a6b7db3Sskrll	symbols on Irix.
8232a6b7db3Sskrll
8242a6b7db3SskrllWed Sep  3 11:21:33 1997  Nick Clifton  <nickc@cygnus.com>
8252a6b7db3Sskrll
8262a6b7db3Sskrll	* config/tc-v850.c: Remove BFD_RELOC_V850_16_PCREL.
8272a6b7db3Sskrll
8282a6b7db3SskrllTue Sep  2 18:32:30 1997  Jeffrey A Law  (law@cygnus.com)
8292a6b7db3Sskrll
8302a6b7db3Sskrll	* config/tc-mn10200.c (md_convert_frag): PC relative instructions arex
8312a6b7db3Sskrll	relative to the next instruction, not the current instruction.
8322a6b7db3Sskrll	(md_assemble): Similarly.
8332a6b7db3Sskrll
8342a6b7db3SskrllTue Sep  2 15:58:52 1997  Nick Clifton  <nickc@cygnus.com>
8352a6b7db3Sskrll
8362a6b7db3Sskrll	* doc/c-v850.texi: Explanations of offsets in SDA/ZDA areas
8372a6b7db3Sskrll	correcetd.
8382a6b7db3Sskrll
8392a6b7db3Sskrll	* config/tc-v850.c: Add support for SDA/TDA/ZDA sections.
8402a6b7db3Sskrll	(v850_reloc_prefix): Duplicate code eliminated.  Add code to
8412a6b7db3Sskrll	recognise special instructions.
8422a6b7db3Sskrll	(md_assemble): Calculation of the size of a fixups corrected.
8432a6b7db3Sskrll
8442a6b7db3Sskrll	* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add SDA/TDA/ZDA
8452a6b7db3Sskrll	sections.
8462a6b7db3Sskrll
8472a6b7db3SskrllTue Sep  2 15:40:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
8482a6b7db3Sskrll
8492a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Use opcode->name instead of
8502a6b7db3Sskrll	opcode->opcode as the sentinal. Zero is a valid opcode.
8512a6b7db3Sskrll
8522a6b7db3SskrllTue Aug 26 16:51:14 1997  Ian Lance Taylor  <ian@cygnus.com>
8532a6b7db3Sskrll
8542a6b7db3Sskrll	* doc/as.texinfo (Machine Dependencies): Add v850 to menu.
8552a6b7db3Sskrll	* doc/c-v850.texi: Change node name to match other chapter nodes.
8562a6b7db3Sskrll
8572a6b7db3SskrllTue Aug 26 09:46:22 1997  Nick Clifton  <nickc@cygnus.com>
8582a6b7db3Sskrll
8592a6b7db3Sskrll	* doc/c-v850.texi (V850 Opcodes): Correct name for tiny data area
8602a6b7db3Sskrll	pointer.
8612a6b7db3Sskrll
8622a6b7db3SskrllTue Aug 26 12:23:25 1997  Ian Lance Taylor  <ian@cygnus.com>
8632a6b7db3Sskrll
8642a6b7db3Sskrll	* expr.c (integer_constant): If BFD64, don't make a bignum if the
8652a6b7db3Sskrll	number will fit in 64 bits.
8662a6b7db3Sskrll
8672a6b7db3Sskrll	* config/tc-alpha.c (load_expression): Check explicitly for O_big,
8682a6b7db3Sskrll	rather than calling abort.
8692a6b7db3Sskrll
8702a6b7db3Sskrll	* as.h: Don't define alloca if __GNUC__.  Just declare it.
8712a6b7db3Sskrll	* macro.c: Copy alloca handling from as.h.
8722a6b7db3Sskrll
8732a6b7db3Sskrll	* config/tc-i386.c (i386_align_code): Correct 16 bit noops.  From
8742a6b7db3Sskrll	Gabriel Paubert <paubert@iram.es>.
8752a6b7db3Sskrll
8762a6b7db3Sskrll	* config/tc-i386.c (md_assemble): In JumpByte case, when looking
8772a6b7db3Sskrll	for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
8782a6b7db3Sskrll	is jcxz or a loop instruction.
8792a6b7db3Sskrll
8802a6b7db3SskrllMon Aug 25 16:04:14 1997  Nick Clifton  <nickc@cygnus.com>
8812a6b7db3Sskrll
8822a6b7db3Sskrll	* config/tc-v850.c (pre_defined_registers): Add 'hp' as alias for
8832a6b7db3Sskrll	r2.
8842a6b7db3Sskrll	(md_begin): Set up machine architecture and type.
8852a6b7db3Sskrll
8862a6b7db3SskrllMon Aug 25 14:25:48 1997  Ian Lance Taylor  <ian@cygnus.com>
8872a6b7db3Sskrll
8882a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Store the value back into the
8892a6b7db3Sskrll	symbol expression, to handle add or subtract simplification
8902a6b7db3Sskrll	correctly.  Handle O_symbol_rva.  Add default case.
8912a6b7db3Sskrll
8922a6b7db3Sskrll	* config/tc-ppc.c (ppc_change_csect): Temporarily lower the
8932a6b7db3Sskrll	chunksize while creating the new subsection.
8942a6b7db3Sskrll	* as.c (chunksize): Initialize to zero.
8952a6b7db3Sskrll	* subsegs.c (subseg_set_rest): Change 5000 to chunksize when
8962a6b7db3Sskrll	calling obstack_begin.
8972a6b7db3Sskrll
8982a6b7db3SskrllMon Aug 25 11:21:48 1997  Nick Clifton  <nickc@cygnus.com>
8992a6b7db3Sskrll
9002a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Restore input_line_pointer upon
9012a6b7db3Sskrll	exit.
9022a6b7db3Sskrll
9032a6b7db3Sskrll	* config/tc-v850.c (parse_register_list): Support constant
9042a6b7db3Sskrll	expressions as register lists.
9052a6b7db3Sskrll
9062a6b7db3SskrllMon Aug 25 10:19:34 1997  Nick Clifton  <nickc@cygnus.com>
9072a6b7db3Sskrll
9082a6b7db3Sskrll	* doc/c-v850.texi: Change the major node to v850 Machine
9092a6b7db3Sskrll	Dependencies.
9102a6b7db3Sskrll
9112a6b7db3SskrllFri Aug 22 11:16:14 1997  Nick Clifton  <nickc@cygnus.com>
9122a6b7db3Sskrll
9132a6b7db3Sskrll	* doc/as.texinfo: Add inclusion of c-v850.texi
9142a6b7db3Sskrll
9152a6b7db3Sskrll	* doc/c-v850.texi: New file.
9162a6b7db3Sskrll
9172a6b7db3Sskrll	* read.c (is_end_of_line): Make NUL character be considered to be
9182a6b7db3Sskrll	a line terminator.
9192a6b7db3Sskrll
9202a6b7db3SskrllFri Aug 22 10:45:33 1997  Nick Clifton  <nickc@cygnus.com>
9212a6b7db3Sskrll
9222a6b7db3Sskrll	* config/tc-v850.c (parse_register_list): Add support for curly
9232a6b7db3Sskrll	brace syntax.
9242a6b7db3Sskrll	(cc_names): Add "e" and "ne" conditions.
9252a6b7db3Sskrll
9262a6b7db3SskrllThu Aug 21 11:00:36 1997  Nick Clifton  <nickc@cygnus.com>
9272a6b7db3Sskrll
9282a6b7db3Sskrll	* app.c (do_scrub_chars): Support a double dash as starting a
9292a6b7db3Sskrll	comment that extends to end of line.
9302a6b7db3Sskrll
9312a6b7db3SskrllThu Aug 21 10:54:27 1997  Nick Clifton  <nickc@cygnus.com>
9322a6b7db3Sskrll
9332a6b7db3Sskrll	* config/tc-v850.c (v850_section, v850_bss, v850_offset): New
9342a6b7db3Sskrll	functions.
9352a6b7db3Sskrll	(md_pseudo_table): New pseudo ops: .bss, .offset, .section
9362a6b7db3Sskrll
9372a6b7db3SskrllThu Aug 21 00:59:53 1997  Doug Evans  <dje@canuck.cygnus.com>
9382a6b7db3Sskrll
9392a6b7db3Sskrll	* config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
9402a6b7db3Sskrll	insn when changing to a different instruction.
9412a6b7db3Sskrll
9422a6b7db3SskrllWed Aug 20 00:45:20 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
9432a6b7db3Sskrll
9442a6b7db3Sskrll	* config/tc-sh.c (parse_reg, get_specific, build_Mytes): Add SH4
9452a6b7db3Sskrll	floating point extensions.
9462a6b7db3Sskrll	(parse_reg): parse sgr and dbr.
9472a6b7db3Sskrll
9482a6b7db3SskrllTue Aug 19 17:07:34 1997  Nick Clifton  <nickc@cygnus.com>
9492a6b7db3Sskrll
9502a6b7db3Sskrll	* config/tc-v850.c (system_register_name): Support numbers for
9512a6b7db3Sskrll	system register IDs.
9522a6b7db3Sskrll
9532a6b7db3SskrllTue Aug 19 08:59:12 1997  Fred Fish  <fnf@cygnus.com>
9542a6b7db3Sskrll
9552a6b7db3Sskrll	* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
9562a6b7db3Sskrll	flag when alignment is in bytes instead of power of 2, and code to
9572a6b7db3Sskrll	use that flag to convert alignment to bytes.
9582a6b7db3Sskrll	(s_lcomm, s_lcomm_bytes):  New helpers that call s_lcomm_internal.
9592a6b7db3Sskrll	* read.h (s_lcomm_bytes): Add prototype.
9602a6b7db3Sskrll	* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
9612a6b7db3Sskrll	defined, write alignment to alignment bits in section header s_flags
9622a6b7db3Sskrll	rather than the s_align field.
9632a6b7db3Sskrll	* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
9642a6b7db3Sskrll	* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
9652a6b7db3Sskrll	pseudo, instead of s_lcomm which wants a power of two for alignment.
9662a6b7db3Sskrll
9672a6b7db3SskrllMon Aug 18 20:42:23 1997  Richard Henderson  <rth@cygnus.com>
9682a6b7db3Sskrll
9692a6b7db3Sskrll	* macro.c (check_macro): use alloca instead of xmalloc to plug leak.
9702a6b7db3Sskrll
9712a6b7db3SskrllMon Aug 18 20:33:06 1997  Richard Henderson  <rth@cygnus.com>
9722a6b7db3Sskrll
9732a6b7db3Sskrll	* as.c (show_usage): Add -am.
9742a6b7db3Sskrll	* input-scrub.c (input_scrub_include_sb): Don't add leading \n
9752a6b7db3Sskrll	if we've already got one.
9762a6b7db3Sskrll	* listing.c (struct list_info_struct): Add line_contents.
9772a6b7db3Sskrll	(listing_newline): Put unused argument to work: if non-null, save it...
9782a6b7db3Sskrll	(listing_listing): ... and regurgitate during listing instead of line
9792a6b7db3Sskrll	from file.
9802a6b7db3Sskrll	* listing.h (LISTING_MACEXP): New define.
9812a6b7db3Sskrll	(LISTING_NEWLINE): Argument is NULL.
9822a6b7db3Sskrll	* read.c (read_a_source_file): If expanding macros, break up input
9832a6b7db3Sskrll	lines and pass them to listing_newline.
9842a6b7db3Sskrll	* doc/as.texinfo: Document -ac and -am.
9852a6b7db3Sskrll
9862a6b7db3Sskrll	* cond.c (s_ifc): Add missing demand_empty_rest_of_line.
9872a6b7db3Sskrll
9882a6b7db3SskrllMon Aug 18 11:26:36 1997  Nick Clifton  <nickc@cygnus.com>
9892a6b7db3Sskrll
9902a6b7db3Sskrll	* config/tc-v850.c (md_apply_fix3): Add support for new 16 bit PC
9912a6b7db3Sskrll	relative reloc.
9922a6b7db3Sskrll
9932a6b7db3SskrllMon Aug 18 11:24:21 1997  Nick Clifton  <nickc@cygnus.com>
9942a6b7db3Sskrll
9952a6b7db3Sskrll	* config/tc-v850.c: Remove support_v850e flag and command line
9962a6b7db3Sskrll	option.
9972a6b7db3Sskrll
9982a6b7db3Sskrll	* configure.in (emulations): Add support for v850e target
9992a6b7db3Sskrll
10002a6b7db3Sskrll	* configure (emulations): Add support for v850e target
10012a6b7db3Sskrll
10022a6b7db3SskrllMon Aug 18 11:24:21 1997  Nick Clifton  <nickc@cygnus.com>
10032a6b7db3Sskrll
10042a6b7db3Sskrll	* config/tc-v850.c: Remove support_v850ea flag and command line
10052a6b7db3Sskrll	option.
10062a6b7db3Sskrll
10072a6b7db3Sskrll	* configure.in (emulations): Add support for v850ea target
10082a6b7db3Sskrll
10092a6b7db3Sskrll	* configure (emulations): Add support for v850ea target
10102a6b7db3Sskrll
10112a6b7db3SskrllFri Aug 15 14:00:13 1997  Ian Lance Taylor  <ian@cygnus.com>
10122a6b7db3Sskrll
10132a6b7db3Sskrll	* Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
10142a6b7db3Sskrll	setting EXPECT and TCL_LIBRARY.
10152a6b7db3Sskrll	* Makefile.in: Rebuild.
10162a6b7db3Sskrll
10172a6b7db3Sskrll	* as.h (enum debug_info_type): Define.
10182a6b7db3Sskrll	(debug_type): Declare.
10192a6b7db3Sskrll	* as.c (debug_type): New global variable.
10202a6b7db3Sskrll	(show_usage): Add --gstabs.
10212a6b7db3Sskrll	(parse_args): Handle --gstabs.
10222a6b7db3Sskrll	* read.c (generate_asm_lineno): Remove.
10232a6b7db3Sskrll	(read_a_source_file): Output stabs debugging if appropriate.
10242a6b7db3Sskrll	Change checks of generate_asm_lineno to check debug_type.  Only
10252a6b7db3Sskrll	generate ECOFF debugging if ECOFF_DEBUGGING is defined.
10262a6b7db3Sskrll	* read.h (generate_asm_lineno): Don't declare.
10272a6b7db3Sskrll	(stabs_generate_asm_lineno): Declare.
10282a6b7db3Sskrll	* stabs.c (stabs_generate_asm_lineno): New function.
10292a6b7db3Sskrll	* ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
10302a6b7db3Sskrll	Don't turn off debugging.
10312a6b7db3Sskrll	(add_file): Remove old #if 0 code.
10322a6b7db3Sskrll	(ecoff_new_file): Set debug_type, not generate_asm_lineno.
10332a6b7db3Sskrll	(ecoff_directive_end): Don't generate stabs line symbols.
10342a6b7db3Sskrll	(ecoff_generate_asm_lineno): Don't check stabs_seen.  Don't set
10352a6b7db3Sskrll	generate_asm_lineno.
10362a6b7db3Sskrll	(line_label_cnt): Remove.
10372a6b7db3Sskrll	(ecoff_generate_asm_line_stab): Remove.
10382a6b7db3Sskrll	* ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
10392a6b7db3Sskrll	* doc/as.texinfo, doc/as.1: Document --gstabs.
10402a6b7db3Sskrll
10412a6b7db3SskrllWed Aug 13 18:58:56 1997  Nick Clifton  <nickc@cygnus.com>
10422a6b7db3Sskrll
10432a6b7db3Sskrll	* config/tc-v850.c (md_assemble, md_show_usage, md_parse_option):
10442a6b7db3Sskrll	Add support for v850ea instructions.
10452a6b7db3Sskrll
10462a6b7db3Sskrll	* config/tc-v850.c (md_assemble, md_show_usage, md_parse_option):
10472a6b7db3Sskrll	Add support for v850e instructions.
10482a6b7db3Sskrll
10492a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Fix error recovery to reload
10502a6b7db3Sskrll	text of entire opcode.
10512a6b7db3Sskrll
10522a6b7db3SskrllTue Aug 12 10:27:34 1997  Richard Henderson  <rth@cygnus.com>
10532a6b7db3Sskrll
10542a6b7db3Sskrll	* doc/internals.texi: Document rs_leb128.
10552a6b7db3Sskrll
10562a6b7db3SskrllTue Aug 12 12:17:03 1997  Ian Lance Taylor  <ian@cygnus.com>
10572a6b7db3Sskrll
10582a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
10592a6b7db3Sskrll	in ABSL case, rather than calling abort.
10602a6b7db3Sskrll
10612a6b7db3SskrllMon Aug 11 21:48:00 1997  Richard Henderson  <rth@cygnus.com>
10622a6b7db3Sskrll
10632a6b7db3Sskrll	* as.h (enum _relax_state): Add rs_leb128.
10642a6b7db3Sskrll	* read.c (potable): Add sleb128 and uleb128.
10652a6b7db3Sskrll	(sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
10662a6b7db3Sskrll	functions.
10672a6b7db3Sskrll	* read.h: Update prototypes.
10682a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Streamline quite a bit.  Return
10692a6b7db3Sskrll	the symbol value, add a second FINALIZE argument that prevents
10702a6b7db3Sskrll	changes from being comitted.  Update all callers.
10712a6b7db3Sskrll	* write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
10722a6b7db3Sskrll	* doc/as.texinfo: Document the new pseudos.
10732a6b7db3Sskrll
10742a6b7db3SskrllSun Aug 10 14:51:49 1997  Ian Lance Taylor  <ian@cygnus.com>
10752a6b7db3Sskrll
10762a6b7db3Sskrll	* Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
10772a6b7db3Sskrll	stage1, and stage2.
10782a6b7db3Sskrll	(DISTCLEANFILES): Define.
10792a6b7db3Sskrll	* doc/Makefile.am (DISTCLEANFILES): Define.
10802a6b7db3Sskrll	* Makefile.in, doc/Makefile.in: Rebuild.
10812a6b7db3Sskrll
10822a6b7db3SskrllWed Aug  6 00:30:30 1997  Ian Lance Taylor  <ian@cygnus.com>
10832a6b7db3Sskrll
10842a6b7db3Sskrll	* configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.
10852a6b7db3Sskrll	Don't set targ or gas_target.  Define SCO_ELF and
10862a6b7db3Sskrll	TARGET_SOLARIS_COMMENT when appropriate.  Don't substitute for
10872a6b7db3Sskrll	target_frag.
10882a6b7db3Sskrll	* Makefile.am: Remove @target_frag@.
10892a6b7db3Sskrll	(INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and
10902a6b7db3Sskrll	$(TDEFINES).
10912a6b7db3Sskrll	(dep-am): Mark as phony.
10922a6b7db3Sskrll	* acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT,
10932a6b7db3Sskrll	and SCO_ELF.
10942a6b7db3Sskrll	* config/arm-big.mt, config/arm-lit.mt: Remove.
10952a6b7db3Sskrll	* config/mips-big.mt, config/mips-lit.mt: Remove.
10962a6b7db3Sskrll	* config/ppc-big.mt, config/ppc-lit.mt: Remove.
10972a6b7db3Sskrll	* config/ppc-sol.mt: Remove.
10982a6b7db3Sskrll	* config/i386coff.mt, config/m68kcoff.mt: Remove.
10992a6b7db3Sskrll	* config/m88kcoff.mt: Remove.
11002a6b7db3Sskrll	* config/sco5.mt: Remove.
11012a6b7db3Sskrll	* configure, config.in, Makefile.in: Rebuild.
11022a6b7db3Sskrll
11032a6b7db3Sskrll	* Makefile.am ($(srcdir)/config/m68k-parse.h): New target, to
11042a6b7db3Sskrll	further try to circumvent the .y.h rule.
11052a6b7db3Sskrll	* Makefile.in: Rebuild.
11062a6b7db3Sskrll
11072a6b7db3SskrllTue Aug  5 12:32:07 1997  Ian Lance Taylor  <ian@cygnus.com>
11082a6b7db3Sskrll
11092a6b7db3Sskrll	* Makefile.am: New file, based on old Makefile.in.
11102a6b7db3Sskrll	* acinclude.m4: New file, from old aclocal.m4.
11112a6b7db3Sskrll	* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
11122a6b7db3Sskrll	shared library handling; now handled by libtool.  Replace
11132a6b7db3Sskrll	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
11142a6b7db3Sskrll	AC_PROG_LEX, and AC_DECL_YYTEXT.  Call AM_MAINTAINER_MODE,
11152a6b7db3Sskrll	AM_CYGWIN32, and AM_EXEEXT.  Don't call CY_CYGWIN32 or CY_EXEEXT.
11162a6b7db3Sskrll	* config.in: New file, created by autoheader.
11172a6b7db3Sskrll	* conf.in: Remove.
11182a6b7db3Sskrll	* acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN.
11192a6b7db3Sskrll	* stamp-h.in: New file.
11202a6b7db3Sskrll	* as.c (print_version_id): Change GAS_VERSION to VERSION.
11212a6b7db3Sskrll	(parse_args): Likewise.
11222a6b7db3Sskrll	* config/obj-vms.c: (Write_VMS_MHD_Records): Likewise.
11232a6b7db3Sskrll	* doc/Makefile.am: New file, based on old doc/Makefile.in.
11242a6b7db3Sskrll	* Makefile.in, doc/Makefile.in: Now built with automake.
11252a6b7db3Sskrll	* aclocal.m4: Now built with aclocal.
11262a6b7db3Sskrll	* configure: Rebuild.
11272a6b7db3Sskrll
11282a6b7db3Sskrll	* cond.c (s_else): If not listing false conditionals, turn listing
11292a6b7db3Sskrll	off in the false branch of the else.
11302a6b7db3Sskrll
11312a6b7db3SskrllMon Aug  4 11:28:35 1997  Ian Lance Taylor  <ian@cygnus.com>
11322a6b7db3Sskrll
11332a6b7db3Sskrll	* config/tc-mips.c (macro): Fix handling of a double load from a
11342a6b7db3Sskrll	symbol plus an offset.
11352a6b7db3Sskrll
11362a6b7db3Sskrll	* ecoff.c (ecoff_build_symbols): Set fMerge to 0 for an FDR which
11372a6b7db3Sskrll	has an associated external symbol.
11382a6b7db3Sskrll
11392a6b7db3SskrllSun Aug  3 23:23:59 1997  Richard Henderson  <rth@cygnus.com>
11402a6b7db3Sskrll
11412a6b7db3Sskrll	* config/tc-alpha.c (s_alpha_ucons): New function.
11422a6b7db3Sskrll	(md_pseudo_table): Add unaligned data pseudos for DWARF.
11432a6b7db3Sskrll
11442a6b7db3SskrllThu Jul 31 15:13:43 1997  Jeffrey A Law  (law@cygnus.com)
11452a6b7db3Sskrll
11462a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Ignore the rest of the current
11472a6b7db3Sskrll	line if we encounter an error.
11482a6b7db3Sskrll
11492a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Sign extend constants value
11502a6b7db3Sskrll	for hi and hi0 expressions.
11512a6b7db3Sskrll	(v850_insert_operand): Enable range checking for generic 16bit
11522a6b7db3Sskrll	operands.
11532a6b7db3Sskrll
11542a6b7db3SskrllTue Jul 29 14:20:43 1997  Jeffrey A Law  (law@cygnus.com)
11552a6b7db3Sskrll
11562a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
11572a6b7db3Sskrll	LO16, HI16 and HI16_S relocs.
11582a6b7db3Sskrll
11592a6b7db3SskrllMon Jul 28 18:41:41 1997  Rob Savoye  <rob@chinadoll.cygnus.com>
11602a6b7db3Sskrll
11612a6b7db3Sskrll	* configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
11622a6b7db3Sskrll	win32 dependencies.
11632a6b7db3Sskrll	* configure: Regenerated with autoconf 2.12.
11642a6b7db3Sskrll	* Makefile.in: Add $(EXEEXT) to all executables.
11652a6b7db3Sskrll
11662a6b7db3SskrllFri Jul 25 10:54:43 1997  Jeffrey A Law  (law@cygnus.com)
11672a6b7db3Sskrll
11682a6b7db3Sskrll	* config/tc-hppa.c (md_apply_fix): Improve warnings for out of range
11692a6b7db3Sskrll	unconditional branches.
11702a6b7db3Sskrll	(hppa_fix_adjustable): Don't adjust anything with a RR% or LR%
11712a6b7db3Sskrll	field selector.
11722a6b7db3Sskrll
11732a6b7db3SskrllThu Jul 24 15:21:49 1997  Doug Evans  <dje@canuck.cygnus.com>
11742a6b7db3Sskrll
11752a6b7db3Sskrll	* config/tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert.
11762a6b7db3Sskrll
11772a6b7db3SskrllThu Jul 24 17:51:29 1997  Ian Lance Taylor  <ian@cygnus.com>
11782a6b7db3Sskrll
11792a6b7db3Sskrll	* macro.c (define_macro): Make sure the index is in range before
11802a6b7db3Sskrll	checking for '('.
11812a6b7db3Sskrll
11822a6b7db3SskrllThu Jul 24 12:13:19 1997  Fred Fish  <fnf@cygnus.com>
11832a6b7db3Sskrll
11842a6b7db3Sskrll	* config/tc-tic80.c (build_insn): Remove "extended" and replace with
11852a6b7db3Sskrll	"fx" and "fxfrag".  Add "ffrag".  Change code to initialize and use
11862a6b7db3Sskrll	the right f/ffrag and fx/fxfrag pairs since instruction may be split
11872a6b7db3Sskrll	across frags.
11882a6b7db3Sskrll
11892a6b7db3SskrllTue Jul 22 18:38:56 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
11902a6b7db3Sskrll
11912a6b7db3Sskrll	* config/te-go32.h (USE_ALIGN_PTWO): Define.
11922a6b7db3Sskrll	* config/tc-i386.c (md_pseudo_table): If USE_ALIGN_PTWO is
11932a6b7db3Sskrll	defined, use s_align_ptwo for .align.
11942a6b7db3Sskrll	* configure.in (i386-*-msdosdjgpp*): New target.
11952a6b7db3Sskrll	(i386-*-go32*): Set em to go32 and targ to coffgo32.
11962a6b7db3Sskrll	* configure: Rebuild.
11972a6b7db3Sskrll
11982a6b7db3SskrllTue Jul 22 12:41:40 1997  Doug Evans  <dje@canuck.cygnus.com>
11992a6b7db3Sskrll
12002a6b7db3Sskrll	* config/tc-sparc.c (last_opcode): New static local.
12012a6b7db3Sskrll	(md_assemble): Don't issue "FP branch in delay slot" warning if
12022a6b7db3Sskrll	the delay slot has been annulled.
12032a6b7db3Sskrll
12042a6b7db3SskrllTue Jul 22 13:25:13 1997  Ian Lance Taylor  <ian@cygnus.com>
12052a6b7db3Sskrll
12062a6b7db3Sskrll	* config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
12072a6b7db3Sskrll	code if BFD_ASSEMBLER.
12082a6b7db3Sskrll
12092a6b7db3SskrllMon Jul 21 08:57:17 1997  Jeffrey A Law  (law@cygnus.com)
12102a6b7db3Sskrll
12112a6b7db3Sskrll	* config/tc-v850.c (system_registers): Fix ordering of registers.
12122a6b7db3Sskrll
12132a6b7db3SskrllTue Jul 15 16:29:54 1997  Fred Fish  <fnf@cygnus.com>
12142a6b7db3Sskrll
12152a6b7db3Sskrll	* config/tc-tic80.c (build_insn): Initialize extended word to zero
12162a6b7db3Sskrll	when it will be filled in later by relocation information.
12172a6b7db3Sskrll
12182a6b7db3SskrllMon Jul 14 23:10:58 1997  Ian Lance Taylor  <ian@cygnus.com>
12192a6b7db3Sskrll
12202a6b7db3Sskrll	* config/tc-mips.c (macro_build): Restore check of fmt argument.
12212a6b7db3Sskrll	(mips_ip): Fix ISA checks.
12222a6b7db3Sskrll
12232a6b7db3SskrllMon Jul 14 19:30:55 1997  Fred Fish  <fnf@cygnus.com>
12242a6b7db3Sskrll
12252a6b7db3Sskrll	* config/tc-tic80.c (build_insn): Fix endianness problem with
12262a6b7db3Sskrll	O_big operands.
12272a6b7db3Sskrll
12282a6b7db3SskrllSun Jul 13 20:43:46 1997  Ian Lance Taylor  <ian@cygnus.com>
12292a6b7db3Sskrll
12302a6b7db3Sskrll	* config/tc-mips.c (check_absolute_expr): Change warning to
12312a6b7db3Sskrll	error.
12322a6b7db3Sskrll
12332a6b7db3SskrllFri Jul 11 10:18:47 1997  Jeffrey A Law  (law@cygnus.com)
12342a6b7db3Sskrll
12352a6b7db3Sskrll	* config/tc-mips.c (macro_build): Refine code to check if an
12362a6b7db3Sskrll	instruction is available on a particular cpu variant.
12372a6b7db3Sskrll	(mips_ip): Likewise.
12382a6b7db3Sskrll
12392a6b7db3SskrllMon Jul  7 22:53:08 1997  Ian Lance Taylor  <ian@cygnus.com>
12402a6b7db3Sskrll
12412a6b7db3Sskrll	* config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
12422a6b7db3Sskrll	OBJ_AOUT to ifdef OBJ_ELF.
12432a6b7db3Sskrll	(md_apply_fix3): When mangling 32 bit PC relative reloc for
12442a6b7db3Sskrll	BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
12452a6b7db3Sskrll	case.
12462a6b7db3Sskrll	* write.c (fixup_segment): Change special case for i386-coff to
12472a6b7db3Sskrll	not apply for i386-pe.
12482a6b7db3Sskrll	* config/obj-coff.c (coff_adjust_section_syms): Only count fixups
12492a6b7db3Sskrll	which were not done.
12502a6b7db3Sskrll	(coff_frob_file_after_relocs): Rename from coff_frob_file.
12512a6b7db3Sskrll	(coff_format_ops): Initialize frob_file_after_relocs field rather
12522a6b7db3Sskrll	than frob_file field.
12532a6b7db3Sskrll	* config/obj-coff.h (coff_frob_file): Don't declare.
12542a6b7db3Sskrll	(coff_frob_file_after_relocs): Declare.
12552a6b7db3Sskrll	(obj_frob_file): Don't define.
12562a6b7db3Sskrll	(obj_frob_file_after_relocs): Define.
12572a6b7db3Sskrll	* configure.in: Set bfd_gas to yes for i386-*-cygwin32.
12582a6b7db3Sskrll	* configure: Rebuild.
12592a6b7db3Sskrll
12602a6b7db3SskrllWed Jul  2 12:05:00 1997  Ian Lance Taylor  <ian@cygnus.com>
12612a6b7db3Sskrll
12622a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Never subtract section
12632a6b7db3Sskrll	address from PC relative reloc which will be fully resolved.
12642a6b7db3Sskrll
12652a6b7db3SskrllTue Jul  1 15:23:07 1997  Jeffrey A Law  (law@cygnus.com)
12662a6b7db3Sskrll
12672a6b7db3Sskrll	* ecoff.c (page_type): Renamed from page_t to avoid conflict
12682a6b7db3Sskrll	with hpux10 header files.
12692a6b7db3Sskrll
12702a6b7db3SskrllMon Jun 30 12:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
12712a6b7db3Sskrll
12722a6b7db3Sskrll	From Jason Merrill <jason@cygnus.com>:
12732a6b7db3Sskrll	* read.c (do_align): If BFD_ASSEMBLER, only use NOP_OPCODE if
12742a6b7db3Sskrll	SEC_CODE is set.
12752a6b7db3Sskrll	* config/tc-i386.h (md_maybe_text): Define.
12762a6b7db3Sskrll	(md_do_align): Use md_maybe_text.
12772a6b7db3Sskrll
12782a6b7db3SskrllFri Jun 27 19:15:27 1997  Michael Meissner  <meissner@cygnus.com>
12792a6b7db3Sskrll
12802a6b7db3Sskrll	* config/tc-ppc.h (tc_fix_adjustable): Only check for GOT type
12812a6b7db3Sskrll	relocations, don't check for symbol being external, weak, etc.
12822a6b7db3Sskrll
12832a6b7db3SskrllMon Jun 16 19:12:51 1997  Geoff Keating  <geoffk@ozemail.com.au>
12842a6b7db3Sskrll
12852a6b7db3Sskrll	* config/tc-ppc.h (tc_fix_adjustable): Don't let the assembler
12862a6b7db3Sskrll	calculate relocations to any external symbol, because we might be
12872a6b7db3Sskrll	linking a shared object and the symbol might be overriden or moved
12882a6b7db3Sskrll	(for instance, moved into a static executable's .bss section).
12892a6b7db3Sskrll	(GLOBAL_OFFSET_TABLE_NAME): Delete. This is an i386 wierdness.
12902a6b7db3Sskrll
12912a6b7db3Sskrll	* config/tc-ppc.h (tc_fix_adjustable): GOT-based relocations can't
12922a6b7db3Sskrll	be calculated by the assembler.
12932a6b7db3Sskrll
12942a6b7db3Sskrll	* config/tc-ppc.c (md_apply_fix3): Handle @plt or @local branch
12952a6b7db3Sskrll	whose destination lies in the same file, by ignoring the @plt or
12962a6b7db3Sskrll	@local and aiming the branch at its destination.
12972a6b7db3Sskrll
12982a6b7db3SskrllMon Jun 16 13:59:18 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
12992a6b7db3Sskrll
13002a6b7db3Sskrll	* symbols.c (copy_symbol_attributes): Copy BSF_OBJECT flag.
13012a6b7db3Sskrll	* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy size
13022a6b7db3Sskrll	expression.
13032a6b7db3Sskrll
13042a6b7db3Sskrll	* config/obj-multi.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define instead
13052a6b7db3Sskrll	of obj_copy_symbol_attributes.
13062a6b7db3Sskrll
13072a6b7db3SskrllMon Jun 16 12:45:56 1997  Ian Lance Taylor  <ian@cygnus.com>
13082a6b7db3Sskrll
13092a6b7db3Sskrll	* config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with a
13102a6b7db3Sskrll	signed operand, sign extend a 32 bit value to the host size.
13112a6b7db3Sskrll
13122a6b7db3Sskrll	* Makefile.in (CFLAGS): Subsitute from configure script.  From
13132a6b7db3Sskrll	Jeff Makey <jeff@cts.com>.
13142a6b7db3Sskrll
13152a6b7db3Sskrll	* config/tc-i386.c (i386_operand): Use alloca rather than a fixed
13162a6b7db3Sskrll	buffer size to make a copy of the symbol.
13172a6b7db3Sskrll
13182a6b7db3Sskrll	* Makefile.in (OBJS): Put @extra_objects@ on the same line as
13192a6b7db3Sskrll	macro.o.
13202a6b7db3Sskrll
13212a6b7db3SskrllThu Jun 12 12:16:20 1997  Ian Lance Taylor  <ian@cygnus.com>
13222a6b7db3Sskrll
13232a6b7db3Sskrll	* write.c (write_object_file): In non BFD_ASSEMBLER code, as we
13242a6b7db3Sskrll	step through the frags calling cvt_frag_to_fill, switch to
13252a6b7db3Sskrll	SEG_DATA when we reach data_frag_root.
13262a6b7db3Sskrll
13272a6b7db3SskrllTue Jun 10 17:08:34 1997  Jeffrey A Law  (law@cygnus.com)
13282a6b7db3Sskrll
13292a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Allow an empty register
13302a6b7db3Sskrll	list for instructions which use register lists.
13312a6b7db3Sskrll
13322a6b7db3SskrllTue Jun 10 11:18:09 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
13332a6b7db3Sskrll
13342a6b7db3Sskrll	* config/tc-arm.c (md_apply_fix3): Make temp unsigned long.
13352a6b7db3Sskrll
13362a6b7db3Sskrll	* config/tc-arm.c (arm_adjust_symtab): Only set storage classes if
13372a6b7db3Sskrll	OBJ_COFF.
13382a6b7db3Sskrll
13392a6b7db3Sskrll	* config/tc-arm.c: Add prototypes for many static functions.
13402a6b7db3Sskrll	(struct asm_opcode ): Add prototypes for parms field.
13412a6b7db3Sskrll	(struct thumb_opcode ): Likewise.
13422a6b7db3Sskrll	(fp_op2): Remove unused flags parameter.
13432a6b7db3Sskrll	(output_inst): Make static.
13442a6b7db3Sskrll	(arm_after_pass_hook): Remove unused ignore parameter.
13452a6b7db3Sskrll	* config/tc-arm.h (arm_after_pass_hook): Declare.
13462a6b7db3Sskrll	(arm_start_line_hook): Declare.
13472a6b7db3Sskrll	(arm_frob_label): Declare.
13482a6b7db3Sskrll
13492a6b7db3SskrllMon Jun  9 12:55:45 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
13502a6b7db3Sskrll
13512a6b7db3Sskrll	* depend.c (wrap_output): new prototype.
13522a6b7db3Sskrll
13532a6b7db3SskrllMon Jun  9 12:52:44 1997  Ian Lance Taylor  <ian@cygnus.com>
13542a6b7db3Sskrll
13552a6b7db3Sskrll	* config/tc-sh.c (md_apply_fix): Check for overflow.
13562a6b7db3Sskrll
13572a6b7db3Sskrll	* config/tc-m68k.c (md_section_align): If a.out and BFD, force
13582a6b7db3Sskrll	section size to be aligned.
13592a6b7db3Sskrll
13602a6b7db3SskrllFri Jun  6 17:15:55 1997  Ian Lance Taylor  <ian@cygnus.com>
13612a6b7db3Sskrll
13622a6b7db3Sskrll	* config/tc-sh.h (md_cons_align): Define.
13632a6b7db3Sskrll	(sh_cons_align): Declare.
13642a6b7db3Sskrll	* config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
13652a6b7db3Sskrll	(sh_no_align_cons): New static variable.
13662a6b7db3Sskrll	(s_uacons): New static function.
13672a6b7db3Sskrll	(sh_cons_align): New function.
13682a6b7db3Sskrll	(sh_handle_align): Warn about misaligned data.
13692a6b7db3Sskrll	* doc/c-sh.texi: Document .uaword and .ualong.
13702a6b7db3Sskrll
13712a6b7db3SskrllThu Jun  5 15:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
13722a6b7db3Sskrll
13732a6b7db3Sskrll	* macro.c (macro_expand): In MRI mode, treat single quote as a
13742a6b7db3Sskrll	separator character when checking for a positional argument.
13752a6b7db3Sskrll
13762a6b7db3SskrllTue Jun  3 16:15:13 1997  Nick Clifton  <nickc@cygnus.com>
13772a6b7db3Sskrll
13782a6b7db3Sskrll	* config/tc-arm.c (md_parse_option): Merge in changes from
13792a6b7db3Sskrll	armT-970328-branch.
13802a6b7db3Sskrll
13812a6b7db3Sskrll	* config/tc-arm.h: Merge in changes from armT-970328-branch.
13822a6b7db3Sskrll
13832a6b7db3Sskrll	* configure.in (emulations): Add Thumb architecture support from
13842a6b7db3Sskrll	armT-9703-28-branch.
13852a6b7db3Sskrll
13862a6b7db3SskrllMon Jun  2 16:25:07 1997  Nick Clifton  <nickc@cygnus.com>
13872a6b7db3Sskrll
13882a6b7db3Sskrll	* doc/all.texi: Add enabling of ARM documentation.
13892a6b7db3Sskrll
13902a6b7db3Sskrll	* doc/as.texinfo: Add ARM documentation from armT-970328-branch.
13912a6b7db3Sskrll
13922a6b7db3SskrllMon Jun  2 11:55:12 1997  Gavin Koch  <gavin@cygnus.com>
13932a6b7db3Sskrll
13942a6b7db3Sskrll	* config/tc-mips.c: Added r3900 support.
13952a6b7db3Sskrll
13962a6b7db3SskrllThu May 29 12:58:26 1997  Ben Pfaff  <pfaffben@pilot.msu.edu>
13972a6b7db3Sskrll
13982a6b7db3Sskrll	* as.c: (parse_args) `-t' option requires an argument.
13992a6b7db3Sskrll
14002a6b7db3SskrllWed May 28 15:45:07 1997  Nick Clifton  <nickc@cygnus.com>
14012a6b7db3Sskrll
14022a6b7db3Sskrll	* config/tc-arm.c (md_begin): Change call to
14032a6b7db3Sskrll	coff_arm_bfd_set_private_flags() to a call to
14042a6b7db3Sskrll	bfd_set_private_flags().
14052a6b7db3Sskrll
14062a6b7db3SskrllWed May 28 16:17:34 1997  Ian Lance Taylor  <ian@cygnus.com>
14072a6b7db3Sskrll
14082a6b7db3Sskrll	* Makefile.in: Rebuild dependencies.
14092a6b7db3Sskrll
14102a6b7db3Sskrll	* config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
14112a6b7db3Sskrll	of a BFD_RELOC_RVA reloc.
14122a6b7db3Sskrll
14132a6b7db3SskrllWed May 28 10:48:14 1997  Jeffrey A Law  (law@cygnus.com)
14142a6b7db3Sskrll
14152a6b7db3Sskrll	* config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
14162a6b7db3Sskrll	(hppa_force_relocation): Force a relocation for an absolute
14172a6b7db3Sskrll	call/jump.
14182a6b7db3Sskrll
14192a6b7db3SskrllMon May 26 13:24:25 1997  Ian Lance Taylor  <ian@cygnus.com>
14202a6b7db3Sskrll
14212a6b7db3Sskrll	* doc/as.texinfo: Don't use @value in section names or index
14222a6b7db3Sskrll	entries; it confuses texinfo.tex.
14232a6b7db3Sskrll
14242a6b7db3SskrllFri May 23 00:09:35 1997  Tom Tromey  <tromey@cygnus.com>
14252a6b7db3Sskrll
14262a6b7db3Sskrll	* doc/as.texinfo: Updated for -MD option.
14272a6b7db3Sskrll	* Makefile.in (CFILES): Added depend.c.
14282a6b7db3Sskrll	(OBJS): Added depend.o.
14292a6b7db3Sskrll	* as.h (start_dependencies, register_dependency,
14302a6b7db3Sskrll	print_dependencies): New declarations.
14312a6b7db3Sskrll	* depend.c: New file.
14322a6b7db3Sskrll	* as.c (parse_args): Added -MD option.
14332a6b7db3Sskrll	(main): Call print_dependencies.
14342a6b7db3Sskrll	(show_usage): Added help for -MD.
14352a6b7db3Sskrll	* read.c (s_app_file): Call register_dependency.
14362a6b7db3Sskrll	(s_include): Call register_dependency when file is found.
14372a6b7db3Sskrll	(read_a_source_file): Call register_dependency.
14382a6b7db3Sskrll
14392a6b7db3SskrllWed May 21 17:39:28 1997  Ian Lance Taylor  <ian@cygnus.com>
14402a6b7db3Sskrll
14412a6b7db3Sskrll	* config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
14422a6b7db3Sskrll	section address to the symbol value.
14432a6b7db3Sskrll
14442a6b7db3SskrllTue May 20 11:23:31 1997  Gavin Koch  <gavin@cygnus.com>
14452a6b7db3Sskrll
14462a6b7db3Sskrll	* config/tc-mips.c (macro_build,mips_ip): Move the INSN_ISA field
14472a6b7db3Sskrll	into the new membership field.
14482a6b7db3Sskrll
14492a6b7db3SskrllThu May 15 10:00:53 1997  Nick Clifton  <nickc@cygnus.com>
14502a6b7db3Sskrll
14512a6b7db3Sskrll	* config/tc-arm.c (md_begin): If no cpu type is specified on the
14522a6b7db3Sskrll	command line then the ARM7 is now chosen by default when setting
14532a6b7db3Sskrll	the BFD machine and architecture.
14542a6b7db3Sskrll
14552a6b7db3SskrllWed May 14 09:54:53 1997  Nick Clifton  <nickc@cygnus.com>
14562a6b7db3Sskrll
14572a6b7db3Sskrll	* config/tc-arm.c (global variables): Added 'uses_apcs_26' flag to
14582a6b7db3Sskrll	hold APCS selection.
14592a6b7db3Sskrll	(md_begin): Added code to generate flags to be set into the COFF
14602a6b7db3Sskrll	header and the calls to the BFD functions to do this.
14612a6b7db3Sskrll	(md_parse_option, md_show_usage): Added new command line
14622a6b7db3Sskrll	options -mapcs-32, -mapcs-26, -marmv2, -marmv2a, -marmv3,
14632a6b7db3Sskrll	-marmv3m, -marmv4, -marmv4t.
14642a6b7db3Sskrll
14652a6b7db3Sskrll	* config/tc-arm.h (LOCAL_LABEL): Removed the definition of this macro
14662a6b7db3Sskrll	as it is never used.
14672a6b7db3Sskrll
14682a6b7db3SskrllTue May 13 22:26:14 1997  Jeffrey A Law  (law@cygnus.com)
14692a6b7db3Sskrll
14702a6b7db3Sskrll	* config/tc-mn10200.c (md_convert_frag): Prefix temporary
14712a6b7db3Sskrll	label name with ".".
14722a6b7db3Sskrll	* config/tc-mn10300.c (md_convert_frag): Likewise.
14732a6b7db3Sskrll
14742a6b7db3SskrllTue May 13 14:44:39 1997  Ian Lance Taylor  <ian@cygnus.com>
14752a6b7db3Sskrll
14762a6b7db3Sskrll	* config/tc-mips.c (set_at): Check for bignum.
14772a6b7db3Sskrll	(check_absolute_expr, macro, mips16_macro): Likewise.
14782a6b7db3Sskrll
14792a6b7db3SskrllTue May 13 10:45:56 1997  Fred Fish  <fnf@cygnus.com>
14802a6b7db3Sskrll
14812a6b7db3Sskrll	* config/tc-tic80.c (md_apply_fix): Check PC relative relocations
14822a6b7db3Sskrll	for overflow/underflow, only insert lower 15 bits into instruction.
14832a6b7db3Sskrll
14842a6b7db3SskrllMon May 12 13:33:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
14852a6b7db3Sskrll
14862a6b7db3Sskrll	* config/tc-i386.c (pi): Check for RegMMX.
14872a6b7db3Sskrll
14882a6b7db3SskrllThu May  8 11:10:15 1997  Ian Lance Taylor  <ian@cygnus.com>
14892a6b7db3Sskrll
14902a6b7db3Sskrll	* expr.c (expr): When subtracting values in the same frag,
14912a6b7db3Sskrll	subtract X_add_number rather than adding it.
14922a6b7db3Sskrll
14932a6b7db3SskrllWed May  7 15:39:48 1997  Ian Lance Taylor  <ian@cygnus.com>
14942a6b7db3Sskrll
14952a6b7db3Sskrll	* config/obj-coff.c (write_object_file): Just pass NULL to
14962a6b7db3Sskrll	md_do_align, not the address of a char holding NOP_OPCODE.
14972a6b7db3Sskrll
14982a6b7db3Sskrll	* config/tc-mips.c (macro): Handle constants for M_LI_D and
14992a6b7db3Sskrll	M_LI_DD.
15002a6b7db3Sskrll	(mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
15012a6b7db3Sskrll	than an address if the floating point value looks sufficiently
15022a6b7db3Sskrll	simple.
15032a6b7db3Sskrll
15042a6b7db3SskrllTue May  6 12:18:09 1997  Ian Lance Taylor  <ian@cygnus.com>
15052a6b7db3Sskrll
15062a6b7db3Sskrll	* config/tc-i386.c (md_section_align): If a.out and BFD, force
15072a6b7db3Sskrll	section size to be aligned.
15082a6b7db3Sskrll
15092a6b7db3SskrllMon May  5 17:16:55 1997  Ian Lance Taylor  <ian@cygnus.com>
15102a6b7db3Sskrll
15112a6b7db3Sskrll	* cond.c: Include "macro.h".
15122a6b7db3Sskrll	(struct conditional_frame): Add macro_nest field.
15132a6b7db3Sskrll	(initialize_cframe): Initialize macro_nest.
15142a6b7db3Sskrll	(cond_finish_check): Add nest parameter.  Change all callers.
15152a6b7db3Sskrll	(cond_exit_macro): New function.
15162a6b7db3Sskrll	* as.h (cond_finish_check): Update declaration.
15172a6b7db3Sskrll	(cond_exit_macro): Declare.
15182a6b7db3Sskrll	* input-scrub.c (macro_nest): Make globally visible.
15192a6b7db3Sskrll	(input_scrub_next_buffer): Call cond_finish_check.
15202a6b7db3Sskrll	* macro.h (macro_nest): Declare.
15212a6b7db3Sskrll	* read.c (s_mexit): Call cond_exit_macro.
15222a6b7db3Sskrll
15232a6b7db3Sskrll	* config/tc-i386.h (RegMMX): Define.
15242a6b7db3Sskrll	* config/tc-i386.c (pi): Check for all register types.
15252a6b7db3Sskrll	(type_names): Add RegMMX.
15262a6b7db3Sskrll	(md_assemble): Handle RegMMX.
15272a6b7db3Sskrll
15282a6b7db3SskrllWed Apr 30 12:47:00 1997  Manfred Hollstein  <manfred@s-direktnet.de>
15292a6b7db3Sskrll
15302a6b7db3Sskrll	* config/obj-coff.c (c_section_symbol): Clear the LOCAL bit #ifdef
15312a6b7db3Sskrll	TE_DELTA.
15322a6b7db3Sskrll
15332a6b7db3SskrllTue Apr 29 20:23:10 1997  Jim Wilson  <wilson@cygnus.com>
15342a6b7db3Sskrll
15352a6b7db3Sskrll	* config/tc-mips.c (nopic_need_relax): Add new parameter
15362a6b7db3Sskrll	before_relaxing.  Use it when testing ecoff_extern_size.
15372a6b7db3Sskrll	(load_address, macro, md_estimate_size_before_relax): Fix all
15382a6b7db3Sskrll	callers.
15392a6b7db3Sskrll
15402a6b7db3SskrllTue Apr 29 19:54:36 1997  Richard Henderson  <rth@tamu.edu>
15412a6b7db3Sskrll
15422a6b7db3Sskrll	* config/obj-elf.c (elf_pseudo_table): Add "subsection".
15432a6b7db3Sskrll	(obj_elf_subsection): New static function.
15442a6b7db3Sskrll
15452a6b7db3SskrllTue Apr 29 19:52:47 1997  Ian Lance Taylor  <ian@cygnus.com>
15462a6b7db3Sskrll
15472a6b7db3Sskrll	* config/obj-coff.c (coff_header_append): Don't reset string_size
15482a6b7db3Sskrll	each time through the loop.
15492a6b7db3Sskrll
15502a6b7db3SskrllFri Apr 25 14:17:46 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
15512a6b7db3Sskrll
15522a6b7db3Sskrll	* Makefile.in (DISTSTUFF): Add itbl-parse.h.
15532a6b7db3Sskrll
15542a6b7db3SskrllFri Apr 25 12:03:15 1997  Ian Lance Taylor  <ian@cygnus.com>
15552a6b7db3Sskrll
15562a6b7db3Sskrll	* doc/internals.texi (Porting GAS): Correct documentation for
15572a6b7db3Sskrll	current configure handling of targ-cpu.h, et. al.
15582a6b7db3Sskrll	(CPU backend): Document listing macros.
15592a6b7db3Sskrll
15602a6b7db3Sskrll	* listing.c (data_buffer): Set size based on other listing macros,
15612a6b7db3Sskrll	rather than always using 100.
15622a6b7db3Sskrll	(data_buffer_size): Remove static variable.
15632a6b7db3Sskrll	(calc_hex): Make data_buffer_size a local variable.  Don't leave
15642a6b7db3Sskrll	any slop when filling data_buffer.
15652a6b7db3Sskrll
15662a6b7db3SskrllMon Apr 21 15:33:19 1997  Ian Lance Taylor  <ian@cygnus.com>
15672a6b7db3Sskrll
15682a6b7db3Sskrll	* doc/c-mips.texi: Document .set autoextend.
15692a6b7db3Sskrll
15702a6b7db3SskrllSat Apr 19 23:09:25 1997  Niklas Hallqvist  <niklas@petra.appli.se>
15712a6b7db3Sskrll
15722a6b7db3Sskrll	* configure.in (i386-*-openbsd*, m68k-*-openbsd*,
15732a6b7db3Sskrll	mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*,
15742a6b7db3Sskrll	sparc-*-openbsd*): New targets.
15752a6b7db3Sskrll	* configure: Rebuild.
15762a6b7db3Sskrll
15772a6b7db3SskrllSat Apr 19 22:52:03 1997  Jim Wilson  <wilson@cygnus.com>
15782a6b7db3Sskrll
15792a6b7db3Sskrll	* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
15802a6b7db3Sskrll	for all undefined symbols.
15812a6b7db3Sskrll
15822a6b7db3SskrllFri Apr 18 13:37:35 1997  Ian Lance Taylor  <ian@cygnus.com>
15832a6b7db3Sskrll
15842a6b7db3Sskrll	* config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csects
15852a6b7db3Sskrll	correctly.
15862a6b7db3Sskrll
15872a6b7db3SskrllFri Apr 18 11:51:35 1997  Niklas Hallqvist  <niklas@appli.se>
15882a6b7db3Sskrll
15892a6b7db3Sskrll	* configure.in (alpha*-*-openbsd*): New target.
15902a6b7db3Sskrll	* configure: Rebuild.
15912a6b7db3Sskrll
15922a6b7db3SskrllThu Apr 17 13:59:47 1997  Per Fogelstrom  <pefo@openbsd.org>
15932a6b7db3Sskrll
15942a6b7db3Sskrll	* configure.in (mips-*-openbsd*): New target.
15952a6b7db3Sskrll	* configure: Rebuild.
15962a6b7db3Sskrll
15972a6b7db3SskrllWed Apr 16 12:31:24 1997  Martin Hunt <hunt@cygnus.com>
15982a6b7db3Sskrll
15992a6b7db3Sskrll	* config/tc-d30v.c (parallel_ok): Fix parallel checking
16002a6b7db3Sskrll	for instructions using conditional execution.
16012a6b7db3Sskrll
16022a6b7db3SskrllTue Apr 15 18:11:44 1997  Gavin Koch  <gavin@cygnus.com>
16032a6b7db3Sskrll
16042a6b7db3Sskrll	* config/tc-mips.c (insn_uses_reg): Correct test for fpr pairs.
16052a6b7db3Sskrll
16062a6b7db3SskrllTue Apr 15 13:04:47 1997  Ian Lance Taylor  <ian@cygnus.com>
16072a6b7db3Sskrll
16082a6b7db3Sskrll	* Makefile.in (srcroot): Remove.
16092a6b7db3Sskrll	(INSTALL): Set to @INSTALL@.
16102a6b7db3Sskrll	(INSTALL_XFORM, INSTALL_XFORM1): Remove.
16112a6b7db3Sskrll	(all, dvi): Don't set srcroot.
16122a6b7db3Sskrll	(install): Depend upon as.new, gasp.new, and installdirs.  Use
16132a6b7db3Sskrll	$(program_transform_name) directly, rather than using
16142a6b7db3Sskrll	$(INSTALL_XFORM) and $(INSTALL_XFORM1).
16152a6b7db3Sskrll	(installdirs): New target.
16162a6b7db3Sskrll	* doc/Makefile.in (INSTALL_XFORM1): Remove.
16172a6b7db3Sskrll	(install): Depend upon installdirs.  Use $(program_transform_name)
16182a6b7db3Sskrll	directly, rather than using $(INSTALL_XFORM) and
16192a6b7db3Sskrll	$(INSTALL_XFORM1).
16202a6b7db3Sskrll	(installdirs): New target.
16212a6b7db3Sskrll	(install-info-as): Run mkinstalldirs.
16222a6b7db3Sskrll	(install-info-gasp): Likewise.
16232a6b7db3Sskrll
16242a6b7db3SskrllMon Apr 14 11:59:08 1997  Ian Lance Taylor  <ian@cygnus.com>
16252a6b7db3Sskrll
16262a6b7db3Sskrll	* Makefile.in (INSTALL): Change install.sh to install-sh.
16272a6b7db3Sskrll
16282a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Check for division by zero.
16292a6b7db3Sskrll
16302a6b7db3Sskrll	From Thomas Graichen <graichen@rzpd.de>:
16312a6b7db3Sskrll	* Makefile.in: Always use $(SHELL) when running move-if-change.
16322a6b7db3Sskrll	* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
16332a6b7db3Sskrll	* configure: Rebuild.
16342a6b7db3Sskrll
16352a6b7db3SskrllThu Apr 10 14:40:00 1997  Doug Evans  <dje@canuck.cygnus.com>
16362a6b7db3Sskrll
16372a6b7db3Sskrll	* cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand.
16382a6b7db3Sskrll	New argument `want'.  Update enum cgen_parse_operand_result values.
16392a6b7db3Sskrll	Initialize if CGEN_PARSE_OPERAND_INIT.
16402a6b7db3Sskrll	* config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn.
16412a6b7db3Sskrll	(md_assemble): Call cgen_asm_init_parse.
16422a6b7db3Sskrll	Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
16432a6b7db3Sskrll
16442a6b7db3SskrllWed Apr  9 11:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
16452a6b7db3Sskrll
16462a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Handle #j.
16472a6b7db3Sskrll
16482a6b7db3SskrllTue Apr  8 16:37:57 1997  Jeffrey A Law  (law@cygnus.com)
16492a6b7db3Sskrll
16502a6b7db3Sskrll	* config/tc-mn10300.c (md_convert_frag): Create fixup at the
16512a6b7db3Sskrll	right address for call label:32,regs,imm.
16522a6b7db3Sskrll
16532a6b7db3SskrllMon Apr  7 14:58:22 1997  Jeffrey A Law  (law@cygnus.com)
16542a6b7db3Sskrll
16552a6b7db3Sskrll	* config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
16562a6b7db3Sskrll	zero.
16572a6b7db3Sskrll	* config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
16582a6b7db3Sskrll	symbol for OBJ_ELF anymore.
16592a6b7db3Sskrll
16602a6b7db3SskrllMon Apr  7 10:54:59 1997  Doug Evans  <dje@canuck.cygnus.com>
16612a6b7db3Sskrll
16622a6b7db3Sskrll	* Makefile.in: Regenerate dependencies.
16632a6b7db3Sskrll	(TARG_CPU): New variable.
16642a6b7db3Sskrll	(cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
16652a6b7db3Sskrll	(.dep1): Delete creating of cgen-opc.h.
16662a6b7db3Sskrll	(.tcdep): Put proper contents in cgen-opc.h.
16672a6b7db3Sskrll	* configure.in (m32r): Delete setting of extra_files, extra_links.
16682a6b7db3Sskrll	(AC_OUTPUT): Create cgen-opc.h.
16692a6b7db3Sskrll	* configure: Regenerated.
16702a6b7db3Sskrll
16712a6b7db3SskrllSat Apr  5 13:19:12 1997  Klaus Kaempf  <kkaempf@progis.de>
16722a6b7db3Sskrll
16732a6b7db3Sskrll	* makefile.vms: Update to build gasp.exe.
16742a6b7db3Sskrll
16752a6b7db3SskrllFri Apr  4 16:10:02 1997  Doug Evans  <dje@canuck.cygnus.com>
16762a6b7db3Sskrll
16772a6b7db3Sskrll	* write.c (relax_frag): Make non-static.
16782a6b7db3Sskrll	* write.h (relax_frag): Add prototype for.
16792a6b7db3Sskrll	* config/tc-m32r.h (md_do_align): New arg `max'.
16802a6b7db3Sskrll	* config/tc-m32r.c (m32r_do_align): Likewise.
16812a6b7db3Sskrll	Update calls to frag_align, frag_align_pattern.
16822a6b7db3Sskrll	(fill_insn): Update call to m32r_do_align.
16832a6b7db3Sskrll	(m32r_scomm): Update call to frag_align.
16842a6b7db3Sskrll
16852a6b7db3Sskrll	* config/tc-m32r.[ch]: New files.
16862a6b7db3Sskrll	* cgen.c: New file.
16872a6b7db3Sskrll	* Makefile.in (CPU_TYPES): Add m32r.
16882a6b7db3Sskrll	(TARGET_CPU_CFILES): Add tc-m32r.c.
16892a6b7db3Sskrll	(TARGET_CPU_HFILES): Add tc-m32r.h.
16902a6b7db3Sskrll	(DISTCLEAN_HERE): Add cgen-opc.h.
16912a6b7db3Sskrll	(.dep1,.tcdep): Create empty cgen-opc.h.
16922a6b7db3Sskrll	(cgen.o): Add dependencies.
16932a6b7db3Sskrll	(dependencies): Regenerate.
16942a6b7db3Sskrll	* as.h (struct frag): New member fr_targ.
16952a6b7db3Sskrll	(fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
16962a6b7db3Sskrll	* conf.in (USING_CGEN): New macro.
16972a6b7db3Sskrll	* configure.in (m32r-*-*): Add entry for.
16982a6b7db3Sskrll	Add cgen.o to extra_objects.
16992a6b7db3Sskrll	* configure: Regenerate.
17002a6b7db3Sskrll	* frags.c (frag_var): fr_pcrel_adjust renamed to
17012a6b7db3Sskrll	fr_targ.ns32k.pcrel_adjust.  fr_bsr renamed to fr_targ.ns32k.bsr.
17022a6b7db3Sskrll	(frag_variant): Likewise.
17032a6b7db3Sskrll	* write.c (relax_frag): Likewise.
17042a6b7db3Sskrll	* config/tc-ns32k.c (*): Likewise.
17052a6b7db3Sskrll
17062a6b7db3SskrllFri Apr  4 13:26:10 1997  Ian Lance Taylor  <ian@cygnus.com>
17072a6b7db3Sskrll
17082a6b7db3Sskrll	* config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
17092a6b7db3Sskrll	rather than for any end of line character.
17102a6b7db3Sskrll
17112a6b7db3Sskrll	* config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
17122a6b7db3Sskrll	call abort (i.e., as_abort) rather than crashing.
17132a6b7db3Sskrll
17142a6b7db3Sskrll	* config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
17152a6b7db3Sskrll	OBJ_ELF, rather than of S_GET_OTHER.
17162a6b7db3Sskrll
17172a6b7db3Sskrll	* Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak.
17182a6b7db3Sskrll
17192a6b7db3SskrllThu Apr  3 13:16:18 1997  Ian Lance Taylor  <ian@cygnus.com>
17202a6b7db3Sskrll
17212a6b7db3Sskrll	* Makefile.in (VERSION): Set to 2.8.1.
17222a6b7db3Sskrll
17232a6b7db3Sskrll	* Branched binutils 2.8.
17242a6b7db3Sskrll
17252a6b7db3SskrllWed Apr  2 12:24:10 1997  Ian Lance Taylor  <ian@cygnus.com>
17262a6b7db3Sskrll
17272a6b7db3Sskrll	* COPYING: Update FSF address.
17282a6b7db3Sskrll
17292a6b7db3Sskrll	* config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
17302a6b7db3Sskrll
17312a6b7db3SskrllTue Apr  1 18:29:47 1997  Jim Wilson  <wilson@cygnus.com>
17322a6b7db3Sskrll
17332a6b7db3Sskrll	* config/tc-mips.c (md_begin): Don't set interlocks for 4100.
17342a6b7db3Sskrll
17352a6b7db3SskrllTue Apr  1 16:24:28 1997  Klaus Kaempf  <kkaempf@progis.de>
17362a6b7db3Sskrll
17372a6b7db3Sskrll	* config-gas.com: Update to handle both vax and alpha.
17382a6b7db3Sskrll	* makefile.vms: Update to use config-gas.
17392a6b7db3Sskrll	* conf-a-gas.com: Remove file.
17402a6b7db3Sskrll
17412a6b7db3SskrllTue Apr  1 16:08:21 1997  Ian Lance Taylor  <ian@cygnus.com>
17422a6b7db3Sskrll
17432a6b7db3Sskrll	* Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and
17442a6b7db3Sskrll	itbl-lex.c dependencies.  Remove rules for itbl-lex.o,
17452a6b7db3Sskrll	itbl-parse.o, and itbl-ops.o; just use the normal .c.o rule.
17462a6b7db3Sskrll
17472a6b7db3SskrllTue Apr  1 11:25:56 1997  Michael Meissner  <meissner@cygnus.com>
17482a6b7db3Sskrll
17492a6b7db3Sskrll	* config/tc-tic80.c (line_comment_char): Make '#' start comments
17502a6b7db3Sskrll	at the beginning of a line for compatibility with .S files where
17512a6b7db3Sskrll	cpp leaves the filename transitions beginning with '#'.
17522a6b7db3Sskrll
17532a6b7db3SskrllTue Apr  1 00:07:30 1997  Ian Lance Taylor  <ian@cygnus.com>
17542a6b7db3Sskrll
17552a6b7db3Sskrll	* config/tc-m68k.c: Only compile tc_coff_symbol_emit_hook and
17562a6b7db3Sskrll	tc_coff_sizemachdep if OBJ_COFF.
17572a6b7db3Sskrll
17582a6b7db3SskrllMon Mar 31 23:53:44 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
17592a6b7db3Sskrll
17602a6b7db3Sskrll	* config/tc-ppc.c (register_name): Declare.
17612a6b7db3Sskrll
17622a6b7db3SskrllMon Mar 31 16:31:04 1997  Joel Sherrill  <joel@oarcorp.com>
17632a6b7db3Sskrll
17642a6b7db3Sskrll	* configure.in (hppa*-*-rtems*): New target, like hppa-*-*elf*.
17652a6b7db3Sskrll	* configure: Rebuild.
17662a6b7db3Sskrll
17672a6b7db3SskrllMon Mar 31 14:15:19 1997  Ian Lance Taylor  <ian@cygnus.com>
17682a6b7db3Sskrll
17692a6b7db3Sskrll	* config/tc-mips.c (mips_pseudo_table): Add "stabn".
17702a6b7db3Sskrll	(mips16_mark_labels): New static function.
17712a6b7db3Sskrll	(append_insn): Call mips16_mark_labels.
17722a6b7db3Sskrll	(mips_emit_delays): Likewise.
17732a6b7db3Sskrll	(s_insn): Likewise.  Don't call mips_clear_insn_labels.
17742a6b7db3Sskrll	(s_mips_stab): New static function.
17752a6b7db3Sskrll
17762a6b7db3Sskrll	* configure.in: Use ELF for mips-*-gnu*.
17772a6b7db3Sskrll	* configure: Rebuild.
17782a6b7db3Sskrll
17792a6b7db3SskrllMon Mar 31 14:01:40 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
17802a6b7db3Sskrll
17812a6b7db3Sskrll	* config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if
17822a6b7db3Sskrll	TE_DELTA.
17832a6b7db3Sskrll
17842a6b7db3SskrllFri Mar 28 18:03:19 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
17852a6b7db3Sskrll
17862a6b7db3Sskrll	* configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
17872a6b7db3Sskrll	set OPCODES_LIB to empty.
17882a6b7db3Sskrll	* configure: Rebuild.
17892a6b7db3Sskrll
17902a6b7db3SskrllFri Mar 28 15:25:24 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
17912a6b7db3Sskrll
17922a6b7db3Sskrll	* configure.in (sparc-*-linux*aout*, sparc-*-linux*): New
17932a6b7db3Sskrll	targets.
17942a6b7db3Sskrll	* configure: Rebuild.
17952a6b7db3Sskrll
17962a6b7db3SskrllFri Mar 28 13:08:33 1997  Ian Lance Taylor  <ian@cygnus.com>
17972a6b7db3Sskrll
17982a6b7db3Sskrll	* itbl-parse.y (yyerror): Make static.  Declare.
17992a6b7db3Sskrll
18002a6b7db3Sskrll	From Ralf Baechle <ralf@gnu.ai.mit.edu>:
18012a6b7db3Sskrll	* configure.in: Set emulations for mips-*-linux*-*.
18022a6b7db3Sskrll	* configure: Rebuild.
18032a6b7db3Sskrll
18042a6b7db3Sskrll	* config/tc-mips.c (struct mips_set_options): Define.
18052a6b7db3Sskrll	(mips_opts): New static variable.
18062a6b7db3Sskrll	(mips_isa): Remove.  Now a field in mips_opts.  Change all
18072a6b7db3Sskrll	references.
18082a6b7db3Sskrll	(mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
18092a6b7db3Sskrll	(mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
18102a6b7db3Sskrll	(struct mips_option_stack): Define.
18112a6b7db3Sskrll	(mips_opts_stack): New static variable.
18122a6b7db3Sskrll	(s_mipsset): Add support for .set push and .set pop.
18132a6b7db3Sskrll	* doc/c-mips.texi: Document .set push and .set pop.
18142a6b7db3Sskrll
18152a6b7db3Sskrll	* config/obj-elf.c (obj_elf_section_change_hook): New function.
18162a6b7db3Sskrll	* config/obj-elf.h (obj_elf_section_change_hook): Declare it.
18172a6b7db3Sskrll	* config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
18182a6b7db3Sskrll
18192a6b7db3SskrllThu Mar 27 12:23:56 1997  Ian Lance Taylor  <ian@cygnus.com>
18202a6b7db3Sskrll
18212a6b7db3Sskrll	* as.c (parse_args): Update copyright date in version message.
18222a6b7db3Sskrll
18232a6b7db3Sskrll	* Makefile.in (clean-here): Remove dependency files.
18242a6b7db3Sskrll
18252a6b7db3Sskrll	* read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
18262a6b7db3Sskrll	(s_mri_common): Check S_IS_COMMON unconditionally.
18272a6b7db3Sskrll	* symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
18282a6b7db3Sskrll	* config/tc-alpha.c (s_alpha_comm): Likewise.
18292a6b7db3Sskrll	* config/tc-mips.c (nopic_need_relax): Likewise.
18302a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_lcomm): Likewise.
18312a6b7db3Sskrll	(ppc_pe_comm): Likewise.
18322a6b7db3Sskrll	* config/obj-elf.c (obj_elf_common): Likewise.  Set segment of
18332a6b7db3Sskrll	common symbol to bfd_com_section_ptr.
18342a6b7db3Sskrll	* config/tc-sparc.c (s_common): Likewise.
18352a6b7db3Sskrll	(tc_gen_reloc): Likewise.
18362a6b7db3Sskrll
18372a6b7db3SskrllThu Mar 27 00:29:46 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
18382a6b7db3Sskrll
18392a6b7db3Sskrll	* config/tc-d30v.c (md_apply_fix3): Get the relocs right.
18402a6b7db3Sskrll
18412a6b7db3SskrllWed Mar 26 13:35:15 1997  H.J. Lu  <hjl@lucon.org>
18422a6b7db3Sskrll
18432a6b7db3Sskrll	* config/tc-i386.c (tc_i386_fix_adjustable): Only define if
18442a6b7db3Sskrll	BFD_ASSEMBLER.
18452a6b7db3Sskrll
18462a6b7db3SskrllWed Mar 26 11:32:51 1997  Ian Lance Taylor  <ian@cygnus.com>
18472a6b7db3Sskrll
18482a6b7db3Sskrll	* input-scrub.c (input_scrub_next_buffer): Handle very long input
18492a6b7db3Sskrll	lines correctly.
18502a6b7db3Sskrll
18512a6b7db3Sskrll	* listing.c (print_lines): Add lineno parameter.  Change all
18522a6b7db3Sskrll	callers.
18532a6b7db3Sskrll	(listing_listing): Only call calc_hex for the right line.
18542a6b7db3Sskrll	(listing_list): Set the new edict based on the current edict, in
18552a6b7db3Sskrll	order to handle listing commands in macros correctly.
18562a6b7db3Sskrll
18572a6b7db3Sskrll	* config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
18582a6b7db3Sskrll	instructions.
18592a6b7db3Sskrll
18602a6b7db3Sskrll	* cond.c (cond_finish_check): New function.
18612a6b7db3Sskrll	* as.h (cond_finish_check): Declare.
18622a6b7db3Sskrll	* as.c (main): Call cond_finish_check.
18632a6b7db3Sskrll
18642a6b7db3SskrllTue Mar 25 14:45:54 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
18652a6b7db3Sskrll
18662a6b7db3Sskrll	* config/tc-d30v.c (md_assemble): If two instructions
18672a6b7db3Sskrll	are supposed to be assembled in parallel and the first one is
18682a6b7db3Sskrll	long, print an error and stop.
18692a6b7db3Sskrll	(md_apply_fix3): Don't calculate absolute relocs.  Just write
18702a6b7db3Sskrll	them out.
18712a6b7db3Sskrll
18722a6b7db3SskrllMon Mar 24 12:11:18 1997  Ian Lance Taylor  <ian@cygnus.com>
18732a6b7db3Sskrll
18742a6b7db3Sskrll	* config/tc-i386.h (iclrKludge): Define.
18752a6b7db3Sskrll	* config/tc-i386.c (md_assemble): Handle iclrKludge.
18762a6b7db3Sskrll
18772a6b7db3Sskrll	* config/tc-alpha.h (tc_frob_file_before_adjust): Define if
18782a6b7db3Sskrll	OBJ_ECOFF.
18792a6b7db3Sskrll	(alpha_frob_file_before_adjust): Declare if OBJ_ECOFF.
18802a6b7db3Sskrll	* config/tc-alpha.c (alpha_debug): New static variable.
18812a6b7db3Sskrll	(md_parse_option): Set alpha_debug if -g is seen.
18822a6b7db3Sskrll	(alpha_frob_file_before_adjust): New function if OBJ_ECOFF.
18832a6b7db3Sskrll
18842a6b7db3SskrllSun Mar 23 18:03:31 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
18852a6b7db3Sskrll
18862a6b7db3Sskrll	* config/tc-d30v.c (build_insn): Enable range-checking code.
18872a6b7db3Sskrll	(postfix): Stop at space or comma.
18882a6b7db3Sskrll	(md_assemble): Change error message.
18892a6b7db3Sskrll
18902a6b7db3SskrllSat Mar 22 13:44:28 1997  Ian Lance Taylor  <ian@cygnus.com>
18912a6b7db3Sskrll
18922a6b7db3Sskrll	* Makefile.in: Added automatic dependency building.
18932a6b7db3Sskrll	* dep-in.sed: New file.
18942a6b7db3Sskrll
18952a6b7db3SskrllFri Mar 21 15:42:37 1997  Ian Lance Taylor  <ian@cygnus.com>
18962a6b7db3Sskrll
18972a6b7db3Sskrll	* config/obj-ieee.c (segment_name): Don't define function if this
18982a6b7db3Sskrll	is a macro.
18992a6b7db3Sskrll
19002a6b7db3Sskrll	* config/obj-coff.h (DO_STRIP): Don't define.
19012a6b7db3Sskrll	* config/tc-h8300.h (DO_STRIP): Don't define.
19022a6b7db3Sskrll	* config/tc-h8500.h (DO_STRIP): Don't define.
19032a6b7db3Sskrll	* config/tc-w65.h (DO_STRIP): Don't define.
19042a6b7db3Sskrll	* config/tc-z8k.h (DO_STRIP): Don't define.
19052a6b7db3Sskrll
19062a6b7db3Sskrll	* symbols.c (colon): Call obj_frob_label if it is defined.
19072a6b7db3Sskrll	* config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
19082a6b7db3Sskrll
19092a6b7db3Sskrll	* configure.in: Don't set files and links.  Don't call
19102a6b7db3Sskrll	AC_LINK_FILES.  Substitute te_file.  Create targ-cpu.h,
19112a6b7db3Sskrll	obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT.
19122a6b7db3Sskrll	* configure: Rebuild.
19132a6b7db3Sskrll	* Makefile.in (TARG_CPU_C): New variable.
19142a6b7db3Sskrll	(TARG_CPU_O, TARG_CPU_H): New variables.
19152a6b7db3Sskrll	(OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables.
19162a6b7db3Sskrll	(TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables.
19172a6b7db3Sskrll	(SOURCES): Rename from REAL_SOURCES.  Delete old definition.
19182a6b7db3Sskrll	(LINKED_SOURCES): Remove.
19192a6b7db3Sskrll	(HEADERS): Rename from REAL_HEADERS.  Delete old definition.
19202a6b7db3Sskrll	(LINKED_HEADERS): Remove.
19212a6b7db3Sskrll	(OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc.
19222a6b7db3Sskrll	($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than
19232a6b7db3Sskrll	targ-cpu.h, etc.
19242a6b7db3Sskrll	($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets.
19252a6b7db3Sskrll	(targ-cpu.o, obj-format.o, atof-targ.o): Remove targets.
19262a6b7db3Sskrll	(itbl-cpu.h): Remove target.
19272a6b7db3Sskrll	(DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c,
19282a6b7db3Sskrll	atof-targ.h.
19292a6b7db3Sskrll
19302a6b7db3SskrllThu Mar 20 19:18:58 1997  Ian Lance Taylor  <ian@cygnus.com>
19312a6b7db3Sskrll
19322a6b7db3Sskrll	* doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro.
19332a6b7db3Sskrll
19342a6b7db3SskrllThu Mar 20 16:49:14 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
19352a6b7db3Sskrll
19362a6b7db3Sskrll	* config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by
19372a6b7db3Sskrll	open coded loop that does not require the name to start with a
19382a6b7db3Sskrll	name beginner.
19392a6b7db3Sskrll
19402a6b7db3SskrllThu Mar 20 13:42:01 1997  H.J. Lu  <hjl@lucon.org>
19412a6b7db3Sskrll
19422a6b7db3Sskrll	* frags.c (frag_var): Change offset parameter to offsetT.
19432a6b7db3Sskrll	(frag_variant): Likewise.
19442a6b7db3Sskrll	* frags.h (frag_variant, frag_var): Update declarations.
19452a6b7db3Sskrll	* config/tc-m68k.c (struct m68k_it): Change foff field to
19462a6b7db3Sskrll	offsetT.
19472a6b7db3Sskrll	(add_frag): Change off parameter to offsetT.
19482a6b7db3Sskrll	* Several files: Add casts to calls to frag_var.
19492a6b7db3Sskrll
19502a6b7db3Sskrll	* Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
19512a6b7db3Sskrll	serialize a parallel make.
19522a6b7db3Sskrll	(itbl-parse.h): Split target out from itbl-parse.c.
19532a6b7db3Sskrll
19542a6b7db3SskrllThu Mar 20 12:48:45 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
19552a6b7db3Sskrll
19562a6b7db3Sskrll	* config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR).
19572a6b7db3Sskrll
19582a6b7db3Sskrll	* config/te-delta.h (COFF_COMMON_ADDEND): Define.
19592a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when
19602a6b7db3Sskrll	storing the value of a common symbol.
19612a6b7db3Sskrll
19622a6b7db3SskrllWed Mar 19 11:37:57 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
19632a6b7db3Sskrll
19642a6b7db3Sskrll	* config/obj-coff.c (glue_symbols): Unused variable symbolP
19652a6b7db3Sskrll	removed.
19662a6b7db3Sskrll	(crawl_symbols): Do not modify symbol_rootP and symbol_lastP here;
19672a6b7db3Sskrll	that is done by symbol_remove and symbol_insert.
19682a6b7db3Sskrll
19692a6b7db3Sskrll	* config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging
19702a6b7db3Sskrll	symbol.
19712a6b7db3Sskrll
19722a6b7db3SskrllWed Mar 19 11:06:29 1997  Ian Lance Taylor  <ian@cygnus.com>
19732a6b7db3Sskrll
19742a6b7db3Sskrll	* config/tc-mips.c (load_register): In 32 bit mode, when not
19752a6b7db3Sskrll	dealing with a 64 bit number, permit the upper 32 bits to be set
19762a6b7db3Sskrll	even if bit 31 is not set.
19772a6b7db3Sskrll
19782a6b7db3SskrllTue Mar 18 23:30:14 1997  Ian Lance Taylor  <ian@cygnus.com>
19792a6b7db3Sskrll
19802a6b7db3Sskrll	* read.c (potable): Add "equiv".
19812a6b7db3Sskrll	(s_set): Handle .equiv based on argument.
19822a6b7db3Sskrll	* doc/as.texinfo (Equiv): New node to document .equiv.
19832a6b7db3Sskrll	(Err): New node to document .err.
19842a6b7db3Sskrll
19852a6b7db3SskrllTue Mar 18 15:50:13 1997  H.J. Lu  <hjl@lucon.org>
19862a6b7db3Sskrll
19872a6b7db3Sskrll	* Many files: Add function prototypes.
19882a6b7db3Sskrll	* as.c (show_usage, parse_args): Make static.
19892a6b7db3Sskrll	* frags.h (frag_alloc): Declare.
19902a6b7db3Sskrll	* subsegs.c (subseg_set_rest): Don't declare frag_alloc.
19912a6b7db3Sskrll	* symbols.c (dollar_label_instance): Change return type to long.
19922a6b7db3Sskrll	* symbols.h (print_symbol_value): Declare.
19932a6b7db3Sskrll	(print_expr, print_expr_1, print_symbol_value_1): Declare.
19942a6b7db3Sskrll	* write.c (fix_new_exp): Don't declare make_expr_symbol.
19952a6b7db3Sskrll	(remove_subsegs, relax_frag): Make static.
19962a6b7db3Sskrll	* config/atof-vax.c (atof_vax_sizeof): Change letter to int.
19972a6b7db3Sskrll	(what_kind_of_float): Likewise.
19982a6b7db3Sskrll	(atof_vax): Make static.  Change what_kind to int.
19992a6b7db3Sskrll	(md_atof): Change what_statement_type to int.
20002a6b7db3Sskrll	* config/obj-ecoff.h (obj_ecoff_set_ext): Declare.
20012a6b7db3Sskrll	* config/tc-alpha.c (vax_md_atof): Declare.
20022a6b7db3Sskrll	(md_atof): Don't declare atof_ieee and vax_md_atof.
20032a6b7db3Sskrll	* config/tc-i386.c (set_16bit_code_flag): Make static.
20042a6b7db3Sskrll	* config/tc-i386.h (tc_i386_fix_adjustable): Declare.
20052a6b7db3Sskrll	* config/tc-m68k.c (add_fix): Change width to int.
20062a6b7db3Sskrll	(insert_reg): Change regname to const.
20072a6b7db3Sskrll	(md_atof): Don't declare atof_ieee.
20082a6b7db3Sskrll	(demand_empty_rest_of_line): Don't declare.
20092a6b7db3Sskrll	* config/tc-m88k.c (md_atof): Don't declare atof_ieee.
20102a6b7db3Sskrll	* config/tc-sparc.c (cmp_reg_entry): Change args to const PTR.
20112a6b7db3Sskrll	(parse_keyword_arg): Change lookup_fn to take const arg.
20122a6b7db3Sskrll	(md_atof): Don't declare atof_ieee.
20132a6b7db3Sskrll	* config/tc-sparc.h: Add ifdef for multiple inclusion.
20142a6b7db3Sskrll	(tc_aout_pre_write_hook): Don't declare.
20152a6b7db3Sskrll
20162a6b7db3SskrllMon Mar 17 11:21:09 1997  Ian Lance Taylor  <ian@cygnus.com>
20172a6b7db3Sskrll
20182a6b7db3Sskrll	* as.h (bfd_alloc_by_size_t): Don't declare.
20192a6b7db3Sskrll	* Many files: Use xmalloc rather than bfd_alloc_by_size_t.
20202a6b7db3Sskrll
20212a6b7db3SskrllSun Mar 16 13:49:21 1997  Philippe De Muyter <phdm@info.ucl.ac.be>
20222a6b7db3Sskrll
20232a6b7db3Sskrll	* symbols.c (symbol_new): Don't call debug_verify_symchain.
20242a6b7db3Sskrll	(symbol_append): Set sy_next and sy_previous when adding a single
20252a6b7db3Sskrll	symbol to an empty list.  Call debug_verify_symchain.
20262a6b7db3Sskrll	(verify_symbol_chain): Use assert, not know.
20272a6b7db3Sskrll
20282a6b7db3SskrllSat Mar 15 20:27:12 1997  Fred Fish  <fnf@cygnus.com>
20292a6b7db3Sskrll
20302a6b7db3Sskrll	* NEWS: Note BeOS support.
20312a6b7db3Sskrll	* configure.in: (ppc-*-beos): New target, use coff as object format.
20322a6b7db3Sskrll	* configure: Regenerate with autoconf.
20332a6b7db3Sskrll
20342a6b7db3SskrllSat Mar 15 19:14:02 1997  Ian Lance Taylor  <ian@cygnus.com>
20352a6b7db3Sskrll
20362a6b7db3Sskrll	* config/tc-mips.c (md_apply_fix): Improve error message for out
20372a6b7db3Sskrll	of range branch.
20382a6b7db3Sskrll
20392a6b7db3Sskrll	* Makefile.in: Add dependencies on obstack.h where needed.
20402a6b7db3Sskrll
20412a6b7db3SskrllFri Mar 14 15:33:38 1997  Ian Lance Taylor  <ian@cygnus.com>
20422a6b7db3Sskrll
20432a6b7db3Sskrll	* config/tc-mips.c (md_estimate_size_before_relax): Handle the
20442a6b7db3Sskrll	case of a symbol equated to another symbol when using SVR4_PIC.
20452a6b7db3Sskrll
20462a6b7db3Sskrll	* Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.
20472a6b7db3Sskrll
20482a6b7db3SskrllThu Mar 13 11:20:51 1997  Ian Lance Taylor  <ian@cygnus.com>
20492a6b7db3Sskrll
20502a6b7db3Sskrll	* read.c (read_a_source_file): Call LISTING_NEWLINE before
20512a6b7db3Sskrll	HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label.
20522a6b7db3Sskrll
20532a6b7db3Sskrll	* config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
20542a6b7db3Sskrll	and md_elf_section_change_hook if they are defined.
20552a6b7db3Sskrll	(obj_elf_text, obj_elf_previous): Likewise.
20562a6b7db3Sskrll
20572a6b7db3SskrllWed Mar 12 11:40:20 1997  Ian Lance Taylor  <ian@cygnus.com>
20582a6b7db3Sskrll
20592a6b7db3Sskrll	* config/obj-multi.h (struct elf_obj_sy): Define if
20602a6b7db3Sskrll	OBJ_MAYBE_ELF.
20612a6b7db3Sskrll	(OBJ_SYMFIELD_TYPE): Define as struct elf_obj_sy if
20622a6b7db3Sskrll	OBJ_MAYBE_ELF.
20632a6b7db3Sskrll	* config/obj-elf.h (struct elf_obj_sy): Don't define if
20642a6b7db3Sskrll	OBJ_SYMFIELD_TYPE is defined.
20652a6b7db3Sskrll
20662a6b7db3Sskrll	* doc/as.texinfo (bss): Improve description of .bss section.  In
20672a6b7db3Sskrll	ELF or COFF, you are permitted to switch into the section.
20682a6b7db3Sskrll	(Comm): Rewrite description of common symbols.
20692a6b7db3Sskrll	(Lcomm): Mention that some targets permit a third argument.
20702a6b7db3Sskrll
20712a6b7db3SskrllTue Mar 11 01:13:31 1997  Ian Lance Taylor  <ian@cygnus.com>
20722a6b7db3Sskrll
20732a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
20742a6b7db3Sskrll
20752a6b7db3Sskrll	* symbols.c (colon): Change type of local to int.  From Alan Modra
20762a6b7db3Sskrll	<alan@spri.levels.unisa.edu.au>.
20772a6b7db3Sskrll
20782a6b7db3Sskrll	* config/tc-m88k.c (m88k_do_align): Don't use a special nop
20792a6b7db3Sskrll	alignment if a zero fill pattern was explicitly specified.
20802a6b7db3Sskrll	* config/tc-sh.c (sh_do_align): Likewise.
20812a6b7db3Sskrll
20822a6b7db3Sskrll	* read.c (equals): Always permit register names to be redefined.
20832a6b7db3Sskrll
20842a6b7db3Sskrll	* config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a
20852a6b7db3Sskrll	mips16 symbol to be adjusted if a symbol is being subtracted from
20862a6b7db3Sskrll	it.
20872a6b7db3Sskrll
20882a6b7db3Sskrll	From Eric Youngdale <eric@andante.jic.com>:
20892a6b7db3Sskrll	* config/obj-elf.c (obj_elf_symver): Check for duplicate or
20902a6b7db3Sskrll	illegal symbol version names.
20912a6b7db3Sskrll	(elf_frob_symbol): Check for external default versions.
20922a6b7db3Sskrll
20932a6b7db3SskrllSun Mar  9 23:49:12 1997  Ian Lance Taylor  <ian@cygnus.com>
20942a6b7db3Sskrll
20952a6b7db3Sskrll	From Eric Youngdale <eric@andante.jic.com>:
20962a6b7db3Sskrll	* config/obj-elf.h (struct elf_obj_sy): Define.
20972a6b7db3Sskrll	(OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct.  Change all
20982a6b7db3Sskrll	users.
20992a6b7db3Sskrll	* config/obj-elf.c (obj_elf_symver): Just record the name.
21002a6b7db3Sskrll	(obj_symbol_new_hook): Initialized versioned_name field.
21012a6b7db3Sskrll	(elf_frob_symbol): If there is a versioned_name, either rename the
21022a6b7db3Sskrll	symbol, or add an alias with that name.
21032a6b7db3Sskrll
21042a6b7db3SskrllThu Mar  6 13:55:32 1997  Jeffrey A Law  (law@cygnus.com)
21052a6b7db3Sskrll
21062a6b7db3Sskrll	* config/tc-mn10300.c (md_relax_table): Define.
21072a6b7db3Sskrll	(md_convert_frag): Implement.
21082a6b7db3Sskrll	(md_assemble): Handle relaxable operands/instructions correctly.
21092a6b7db3Sskrll	(md_estimate_size_before_relax): Implement.
21102a6b7db3Sskrll	* config/tc-mn10300.h (TC_GENERIC_RELAX_TABLE): Define.
21112a6b7db3Sskrll
21122a6b7db3Sskrll	* config/tc-mn10200.c (md_relax_table): Fix typos.
21132a6b7db3Sskrll
21142a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific
21152a6b7db3Sskrll	relocs anymore.  Tweak fx_offset for pc-relative relocs.
21162a6b7db3Sskrll
21172a6b7db3SskrllWed Mar  5 15:46:16 1997  Ian Lance Taylor  <ian@cygnus.com>
21182a6b7db3Sskrll
21192a6b7db3Sskrll	* cond.c (s_ifc): Call mri_comment_field and mri_comment_end when
21202a6b7db3Sskrll	in MRI mode.
21212a6b7db3Sskrll
21222a6b7db3SskrllTue Mar  4 19:34:21 1997  Fred Fish  <fnf@cygnus.com>
21232a6b7db3Sskrll
21242a6b7db3Sskrll	* config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
21252a6b7db3Sskrll	pseudo-ops.
21262a6b7db3Sskrll	* config/tc-tic80.c (md_begin): Declare external variable
21272a6b7db3Sskrll	coff_flags and insert an F_AR32WR bit into it.
21282a6b7db3Sskrll
21292a6b7db3SskrllTue Mar  4 10:01:04 1997  Ian Lance Taylor  <ian@cygnus.com>
21302a6b7db3Sskrll
21312a6b7db3Sskrll	* read.c (equals): Add reassign parameter.  Change all callers.
21322a6b7db3Sskrll	* read.h (equals): Update declaration.
21332a6b7db3Sskrll
21342a6b7db3SskrllSat Mar  1 01:04:04 1997  Ian Lance Taylor  <ian@cygnus.com>
21352a6b7db3Sskrll
21362a6b7db3Sskrll	* config/tc-mips.c (mips16_extended_frag): Don't assume that we
21372a6b7db3Sskrll	can rely on the frag address to determine whether a frag is
21382a6b7db3Sskrll	earlier or later.
21392a6b7db3Sskrll
21402a6b7db3SskrllFri Feb 28 14:40:00 1997  Ian Lance Taylor  <ian@cygnus.com>
21412a6b7db3Sskrll
21422a6b7db3Sskrll	* write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
21432a6b7db3Sskrll	(S_LOCAL_NAME): Likewise.
21442a6b7db3Sskrll	(FAKE_LABEL_NAME): Define unconditionally.
21452a6b7db3Sskrll	* symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
21462a6b7db3Sskrll	BFD_ASSEMBLER.
21472a6b7db3Sskrll	(S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
21482a6b7db3Sskrll	* config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
21492a6b7db3Sskrll	Don't define FAKE_LABEL_NAME.
21502a6b7db3Sskrll	* config/te-ic960.h: Likewise.
21512a6b7db3Sskrll	* config/tc-mips.h (tc_frob_file_before_adjust): Define.
21522a6b7db3Sskrll	(mips_frob_file_before_adjust): Declare.
21532a6b7db3Sskrll	* config/tc-mips.c (mips_frob_file_before_adjust): New function.
21542a6b7db3Sskrll	(mips_local_label): Remove.
21552a6b7db3Sskrll
21562a6b7db3Sskrll	* config/te-sco386.h: Remove; not used.
21572a6b7db3Sskrll
21582a6b7db3SskrllThu Feb 27 15:39:16 1997  Fred Fish  <fnf@cygnus.com>
21592a6b7db3Sskrll
21602a6b7db3Sskrll	* config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
21612a6b7db3Sskrll	byte alignment rather than power-of-two alignment that is the
21622a6b7db3Sskrll	GAS default.
21632a6b7db3Sskrll
21642a6b7db3SskrllThu Feb 27 13:29:04 1997  Ian Lance Taylor  <ian@cygnus.com>
21652a6b7db3Sskrll
21662a6b7db3Sskrll	* config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.
21672a6b7db3Sskrll
21682a6b7db3Sskrll	* gasp.c (hash_add_to_string_table): Correct misspelling in error
21692a6b7db3Sskrll	message, and add newline.
21702a6b7db3Sskrll	(process_file): Don't process assignments in the label if this is
21712a6b7db3Sskrll	a equ or assign pseudo-op.
21722a6b7db3Sskrll	(process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
21732a6b7db3Sskrll	and K_EQU, to match documentation.
21742a6b7db3Sskrll
21752a6b7db3SskrllThu Feb 27 12:00:03 1997  Michael Meissner  <meissner@cygnus.com>
21762a6b7db3Sskrll
21772a6b7db3Sskrll	* config/obj-coff.c (obj_coff_section): Add 'r' section attribute
21782a6b7db3Sskrll	to denote read-only data sections.
21792a6b7db3Sskrll
21802a6b7db3SskrllThu Feb 27 00:26:33 1997  Ian Lance Taylor  <ian@cygnus.com>
21812a6b7db3Sskrll
21822a6b7db3Sskrll	* config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
21832a6b7db3Sskrll	* config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.
21842a6b7db3Sskrll
21852a6b7db3Sskrll	* expr.c (operand): Simplify 0b handling.  Don't treat 0b as a
21862a6b7db3Sskrll	binary number if the next character is '+' or '-'.
21872a6b7db3Sskrll
21882a6b7db3SskrllWed Feb 26 20:47:12 1997  Fred Fish  <fnf@cygnus.com>
21892a6b7db3Sskrll
21902a6b7db3Sskrll	* config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
21912a6b7db3Sskrll	(find_opcode): Match operands that can be floats.
21922a6b7db3Sskrll	(build_insn): Handle O_big (float) expressions and build
21932a6b7db3Sskrll	correct opcode.
21942a6b7db3Sskrll
21952a6b7db3SskrllWed Feb 26 18:19:00 1997  Stan Shebs  <shebs@andros.cygnus.com>
21962a6b7db3Sskrll
21972a6b7db3Sskrll	* configure.in (mips*-*-lnews*): New target, also make empty
21982a6b7db3Sskrll	emulation list for this target.
21992a6b7db3Sskrll	* configure: Update.
22002a6b7db3Sskrll	* config/tc-mips.c (ECOFF_LITTLE_FORMAT): Define.
22012a6b7db3Sskrll	(mips_target_format): Use.
22022a6b7db3Sskrll	* config/te-lnews.h: New file.
22032a6b7db3Sskrll
22042a6b7db3SskrllWed Feb 26 15:33:46 1997  Fred Fish  <fnf@cygnus.com>
22052a6b7db3Sskrll
22062a6b7db3Sskrll	* config/tc-tic80.c (find_opcode, build_insn): Changes to match
22072a6b7db3Sskrll	operands with :m or :s modifiers and generate the right opcodes
22082a6b7db3Sskrll	for them.
22092a6b7db3Sskrll
22102a6b7db3SskrllWed Feb 26 11:56:11 1997  Ian Lance Taylor  <ian@cygnus.com>
22112a6b7db3Sskrll
22122a6b7db3Sskrll	* Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
22132a6b7db3Sskrll	$(BISONFLAGS), not $(YACC) and $(YACCFLAGS).
22142a6b7db3Sskrll
22152a6b7db3SskrllTue Feb 25 22:02:23 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
22162a6b7db3Sskrll
22172a6b7db3Sskrll	* config/tc-m68k.c (instring): Useless local declaration of
22182a6b7db3Sskrll	crack_operand removed.
22192a6b7db3Sskrll	* expr.h (expressionS): Changed type of X_op field to operatorT if
22202a6b7db3Sskrll	__GNUC__.
22212a6b7db3Sskrll
22222a6b7db3SskrllTue Feb 25 13:17:27 1997  Ian Lance Taylor  <ian@cygnus.com>
22232a6b7db3Sskrll
22242a6b7db3Sskrll	Based on patches from Robert Lipe <robertl@dgii.com>:
22252a6b7db3Sskrll	* configure.in: Add i386coff and i386elf to emulation list.
22262a6b7db3Sskrll	* configure: Rebuild.
22272a6b7db3Sskrll	* as.c (i386coff, i386elf): Declare.
22282a6b7db3Sskrll	* obj.h (coff_format_ops): Declare.
22292a6b7db3Sskrll	* config/obj-coff.c (OBJ_HEADER): Define.
22302a6b7db3Sskrll	(coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
22312a6b7db3Sskrll	(coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
22322a6b7db3Sskrll	(obj_pseudo_table): Add "version".
22332a6b7db3Sskrll	(coff_pop_insert): New static function.
22342a6b7db3Sskrll	(coff_sec_sym_ok_for_reloc): New static function.
22352a6b7db3Sskrll	(no_func): New static function.
22362a6b7db3Sskrll	(coff_format_ops): New variable.
22372a6b7db3Sskrll	* config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
22382a6b7db3Sskrll	(obj_symbol_new_hook): Define.
22392a6b7db3Sskrll	(coff_obj_read_begin_hook): Declare.
22402a6b7db3Sskrll	(obj_read_begin_hook): Define.
22412a6b7db3Sskrll	* config/tc-i386.h (i386_target_format): Declare.
22422a6b7db3Sskrll	* config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
22432a6b7db3Sskrll	OUTPUT_FLAVOR when appropriate.
22442a6b7db3Sskrll	(i386_target_format): New function.
22452a6b7db3Sskrll	* Makefile.in (obj-coff.o): New target.
22462a6b7db3Sskrll	(e-i386coff.o, e-i386elf.o): New targets.
22472a6b7db3Sskrll
22482a6b7db3Sskrll	From Stephen Williams <steve@icarus.icarus.com>:
22492a6b7db3Sskrll	* config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF.
22502a6b7db3Sskrll	(_tc_get_bal_of_call): Don't declare.
22512a6b7db3Sskrll	(tc_get_bal_of_call): Declare as function, don't define as macro.
22522a6b7db3Sskrll	* config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP
22532a6b7db3Sskrll	in sy_tc field, not x_balntry field.
22542a6b7db3Sskrll	(tc_get_bal_of_call): Rename from _tc_get_bal_of_call.  Change
22552a6b7db3Sskrll	return type to symbolS *.  If OBJ_COFF, retrieve value from sy_tc
22562a6b7db3Sskrll	field, not x_balntry field.
22572a6b7db3Sskrll
22582a6b7db3Sskrll	* config/obj-elf.c (obj_elf_section): Permit a .note section to
22592a6b7db3Sskrll	have the SHF_ALLOC attribute.
22602a6b7db3Sskrll
22612a6b7db3Sskrll	* Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
22622a6b7db3Sskrll	(TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h.
22632a6b7db3Sskrll	(itbl-lex.o): Depend upon itbl-parse.h.
22642a6b7db3Sskrll
22652a6b7db3Sskrll	* itbl-parse.y (yyerror): Change return type to int.  Change to
22662a6b7db3Sskrll	use old style function declaration.
22672a6b7db3Sskrll
22682a6b7db3Sskrll	* Makefile.in (itbl-lex.o): Remove -Wall.
22692a6b7db3Sskrll	(itbl-parse.o): Likewise.
22702a6b7db3Sskrll
22712a6b7db3Sskrll	* cond.c (s_ifdef): If we should omit conditionals from listings,
22722a6b7db3Sskrll	call listing_list.
22732a6b7db3Sskrll	(s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise.
22742a6b7db3Sskrll	* listing.c (list_info_struct): Add EDICT_NOLIST_NEXT.
22752a6b7db3Sskrll	(listing_listing): Handle EDICT_NOLIST_NEXT.
22762a6b7db3Sskrll	(listing_list): An argument of 2 means EDICT_NOLIST_NEXT.
22772a6b7db3Sskrll	* listing.h (LISTING_NOCOND): Define.
22782a6b7db3Sskrll	(LISTING_SKIP_COND): Define.
22792a6b7db3Sskrll	* as.c (show_usage): Mention c as a suboption of -a.
22802a6b7db3Sskrll	(parse_args): Handle c as a suboption of -a.
22812a6b7db3Sskrll	* doc/as.texinfo: Document -alc.
22822a6b7db3Sskrll
22832a6b7db3SskrllMon Feb 24 23:34:14 1997  Fred Fish  <fnf@cygnus.com>
22842a6b7db3Sskrll
22852a6b7db3Sskrll	* config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
22862a6b7db3Sskrll
22872a6b7db3SskrllMon Feb 24 18:27:43 1997  Eric Youngdale  <eric@andante.jic.com>
22882a6b7db3Sskrll
22892a6b7db3Sskrll	* doc/as.texinfo: Document .symver.
22902a6b7db3Sskrll
22912a6b7db3SskrllMon Feb 24 15:19:57 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
22922a6b7db3Sskrll
22932a6b7db3Sskrll	* config/tc-d10v.c: Change pre_defined_registers to
22942a6b7db3Sskrll	d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
22952a6b7db3Sskrll
22962a6b7db3SskrllMon Feb 24 10:40:45 1997  Fred Fish  <fnf@cygnus.com>
22972a6b7db3Sskrll
22982a6b7db3Sskrll	* config/obj-coff.c: Fix typo in comment section.
22992a6b7db3Sskrll	* config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes
23002a6b7db3Sskrll	an additional alignment argument.
23012a6b7db3Sskrll	(find_opcode): Allow O_symbol relocs for any 32 bit field, not just
23022a6b7db3Sskrll	base relative ones.
23032a6b7db3Sskrll	(build_insn): Handle O_symbol relocs for any 32 bit field, not just
23042a6b7db3Sskrll	base relative ones.
23052a6b7db3Sskrll
23062a6b7db3SskrllMon Feb 24 02:23:00 1997  Dawn Perchik  <dawn@cygnus.com>
23072a6b7db3Sskrll
23082a6b7db3Sskrll	* Makefile.in: Remove dependancies on itbl-cpu.h.
23092a6b7db3Sskrll	* as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU
23102a6b7db3Sskrll	is not defined.
23112a6b7db3Sskrll
23122a6b7db3SskrllMon Feb 24 02:03:00 1997  Dawn Perchik  <dawn@cygnus.com>
23132a6b7db3Sskrll
23142a6b7db3Sskrll	* itbl-ops.h: Include as.h.
23152a6b7db3Sskrll
23162a6b7db3SskrllMon Feb 24 01:04:00 1997  Dawn Perchik  <dawn@cygnus.com>
23172a6b7db3Sskrll
23182a6b7db3Sskrll	* as.c: Remove -t option.
23192a6b7db3Sskrll	* configure, configure.in: Move itbl-cpu.h to mips specific configure.
23202a6b7db3Sskrll	* itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined.
23212a6b7db3Sskrll	* config/tc-mips.h: Define HAVE_ITBL_CPU.
23222a6b7db3Sskrll
23232a6b7db3SskrllSun Feb 23 18:01:00 1997  Dawn Perchik  <dawn@cygnus.com>
23242a6b7db3Sskrll
23252a6b7db3Sskrll	* itbl-ops.c: Don't define DEBUG.
23262a6b7db3Sskrll
23272a6b7db3SskrllSun Feb 23 17:49:00 1997  Dawn Perchik  <dawn@cygnus.com>
23282a6b7db3Sskrll
23292a6b7db3Sskrll	* Makefile.in: Update itbl-test.c to reflect its new location.
23302a6b7db3Sskrll
23312a6b7db3SskrllSun Feb 23 15:50:00 1997  Dawn Perchik  <dawn@cygnus.com>
23322a6b7db3Sskrll
23332a6b7db3Sskrll	* itbl-ops.c: Add test for itbl_have_entries.
23342a6b7db3Sskrll	* config/tc-mips.c: Remove test for itbl_have_entries.
23352a6b7db3Sskrll	* config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
23362a6b7db3Sskrll
23372a6b7db3SskrllSun Feb 23 18:13:19 1997  Ian Lance Taylor  <ian@cygnus.com>
23382a6b7db3Sskrll
23392a6b7db3Sskrll	* Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, and
23402a6b7db3Sskrll	itbl-ops.c.  Add itbl-parse.c and itbl-lex.c.
23412a6b7db3Sskrll	(LEX, LEXFLAGS): Define.
23422a6b7db3Sskrll	* itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT.
23432a6b7db3Sskrll
23442a6b7db3SskrllSat Feb 22 21:25:00 1997  Dawn Perchik  <dawn@cygnus.com>
23452a6b7db3Sskrll
23462a6b7db3Sskrll	* itbl-parse.y: Fix indentation mistakes from indent program.
23472a6b7db3Sskrll	* itbl-lex.l: Fix indentation mistakes from indent program.
23482a6b7db3Sskrll	* itbl-ops.h: Add include for ansidecl.h.
23492a6b7db3Sskrll	Add PARAMS around function arguments.
23502a6b7db3Sskrll	Add declaration for itbl_have_entries.
23512a6b7db3Sskrll	* itbl-ops.c: Add PARAMS around function arguments.
23522a6b7db3Sskrll	* Makefile.in: Add itbl build rules.
23532a6b7db3Sskrll	Add dependancies for itbl files to mips target.
23542a6b7db3Sskrll	* as.c: Add itbl support.
23552a6b7db3Sskrll	Add new option "--insttbl" for dynamically extending instruction set.
23562a6b7db3Sskrll	* as.h: Declare insttbl_file_name;
23572a6b7db3Sskrll	the name of file defining extensions to the basic instruction set
23582a6b7db3Sskrll	* configure.in, configure: Add itbl-parse.o, itbl-lex.o, and
23592a6b7db3Sskrll	itbl-ops.o to extra_objects for mips configuration.
23602a6b7db3Sskrll	Add include file link from itbl-cpu.h to
23612a6b7db3Sskrll	config/itbl-${target_cpu_type}.h.
23622a6b7db3Sskrll	* config/tc-mips.c: Allow copz instructions.
23632a6b7db3Sskrll	Add notes for future additions to the itbl support.
23642a6b7db3Sskrll	Add debug macros.
23652a6b7db3Sskrll	(macro): Call itbl_assemble to assemble itbl instructions.
23662a6b7db3Sskrll	See if an unknown register is specified in an itbl entry.
23672a6b7db3Sskrll
23682a6b7db3SskrllSat Feb 22 20:53:01 1997  Fred Fish  <fnf@cygnus.com>
23692a6b7db3Sskrll	* doc/internals.texi (CPU backend): Fix typo in md_section_align
23702a6b7db3Sskrll	description.
23712a6b7db3Sskrll	* config/tc-tic80.h (NEED_FX_R_TYPE): Define.
23722a6b7db3Sskrll	* config/tc-tic80.c (find_opcode): Add code to support O_symbol
23732a6b7db3Sskrll	operands.
23742a6b7db3Sskrll	(build_insn): Grab a frag early so we can use the address in
23752a6b7db3Sskrll	fixups.  Take one's complement of BITNUM values before insertion
23762a6b7db3Sskrll	in opcode.  Add code to support O_symbol operands.
23772a6b7db3Sskrll	(md_apply_fix): Replace unimplemented warning with implementation.
23782a6b7db3Sskrll	(md_pcrel_from): Ditto.
23792a6b7db3Sskrll	(tc_coff_fix2rtype): Ditto.
23802a6b7db3Sskrll
23812a6b7db3SskrllFri Feb 21 14:34:31 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
23822a6b7db3Sskrll
23832a6b7db3Sskrll	* config/tc-d30v.c (parallel_ok): New function.
23842a6b7db3Sskrll	* config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
23852a6b7db3Sskrll	* config/tc-d10v.c (md_pcrel_from_section): Return 0 if
23862a6b7db3Sskrll	relocation is in different section.
23872a6b7db3Sskrll
23882a6b7db3SskrllFri Feb 21 10:08:25 1997  Jim Wilson  <wilson@cygnus.com>
23892a6b7db3Sskrll
23902a6b7db3Sskrll	* config/tc-mips.c (mips_ip): If configured for an embedded ELF system,
23912a6b7db3Sskrll	don't set the section alignment to 2**4.
23922a6b7db3Sskrll
23932a6b7db3SskrllFri Feb 21 11:55:03 1997  Ian Lance Taylor  <ian@cygnus.com>
23942a6b7db3Sskrll
23952a6b7db3Sskrll	* config/tc-m68k.c (line_comment_chars): Add '*'.
23962a6b7db3Sskrll
23972a6b7db3Sskrll	* app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define.
23982a6b7db3Sskrll	(do_scrub_begin): Don't set lex['*'].
23992a6b7db3Sskrll	(do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't
24002a6b7db3Sskrll	check for LEX_IS_TWOCHAR_COMMENT_2ND.  Instead, just check for
24012a6b7db3Sskrll	a literal '*'.
24022a6b7db3Sskrll
24032a6b7db3Sskrll	* configure.in: Set em=svr4 for m68k-*-sysv4*.
24042a6b7db3Sskrll	* configure: Rebuild.
24052a6b7db3Sskrll	* config/te-svr4.h: New file.
24062a6b7db3Sskrll	* config/tc-m68k.c (m68k_comment_chars): Only include `#' if
24072a6b7db3Sskrll	TE_SVR4 or TE_DELTA.
24082a6b7db3Sskrll
24092a6b7db3SskrllThu Feb 20 22:24:39 1997  Jeffrey A Law  (law@cygnus.com)
24102a6b7db3Sskrll
24112a6b7db3Sskrll	* config/tc-mn10200.c (md_convert_frag): Create a fixup for the
24122a6b7db3Sskrll	short conditional branch around a long unconditional branch.
24132a6b7db3Sskrll
24142a6b7db3SskrllThu Feb 20 13:56:00 1997  Ian Lance Taylor  <ian@cygnus.com>
24152a6b7db3Sskrll
24162a6b7db3Sskrll	* config/obj-coff.c (obj_coff_ln [both versions]): Call
24172a6b7db3Sskrll	new_logical_line.
24182a6b7db3Sskrll
24192a6b7db3Sskrll	* config/tc-arm.c (fix_new_arm): Use make_expr_symbol to handle a
24202a6b7db3Sskrll	complex expression.
24212a6b7db3Sskrll
24222a6b7db3Sskrll	* symbols.c (resolve_symbol_value): If both left and right
24232a6b7db3Sskrll	operands are undefined, warn about both of them.
24242a6b7db3Sskrll
24252a6b7db3SskrllWed Feb 19 00:53:28 1997  Ian Lance Taylor  <ian@cygnus.com>
24262a6b7db3Sskrll
24272a6b7db3Sskrll	Based on patches from Eric Youngdale <eric@andante.jic.com>:
24282a6b7db3Sskrll	* config/obj-elf.c (elf_pseudo_table): Add "symver".
24292a6b7db3Sskrll	(obj_elf_symver): New static function.
24302a6b7db3Sskrll	* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy the st_other
24312a6b7db3Sskrll	field.
24322a6b7db3Sskrll
24332a6b7db3Sskrll	* write.c (relax_segment): Make type and printf format agree.
24342a6b7db3Sskrll
24352a6b7db3Sskrll	* read.c (get_line_sb): Don't end the line on a semicolon inside a
24362a6b7db3Sskrll	string.
24372a6b7db3Sskrll
24382a6b7db3SskrllTue Feb 18 18:42:51 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
24392a6b7db3Sskrll
24402a6b7db3Sskrll	* config/tc-d30v.c, config/tc-d30v.h: New files.
24412a6b7db3Sskrll
24422a6b7db3Sskrll	* configure: Rebuilt.
24432a6b7db3Sskrll
24442a6b7db3Sskrll	* configure.in: Add case for d30v.
24452a6b7db3Sskrll
24462a6b7db3SskrllSun Feb 16 17:47:29 1997  Fred Fish  <fnf@cygnus.com>
24472a6b7db3Sskrll
24482a6b7db3Sskrll	* config/tc-alpha.h (md_operand): Define with a null expansion,
24492a6b7db3Sskrll	like all the other targets.
24502a6b7db3Sskrll	* doc/internals.texi (CPU backend): Add missing word in
24512a6b7db3Sskrll	md_flush_pending_output description.  Fix typo in md_convert_frag
24522a6b7db3Sskrll	description.
24532a6b7db3Sskrll	* config/tc-tic80: Minor comment additions/changes.
24542a6b7db3Sskrll
24552a6b7db3SskrllFri Feb 14 18:09:59 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
24562a6b7db3Sskrll
24572a6b7db3Sskrll	* config/tc-m68k.c (LOCAL_LABEL): Macro redefined if TE_DELTA.
24582a6b7db3Sskrll	(tc_canonicalize_symbol_name): Macro defined if TE_DELTA.
24592a6b7db3Sskrll	* config/obj-coff.c (obj_coff_def): Use
24602a6b7db3Sskrll	tc_canonicalize_symbol_name if defined.
24612a6b7db3Sskrll	(obj_coff_tag, obj_coff_val): Likewise.
24622a6b7db3Sskrll	* expr.c (operand): Reject '~' as operator if is_name_beginner.
24632a6b7db3Sskrll
24642a6b7db3SskrllFri Feb 14 17:24:48 1997  Ian Lance Taylor  <ian@cygnus.com>
24652a6b7db3Sskrll
24662a6b7db3Sskrll	Based on notes from Peter Eriksson <peter@ifm.liu.se>.  The target
24672a6b7db3Sskrll	does not actually work, though:
24682a6b7db3Sskrll	* configure.in (i386-sequent-bsd*): New target.
24692a6b7db3Sskrll	* configure: Rebuild.
24702a6b7db3Sskrll	* config/tc-dynix.h: New file.
24712a6b7db3Sskrll	* config/tc-i386.h: Define TARGET_FORMAT if TE_DYNIX.
24722a6b7db3Sskrll
24732a6b7db3Sskrll	* read.c (do_align): Add max parameter.  Change all callers.
24742a6b7db3Sskrll	Remove useless static variables.
24752a6b7db3Sskrll	(s_align): New static function.  Do common portion of
24762a6b7db3Sskrll	s_align_bytes and s_align_ptwo.
24772a6b7db3Sskrll	(s_align_bytes, s_align_ptwo): Just call s_align.
24782a6b7db3Sskrll	* frags.c (frag_align): Add max parameter.  Change all callers.
24792a6b7db3Sskrll	(frag_align_pattern): Likewise.
24802a6b7db3Sskrll	* frags.h (frag_align, frag_align_pattern): Update declarations.
24812a6b7db3Sskrll	* write.c (relax_segment): Limit alignment change to fr_subtype.
24822a6b7db3Sskrll	Fix some types to be addressT.
24832a6b7db3Sskrll	* config/obj-coff.c (size_section): Likewise.
24842a6b7db3Sskrll	* config/obj-ieee.c (size_section): Likewise.
24852a6b7db3Sskrll	* config/tc-d10v.h (md_do_align): Add max parameter.
24862a6b7db3Sskrll	* config/tc-i386.h (md_do_align): Likewise.
24872a6b7db3Sskrll	* config/tc-m88k.h (md_do_align): Likewise.
24882a6b7db3Sskrll	* config/tc-m88k.c (m88k_do_align): Likewise.
24892a6b7db3Sskrll	* config/tc-sh.h (md_do_align): Likewise.
24902a6b7db3Sskrll	* config/tc-sh.c (sh_do_align): Likewise.
24912a6b7db3Sskrll	* as.h: Improve comments on rs_align and rs_align_code.
24922a6b7db3Sskrll	* doc/as.texinfo: Document new alignment arguments.
24932a6b7db3Sskrll	* doc/internals.texi (Frags): Document use of fr_subtype field for
24942a6b7db3Sskrll	rs_align and rs_align_code.
24952a6b7db3Sskrll
24962a6b7db3SskrllFri Feb 14 15:56:06 1997  Gavin Koch  <gavin@cygnus.com>
24972a6b7db3Sskrll
24982a6b7db3Sskrll	* config/tc-mips.c: Changed opcode parsing.
24992a6b7db3Sskrll
25002a6b7db3SskrllThu Feb 13 20:02:16 1997  Fred Fish  <fnf@cygnus.com>
25012a6b7db3Sskrll
25022a6b7db3Sskrll	* config/{tc-alpha.h, tc-d10v.h, tc-generic.h, tc-i960.h,
25032a6b7db3Sskrll	tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-vax.h, tc-w65.h}:
25042a6b7db3Sskrll	Add default definition of zero for TARGET_BYTES_BIG_ENDIAN.
25052a6b7db3Sskrll	* config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h,
25062a6b7db3Sskrll	tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN
25072a6b7db3Sskrll	to a location consistent with the rest of the target include files.
25082a6b7db3Sskrll	* config/tc-i386.c: Remove misleading comment.
25092a6b7db3Sskrll	* doc/internals.texi (CPU backend): Add description of function
25102a6b7db3Sskrll	md_undefined_symbol.
25112a6b7db3Sskrll	* config/tc-tic80.c: Add code to insert predefined symbols into the
25122a6b7db3Sskrll	symbol table so they can be parsed by the standard expression parser.
25132a6b7db3Sskrll	Remove custom code that use to parse them.
25142a6b7db3Sskrll	* config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN
25152a6b7db3Sskrll	to a location consistent with the rest of the target include files.
25162a6b7db3Sskrll
25172a6b7db3SskrllThu Feb 13 21:44:18 1997  Klaus Kaempf  <kkaempf@progis.de>
25182a6b7db3Sskrll
25192a6b7db3Sskrll	* as.h: GNU c provides unlink() function.
25202a6b7db3Sskrll
25212a6b7db3Sskrll	Unify section handling on openVMS/Alpha:
25222a6b7db3Sskrll	* config/tc-alpha.c(s_alpha_link): Remove.
25232a6b7db3Sskrll	(s_alpha_section): New function.
25242a6b7db3Sskrll	Remove case-hacking of symbols
25252a6b7db3Sskrll	Add .code_address pseudo-op.
25262a6b7db3Sskrll	(BFD_RELOC_ALPHA_CODEADDR): New relocation.
25272a6b7db3Sskrll	(s_alpha_code_address): New function.
25282a6b7db3Sskrll	(alpha_ctors_section, alpha_dtors_section): New sections for C++
25292a6b7db3Sskrll	static constructors/destructors.
25302a6b7db3Sskrll	Add debug code for crash debugs, to be removed when traceback code
25312a6b7db3Sskrll	is added to object code.
25322a6b7db3Sskrll	(s_alpha_name): New function for .name pseudo-op.
25332a6b7db3Sskrll	(alpha_print_token): New function to print token expressions with
25342a6b7db3Sskrll	alpha specific extensions.
25352a6b7db3Sskrll
25362a6b7db3Sskrll	* makefile.vms: Allow compilation with current gcc snapshot.
25372a6b7db3Sskrll
25382a6b7db3SskrllThu Feb 13 16:29:04 1997  Fred Fish  <fnf@cygnus.com>
25392a6b7db3Sskrll
25402a6b7db3Sskrll	* doc/Makefile.in (TEXI2DVI): Set to just name of program.
25412a6b7db3Sskrll	(DVIPS): Set to dvips.
25422a6b7db3Sskrll	(ps, as.ps, gasp.ps): New targets.
25432a6b7db3Sskrll	(internals.info, gasp.dvi, internals.dvi): Set both TEXINPUTS
25442a6b7db3Sskrll	and MAKEINFO env variables.
25452a6b7db3Sskrll	(internals.ps): Use DVIPS macro.
25462a6b7db3Sskrll	(clean): Remove core and backup files.
25472a6b7db3Sskrll	(distclean): Remove temporary files from building internals.
25482a6b7db3Sskrll	(clean-dvi): Ditto.
25492a6b7db3Sskrll	* doc/internals.texi (Frags): Fix typo.
25502a6b7db3Sskrll	(GAS processing): Ditto.
25512a6b7db3Sskrll	(CPU backend): Ditto.
25522a6b7db3Sskrll	* ecoff.c (init_file): Use TARGET_BYTES_BIG_ENDIAN value directly.
25532a6b7db3Sskrll	* mpw-config.in: Define TARGET_BYTES_BIG_ENDIAN as 1.
25542a6b7db3Sskrll	* read.c: Remove ugly hack that dealt with config files not
25552a6b7db3Sskrll	correctly defining TARGET_BYTES_BIG_ENDIAN.
25562a6b7db3Sskrll	(target_big_endian): Use TARGET_BYTES_BIG_ENDIAN directly.
25572a6b7db3Sskrll	* config/arm-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
25582a6b7db3Sskrll	* config/arm-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
25592a6b7db3Sskrll	* config/mips-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
25602a6b7db3Sskrll	* config/mips-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
25612a6b7db3Sskrll	* config/ppc-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
25622a6b7db3Sskrll	* config/ppc-sol.mt: Replace TARGET_BYTES_LITTLE_ENDIAN
25632a6b7db3Sskrll	with TARGET_BYTES_BIG_ENDIAN defined to 0.
25642a6b7db3Sskrll	* config/tc-arm.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
25652a6b7db3Sskrll	and simplify.  Test value of TARGET_BYTES_BIG_ENDIAN, not just
25662a6b7db3Sskrll	whether it is defined or not.
25672a6b7db3Sskrll	* config/tc-mips.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN.
25682a6b7db3Sskrll	* config/tc-ppc.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
25692a6b7db3Sskrll	and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
25702a6b7db3Sskrll	whether it is defined or not.
25712a6b7db3Sskrll	* config/tic80.h (TARGET_FORMAT): Define to coff-tic80.
25722a6b7db3Sskrll	(TARGET_BYTES_BIG_ENDIAN): Define to 0.
25732a6b7db3Sskrll
25742a6b7db3SskrllThu Feb 13 14:40:16 1997  Doug Evans  <dje@canuck.cygnus.com>
25752a6b7db3Sskrll
25762a6b7db3Sskrll	* write.c (write_relocs): Correct text in as_fatal error message,
25772a6b7db3Sskrll	bfd_perform_relocation -> bfd_install_relocation.
25782a6b7db3Sskrll
25792a6b7db3SskrllThu Feb 13 14:48:03 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
25802a6b7db3Sskrll
25812a6b7db3Sskrll	* config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA.
25822a6b7db3Sskrll	* read.c (LEX_TILDE): Define if not defined.
25832a6b7db3Sskrll	(lex_type): Use LEX_TILDE.
25842a6b7db3Sskrll	* expr.c (get_symbol_end): Check first char with is_name_beginner,
25852a6b7db3Sskrll	not is_part_of_name.
25862a6b7db3Sskrll
25872a6b7db3SskrllThu Feb 13 11:40:58 1997  Ian Lance Taylor  <ian@cygnus.com>
25882a6b7db3Sskrll
25892a6b7db3Sskrll	* config/tc-sparc.c (md_show_usage): Add missing backslash at end
25902a6b7db3Sskrll	of continued line.
25912a6b7db3Sskrll
25922a6b7db3Sskrll	* config/tc-mips.c (mips16_extended_frag): Correct base address
25932a6b7db3Sskrll	for an extended PC relative instruction.
25942a6b7db3Sskrll	(md_convert_frag): Likewise.
25952a6b7db3Sskrll
25962a6b7db3Sskrll	* config/tc-mips.c (prev_nop_frag): New static variable.
25972a6b7db3Sskrll	(prev_nop_frag_holds): New static variable.
25982a6b7db3Sskrll	(prev_nop_frag_required): New static variable.
25992a6b7db3Sskrll	(prev_nop_frag_since): New static variable.
26002a6b7db3Sskrll	(append_insn): If we aren't reordering, and prev_nop_frag is not
26012a6b7db3Sskrll	NULL, and we don't need any nops, then decrease the size of
26022a6b7db3Sskrll	prev_nop_frag.  Don't insert nops because of instructions in
26032a6b7db3Sskrll	noreorder sections.  Remember whether the previous instructions
26042a6b7db3Sskrll	where in noreorder sections even when not reordering.
26052a6b7db3Sskrll	(mips_no_prev_insn): Add preserver parameter.  Change all
26062a6b7db3Sskrll	callers.  Refer prev_nop_frag variables when appropriate.
26072a6b7db3Sskrll	(mips_emit_delays): Set up prev_nop_frag.
26082a6b7db3Sskrll	(s_mipsset): Clear prev_nop_frag if reordering.
26092a6b7db3Sskrll
26102a6b7db3SskrllWed Feb 12 14:36:29 1997  Ian Lance Taylor  <ian@cygnus.com>
26112a6b7db3Sskrll
26122a6b7db3Sskrll	* config/tc-mips.c (append_insn): Remove useless code which
26132a6b7db3Sskrll	handled swapping a mips16 jump with a mips16 instruction with a
26142a6b7db3Sskrll	reloc.
26152a6b7db3Sskrll
26162a6b7db3Sskrll	* config/tc-mips.c (md_parse_option): When debugging, set
26172a6b7db3Sskrll	mips_optimize to 1, not 0.
26182a6b7db3Sskrll
26192a6b7db3Sskrll	* config/tc-mips.c (mips16_ip): Handle an extend operand.
26202a6b7db3Sskrll
26212a6b7db3Sskrll	* config/tc-mips.c (my_getExpression): In mips16 mode, if it looks
26222a6b7db3Sskrll	like the expression was based on `.', adjust the value of the
26232a6b7db3Sskrll	symbol.
26242a6b7db3Sskrll
26252a6b7db3Sskrll	* config/tc-mips.c (append_insn): Warn about an attempt to put an
26262a6b7db3Sskrll	extended instruction in a delay slot when not reordering.
26272a6b7db3Sskrll	(md_convert_frag): Warn if an extended instruction appears in a
26282a6b7db3Sskrll	delay slot.
26292a6b7db3Sskrll
26302a6b7db3Sskrll	* config/tc-mips.c (mips_pseudo_table): Add "insn".
26312a6b7db3Sskrll	(s_insn): New static function.
26322a6b7db3Sskrll	* doc/c-mips.texi: Document .insn.
26332a6b7db3Sskrll
26342a6b7db3Sskrll	* config/tc-mips.c (md_begin): Add the general registers to the
26352a6b7db3Sskrll	symbol table.
26362a6b7db3Sskrll	(mips16_ip): First parse the expression, and then see whether it
26372a6b7db3Sskrll	came up with a register, rather than trying to first see whether
26382a6b7db3Sskrll	we are looking at a register.
26392a6b7db3Sskrll
26402a6b7db3SskrllTue Feb 11 15:13:39 1997  Fred Fish  <fnf@cygnus.com>
26412a6b7db3Sskrll
26422a6b7db3Sskrll	* config/tc-tic80.c: Numerous changes and additions to flesh
26432a6b7db3Sskrll	out functions that were previously just stubs, and fix some
26442a6b7db3Sskrll	problems found using the new TIc80 testsuite cases.
26452a6b7db3Sskrll
26462a6b7db3SskrllTue Feb 11 15:52:22 1997  Ian Lance Taylor  <ian@cygnus.com>
26472a6b7db3Sskrll
26482a6b7db3Sskrll	* config/tc-mips.c (mips16_ip): Handle %gprel modifier.
26492a6b7db3Sskrll	(md_apply_fix): Handle BFD_RELOC_MIPS16_GPREL.
26502a6b7db3Sskrll
26512a6b7db3Sskrll	* config/tc-mips.c (append_insn): Output jump instruction as a
26522a6b7db3Sskrll	pair of 2 byte instructions, rather than as a single 4 byte
26532a6b7db3Sskrll	instruction.
26542a6b7db3Sskrll
26552a6b7db3SskrllMon Feb 10 22:06:00 1997  Dawn Perchik  (dawn@cygnus.com)
26562a6b7db3Sskrll
26572a6b7db3Sskrll	* itbl-ops.c, itbl-lex.l, itbl-parse.y, itbl-ops.h,
26582a6b7db3Sskrll	config/itbl-mips.h: Add copyright message and fix indentation.
26592a6b7db3Sskrll
26602a6b7db3SskrllMon Feb 10 18:09:00 1997  Dawn Perchik  (dawn@cygnus.com)
26612a6b7db3Sskrll
26622a6b7db3Sskrll	* itbl-ops.c: New file.  Add support for dynamically read
26632a6b7db3Sskrll	instruction registers, opcodes and formats.  Build internal table
26642a6b7db3Sskrll	for new instructions and provide callbacks for assembler and
26652a6b7db3Sskrll	disassembler.
26662a6b7db3Sskrll	* itbl-lex.l, itbl-parse.y: Lex and yacc parsers for instruction
26672a6b7db3Sskrll	spec table.
26682a6b7db3Sskrll	* itbl-ops.h: New file.  Header file for itbl support.
26692a6b7db3Sskrll	* config/itbl-mips.h: New file.  Mips specific definitions for
26702a6b7db3Sskrll	itbl support.
26712a6b7db3Sskrll
26722a6b7db3SskrllFri Feb  7 09:52:34 1997  Jeffrey A Law  (law@cygnus.com)
26732a6b7db3Sskrll
26742a6b7db3Sskrll	* config/tc-mn10200.c (md_assemble): If a constant operand won't
26752a6b7db3Sskrll	fit into the constant field of a relaxable operand, then it does
26762a6b7db3Sskrll	not match.
26772a6b7db3Sskrll
26782a6b7db3SskrllThu Feb  6 20:08:12 1997  Jeffrey A Law  (law@cygnus.com)
26792a6b7db3Sskrll
26802a6b7db3Sskrll	* config/tc-mn10200.c (md_estimate_size_before_relax): Treat
26812a6b7db3Sskrll	a jsr target in a different section just like a jsr to
26822a6b7db3Sskrll	an undefined target.
26832a6b7db3Sskrll
26842a6b7db3SskrllThu Feb  6 16:52:57 1997  Ian Lance Taylor  <ian@cygnus.com>
26852a6b7db3Sskrll
26862a6b7db3Sskrll	* config/tc-mips.c (mips_fix_adjustable): Don't adjust relocations
26872a6b7db3Sskrll	against any mips16 symbols, not just externally visible ones.
26882a6b7db3Sskrll	(md_apply_fix): Corresponding change.
26892a6b7db3Sskrll
26902a6b7db3SskrllWed Feb  5 11:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
26912a6b7db3Sskrll
26922a6b7db3Sskrll	* config/tc-mips.c (mips16_ip): Accept floating point registers in
26932a6b7db3Sskrll	the operand of the exit instruction.
26942a6b7db3Sskrll
26952a6b7db3SskrllTue Feb  4 14:12:39 1997  Ian Lance Taylor  <ian@cygnus.com>
26962a6b7db3Sskrll
26972a6b7db3Sskrll	* symbols.c (resolve_symbol_value): If we leave an equated symbol
26982a6b7db3Sskrll	as O_symbol, copy over the segment.
26992a6b7db3Sskrll
27002a6b7db3SskrllMon Feb  3 12:35:54 1997  Ian Lance Taylor  <ian@cygnus.com>
27012a6b7db3Sskrll
27022a6b7db3Sskrll	* config/tc-mips.c (md_apply_fix): If we aren't adjusting this
27032a6b7db3Sskrll	fixup to be against the section symbol, adjust the value
27042a6b7db3Sskrll	accordingly.
27052a6b7db3Sskrll
27062a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Don't change X_add_number for
27072a6b7db3Sskrll	an equated symbol.
27082a6b7db3Sskrll	* write.c (write_relocs): Avoid looping on equated symbols.
27092a6b7db3Sskrll	Adjust fx_offset by X_add_number for each symbol.
27102a6b7db3Sskrll	* config/obj-coff.c (do_relocs_for): Avoid looping on equated
27112a6b7db3Sskrll	symbols.
27122a6b7db3Sskrll	(fixup_segment): Add a loop to track down equated symbols and
27132a6b7db3Sskrll	adjust fx_offset appropriately.
27142a6b7db3Sskrll
27152a6b7db3SskrllFri Jan 31 15:21:02 1997  Jeffrey A Law  (law@cygnus.com)
27162a6b7db3Sskrll
27172a6b7db3Sskrll	* config/tc-mn10200.c (md_relax_table): Add entries to allow
27182a6b7db3Sskrll	jmp -> bra relaxing.
27192a6b7db3Sskrll	(md_convert_frag): Handle jmp->bra relaxing.
27202a6b7db3Sskrll	(md_assemble): Handle jmp->bra relaxing.
27212a6b7db3Sskrll	(md_estimate_size_before_relax): Likewise.
27222a6b7db3Sskrll
27232a6b7db3SskrllFri Jan 31 13:15:05 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
27242a6b7db3Sskrll
27252a6b7db3Sskrll	* config/tc-i386.c (i386_align_code): Add comments explaining the
27262a6b7db3Sskrll	nop instructions.
27272a6b7db3Sskrll
27282a6b7db3SskrllFri Jan 31 10:46:14 1997  Ian Lance Taylor  <ian@cygnus.com>
27292a6b7db3Sskrll
27302a6b7db3Sskrll	* config/tc-sparc.c (enforce_aligned_data): New static variable.
27312a6b7db3Sskrll	(sparc_cons_align): Don't do anything unless enforce_aligned_data
27322a6b7db3Sskrll	is set.
27332a6b7db3Sskrll	(md_longopts): Add "enforce-aligned-data".
27342a6b7db3Sskrll	(md_show_usage): Mention --enforce-aligned-data.
27352a6b7db3Sskrll	* doc/c-sparc.texi (Sparc-Aligned-Data): New node; document
27362a6b7db3Sskrll	enforce-aligned-data.
27372a6b7db3Sskrll
27382a6b7db3Sskrll	* config/tc-ppc.c (md_pseudo_table): If OBJ_XCOFF, add "long",
27392a6b7db3Sskrll	"word", and "short".
27402a6b7db3Sskrll	(ppc_xcoff_cons): New static function.
27412a6b7db3Sskrll
27422a6b7db3Sskrll	* write.c (relax_segment): Give an error if a .space symbol is
27432a6b7db3Sskrll	common or undefined.
27442a6b7db3Sskrll
27452a6b7db3Sskrll	* read.c (read_a_source_file): Don't handle mri_pending_align if
27462a6b7db3Sskrll	the handler is s_globl or s_ignore.
27472a6b7db3Sskrll
27482a6b7db3SskrllThu Jan 30 11:46:59 1997  Fred Fish  <fnf@cygnus.com>
27492a6b7db3Sskrll
27502a6b7db3Sskrll	* config/tc-d10v.c (find_opcode): Remove unused variable "numops".
27512a6b7db3Sskrll	* config/tc-tic80.c: Many additions to previous placeholder file.
27522a6b7db3Sskrll	* config/tc-tic80.h: Ditto.
27532a6b7db3Sskrll
27542a6b7db3SskrllThu Jan 30 12:28:18 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
27552a6b7db3Sskrll
27562a6b7db3Sskrll	* config/tc-i386.c (i386_align_code): Improve the nop patterns.
27572a6b7db3Sskrll
27582a6b7db3SskrllThu Jan 30 12:08:40 1997  Ian Lance Taylor  <ian@cygnus.com>
27592a6b7db3Sskrll
27602a6b7db3Sskrll	* config/tc-mips.c (mips_fix_adjustable): New function.
27612a6b7db3Sskrll	* config/tc-mips.h (tc_fix_adjustable): Call mips_fix_adjustable.
27622a6b7db3Sskrll	(mips_fix_adjustable): Declare.
27632a6b7db3Sskrll
27642a6b7db3Sskrll	Ideas from Srinivas Addagarla <srinivas@cdotd.ernet.in>:
27652a6b7db3Sskrll	* read.c (read_a_source_file): After doing an mri_pending_align,
27662a6b7db3Sskrll	adjust the line_label if there is one.
27672a6b7db3Sskrll	(s_space): Set mri_pending_align if an odd number of bytes were
27682a6b7db3Sskrll	output.
27692a6b7db3Sskrll
27702a6b7db3SskrllWed Jan 29 15:31:12 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
27712a6b7db3Sskrll
27722a6b7db3Sskrll	* config/tc-d10v.h (md_do_align): Add this hook to call
27732a6b7db3Sskrll	d10v_cleanup() when a ".align" is detected.
27742a6b7db3Sskrll
27752a6b7db3Sskrll	* config/tc-d10v.c (find_opcode): Correctly calculate
27762a6b7db3Sskrll	branch displacement when .aligns are present.
27772a6b7db3Sskrll
27782a6b7db3SskrllWed Jan 29 09:42:11 1997  Jeffrey A Law  (law@cygnus.com)
27792a6b7db3Sskrll
27802a6b7db3Sskrll	* config/tc-mn10200.c (md_relax_table): Define.
27812a6b7db3Sskrll	(md_convert_frag): Implement.
27822a6b7db3Sskrll	(md_assemble): Handle relaxable operands/instructions correctly.
27832a6b7db3Sskrll	(md_estimate_size_before_relax): Implement.
27842a6b7db3Sskrll	* config/tc-mn10200.h (TC_GENERIC_RELAX_TABLE): Define.
27852a6b7db3Sskrll
27862a6b7db3SskrllTue Jan 28 15:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
27872a6b7db3Sskrll
27882a6b7db3Sskrll	* config/tc-mips.c (append_insn): Give an error for jumps to a
27892a6b7db3Sskrll	misaligned address.
27902a6b7db3Sskrll	(md_apply_fix): Make a branch to an odd address an error rather
27912a6b7db3Sskrll	than a warning.
27922a6b7db3Sskrll
27932a6b7db3Sskrll	* config/tc-mips.c (md_convert_frag): If the user explicitly
27942a6b7db3Sskrll	requested an extended opcode, pass warn as true to mips16_immed.
27952a6b7db3Sskrll
27962a6b7db3Sskrll	* config/tc-mips.c (mips16_ip): Handle a missing expression like
27972a6b7db3Sskrll	an explicit 0, so that explicitly extended instructions work
27982a6b7db3Sskrll	correctly.
27992a6b7db3Sskrll
28002a6b7db3SskrllMon Jan 27 17:41:20 1997  Ian Lance Taylor  <ian@cygnus.com>
28012a6b7db3Sskrll
28022a6b7db3Sskrll	* ecoff.c (ecoff_build_symbols): Don't generate a local ECOFF
28032a6b7db3Sskrll	symbol for a common symbol.
28042a6b7db3Sskrll
28052a6b7db3SskrllWed Jan 22 10:39:39 1997  Doug Evans  <dje@canuck.cygnus.com>
28062a6b7db3Sskrll
28072a6b7db3Sskrll	Patch presumed to have been checked in awhile ago but wasn't.
28082a6b7db3Sskrll	Mon Nov 25 10:45:14 1996  Doug Evans  <dje@seba.cygnus.com>
28092a6b7db3Sskrll	* write.c: Delete "ifndef md_relax_frag" around is_dnrange.
28102a6b7db3Sskrll	(relax_segment, case rs_org): Move code inside braces.  Move locals
28112a6b7db3Sskrll	target,after inside too.
28122a6b7db3Sskrll	(relax_segment, case rs_machine_dependent): Guts moved to ...
28132a6b7db3Sskrll	(relax_frag): New function.
28142a6b7db3Sskrll	Call md_prepare_relax_scan if defined.
28152a6b7db3Sskrll
28162a6b7db3SskrllMon Jan 20 10:56:47 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
28172a6b7db3Sskrll
28182a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Reject pc-relative addresses for the
28192a6b7db3Sskrll	'p' operand specifier.
28202a6b7db3Sskrll
28212a6b7db3SskrllMon Jan 20 10:39:36 1997  J.T. Conklin  <jtc@cygnus.com>
28222a6b7db3Sskrll
28232a6b7db3Sskrll	* config/tc-m68k.c (HAVE_LONG_BRANCH): New macro, returns true for
28242a6b7db3Sskrll	m68k family cpus which support long branch addressing modes.
28252a6b7db3Sskrll	(m68k_ip, md_convert_frag_1, md_estimate_size_before_relax,
28262a6b7db3Sskrll	md_create_long_jump): Use it.
28272a6b7db3Sskrll
28282a6b7db3SskrllMon Jan 20 12:42:06 1997  Ian Lance Taylor  <ian@cygnus.com>
28292a6b7db3Sskrll
28302a6b7db3Sskrll	* config/tc-mips.c (md_begin): Don't set SEC_ALLOC or SEC_LOAD for
28312a6b7db3Sskrll	the .reginfo or .MIPS.options section if configured for an
28322a6b7db3Sskrll	embedded target.
28332a6b7db3Sskrll
28342a6b7db3Sskrll	* config/tc-mips.c (md_begin): Don't set interlocks for
28352a6b7db3Sskrll	mips_4650.
28362a6b7db3Sskrll
28372a6b7db3SskrllWed Jan 15 13:51:50 1997  Ian Lance Taylor  <ian@cygnus.com>
28382a6b7db3Sskrll
28392a6b7db3Sskrll	* read.c (read_a_source_file): Make sure the symbol ends with
28402a6b7db3Sskrll	whitespace before checking whether the next character is '='.
28412a6b7db3Sskrll
28422a6b7db3SskrllTue Jan 14 15:07:27 1997  Robert Lipe <robertl@dgii.com>
28432a6b7db3Sskrll
28442a6b7db3Sskrll	* config/tc-i386.c (sco_id): Moved from here...
28452a6b7db3Sskrll	* config/obj-elf.c (sco_id): ...to here.  Adding the identifier
28462a6b7db3Sskrll	really is an SCO ELF specific thing, not just a SCO x86 specific
28472a6b7db3Sskrll	thing.
28482a6b7db3Sskrll
28492a6b7db3SskrllMon Jan 13 22:43:01 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
28502a6b7db3Sskrll
28512a6b7db3Sskrll	* configure.in (tic80-*-*): Don't require 'coff'.
28522a6b7db3Sskrll	* configure: Regenerate.
28532a6b7db3Sskrll
28542a6b7db3SskrllThu Jan  9 09:08:43 1997  Ian Lance Taylor  <ian@cygnus.com>
28552a6b7db3Sskrll
28562a6b7db3Sskrll	* read.c (emit_expr): Check for overflow of a negative value
28572a6b7db3Sskrll	correctly.
28582a6b7db3Sskrll	* write.c (fixup_segment): Likewise.
28592a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Likewise.
28602a6b7db3Sskrll
28612a6b7db3Sskrll	* config/tc-m68k.c (struct label_line): Define.
28622a6b7db3Sskrll	(labels, current_label): New static variables.
28632a6b7db3Sskrll	(md_assemble): Mark current_label as text, and clear it.
28642a6b7db3Sskrll	(m68k_frob_label): New function.
28652a6b7db3Sskrll	(m68k_flush_pending_output): New function.
28662a6b7db3Sskrll	(m68k_frob_symbol): New function.
28672a6b7db3Sskrll	* config/tc-m68k.h (tc_frob_label): Define.
28682a6b7db3Sskrll	(md_flush_pending_output): Define.
28692a6b7db3Sskrll	(tc_frob_symbol): Don't warn, just call m68k_frob_symbol.
28702a6b7db3Sskrll	(tc_frob_coff_symbol): Likewise.
28712a6b7db3Sskrll
28722a6b7db3Sskrll	* read.c (read_a_source_file): When defining a macro in MRI mode,
28732a6b7db3Sskrll	don't add the symbol to the symbol table.
28742a6b7db3Sskrll
28752a6b7db3SskrllTue Jan  7 11:21:42 1997  Jeffrey A Law  (law@cygnus.com)
28762a6b7db3Sskrll
28772a6b7db3Sskrll	* config/tc-mn10300.c (tc_gen_reloc): Handle sym1-sym2 fixups
28782a6b7db3Sskrll	here since fixup_segment doesn't (linkrelax is set).
28792a6b7db3Sskrll	* config/tc-mn10200.c (tc_gen_reloc): Likewise.
28802a6b7db3Sskrll
28812a6b7db3SskrllMon Jan  6 15:19:32 1997  Jeffrey A Law  (law@cygnus.com)
28822a6b7db3Sskrll
28832a6b7db3Sskrll	* config/tc-mn10200.c (md_assemble): Tweak fx_offset for pc-relative
28842a6b7db3Sskrll	relocs.
28852a6b7db3Sskrll
28862a6b7db3SskrllFri Jan  3 16:47:08 1997  Jeffrey A Law  (law@cygnus.com)
28872a6b7db3Sskrll
28882a6b7db3Sskrll	* config/tc-hppa.c (struct hppa_fix_struct): Tweak fx_r_field's type
28892a6b7db3Sskrll	to avoid warnings with the native HP compiler.
28902a6b7db3Sskrll	(fix_new_hppa): Similarly for the r_type argument.
28912a6b7db3Sskrll	(pa_build_unwind_subspace, hppa_elf_mark_end_of_function): Enclose
28922a6b7db3Sskrll	in an #if OBJ_ELF to keep gcc -Wall quiet.
28932a6b7db3Sskrll	(md_apply_fix): Always initialize "result".
28942a6b7db3Sskrll
28952a6b7db3Sskrll	* config/tc-mn10200.c (md_assemble): Generate relocations.
28962a6b7db3Sskrll
28972a6b7db3SskrllFri Jan  3 18:17:23 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
28982a6b7db3Sskrll
28992a6b7db3Sskrll	* config/tc-m68k.c (s_even): Adjust the alignment of the current
29002a6b7db3Sskrll	section.
29012a6b7db3Sskrll
29022a6b7db3SskrllFri Jan  3 17:10:33 1997  Richard Henderson  <rth@tamu.edu>
29032a6b7db3Sskrll
29042a6b7db3Sskrll	* config/obj-elf.c (elf_file_symbol): When using ECOFF debugging,
29052a6b7db3Sskrll	pass on the new file hook.
29062a6b7db3Sskrll
29072a6b7db3Sskrll	* config/tc-alpha.c (alpha_fix_adjustable): Not quite the same as
29082a6b7db3Sskrll	!alpha_force_relocation, as local LITERALs can be adjusted to be
29092a6b7db3Sskrll	relative to the section.
29102a6b7db3Sskrll
29112a6b7db3SskrllFri Jan  3 12:09:24 1997  Ian Lance Taylor  <ian@cygnus.com>
29122a6b7db3Sskrll
29132a6b7db3Sskrll	* config/obj-coff.c (yank_symbols): If tc_frob_coff_symbol is
29142a6b7db3Sskrll	defined, call it.
29152a6b7db3Sskrll	* config/tc-m68k.h (tc_frob_symbol): Check whether text label is
29162a6b7db3Sskrll	aligned to odd boundary.
29172a6b7db3Sskrll	(tc_frob_coff_symbol): Define.
29182a6b7db3Sskrll
29192a6b7db3Sskrll	* doc/as.texinfo (Set): Change parenthesized @xref to @pxref.
29202a6b7db3Sskrll
29212a6b7db3Sskrll	* macro.c (macro_expand_body): In MRI mode, just copy a single &.
29222a6b7db3Sskrll
29232a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Call frag_grow before adding a
29242a6b7db3Sskrll	PCINDEX frag.  From Ronald F. Guilmette <rfg@monkeys.com>.
29252a6b7db3Sskrll
29262a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Accept 'B' as a size for an
29272a6b7db3Sskrll	immediate value.
29282a6b7db3Sskrll	(md_assemble): If the size is 'B', set fx_signed.
29292a6b7db3Sskrll	(md_apply_fix_2): Use fx_signed when checking for overflow.
29302a6b7db3Sskrll
29312a6b7db3Sskrll	* write.h (struct fix): Add fx_signed field.
29322a6b7db3Sskrll	* write.c (fix_new_internal): Initialize fx_no_overflow and
29332a6b7db3Sskrll	fx_signed fields.
29342a6b7db3Sskrll	(fixup_segment): Use fx_signed when checking for overflow.
29352a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Check fx_no_overflow and
29362a6b7db3Sskrll	fx_signed when checking for overflow.
29372a6b7db3Sskrll
29382a6b7db3SskrllThu Jan  2 13:37:29 1997  Ian Lance Taylor  <ian@cygnus.com>
29392a6b7db3Sskrll
29402a6b7db3Sskrll	* NOTES, NOTES.config: Removed.  These are rarely, if ever,
29412a6b7db3Sskrll	updated, and all the useful information is in doc/internals.texi.
29422a6b7db3Sskrll
29432a6b7db3Sskrll	Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
29442a6b7db3Sskrll	* read.c (read_a_source_file): Check for conditional operators
29452a6b7db3Sskrll	before doing an MRI pending alignment.
29462a6b7db3Sskrll	* config/tc-m68k.h (m68k_conditional_pseudoop): Declare.
29472a6b7db3Sskrll	(tc_conditional_pseudop): Define.
29482a6b7db3Sskrll	* config/tc-m68k.c (m68k_conditional_pseudop): New function.
29492a6b7db3Sskrll	* doc/internals.texi (CPU backend): Describe
29502a6b7db3Sskrll	tc_conditional_pseudoop.
29512a6b7db3Sskrll
29522a6b7db3Sskrll	Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
29532a6b7db3Sskrll	* config/tc-m68k.c (m68k_rel32_from_cmdline): New static
29542a6b7db3Sskrll	variable.
29552a6b7db3Sskrll	(md_begin): Check m68k_rel32_from_cmdline before setting
29562a6b7db3Sskrll	m68k_rel32.
29572a6b7db3Sskrll	(m68k_mri_mode_change): Likewise.
29582a6b7db3Sskrll	(md_longopts): Add --disp-size-default-16 and
29592a6b7db3Sskrll	--disp-size-default-32.
29602a6b7db3Sskrll	(md_parse_option): Handle new options.
29612a6b7db3Sskrll	(md_show_usage): Mention new options.
29622a6b7db3Sskrll	* doc/c-m68k.texi (M68K-Opts): Document new options.
29632a6b7db3Sskrll
29642a6b7db3Sskrll	Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
29652a6b7db3Sskrll	* config/tc-m68k.c (m68k_index_width_default): New static
29662a6b7db3Sskrll	variable.
29672a6b7db3Sskrll	(m68k_ip): Use m68k_index_width_default to set the size of a base
29682a6b7db3Sskrll	register whose size was not given.
29692a6b7db3Sskrll	(md_longopts): Add --base-size-default-16 and
29702a6b7db3Sskrll	--base-size-default-32.
29712a6b7db3Sskrll	(md_parse_option): Handle new options.
29722a6b7db3Sskrll	(md_show_usage): Mention new options.
29732a6b7db3Sskrll	* doc/c-m68k.texi (M68K-Opts): Document new options.
29742a6b7db3Sskrll
29752a6b7db3Sskrll	* doc/c-mips.texi: Mention ISA level 4, and the -mips16 option.
29762a6b7db3Sskrll
29772a6b7db3Sskrll	* configure.in: Recognize mips-*-linux* target.
29782a6b7db3Sskrll	* configure: Rebuild.
29792a6b7db3Sskrll
29802a6b7db3Sskrll	* config/tc-mips.c (load_register): Rewrite 64 bit handling to
29812a6b7db3Sskrll	work if valueT is only 32 bits.
29822a6b7db3Sskrll
29832a6b7db3Sskrll	* config/tc-mips.c: Throughout, check target_big_endian rather
29842a6b7db3Sskrll	than byte_order.
29852a6b7db3Sskrll	(byte_order): Remove.
29862a6b7db3Sskrll	(mips_init_after_args): Remove.
29872a6b7db3Sskrll	* config/tc-mips.h (LITTLE_ENDIAN, BIG_ENDIAN): Don't define.
29882a6b7db3Sskrll	(mips_init_after_args): Don't declare.
29892a6b7db3Sskrll	(tc_init_after_args): Don't define.
29902a6b7db3Sskrll
29912a6b7db3Sskrll	* config/tc-mips.h (tc_frob_after_relocs): Define if
29922a6b7db3Sskrll	OBJ_MAYBE_ELF.
29932a6b7db3Sskrll	(mips_elf_final_processing): Likewise.
29942a6b7db3Sskrll	(ELF_TC_SPECIAL_SECTIONS): Likewise.
29952a6b7db3Sskrll
29962a6b7db3SskrllTue Dec 31 15:12:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
29972a6b7db3Sskrll
29982a6b7db3Sskrll	* config/tc-v850.c (md_assemble): If this is sst.{h,w} or
29992a6b7db3Sskrll	sld.{h,w} and the operand is relocatable, adjust the adend by
30002a6b7db3Sskrll	shifting it right one bit.
30012a6b7db3Sskrll
30022a6b7db3SskrllTue Dec 31 12:56:41 1996  Ian Lance Taylor  <ian@cygnus.com>
30032a6b7db3Sskrll
30042a6b7db3Sskrll	* read.c (read_a_source_file): Check mri_pending_align after
30052a6b7db3Sskrll	checking for a macro.  From Ronald F. Guilmette
30062a6b7db3Sskrll	<rfg@monkeys.com>.
30072a6b7db3Sskrll
30082a6b7db3Sskrll	* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
30092a6b7db3Sskrll
30102a6b7db3Sskrll	* config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
30112a6b7db3Sskrll	add segment argument.  If OBJ_ELF, treat a relocation against a
30122a6b7db3Sskrll	symbol in a linkonce section like a relocation against an external
30132a6b7db3Sskrll	symbol.
30142a6b7db3Sskrll	* config/tc-sparc.h (MD_APPLY_FIX3): Define.
30152a6b7db3Sskrll
30162a6b7db3SskrllMon Dec 30 11:35:40 1996  Ian Lance Taylor  <ian@cygnus.com>
30172a6b7db3Sskrll
30182a6b7db3Sskrll	* config/tc-mips.c (mips16_macro): Add case for M_ABS.
30192a6b7db3Sskrll
30202a6b7db3SskrllFri Dec 27 22:51:51 1996  Fred Fish  <fnf@cygnus.com>
30212a6b7db3Sskrll
30222a6b7db3Sskrll	* NOTES.config (Implementation): as.h #define's "GAS" not "gas",
30232a6b7db3Sskrll	includes config.h instead of host.h, tc.h instead of tp.h, and
30242a6b7db3Sskrll	targ-env.h instead of target-environment.h.
30252a6b7db3Sskrll	Also, obj-format.h includes targ-cpu.h instead of
30262a6b7db3Sskrll	target-processor.h.
30272a6b7db3Sskrll	* configure.in (case ${generic_target}): Add tic80-*-coff entry.
30282a6b7db3Sskrll	* configure: Rebuild with autoconf.
30292a6b7db3Sskrll	* config/obj-coff.h (coff/tic80.h): Include if TC_TIC80 defined.
30302a6b7db3Sskrll	(TARGET_FORMAT): Define to "coff-tic80".
30312a6b7db3Sskrll	* config/tc-tic80.c: New file for TIc80 support.
30322a6b7db3Sskrll	* config/tc-tic80.h: New file for TIc80 support.
30332a6b7db3Sskrll
30342a6b7db3SskrllFri Dec 27 11:42:29 1996  Ian Lance Taylor  <ian@cygnus.com>
30352a6b7db3Sskrll
30362a6b7db3Sskrll	* doc/as.texinfo (M): Mention explicitly that -M changes macro
30372a6b7db3Sskrll	handling.
30382a6b7db3Sskrll
30392a6b7db3SskrllThu Dec 19 12:06:08 1996  Ian Lance Taylor  <ian@cygnus.com>
30402a6b7db3Sskrll
30412a6b7db3Sskrll	* write.c (adjust_reloc_syms): If the fixup symbol has been
30422a6b7db3Sskrll	equated to an undefined symbol, convert the fixup to being against
30432a6b7db3Sskrll	the target symbol.  Remove obsolete code handling a special case
30442a6b7db3Sskrll	for i386 PIC.
30452a6b7db3Sskrll
30462a6b7db3SskrllWed Dec 18 22:54:39 1996  Stan Shebs  <shebs@andros.cygnus.com>
30472a6b7db3Sskrll
30482a6b7db3Sskrll	* mpw-make.sed: Use NewFolderRecursive for installation.
30492a6b7db3Sskrll
30502a6b7db3SskrllWed Dec 18 16:00:42 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
30512a6b7db3Sskrll
30522a6b7db3Sskrll	* config/tc-d10v.c (do_assemble): Correct previous bug fix.
30532a6b7db3Sskrll
30542a6b7db3SskrllWed Dec 18 15:27:40 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
30552a6b7db3Sskrll
30562a6b7db3Sskrll	* config/tc-d10v.c (md_assemble): Fix bug which caused
30572a6b7db3Sskrll	second instruction in a line to be case sensitize.
30582a6b7db3Sskrll
30592a6b7db3SskrllWed Dec 18 10:08:46 1996  Jeffrey A Law  (law@cygnus.com)
30602a6b7db3Sskrll
30612a6b7db3Sskrll	* config/tc-mn10200.c (mn10200_insert_operand): Don't
30622a6b7db3Sskrll	range check operands with MN10200_OPERAND_NOCHECK set.
30632a6b7db3Sskrll	(check_operand): Likewise.
30642a6b7db3Sskrll
30652a6b7db3SskrllTue Dec 17 10:59:32 1996  Ian Lance Taylor  <ian@cygnus.com>
30662a6b7db3Sskrll
30672a6b7db3Sskrll	* config/tc-mips.c: Undo part of last Friday's alignment changes.
30682a6b7db3Sskrll	(md_begin): Always align the text section to a four byte
30692a6b7db3Sskrll	boundary.
30702a6b7db3Sskrll	(append_insn): Remove call to record_align.
30712a6b7db3Sskrll
30722a6b7db3Sskrll	* config/tc-mips.c (insn_label): Remove.
30732a6b7db3Sskrll	(struct insn_label_list): Define.
30742a6b7db3Sskrll	(insn_labels, free_insn_labels): New static variables.
30752a6b7db3Sskrll	(mips_clear_insn_labels): New static function.
30762a6b7db3Sskrll	(append_insn): Mark all mips16 text labels, and make them odd.
30772a6b7db3Sskrll	Handle all labels after emitting a nop, not just one.  Call
30782a6b7db3Sskrll	mips_clear_insn_labels rather than just clearing insn_label.
30792a6b7db3Sskrll	(mips_emit_delays): Add insns parameter, and use it to decide
30802a6b7db3Sskrll	whether to mark mips16 labels.  Handle all labels, not just one.
30812a6b7db3Sskrll	Force mips16 labels to be odd.  Change all callers.
30822a6b7db3Sskrll	(mips16_immed): Don't check for an odd branch target.
30832a6b7db3Sskrll	(md_apply_fix): Don't check mips16 mode for a branch reloc.
30842a6b7db3Sskrll	(mips16_extended_frag): Ignore the low bit in a branch target.
30852a6b7db3Sskrll	(md_convert_frag): Likewise.
30862a6b7db3Sskrll	(mips_no_prev_insn): Call mips_clear_insn_labels rather than just
30872a6b7db3Sskrll	clearing insn_label.
30882a6b7db3Sskrll	(mips_align, mips_flush_pending_output, s_cons): Likewise.
30892a6b7db3Sskrll	(s_float_cons, s_gpword): Likewise.
30902a6b7db3Sskrll	(s_align): Use insn_labels rather than insn_label.
30912a6b7db3Sskrll	(s_cons, s_float_cons, s_gpword): Likewise.
30922a6b7db3Sskrll	(mips_frob_file_after_relocs): New function.
30932a6b7db3Sskrll	(mips_define_label): Rewrite to add to insn_labels list.
30942a6b7db3Sskrll	* config/tc-mips.h (tc_frob_file_after_relocs): Define.
30952a6b7db3Sskrll	* ecoff.c (ecoff_build_symbols): If the size of a function comes
30962a6b7db3Sskrll	out odd, increment it.
30972a6b7db3Sskrll
30982a6b7db3Sskrll	* config/tc-mips.c (append_insn): Only update prev_insn when not
30992a6b7db3Sskrll	reordering if place is NULL.
31002a6b7db3Sskrll
31012a6b7db3Sskrll	* config/tc-mips.c (mips16_ip): Check for a missing expression
31022a6b7db3Sskrll	when using the register indirect addressing mode.
31032a6b7db3Sskrll
31042a6b7db3SskrllMon Dec 16 10:08:46 1996  Jeffrey A Law  (law@cygnus.com)
31052a6b7db3Sskrll
31062a6b7db3Sskrll	* config/tc-mn10200.c (mn10200_insert_operand): Don't
31072a6b7db3Sskrll	check 24bit operands for overflow.
31082a6b7db3Sskrll	(check_operand): Likewise.
31092a6b7db3Sskrll
31102a6b7db3SskrllMon Dec 16 11:50:40 1996  Ian Lance Taylor  <ian@cygnus.com>
31112a6b7db3Sskrll
31122a6b7db3Sskrll	* doc/as.texinfo (Section): Document how to use the .section
31132a6b7db3Sskrll	pseudo-op for COFF and ELF.
31142a6b7db3Sskrll
31152a6b7db3SskrllSun Dec 15 15:26:37 1996  Ian Lance Taylor  <ian@cygnus.com>
31162a6b7db3Sskrll
31172a6b7db3Sskrll	* write.c (adjust_reloc_syms): Fix linkonce check for ELF.
31182a6b7db3Sskrll
31192a6b7db3SskrllSat Dec 14 22:37:27 1996  Ian Lance Taylor  <ian@cygnus.com>
31202a6b7db3Sskrll
31212a6b7db3Sskrll	* config/tc-mips.c (prev_insn_reloc_type): New static variable.
31222a6b7db3Sskrll	(RELAX_MIPS16_ENCODE): Add dslot and jal_dslot arguments, and
31232a6b7db3Sskrll	store them.  Adjust other RELAX_MIPS16 macros.
31242a6b7db3Sskrll	(RELAX_MIPS16_DSLOT): Define.
31252a6b7db3Sskrll	(RELAX_MIPS16_JAL_DSLOT): Define.
31262a6b7db3Sskrll	(append_insn): Pass new arguments to RELAX_MIPS16_ENCODE.  Correct
31272a6b7db3Sskrll	handling of whether previous instruction has a fixup.  Set
31282a6b7db3Sskrll	prev_insn_reloc_type.
31292a6b7db3Sskrll	(mips_no_prev_insn): Clear prev_insn_reloc_type.
31302a6b7db3Sskrll	(mips16_extended_frag): Use the right base address for a PC
31312a6b7db3Sskrll	relative add or load.
31322a6b7db3Sskrll	(md_convert_frag): Likewise.  If a PC relative add or load is
31332a6b7db3Sskrll	used, record the alignment for the section.
31342a6b7db3Sskrll
31352a6b7db3SskrllFri Dec 13 13:00:33 1996  Ian Lance Taylor  <ian@cygnus.com>
31362a6b7db3Sskrll
31372a6b7db3Sskrll	* write.c (adjust_reloc_syms): Don't reduce a reloc against a
31382a6b7db3Sskrll	linkonce section into a reloc against the section symbol.
31392a6b7db3Sskrll
31402a6b7db3Sskrll	* config/tc-mips.c (mips16_macro): Remove nop instructions after
31412a6b7db3Sskrll	branch instructions.
31422a6b7db3Sskrll
31432a6b7db3Sskrll	* config/tc-mips.c (md_begin): If configured for an embedded ELF
31442a6b7db3Sskrll	system, don't set the section alignment to 2**4.
31452a6b7db3Sskrll	(s_change_sec): Likewise.
31462a6b7db3Sskrll	(append_insn): Call record_alignment for the section.
31472a6b7db3Sskrll	(md_section_align): Don't align the section size for an embedded
31482a6b7db3Sskrll	ELF system.
31492a6b7db3Sskrll
31502a6b7db3SskrllThu Dec 12 16:40:47 1996  Ian Lance Taylor  <ian@cygnus.com>
31512a6b7db3Sskrll
31522a6b7db3Sskrll	* write.c (adjust_reloc_syms): Make sure that symbols are
31532a6b7db3Sskrll	resolved; expression symbols may have been skipped.
31542a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Likewise.
31552a6b7db3Sskrll
31562a6b7db3SskrllThu Dec 12 15:18:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
31572a6b7db3Sskrll
31582a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_suffix): Move @plt to
31592a6b7db3Sskrll	BFD_RELOC_24_PLT_PCREL relocation.
31602a6b7db3Sskrll	(md_apply_fix3): Support BFD_RELOC_24_PLT_PCREL.
31612a6b7db3Sskrll
31622a6b7db3SskrllTue Dec 10 13:51:55 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
31632a6b7db3Sskrll
31642a6b7db3Sskrll	* config/tc-d10v.c (write_2_short): Remove code that called
31652a6b7db3Sskrll	parallel_ok() when the programmer specified parallel instructions.
31662a6b7db3Sskrll
31672a6b7db3SskrllTue Dec 10 12:23:19 1996  Jeffrey A Law  (law@cygnus.com)
31682a6b7db3Sskrll
31692a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Update to handle endianness
31702a6b7db3Sskrll	issues correctly.
31712a6b7db3Sskrll
31722a6b7db3Sskrll	* config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!
31732a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Likewise.
31742a6b7db3Sskrll
31752a6b7db3SskrllTue Dec 10 11:37:14 1996  Ian Lance Taylor  <ian@cygnus.com>
31762a6b7db3Sskrll
31772a6b7db3Sskrll	* config/tc-mips.c (append_insn): Make sure there is enough room
31782a6b7db3Sskrll	in a frag after a mips16 instruction to switch it with a jump
31792a6b7db3Sskrll	instruction.
31802a6b7db3Sskrll
31812a6b7db3Sskrll	* config/tc-mips.c (mips16_extended_frag): Give an error for an
31822a6b7db3Sskrll	attempt to use a non absolute symbol in an extending frag.
31832a6b7db3Sskrll
31842a6b7db3SskrllMon Dec  9 16:48:20 1996  Jeffrey A Law  (law@cygnus.com)
31852a6b7db3Sskrll
31862a6b7db3Sskrll	* config/tc-mn10200.c: Flesh out assembler support for MN10200.
31872a6b7db3Sskrll	* config/tc-mn10200.h: Likewise.
31882a6b7db3Sskrll
31892a6b7db3SskrllMon Dec  9 17:09:42 1996  Ian Lance Taylor  <ian@cygnus.com>
31902a6b7db3Sskrll
31912a6b7db3Sskrll	* app.c (do_scrub_chars): At the end of a C comment, pass space to
31922a6b7db3Sskrll	UNGET rather than PUT.  Set old_state before setting state to -2.
31932a6b7db3Sskrll
31942a6b7db3Sskrll	* config/tc-mips.c (mips16_extended_frag): Avoid an infinite loop
31952a6b7db3Sskrll	when extending because the value is exactly maxtiny + 1.
31962a6b7db3Sskrll
31972a6b7db3Sskrll	* config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and ext
31982a6b7db3Sskrll	arguments, and store them.  Adjust other RELAX_MIPS16 macros.
31992a6b7db3Sskrll	(RELAX_MIPS16_USER_SMALL): Define.
32002a6b7db3Sskrll	(RELAX_MIPS16_USER_EXT): Define.
32012a6b7db3Sskrll	(mips16_small, mips16_ext): New static variables.
32022a6b7db3Sskrll	(append_insn): Pass mips16_small and mips16_ext to
32032a6b7db3Sskrll	RELAX_MIPS16_ENCODE.
32042a6b7db3Sskrll	(mips16_ip): Set mips16_small and mips16_ext.
32052a6b7db3Sskrll	(mips16_immed): Don't check mips16_autoextend.
32062a6b7db3Sskrll	(mips16_extended_frag): Check USER_SMALL and USER_EXT.
32072a6b7db3Sskrll
32082a6b7db3Sskrll	* write.c (write_relocs): Print an error for an out of range
32092a6b7db3Sskrll	fixup, rather than calling abort.
32102a6b7db3Sskrll
32112a6b7db3Sskrll	* as.c (main): Unlink the output file if there are errors while
32122a6b7db3Sskrll	generating the fixups.
32132a6b7db3Sskrll
32142a6b7db3SskrllFri Dec  6 18:48:13 1996  Ian Lance Taylor  <ian@cygnus.com>
32152a6b7db3Sskrll
32162a6b7db3Sskrll	* config/tc-mips.c (mips16_extended_frag): Don't call
32172a6b7db3Sskrll	S_GET_VALUE.
32182a6b7db3Sskrll	(md_convert_frag): Call resolve_symbol_value before calling
32192a6b7db3Sskrll	S_GET_VALUE, and don't add in the frag address.
32202a6b7db3Sskrll
32212a6b7db3Sskrll	* config/tc-mips.c (mips16_immed): Add file and line parameters,
32222a6b7db3Sskrll	and use them when reporting errors.  Change all callers.
32232a6b7db3Sskrll
32242a6b7db3SskrllFri Dec  6 15:36:32 1996  Jeffrey A Law  (law@cygnus.com)
32252a6b7db3Sskrll
32262a6b7db3Sskrll	* config/tc-mn10300.c: Fix various gcc -Wall warnings.
32272a6b7db3Sskrll	Remove '$' prefixing for registers.
32282a6b7db3Sskrll
32292a6b7db3SskrllFri Dec  6 00:55:48 1996  Martin  <hunt@cygnus.com>
32302a6b7db3Sskrll
32312a6b7db3Sskrll	* config/tc-d10v.c (md_assemble): Check to see if prev_seg
32322a6b7db3Sskrll	is initialized before using it.
32332a6b7db3Sskrll	(d10v_cleanup): No longer uses its argument, so make it void.
32342a6b7db3Sskrll
32352a6b7db3Sskrll	* config/tc-d10v.h (d10v_cleanup): Change prototype.
32362a6b7db3Sskrll
32372a6b7db3SskrllThu Dec  5 11:03:31 1996  Ian Lance Taylor  <ian@cygnus.com>
32382a6b7db3Sskrll
32392a6b7db3Sskrll	* write.c (fixup_segment): Don't discard the symbol for a PC
32402a6b7db3Sskrll	relative fixup to an absolute symbol.
32412a6b7db3Sskrll
32422a6b7db3SskrllWed Dec  4 15:42:41 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
32432a6b7db3Sskrll
32442a6b7db3Sskrll	* config/tc-d10v.c (md_assemble, d10v_cleanup): Fix bug
32452a6b7db3Sskrll	with multiple sections.
32462a6b7db3Sskrll
32472a6b7db3SskrllWed Dec  4 13:00:07 1996  Ian Lance Taylor  <ian@cygnus.com>
32482a6b7db3Sskrll
32492a6b7db3Sskrll	* config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
32502a6b7db3Sskrll	no-mips-16 to no-mips16.
32512a6b7db3Sskrll	(s_mipsset): Accept .set mips16 and .set nomips16.
32522a6b7db3Sskrll
32532a6b7db3SskrllWed Dec  4 10:35:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
32542a6b7db3Sskrll
32552a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_suffix): Take expressionS pointer
32562a6b7db3Sskrll	argument, and check for +/- constant following the suffix, folding
32572a6b7db3Sskrll	it into the expression.
32582a6b7db3Sskrll	(ppc_elf_cons): Change ppc_elf_suffix calls.
32592a6b7db3Sskrll	(md_assemble): Ditto.
32602a6b7db3Sskrll	(shlib): Replace boolean mrelocatable with enumeration shlib.
32612a6b7db3Sskrll	(md_parse_option): Discriminate between PIC style shared libraries
32622a6b7db3Sskrll	and -mrelocatable.
32632a6b7db3Sskrll	(ppc_elf_validate_fix): Don't report warnings for PIC style shared
32642a6b7db3Sskrll	libraries.
32652a6b7db3Sskrll
32662a6b7db3SskrllTue Dec  3 23:18:29 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
32672a6b7db3Sskrll
32682a6b7db3Sskrll	* config/tc-ppc.h ({tc,ppc}_comment_chars): Define, so that we can
32692a6b7db3Sskrll	change the comment characters.
32702a6b7db3Sskrll
32712a6b7db3Sskrll	* config/tc-ppc.c (comment_chars): Delete in favor of
32722a6b7db3Sskrll	tc_comment_chars.
32732a6b7db3Sskrll	(ppc_{eabi,solaris}_comment_chars): Eabi and Solaris versions of
32742a6b7db3Sskrll	comment chars.
32752a6b7db3Sskrll	(ppc_comment_chars): Select appropriate comment chars by default.
32762a6b7db3Sskrll	(msolaris): New flag for -m{,no-}solaris.
32772a6b7db3Sskrll	(md_parse_option): Recognize -K pic.  Add support for
32782a6b7db3Sskrll	-m{,no-}solaris.
32792a6b7db3Sskrll	(md_show_usage): Update.
32802a6b7db3Sskrll	(md_begin): Do not set ELF flags if Solaris.
32812a6b7db3Sskrll	(ppc_elf_suffix): @local sets R_PPC_LOCAL24PC relocation.
32822a6b7db3Sskrll	(md_apply_fix3): Add support for R_PPC_LOCAL24PC.
32832a6b7db3Sskrll
32842a6b7db3SskrllMon Dec  2 13:48:57 1996  Ian Lance Taylor  <ian@cygnus.com>
32852a6b7db3Sskrll
32862a6b7db3Sskrll	* as.c (main): Correct handling of flag_always_generate_output.
32872a6b7db3Sskrll
32882a6b7db3SskrllSun Dec  1 21:46:05 1996  Jeffrey A Law  (law@cygnus.com)
32892a6b7db3Sskrll
32902a6b7db3Sskrll	* config/tc-mn10300.c (tc_gen_reloc): Get the addend from
32912a6b7db3Sskrll	fx_offset, not fx_addnumber.
32922a6b7db3Sskrll
32932a6b7db3Sskrll	* config/tc-mn10300.h (tc_fix_adjustable): Don't do any
32942a6b7db3Sskrll	reloc adjustments.
32952a6b7db3Sskrll
32962a6b7db3SskrllSat Nov 30 17:34:48 1996  Eliot Dresselhaus  <eliot@wally.edc.com>
32972a6b7db3Sskrll
32982a6b7db3Sskrll	* config/tc-i386.c: Correct misspelling: balenced to balanced.
32992a6b7db3Sskrll
33002a6b7db3SskrllWed Nov 27 13:25:39 1996  Ian Lance Taylor  <ian@cygnus.com>
33012a6b7db3Sskrll
33022a6b7db3Sskrll	* config/tc-mips.c (md_section_align): Check for an alignment of
33032a6b7db3Sskrll	4, not an alignment of 16.  Corrects August 7 patch.
33042a6b7db3Sskrll
33052a6b7db3SskrllTue Nov 26 10:33:16 1996  Ian Lance Taylor  <ian@cygnus.com>
33062a6b7db3Sskrll
33072a6b7db3Sskrll	* configure, conf.in: Rebuild with autoconf 2.12.
33082a6b7db3Sskrll
33092a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_lcomm): Don't give an error if no
33102a6b7db3Sskrll	alignment is specified.
33112a6b7db3Sskrll
33122a6b7db3Sskrll	Add support for mips16 (16 bit MIPS implementation):
33132a6b7db3Sskrll	* config/tc-mips.c: Extensive additions for mips16 support, not
33142a6b7db3Sskrll	listed here.
33152a6b7db3Sskrll	(RELAX_OLD, RELAX_NEW): Use only 7 bits each.
33162a6b7db3Sskrll	(insn_uses_reg): Change last parameter to an enum.
33172a6b7db3Sskrll	* config/tc-mips.h (LOCAL_LABELS_DOLLAR): Define as 0.
33182a6b7db3Sskrll	(md_relax_frag): Define as mips_relax_frag.
33192a6b7db3Sskrll	(mips_relax_frag): Declare.
33202a6b7db3Sskrll	(struct mips_cl_insn): Add use_extend and extend fields.
33212a6b7db3Sskrll	(tc_fix_adjustable): Define.
33222a6b7db3Sskrll	* config/obj-elf.h (S_GET_OTHER): Define.
33232a6b7db3Sskrll	(S_SET_OTHER): Define.
33242a6b7db3Sskrll
33252a6b7db3SskrllMon Nov 25 18:02:29 1996  J.T. Conklin  <jtc@beauty.cygnus.com>
33262a6b7db3Sskrll
33272a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Implement cases for new <, >, m, n,
33282a6b7db3Sskrll	o and p operand specifiers.
33292a6b7db3Sskrll
33302a6b7db3SskrllMon Nov 25 10:45:14 1996  Doug Evans  <dje@seba.cygnus.com>
33312a6b7db3Sskrll
33322a6b7db3Sskrll	* write.c: Delete "ifndef md_relax_frag" around is_dnrange.
33332a6b7db3Sskrll	(relax_segment, case rs_org): Move code inside braces.  Move locals
33342a6b7db3Sskrll	target,after inside too.
33352a6b7db3Sskrll	(relax_segment, case rs_machine_dependent): Guts moved to ...
33362a6b7db3Sskrll	(relax_frag): New function.
33372a6b7db3Sskrll	Call md_prepare_relax_scan if defined.
33382a6b7db3Sskrll	* config/tc-m68k.h (md_prepare_relax_scan): Renamed from
33392a6b7db3Sskrll	M68K_AIM_KLUDGE.
33402a6b7db3Sskrll
33412a6b7db3SskrllMon Nov 25 08:49:36 1996  Jeffrey A Law  (law@cygnus.com)
33422a6b7db3Sskrll
33432a6b7db3Sskrll	* config/tc-mn10300.c (address_registers): Use '$' as register
33442a6b7db3Sskrll	prefix instead of '%'.
33452a6b7db3Sskrll	(data_registers, other_registers, md_assemble): Likewise.
33462a6b7db3Sskrll
33472a6b7db3Sskrll	* config/tc-mn10300.c (address_registers): Use '%' prefix for regs.
33482a6b7db3Sskrll	(data_registers, other_registers, md_assemble): Likewise.
33492a6b7db3Sskrll
33502a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Correctly determine the
33512a6b7db3Sskrll	correct location and type for each relocation.
33522a6b7db3Sskrll	(md_pcrel_from): Simplify.
33532a6b7db3Sskrll
33542a6b7db3SskrllFri Nov 22 15:42:26 1996  Ian Lance Taylor  <ian@cygnus.com>
33552a6b7db3Sskrll
33562a6b7db3Sskrll	* config/tc-sh.c (md_convert_frag): Improve warning when branch is
33572a6b7db3Sskrll	converted into branch around branch.
33582a6b7db3Sskrll
33592a6b7db3SskrllThu Nov 21 11:56:11 1996  Jeffrey A Law  (law@cygnus.com)
33602a6b7db3Sskrll
33612a6b7db3Sskrll	* config/tc-mn10300.h (DIFF_EXPR_OK): Don't define this.
33622a6b7db3Sskrll	(tc_fix_adjustable): Don't adjust relocs against weak symbols or
33632a6b7db3Sskrll	pc-relative relocs.
33642a6b7db3Sskrll	* config/tc-mn10300.c (md_begin): Set linkrelax.
33652a6b7db3Sskrll	(md_assemble): Create fixups as needed.
33662a6b7db3Sskrll	(md_apply_fix3): Gut.  It shouldn't ever get called anymore.
33672a6b7db3Sskrll
33682a6b7db3SskrllTue Nov 19 17:48:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
33692a6b7db3Sskrll
33702a6b7db3Sskrll	* config/tc-d10v.c (parallel_ok): When automatically converting
33712a6b7db3Sskrll	serial ops to parallel, do not consider a branch as the first
33722a6b7db3Sskrll	instruction.
33732a6b7db3Sskrll
33742a6b7db3SskrllTue Nov 19 13:35:22 1996  Jeffrey A Law  (law@cygnus.com)
33752a6b7db3Sskrll
33762a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Handle MN10300_OPERAND_REG_LIST.
33772a6b7db3Sskrll
33782a6b7db3SskrllMon Nov 18 15:26:55 1996  Jeffrey A Law  (law@cygnus.com)
33792a6b7db3Sskrll
33802a6b7db3Sskrll	* config/tc-mn10300.c (mn10300_insert_operand): Provide prototype
33812a6b7db3Sskrll	via PARAMS.
33822a6b7db3Sskrll	(check_operand): Likewise.
33832a6b7db3Sskrll
33842a6b7db3SskrllMon Nov 18 15:22:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
33852a6b7db3Sskrll
33862a6b7db3Sskrll	* config/tc-d10v.c (parallel_ok): Branch and link instructions
33872a6b7db3Sskrll	modify r13.
33882a6b7db3Sskrll	(write_2_short): Call parallel_ok to check whether two short
33892a6b7db3Sskrll	instructions the user requested execute in parallel, can be
33902a6b7db3Sskrll	executed that way.
33912a6b7db3Sskrll
33922a6b7db3SskrllThu Nov 14 11:17:49 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
33932a6b7db3Sskrll
33942a6b7db3Sskrll	* config/tc-d10v.c (write_2_short): Fix bug that wouldn't
33952a6b7db3Sskrll	allow a branch and link in parallel with an exe instruction.
33962a6b7db3Sskrll
33972a6b7db3SskrllFri Nov  8 13:55:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
33982a6b7db3Sskrll
33992a6b7db3Sskrll	* doc/c-d10v.texi: Add info on @word modifier.
34002a6b7db3Sskrll
34012a6b7db3SskrllWed Nov  6 13:46:07 1996  Jeffrey A Law  (law@cygnus.com)
34022a6b7db3Sskrll
34032a6b7db3Sskrll	* config/tc-mn10300.c (mn10300_insert_operand): MN10300_OPERAND_SPLIT
34042a6b7db3Sskrll	operands are assumed to be 32bits.  Use "bits" field to hold the
34052a6b7db3Sskrll	number of bits in the main instruction word for MN10300_OPERAND_SPLIT.
34062a6b7db3Sskrll	(mn10300_check_operand): MN10300_OPERAND_SPLIT operands are assumed
34072a6b7db3Sskrll	to be 32bits.
34082a6b7db3Sskrll
34092a6b7db3Sskrll	* config/tc-mn10300.c (mn10300_insert_operand): Shift low part
34102a6b7db3Sskrll	of a MN10300_OPERAND_SPLIT operand by operand->shift.
34112a6b7db3Sskrll
34122a6b7db3Sskrll	* config/tc-mn10300.c (mn10300_insert_operand): Handle
34132a6b7db3Sskrll	MN10300_OPERAND_SPLIT.
34142a6b7db3Sskrll
34152a6b7db3SskrllTue Nov  5 13:30:40 1996  Jeffrey A Law  (law@cygnus.com)
34162a6b7db3Sskrll
34172a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Insert operands into
34182a6b7db3Sskrll	the extension part of the instruction if necessary.
34192a6b7db3Sskrll	(mn10300_insert_operand): Accept pointer to extension word
34202a6b7db3Sskrll	argument.  Make insn a pointer argument too.  Return type
34212a6b7db3Sskrll	is now void.  All callers changed.
34222a6b7db3Sskrll
34232a6b7db3SskrllMon Nov  4 12:53:40 1996  Jeffrey A Law  (law@cygnus.com)
34242a6b7db3Sskrll
34252a6b7db3Sskrll	* config/tc-mn10300.c (mn10300_insert_operand): Handle
34262a6b7db3Sskrll	repeated register operands.
34272a6b7db3Sskrll
34282a6b7db3SskrllFri Nov  1 10:42:49 1996  Ian Lance Taylor  <ian@cygnus.com>
34292a6b7db3Sskrll
34302a6b7db3Sskrll	* doc/as.texinfo: Added section on reporting bugs.
34312a6b7db3Sskrll
34322a6b7db3Sskrll	* config/tc-alpha.c: Change uses of void * to PTR.  Change the
34332a6b7db3Sskrll	alpha_macro emit field to expect a const argument, and change the
34342a6b7db3Sskrll	arg field to be const.  Fix some spacing to follow the GNU
34352a6b7db3Sskrll	standard.
34362a6b7db3Sskrll
34372a6b7db3SskrllFri Nov  1 10:32:03 1996  Richard Henderson  <rth@tamu.edu>
34382a6b7db3Sskrll
34392a6b7db3Sskrll	* config/tc-alpha.c (md_parse_option): Add knowledge of 21164pc
34402a6b7db3Sskrll	(pca56) and 21264 (ev6) cpus.
34412a6b7db3Sskrll	(md_apply_fix): Private relocation types are now negative.
34422a6b7db3Sskrll	(alpha_force_relocation): Likewise.
34432a6b7db3Sskrll	(tc_gen_reloc): Likewise.
34442a6b7db3Sskrll	(emit_insn): Likewise.
34452a6b7db3Sskrll	(emit_ldXu): Do the right thing when the hardware can do byte insns.
34462a6b7db3Sskrll	(emit_stX): Likewise.
34472a6b7db3Sskrll	(emit_sextX): Likewise.
34482a6b7db3Sskrll
34492a6b7db3SskrllThu Oct 31 16:33:21 1996  Ian Lance Taylor  <ian@cygnus.com>
34502a6b7db3Sskrll
34512a6b7db3Sskrll	* config/obj-coff.c (do_relocs_for): Call resolve_symbol_value on
34522a6b7db3Sskrll	a symbol found in a reloc.
34532a6b7db3Sskrll
34542a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Improve the error message if
34552a6b7db3Sskrll	an undefined symbol is used in an expression.
34562a6b7db3Sskrll
34572a6b7db3SskrllWed Oct 30 20:15:35 1996  Ian Lance Taylor  <ian@cygnus.com>
34582a6b7db3Sskrll
34592a6b7db3Sskrll	* doc/internals.texi: Rewrite, and add a lot of documentation.
34602a6b7db3Sskrll	* doc/Makefile.in (internals.info): New target.
34612a6b7db3Sskrll
34622a6b7db3SskrllWed Oct 30 14:55:57 1996  Jeffrey A Law  (law@cygnus.com)
34632a6b7db3Sskrll
34642a6b7db3Sskrll	* config/tc-v850.h (tc_fix_adjustable): Don't adjust relocs
34652a6b7db3Sskrll	against weak symbols.
34662a6b7db3Sskrll
34672a6b7db3SskrllTue Oct 29 12:28:16 1996  Jeffrey A Law  (law@cygnus.com)
34682a6b7db3Sskrll
34692a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Don't lose for relaxable
34702a6b7db3Sskrll	addresses like .+6.
34712a6b7db3Sskrll
34722a6b7db3Sskrll	* config/tc-v850.c (md_convert_frag): Make sure we insert the
34732a6b7db3Sskrll	fixup at the right address within the frag.
34742a6b7db3Sskrll
34752a6b7db3Sskrll	* config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix
34762a6b7db3Sskrll	to an absolute value, instead increment it as needed.
34772a6b7db3Sskrll
34782a6b7db3Sskrll	* config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define.
34792a6b7db3Sskrll	* config/tc-v850.c: Fix some indention problems.
34802a6b7db3Sskrll	(md_relax_table): Define for D9->D99 branch displacement
34812a6b7db3Sskrll	relaxing.
34822a6b7db3Sskrll	(md_convert_frag): Do something useful instead of aborting.
34832a6b7db3Sskrll	(md_estimate_size_before_relax): Likewise.
34842a6b7db3Sskrll	(md_assemble): Note if the matching instruction has a relaxable
34852a6b7db3Sskrll	operand.  If it does, allocate frag with frag_var and don't
34862a6b7db3Sskrll	do any fixups.
34872a6b7db3Sskrll
34882a6b7db3SskrllMon Oct 28 10:48:40 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
34892a6b7db3Sskrll
34902a6b7db3Sskrll	* config/tc-d10v.h (md_cleanup): New function.  This is needed to
34912a6b7db3Sskrll	write out any buffered instructions when a ".end" is found.
34922a6b7db3Sskrll
34932a6b7db3SskrllMon Oct 28 10:43:45 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
34942a6b7db3Sskrll
34952a6b7db3Sskrll	* read.c (read_a_source_file): New hook md_cleanup().
34962a6b7db3Sskrll
34972a6b7db3SskrllFri Oct 25 00:01:00 1996  Ian Lance Taylor  <ian@cygnus.com>
34982a6b7db3Sskrll
34992a6b7db3Sskrll	* write.c (fix_new_exp): Use make_expr_symbol to build an
35002a6b7db3Sskrll	expression symbol for a complex fixup.
35012a6b7db3Sskrll
35022a6b7db3SskrllThu Oct 24 14:31:04 1996  Jeffrey A Law  (law@cygnus.com)
35032a6b7db3Sskrll
35042a6b7db3Sskrll	* config/tc-v850.c (v850_reloc_prefix): Several disgusting
35052a6b7db3Sskrll	hacks to improve parsing of complex hi, lo, zda, etc
35062a6b7db3Sskrll	expressions.
35072a6b7db3Sskrll	(md_assemble): Don't demand and eat a trailing ')' after finding
35082a6b7db3Sskrll	a v850 relocation prefix.  Sign extend the constant in a
35092a6b7db3Sskrll	BFD_RELOC_LO16 expression.  Do eat a trailing ')' after a complete
35102a6b7db3Sskrll	operand.
35112a6b7db3Sskrll	(parse_cons_expression_v850): Don't eat a trailing ')' after
35122a6b7db3Sskrll	finding a v850 relocation prefix.
35132a6b7db3Sskrll
35142a6b7db3Sskrll	* config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define.
35152a6b7db3Sskrll	(TC_CONS_FIX_NEW): Likewise.
35162a6b7db3Sskrll	* config/tc-v850.c (parse_cons_expression_v850): New function.
35172a6b7db3Sskrll	(cons_fix_new_v850): Likewise.
35182a6b7db3Sskrll
35192a6b7db3Sskrll	* config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
35202a6b7db3Sskrll
35212a6b7db3SskrllWed Oct 23 18:20:29 1996  Ian Lance Taylor  <ian@cygnus.com>
35222a6b7db3Sskrll
35232a6b7db3Sskrll	* config/tc-ppc.c (md_apply_fix3): Give a better warning message
35242a6b7db3Sskrll	for an unknown relocation type.
35252a6b7db3Sskrll
35262a6b7db3SskrllWed Oct 23 16:21:28 1996  Jeffrey A Law  (law@cygnus.com)
35272a6b7db3Sskrll
35282a6b7db3Sskrll	* config/tc-v850.c (md_pseudo_table): Add .word; allocates
35292a6b7db3Sskrll	4 bytes of space.
35302a6b7db3Sskrll
35312a6b7db3SskrllTue Oct 22 22:01:25 1996  Jeffrey A Law  (law@cygnus.com)
35322a6b7db3Sskrll
35332a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Handle TDAOFF relocs
35342a6b7db3Sskrll	differently for movea & sst/sld insns.
35352a6b7db3Sskrll
35362a6b7db3SskrllTue Oct 22 17:09:32 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
35372a6b7db3Sskrll
35382a6b7db3Sskrll	* config/tc-d10v.c (parallel_ok): Don't allow illegal combinations
35392a6b7db3Sskrll	of instructions.
35402a6b7db3Sskrll
35412a6b7db3SskrllTue Oct 22 11:28:39 1996  Ian Lance Taylor  <ian@cygnus.com>
35422a6b7db3Sskrll
35432a6b7db3Sskrll	* obj.h (struct format_ops): Add frob_file_after_relocs field.
35442a6b7db3Sskrll	* config/obj-multi.h (obj_frob_file_after_relocs): Define.
35452a6b7db3Sskrll	* config/obj-ecoff.c (ecoff_format_ops): Initialize new
35462a6b7db3Sskrll	frob_file_after_relocs field.
35472a6b7db3Sskrll	* config/obj-elf.c (elf_format_ops): Likewise.
35482a6b7db3Sskrll	* config/tc-mips.c: Undefine obj_frob_file_after_relocs before
35492a6b7db3Sskrll	including obj-elf.h.
35502a6b7db3Sskrll
35512a6b7db3SskrllMon Oct 21 11:38:30 1996  Ian Lance Taylor  <ian@cygnus.com>
35522a6b7db3Sskrll
35532a6b7db3Sskrll	* config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte reloc
35542a6b7db3Sskrll	specially if not ELF.
35552a6b7db3Sskrll	(md_apply_fix): Handle BFD_RELOC_64.
35562a6b7db3Sskrll	(tc_gen_reloc): Handle BFD_RELOC_64.
35572a6b7db3Sskrll
35582a6b7db3Sskrll	* config/tc-i386.c (md_apply_fix3): Don't increment value for a PC
35592a6b7db3Sskrll	relative reloc when BFD_ASSEMBLER and OBJ_AOUT (more ugly gas
35602a6b7db3Sskrll	reloc hacking).
35612a6b7db3Sskrll
35622a6b7db3Sskrll	* config/obj-aout.h (S_IS_DEFINE): non BFD_ASSEMBLER version:
35632a6b7db3Sskrll	Don't check S_GET_OTHER.
35642a6b7db3Sskrll
35652a6b7db3SskrllFri Oct 18 14:06:26 1996  Ian Lance Taylor  <ian@cygnus.com>
35662a6b7db3Sskrll
35672a6b7db3Sskrll	* config/tc-mips.c (mips_ip): Accept an odd floating point
35682a6b7db3Sskrll	register with l.s or s.s.
35692a6b7db3Sskrll
35702a6b7db3Sskrll	* config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
35712a6b7db3Sskrll	.type pseudo-op.
35722a6b7db3Sskrll	(obj_aout_type): New static function.
35732a6b7db3Sskrll
35742a6b7db3SskrllThu Oct 17 17:55:17 1996  Ian Lance Taylor  <ian@cygnus.com>
35752a6b7db3Sskrll
35762a6b7db3Sskrll	* Makefile.in ($(OBJS)): Depend upon libiberty.h.
35772a6b7db3Sskrll
35782a6b7db3SskrllWed Oct 16 11:28:31 1996  Jeffrey A Law  (law@cygnus.com)
35792a6b7db3Sskrll
35802a6b7db3Sskrll	* config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
35812a6b7db3Sskrll	and sdaoff expressions.
35822a6b7db3Sskrll
35832a6b7db3Sskrll	* write.c (fixup_segment): Don't add symbol value to addend if
35842a6b7db3Sskrll	TC_V850 and OBJ_ELF.
35852a6b7db3Sskrll	* config/tc-v850.h (tc_fix_adjustable): Don't adjust any
35862a6b7db3Sskrll	pc-relative fixups.
35872a6b7db3Sskrll
35882a6b7db3Sskrll	* config/tc-v850.c (md_pcrel_from): Undo yesterday's changes.
35892a6b7db3Sskrll	(md_pcrel_from_section): Likewise.
35902a6b7db3Sskrll	* config/tc-v850.h (MD_PCREL_FROM_SECTION): Likewise.
35912a6b7db3Sskrll
35922a6b7db3SskrllTue Oct 15 23:19:00 1996  Jeffrey A Law  (law@cygnus.com)
35932a6b7db3Sskrll
35942a6b7db3Sskrll	* config/tc-v850.c (md_pcrel_from): Delete unused function.
35952a6b7db3Sskrll	(md_pcrel_from_section): New function.
35962a6b7db3Sskrll	* config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
35972a6b7db3Sskrll
35982a6b7db3SskrllMon Oct 14 13:59:12 1996  Ian Lance Taylor  <ian@cygnus.com>
35992a6b7db3Sskrll
36002a6b7db3Sskrll	* config/tc-mips.c (load_register): Add cast to offsetT when using
36012a6b7db3Sskrll	a constant with &~.
36022a6b7db3Sskrll
36032a6b7db3SskrllMon Oct 14 11:24:28 1996  Richard Henderson  <rth@tamu.edu>
36042a6b7db3Sskrll
36052a6b7db3Sskrll	* config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
36062a6b7db3Sskrll	(elf_frob_file_after_relocs): ... here.  New function.
36072a6b7db3Sskrll	* config/obj-elf.h (obj_from_file_after_relocs): New macro.
36082a6b7db3Sskrll	* write.c (write_object_file): Call *frob_after_relocs after the
36092a6b7db3Sskrll	call to write_relocs.
36102a6b7db3Sskrll
36112a6b7db3Sskrll	* config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc.
36122a6b7db3Sskrll
36132a6b7db3Sskrll	* config/tc-alpha.c (load_expression): Don't SET_VALUE on the section
36142a6b7db3Sskrll	symbol, as this messes up linking.  Instead, expand the recursive call
36152a6b7db3Sskrll	inline and change up the appropriate bits to get the 0x8000 offset
36162a6b7db3Sskrll	in the reloc addend.
36172a6b7db3Sskrll
36182a6b7db3SskrllThu Oct 10 17:30:31 1996  Ian Lance Taylor  <ian@cygnus.com>
36192a6b7db3Sskrll
36202a6b7db3Sskrll	* config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
36212a6b7db3Sskrll	two symbols in the same segment to be adjusted.
36222a6b7db3Sskrll
36232a6b7db3Sskrll	* configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
36242a6b7db3Sskrll	* configure: Rebuild.
36252a6b7db3Sskrll
36262a6b7db3SskrllThu Oct 10 17:22:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
36272a6b7db3Sskrll
36282a6b7db3Sskrll	* config/tc-ppc.c (ppc_insert_operand): Change most warnings into
36292a6b7db3Sskrll	errors.
36302a6b7db3Sskrll	(ppc_elf_validate_fix): Ditto.
36312a6b7db3Sskrll	(md_assemble): Ditto.
36322a6b7db3Sskrll	(ppc_tc): Ditto.
36332a6b7db3Sskrll	(ppc_pe_section): Ditto.
36342a6b7db3Sskrll	(ppc_frob_symbol): Ditto.
36352a6b7db3Sskrll
36362a6b7db3SskrllThu Oct 10 12:05:45 1996  Jeffrey A Law  (law@cygnus.com)
36372a6b7db3Sskrll
36382a6b7db3Sskrll	* config/mn10300.c (md_assemble): Pass an extra shift count
36392a6b7db3Sskrll	to mn10300_insert_operand based on the opcode format.
36402a6b7db3Sskrll	(mn10300_insert_operand): Accept and use extra shift count
36412a6b7db3Sskrll	parameter.
36422a6b7db3Sskrll
36432a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Use FMT_* macros for
36442a6b7db3Sskrll	formats rather than hard-coded constants.
36452a6b7db3Sskrll
36462a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Format D5 instructions
36472a6b7db3Sskrll	are 7 bytes long.  Write out instructions in big-endian format.
36482a6b7db3Sskrll
36492a6b7db3SskrllTue Oct  8 14:56:15 1996  Jeffrey A Law  (law@cygnus.com)
36502a6b7db3Sskrll
36512a6b7db3Sskrll	* config/tc-mn10300.c (md_assemble): Tweak further so
36522a6b7db3Sskrll	that all instructions are parsed correctly.
36532a6b7db3Sskrll
36542a6b7db3SskrllTue Oct  8 13:02:21 1996  Ian Lance Taylor  <ian@cygnus.com>
36552a6b7db3Sskrll
36562a6b7db3Sskrll	* as.h: Include libiberty.h.
36572a6b7db3Sskrll	(xmalloc, xrealloc): Don't declare.
36582a6b7db3Sskrll	* as.c: Don't include libiberty.h.
36592a6b7db3Sskrll	* expr.c, read.c, stabs.c, config/obj-coff.c: Likewise.
36602a6b7db3Sskrll	* config/tc-mips.c: Likewise.
36612a6b7db3Sskrll	* messages.c: Likewise.
36622a6b7db3Sskrll	(xstrerror): Don't declare.
36632a6b7db3Sskrll	* xmalloc.c: Remove.
36642a6b7db3Sskrll
36652a6b7db3SskrllMon Oct  7 16:53:23 1996  Jeffrey A Law  (law@cygnus.com)
36662a6b7db3Sskrll
36672a6b7db3Sskrll	* config/tc-mn10300.h (pre_defined_registers) Remove.
36682a6b7db3Sskrll	(system_registers, cc_names): Likewise.
36692a6b7db3Sskrll	(address_registers, data_registers, other_registers): New register
36702a6b7db3Sskrll	arrays.
36712a6b7db3Sskrll	(register_name, system_register_name, cc_name): Remove.
36722a6b7db3Sskrll	(mn10300_reloc_prefix): Likewise.
36732a6b7db3Sskrll	(data_register_name): New function.
36742a6b7db3Sskrll	(address_register_name, other_register_name): Likewise.
36752a6b7db3Sskrll	(md_assemble): Rough cut at parsing operands.  Remove lots of
36762a6b7db3Sskrll	unwanted code.
36772a6b7db3Sskrll	(md_apply_fix3): Disable for now.
36782a6b7db3Sskrll
36792a6b7db3SskrllMon Oct  7 11:38:34 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
36802a6b7db3Sskrll
36812a6b7db3Sskrll	* config/tc-m68k.c (select_control_regs): New function, extracted
36822a6b7db3Sskrll	out of m68k_init_after_args.
36832a6b7db3Sskrll	(m68k_init_after_args): Use it.
36842a6b7db3Sskrll	(mri_chip): Use it here as well to update set of allowed control
36852a6b7db3Sskrll	regs for movec.
36862a6b7db3Sskrll
36872a6b7db3SskrllMon Oct  7 11:24:29 1996  Ian Lance Taylor  <ian@cygnus.com>
36882a6b7db3Sskrll
36892a6b7db3Sskrll	* config/obj-elf.c (elf_begin): New function.
36902a6b7db3Sskrll	(obj_elf_section): Add the section symbol to the symbol table.
36912a6b7db3Sskrll	* config/obj-elf.h (obj_begin): Define.
36922a6b7db3Sskrll	(elf_begin): Declare.
36932a6b7db3Sskrll	* as.c (perform_an_assembly_pass): Call obj_begin if it is
36942a6b7db3Sskrll	defined.
36952a6b7db3Sskrll
36962a6b7db3SskrllFri Oct  4 18:37:32 1996  Ian Lance Taylor  <ian@cygnus.com>
36972a6b7db3Sskrll
36982a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Subtract the section address
36992a6b7db3Sskrll	from a PC relative reloc if TC_M68K.
37002a6b7db3Sskrll
37012a6b7db3SskrllThu Oct  3 15:15:30 1996  Ian Lance Taylor  <ian@cygnus.com>
37022a6b7db3Sskrll
37032a6b7db3Sskrll	* config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and
37042a6b7db3Sskrll	.uaxword available even if not OBJ_ELF.
37052a6b7db3Sskrll	(md_atof): Remove unused local variable wordP.
37062a6b7db3Sskrll
37072a6b7db3SskrllThu Oct  3 00:16:50 1996  Jeffrey A Law  (law@cygnus.com)
37082a6b7db3Sskrll
37092a6b7db3Sskrll	* config/tc-mn10x00.c, config/tc-mn10x00.h: New files
37102a6b7db3Sskrll	for Matsushita MN10x00 support.
37112a6b7db3Sskrll	* configure.in: Recognize mn10x00-*-*
37122a6b7db3Sskrll	* configure: Rebuilt.
37132a6b7db3Sskrll
37142a6b7db3SskrllWed Oct  2 15:54:03 1996  Klaus Kaempf  <kkaempf@progis.de>
37152a6b7db3Sskrll
37162a6b7db3Sskrll	* config/obj-evax.h: move openvms definitions from here to tc-alpha.c.
37172a6b7db3Sskrll	* config/tc-alpha.c: add support for vms_case_hack like in vax/vms.
37182a6b7db3Sskrll	(load_expression): track clobbering of base reg before jmp/jsr.
37192a6b7db3Sskrll	(s_alpha_file): pass case_hack flags and source filename via
37202a6b7db3Sskrll	symbol table to bfd.
37212a6b7db3Sskrll	* config/tc-alpha.h (TC_CONS_FIX_NEW): define
37222a6b7db3Sskrll
37232a6b7db3SskrllTue Oct  1 16:16:01 1996  Joel Sherrill  <joel@oarcorp.com>
37242a6b7db3Sskrll
37252a6b7db3Sskrll	* configure.in (mips-*-rtems*): New target, like mips-*-elf*.
37262a6b7db3Sskrll	* configure: Rebuild.
37272a6b7db3Sskrll
37282a6b7db3SskrllTue Oct  1 12:37:48 1996  Ian Lance Taylor  <ian@cygnus.com>
37292a6b7db3Sskrll
37302a6b7db3Sskrll	* read.c (s_macro): Warn if a macro has the same name as a
37312a6b7db3Sskrll	pseudo-op.
37322a6b7db3Sskrll	(s_space): In m68k MRI mode, align to a word boundary.
37332a6b7db3Sskrll	* macro.c (define_macro): Add namep parameter.  Change all
37342a6b7db3Sskrll	callers.
37352a6b7db3Sskrll	* macro.h (define_macro): Update declaration.
37362a6b7db3Sskrll
37372a6b7db3Sskrll	* as.c (show_usage): Print bug report address.
37382a6b7db3Sskrll	(parse_args): Change version printing to match current GNU
37392a6b7db3Sskrll	standards.
37402a6b7db3Sskrll	* gasp.c (show_usage): Print bug report address.
37412a6b7db3Sskrll	(main): Change version printing to match current GNU standards.
37422a6b7db3Sskrll
37432a6b7db3Sskrll	* config/tc-m68k.c (init_table): Correct access control unit
37442a6b7db3Sskrll	register numbers.  From Ken Rose <rose@netcom.com>.
37452a6b7db3Sskrll
37462a6b7db3Sskrll	* config/tc-alpha.c: Add some static function prototypes.
37472a6b7db3Sskrll	(alpha_macros): Move to top of file.  Make static.
37482a6b7db3Sskrll	(alpha_num_macros): Move to top of file.
37492a6b7db3Sskrll
37502a6b7db3SskrllTue Oct  1 09:36:19 1996  Stu Grossman  (grossman@critters.cygnus.com)
37512a6b7db3Sskrll
37522a6b7db3Sskrll	* config/tc-v850.h:  Define LOCAL_LABEL to recognise _.L_* symbols
37532a6b7db3Sskrll	generated by DWARF.
37542a6b7db3Sskrll
37552a6b7db3SskrllSat Sep 28 03:38:08 1996  Ian Lance Taylor  <ian@cygnus.com>
37562a6b7db3Sskrll
37572a6b7db3Sskrll	* listing.c (list_symbol_table): Remove bogus code in BFD64 case,
37582a6b7db3Sskrll	and just call sprintf_vma.
37592a6b7db3Sskrll
37602a6b7db3SskrllThu Sep 26 16:04:11 1996  Ian Lance Taylor  <ian@cygnus.com>
37612a6b7db3Sskrll
37622a6b7db3Sskrll	* expr.c (expr): Change >>= to >> (fix typo).  (From meissner).
37632a6b7db3Sskrll
37642a6b7db3SskrllTue Sep 24 19:05:08 1996  Ian Lance Taylor  <ian@cygnus.com>
37652a6b7db3Sskrll
37662a6b7db3Sskrll	* read.c (float_cons): Call md_flush_pending_output if it is
37672a6b7db3Sskrll	defined.
37682a6b7db3Sskrll
37692a6b7db3SskrllTue Sep 24 12:22:18 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
37702a6b7db3Sskrll
37712a6b7db3Sskrll	* config/tc-d10v.c (md_operand): Created.  Allows operands to
37722a6b7db3Sskrll	start with '#'.
37732a6b7db3Sskrll	* config/tc-d10v.h (md_operand): Undefined.
37742a6b7db3Sskrll
37752a6b7db3SskrllMon Sep 23 12:13:18 1996  Ian Lance Taylor  <ian@cygnus.com>
37762a6b7db3Sskrll
37772a6b7db3Sskrll	* config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
37782a6b7db3Sskrll	(md_assemble): A fixup width of '3' means a 1 byte reloc.
37792a6b7db3Sskrll
37802a6b7db3SskrllThu Sep 19 12:21:24 1996  Ian Lance Taylor  <ian@cygnus.com>
37812a6b7db3Sskrll
37822a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Don't adjust PC relative
37832a6b7db3Sskrll	reloc for the i960 for a reloc in the same section.  This undoes
37842a6b7db3Sskrll	one of the two changes made Aug 19.
37852a6b7db3Sskrll
37862a6b7db3SskrllWed Sep 18 12:11:58 1996  Ian Lance Taylor  <ian@cygnus.com>
37872a6b7db3Sskrll
37882a6b7db3Sskrll	* config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
37892a6b7db3Sskrll	symbols to the position of the debugging information.
37902a6b7db3Sskrll
37912a6b7db3SskrllMon Sep 16 11:41:40 1996  Ian Lance Taylor  <ian@cygnus.com>
37922a6b7db3Sskrll
37932a6b7db3Sskrll	* expr.c (expr): Always use unsigned right shifts for >>.
37942a6b7db3Sskrll
37952a6b7db3SskrllThu Sep 12 10:25:45 1996  James G. Smith  <jsmith@cygnus.co.uk>
37962a6b7db3Sskrll
37972a6b7db3Sskrll	* config/tc-arm.c (md_apply_fix3): Update two thumb instruction
37982a6b7db3Sskrll	slots when processing BL fixups.
37992a6b7db3Sskrll
38002a6b7db3Sskrll	* config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
38012a6b7db3Sskrll	on the first half of the instruction.
38022a6b7db3Sskrll
38032a6b7db3SskrllWed Sep 11 00:09:35 1996  Ian Lance Taylor  <ian@cygnus.com>
38042a6b7db3Sskrll
38052a6b7db3Sskrll	* ecoff.c (ecoff_stab): Create an expression symbol for a complex
38062a6b7db3Sskrll	stabs expression, rather than giving an error.
38072a6b7db3Sskrll
38082a6b7db3Sskrll	* ecoff.c (ecoff_new_file): Don't do anything if we are still in
38092a6b7db3Sskrll	the same file.
38102a6b7db3Sskrll
38112a6b7db3SskrllTue Sep 10 11:45:37 1996  Ian Lance Taylor  <ian@cygnus.com>
38122a6b7db3Sskrll
38132a6b7db3Sskrll	* config/tc-mips.c (append_insn): Fill in the value for a constant
38142a6b7db3Sskrll	jump, rather than creating a reloc.
38152a6b7db3Sskrll
38162a6b7db3SskrllMon Sep  9 10:57:42 1996  Ian Lance Taylor  <ian@cygnus.com>
38172a6b7db3Sskrll
38182a6b7db3Sskrll	* config/tc-mips.c (append_insn): Don't swap an instruction which
38192a6b7db3Sskrll	sets a condition code with an instruction which uses a condition
38202a6b7db3Sskrll	code.
38212a6b7db3Sskrll	(mips_ip): In cases 'N' and 'M', look for $fccN rather than an
38222a6b7db3Sskrll	immediate value.
38232a6b7db3Sskrll
38242a6b7db3Sskrll	* config/tc-mips.c (md_begin): Recognize r5000 for cpu.
38252a6b7db3Sskrll	(mips_ip): Give a better error message if the ISA level is wrong.
38262a6b7db3Sskrll	(md_parse_option): Recognize -mcpu=[v][r]5000.
38272a6b7db3Sskrll
38282a6b7db3SskrllSat Sep  7 13:25:55 1996  James G. Smith  <jsmith@cygnus.co.uk>
38292a6b7db3Sskrll
38302a6b7db3Sskrll	* config/tc-mips.c (COUNT_TOP_ZEROES): Added macro to count
38312a6b7db3Sskrll	leading zeroes.
38322a6b7db3Sskrll	(load_register): Ensure hi32 bits are not lost during lo32bit
38332a6b7db3Sskrll	processing. Fix shift offset that was overflowing into the next
38342a6b7db3Sskrll	instruction field. Add code to generate shorter sequences for
38352a6b7db3Sskrll	constants with a single contiguous seqeuence of ones.
38362a6b7db3Sskrll
38372a6b7db3SskrllFri Sep  6 17:07:12 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
38382a6b7db3Sskrll
38392a6b7db3Sskrll	* config/tc-d10v.c (d10v_dot_word): New function to support
38402a6b7db3Sskrll	"@word" with the word pseudo-op.
38412a6b7db3Sskrll	(md_apply_fix3): Cleanup and changes to support correct sizes
38422a6b7db3Sskrll	for 16 and 18-bit relocs.
38432a6b7db3Sskrll
38442a6b7db3SskrllFri Sep  6 16:00:29 1996  Doug Evans  <dje@canuck.cygnus.com>
38452a6b7db3Sskrll
38462a6b7db3Sskrll	* configure.in (sparc-*-aout): Set `em'.
38472a6b7db3Sskrll	* configure: Regenerated.
38482a6b7db3Sskrll	* config/te-sparcaout.h: New file.
38492a6b7db3Sskrll	* config/tc-sparc.h (TARGET_BYTES_BIG_ENDIAN): Define.
38502a6b7db3Sskrll	Ifdef TE_SPARCOUT define TARGET_FORMAT and SPARC_BIENDIAN.
38512a6b7db3Sskrll	* config/tc-sparc.c (INSN_BIG_ENDIAN): New macro.
38522a6b7db3Sskrll	(SPECIAL_CASE_{SETSW,SETX}): Define.
38532a6b7db3Sskrll	({NOP,OR,FMOVS,SETHI,SLLX,SRA}_INSN): Define.
38542a6b7db3Sskrll	(md_begin): Delete setting of `target_big_endian'.
38552a6b7db3Sskrll	(output_insn): New function.
38562a6b7db3Sskrll	(md_assemble): Rewrite.  Add `setx' support.
38572a6b7db3Sskrll	(sparc_ip): Handle `0' operand char.  Recognize setuw, setsw, setx
38582a6b7db3Sskrll	special cases.
38592a6b7db3Sskrll	(md_atof): Add little endian support.
38602a6b7db3Sskrll	(md_number_to_chars): Likewise.
38612a6b7db3Sskrll	(md_apply_fix): Likewise.
38622a6b7db3Sskrll	(md_longopts): Recognize -EL,-EB ifdef SPARC_BIENDIAN.
38632a6b7db3Sskrll	(md_parse_option): Likewise.
38642a6b7db3Sskrll	(md_show_usage): Print -EL, -EB ifdef SPARC_BIENDIAN.
38652a6b7db3Sskrll
38662a6b7db3SskrllThu Sep  5 13:40:29 1996  Ian Lance Taylor  <ian@cygnus.com>
38672a6b7db3Sskrll
38682a6b7db3Sskrll	* ecoff.c (ecoff_new_file): New function.
38692a6b7db3Sskrll	* ecoff.h (ecoff_new_file): Declare.
38702a6b7db3Sskrll	* config/obj-ecoff.h (obj_app_file): Define.
38712a6b7db3Sskrll
38722a6b7db3SskrllThu Sep  5 13:39:25 1996  Richard Henderson  <rth@tamu.edu>
38732a6b7db3Sskrll
38742a6b7db3Sskrll	* config/tc-alpha.c (load_expression): Bias the .lit8 section
38752a6b7db3Sskrll	symbol by 32k so that our 16-bit signed offset can address the
38762a6b7db3Sskrll	entire chunk.  Reported by <matt@lkg.dec.com>.
38772a6b7db3Sskrll
38782a6b7db3SskrllWed Sep  4 10:23:20 1996  Ian Lance Taylor  <ian@cygnus.com>
38792a6b7db3Sskrll
38802a6b7db3Sskrll	* config/tc-mips.c (load_register): Remove unused variable tmp.
38812a6b7db3Sskrll
38822a6b7db3SskrllWed Sep  4 11:24:29 1996  James G. Smith  <jsmith@cygnus.co.uk>
38832a6b7db3Sskrll
38842a6b7db3Sskrll	* config/tc-mips.c (load_register): Remove unnecessary code that
38852a6b7db3Sskrll	was causing the high 32bits of 64bit constants to be lost.
38862a6b7db3Sskrll
38872a6b7db3SskrllTue Sep  3 13:52:56 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
38882a6b7db3Sskrll
38892a6b7db3Sskrll	* config/tc-d10v.c: Added changes to support function
38902a6b7db3Sskrll	pointers and "@word" syntax.
38912a6b7db3Sskrll
38922a6b7db3SskrllTue Sep  3 11:57:18 1996  Jeffrey A Law  (law@cygnus.com)
38932a6b7db3Sskrll
38942a6b7db3Sskrll	* config/tc-v850.c: Remove commented out and #if 0'd code.
38952a6b7db3Sskrll	(v850_reloc_prefix): Provide prototype.
38962a6b7db3Sskrll	(postfix, get_reloc, build_insn): Remove prototypes for nonexistant
38972a6b7db3Sskrll	functions.
38982a6b7db3Sskrll	(md_begin, md_assemble, md_apply_fix3): Remove unused variables.
38992a6b7db3Sskrll	(md_assemble): Add default to case statement.
39002a6b7db3Sskrll
39012a6b7db3SskrllSat Aug 31 16:03:00 1996  Jeffrey A Law  (law@cygnus.com)
39022a6b7db3Sskrll
39032a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Compute size of the instrction
39042a6b7db3Sskrll	from the opcode.
39052a6b7db3Sskrll
39062a6b7db3Sskrll	* config/tc-v850.c (md_apply_fix3): Do simple byte, short and
39072a6b7db3Sskrll	word fixups too.
39082a6b7db3Sskrll
39092a6b7db3SskrllFri Aug 30 23:50:08 1996  Jeffrey A Law  (law@cygnus.com)
39102a6b7db3Sskrll
39112a6b7db3Sskrll	* config/tc-v850.c (md_apply_fix3): Use little endian get/put
39122a6b7db3Sskrll	routines to fetch/store the updated instruction from/to memory.
39132a6b7db3Sskrll	(v850_insert_operand): If the operand has a specialized insert
39142a6b7db3Sskrll	routine, call it.
39152a6b7db3Sskrll
39162a6b7db3SskrllFri Aug 30 18:35:26 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
39172a6b7db3Sskrll
39182a6b7db3Sskrll	* config/tc-v850.c (reg_name_search): Align calling convention to
39192a6b7db3Sskrll	be like identical function found in tc-ppc.c.
39202a6b7db3Sskrll	(get_reloc): Removed.
39212a6b7db3Sskrll	(v850_reloc_prefix): New function, parse lo(), hi() and hi0().
39222a6b7db3Sskrll	(md_assemble): emit fixups.
39232a6b7db3Sskrll	(md_pcrel_from): renamed from md_pcrel_from_section, emit proper
39242a6b7db3Sskrll	displacement.
39252a6b7db3Sskrll	(md_apply_fix3): handle fixups/relocs.
39262a6b7db3Sskrll	* config/tc-v850.h (MD_PCREL_FROM_SECTION): Removed definition.
39272a6b7db3Sskrll
39282a6b7db3SskrllFri Aug 30 18:12:00 1996  Ian Lance Taylor  <ian@cygnus.com>
39292a6b7db3Sskrll
39302a6b7db3Sskrll	Add SH ELF support.
39312a6b7db3Sskrll	* configure.in (sh-*-elf*): New target.
39322a6b7db3Sskrll	* config/tc-sh.h (TARGET_ARCH): Define.
39332a6b7db3Sskrll	(WORKING_DOT_WORD): Define.
39342a6b7db3Sskrll	(TC_COFF_FIX2RTYPE): Only define if OBJ_COFF.
39352a6b7db3Sskrll	(BFD_ARCH, COFF_MAGIC, TC_COUNT_RELOC): Likewise.
39362a6b7db3Sskrll	(TC_RELOC_MANGLE, tc_coff_symbol_emit_hook): Likewise.
39372a6b7db3Sskrll	(DO_NOT_STRIP, NEED_FX_R_TYPE, TC_KEEP_FX_OFFSET): Likewise.
39382a6b7db3Sskrll	(TC_COFF_SIZEMACHDEP, tc_frob_file): Likewise.
39392a6b7db3Sskrll	(SUB_SEGMENT_ALIGN): Likewise.
39402a6b7db3Sskrll	(RELOC_32): Don't define.
39412a6b7db3Sskrll	(tc_frob_file_before_adjust): Define if BFD_ASSEMBLER.
39422a6b7db3Sskrll	(target_big_endian): Declare if OBJ_ELF.
39432a6b7db3Sskrll	(TARGET_FORMAT): Define if OBJ_ELF.
39442a6b7db3Sskrll	* config/tc-sh.c: Use BFD reloc codes instead of SH COFF reloc
39452a6b7db3Sskrll	numbers throughout.
39462a6b7db3Sskrll	(tc_crawl_symbol_chain): Only define if OBJ_COFF.
39472a6b7db3Sskrll	(tc_headers_hook, tc_coff_sizemachdep): Likewise.
39482a6b7db3Sskrll	(struct sh_count_relocs): Define.
39492a6b7db3Sskrll	(sh_count_relocs): New static function, broken out of
39502a6b7db3Sskrll	sh_frob_file.  Add BFD_ASSEMBLER code.
39512a6b7db3Sskrll	(sh_frob_section): Likewise.
39522a6b7db3Sskrll	(sh_frob_file): Call sh_frob_section.
39532a6b7db3Sskrll	(md_convert_frag): If BFD_ASSEMBLER, change type of headers, and
39542a6b7db3Sskrll	call section_symbol rather than seg_info (seg)->dot.
39552a6b7db3Sskrll	(md_section_align): Add OBJ_ELF version.
39562a6b7db3Sskrll	(SWITCH_TABLE_CONS): Define.
39572a6b7db3Sskrll	(SWITCH_TABLE): Use SWITCH_TABLE_CONS.
39582a6b7db3Sskrll	(md_apply_fix): Change parameter types if BFD_ASSEMBLER.  Only
39592a6b7db3Sskrll	handle fx_r_type == 0 if not BFD_ASSEMBLER.  Return 0 if
39602a6b7db3Sskrll	BFD_ASSEMBLER.
39612a6b7db3Sskrll	(struct reloc_map): Define if not BFD_ASSEMBLER.
39622a6b7db3Sskrll	(coff_reloc_map): Likewise.
39632a6b7db3Sskrll	(sh_coff_reloc_mangle): Use coff_reloc_map to convert fx_r_type.
39642a6b7db3Sskrll	(tc_gen_reloc): New function if BFD_ASSEMBLER.
39652a6b7db3Sskrll	* write.c (write_relocs): Ifdef out fx_where test which triggers
39662a6b7db3Sskrll	inappropriately for SH ELF.
39672a6b7db3Sskrll	(write_object_file): Call tc_frob_file_before_adjust and
39682a6b7db3Sskrll	obj_frob_file_before_adjust if they are defined.
39692a6b7db3Sskrll
39702a6b7db3Sskrll	* write.c (write_object_file): Use BFD_RELOC_16, not
39712a6b7db3Sskrll	BFD_RELOC_NONE, when calling fix_new_exp for a broken word.
39722a6b7db3Sskrll
39732a6b7db3Sskrll	* read.c (emit_expr): Fix conversion of byte count to BFD reloc
39742a6b7db3Sskrll	code.
39752a6b7db3Sskrll
39762a6b7db3SskrllFri Aug 30 14:47:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
39772a6b7db3Sskrll
39782a6b7db3Sskrll	* config/tc-d10v.c (find_opcode): Fix problem with calculating
39792a6b7db3Sskrll	branch sizes in across sections.
39802a6b7db3Sskrll
39812a6b7db3SskrllFri Aug 30 00:44:13 1996  Jeffrey A Law  (law@cygnus.com)
39822a6b7db3Sskrll
39832a6b7db3Sskrll	* config/tc-850.c (md_assemble): Handle hi() correctly.  Handle
39842a6b7db3Sskrll	hi0() too.
39852a6b7db3Sskrll
39862a6b7db3SskrllWed Aug 28 23:11:08 1996  Jeffrey A Law  (law@cygnus.com)
39872a6b7db3Sskrll
39882a6b7db3Sskrll	* config/tc-v850.c (md_begin): Deal with end of opcode
39892a6b7db3Sskrll	table marker.
39902a6b7db3Sskrll
39912a6b7db3SskrllWed Aug 28 19:20:04 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
39922a6b7db3Sskrll
39932a6b7db3Sskrll	* config/tc-d10v.c (find_opcode): Fix a bug which could generate
39942a6b7db3Sskrll	the wrong opcode for cases like st2w where there are many forms
39952a6b7db3Sskrll	of the same instruction.
39962a6b7db3Sskrll
39972a6b7db3SskrllTue Aug 27 13:53:22 1996  Ian Lance Taylor  <ian@cygnus.com>
39982a6b7db3Sskrll
39992a6b7db3Sskrll	* expr.c (operand): If md_parse_name is defined, call it before
40002a6b7db3Sskrll	calling symbol_find_or_make.
40012a6b7db3Sskrll	* config/tc-ppc.h (md_parse_name): Define.
40022a6b7db3Sskrll	(ppc_parse_name): Declare.
40032a6b7db3Sskrll	* config/tc-ppc.c (reg_name_search): Add regs and regcount
40042a6b7db3Sskrll	parameters.
40052a6b7db3Sskrll	(register_name): Update call to reg_name_search.
40062a6b7db3Sskrll	(cr_operand): New static variable.
40072a6b7db3Sskrll	(cr_names): New static const array.
40082a6b7db3Sskrll	(ppc_parse_name): New function.
40092a6b7db3Sskrll	(md_assemble): If PPC_OPERAND_CR is set in the operand flags, set
40102a6b7db3Sskrll	cr_operand before calling expression.
40112a6b7db3Sskrll
40122a6b7db3SskrllTue Aug 27 09:05:50 1996  Jeffrey A Law  (law@cygnus.com)
40132a6b7db3Sskrll
40142a6b7db3Sskrll	* config/tc-hppa.c (tc_gen_reloc): Add new argument to
40152a6b7db3Sskrll	hppa_gen_reloc_type call.
40162a6b7db3Sskrll
40172a6b7db3SskrllMon Aug 26 18:24:51 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
40182a6b7db3Sskrll
40192a6b7db3Sskrll	* config/tc-d10v.c: Fixed ".word".  Fixed problem with range checking
40202a6b7db3Sskrll	on addresses.  Improved error messages.
40212a6b7db3Sskrll	* doc/c-d10v.texi: Added docs for register pairs.
40222a6b7db3Sskrll
40232a6b7db3SskrllMon Aug 26 13:39:27 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
40242a6b7db3Sskrll
40252a6b7db3Sskrll	* config/tc-d10v.c (parallel_ok): Fix bug in parallel
40262a6b7db3Sskrll	checking code.
40272a6b7db3Sskrll
40282a6b7db3SskrllMon Aug 26 14:38:22 1996  Ian Lance Taylor  <ian@cygnus.com>
40292a6b7db3Sskrll
40302a6b7db3Sskrll	* ecoff.c (init_file): Initialize fMerge to 1.
40312a6b7db3Sskrll	(add_file): Restore old file merging code, but only merge files if
40322a6b7db3Sskrll	fMerge is set.
40332a6b7db3Sskrll	(ecoff_directive_loc): Clear fMerge field of current file.
40342a6b7db3Sskrll	(ecoff_generate_asm_lineno): Likewise.
40352a6b7db3Sskrll
40362a6b7db3SskrllFri Aug 23 11:40:47 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
40372a6b7db3Sskrll
40382a6b7db3Sskrll	* doc/c-d10v.texi: Fix typo.
40392a6b7db3Sskrll
40402a6b7db3SskrllFri Aug 23 10:41:32 1996  Jeffrey A Law  (law@cygnus.com)
40412a6b7db3Sskrll
40422a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Correct bit masking for
40432a6b7db3Sskrll	hi and lo expressions.
40442a6b7db3Sskrll
40452a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Rough cut at demanding
40462a6b7db3Sskrll	"ep" or "r30" in sst and sld instructions.
40472a6b7db3Sskrll	(md_apply_fix3): Don't abort.  Just warn that we don't
40482a6b7db3Sskrll	have relocs yet.
40492a6b7db3Sskrll
40502a6b7db3Sskrll	* config/tc-v850.c (CC_NAME_CNT): Define.
40512a6b7db3Sskrll	(cc_name): New function.
40522a6b7db3Sskrll	(md_assemble): Handle V850_OPERAND_CC correctly.
40532a6b7db3Sskrll
40542a6b7db3Sskrll	* config/tc-v850.c (md_assemble): Don't forget to initialize
40552a6b7db3Sskrll	"insn"!
40562a6b7db3Sskrll
40572a6b7db3Sskrll	* config/tc-v850.c (reg_name_search): Generalize to search
40582a6b7db3Sskrll	any given register table.
40592a6b7db3Sskrll	(register_name): Pass appropriate table and size to reg_name_search.
40602a6b7db3Sskrll	(system_register_name): New function.
40612a6b7db3Sskrll	(SYSREG_NAME_CNT): Define.
40622a6b7db3Sskrll	(md_assemble): Handle operands which are system registers.
40632a6b7db3Sskrll
40642a6b7db3Sskrll	* config/tc-v850.c (md_assemble): If we find a register, but the
40652a6b7db3Sskrll	opcode doesn't want a register, then we don't have a match.
40662a6b7db3Sskrll	(md_assemble): Get size of the instruction from the opcode table.
40672a6b7db3Sskrll
40682a6b7db3SskrllThu Aug 22 10:20:30 1996  Ian Lance Taylor  <ian@cygnus.com>
40692a6b7db3Sskrll
40702a6b7db3Sskrll	* configure.in: Set and substitute HLDENV.
40712a6b7db3Sskrll	* configure: Rebuild.
40722a6b7db3Sskrll	* Makefile.in (HLDENV): New variable.
40732a6b7db3Sskrll	(as.new): Use $(HLDENV).
40742a6b7db3Sskrll
40752a6b7db3Sskrll	* ecoff.c (ecoff_directive_endef): Avoid a division by zero error
40762a6b7db3Sskrll	if an array dimension is not known.
40772a6b7db3Sskrll
40782a6b7db3SskrllThu Aug 22 10:50:00 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
40792a6b7db3Sskrll
40802a6b7db3Sskrll	* config/tc-d10v.c: Fix a reloc bug caused by my last change.
40812a6b7db3Sskrll	* doc/c-d10v.texi: Cleanup.
40822a6b7db3Sskrll
40832a6b7db3SskrllTue Aug 20 15:15:16 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
40842a6b7db3Sskrll
40852a6b7db3Sskrll	* config/tc-v850.c: New file.
40862a6b7db3Sskrll	* config/tc-v850.h: New file.
40872a6b7db3Sskrll	* configure (v850-*-elf): New target.
40882a6b7db3Sskrll	* configure.in (v850-*-elf): New target.
40892a6b7db3Sskrll
40902a6b7db3SskrllWed Aug 21 15:50:54 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
40912a6b7db3Sskrll
40922a6b7db3Sskrll	* doc/c-d10v.texi: New file.
40932a6b7db3Sskrll	* doc/all.texi: Added D10V stuff.
40942a6b7db3Sskrll	* doc/as.texinfo: Added D10V stuff.
40952a6b7db3Sskrll
40962a6b7db3SskrllTue Aug 20 14:10:02 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
40972a6b7db3Sskrll
40982a6b7db3Sskrll	* config/tc-d10v.c: All references to defined symbols should
40992a6b7db3Sskrll	now use the optimal instruction.  .float and .double now work.
41002a6b7db3Sskrll
41012a6b7db3SskrllMon Aug 19 14:41:36 1996  Ian Lance Taylor  <ian@cygnus.com>
41022a6b7db3Sskrll
41032a6b7db3Sskrll	* config/obj-coff.c (fixup_segment): Adjust PC relative reloc by
41042a6b7db3Sskrll	section address for the i960 as is done for the i386.
41052a6b7db3Sskrll
41062a6b7db3SskrllThu Aug 15 16:37:59 1996  Stan Shebs  <shebs@andros.cygnus.com>
41072a6b7db3Sskrll
41082a6b7db3Sskrll	* mpw-config.in: Add wildcards for config matching, add mips-*-*
41092a6b7db3Sskrll	case, forward-include bfd/elf-bfd.h.
41102a6b7db3Sskrll
41112a6b7db3SskrllThu Aug 15 13:24:30 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
41122a6b7db3Sskrll
41132a6b7db3Sskrll	* config/tc-d10v.c: Add additional information to the opcode
41142a6b7db3Sskrll	table to help determinine which instructions can be done
41152a6b7db3Sskrll	in parallel.
41162a6b7db3Sskrll
41172a6b7db3SskrllThu Aug 15 17:01:31 1996  James G. Smith  <jsmith@cygnus.co.uk>
41182a6b7db3Sskrll
41192a6b7db3Sskrll	* config/tc-arm.c: Major changes to add Thumb support, with lots
41202a6b7db3Sskrll	of change input from <rearnsha@armltd.co.uk>.
41212a6b7db3Sskrll	Reverted to INSN_SIZE macro, rather than insn_size variable.
41222a6b7db3Sskrll	(insns): Added ARM "bx" instruction support.
41232a6b7db3Sskrll	(tinsns): Added Thumb instruction definition structure.
41242a6b7db3Sskrll	(arm_tops_hsh): Added hash structure for Thumb opcodes.
41252a6b7db3Sskrll	(md_pseudo_table): Added ".arm", ".thumb" and ".code" pseudo-ops.
41262a6b7db3Sskrll	(opcode_select,s_arm,s_thumb,s_code): Added.
41272a6b7db3Sskrll	(decode_shift): Allow upper-case RRX.
41282a6b7db3Sskrll	(do_ldst): Simpler halfword support.
41292a6b7db3Sskrll	(do_ldmstm): Improved.
41302a6b7db3Sskrll	(reg_list, do_bx, thumb_reg, thumb_add_sub, thumb_shift,
41312a6b7db3Sskrll	thumb_mov_compare, thumb_load_store, do_t_arit, do_t_add,
41322a6b7db3Sskrll	do_t_asr, do_t_branch, do_t_bx, do_t_compare, do_t_ldmstm,
41332a6b7db3Sskrll	do_t_ldrb, do_t_ldrh, do_t_lds, do_t_lsl, do_t_lsr, do_t_mov,
41342a6b7db3Sskrll	do_t_push_pop, do_t_str, do_t_strb, do_t_strh, do_t_sub, do_t_swi,
41352a6b7db3Sskrll	do_t_adr): Added.
41362a6b7db3Sskrll	(md_apply_fix3): Add support for BFD_RELOC_ARM_THUMB_* relocations.
41372a6b7db3Sskrll	(md_parse_option): Add support for -mthumb.
41382a6b7db3Sskrll	(md_show_usage): Updated to reflect new command line option.
41392a6b7db3Sskrll	(arm_data_in_code, arm_canonicalize_symbol_name): Added.
41402a6b7db3Sskrll	* config/tc-arm.h: Provide TC_FIX_TYPE to allow private ARM
41412a6b7db3Sskrll	fragment information to be held.
41422a6b7db3Sskrll
41432a6b7db3SskrllThu Aug 15 16:12:00 1996  Richard Earnshaw (rearnsha@armltd.co.uk)
41442a6b7db3Sskrll
41452a6b7db3Sskrll	* config/tc-arm.c (md_apply_fix3): Also set fixP->fx_done if fx_addsy is
41462a6b7db3Sskrll	non-null, but is a constant.
41472a6b7db3Sskrll	(fix_new_arm): Call make_expr_symbol to make the expression symbol
41482a6b7db3Sskrll	so that error reporting will work correctly.
41492a6b7db3Sskrll
41502a6b7db3SskrllWed Aug 14 10:37:21 1996  Ian Lance Taylor  <ian@cygnus.com>
41512a6b7db3Sskrll
41522a6b7db3Sskrll	* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs
41532a6b7db3Sskrll	against weak symbols.
41542a6b7db3Sskrll
41552a6b7db3SskrllTue Aug 13 17:39:24 1996  Ian Lance Taylor  <ian@cygnus.com>
41562a6b7db3Sskrll
41572a6b7db3Sskrll	* config/tc-ppc.h (TC_FORCE_RELOCTION): Define if OBJ_XCOFF.
41582a6b7db3Sskrll	(ppc_force_relocation): Declare if OBJ_XCOFF.
41592a6b7db3Sskrll	* config/tc-ppc.c (ppc_force_relocation): New function if
41602a6b7db3Sskrll	OBJ_XCOFF.
41612a6b7db3Sskrll
41622a6b7db3SskrllMon Aug 12 16:49:43 1996  Ian Lance Taylor  <ian@cygnus.com>
41632a6b7db3Sskrll
41642a6b7db3Sskrll	* config/tc-mips.h (BYTE_ORDER): Don't define.  No longer used.
41652a6b7db3Sskrll
41662a6b7db3SskrllFri Aug  9 17:48:28 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
41672a6b7db3Sskrll
41682a6b7db3Sskrll	* config/tc-d10v.c: Fix problem with relocs.
41692a6b7db3Sskrll
41702a6b7db3SskrllFri Aug  9 14:16:14 1996  Ian Lance Taylor  <ian@cygnus.com>
41712a6b7db3Sskrll
41722a6b7db3Sskrll	* config/tc-sh.c (sh_do_align): If not BFD_ASSEMBLER, always align
41732a6b7db3Sskrll	with nops if not in data_section or bss_section.
41742a6b7db3Sskrll
41752a6b7db3SskrllThu Aug  8 12:32:56 1996  Klaus Kaempf  <kkaempf@progis.de>
41762a6b7db3Sskrll
41772a6b7db3Sskrll	Add support for openVMS/Alpha.
41782a6b7db3Sskrll	* as.h (PRINTF_LIKE): Don't define if VMS, for now.
41792a6b7db3Sskrll	* config/obj-evax.c: New file.
41802a6b7db3Sskrll	* config/obj-evax.h: New file.
41812a6b7db3Sskrll	* config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is
41822a6b7db3Sskrll	defined.
41832a6b7db3Sskrll	* config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is
41842a6b7db3Sskrll	defined.  Add case for bfd_target_evax_flavour.
41852a6b7db3Sskrll	* config/vms-a-conf.h: New file.
41862a6b7db3Sskrll	* conf-a-gas.com: New file.
41872a6b7db3Sskrll	* configure.in: Add target alpha-*-*vms*.
41882a6b7db3Sskrll	* configure: Rebuild.
41892a6b7db3Sskrll	* makefile.vms: New file.
41902a6b7db3Sskrll	* read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX.
41912a6b7db3Sskrll	Don't call ffs on openVMS/Alpha.
41922a6b7db3Sskrll
41932a6b7db3SskrllWed Aug  7 14:19:03 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
41942a6b7db3Sskrll
41952a6b7db3Sskrll	* configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or
41962a6b7db3Sskrll	<strings.h> if they exist.  Call GAS_CHECK_DECL_NEEDED on strstr
41972a6b7db3Sskrll	and sbrk.
41982a6b7db3Sskrll	* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
41992a6b7db3Sskrll	(NEED_DECLARATION_SBRK): New macro.
42002a6b7db3Sskrll	* configure, conf.in: Rebuild.
42012a6b7db3Sskrll	* as.h: Only include <strings.h> if HAVE_STRINGS_H.
42022a6b7db3Sskrll	(strstr): Declare if NEED_DECLARATION_STRSTR.
42032a6b7db3Sskrll	* as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
42042a6b7db3Sskrll
42052a6b7db3SskrllWed Aug  7 11:50:26 1996  Ian Lance Taylor  <ian@cygnus.com>
42062a6b7db3Sskrll
42072a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Handle addition or subtraction
42082a6b7db3Sskrll	by a constant before entering the main switch.  Reject attempts to
42092a6b7db3Sskrll	apply an arithmetic function to non-absolute symbols, except for
42102a6b7db3Sskrll	the special case of subtraction of two symbols in the same
42112a6b7db3Sskrll	section.
42122a6b7db3Sskrll
42132a6b7db3Sskrll	* config/tc-mips.c (md_section_align): Do align if OBJ_ELF, but
42142a6b7db3Sskrll	not to more than a 16 byte boundary.
42152a6b7db3Sskrll
42162a6b7db3Sskrll	* config/tc-i386.c (tc_gen_reloc): Accept all relocs; remove
42172a6b7db3Sskrll	#ifndef OBJ_ELF lines.  From Eric Valette <valette@crf.canon.fr>.
42182a6b7db3Sskrll	(tc_gen_reloc): If out of memory call as_fatal rather than
42192a6b7db3Sskrll	assert.  If no howto found, call as_bad_where rather than
42202a6b7db3Sskrll	as_fatal.  Change the error message slightly.  Set howto to a
42212a6b7db3Sskrll	non-NULL value in order to keep going.
42222a6b7db3Sskrll
42232a6b7db3SskrllTue Aug  6 12:58:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
42242a6b7db3Sskrll
42252a6b7db3Sskrll	* config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
42262a6b7db3Sskrll
42272a6b7db3SskrllTue Aug  6 11:15:26 1996  Jeffrey A Law  (law@cygnus.com)
42282a6b7db3Sskrll
42292a6b7db3Sskrll	* config/tc-h8300.c (get_specific): New operand "size" derived
42302a6b7db3Sskrll	from ".b", ".w" and ".l" extensions.  All callers changed.  If
42312a6b7db3Sskrll	the base instruction has no operands, then use the size to
42322a6b7db3Sskrll	determine which specific instruction to use.
42332a6b7db3Sskrll
42342a6b7db3SskrllMon Aug  5 14:21:10 1996  Ian Lance Taylor  <ian@cygnus.com>
42352a6b7db3Sskrll
42362a6b7db3Sskrll	* config/tc-i960.c (mem_fmt): Call parse_expr before emit.
42372a6b7db3Sskrll
42382a6b7db3SskrllFri Aug  2 11:23:31 1996  Ian Lance Taylor  <ian@cygnus.com>
42392a6b7db3Sskrll
42402a6b7db3Sskrll	* config/tc-mips.c (md_section_align): Don't change addr if
42412a6b7db3Sskrll	OBJ_ELF.
42422a6b7db3Sskrll
42432a6b7db3SskrllThu Aug  1 23:51:52 1996  Jeffrey A Law  (law@cygnus.com)
42442a6b7db3Sskrll
42452a6b7db3Sskrll	* config/tc-hppa.c: Revert yesterday's changes.
42462a6b7db3Sskrll
42472a6b7db3SskrllWed Jul 31 14:46:11 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
42482a6b7db3Sskrll
42492a6b7db3Sskrll	* config/tc-d10v.c: Disable range checking on 16-bit values.
42502a6b7db3Sskrll
42512a6b7db3SskrllWed Jul 31 16:27:19 1996  Ian Lance Taylor  <ian@cygnus.com>
42522a6b7db3Sskrll
42532a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,
42542a6b7db3Sskrll	not just the ones that don't match.
42552a6b7db3Sskrll
42562a6b7db3SskrllWed Jul 31 11:45:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
42572a6b7db3Sskrll
42582a6b7db3Sskrll	* config/tc-d10v.c: Fixed bugs in short relocs and range checking.
42592a6b7db3Sskrll
42602a6b7db3SskrllWed Jul 31 15:41:42 1996  James G. Smith  <jsmith@cygnus.co.uk>
42612a6b7db3Sskrll
42622a6b7db3Sskrll	* config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as
42632a6b7db3Sskrll	pre-cursor to adding Thumb support. Also added cpu_variant flag
42642a6b7db3Sskrll	information to each of the asm_flg structures.
42652a6b7db3Sskrll	(md_parse_option): Updated ARM7 parsing to allow 't' for
42662a6b7db3Sskrll	thumb/halfword support, aswell as 'm' for long multiply.
42672a6b7db3Sskrll	(md_show_usage): Updated help message.
42682a6b7db3Sskrll	(md_assemble): Check that instruction flags are applicated to the
42692a6b7db3Sskrll	current cpu variant.
42702a6b7db3Sskrll	(md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and
42712a6b7db3Sskrll	BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and
42722a6b7db3Sskrll	signextension instructions.
42732a6b7db3Sskrll	(do_ldst): Generate halfword and signextension variants if
42742a6b7db3Sskrll	mnemonic flags match.
42752a6b7db3Sskrll	(ldst_extend): Do not allow shifts in the offset field of halfword
42762a6b7db3Sskrll	or signextension instructions.
42772a6b7db3Sskrll	(validate_offset_imm): Provide check on halfword and signextension
42782a6b7db3Sskrll	immediate range.
42792a6b7db3Sskrll	(add_to_lit_pool): Merge identical literal pool values.
42802a6b7db3Sskrll
42812a6b7db3SskrllTue Jul 30 14:28:23 1996  Jeffrey A Law  (law@cygnus.com)
42822a6b7db3Sskrll
42832a6b7db3Sskrll	* config/tc-hppa.c (selector_table): Add 'E' selector.
42842a6b7db3Sskrll	(cons_fix_new_hppa): Don't coke on e_esel.
42852a6b7db3Sskrll	(tc_gen_reloc, SOM version): Handle R_COMP2 when used
42862a6b7db3Sskrll	to help generate exception handling tables.
42872a6b7db3Sskrll	(md_apply_fix): Don't try to apply fixups with an e_esel
42882a6b7db3Sskrll	selector.
42892a6b7db3Sskrll	(hppa_fix_adjustable): Fixups with e_esel selectors
42902a6b7db3Sskrll	are not adjustable.
42912a6b7db3Sskrll
42922a6b7db3SskrllTue Jul 30 15:51:41 1996  Ian Lance Taylor  <ian@cygnus.com>
42932a6b7db3Sskrll
42942a6b7db3Sskrll	* config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte
42952a6b7db3Sskrll	pseudo-ops.
42962a6b7db3Sskrll
42972a6b7db3SskrllFri Jul 26 11:43:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
42982a6b7db3Sskrll
42992a6b7db3Sskrll	* config/tc-d10v.c: Added lots of error checking.  Added hacks
43002a6b7db3Sskrll	to support accumulator shifts.
43012a6b7db3Sskrll
43022a6b7db3SskrllFri Jul 26 11:56:08 1996  Ian Lance Taylor  <ian@cygnus.com>
43032a6b7db3Sskrll
43042a6b7db3Sskrll	* symbols.c (S_SET_EXTERNAL): Let .weak override.
43052a6b7db3Sskrll	(S_CLEAR_EXTERNAL): Likewise.
43062a6b7db3Sskrll	(S_SET_WEAK): Remove error; just let .weak override.
43072a6b7db3Sskrll
43082a6b7db3SskrllThu Jul 25 15:22:51 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
43092a6b7db3Sskrll
43102a6b7db3Sskrll	* config/tc-d10v.c (md_assemble): Now handles multiline
43112a6b7db3Sskrll	instructions.
43122a6b7db3Sskrll
43132a6b7db3SskrllThu Jul 25 12:03:33 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
43142a6b7db3Sskrll
43152a6b7db3Sskrll	* config/tc-d10v.c: Fix packaging bug. Added range checking.
43162a6b7db3Sskrll	Added kludge for divs instruction.  Fixed minor problem with
43172a6b7db3Sskrll	multiple text sections.
43182a6b7db3Sskrll	* config/tc-d10v.h (d10v_cleanup): Change prototype.
43192a6b7db3Sskrll
43202a6b7db3SskrllTue Jul 23 10:49:36 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
43212a6b7db3Sskrll
43222a6b7db3Sskrll	* config/tc-d10v.c (md_apply_fix3): Fix all instruction
43232a6b7db3Sskrll	addresses to be right-shifted by 2.
43242a6b7db3Sskrll
43252a6b7db3SskrllMon Jul 22 11:32:36 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
43262a6b7db3Sskrll
43272a6b7db3Sskrll	* config/tc-d10v.c: Many changes to get relocs working.
43282a6b7db3Sskrll	(register_name): No longer creates a symbol for register names.
43292a6b7db3Sskrll	(pre_defined_registers): moved to opcodes/d10v-opc.c.
43302a6b7db3Sskrll	(d10v_insert_operand): Now works correctly for either container.
43312a6b7db3Sskrll	* config/tc-d10v.h (d10v_cleanup): Declare.
43322a6b7db3Sskrll
43332a6b7db3SskrllMon Jul 22 14:01:33 1996  Ian Lance Taylor  <ian@cygnus.com>
43342a6b7db3Sskrll
43352a6b7db3Sskrll	* config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
43362a6b7db3Sskrll	BFD_RELOC_PCREL_LO16 are expected to be PC relative.
43372a6b7db3Sskrll
43382a6b7db3SskrllMon Jul 22 12:46:55 1996  Richard Henderson  <rth@tamu.edu>
43392a6b7db3Sskrll
43402a6b7db3Sskrll	* config/tc-alpha.c: Patches to track current minimum alignment to reduce
43412a6b7db3Sskrll	the number of fragments created with frag_align.
43422a6b7db3Sskrll	(alpha_current_align): New static variable.
43432a6b7db3Sskrll	(s_alpha_text): Reset alignment to 0.
43442a6b7db3Sskrll	(s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise.
43452a6b7db3Sskrll	(s_alpha_stringer, s_alpha_space): New functions.
43462a6b7db3Sskrll	(s_alpha_cons, alpha_flush_pending_output): Remove functions.
43472a6b7db3Sskrll	(alpha_cons_align): New function to replace both of them.
43482a6b7db3Sskrll	(emit_insn): Only align if alpha_current_align is less than 2;
43492a6b7db3Sskrll	reset alpha_current_align to 2.
43502a6b7db3Sskrll	(s_alpha_gprel32): Likewise.
43512a6b7db3Sskrll	(s_alpha_section): New function.  Basically duplicate the other
43522a6b7db3Sskrll	alpha section change hooks.  Only define for ELF.
43532a6b7db3Sskrll	(s_alpha_float_cons): Simplify alignment handling.
43542a6b7db3Sskrll	(md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF.
43552a6b7db3Sskrll	If OBJ_ELF, define "section", "section.s", "sect", and "sect.s".
43562a6b7db3Sskrll	Don't define the s_alpha_cons pseudo-ops.  Do define
43572a6b7db3Sskrll	s_alpha_stringer and s_alpha_space pseudo-ops.
43582a6b7db3Sskrll	(alpha_align): Skip if less than current default alignment.  Set
43592a6b7db3Sskrll	default alignment.
43602a6b7db3Sskrll	* config/tc-alpha.h (md_flush_pending_output): Remove.
43612a6b7db3Sskrll	(md_cons_align): Add.
43622a6b7db3Sskrll
43632a6b7db3Sskrll	* config/tc-alpha.c: Add oodles of function description comments.
43642a6b7db3Sskrll	(md_bignum_to_chars): Remove; there are no callers.
43652a6b7db3Sskrll	(md_show_usage): Mention some more variants.
43662a6b7db3Sskrll
43672a6b7db3SskrllThu Jul 18 15:54:54 1996  Ian Lance Taylor  <ian@cygnus.com>
43682a6b7db3Sskrll
43692a6b7db3Sskrll	From Andrew Gierth <ANDREWG@microlise.co.uk>:
43702a6b7db3Sskrll	* configure.in (sparc-*-sysv4*): New target.
43712a6b7db3Sskrll	* configure: Rebuild.
43722a6b7db3Sskrll
43732a6b7db3Sskrll	* config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and
43742a6b7db3Sskrll	uaxword to use s_uacons.
43752a6b7db3Sskrll	(sparc_no_align_cons): New static variable.
43762a6b7db3Sskrll	(s_uacons): New static function.
43772a6b7db3Sskrll	(sparc_cons_align): If sparc_no_align_cons is set, just clear it
43782a6b7db3Sskrll	and return.
43792a6b7db3Sskrll
43802a6b7db3Sskrll	* config/tc-sparc.c (s_common): Remove unused label allocate_bss.
43812a6b7db3Sskrll
43822a6b7db3Sskrll	* configure.in: Add mips-*-irix6* target.  Handle Irix 6 like Irix
43832a6b7db3Sskrll	5 with regard to shared libraries.
43842a6b7db3Sskrll	* configure: Rebuild.
43852a6b7db3Sskrll
43862a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Use the correct length when
43872a6b7db3Sskrll	allocating space for the unsupported architecture error message.
43882a6b7db3Sskrll
43892a6b7db3SskrllThu Jul 18 12:57:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
43902a6b7db3Sskrll
43912a6b7db3Sskrll	* configure.in (d10v-*-*): Allow d10v-*-*, don't require d10v-*-elf*.
43922a6b7db3Sskrll
43932a6b7db3SskrllWed Jul 17 14:25:13 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
43942a6b7db3Sskrll
43952a6b7db3Sskrll	* config/tc-d10v.c: New file.
43962a6b7db3Sskrll	* config/tc-d10v.h: New file.
43972a6b7db3Sskrll	* configure (d10v-*-elf): New target.
43982a6b7db3Sskrll	* configure.in (d10v-*-elf): New target.
43992a6b7db3Sskrll
44002a6b7db3SskrllFri Jul 12 20:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
44012a6b7db3Sskrll
44022a6b7db3Sskrll	* config/tc-ppc.c (md_parse_option): Recognize -K PIC.
44032a6b7db3Sskrll
44042a6b7db3SskrllWed Jul 10 12:39:08 1996  Richard Henderson  <rth@tamu.edu>
44052a6b7db3Sskrll
44062a6b7db3Sskrll	* config/tc-alpha.c (alpha_align): Change fill parameter
44072a6b7db3Sskrll	to a pointer.  Take NULL as 0 or nop depending on section.  Change
44082a6b7db3Sskrll	all callers.
44092a6b7db3Sskrll	(s_alpha_align): Rename local variables.
44102a6b7db3Sskrll
44112a6b7db3Sskrll	* doc/as.texinfo (.align): Document action of omitted
44122a6b7db3Sskrll	fill parameter.
44132a6b7db3Sskrll
44142a6b7db3SskrllWed Jul 10 00:23:30 1996  Ian Lance Taylor  <ian@cygnus.com>
44152a6b7db3Sskrll
44162a6b7db3Sskrll	* config/tc-ppc.c (md_apply_fix3): Give a useful error message
44172a6b7db3Sskrll	when an unsupported PC relative reloc is seen, rather than calling
44182a6b7db3Sskrll	abort.
44192a6b7db3Sskrll
44202a6b7db3Sskrll	* app.c (do_scrub_chars): Remove not_cpp_line local variable.
44212a6b7db3Sskrll	Instead, check state when '#' comment is seen.
44222a6b7db3Sskrll
44232a6b7db3SskrllMon Jul  8 14:11:49 1996  Ian Lance Taylor  <ian@cygnus.com>
44242a6b7db3Sskrll
44252a6b7db3Sskrll	* config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
44262a6b7db3Sskrll	OBJ_MAYBE_ELF.
44272a6b7db3Sskrll	(tc_gen_reloc): If fixup was changed to be PC relative, change
44282a6b7db3Sskrll	reloc type accordingly.  Use name of reloc in error message.
44292a6b7db3Sskrll
44302a6b7db3Sskrll	* as.h: Don't define const or volatile.
44312a6b7db3Sskrll	* flonum.h: Don't define const.
44322a6b7db3Sskrll
44332a6b7db3Sskrll	* config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
44342a6b7db3Sskrll	if fx_pcrel is set.  Correct setting the addend case in the
44352a6b7db3Sskrll	OBJ_ELF case (from Andreas Schwab
44362a6b7db3Sskrll	<schwab@issan.informatik.uni-dortmund.de>).
44372a6b7db3Sskrll	(md_show_usage): Correct -mfc5200 to -m5200.
44382a6b7db3Sskrll
44392a6b7db3SskrllFri Jul  5 10:32:58 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
44402a6b7db3Sskrll
44412a6b7db3Sskrll	* doc/c-m68k.texi: Document -m5200 flag.
44422a6b7db3Sskrll	* doc/as.texinfo: Likewise.
44432a6b7db3Sskrll
44442a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
44452a6b7db3Sskrll	scale factor.
44462a6b7db3Sskrll
44472a6b7db3SskrllFri Jul  5 11:07:24 1996  Ian Lance Taylor  <ian@cygnus.com>
44482a6b7db3Sskrll
44492a6b7db3Sskrll	* symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
44502a6b7db3Sskrll	(S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise.
44512a6b7db3Sskrll
44522a6b7db3SskrllThu Jul  4 11:59:46 1996  Ian Lance Taylor  <ian@cygnus.com>
44532a6b7db3Sskrll
44542a6b7db3Sskrll	* Makefile.in (VERSION): Set to cygnus-2.7.1.
44552a6b7db3Sskrll
44562a6b7db3Sskrll	* Released binutils 2.7.
44572a6b7db3Sskrll
44582a6b7db3SskrllThu Jul  4 10:11:33 1996  James G. Smith  <jsmith@cygnus.co.uk>
44592a6b7db3Sskrll
44602a6b7db3Sskrll	* config/tc-mips.c (mips_ip): Only perform range check when
44612a6b7db3Sskrll	dealing with O_constant expressions.
44622a6b7db3Sskrll
44632a6b7db3SskrllWed Jul  3 15:02:21 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
44642a6b7db3Sskrll
44652a6b7db3Sskrll	* m68k-parse.h (m68k_register): Add new coldfile control
44662a6b7db3Sskrll	registers.
44672a6b7db3Sskrll
44682a6b7db3Sskrll	* config/tc-m68k.c (mcf5200_control_regs): New variable,
44692a6b7db3Sskrll	array of control registers for the coldfire.
44702a6b7db3Sskrll	(cpu_of_arch): Added mcf5200.
44712a6b7db3Sskrll	(archs): Added mcf5200.
44722a6b7db3Sskrll	(init_table): Add new control registers.
44732a6b7db3Sskrll	(m68k_ip): Added support for new control registers.
44742a6b7db3Sskrll	(m68k_init_after_args): Likewise.
44752a6b7db3Sskrll
44762a6b7db3Sskrll	* config/tc-m68k.c (md_show_usage): Add -m5200 to usage text.
44772a6b7db3Sskrll
44782a6b7db3SskrllWed Jul  3 16:05:50 1996  Ian Lance Taylor  <ian@cygnus.com>
44792a6b7db3Sskrll
44802a6b7db3Sskrll	* read.h (is_it_end_of_statement): Declare.
44812a6b7db3Sskrll	* read.c (is_it_end_of_statement): Remove declaration.
44822a6b7db3Sskrll
44832a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_suffix): Correct parenthesization of ||
44842a6b7db3Sskrll	within &&.
44852a6b7db3Sskrll	(md_assemble): Fix handling of @l with an unsigned constant.  Add
44862a6b7db3Sskrll	default case to reloc switch.
44872a6b7db3Sskrll
44882a6b7db3Sskrll	* config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD.
44892a6b7db3Sskrll
44902a6b7db3Sskrll	Based on patches from Tom Quiggle <quiggle@sgi.com>:
44912a6b7db3Sskrll	* ecoff.c (last_lineno): New static variable.
44922a6b7db3Sskrll	(add_procedure): Set last_lineno.
44932a6b7db3Sskrll	(ecoff_directive_loc): Likewise.
44942a6b7db3Sskrll	(ecoff_generate_asm_lineno): Likewise.
44952a6b7db3Sskrll	(ecoff_fix_loc): New function.
44962a6b7db3Sskrll	* ecoff.h (ecoff_fix_loc): Declare.
44972a6b7db3Sskrll	* config/tc-mips.c (append_insn): When inserting nops, and using
44982a6b7db3Sskrll	ECOFF debugging, call ecoff_fix_loc.
44992a6b7db3Sskrll
45002a6b7db3SskrllTue Jul  2 23:02:12 1996  Jeffrey A Law  (law@cygnus.com)
45012a6b7db3Sskrll
45022a6b7db3Sskrll	* config/tc-h8300.c (build_bytes): If an operand type is
45032a6b7db3Sskrll	marked as SRC_IN_DST retrieve it from the "destination" op.
45042a6b7db3Sskrll
45052a6b7db3SskrllSat Jun 29 13:38:31 1996  Ian Lance Taylor  <ian@cygnus.com>
45062a6b7db3Sskrll
45072a6b7db3Sskrll	* configure.in (arm-*-riscix*): Set emulation to riscix.
45082a6b7db3Sskrll	* configure: Rebuild.
45092a6b7db3Sskrll	* config/te-riscix.h: New file to define TE_RISCIX.
45102a6b7db3Sskrll
45112a6b7db3Sskrll	* config/tc-sh.h (SUB_SEGMENT_ALIGN): Define.
45122a6b7db3Sskrll
45132a6b7db3SskrllFri Jun 28 15:14:31 1996  Ian Lance Taylor  <ian@cygnus.com>
45142a6b7db3Sskrll
45152a6b7db3Sskrll	* Makefile.in (config.status): Just run config.status as other
45162a6b7db3Sskrll	tools do.
45172a6b7db3Sskrll
45182a6b7db3SskrllFri Jun 28 11:09:38 1996  Stan Shebs  <shebs@andros.cygnus.com>
45192a6b7db3Sskrll
45202a6b7db3Sskrll	* mpw-config.in (TARGET_OS): Add definition to conf.
45212a6b7db3Sskrll
45222a6b7db3SskrllThu Jun 27 20:39:40 1996  James G. Smith  <jsmith@cygnus.co.uk>
45232a6b7db3Sskrll
45242a6b7db3Sskrll	* config/tc-mips.c (append_insn): Parenthesize
45252a6b7db3Sskrll	cop_interlocks expressions.
45262a6b7db3Sskrll
45272a6b7db3SskrllThu Jun 27 12:18:26 1996  Ian Lance Taylor  <ian@cygnus.com>
45282a6b7db3Sskrll
45292a6b7db3Sskrll	* listing.c (listing_print): Close the listing file if it is not
45302a6b7db3Sskrll	stdout.  Close the other files opened for the listing.
45312a6b7db3Sskrll
45322a6b7db3Sskrll	* config/tc-sparc.h (md_cons_align): Define.
45332a6b7db3Sskrll	(sparc_cons_align): Declare.
45342a6b7db3Sskrll	(HANDLE_ALIGN): Define.
45352a6b7db3Sskrll	(sparc_handle_align): Declare.
45362a6b7db3Sskrll	* config/tc-sparc.c (sparc_cons_align): New function.
45372a6b7db3Sskrll	(sparc_handle_align): New function.
45382a6b7db3Sskrll	* read.c (cons_worker): Call md_cons_align if it is defined.
45392a6b7db3Sskrll
45402a6b7db3Sskrll	* as.h (struct frag): Add fr_file and fr_line fields.
45412a6b7db3Sskrll	* frags.c (frag_new): Set fr_file and fr_line.
45422a6b7db3Sskrll	(frag_var): Likewise.
45432a6b7db3Sskrll	(frag_variant): Likewise.
45442a6b7db3Sskrll
45452a6b7db3Sskrll	* as.h (struct frag): Remove unused align_mask and align_offset
45462a6b7db3Sskrll	fields.
45472a6b7db3Sskrll
45482a6b7db3Sskrll	* listing.c (calc_hex): Offset by fr_fix when examining fr_var.
45492a6b7db3Sskrll	From <uddeborg@carmen.se>.
45502a6b7db3Sskrll
45512a6b7db3SskrllWed Jun 26 13:21:34 1996  Ian Lance Taylor  <ian@cygnus.com>
45522a6b7db3Sskrll
45532a6b7db3Sskrll	* configure.in (mips-*-osf*): New target.
45542a6b7db3Sskrll	* configure: Rebuild.
45552a6b7db3Sskrll
45562a6b7db3Sskrll	* config/tc-m68k.c: Add 68ec060 as a synonym for 68060.
45572a6b7db3Sskrll
45582a6b7db3SskrllWed Jun 26 16:23:08 1996  James G. Smith  <jsmith@cygnus.co.uk>
45592a6b7db3Sskrll
45602a6b7db3Sskrll	* config/tc-mips.c: Added cop_interlocks, to avoid NOP insertion
45612a6b7db3Sskrll	between co-processor comparisons and branches for the VR4300.
45622a6b7db3Sskrll
45632a6b7db3SskrllMon Jun 24 18:02:50 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
45642a6b7db3Sskrll
45652a6b7db3Sskrll	* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
45662a6b7db3Sskrll	INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
45672a6b7db3Sskrll	(docdir): Removed.
45682a6b7db3Sskrll	* configure.in (AC_PREREQ): autoconf 2.5 or higher.
45692a6b7db3Sskrll	* doc/Makefile.in (bindir, libdir, datadir, mandir, infodir,
45702a6b7db3Sskrll	includedir): Use autoconf set values.
45712a6b7db3Sskrll	(docdir): Removed.
45722a6b7db3Sskrll
45732a6b7db3SskrllMon Jun 24 11:58:14 1996  Ian Lance Taylor  <ian@cygnus.com>
45742a6b7db3Sskrll
45752a6b7db3Sskrll	* listing.c (listing_eject): Don't do anything if listing is 0.
45762a6b7db3Sskrll	(listing_list): Likewise.
45772a6b7db3Sskrll	(listing_source_line): Likewise.
45782a6b7db3Sskrll	(listing_title): Don't save title if listing is 0.
45792a6b7db3Sskrll	(listing_source_file): Check listing rather than listing_tail.
45802a6b7db3Sskrll
45812a6b7db3Sskrll	* configure.in: On alpha*-*-osf*, link against libbfd.a if not
45822a6b7db3Sskrll	using shared libraries.
45832a6b7db3Sskrll	* configure: Rebuild.
45842a6b7db3Sskrll
45852a6b7db3SskrllFri Jun 21 18:22:23 1996  Ian Lance Taylor  <ian@cygnus.com>
45862a6b7db3Sskrll
45872a6b7db3Sskrll	* config/tc-mips.c (mips_ip): In case 'i'/'j', don't require an
45882a6b7db3Sskrll	absolute expression if a relocation type was specified.
45892a6b7db3Sskrll
45902a6b7db3SskrllFri Jun 21 17:40:16 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>
45912a6b7db3Sskrll
45922a6b7db3Sskrll	* configure.in: Add support for *-*-rtems* configurations.
45932a6b7db3Sskrll	* configure: Rebuild.
45942a6b7db3Sskrll
45952a6b7db3SskrllFri Jun 21 16:01:18 1996  Richard Henderson  <rth@tamu.edu>
45962a6b7db3Sskrll
45972a6b7db3Sskrll	* configure.in: Add alpha-*-linuxecoff* target.  Use elf for
45982a6b7db3Sskrll	alpha-*-linux* target.  Force bfd_gas for alpha-*.  Require
45992a6b7db3Sskrll	opcodes library for alpha.
46002a6b7db3Sskrll	* configure: Rebuild with autoconf 2.10.
46012a6b7db3Sskrll	* config/tc-alpha.c: Substantial rewrite to add ELF support and
46022a6b7db3Sskrll	use new opcode table.
46032a6b7db3Sskrll	* config/tc-alpha.h (md_undefined_symbol): Don't define.
46042a6b7db3Sskrll	(LOCAL_LABEL): Define differently if OBJ_ELF.
46052a6b7db3Sskrll	(FAKE_LABEL_NAME): Define if OBJ_ELF.
46062a6b7db3Sskrll	* config/alpha-opcode.h: Remove.
46072a6b7db3Sskrll	* config/obj-elf.h: If TC_ALPHA, define ECOFF_DEBUGGING.
46082a6b7db3Sskrll	* Makefile.in (TARG_CPU_DEP_alpha): Depend upon
46092a6b7db3Sskrll	include/opcode/alpha.h rather than config/alpha-opcode.h.
46102a6b7db3Sskrll
46112a6b7db3SskrllThu Jun 20 19:10:28 1996  Ian Lance Taylor  <ian@cygnus.com>
46122a6b7db3Sskrll
46132a6b7db3Sskrll	* config/obj-aout.c (obj_emit_relocations): Give an error if the
46142a6b7db3Sskrll	relocation symbol was not resolved.
46152a6b7db3Sskrll	* config/obj-coff.c (do_relocs_for): Likewise.
46162a6b7db3Sskrll
46172a6b7db3Sskrll	* write.c (adjust_reloc_syms): Refetch the symbol section after
46182a6b7db3Sskrll	calling S_GET_VALUE, since it may have changed.
46192a6b7db3Sskrll
46202a6b7db3Sskrll	* expr.c (struct expr_symbol_line): Define.
46212a6b7db3Sskrll	(expr_symbol_lines): New static variable.
46222a6b7db3Sskrll	(make_expr_symbol): Add entry to expr_symbol_lines.
46232a6b7db3Sskrll	(expr_symbol_where): New function.
46242a6b7db3Sskrll	* expr.h: Use extern on function declarations.
46252a6b7db3Sskrll	(expr_symbol_where): Declare.
46262a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Try to use expr_symbol_where
46272a6b7db3Sskrll	rather than printing the meaningless name of an expression
46282a6b7db3Sskrll	symbol.
46292a6b7db3Sskrll
46302a6b7db3SskrllThu Jun 20 15:57:41 1996  Ken Raeburn  <raeburn@cygnus.com>
46312a6b7db3Sskrll
46322a6b7db3Sskrll	* config/tc-i386.c (md_number_to_chars): Deleted.
46332a6b7db3Sskrll	* config/tc-i386.h (md_number_to_chars): New macro.
46342a6b7db3Sskrll
46352a6b7db3Sskrll	* config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in
46362a6b7db3Sskrll	the file.
46372a6b7db3Sskrll	(load_symbol_address, load_expression): Use build_mem.
46382a6b7db3Sskrll	(build_operate): New function.
46392a6b7db3Sskrll	(emit_addq_r): Use it.
46402a6b7db3Sskrll
46412a6b7db3Sskrll	Wed Mar 13 22:14:14 1996  Pat Rankin  <rankin@eql.caltech.edu>
46422a6b7db3Sskrll
46432a6b7db3Sskrll	* symbols.c (colon):  #if VMS, use S_SET_OTHER to store `const_flag'.
46442a6b7db3Sskrll
46452a6b7db3Sskrll	Tue Mar  5 14:31:45 1996  Pat Rankin  <rankin@eql.caltech.edu>
46462a6b7db3Sskrll
46472a6b7db3Sskrll	* config/tc-vax.h (NOP_OPCODE): Define.
46482a6b7db3Sskrll
46492a6b7db3Sskrll	Sun Feb  4 21:01:03 1996  Pat Rankin  <rankin@eql.caltech.edu>
46502a6b7db3Sskrll
46512a6b7db3Sskrll	* config/obj-vms.h (S_IS_COMMON): Define.
46522a6b7db3Sskrll	(S_IS_LOCAL): Check for \002 as well as \001.
46532a6b7db3Sskrll	(LONGWORD_ALIGNMENT): New macro.
46542a6b7db3Sskrll	(SUB_SEGMENT_ALIGN): Use it.
46552a6b7db3Sskrll
46562a6b7db3Sskrll	Fri Jan 26 17:44:09 1996  Pat Rankin  <rankin@eql.caltech.edu>
46572a6b7db3Sskrll
46582a6b7db3Sskrll	* config/vms-conf.h: Reconcile with conf.in.
46592a6b7db3Sskrll
46602a6b7db3SskrllWed Jun 19 11:31:50 1996  Ian Lance Taylor  <ian@cygnus.com>
46612a6b7db3Sskrll
46622a6b7db3Sskrll	* write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
46632a6b7db3Sskrll	defined.
46642a6b7db3Sskrll
46652a6b7db3Sskrll	* doc/as.texinfo: Document that any number of hex digits can
46662a6b7db3Sskrll	follow \x.
46672a6b7db3Sskrll
46682a6b7db3Sskrll	* as.c (struct defsym_list): Define.
46692a6b7db3Sskrll	(defsyms): New static variable.
46702a6b7db3Sskrll	(parse_args): Just put --defsym arguments on defsyms list, rather
46712a6b7db3Sskrll	than defining them.
46722a6b7db3Sskrll	(main): Define defsyms after output file is created.
46732a6b7db3Sskrll
46742a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
46752a6b7db3Sskrll	cpu32.  From Eric Norum <Eric.Norum@usask.ca>.
46762a6b7db3Sskrll
46772a6b7db3Sskrll	* config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
46782a6b7db3Sskrll	insn_error rather than calling check_absolute_expr.
46792a6b7db3Sskrll
46802a6b7db3Sskrll	* as.c (emulation_name): Remove unused static variable.
46812a6b7db3Sskrll	(default_emul_bfd_name): Add return NULL to avoid warning.
46822a6b7db3Sskrll	* ecoff.c (ecoff_stab): Remove unused variables name and
46832a6b7db3Sskrll	name_end.
46842a6b7db3Sskrll	* frags.c (frag_new): Remove unused variable tmp.
46852a6b7db3Sskrll	* hash.c (hash_grow): Parenthesize + within <<.
46862a6b7db3Sskrll	(hash_print_statistics): Use %lu, not %d, to print unsigned
46872a6b7db3Sskrll	long variables.
46882a6b7db3Sskrll	* messages.c: Include "libiberty.h".
46892a6b7db3Sskrll	(fprint_value): Add cast to avoid printf warning.
46902a6b7db3Sskrll	(sprint_value): Likewise.
46912a6b7db3Sskrll	* read.c: Include "ecoff.h".
46922a6b7db3Sskrll	(emit_expr): Add casts to avoid printf warnings.
46932a6b7db3Sskrll	* read.h: Use extern for function declarations.
46942a6b7db3Sskrll	(pop_insert): Declare.
46952a6b7db3Sskrll	* stabs.c: Include "ecoff.h".
46962a6b7db3Sskrll	* subsegs.c (subseg_set_rest): Remove unused variables tmp,
46972a6b7db3Sskrll	former_last_fragP, and new_fragP.
46982a6b7db3Sskrll	* subsegs.h (subsegs_print_statistics): Declare.
46992a6b7db3Sskrll	* symbols.c (debug_verify_symchain): Change macro to discard
47002a6b7db3Sskrll	arguments.
47012a6b7db3Sskrll	* write.c (dump_section_relocs): Likewise.
47022a6b7db3Sskrll	* write.h: Use extern for function declarations.
47032a6b7db3Sskrll	(write_print_statistics): Declare.
47042a6b7db3Sskrll	* config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
47052a6b7db3Sskrll	warning.
47062a6b7db3Sskrll	* config/e-mipself.c (mipself_bfd_name): Likewise.
47072a6b7db3Sskrll	* config/obj-elf.h (elf_ecoff_set_ext): Declare.
47082a6b7db3Sskrll
47092a6b7db3Sskrll	* config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
47102a6b7db3Sskrll	emit relocations against external symbols.
47112a6b7db3Sskrll
47122a6b7db3Sskrll	* config/tc-alpha.c (tc_gen_reloc): Output a sensible error
47132a6b7db3Sskrll	message if bfd_reloc_type_lookup fails, rather than calling
47142a6b7db3Sskrll	assert.
47152a6b7db3Sskrll
47162a6b7db3Sskrll	* config/tc-alpha.c (alpha_force_relocation): Add
47172a6b7db3Sskrll	BFD_RELOC_12_PCREL to switch.
47182a6b7db3Sskrll
47192a6b7db3SskrllTue Jun 18 20:29:57 1996  Doug Evans  <dje@canuck.cygnus.com>
47202a6b7db3Sskrll
47212a6b7db3Sskrll	* config/tc-i386.h (LOCAL_LABEL,FAKE_LABEL_NAME): Use defaults for
47222a6b7db3Sskrll	TE_PE (Lfoo, not .Lfoo).
47232a6b7db3Sskrll
47242a6b7db3SskrllTue Jun 18 17:13:33 1996  Ian Lance Taylor  <ian@cygnus.com>
47252a6b7db3Sskrll
47262a6b7db3Sskrll	* read.c (s_fill): Don't warn about a zero repeat count.
47272a6b7db3Sskrll
47282a6b7db3Sskrll	* config/tc-mips.c (mips_ip): Don't warn about using AT as a
47292a6b7db3Sskrll	coprocessor register.
47302a6b7db3Sskrll
47312a6b7db3Sskrll	* config/tc-i386.c (md_assemble): When checking the size of a
47322a6b7db3Sskrll	register to set the size of an instruction, do a bitwise and with
47332a6b7db3Sskrll	Reg8 and Reg16 rather than requiring the type to be exactly Reg8
47342a6b7db3Sskrll	or Reg16.
47352a6b7db3Sskrll
47362a6b7db3SskrllTue Jun 18 13:19:51 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
47372a6b7db3Sskrll
47382a6b7db3Sskrll	* config/tc-h8300.c (parse_reg): Tweak error messages.
47392a6b7db3Sskrll	(build_bytes): Likewise.
47402a6b7db3Sskrll	(skip_colonthing): Handle :32 suffix.
47412a6b7db3Sskrll	(get_specific): Promote L_24 to L_32 if it makes a match.
47422a6b7db3Sskrll	Don't always promote L_8 to L_16.
47432a6b7db3Sskrll	(do_a_fix_imm): Clean up L_32 and L_24 handling.
47442a6b7db3Sskrll
47452a6b7db3Sskrll	* config/tc-h8300.c (Smode): New variable.
47462a6b7db3Sskrll	(h8300hmode): Turn off Hmode.
47472a6b7db3Sskrll	(h8300smode): New function.  Turn on Smode and Hmode.
47482a6b7db3Sskrll	(md_pseudo_table): New ".h8300s" pseudo-op.
47492a6b7db3Sskrll	(parse_reg): Handle "exr" register.
47502a6b7db3Sskrll	(get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
47512a6b7db3Sskrll	Handle "mach" and "machl" operands for ldmac.
47522a6b7db3Sskrll	(get_specific): Handle "stm.l" and "ldm.l".
47532a6b7db3Sskrll	(build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
47542a6b7db3Sskrll	* config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
47552a6b7db3Sskrll	(Smode): Declare.
47562a6b7db3Sskrll
47572a6b7db3SskrllMon Jun 17 15:50:53 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
47582a6b7db3Sskrll
47592a6b7db3Sskrll	* doc/as.texinfo: Reorder chapter of machine dependent options so
47602a6b7db3Sskrll	that it is sorted by chip name.
47612a6b7db3Sskrll
47622a6b7db3Sskrll	* doc/as.texinfo: Use consistant spelling of Vax.
47632a6b7db3Sskrll	* doc/c-vax.texi: Likewise.
47642a6b7db3Sskrll
47652a6b7db3SskrllMon Jun 17 11:26:56 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
47662a6b7db3Sskrll
47672a6b7db3Sskrll	* config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try"
47682a6b7db3Sskrll	pseudo ops.
47692a6b7db3Sskrll	(tc_gen_reloc, SOM version): Handle R_BEGIN_TRY and R_END_TRY.
47702a6b7db3Sskrll	(md_apply_fix): Likewise.
47712a6b7db3Sskrll	(pa_try): New function.
47722a6b7db3Sskrll	(hppa_force_relocation): Force relocs for BEGIN_TRY and END_TRY.
47732a6b7db3Sskrll
47742a6b7db3SskrllSun Jun 16 22:57:47 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
47752a6b7db3Sskrll
47762a6b7db3Sskrll	* config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op.
47772a6b7db3Sskrll	(pa_level): New function.
47782a6b7db3Sskrll
47792a6b7db3SskrllFri Jun 14 20:06:44 1996  Ian Lance Taylor  <ian@cygnus.com>
47802a6b7db3Sskrll
47812a6b7db3Sskrll	* listing.c (listing_newline): Don't do anything if listing is 0.
47822a6b7db3Sskrll
47832a6b7db3SskrllThu Jun 13 17:50:54 1996  Ian Lance Taylor  <ian@cygnus.com>
47842a6b7db3Sskrll
47852a6b7db3Sskrll	* subsegs.c (section_symbol): If symbol_table_frozen is set, call
47862a6b7db3Sskrll	symbol_create, not symbol_new.
47872a6b7db3Sskrll
47882a6b7db3SskrllWed Jun 12 14:10:44 1996  Ian Lance Taylor  <ian@cygnus.com>
47892a6b7db3Sskrll
47902a6b7db3Sskrll	* write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an
47912a6b7db3Sskrll	absolute symbol unless TC_FORCE_RELOCATION returns true.
47922a6b7db3Sskrll
47932a6b7db3Sskrll	* config/obj-coff.c (previous_file_symbol): Remove BFD_ASSEMBLER
47942a6b7db3Sskrll	version.
47952a6b7db3Sskrll	(c_dot_file_symbol): BFD_ASSEMBLER version: Don't set the value of
47962a6b7db3Sskrll	the symbol to a pointer.  Don't set previous_file_symbol.
47972a6b7db3Sskrll	Simplify symbol list rearrangement.
47982a6b7db3Sskrll	(coff_frob_symbol): Don't do anything with C_FILE symbols.
47992a6b7db3Sskrll	(coff_adjust_symtab): Don't check previous_file_symbol.
48002a6b7db3Sskrll
48012a6b7db3SskrllMon Jun 10 14:52:29 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
48022a6b7db3Sskrll
48032a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_lcomm): New function for .lcomm
48042a6b7db3Sskrll	directive.
48052a6b7db3Sskrll	(md_pseudo_table): Add ppc_elf_lcomm.
48062a6b7db3Sskrll
48072a6b7db3SskrllMon Jun 10 11:45:51 1996  Ian Lance Taylor  <ian@cygnus.com>
48082a6b7db3Sskrll
48092a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
48102a6b7db3Sskrll	d0{24:1},d0' works without an immediate prefix on the bit numbers.
48112a6b7db3Sskrll	(md_begin): Add digits to alt_notend_table.
48122a6b7db3Sskrll	(md_parse_option): Make s a const pointer.
48132a6b7db3Sskrll
48142a6b7db3Sskrll	* config/tc-sparc.c (md_pseudo_table): Add "empty".
48152a6b7db3Sskrll	(s_empty): New static function.
48162a6b7db3Sskrll
48172a6b7db3Sskrll	* config/obj-coff.c (struct filename_list): Only define if not
48182a6b7db3Sskrll	BFD_ASSEMBLER.
48192a6b7db3Sskrll	(filename_list_head, filename_list_tail): Likewise.
48202a6b7db3Sskrll	(c_section_symbol): Remove unused BFD_ASSEMBLER version.
48212a6b7db3Sskrll	(obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging
48222a6b7db3Sskrll	flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should
48232a6b7db3Sskrll	have a section of N_ABS rather than N_DEBUG.  If we do a merge,
48242a6b7db3Sskrll	remove the new symbol from the list.
48252a6b7db3Sskrll	(obj_coff_endef, both versions): Call tag_insert even if there is
48262a6b7db3Sskrll	an old symbol with the same name, if the old symbol does not
48272a6b7db3Sskrll	happen to be a tag.
48282a6b7db3Sskrll	(coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of
48292a6b7db3Sskrll	the SF_GET_DEBUG condition.  Don't call SA_SET_SYM_ENDNDX with a
48302a6b7db3Sskrll	symbol that will be moved to the end of the symbol list.
48312a6b7db3Sskrll	(coff_adjust_section_syms): Always call section_symbol for .text,
48322a6b7db3Sskrll	.data, and .bss.
48332a6b7db3Sskrll	(coff_frob_section): Likewise.  Also, remove unused variable
48342a6b7db3Sskrll	strname.
48352a6b7db3Sskrll
48362a6b7db3Sskrll	* config/tc-ns32k.c (convert_iif): Call frag_grow rather than
48372a6b7db3Sskrll	manipulating frags directly.
48382a6b7db3Sskrll	(md_number_to_field): Adjust mem_ptr correctly if ENDIAN is
48392a6b7db3Sskrll	defined.
48402a6b7db3Sskrll
48412a6b7db3Sskrll	* app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
48422a6b7db3Sskrll	whether the next character is '*' before checking whether we are
48432a6b7db3Sskrll	at the start of a line.  Permit LINE_COMMENT_START to start a
48442a6b7db3Sskrll	comment in state 1 (seen some whitespace) as well, to match the
48452a6b7db3Sskrll	documentation.
48462a6b7db3Sskrll
48472a6b7db3Sskrll	* gasp.c (do_align): Permit a fill value for .align.
48482a6b7db3Sskrll
48492a6b7db3SskrllWed Jun  5 17:09:26 1996  Ian Lance Taylor  <ian@cygnus.com>
48502a6b7db3Sskrll
48512a6b7db3Sskrll	* read.c (next_char_of_string): Warn if a newline is seen in the
48522a6b7db3Sskrll	middle of a string.  Call bump_line_counters when appropriate.
48532a6b7db3Sskrll
48542a6b7db3SskrllWed Jun  5 17:08:36 1996  Richard Henderson  <rth@tamu.edu>
48552a6b7db3Sskrll
48562a6b7db3Sskrll	* symbols.c (colon): Use LOCAL_LABEL.
48572a6b7db3Sskrll
48582a6b7db3SskrllTue Jun  4 10:55:16 1996  Tom Tromey  <tromey@csk3.cygnus.com>
48592a6b7db3Sskrll
48602a6b7db3Sskrll	* Makefile.in (install): Don't check to see if tooldir exists.
48612a6b7db3Sskrll	Make $(tooldir) and $(tooldir)/bin.
48622a6b7db3Sskrll
48632a6b7db3SskrllTue Jun  4 10:14:53 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
48642a6b7db3Sskrll
48652a6b7db3Sskrll	* config/ppc-sol.mt (TDEFINES): Don't turn on -mregnames by
48662a6b7db3Sskrll	default.
48672a6b7db3Sskrll
48682a6b7db3SskrllMon Jun  3 11:34:41 1996  Ian Lance Taylor  <ian@cygnus.com>
48692a6b7db3Sskrll
48702a6b7db3Sskrll	* config/tc-mips.c (mips_ip): Don't call as_warn if we are setting
48712a6b7db3Sskrll	insn_error.  Don't put the string "ERROR" in insn_error.  Set
48722a6b7db3Sskrll	insn_error rather than calling as_warn for an unsupported opcode.
48732a6b7db3Sskrll
48742a6b7db3SskrllSat Jun  1 21:51:55 1996  Ian Lance Taylor  <ian@cygnus.com>
48752a6b7db3Sskrll
48762a6b7db3Sskrll	* config/tc-mips.c (md_parse_option): Check for a 64 bit format
48772a6b7db3Sskrll	before permitting -64.
48782a6b7db3Sskrll	* output-file.c (output_file_create): Remove duplicate
48792a6b7db3Sskrll	bfd_perror.
48802a6b7db3Sskrll
48812a6b7db3SskrllFri May 31 01:08:06 1996  Ian Lance Taylor  <ian@cygnus.com>
48822a6b7db3Sskrll
48832a6b7db3Sskrll	* config/tc-mips.c (md_begin): If -64, create a .MIPS.options
48842a6b7db3Sskrll	section rather than a .reginfo section.
48852a6b7db3Sskrll	(mips_elf_final_processing): If -64, write out 64 bit RegInfo
48862a6b7db3Sskrll	information.
48872a6b7db3Sskrll
48882a6b7db3Sskrll	* config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
48892a6b7db3Sskrll	bit value with the high bit set.
48902a6b7db3Sskrll
48912a6b7db3SskrllThu May 30 19:00:19 1996  Ian Lance Taylor  <ian@cygnus.com>
48922a6b7db3Sskrll
48932a6b7db3Sskrll	* read.c (s_lcomm): Set section flags for .sbss section.
48942a6b7db3Sskrll
48952a6b7db3Sskrll	* config/tc-mips.c (mips_64): New static variable.
48962a6b7db3Sskrll	(mips_target_format): If mips_64, return elf64 targets rather than
48972a6b7db3Sskrll	elf32 ones.
48982a6b7db3Sskrll	(md_longopts): Add "32" and "64".
48992a6b7db3Sskrll	(md_parse_option): Handle -32 and -64.
49002a6b7db3Sskrll	(md_show_usage): Mention -32 and -64.
49012a6b7db3Sskrll	(cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to
49022a6b7db3Sskrll	a 4 byte one.
49032a6b7db3Sskrll
49042a6b7db3SskrllThu May 30 10:36:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
49052a6b7db3Sskrll
49062a6b7db3Sskrll	* config/tc-ppc.c (comment_chars): Make '!' a comment character
49072a6b7db3Sskrll	for Solaris compatibility.
49082a6b7db3Sskrll
49092a6b7db3Sskrll	* stabs.c (s_stab_generic): Under PowerPC Solaris, convert a
49102a6b7db3Sskrll	.stabd with 4 arguments into a .stabn.
49112a6b7db3Sskrll
49122a6b7db3SskrllWed May 29 16:43:16 1996  Ian Lance Taylor  <ian@cygnus.com>
49132a6b7db3Sskrll
49142a6b7db3Sskrll	* config/tc-mips.c (macro): When passing X_add_number to
49152a6b7db3Sskrll	macro_build, cast it to int first.
49162a6b7db3Sskrll
49172a6b7db3SskrllTue May 28 13:29:39 1996  Ian Lance Taylor  <ian@cygnus.com>
49182a6b7db3Sskrll
49192a6b7db3Sskrll	* config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as
49202a6b7db3Sskrll	created by emit_expr.
49212a6b7db3Sskrll
49222a6b7db3Sskrll	* symbols.c (symbol_create): If bfd_make_empty_symbol fails, call
49232a6b7db3Sskrll	as_perror rather than assert.
49242a6b7db3Sskrll
49252a6b7db3SskrllFri May 24 18:24:11 1996  Ian Lance Taylor  <ian@cygnus.com>
49262a6b7db3Sskrll
49272a6b7db3Sskrll	* config/tc-mips.c (mips_ip): Mark sections created to hold
49282a6b7db3Sskrll	floating point information as read only.
49292a6b7db3Sskrll
49302a6b7db3SskrllFri May 24 12:07:54 1996  David Edelsohn  <edelsohn@mhpcc.edu>
49312a6b7db3Sskrll
49322a6b7db3Sskrll	* config/tc-ppc.c (ppc_set_cpu): Change defaults to match AIX.
49332a6b7db3Sskrll
49342a6b7db3SskrllThu May 23 17:34:24 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
49352a6b7db3Sskrll
49362a6b7db3Sskrll	* read.c (potable): Add .skip as a synonym for .space.
49372a6b7db3Sskrll
49382a6b7db3Sskrll	* stabs.c (s_stab_generic): For PowerPC ELF, allow .stabd to take
49392a6b7db3Sskrll	4 arguments, providing the 4th argument is 0, to allow
49402a6b7db3Sskrll	compatibility with the Solaris assembler.
49412a6b7db3Sskrll
49422a6b7db3SskrllThu May 16 15:51:48 1996  Ian Lance Taylor  <ian@cygnus.com>
49432a6b7db3Sskrll
49442a6b7db3Sskrll	* config/tc-sh.h (struct sh_segment_info_type): Define.
49452a6b7db3Sskrll	(TC_SEGMENT_INFO_TYPE): Define.
49462a6b7db3Sskrll	(sh_frob_label): Declare.
49472a6b7db3Sskrll	(tc_frob_label): Define.
49482a6b7db3Sskrll	(sh_flush_pending_output): Declare.
49492a6b7db3Sskrll	(md_flush_pending_output): Define.
49502a6b7db3Sskrll	* config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE
49512a6b7db3Sskrll	reloc before the instruction if necessary.
49522a6b7db3Sskrll	(sh_frob_label): New function.
49532a6b7db3Sskrll	(sh_flush_pending_output): New function.
49542a6b7db3Sskrll	(sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs
49552a6b7db3Sskrll	when looking for the reloc for the target of .uses.
49562a6b7db3Sskrll	(md_convert_frag): Fix printf format (%0xlx to 0x%lx).
49572a6b7db3Sskrll	(sh_force_relocation): Force CODE, DATA, and LABEL relocs to be
49582a6b7db3Sskrll	emitted.
49592a6b7db3Sskrll	(md_apply_fix): Ignore CODE, DATA, and LABEL relocs.
49602a6b7db3Sskrll	(sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use
49612a6b7db3Sskrll	the absolute symbol.
49622a6b7db3Sskrll
49632a6b7db3Sskrll	* subsegs.h (segment_info_type): Add tc_segment_info_data field if
49642a6b7db3Sskrll	TC_SEGMENT_INFO_TYPE is defined.
49652a6b7db3Sskrll
49662a6b7db3SskrllWed May 15 12:23:53 1996  Ian Lance Taylor  <ian@cygnus.com>
49672a6b7db3Sskrll
49682a6b7db3Sskrll	* config/tc-i386.c (md_assemble): Make sure the opcode suffix
49692a6b7db3Sskrll	matches the register size.
49702a6b7db3Sskrll
49712a6b7db3SskrllWed May 15 08:33:37 1996  Jeffrey A Law  (law@cygnus.com)
49722a6b7db3Sskrll
49732a6b7db3Sskrll	* config/obj-coff.c (count_entries_in_chain): Ignore Fixups with
49742a6b7db3Sskrll	fx_done set.
49752a6b7db3Sskrll	(do_relocs_for): Likewise.
49762a6b7db3Sskrll	(fixup_segment): Don't just quit if linkrelax is set.  Try to
49772a6b7db3Sskrll	apply non pc-relative sym1-sym2 fixups, even if linkrelax is
49782a6b7db3Sskrll	nonzero.
49792a6b7db3Sskrll
49802a6b7db3SskrllFri May 10 14:16:59 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
49812a6b7db3Sskrll
49822a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_validate_fix): Allow GOT and section
49832a6b7db3Sskrll	relative relocations with -mrelocatable.  Also allow unfixed
49842a6b7db3Sskrll	relocs in .ex_shared.
49852a6b7db3Sskrll
49862a6b7db3SskrllTue May  7 11:24:10 1996  Ian Lance Taylor  <ian@cygnus.com>
49872a6b7db3Sskrll
49882a6b7db3Sskrll	* config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET is
49892a6b7db3Sskrll	non-zero before assuming this is a long file name.
49902a6b7db3Sskrll	(w_strings): Likewise.
49912a6b7db3Sskrll	(c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name.
49922a6b7db3Sskrll
49932a6b7db3Sskrll	* config/obj-coff.c (w_strings): Move declaration of i inside
49942a6b7db3Sskrll	#ifdef block which uses it.
49952a6b7db3Sskrll
49962a6b7db3SskrllTue May  7 00:49:58 1996  Jeffrey A Law  (law@cygnus.com)
49972a6b7db3Sskrll
49982a6b7db3Sskrll	* config/tc-h8300.c (do_a_fix_imm): Rename last argument to
49992a6b7db3Sskrll	"relaxmode".  Output relocs which identify various relaxing
50002a6b7db3Sskrll	possibilities for mov.[bwl] instructions.
50012a6b7db3Sskrll	(build_bytes): Pass in a relaxing mode to do_a_fix_imm.
50022a6b7db3Sskrll
50032a6b7db3SskrllMon May  6 15:26:28 1996  Doug Evans  <dje@canuck.cygnus.com>
50042a6b7db3Sskrll
50052a6b7db3Sskrll	* config/tc-arm.h (TC_HANDLES_FX_DONE): Define.
50062a6b7db3Sskrll	(MD_APPLY_FIX3): Define.
50072a6b7db3Sskrll	* config/tc-arm.c (my_get_expression): Only watch for bad segments
50082a6b7db3Sskrll	if OBJ_AOUT.
50092a6b7db3Sskrll	(md_apply_fix3): Renamed from md_apply_fix.
50102a6b7db3Sskrll	If pcrel reloc and symbol is in different section, undo effects
50112a6b7db3Sskrll	of md_pcrel_from.
50122a6b7db3Sskrll
50132a6b7db3SskrllSat May  4 12:49:35 1996  Jeffrey A Law  (law@cygnus.com)
50142a6b7db3Sskrll
50152a6b7db3Sskrll	* config/tc-hppa.c (hppa_fix_adjustable): Don't adjust
50162a6b7db3Sskrll	any reloc with an LR% or RR% field selector for SOM.
50172a6b7db3Sskrll
50182a6b7db3SskrllSat May  4 11:26:19 1996  Ian Lance Taylor  <ian@cygnus.com>
50192a6b7db3Sskrll
50202a6b7db3Sskrll	* Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_*
50212a6b7db3Sskrll	variables.
50222a6b7db3Sskrll
50232a6b7db3SskrllFri May  3 17:58:31 1996  Ian Lance Taylor  <ian@cygnus.com>
50242a6b7db3Sskrll
50252a6b7db3Sskrll	* config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
50262a6b7db3Sskrll	SF_GET_STATICS set.
50272a6b7db3Sskrll	(yank_symbols): Likewise.
50282a6b7db3Sskrll
50292a6b7db3SskrllWed May  1 13:38:17 1996  Ian Lance Taylor  <ian@cygnus.com>
50302a6b7db3Sskrll
50312a6b7db3Sskrll	* subsegs.h (segment_info_type): If MANY_SEGMENTS and not
50322a6b7db3Sskrll	BFD_ASSEMBLER, add name field.
50332a6b7db3Sskrll	* config/obj-coff.c: Include "libiberty.h".
50342a6b7db3Sskrll	(coff_header_append): Handle long section names.
50352a6b7db3Sskrll	(crawl_symbols): Just use the name field for the symbol name,
50362a6b7db3Sskrll	without worrying about null byte termination.
50372a6b7db3Sskrll	(w_strings): Handle long section names.
50382a6b7db3Sskrll	(write_object_file): Likewise.  Also, use the name field, rather
50392a6b7db3Sskrll	than scnhdr.s_name.
50402a6b7db3Sskrll	(obj_coff_add_segment): Permit long section names.
50412a6b7db3Sskrll	(obj_coff_init_stab_section): Use the name field, rather than
50422a6b7db3Sskrll	scnhdr.s_name.
50432a6b7db3Sskrll	(adjust_stab_section): Likewise.
50442a6b7db3Sskrll	* config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
50452a6b7db3Sskrll
50462a6b7db3Sskrll	* config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.
50472a6b7db3Sskrll	(mem_fmt): Likewise.
50482a6b7db3Sskrll	(md_apply_fix): Don't check fx_im_disp field.
50492a6b7db3Sskrll
50502a6b7db3SskrllThu Apr 25 11:39:51 1996  Ian Lance Taylor  <ian@cygnus.com>
50512a6b7db3Sskrll
50522a6b7db3Sskrll	* configure.in: Add * after sparc*-*-vxworks.
50532a6b7db3Sskrll	* configure: Rebuild.
50542a6b7db3Sskrll
50552a6b7db3Sskrll	* app.c (do_scrub_begin): If tc_comment_chars is not defined,
50562a6b7db3Sskrll	define it to comment_chars.  Use tc_comment_chars rather than
50572a6b7db3Sskrll	comment_chars.
50582a6b7db3Sskrll	(do_scrub_chars): Use tc_comment_chars rather than comment_chars.
50592a6b7db3Sskrll	* config/tc-m68k.h (tc_comment_chars): Define.
50602a6b7db3Sskrll	(m68k_comment_chars): Declare.
50612a6b7db3Sskrll	* config/tc-m68k.c (m68k_comment_chars): Rename from
50622a6b7db3Sskrll	comment_chars.  Change into a pointer rather than an array.
50632a6b7db3Sskrll	(md_longopts): Add "bitwise-or".
50642a6b7db3Sskrll	(md_parse_option): Handle OPTION_BITWISE_OR.
50652a6b7db3Sskrll	(md_show_usage): Mention --bitwise-or.
50662a6b7db3Sskrll	* doc/c-m68k.texi: Document --bitwise-or.
50672a6b7db3Sskrll
50682a6b7db3SskrllWed Apr 24 11:28:38 1996  Ian Lance Taylor  <ian@cygnus.com>
50692a6b7db3Sskrll
50702a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets
50712a6b7db3Sskrll	in 68000 mode.
50722a6b7db3Sskrll
50732a6b7db3Sskrll	* config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
50742a6b7db3Sskrll	call demand_empty_rest_of_line.  Non BFD_ASSEMBLER version:
50752a6b7db3Sskrll	correct handling of input line pointer, and call
50762a6b7db3Sskrll	demand_empty_rest_of_line.
50772a6b7db3Sskrll
50782a6b7db3SskrllMon Apr 22 18:02:37 1996  Doug Evans  <dje@blues.cygnus.com>
50792a6b7db3Sskrll
50802a6b7db3Sskrll	* config/tc-sparc.c (in_bitfield_range): New static function.
50812a6b7db3Sskrll	(sparc_ip): New cases X,Y.  Use SPARC_OPCODE_ARCH_V9_P.
50822a6b7db3Sskrll	(md_apply_fix, cases BFD_RELOC_32_PCREL_S2,
50832a6b7db3Sskrll	BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code.
50842a6b7db3Sskrll	(md_apply_fix): New cases BFD_RELOC_SPARC_[56].
50852a6b7db3Sskrll	(tc_gen_reloc): New cases BFD_RELOC_SPARC_[56].
50862a6b7db3Sskrll
50872a6b7db3SskrllThu Apr 18 18:58:33 1996  Ian Lance Taylor  <ian@cygnus.com>
50882a6b7db3Sskrll
50892a6b7db3Sskrll	* config/obj-coff.c: BFD_ASSEMBLER:
50902a6b7db3Sskrll	(coff_last_bf): New static variable.
50912a6b7db3Sskrll	(coff_frob_symbol): Set endndx of a .bf symbol.
50922a6b7db3Sskrll	Non BFD_ASSEMBLER:
50932a6b7db3Sskrll	(obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol.
50942a6b7db3Sskrll	(last_bfP): New static variable.
50952a6b7db3Sskrll	(yank_symbols): Set endndx of a .bf symbol.
50962a6b7db3Sskrll
50972a6b7db3SskrllThu Apr 18 11:53:58 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
50982a6b7db3Sskrll
50992a6b7db3Sskrll	* config/tc-ppc.c (md_parse_option): Add support for Solaris's -le
51002a6b7db3Sskrll	and -s options.  Add -be for good measure.
51012a6b7db3Sskrll
51022a6b7db3SskrllWed Apr 17 12:31:01 1996  Ian Lance Taylor  <ian@cygnus.com>
51032a6b7db3Sskrll
51042a6b7db3Sskrll	* read.c (s_space): Support non-constant fill value.  Handle fill
51052a6b7db3Sskrll	value correctly for a size other than 1.
51062a6b7db3Sskrll
51072a6b7db3SskrllTue Apr 16 15:17:40 1996  Doug Evans  <dje@canuck.cygnus.com>
51082a6b7db3Sskrll
51092a6b7db3Sskrll	* config/tc-arm.c (my_get_float_expression): Update call to
51102a6b7db3Sskrll	gen_to_words, X_PRECISION changed from 6 to 5.
51112a6b7db3Sskrll
51122a6b7db3SskrllTue Apr 16 10:25:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
51132a6b7db3Sskrll
51142a6b7db3Sskrll	* config/tc-ppc.c (register_name,reg_name_search): Move register
51152a6b7db3Sskrll	name lookup from PE specific code to all targets.  Add support for
51162a6b7db3Sskrll	-mregnames/-mno-regnames to control whether register names are
51172a6b7db3Sskrll	expanded or not.
51182a6b7db3Sskrll	(md_assemble): Call register_name for all platforms.
51192a6b7db3Sskrll	(md_parse_option): Add support for -mregnames/-mno-regnames.
51202a6b7db3Sskrll
51212a6b7db3Sskrll	* configure.in (powerpcle*-*-solaris): Add support.
51222a6b7db3Sskrll	(powerpc*-*-linux): Ditto.
51232a6b7db3Sskrll	* configure: Regenerate.
51242a6b7db3Sskrll
51252a6b7db3Sskrll	* config/ppc-sol.mt: New config file for PowerPC Solaris.
51262a6b7db3Sskrll
51272a6b7db3SskrllMon Apr 15 12:26:33 1996  Ian Lance Taylor  <ian@cygnus.com>
51282a6b7db3Sskrll
51292a6b7db3Sskrll	* config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to
51302a6b7db3Sskrll	be associated with a single %lo reloc.
51312a6b7db3Sskrll
51322a6b7db3Sskrll	* config/tc-mips.c (load_address): Cast X_add_number to valueT
51332a6b7db3Sskrll	before comparing against MAX_GPREL_OFFSET, so that negative
51342a6b7db3Sskrll	numbers are handled correctly.
51352a6b7db3Sskrll	(macro): Likewise.
51362a6b7db3Sskrll
51372a6b7db3SskrllThu Apr 11 12:39:02 1996  Ian Lance Taylor  <ian@cygnus.com>
51382a6b7db3Sskrll
51392a6b7db3Sskrll	* config/tc-sparc.c (last_insn): New static variable.
51402a6b7db3Sskrll	(md_assemble): Warn about putting floating point branches in a
51412a6b7db3Sskrll	delay slot.  If architecture is less than v9, insert NOP
51422a6b7db3Sskrll	instructions between floating point instructions and floating
51432a6b7db3Sskrll	point branches.  (The SunOS assembler does both these operations.)
51442a6b7db3Sskrll	Save the last instruction opcode.
51452a6b7db3Sskrll	(sparc_ip): Add pinsn parameter.  Change caller.
51462a6b7db3Sskrll
51472a6b7db3Sskrll	* config/tc-m68k.c (md_estimate_size_before_relax): Correct check
51482a6b7db3Sskrll	for byte jump to next instruction to skip empty frags.
51492a6b7db3Sskrll
51502a6b7db3SskrllWed Apr 10 16:48:12 1996  Ian Lance Taylor  <ian@cygnus.com>
51512a6b7db3Sskrll
51522a6b7db3Sskrll	* config/tc-alpha.c (alpha_ip): If we are going to call emit_add64
51532a6b7db3Sskrll	for addq with a 16 bit signed value, just emit a lda instruction
51542a6b7db3Sskrll	instead.
51552a6b7db3Sskrll
51562a6b7db3SskrllWed Apr 10 14:34:49 1996  Jeffrey A Law  (law@cygnus.com)
51572a6b7db3Sskrll
51582a6b7db3Sskrll	* config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
51592a6b7db3Sskrll	of a 32bit operand.
51602a6b7db3Sskrll
51612a6b7db3SskrllMon Apr  8 14:42:53 1996  Ian Lance Taylor  <ian@cygnus.com>
51622a6b7db3Sskrll
51632a6b7db3Sskrll	* configure.in: Permit --enable-shared to specify a list of
51642a6b7db3Sskrll	directories.
51652a6b7db3Sskrll	* configure: Rebuild.
51662a6b7db3Sskrll
51672a6b7db3SskrllFri Apr  5 17:01:35 1996  Jeffrey A Law  (law@cygnus.com)
51682a6b7db3Sskrll
51692a6b7db3Sskrll	* config/tc-h8300.c (get_specific): Remove some #if 0 code.
51702a6b7db3Sskrll	(build_bytes): Remove all ABSMOV related code; it's unnecessary.
51712a6b7db3Sskrll
51722a6b7db3SskrllFri Apr  5 15:13:10 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
51732a6b7db3Sskrll
51742a6b7db3Sskrll	* config/atof-ieee.c: Fix handling of denormalized extended
51752a6b7db3Sskrll	precision numbers and overflow/underflow detection.
51762a6b7db3Sskrll	(MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
51772a6b7db3Sskrll	not include the 16 bit gap in the m68k extended precision format.
51782a6b7db3Sskrll
51792a6b7db3SskrllFri Apr  5 14:29:23 1996  Ian Lance Taylor  <ian@cygnus.com>
51802a6b7db3Sskrll
51812a6b7db3Sskrll	* configure.in: Add i386-*-freebsdelf* target; from John Polstra
51822a6b7db3Sskrll	<jdp@polstra.com>.
51832a6b7db3Sskrll	* configure: Rebuild.
51842a6b7db3Sskrll
51852a6b7db3SskrllFri Apr  5 18:39:28 1996  James G. Smith  <jsmith@cygnus.co.uk>
51862a6b7db3Sskrll
51872a6b7db3Sskrll	* config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
51882a6b7db3Sskrll	be accessed using the $gp register.
51892a6b7db3Sskrll	* config/tc-mips.h (MAX_GPREL_OFFSET): Added.
51902a6b7db3Sskrll
51912a6b7db3SskrllWed Apr  3 10:56:14 1996  Doug Evans  <dje@canuck.cygnus.com>
51922a6b7db3Sskrll
51932a6b7db3Sskrll	* config/tc-sparc.c (sparc_md_end): Set bfd machine number to
51942a6b7db3Sskrll	bfd_mach_sparc_sparclet if current_architecture is sparclet.
51952a6b7db3Sskrll
51962a6b7db3SskrllMon Apr  1 16:55:44 1996  Ian Lance Taylor  <ian@cygnus.com>
51972a6b7db3Sskrll
51982a6b7db3Sskrll	* read.c (get_line_sb): Bump line counters based on
51992a6b7db3Sskrll	input_line_pointer[-1], not *input_line_pointer.  Don't bother to
52002a6b7db3Sskrll	call LISTING_NEWLINE.
52012a6b7db3Sskrll	(s_macro): Don't call demand_empty_rest_of_line.
52022a6b7db3Sskrll	* app.c (do_scrub_chars): When handling C style comments, unget
52032a6b7db3Sskrll	ch2 rather than ch.
52042a6b7db3Sskrll
52052a6b7db3SskrllFri Mar 29 16:15:06 1996  Ian Lance Taylor  <ian@cygnus.com>
52062a6b7db3Sskrll
52072a6b7db3Sskrll	* read.h (enum linkonce_type): Define.
52082a6b7db3Sskrll	(s_linkonce): Declare.
52092a6b7db3Sskrll	* read.c (potable): Add "linkonce".
52102a6b7db3Sskrll	(s_linkonce): New function.
52112a6b7db3Sskrll	* subsegs.h (segment_info_type): Add linkonce field to
52122a6b7db3Sskrll	MANY_SEGMENTS && ! BFD_ASSEMBLER section.
52132a6b7db3Sskrll	* config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
52142a6b7db3Sskrll	(obj_coff_pe_handle_link_once): Declare if TE_PE.
52152a6b7db3Sskrll	* config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
52162a6b7db3Sskrll	"coff/pe.h".
52172a6b7db3Sskrll	(obj_coff_pe_handle_link_once): New function, defined if TE_PE.
52182a6b7db3Sskrll	(c_section_symbol): If TE_PE, set the x_comdat field in the aux
52192a6b7db3Sskrll	entry based on the linkonce field in segment_info.
52202a6b7db3Sskrll	* doc/as.texinfo: Document .linkonce.
52212a6b7db3Sskrll
52222a6b7db3SskrllFri Mar 29 11:31:27 1996  J.T. Conklin  (jtc@lisa.cygnus.com)
52232a6b7db3Sskrll
52242a6b7db3Sskrll	* doc/as.1: Changed to be recognized by catman -w on Solaris.
52252a6b7db3Sskrll
52262a6b7db3SskrllThu Mar 28 15:27:47 1996  Ian Lance Taylor  <ian@cygnus.com>
52272a6b7db3Sskrll
52282a6b7db3Sskrll	* stabs.c (s_stab_generic): Call the listing functions before
52292a6b7db3Sskrll	doing the rest of the processing, which may involve freeing the
52302a6b7db3Sskrll	string.  Pass string, not string + stroff, to OBJ_PROCESS_STAB in
52312a6b7db3Sskrll	SEPARATE_STAB_SECTIONS case.
52322a6b7db3Sskrll
52332a6b7db3Sskrll	* config/tc-hppa.c: Remove nested comment.
52342a6b7db3Sskrll	(tc_gen_reloc): Move label done inside the ifdef in which it is
52352a6b7db3Sskrll	used.
52362a6b7db3Sskrll	(md_apply_fix): Pass pointers to correct types to libhppa.h
52372a6b7db3Sskrll	functions.  Always return a value.
52382a6b7db3Sskrll
52392a6b7db3Sskrll	* config/tc-mips.h (tc_frob_file): Define.
52402a6b7db3Sskrll	(mips_frob_file): Declare.
52412a6b7db3Sskrll	* config/tc-mips.c (struct mips_hi_fixup): Define.
52422a6b7db3Sskrll	(mips_hi_fixup_list): New static variable.
52432a6b7db3Sskrll	(imm_unmatched_hi): New static variable.
52442a6b7db3Sskrll	(md_assemble): Clear imm_reloc, imm_unmatched_hi, and
52452a6b7db3Sskrll	offset_reloc.  Pass imm_unmatched_hi to append_insn.
52462a6b7db3Sskrll	(append_insn): Add unmatched_hi parameter.  If it is set, add the
52472a6b7db3Sskrll	new fixup to mips_hi_fixup_list.  Change all callers.
52482a6b7db3Sskrll	(mips_ip): Set imm_unmatched_hi when appropriate.
52492a6b7db3Sskrll	(mips_frob_file): New function.
52502a6b7db3Sskrll
52512a6b7db3SskrllThu Mar 28 11:47:59 1996  Doug Evans  <dje@canuck.cygnus.com>
52522a6b7db3Sskrll
52532a6b7db3Sskrll	* configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
52542a6b7db3Sskrll	* configure: Regenerated.
52552a6b7db3Sskrll
52562a6b7db3SskrllTue Mar 26 18:19:12 1996  Ian Lance Taylor  <ian@cygnus.com>
52572a6b7db3Sskrll
52582a6b7db3Sskrll	* as.c (main): Call bfd_set_error_program_name.
52592a6b7db3Sskrll
52602a6b7db3SskrllFri Mar 22 11:13:00 1996  Ian Lance Taylor  <ian@cygnus.com>
52612a6b7db3Sskrll
52622a6b7db3Sskrll	* as.h (strdup): Don't declare.
52632a6b7db3Sskrll	* stabs.c: Include libiberty.h
52642a6b7db3Sskrll	(get_stab_string_offset): Use xstrdup rather than strdup.
52652a6b7db3Sskrll	(s_stab_generic): Likewise.
52662a6b7db3Sskrll	* as.c (parse_args): Likewise.
52672a6b7db3Sskrll	* read.c (s_mri_sect): Likewise.
52682a6b7db3Sskrll
52692a6b7db3Sskrll	* gasp.c (change_base): Recognize \(...) construct documented to
52702a6b7db3Sskrll	pass through enclosed characters literally through to the output.
52712a6b7db3Sskrll	(process_assigns): Likewise.  Also, be more careful to avoid
52722a6b7db3Sskrll	looking past the end of the buffer.
52732a6b7db3Sskrll
52742a6b7db3SskrllThu Mar 21 13:18:43 1996  Ian Lance Taylor  <ian@cygnus.com>
52752a6b7db3Sskrll
52762a6b7db3Sskrll	* config/tc-i386.c (md_parse_option): If OBJ_ELF, ignore -k for
52772a6b7db3Sskrll	FreeBSD compatibility.  From John Polstra <jdp@polstra.com>.
52782a6b7db3Sskrll
52792a6b7db3SskrllWed Mar 20 18:13:32 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
52802a6b7db3Sskrll
52812a6b7db3Sskrll	* doc/as.texinfo, doc/c-i960.texi: Fix typos.
52822a6b7db3Sskrll
52832a6b7db3SskrllWed Mar 20 17:05:16 1996  David Mosberger-Tang  <davidm@azstarnet.com>
52842a6b7db3Sskrll
52852a6b7db3Sskrll	* config/alpha-opcode.h: Added cvtst instruction.
52862a6b7db3Sskrll
52872a6b7db3SskrllMon Mar 18 13:12:46 1996  Ian Lance Taylor  <ian@cygnus.com>
52882a6b7db3Sskrll
52892a6b7db3Sskrll	* ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
52902a6b7db3Sskrll	string.  Extract the addend from the result of expression.
52912a6b7db3Sskrll
52922a6b7db3SskrllFri Mar 15 17:10:43 1996  Ian Lance Taylor  <ian@cygnus.com>
52932a6b7db3Sskrll
52942a6b7db3Sskrll	* app.c (do_scrub_chars): If whitespace is seen in state 11, and
52952a6b7db3Sskrll	LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
52962a6b7db3Sskrll	mode, change the state to 3 rather than 1.
52972a6b7db3Sskrll
52982a6b7db3SskrllThu Mar 14 18:18:25 1996  Ian Lance Taylor  <ian@cygnus.com>
52992a6b7db3Sskrll
53002a6b7db3Sskrll	* config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
53012a6b7db3Sskrll	correspond to 11 March change.
53022a6b7db3Sskrll
53032a6b7db3SskrllThu Mar 14 15:27:10 1996  Jeffrey A Law  (law@cygnus.com)
53042a6b7db3Sskrll
53052a6b7db3Sskrll	* config/tc-h8300.c (build_bytes, MEMIND case): Generate
53062a6b7db3Sskrll	an R_MEM_INDIRECT reloc rather than R_RELBYTE.
53072a6b7db3Sskrll
53082a6b7db3SskrllTue Mar 12 12:21:10 1996  Ian Lance Taylor  <ian@cygnus.com>
53092a6b7db3Sskrll
53102a6b7db3Sskrll	* configure: Rebuild with autoconf 2.8.
53112a6b7db3Sskrll
53122a6b7db3SskrllMon Mar 11 18:57:12 1996  Ian Lance Taylor  <ian@cygnus.com>
53132a6b7db3Sskrll
53142a6b7db3Sskrll	* config/atof-ieee.c (gen_to_words): Improve handling of
53152a6b7db3Sskrll	X_PRECISION numbers.  Based on patches from Andreas Schwab
53162a6b7db3Sskrll	<schwab@issan.informatik.uni-dortmund.de>.
53172a6b7db3Sskrll
53182a6b7db3SskrllMon Mar 11 09:59:53 1996  Steve Chamberlain  <sac@slash.cygnus.com>
53192a6b7db3Sskrll
53202a6b7db3Sskrll	* as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
53212a6b7db3Sskrll	(SEG_LAST): New.
53222a6b7db3Sskrll	* subsegs.c (MANY_SEGMENTS): Increase segment limit.
53232a6b7db3Sskrll	* config/obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
53242a6b7db3Sskrll	(do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
53252a6b7db3Sskrll	crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
53262a6b7db3Sskrll	SEG_E9.
53272a6b7db3Sskrll
53282a6b7db3SskrllThu Mar  7 15:17:39 1996  Doug Evans  <dje@charmed.cygnus.com>
53292a6b7db3Sskrll
53302a6b7db3Sskrll	* config/tc-sparc.c (sparc_ip): Handle operand char 'O' (neg reg).
53312a6b7db3Sskrll
53322a6b7db3SskrllThu Mar  7 09:19:15 1996  Jeffrey A Law  (law@cygnus.com)
53332a6b7db3Sskrll
53342a6b7db3Sskrll	* config/tc-hppa.c (SUBSEG_MILLI): Define.
53352a6b7db3Sskrll	(pa_def_subspaces): Add $MILLICODE$.
53362a6b7db3Sskrll	(pa_spaces_begin): Set section flags for $MILLICODE$.
53372a6b7db3Sskrll
53382a6b7db3SskrllWed Mar  6 14:11:30 1996  Ian Lance Taylor  <ian@cygnus.com>
53392a6b7db3Sskrll
53402a6b7db3Sskrll	* config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
53412a6b7db3Sskrll	not SHT_NOBITS.  Don't tamper with flags based on type if a
53422a6b7db3Sskrll	special section was found (revert Feb 29 change).
53432a6b7db3Sskrll
53442a6b7db3Sskrll	* config/tc-sh.c (sh_do_align): Only align using the nop pattern
53452a6b7db3Sskrll	if aligning to a longword boundary or greater.
53462a6b7db3Sskrll
53472a6b7db3SskrllTue Mar  5 15:10:43 1996  Jim Wilson  <wilson@chestnut.cygnus.com>
53482a6b7db3Sskrll
53492a6b7db3Sskrll	* config/tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
53502a6b7db3Sskrll
53512a6b7db3SskrllMon Mar  4 20:50:57 1996  Steve Chamberlain  <sac@slash.cygnus.com>
53522a6b7db3Sskrll
53532a6b7db3Sskrll	* configure.in (i386-*-cygwin32): Don't use bfd_gas.
53542a6b7db3Sskrll	* configure: Regenerated.
53552a6b7db3Sskrll
53562a6b7db3SskrllMon Mar  4 10:13:06 1996  Jeffrey A Law  (law@cygnus.com)
53572a6b7db3Sskrll
53582a6b7db3Sskrll	* config/tc-hppa.c: Add default definitions for R_N0SEL and
53592a6b7db3Sskrll	R_N1SEL since they're not defined for old versions of hpux.
53602a6b7db3Sskrll
53612a6b7db3Sskrll	* config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
53622a6b7db3Sskrll	Set "sym_ptr_ptr" and "addend" fields to dummy values for
53632a6b7db3Sskrll	R_N0SEL and R_N1SEL.
53642a6b7db3Sskrll
53652a6b7db3SskrllFri Mar  1 10:20:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
53662a6b7db3Sskrll
53672a6b7db3Sskrll	* flonum-konst.c: Add two more constants for 1e+-2048 and
53682a6b7db3Sskrll	1e+-4096, and correct the other constants.
53692a6b7db3Sskrll
53702a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Handle O_logical_not.
53712a6b7db3Sskrll
53722a6b7db3SskrllThu Feb 29 13:58:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
53732a6b7db3Sskrll
53742a6b7db3Sskrll	* config/obj-elf.c (obj_elf_section): Allow predefined section
53752a6b7db3Sskrll	types to set the nobits type.  Avoid a shadowed declaration.
53762a6b7db3Sskrll
53772a6b7db3SskrllWed Feb 28 15:38:56 1996  Jeffrey A Law  (law@cygnus.com)
53782a6b7db3Sskrll
53792a6b7db3Sskrll	* config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
53802a6b7db3Sskrll	reduce relocs using e_nlrsel field selectors.
53812a6b7db3Sskrll
53822a6b7db3Sskrll	* write.c (fix_new_exp): Don't use #elif.  Some compilers
53832a6b7db3Sskrll	don't handle it.
53842a6b7db3Sskrll
53852a6b7db3Sskrll	* config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
53862a6b7db3Sskrll	the selector table.
53872a6b7db3Sskrll	(pa_chk_field_selector): Handle new field selectors for SOM.
53882a6b7db3Sskrll
53892a6b7db3SskrllTue Feb 27 14:42:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
53902a6b7db3Sskrll
53912a6b7db3Sskrll	* configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
53922a6b7db3Sskrll	* configure: Rebuild.
53932a6b7db3Sskrll	* config/te-linux.h (LOCAL_LABELS_FB): Define.
53942a6b7db3Sskrll	* config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
53952a6b7db3Sskrll	"a.out-m68k-linux".
53962a6b7db3Sskrll	* config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
53972a6b7db3Sskrll	is defined.
53982a6b7db3Sskrll
53992a6b7db3SskrllMon Feb 26 18:58:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
54002a6b7db3Sskrll
54012a6b7db3Sskrll	* mpw-make.sed: Update to handle shared library support.
54022a6b7db3Sskrll
54032a6b7db3SskrllMon Feb 26 10:34:10 1996  Doug Evans  <dje@charmed.cygnus.com>
54042a6b7db3Sskrll
54052a6b7db3Sskrll	* config/tc-sparc.c (sparc_ip): Print all architectures that support
54062a6b7db3Sskrll	the insn on mismatch.
54072a6b7db3Sskrll
54082a6b7db3SskrllFri Feb 23 21:44:39 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
54092a6b7db3Sskrll
54102a6b7db3Sskrll	* configure.in: Add support for a29-coff.
54112a6b7db3Sskrll	* configure: Rebuild.
54122a6b7db3Sskrll
54132a6b7db3SskrllThu Feb 22 16:39:43 1996  Ian Lance Taylor  <ian@cygnus.com>
54142a6b7db3Sskrll
54152a6b7db3Sskrll	* config/tc-sh.c (sh_coff_frob_file): Don't consider the address
54162a6b7db3Sskrll	of the section when looking for the R_SH_USES fixup, because the
54172a6b7db3Sskrll	frag addresses have not yet been adjusted.
54182a6b7db3Sskrll
54192a6b7db3Sskrll	* gdbinit.in: Set a breakpoint on as_warn_where.
54202a6b7db3Sskrll
54212a6b7db3Sskrll	* config/tc-mips.c (macro): Add missing arguments to macro_build
54222a6b7db3Sskrll	omitted in last change.  From Jim Wilson <wilson@cygnus.com>.
54232a6b7db3Sskrll
54242a6b7db3SskrllWed Feb 21 17:00:32 1996  Ian Lance Taylor  <ian@cygnus.com>
54252a6b7db3Sskrll
54262a6b7db3Sskrll	* config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
54272a6b7db3Sskrll	if it is TC_CONS_RELOC.  Set a size of 4 to R_RELLONG.
54282a6b7db3Sskrll
54292a6b7db3SskrllWed Feb 21 09:25:39 1996  Doug Evans  <dje@charmed.cygnus.com>
54302a6b7db3Sskrll
54312a6b7db3Sskrll	* config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
54322a6b7db3Sskrll
54332a6b7db3SskrllTue Feb 20 21:48:03 1996  Doug Evans  <dje@charmed.cygnus.com>
54342a6b7db3Sskrll
54352a6b7db3Sskrll	* config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
54362a6b7db3Sskrll	(sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
54372a6b7db3Sskrll	Recognize [uU] format args as sparclet cpregs.
54382a6b7db3Sskrll
54392a6b7db3SskrllTue Feb 20 22:25:55 1996  Ian Lance Taylor  <ian@cygnus.com>
54402a6b7db3Sskrll
54412a6b7db3Sskrll	* config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
54422a6b7db3Sskrll	in bss_section.
54432a6b7db3Sskrll
54442a6b7db3SskrllMon Feb 19 14:16:24 1996  Ian Lance Taylor  <ian@cygnus.com>
54452a6b7db3Sskrll
54462a6b7db3Sskrll	* config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
54472a6b7db3Sskrll	well as S_IS_EXTERNAL.
54482a6b7db3Sskrll	(tc_fix_adjustable): Likewise.
54492a6b7db3Sskrll	* config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
54502a6b7db3Sskrll	S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
54512a6b7db3Sskrll	early.
54522a6b7db3Sskrll	(tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
54532a6b7db3Sskrll	deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
54542a6b7db3Sskrll
54552a6b7db3SskrllMon Feb 19 02:15:57 1996  Doug Evans  <dje@charmed.cygnus.com>
54562a6b7db3Sskrll
54572a6b7db3Sskrll	* config/tc-sparc.c (max_architecture): Change to sparclite for
54582a6b7db3Sskrll	32 bit arch.
54592a6b7db3Sskrll	(default_compatible): Delete.
54602a6b7db3Sskrll	(sparc_ffs): New function.
54612a6b7db3Sskrll	(md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
54622a6b7db3Sskrll	(sparc_ip): Rewrite architecture match and bump logic.
54632a6b7db3Sskrll
54642a6b7db3SskrllSun Feb 18 15:03:50 1996  Ian Lance Taylor  <ian@cygnus.com>
54652a6b7db3Sskrll
54662a6b7db3Sskrll	* configure.in: Check for 'do not mix' from native linker before
54672a6b7db3Sskrll	trying to use -rpath.
54682a6b7db3Sskrll	* configure: Rebuild.
54692a6b7db3Sskrll
54702a6b7db3SskrllFri Feb 16 16:53:31 1996  Ian Lance Taylor  <ian@cygnus.com>
54712a6b7db3Sskrll
54722a6b7db3Sskrll	* config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
54732a6b7db3Sskrll	(SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
54742a6b7db3Sskrll	(SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
54752a6b7db3Sskrll	* config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
54762a6b7db3Sskrll	is set.
54772a6b7db3Sskrll	(w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
54782a6b7db3Sskrll	to the symbol lnnoptr field, to get the correct file offset.
54792a6b7db3Sskrll
54802a6b7db3SskrllThu Feb 15 14:48:38 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
54812a6b7db3Sskrll
54822a6b7db3Sskrll	* config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
54832a6b7db3Sskrll	symbols that are not function, file, or section symbols to be
54842a6b7db3Sskrll	object types.
54852a6b7db3Sskrll
54862a6b7db3SskrllThu Feb 15 11:20:18 1996  Ian Lance Taylor  <ian@cygnus.com>
54872a6b7db3Sskrll
54882a6b7db3Sskrll	* configure: Set and substitute RPATH_ENVVAR.
54892a6b7db3Sskrll	* configure: Rebuild.
54902a6b7db3Sskrll	* Makefile.in (RPATH_ENVVAR): New variable.
54912a6b7db3Sskrll	(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
54922a6b7db3Sskrll
54932a6b7db3Sskrll	* configure.in: Accept i686.  From H.J. Lu <hjl@zoom.com>: i386
54942a6b7db3Sskrll	doesn't need opcodes.  If configuring shared, opcodes needs bfd.
54952a6b7db3Sskrll	* configure: Rebuild.
54962a6b7db3Sskrll
54972a6b7db3SskrllWed Feb 14 16:33:12 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
54982a6b7db3Sskrll
54992a6b7db3Sskrll	* read.c (s_mri_sect): Don't return '\0' in type.  Set all
55002a6b7db3Sskrll	appropriate flags in BFD section.
55012a6b7db3Sskrll
55022a6b7db3Sskrll	* configure.in (m68k-*-psos*): New target.
55032a6b7db3Sskrll	* configure: Rebuild.
55042a6b7db3Sskrll	* config/te-psos.h: New file.
55052a6b7db3Sskrll	* config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
55062a6b7db3Sskrll	is defined.
55072a6b7db3Sskrll
55082a6b7db3SskrllWed Feb 14 13:43:24 1996  Ian Lance Taylor  <ian@cygnus.com>
55092a6b7db3Sskrll
55102a6b7db3Sskrll	From Alan Modra <alan@spri.levels.unisa.edu.au>:
55112a6b7db3Sskrll	* configure.in: Remove duplicate setting of cpu_type.  Check
55122a6b7db3Sskrll	whether opcodes library is required for on all targets, not just
55132a6b7db3Sskrll	primary one.
55142a6b7db3Sskrll	* configure: Rebuild.
55152a6b7db3Sskrll
55162a6b7db3Sskrll	* config/tc-mips.c (mips_big_got): New static variable.
55172a6b7db3Sskrll	(s_extern): Don't declare.
55182a6b7db3Sskrll	(reg_needs_delay): New static function.
55192a6b7db3Sskrll	(macro_build): Permit GOT/CALL_HI/LO relocs.
55202a6b7db3Sskrll	(macro_build_lui): If place is not NULL, use the number in the
55212a6b7db3Sskrll	expression.
55222a6b7db3Sskrll	(load_address): Handle mips_big_got case.
55232a6b7db3Sskrll	(macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
55242a6b7db3Sskrll	store macros.
55252a6b7db3Sskrll	(OPTION_XGOT): Define.
55262a6b7db3Sskrll	(md_longopts): Add "xgot" if OBJ_ELF.
55272a6b7db3Sskrll	(md_parse_option): Handle -xgot.
55282a6b7db3Sskrll	(md_show_usage): Mention -xgot.
55292a6b7db3Sskrll	(md_apply_fix): Permit GOT/CALL_HI/LO relocs.
55302a6b7db3Sskrll	(tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
55312a6b7db3Sskrll
55322a6b7db3SskrllWed Feb 14 11:22:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
55332a6b7db3Sskrll
55342a6b7db3Sskrll	* config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
55352a6b7db3Sskrll	the byte relocation, point it to the low byte of the word.
55362a6b7db3Sskrll
55372a6b7db3SskrllTue Feb 13 15:31:18 1996  Ian Lance Taylor  <ian@cygnus.com>
55382a6b7db3Sskrll
55392a6b7db3Sskrll	* configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
55402a6b7db3Sskrll	* configure: Rebuild.
55412a6b7db3Sskrll
55422a6b7db3SskrllMon Feb 12 15:53:46 1996  Doug Evans  <dje@charmed.cygnus.com>
55432a6b7db3Sskrll
55442a6b7db3Sskrll	* configure.in: Recognize any sparc* cpu.
55452a6b7db3Sskrll	* configure: Regenerated.
55462a6b7db3Sskrll
55472a6b7db3SskrllMon Feb 12 15:41:21 1996  Ian Lance Taylor  <ian@cygnus.com>
55482a6b7db3Sskrll
55492a6b7db3Sskrll	* read.c (potable): Add "mri" and ".mri".
55502a6b7db3Sskrll	(s_mri): New function.
55512a6b7db3Sskrll	* read.h (s_mri): Declare.
55522a6b7db3Sskrll	* app.c (scrub_m68k_mri): New static variable.
55532a6b7db3Sskrll	(mri_pseudo): New static variable.
55542a6b7db3Sskrll	(do_scrub_begin): Add m68k_mri parameter.  Use it rather than
55552a6b7db3Sskrll	flag_m68k_mri.  Initialize scrub_m68k_mri.
55562a6b7db3Sskrll	(mri_state, mri_last_ch): New static variables.
55572a6b7db3Sskrll	(struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
55582a6b7db3Sskrll	fields.
55592a6b7db3Sskrll	(app_push): Save new fields.
55602a6b7db3Sskrll	(app_pop): Restore new fields.
55612a6b7db3Sskrll	(do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
55622a6b7db3Sskrll	If TC_M68K, use a trivial state machine to look for occurrences of
55632a6b7db3Sskrll	the .mri pseudo-op, and change the mode appropriately.
55642a6b7db3Sskrll	* as.h (do_scrub_begin): Update prototype.
55652a6b7db3Sskrll	* input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
55662a6b7db3Sskrll	do_scrub_begin.
55672a6b7db3Sskrll	* config/tc-m68k.c (reg_prefix_optional_seen): New static
55682a6b7db3Sskrll	variable.
55692a6b7db3Sskrll	(m68k_mri_mode_change): New function.
55702a6b7db3Sskrll	(md_parse_option): Set reg_prefix_optional_seen.
55712a6b7db3Sskrll	* config/tc-m68k.h (m68k_mri_mode_change): Declare.
55722a6b7db3Sskrll	(MRI_MODE_CHANGE): Define.
55732a6b7db3Sskrll	* doc/as.texinfo: Document .mri pseudo-op.
55742a6b7db3Sskrll
55752a6b7db3Sskrll	* app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
55762a6b7db3Sskrll	comment character.
55772a6b7db3Sskrll
55782a6b7db3SskrllMon Feb 12 15:16:29 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
55792a6b7db3Sskrll
55802a6b7db3Sskrll	Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
55812a6b7db3Sskrll	* config/m68k-parse.h (enum pic_relocation): Define.
55822a6b7db3Sskrll	(struct m68k_exp): Add pic_reloc field.
55832a6b7db3Sskrll	* config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
55842a6b7db3Sskrll	(tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
55852a6b7db3Sskrll	(NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
55862a6b7db3Sskrll	otherwise.
55872a6b7db3Sskrll	* config/tc-m68k.c: Delete definition of NO_RELOC.
55882a6b7db3Sskrll	(struct m68k_it): Add pic_reloc field.
55892a6b7db3Sskrll	(add_fix): Copy over pic_reloc field.
55902a6b7db3Sskrll	(md_pseudo_table): Interpret .align parameter as byte count.
55912a6b7db3Sskrll	(mote_pseudo_table): Likewise.
55922a6b7db3Sskrll	(tc_m68k_fix_adjustable): New function.
55932a6b7db3Sskrll	(get_reloc_code): New function.
55942a6b7db3Sskrll	(md_assemble): Use it as last argument to fix_new_exp.
55952a6b7db3Sskrll	(md_apply_fix_2): For a relocation against a symbol don't put the
55962a6b7db3Sskrll	addend into the data.
55972a6b7db3Sskrll	(tc_gen_reloc): Different addend computation for OBJ_ELF.
55982a6b7db3Sskrll	(m68k_ip): Don't relax an operand that requires pic relocation.
55992a6b7db3Sskrll	(md_begin): Align .text, .data and .bss on 4 byte boundary by
56002a6b7db3Sskrll	default.
56012a6b7db3Sskrll	* write.c (fixup_segment): Don't add symbol value to addend if
56022a6b7db3Sskrll	TC_M68K and OBJ_ELF.
56032a6b7db3Sskrll	* config/m68k-parse.y (yylex): Handle @PLTPC, etc.
56042a6b7db3Sskrll	(motorola_operand): Add rule for `(zapc, EXPR)'.
56052a6b7db3Sskrll
56062a6b7db3SskrllMon Feb 12 10:07:33 1996  David Mosberger-Tang  <davidm@azstarnet.com>
56072a6b7db3Sskrll
56082a6b7db3Sskrll	* ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
56092a6b7db3Sskrll	*really* is permissible before the comma.
56102a6b7db3Sskrll
56112a6b7db3SskrllMon Feb 12 00:12:13 1996  Ian Lance Taylor  <ian@cygnus.com>
56122a6b7db3Sskrll
56132a6b7db3Sskrll	* config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
56142a6b7db3Sskrll	inserting nop instructions.
56152a6b7db3Sskrll
56162a6b7db3SskrllFri Feb  9 10:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
56172a6b7db3Sskrll
56182a6b7db3Sskrll	* config/te-aux.h: Change include of aux.h to aux-coff.h.
56192a6b7db3Sskrll
56202a6b7db3SskrllThu Feb  8 20:02:58 1996  Ian Lance Taylor  <ian@cygnus.com>
56212a6b7db3Sskrll
56222a6b7db3Sskrll	* config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
56232a6b7db3Sskrll	class setting for a CALLNAME symbol in COFF.
56242a6b7db3Sskrll
56252a6b7db3Sskrll	* read.c (potable): Pass negative numbers for new .balign[wl] and
56262a6b7db3Sskrll	.p2align[wl] pseudo-ops.
56272a6b7db3Sskrll	(s_align_bytes): Treat a negative argument as specifying the fill
56282a6b7db3Sskrll	length.
56292a6b7db3Sskrll	(s_align_ptwo): Likewise.
56302a6b7db3Sskrll
56312a6b7db3SskrllWed Feb  7 14:12:03 1996  Ian Lance Taylor  <ian@cygnus.com>
56322a6b7db3Sskrll
56332a6b7db3Sskrll	* read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
56342a6b7db3Sskrll	(do_align): Take new len parameter.  Change all callers.  Pass it
56352a6b7db3Sskrll	to md_do_align.
56362a6b7db3Sskrll	(s_align_bytes): Arg now indicates the length of the fill pattern.
56372a6b7db3Sskrll	(s_align_ptwo): Likewise.
56382a6b7db3Sskrll	* config/obj-coff.c (write_object_file): Pass length to
56392a6b7db3Sskrll	md_do_align.
56402a6b7db3Sskrll	* config/tc-i386.h (md_do_align): Take new len parameter.
56412a6b7db3Sskrll	* config/tc-m88k.h (md_do_align): Likewise.
56422a6b7db3Sskrll	* config/tc-m88k.c (m88k_do_align): Likewise.
56432a6b7db3Sskrll	* config/tc-sh.h (md_do_align): Likewise.
56442a6b7db3Sskrll	* config/tc-sh.c (sh_do_align): Likewise.
56452a6b7db3Sskrll	* doc/as.texinfo: Document new pseudo-ops.
56462a6b7db3Sskrll
56472a6b7db3Sskrll	* config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
56482a6b7db3Sskrll	done in cvt_frag_to_fill.
56492a6b7db3Sskrll
56502a6b7db3Sskrll	* config/tc-sh.h (sh_do_align): Declare.
56512a6b7db3Sskrll	(md_do_align): Define.
56522a6b7db3Sskrll	* config/tc-sh.c (sh_do_align): New function.
56532a6b7db3Sskrll
56542a6b7db3Sskrll	* ecoff.c (ecoff_build_lineno): Don't try to store the address
56552a6b7db3Sskrll	difference if the next address is before the current one.
56562a6b7db3Sskrll
56572a6b7db3Sskrll	* config/tc-m68k.c (struct m68k_cpu): Add alias field.
56582a6b7db3Sskrll	(archs): Initialize new field.
56592a6b7db3Sskrll	(m68k_ip): Don't list alias names when listing CPUs which support
56602a6b7db3Sskrll	an instruction.
56612a6b7db3Sskrll
56622a6b7db3Sskrll	* as.c (main): Call parse_args before read_begin.
56632a6b7db3Sskrll	* app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
56642a6b7db3Sskrll	front of generated pseudo-ops.
56652a6b7db3Sskrll	* read.c (potable): Ignore "name".
56662a6b7db3Sskrll	(s_app_file): Permit a single quote after the string, since one
56672a6b7db3Sskrll	may appear in m68k MRI mode.
56682a6b7db3Sskrll
56692a6b7db3Sskrll	* configure.in: Check for --enable-shared.  If linking against
56702a6b7db3Sskrll	shared BFD and opcodes, fix library name on SunOS, and try to set
56712a6b7db3Sskrll	-rpath reasonably.
56722a6b7db3Sskrll	* configure: Rebuild.
56732a6b7db3Sskrll
56742a6b7db3SskrllTue Feb  6 15:16:17 1996  Ian Lance Taylor  <ian@cygnus.com>
56752a6b7db3Sskrll
56762a6b7db3Sskrll	* as.h (flag_m68k_mri): Declare.
56772a6b7db3Sskrll	* as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
56782a6b7db3Sskrll	* Many files: For MRI syntax that is specific to the m68k MRI
56792a6b7db3Sskrll	assembler, check flag_m68k_mri rather than flag_mri or
56802a6b7db3Sskrll	MRI_MODE_NEEDS_PSEUDO_DOT.
56812a6b7db3Sskrll
56822a6b7db3SskrllMon Feb  5 16:29:11 1996  Ian Lance Taylor  <ian@cygnus.com>
56832a6b7db3Sskrll
56842a6b7db3Sskrll	* config/tc-i960.c (ARCH_HX): Define.
56852a6b7db3Sskrll	(arch_tab): Add HX.
56862a6b7db3Sskrll	(targ_has_sfr): Handle ARCH_HX.
56872a6b7db3Sskrll	(targ_has_iclass): Handle ARCH_HX.
56882a6b7db3Sskrll	(tc_coff_fix2rtype): Add return 0 to avoid warning.
56892a6b7db3Sskrll	(tc_headers_hook): If the architecture was specified explicitly,
56902a6b7db3Sskrll	use it when setting the flags.  Set the extern variable coff_flags
56912a6b7db3Sskrll	rather than headers->filehdr.f_flags, since the latter is set
56922a6b7db3Sskrll	unconditionally in obj-coff.c.
56932a6b7db3Sskrll	(i960_handle_align): Remove unused variable fixp.
56942a6b7db3Sskrll
56952a6b7db3Sskrll	Support for building bfd and opcodes as shared libraries, based on
56962a6b7db3Sskrll	patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
56972a6b7db3Sskrll	* configure.in: Set OPCODES and BFD to search directories.
56982a6b7db3Sskrll	Substitute OPCODES_DEP and BFDDEP.  On SunOS, set HLDFLAGS.
56992a6b7db3Sskrll	* configure: Rebuild.
57002a6b7db3Sskrll	* Makefile.in (LDFLAGS, HLDFLAGS): New variables.
57012a6b7db3Sskrll	(LIBDEPS): New variable.
57022a6b7db3Sskrll	(as.new0: Depend upon $(LIBDEPS) rather than $(LIBS).  Use
57032a6b7db3Sskrll	$(HLDFLAGS) in link.
57042a6b7db3Sskrll	(check): Set LD_LIBRARY_PATH in the environment.
57052a6b7db3Sskrll
57062a6b7db3SskrllFri Feb  2 17:41:53 1996  Michael Meissner  <meissner@wogglebug.tiac.net>
57072a6b7db3Sskrll
57082a6b7db3Sskrll	* config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
57092a6b7db3Sskrll	.PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
57102a6b7db3Sskrll	read-only, not read/write.
57112a6b7db3Sskrll
57122a6b7db3SskrllFri Feb  2 14:09:25 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>
57132a6b7db3Sskrll
57142a6b7db3Sskrll	* Makefile.in (INSTALL_XFORM): Remove -e.
57152a6b7db3Sskrll
57162a6b7db3SskrllFri Feb  2 12:32:15 1996  Ian Lance Taylor  <ian@cygnus.com>
57172a6b7db3Sskrll
57182a6b7db3Sskrll	* write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
57192a6b7db3Sskrll	than comparing S_GET_SEGMENT to undefined_section.
57202a6b7db3Sskrll	(write_object_file): Skip symbols which were equated to an
57212a6b7db3Sskrll	undefined or common symbol.
57222a6b7db3Sskrll	* symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
57232a6b7db3Sskrll	S_IS_COMMON rather than comparing S_GET_SEGMENT to
57242a6b7db3Sskrll	undefined_section.
57252a6b7db3Sskrll	(S_GET_VALUE): Likewise.  Avoid recursion problems if S_IS_DEFINED
57262a6b7db3Sskrll	or S_IS_COMMON call S_GET_VALUE.
57272a6b7db3Sskrll	* config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
57282a6b7db3Sskrll	* config/obj-aout.c (obj_emit_relocations): If a reloc is equated
57292a6b7db3Sskrll	to an undefined or common symbol, convert the reloc to be against
57302a6b7db3Sskrll	the target symbol.
57312a6b7db3Sskrll	(obj_crawl_symbol_chain): Skip symbols which were equated to an
57322a6b7db3Sskrll	undefined or common symbol.
57332a6b7db3Sskrll	* config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
57342a6b7db3Sskrll	* config/obj-bout.c (obj_emit_relocations): If a reloc is equated
57352a6b7db3Sskrll	to an undefined or common symbol, convert the reloc to be against
57362a6b7db3Sskrll	the target symbol.
57372a6b7db3Sskrll	(obj_crawl_symbol_chain): Skip symbols which were equated to an
57382a6b7db3Sskrll	undefined or common symbol.
57392a6b7db3Sskrll	* config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
57402a6b7db3Sskrll	S_IS_COMMON rather than comparing S_GET_SEGMENT to
57412a6b7db3Sskrll	undefined_section.
57422a6b7db3Sskrll	(yank_symbols): Skip symbols which were equated to an undefined or
57432a6b7db3Sskrll	common symbol.
57442a6b7db3Sskrll
57452a6b7db3SskrllThu Feb  1 15:34:32 1996  Ian Lance Taylor  <ian@cygnus.com>
57462a6b7db3Sskrll
57472a6b7db3Sskrll	* config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
57482a6b7db3Sskrll	* config/obj-bout.h (S_IS_LOCAL): Likewise.
57492a6b7db3Sskrll
57502a6b7db3Sskrll	* configure.in: Make sure we only add m68k-parse.o to
57512a6b7db3Sskrll	${extra_objects} once, no matter how many m68k targets have been
57522a6b7db3Sskrll	enabled.
57532a6b7db3Sskrll	* configure: Rebuild.
57542a6b7db3Sskrll
57552a6b7db3SskrllWed Jan 31 18:31:46 1996  Steve Chamberlain  <sac@slash.cygnus.com>
57562a6b7db3Sskrll
57572a6b7db3Sskrll	* configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
57582a6b7db3Sskrll	* configure: Rebuild.
57592a6b7db3Sskrll
57602a6b7db3SskrllWed Jan 31 14:03:17 1996  Richard Henderson  <rth@tamu.edu>
57612a6b7db3Sskrll
57622a6b7db3Sskrll	* config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
57632a6b7db3Sskrll	* doc/c-m68k.texi: Document .extend and .ldouble.
57642a6b7db3Sskrll
57652a6b7db3Sskrll	* configure.in (m68*-apple-aux*): New target.
57662a6b7db3Sskrll	* config/te-aux.h: New file.
57672a6b7db3Sskrll	* config/obj-coff.c (compare_external_relocs): New static function
57682a6b7db3Sskrll	if TE_AUX.
57692a6b7db3Sskrll	(do_relocs_for): Sort relocs if TE_AUX.
57702a6b7db3Sskrll	(fixup_segment): If TE_AUX, store common symbol value in segment.
57712a6b7db3Sskrll	* config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
57722a6b7db3Sskrll
57732a6b7db3SskrllWed Jan 31 12:24:58 1996  Ian Lance Taylor  <ian@cygnus.com>
57742a6b7db3Sskrll
57752a6b7db3Sskrll	* config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
57762a6b7db3Sskrll
57772a6b7db3Sskrll	* config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
57782a6b7db3Sskrll	BSF_FUNCTION.
57792a6b7db3Sskrll	(s_cpload): Set BSF_OBJECT for _gp_disp symbol.
57802a6b7db3Sskrll	* read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
57812a6b7db3Sskrll	symbol.
57822a6b7db3Sskrll	* ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
57832a6b7db3Sskrll	(ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
57842a6b7db3Sskrll	an undefined symbol and the size of a function symbol.
57852a6b7db3Sskrll	* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
57862a6b7db3Sskrll	for all common symbols.
57872a6b7db3Sskrll
57882a6b7db3SskrllTue Jan 30 12:35:24 1996  Ken Raeburn  <raeburn@cygnus.com>
57892a6b7db3Sskrll
57902a6b7db3Sskrll	* config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
57912a6b7db3Sskrll	scaling of index.
57922a6b7db3Sskrll
57932a6b7db3Sskrll	* expr.c (operand): Accept 0x hex constants in MRI mode if not on
57942a6b7db3Sskrll	m68k.
57952a6b7db3Sskrll
57962a6b7db3SskrllMon Jan 29 12:21:30 1996  Ian Lance Taylor  <ian@cygnus.com>
57972a6b7db3Sskrll
57982a6b7db3Sskrll	* config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
57992a6b7db3Sskrll	of object.  From Ronald F. Guilmette <rfg@monkeys.com>.
58002a6b7db3Sskrll
58012a6b7db3Sskrll	* ecoff.c (localsym_t): Add addend field.
58022a6b7db3Sskrll	(add_ecoff_symbol): Add addend argument.  Change all callers.
58032a6b7db3Sskrll	(coff_sym_value): Make static.
58042a6b7db3Sskrll	(coff_sym_addend): New static variable.
58052a6b7db3Sskrll	(ecoff_directive_def): Initialize coff_sym_addend.
58062a6b7db3Sskrll	(ecoff_directive_val): Accept symbol + constant.
58072a6b7db3Sskrll	(ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
58082a6b7db3Sskrll	(ecoff_build_symbols): Include the addend in the symbol value.
58092a6b7db3Sskrll
58102a6b7db3SskrllFri Jan 26 19:28:52 1996  Kim Knuttila  <krk@cygnus.com>
58112a6b7db3Sskrll
58122a6b7db3Sskrll	* config/tc-ppc.c (md_assemble): Ignore overflow on
58132a6b7db3Sskrll	BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
58142a6b7db3Sskrll
58152a6b7db3SskrllFri Jan 26 16:14:17 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
58162a6b7db3Sskrll
58172a6b7db3Sskrll	* config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
58182a6b7db3Sskrll	bytes in size, so offset appropriately in big endian mode when
58192a6b7db3Sskrll	writing the bottom 2 bytes.
58202a6b7db3Sskrll
58212a6b7db3SskrllThu Jan 25 20:26:23 1996  Doug Evans  <dje@charmed.cygnus.com>
58222a6b7db3Sskrll
58232a6b7db3Sskrll	* config/tc-sparc.c (default_compatible): New static local.
58242a6b7db3Sskrll	(md_begin): Initialize it.  Rewrite warn_on_bump handling.
58252a6b7db3Sskrll	(sparc_ip): If no architecture or -bump specified, don't mark as
58262a6b7db3Sskrll	mismatched those in default_compatible.
58272a6b7db3Sskrll
58282a6b7db3SskrllThu Jan 25 12:21:53 1996  Ian Lance Taylor  <ian@cygnus.com>
58292a6b7db3Sskrll
58302a6b7db3Sskrll	SCO ELF support from Robert Lipe <robertl@arnet.com>:
58312a6b7db3Sskrll	* configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
58322a6b7db3Sskrll	* configure: Rebuild.
58332a6b7db3Sskrll	* config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
58342a6b7db3Sskrll	* config/tc-i386.c (sco_id): New function, if SCO_ELF.
58352a6b7db3Sskrll	* config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
58362a6b7db3Sskrll	(sco_id): Declare if SCO_ELF.
58372a6b7db3Sskrll
58382a6b7db3SskrllThu Jan 25 03:10:53 1996  Doug Evans  <dje@charmed.cygnus.com>
58392a6b7db3Sskrll
58402a6b7db3Sskrll	* config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
58412a6b7db3Sskrll	({max,warn_after}_architecture): New static locals.
58422a6b7db3Sskrll	(md_begin): Replace NUMOPCODES with sparc_num_opcodes.
58432a6b7db3Sskrll	If both architecture and -bump requested, set max_architecture to max.
58442a6b7db3Sskrll	(sparc_md_end): Simplify.
58452a6b7db3Sskrll	(sparc_ip): Replace references to can_bump_v9_p with max_architecture.
58462a6b7db3Sskrll	Rewrite code to bump architecture and check for conflicts.
58472a6b7db3Sskrll	(md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
58482a6b7db3Sskrll	with Solaris assembler.
58492a6b7db3Sskrll	(md_parse_option): Likewise.  Call sparc_opcode_lookup_arch.
58502a6b7db3Sskrll	(md_show_usage): Update.
58512a6b7db3Sskrll
58522a6b7db3SskrllWed Jan 24 22:11:03 1996  Doug Evans  <dje@charmed.cygnus.com>
58532a6b7db3Sskrll
58542a6b7db3Sskrll	* Makefile.in (RUNTEST): Fix reference to $${srcdir}.
58552a6b7db3Sskrll
58562a6b7db3SskrllMon Jan 22 09:21:36 1996  Doug Evans  <dje@charmed.cygnus.com>
58572a6b7db3Sskrll
58582a6b7db3Sskrll	* config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
58592a6b7db3Sskrll	#ifdef sparcv9 when choosing value.
58602a6b7db3Sskrll	(ENV64): Delete.
58612a6b7db3Sskrll	(md_end): Define.
58622a6b7db3Sskrll	(sparc_md_end): Declare.
58632a6b7db3Sskrll	* config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
58642a6b7db3Sskrll	(initial_architecture): New static local.
58652a6b7db3Sskrll	(can_bump_v9_p): Likewise.
58662a6b7db3Sskrll	(NO_V9): Delete all occurrences.
58672a6b7db3Sskrll	(sparc_md_end): New function.
58682a6b7db3Sskrll	(sparc_ip): New local v9_arg_p.  Rework fp reg number test.
58692a6b7db3Sskrll	Don't bump architecture to v9 unless can_bump_v9_p set.
58702a6b7db3Sskrll	(md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
58712a6b7db3Sskrll	* configure.in (sparc64 target cpu): Don't set obj_format here.
58722a6b7db3Sskrll	(SPARC_V9): Renamed from sparcv9.
58732a6b7db3Sskrll	(sparc64-*-elf*): Define SPARC_ARCH64.
58742a6b7db3Sskrll	* configure: Regenerated.
58752a6b7db3Sskrll	* acconfig.h (SPARC_V9): Renamed from sparcv9.
58762a6b7db3Sskrll	(SPARC_ARCH64): Add.
58772a6b7db3Sskrll	* conf.in: Regenerated.
58782a6b7db3Sskrll	* config/vmsconf.h: Update.
58792a6b7db3Sskrll
58802a6b7db3SskrllMon Jan 22 17:24:47 1996  James G. Smith  <jsmith@cygnus.co.uk>
58812a6b7db3Sskrll
58822a6b7db3Sskrll	* config/tc-mips.c (load_register): Optimise "dli" loads.
58832a6b7db3Sskrll	(md_show_usage): add "-mcpu=vr4100" to help text.
58842a6b7db3Sskrll
58852a6b7db3SskrllMon Jan 22 11:53:00 1996  Ian Lance Taylor  <ian@cygnus.com>
58862a6b7db3Sskrll
58872a6b7db3Sskrll	* symbols.c (resolve_symbol_value): If a symbol is equated to an
58882a6b7db3Sskrll	undefined symbol, preserve the X_op of O_symbol.
58892a6b7db3Sskrll	(S_GET_VALUE): Fix check to permit this case.
58902a6b7db3Sskrll	* write.c (write_relocs): If a reloc is against an undefined
58912a6b7db3Sskrll	symbol equated to another symbol, change the reloc to be against
58922a6b7db3Sskrll	the latter symbol.
58932a6b7db3Sskrll	* config/obj-coff.c (do_relocs_for): Likewise.
58942a6b7db3Sskrll
58952a6b7db3Sskrll	* config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
58962a6b7db3Sskrll	XMC_PR.
58972a6b7db3Sskrll
58982a6b7db3SskrllMon Jan 22 10:59:48 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
58992a6b7db3Sskrll
59002a6b7db3Sskrll	* config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
59012a6b7db3Sskrll	computer is PowerPC.
59022a6b7db3Sskrll
59032a6b7db3Sskrll	* config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
59042a6b7db3Sskrll
59052a6b7db3Sskrll	* config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
59062a6b7db3Sskrll	mentioned in the eabi.
59072a6b7db3Sskrll
59082a6b7db3SskrllThu Jan 18 17:58:19 1996  Kim Knuttila  <krk@cygnus.com>
59092a6b7db3Sskrll
59102a6b7db3Sskrll	* config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
59112a6b7db3Sskrll	* config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
59122a6b7db3Sskrll
59132a6b7db3SskrllMon Jan 15 17:43:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
59142a6b7db3Sskrll
59152a6b7db3Sskrll	* config/tc-ppc.c (mapping): Add more relocation suffixes.
59162a6b7db3Sskrll
59172a6b7db3SskrllSun Jan 14 21:29:36 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
59182a6b7db3Sskrll
59192a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
59202a6b7db3Sskrll	as a section it is ok to have unadorned -mrelocatable pointers in.
59212a6b7db3Sskrll
59222a6b7db3SskrllSat Jan 13 11:09:08 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
59232a6b7db3Sskrll
59242a6b7db3Sskrll	* config/tc-ppc.c (ppc_section*): Wrap these functions inside
59252a6b7db3Sskrll	#ifdef OBJ_ELF.
59262a6b7db3Sskrll
59272a6b7db3SskrllFri Jan 12 15:32:07 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
59282a6b7db3Sskrll
59292a6b7db3Sskrll	* config/obj-elf.c (obj_elf_section): Add hooks so machine
59302a6b7db3Sskrll	dependent section attributes can be handled.
59312a6b7db3Sskrll
59322a6b7db3Sskrll	* config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
59332a6b7db3Sskrll	macros to add support for exclude section flag and ordered section
59342a6b7db3Sskrll	type.
59352a6b7db3Sskrll
59362a6b7db3Sskrll	* config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
59372a6b7db3Sskrll	functions to add support for exclude section flag and ordered
59382a6b7db3Sskrll	section type.
59392a6b7db3Sskrll
59402a6b7db3SskrllFri Jan 12 12:04:00 1996  Ian Lance Taylor  <ian@cygnus.com>
59412a6b7db3Sskrll
59422a6b7db3Sskrll	* subsegs.c (section_symbol): Don't try to look up the section
59432a6b7db3Sskrll	symbol in the hash table.  It should be possible to have a symbol
59442a6b7db3Sskrll	with the same name as a section, but no connection to it.
59452a6b7db3Sskrll
59462a6b7db3Sskrll	* read.c (cons_worker): Only call mri_comment_end from flag_mri.
59472a6b7db3Sskrll	From James Carlson <carlson@xylogics.com>.
59482a6b7db3Sskrll
59492a6b7db3Sskrll	* expr.c (operand): Skip whitespace after a close parenthesis.
59502a6b7db3Sskrll	From James Carlson <carlson@xylogics.com>.
59512a6b7db3Sskrll
59522a6b7db3SskrllTue Jan  2 12:43:23 1996  Jim Wilson  <wilson@chestnut.cygnus.com>
59532a6b7db3Sskrll
59542a6b7db3Sskrll	* config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
59552a6b7db3Sskrll	as_warn_where for relocation overflow.
59562a6b7db3Sskrll	(parse_reg): Accept register name only if next character is
59572a6b7db3Sskrll	not alphanumeric.
59582a6b7db3Sskrll
59592a6b7db3SskrllFor older changes see ChangeLog-9295
59602a6b7db3Sskrll
5961*5ba6b03cSchristosCopyright (C) 1996-1997 Free Software Foundation, Inc.
5962*5ba6b03cSchristos
5963*5ba6b03cSchristosCopying and distribution of this file, with or without modification,
5964*5ba6b03cSchristosare permitted in any medium without royalty provided the copyright
5965*5ba6b03cSchristosnotice and this notice are preserved.
5966*5ba6b03cSchristos
59672a6b7db3SskrllLocal Variables:
59682a6b7db3Sskrllmode: change-log
59692a6b7db3Sskrllleft-margin: 8
59702a6b7db3Sskrllfill-column: 74
59712a6b7db3Sskrllversion-control: never
59722a6b7db3SskrllEnd:
5973