ChangeLog-9697 revision 60484
160484SobrienWed Dec 31 12:29:47 1997  Jeffrey A Law  (law@cygnus.com)
260484Sobrien
360484Sobrien	* config/tc-mn10200.c (md_relax_table): Correct branch ranges.
460484Sobrien
560484SobrienMon Dec 22 13:06:05 1997  Joel Sherrill  <joel@oarcorp.com>
660484Sobrien
760484Sobrien        * configure.in (i386*-go32-rtems*): Fix to be the same as
860484Sobrien	i[3456]86-go32.
960484Sobrien	* configure: Rebuild.
1060484Sobrien
1160484SobrienMon Dec 22 12:54:07 1997  Ian Lance Taylor  <ian@cygnus.com>
1260484Sobrien
1360484Sobrien	* config/tc-mips.c (macro): The 4650 doesn't permit M_LDC1_AB,
1460484Sobrien	M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB, or M_S_DOB.
1560484Sobrien	(mips_ip): Always check for FP_D, not just for instructions that
1660484Sobrien	are not part of the regular ISA.
1760484Sobrien
1860484SobrienThu Dec 18 16:49:28 1997  Richard Henderson  <rth@cygnus.com>
1960484Sobrien
2060484Sobrien	* config/tc-d10v.c (build_insn): Make `number' a long for 64-bit hosts.
2160484Sobrien
2260484SobrienThu Dec 18 16:42:57 1997  Richard Henderson  <rth@cygnus.com>
2360484Sobrien
2460484Sobrien	* config/tc-alpha.c (cpu_types): 21164pc/pca56 does not have CIX.
2560484Sobrien
2660484SobrienWed Dec 17 21:23:07 1997  Jeffrey A Law  (law@cygnus.com)
2760484Sobrien
2860484Sobrien	* expr.c (integer_constant 32bit bignum): Mask off bits outside
2960484Sobrien	the range we care about.
3060484Sobrien
3160484SobrienWed Dec 17 15:29:03 1997  Michael Meissner  <meissner@cygnus.com>
3260484Sobrien
3360484Sobrien	* config/tc-d30v.c (md_shortopts): Add 'n' and 'N' options.
3460484Sobrien	(exec_type_enum): Enumeration giving all of the exec types.
3560484Sobrien	(warn_nops): New static variable to give nop warning level.
3660484Sobrien	({cur,prev}_mul32_p): New static variable to keep track of whether
3760484Sobrien	the current/previous instruction is a 32-bit multiply.
3860484Sobrien	(Optimizing): Make static.
3960484Sobrien	(NOP{2,_LEFT,_RIGHT}): Macros for word of nops and left/right
4060484Sobrien	nops.
4160484Sobrien	(d30v_insert_operand): Delete declaration of unused function.
4260484Sobrien	(write_2_short): Make exec_type argument enum, not int.
4360484Sobrien	(parallel_ok): Ditto.
4460484Sobrien	(check_range): Delete unused variable(s).
4560484Sobrien	(build_insn): Ditto.
4660484Sobrien	(find_format): Ditto.
4760484Sobrien	(md_apply_fix3): Ditto.
4860484Sobrien	(md_show_usage): Document -n and -N.
4960484Sobrien	(md_parse_option): Parse -n and -N.
5060484Sobrien	(write_1_short): If -n, warn about adding a nop.  Use
5160484Sobrien	NOP_{LEFT,RIGHT}.
5260484Sobrien	(write_2_short): Use enumeration values instead of hard coded
5360484Sobrien	integers.  Reset exec_type for default operations.  For explicit
5460484Sobrien	parallel operations, call parallel_ok to make sure everything is
5560484Sobrien	ok.  If writing out a parallel operation, and the previous
5660484Sobrien	instruction was a 32-bit multiply, indicate current instruction
5760484Sobrien	is.
5860484Sobrien	(parallel_ok): Allow add/tx ... to be done in parallel with
5960484Sobrien	another add/tx ... assuming the gpr registers don't overlap.
6060484Sobrien	(md_assemble): Use exec type enumeration values, not hard coded
6160484Sobrien	ints.  Check for loads or 16-bit multiplies following in the next
6260484Sobrien	cycle after a 32-bit multiply.  Add nops if that is the case.
6360484Sobrien	(do_assemble): Copy prev_mul32_p to cur_mul32_p, and set
6460484Sobrien	cur_mul32_p if current instruction is a 32-bit multiply.
6560484Sobrien	(find_format): Change spacing and layout.
6660484Sobrien
6760484SobrienTue Dec 16 16:55:45 1997  Fred Fish  <fnf@cygnus.com>
6860484Sobrien
6960484Sobrien	* config/tc-tic80.c (tic80_relax): New static variable.
7060484Sobrien	(md_longopts): Add new OPTION_RELAX and OPTION_NO_RELAX options.
7160484Sobrien	(md_parse_option): Handle new relax options.
7260484Sobrien	(md_show_usage): Document new relax options.
7360484Sobrien	(find_opcode): Don't use short forms of PC relative branches if
7460484Sobrien	tic80_relax is set.
7560484Sobrien
7660484SobrienTue Dec 16 15:26:03 1997  Michael Meissner  <meissner@cygnus.com>
7760484Sobrien
7860484Sobrien	* config/tc-d30v.c (parallel_ok): Remove non-register bits from
7960484Sobrien	used/set flag fields.  Make flag vars unsigned long.  Use
8060484Sobrien	FLAG_A{0,1} for accumulators.  Allow any 2 insns to be done in
8160484Sobrien	parallel if they use the same conditional flag with reversed
8260484Sobrien	meaning.  Allow 2 add/sub insns that set the carry or overflow
8360484Sobrien	flags but do not query them to be done in parallel.  Don't allow 2
8460484Sobrien	word store operations to be done in parallel with ADDppp or
8560484Sobrien	SUBppp.  Don't allow loads to be done in parallel with 16 bit
8660484Sobrien	multiplies.
8760484Sobrien
8860484SobrienTue Dec 16 09:20:43 1997  Nick Clifton  <nickc@cygnus.com>
8960484Sobrien
9060484Sobrien	* config/tc-arm.c: Prevent use of interworking support for
9160484Sobrien	non-COFF targets.
9260484Sobrien
9360484SobrienMon Dec 15 15:20:32 1997  Nick Clifton  <nickc@cygnus.com>
9460484Sobrien
9560484Sobrien	* doc/all.texi: Add M32R cpu.
9660484Sobrien
9760484Sobrien	* doc/as.texinfo: Add documentation of m32r processor.
9860484Sobrien
9960484Sobrien	* doc/c-m32r.texi: New file, documenting m32r specific features.  
10060484Sobrien
10160484Sobrien
10260484SobrienMon Dec 15 10:32:28 1997  Jeffrey A Law  (law@cygnus.com)
10360484Sobrien
10460484Sobrien	* config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
10560484Sobrien	the instruction.
10660484Sobrien
10760484SobrienFri Dec 12 11:44:20 1997  Fred Fish  <fnf@cygnus.com>
10860484Sobrien
10960484Sobrien	* config/tc-tic80.c (build_insn): Handle instructions that have
11060484Sobrien	long (32 bit) PC relative offsets.  Fix places that previously
11160484Sobrien	misused R_MPPCR for 15 bit offsets to use the new R_MPPCR15W type.
11260484Sobrien	(md_apply_fix): Add case to handle long PC relative offsets.
11360484Sobrien
11460484SobrienFri Dec 12 10:35:01 1997  Nick Clifton  <nickc@cygnus.com>
11560484Sobrien
11660484Sobrien	* doc/c-arm.texi (ARM Options): Document support for new ARM
11760484Sobrien	processor names.
11860484Sobrien
11960484Sobrien	* config/tc-arm.c (md_parse_option): Add support for new ARM
12060484Sobrien	processor names.
12160484Sobrien
12260484SobrienThu Dec 11 17:46:50 1997  Richard Henderson  <rth@cygnus.com>
12360484Sobrien
12460484Sobrien	* config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
12560484Sobrien	(insop, m68k_ip): Make `opcode' const so it doesn't happen again.
12660484Sobrien
12760484SobrienFri Dec  5 11:23:59 1997  Nick Clifton  <nickc@cygnus.com>
12860484Sobrien
12960484Sobrien	* config/tc-v850.c (md_assemble): Fix BFD_RELOC_32 against a
13060484Sobrien	symbol + offset.
13160484Sobrien
13260484Sobrien	* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Use
13360484Sobrien	SHT_V850_{S|T|Z}COMMON to mark special common sections.
13460484Sobrien
13560484SobrienTue Dec  2 17:05:13 1997  Nick Clifton  <nickc@cygnus.com>
13660484Sobrien
13760484Sobrien	* config/tc-v850.c: Brought up to date with the branch.
13860484Sobrien
13960484SobrienMon Dec  1 20:24:18 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
14060484Sobrien
14160484Sobrien	* config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
14260484Sobrien	(SWITCH_TABLE): Handle BFD_RELOC_8.
14360484Sobrien	(md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
14460484Sobrien	(coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
14560484Sobrien	(sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
14660484Sobrien
14760484SobrienSat Nov 22 16:19:22 1997  Richard Henderson  <rth@cygnus.com>
14860484Sobrien
14960484Sobrien	* tc-alpha.c (range_signed_16, range_signed_32): Work around an
15060484Sobrien	apparent bug in gcc's long long support crossing from x86.
15160484Sobrien
15260484SobrienSat Nov 22 14:26:09 1997  Nick Clifton  <nickc@cygnus.com>
15360484Sobrien
15460484Sobrien	* config/tc-arm.c: Brought up to date with latest changes on arm
15560484Sobrien	branch. 
15660484Sobrien
15760484SobrienSat Nov 22 15:50:09 1997  Klaus Kaempf  <kkaempf@progis.de>
15860484Sobrien
15960484Sobrien	* config-gas.com: Get version info from configure.in.
16060484Sobrien
16160484Sobrien	* makefile.vms: include depend.obj in OBJS.
16260484Sobrien
16360484Sobrien	* config/tc-alpha.c (s_alpha_section): Remove ".lcomm" handling.
16460484Sobrien
16560484Sobrien	* config/tc-alpha.c (alpha_basereg_clobbered): Remove variable and
16660484Sobrien	all corresponding code.
16760484Sobrien
16860484SobrienThu Nov 20 15:06:08 1997  Richard Earnshaw <rearnsha@arm.com>
16960484Sobrien
17060484Sobrien	* config/tc-arm.h (TARGET_FORMAT for generic a.out targets): Allow
17160484Sobrien	run-time endian selection.
17260484Sobrien
17360484SobrienWed Nov 19 17:44:42 1997  Richard Henderson  <rth@cygnus.com>
17460484Sobrien
17560484Sobrien        * tc-sh.c (parse_reg): Properly quote for fv4.
17660484Sobrien
17760484SobrienWed Nov 19 23:46:18 1997  Ian Lance Taylor  <ian@cygnus.com>
17860484Sobrien
17960484Sobrien	* symbols.c (resolve_symbol_value): Add missing breaks in case on
18060484Sobrien	symbol value operator.
18160484Sobrien
18260484SobrienTue Nov 18 18:45:14 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
18360484Sobrien
18460484Sobrien	* config/tc-d10v.c (parallel_ok, find_opcode): 
18560484Sobrien	Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
18660484Sobrien
18760484SobrienSun Nov 16 10:05:07 1997  Fred Fish  <fnf@cygnus.com>
18860484Sobrien
18960484Sobrien	* config/obj-coff.c (fixup_segment): Cast second arg of
19060484Sobrien	md_apply_fix3 call to type "valueT *".
19160484Sobrien
19260484SobrienThu Nov 13 13:53:10 1997  Andrew Cagney  <cagney@b1.cygnus.com>
19360484Sobrien
19460484Sobrien	* configure.in (emulations): Make FreeBSD an aout / i386bsd
19560484Sobrien 	variant.
19660484Sobrien	* configure: Re-generate.
19760484Sobrien	
19860484SobrienThu Nov 13 11:07:14 1997  Gavin Koch  <gavin@cygnus.com>
19960484Sobrien
20060484Sobrien	* config/tc-mips.c (macro_build): Use the membership field
20160484Sobrien	for INSN_MACRO's.
20260484Sobrien	(mips_ip): Same.
20360484Sobrien
20460484SobrienThu Nov 13 02:04:55 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
20560484Sobrien
20660484Sobrien	* config/tc-d10v.c (find_opcode): For OPCODE_FAKE, add check for
20760484Sobrien	first argument if it's supposed to be a register.
20860484Sobrien
20960484SobrienTue Nov 11 19:25:05 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
21060484Sobrien
21160484Sobrien	* app.c (do_scrub_chars):  If d10v, re-insert a space before
21260484Sobrien	a '#' when in state 10.
21360484Sobrien
21460484SobrienTue Nov 11 13:33:15 1997  Ian Lance Taylor  <ian@cygnus.com>
21560484Sobrien
21660484Sobrien	* config/tc-h8300.c: Include "subsegs.h".
21760484Sobrien	(tc_reloc_mangle): Handle references to symbols which are not
21860484Sobrien	being output, so that references to `.' work.
21960484Sobrien
22060484SobrienMon Nov 10 13:43:33 1997  Ian Lance Taylor  <ian@cygnus.com>
22160484Sobrien
22260484Sobrien	* config/tc-m68k.c (m68k_ip): Call add_fix when needed for '_'
22360484Sobrien	case.
22460484Sobrien
22560484Sobrien	* macro.c (sub_actual): If we don't find a parameter for an &,
22660484Sobrien	just substitute &.
22760484Sobrien
22860484SobrienFri Nov  7 21:29:32 1997  Ken Raeburn  <raeburn@cygnus.com>
22960484Sobrien
23060484Sobrien	* config/tc-mips.c (mips_ip): In default case, call as_bad
23160484Sobrien	instead of fprintf, to get "assembler messages:" message output
23260484Sobrien	before instead of after.
23360484Sobrien
23460484SobrienFri Nov  7 10:36:22 1997  Doug Evans  <devans@canuck.cygnus.com>
23560484Sobrien
23660484Sobrien	* frags.h: Handle multiple inclusion.
23760484Sobrien
23860484SobrienWed Nov  5 10:51:49 1997  Doug Evans  <devans@canuck.cygnus.com>
23960484Sobrien
24060484Sobrien	Based on a patch from Ian.Dall@dsto.defence.gov.au.
24160484Sobrien	* as.h (struct frag, frag support): Moved from here.
24260484Sobrien	* frags.h: To here.
24360484Sobrien	(struct frag, member tc_frag_data): New member if TC_FRAG_TYPE
24460484Sobrien	is defined.
24560484Sobrien	(struct frag, member fr_cgen): Renamed from fr_targ.cgen.
24660484Sobrien	* cgen.c (cgen_asm_finish_insn): Update.
24760484Sobrien	* config/tc-m32r.c (md_estimate_size_before_relax): Update.
24860484Sobrien	* config/tc-m32r.h (TC_FRAG_INIT): Renamed from md_init_frag.
24960484Sobrien	(md_convert_frag): Ditto.
25060484Sobrien	* config/tc-ns32k.h (TC_FRAG_TYPE): Define.
25160484Sobrien	(frag_opcode_frag,frag_opcode_offset,frag_bsr): Update.
25260484Sobrien	(TC_FRAG_INIT): Update.
25360484Sobrien
25460484SobrienTue Nov  4 16:35:57 1997  Ian Dall  <Ian.Dall@dsto.defence.gov.au>
25560484Sobrien
25660484Sobrien	* write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to
25760484Sobrien	print out MD fields of fix.
25860484Sobrien	* frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if
25960484Sobrien 	defined) to initialize MD fields in frag.
26060484Sobrien	* as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k.
26160484Sobrien	Delete pcrel_adjust.  Add fr_opcode_fragP, fr_opcode_offset.
26260484Sobrien	* config/tc-ns32k.h: Add comments. Remove obsolete
26360484Sobrien 	BFD_FAST_SECTION_FILL definition, change prototypes for
26460484Sobrien 	fix_new_ns32k and fix_new_ns32k_exp to add new arguments
26560484Sobrien 	opcode_frag and opcode_offset and remove pcrel_adjust.
26660484Sobrien	(TC_FIX_TYPE): add opcode_fragP and opcode_offset fields.
26760484Sobrien	(TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE.
26860484Sobrien	(TC_FRAG_INIT): new macro to initialize machine dependent field in
26960484Sobrien 	frags.
27060484Sobrien	(frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access
27160484Sobrien 	MD fields in frag structure.
27260484Sobrien	(fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset,
27360484Sobrien 	fix_bsr): macros to access MD fields in fix structure.
27460484Sobrien	* config/tc-ns32k.c: Avoid overlength lines. Align comments.  Don't
27560484Sobrien 	use struct opcode_location as these fields are now in the frag
27660484Sobrien	structure.
27760484Sobrien	(convert_iif): Call frag_more as it is needed instead
27860484Sobrien 	of trying to allocate for the whole insn. Avoid call of frag_more
27960484Sobrien 	with negative argument.
28060484Sobrien	(md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix,
28160484Sobrien	md_estimate_size_before_relax, md_pcrel_from,
28260484Sobrien	tc_aout_fix_to_chars): use accessor macros to get md fields in fix
28360484Sobrien 	and frag structures.
28460484Sobrien	(fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and
28560484Sobrien	opcode_offset and remove pcrel_adjust.
28660484Sobrien	(convert_iif, cons_fix_new_ns32k): call fix_new_ns32k,
28760484Sobrien 	fix_new_ns32k_exp with changed arguments.
28860484Sobrien
28960484SobrienMon Nov  3 13:30:17 1997  Gavin Koch  <gavin@cygnus.com>
29060484Sobrien
29160484Sobrien	* tc-mips.c (md_begin): Reorganize setting of default values so
29260484Sobrien	that mips_cpu depends on TARGET_CPU, and mips_opts.isa depends on
29360484Sobrien	mips_cpu.
29460484Sobrien	(md_parse_option): Remove all code that sets defaults; md_begin
29560484Sobrien	handles all of this now.
29660484Sobrien
29760484SobrienSun Nov  2 14:46:09 1997  Ian Lance Taylor  <ian@cygnus.com>
29860484Sobrien
29960484Sobrien	* Makefile.am (STAGESTUFF): Change bin_PROGRAMS to
30060484Sobrien	noinst_PROGRAMS.
30160484Sobrien	(bootstrap, bootstrap2, bootstrap3): Likewise.
30260484Sobrien	* Makefile.in: Rebuild.
30360484Sobrien
30460484Sobrien	* config/tc-ppc.c (ppc_fix_adjustable): Don't adjust relocs in the
30560484Sobrien	TOC section to be against the csect.
30660484Sobrien
30760484SobrienFri Oct 31 18:19:55 1997  Ken Raeburn  <raeburn@cygnus.com>
30860484Sobrien
30960484Sobrien	* config/tc-mips.c (validate_mips_insn): New function, checks
31060484Sobrien	match versus mask bits, and also verifies that all bits to be
31160484Sobrien	output are actually specified somewhere.
31260484Sobrien	(md_begin): Call it for 32-bit instructions, instead of doing
31360484Sobrien	match/mask check here.  In case of failure, print a message, but
31460484Sobrien	check the rest of the opcode table before exiting.
31560484Sobrien
31660484SobrienThu Oct 30 13:46:20 1997  Nick Clifton  <nickc@cygnus.com>
31760484Sobrien
31860484Sobrien	* config/tc-arm.c (md_apply_fix3): Fix thumb ADR pseudo op.  Patch
31960484Sobrien	from Tony Thompson at ARM: athompso@arm.com
32060484Sobrien
32160484SobrienThu Oct 30 11:11:26 1997  Michael Meissner  <meissner@cygnus.com>
32260484Sobrien
32360484Sobrien	* config/tc-d30v.c (build_insn): Allow odd registers for ld2w and
32460484Sobrien	friends.
32560484Sobrien
32660484SobrienFri Oct 24 15:56:47 1997  Ian Lance Taylor  <ian@cygnus.com>
32760484Sobrien
32860484Sobrien	* config/tc-ppc.c (md_assemble): When handling @l, always sign
32960484Sobrien	extend if the operand expects a signed value.
33060484Sobrien
33160484Sobrien	* config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
33260484Sobrien	default which is to permit dollar labels.
33360484Sobrien
33460484SobrienFri Oct 24 11:19:22 1997  Jakub Jelinek  <jj@sunsite.mff.cuni.cz>
33560484Sobrien
33660484Sobrien	* config/tc-sparc.c (sparc_memory_model): New variable.
33760484Sobrien	(md_longopts): Add -TSO/-PSO/-RMO options.
33860484Sobrien	(md_parse_options): Handle them.
33960484Sobrien	(sparc_elf_final_processing): For 64 ELF, set required
34060484Sobrien	memory ordering in e_flags. Default to RMO and let the user
34160484Sobrien	override it through command line.
34260484Sobrien
34360484Sobrien	* config/tc-sparc.h (elf_tc_final_processing): Add.
34460484Sobrien
34560484SobrienWed Oct 22 17:42:12 1997  Richard Henderson  <rth@cygnus.com>
34660484Sobrien
34760484Sobrien	* config/tc-sparc.c (v9a_asr_table): New variable.
34860484Sobrien	(sparc_ip): Handle v9a asr's.
34960484Sobrien	Patch from David Miller <davem@vger.rutgers.edu>.
35060484Sobrien
35160484SobrienWed Oct 22 17:22:59 1997  Richard Henderson  <rth@cygnus.com>
35260484Sobrien
35360484Sobrien	* config/tc-sparc.h (md_do_align): New macro.
35460484Sobrien	* config/tc-sparc.c (sparc_handle_align): Handle rs_align_code.
35560484Sobrien	Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>.
35660484Sobrien
35760484SobrienWed Oct 22 12:51:18 1997  Ian Lance Taylor  <ian@cygnus.com>
35860484Sobrien
35960484Sobrien	* config/tc-sh.c (sh_small): New variable.
36060484Sobrien	(OPTION_SMALL): Define.
36160484Sobrien	(md_longopts): Add "small".
36260484Sobrien	(md_parse_option): Handle OPTION_SMALL.
36360484Sobrien	(md_show_usage): Mention -small.
36460484Sobrien	* config/tc-sh.h (sh_small): Declare.
36560484Sobrien	(SUB_SEGMENT_ALIGN): Handle sh_small.
36660484Sobrien	* config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
36760484Sobrien	case.
36860484Sobrien
36960484Sobrien	* config/tc-mips.c (macro): Correct handling of constant in M_LI_D
37060484Sobrien	case in little endian mode.
37160484Sobrien
37260484SobrienTue Oct 21 10:20:11 1997  Doug Evans  <devans@canuck.cygnus.com>
37360484Sobrien
37460484Sobrien	* config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
37560484Sobrien	overflow signalling to linker.
37660484Sobrien
37760484SobrienMon Oct 20 14:54:06 1997  Klaus K"ampf  <kkaempf@progis.de>
37860484Sobrien
37960484Sobrien	* makefile.vms: Fix for dec c.
38060484Sobrien
38160484Sobrien	* config-gas.com: Give explanation for dec c setup in error
38260484Sobrien	message.
38360484Sobrien
38460484Sobrien	* config/tc-alpha.c (s_alpha_comm): Make .comm symbols separate
38560484Sobrien	sections on openvms/alpha.
38660484Sobrien
38760484Sobrien	* config/obj-evax.c: support .weak pseudo-op
38860484Sobrien
38960484SobrienMon Oct 20 10:13:32 1997  Doug Evans  <devans@canuck.cygnus.com>
39060484Sobrien
39160484Sobrien	* config/tc-sparc.c (default_arch_size): New static local.
39260484Sobrien	(struct sparc_arch): Rename arch_size to default_arch_size.
39360484Sobrien	New member user_option_p.
39460484Sobrien	(sparc_arch_table): Always include v9, v9a.  New entry v9-64.
39560484Sobrien	(init_default_arch): Check whether default arch is valid.
39660484Sobrien	Set default_arch_size in addition to sparc_arch_size.
39760484Sobrien	(OPTION_32,OPTION_64): Define.
39860484Sobrien	(md_longopts): New entries for -32, -64.
39960484Sobrien	(md_parse_option): Handle them.
40060484Sobrien	(md_show_usage): Print them.  Ensure init_default_arch called.
40160484Sobrien	* configure.in (sparc64): Set arch to v9-64.
40260484Sobrien	* configure: Regenerated.
40360484Sobrien
40460484SobrienSun Oct 19 13:50:50 1997  Ian Lance Taylor  <ian@cygnus.com>
40560484Sobrien
40660484Sobrien	* write.c (subsegs_finish): New function, broken out of
40760484Sobrien	write_object_file.
40860484Sobrien	(write_object_file): Some code moves into subsegs_finish.
40960484Sobrien	* write.c (subsegs_finish): Declare.
41060484Sobrien	* as.c (main): Call subsegs_finish.
41160484Sobrien
41260484Sobrien	* read.c (s_include): Check for error return from
41360484Sobrien	demand_copy_string.
41460484Sobrien
41560484SobrienTue Oct 14 20:50:58 1997  Richard Henderson  <rth@cygnus.com>
41660484Sobrien
41760484Sobrien	* read.c (get_line_sb): Accept any eol marker while scanning macros.
41860484Sobrien
41960484SobrienTue Oct 14 19:12:45 1997  Richard Henderson  <rth@cygnus.com>
42060484Sobrien
42160484Sobrien	* config/tc-alpha.h (DIFF_EXPR_OK): Define.
42260484Sobrien	* config/tc-i386.h (DIFF_EXPR_OK): Define.
42360484Sobrien	* config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
42460484Sobrien	the correct relocation when it exists.
42560484Sobrien	* config/tc-i386.c (md_apply_fix3): Likewise.
42660484Sobrien
42760484Sobrien	* config/tc-ppc.h: Correct typo in comment.
42860484Sobrien	* config/tc-v850.h: Likewise.
42960484Sobrien
43060484SobrienFri Oct 10 16:09:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
43160484Sobrien
43260484Sobrien	* config/tc-d10v.c (parallel_ok): Allow parallel instruction issue
43360484Sobrien 	when second instruction is writing to first instructions inputs.
43460484Sobrien	
43560484SobrienMon Oct 13 15:27:17 1997  Richard Henderson  <rth@cygnus.com>
43660484Sobrien
43760484Sobrien	* ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
43860484Sobrien	templated programs to build with -g.
43960484Sobrien
44060484SobrienFri Oct 10 17:48:29 1997  Nick Clifton  <nickc@cygnus.com>
44160484Sobrien
44260484Sobrien	* config/tc-v850.c (md_relax_table): Add support for relaxing
44360484Sobrien	unconditional branches.  This patch is courtesy of Jim Wilson. 
44460484Sobrien	(md_convert_frag): Fix relaxing of branches.  This patch is
44560484Sobrien	courtesy of Jim Wilson.
44660484Sobrien	(md_assemble): Create different fixups for conditional and
44760484Sobrien	unconditional branches.  This patch is courtesy of Jim Wilson.
44860484Sobrien	(md_estimate_size_before_relax): Estimate size of variable part of
44960484Sobrien	fixup based on whether it is for a conditional or an unconditional
45060484Sobrien	branch.  This patch is courtesy of Jim Wilson.
45160484Sobrien	(v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
45260484Sobrien	v850_zbss, v850_rosdata, v850_rozdata, v850_bss): Add call to
45360484Sobrien	obj_elf_section_change_hook(). 
45460484Sobrien	(v850_comm): New function.
45560484Sobrien	(md_pseudo_table): Add new pseudo ops .zcomm, .scomm and .tcomm.
45660484Sobrien	(md_begin): Add bss flag to seg_info of bss sections.
45760484Sobrien
45860484Sobrien	Add support for .scommon, .tcommon and .zcommon sections.
45960484Sobrien
46060484Sobrien	* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add .scommon,
46160484Sobrien	.zcommon, .tbss, .call_table_data and .call_table_text.
46260484Sobrien
46360484SobrienFri Oct 10 15:01:14 1997  Doug Evans  <dje@canuck.cygnus.com>
46460484Sobrien
46560484Sobrien	* configure.in (sparc): Set DEFAULT_ARCH from correct target.
46660484Sobrien	* configure: Regenerated.
46760484Sobrien
46860484SobrienFri Oct 10 11:22:45 1997  Martin M. Hunt  <hunt@cygnus.com>
46960484Sobrien
47060484Sobrien	* config/tc-d10v.c: Fixes to make sure the AT_WORD
47160484Sobrien	expression is not confused with -1.
47260484Sobrien
47360484SobrienFri Oct 10 11:54:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
47460484Sobrien
47560484Sobrien	* config/tc-d10v.c (parallel_ok): Flag SP as modified for @-sp
47660484Sobrien 	operand - OPERAND_ATMINUS.
47760484Sobrien
47860484SobrienFri Oct 10 00:47:44 1997  Michael Meissner  <meissner@cygnus.com>
47960484Sobrien
48060484Sobrien	* config/tc-d10v.c (parallel_ok): Note that auto increment and
48160484Sobrien	decrement modify the index register.
48260484Sobrien
48360484SobrienThu Oct  9 15:17:50 1997  Ian Lance Taylor  <ian@cygnus.com>
48460484Sobrien
48560484Sobrien	From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
48660484Sobrien	* config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
48760484Sobrien	68336, 68341, 68349.
48860484Sobrien	* doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
48960484Sobrien	-m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
49060484Sobrien	-m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
49160484Sobrien	-m68349.
49260484Sobrien
49360484Sobrien	* doc/Makefile.am (CPU_DOCS): Define.
49460484Sobrien	(as.info): Depend upon $(CPU_DOCS).
49560484Sobrien	* doc/Makefile.in: Rebuild.
49660484Sobrien
49760484Sobrien	* configure.in: Remove AM_PROG_INSTALL; it's called by
49860484Sobrien	AM_INIT_AUTOMAKE.
49960484Sobrien	* configure: Rebuild.
50060484Sobrien
50160484SobrienThu Oct  9 01:44:36 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
50260484Sobrien
50360484Sobrien	* tc-d10v.h (TC_START_LABEL): Don't define.
50460484Sobrien	(tc_frob_label): Define.
50560484Sobrien
50660484SobrienThu Oct  9 00:07:23 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
50760484Sobrien
50860484Sobrien	* config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
50960484Sobrien	to pair a branch and link with anything but an exe instruction.
51060484Sobrien
51160484SobrienWed Oct  8 16:28:53 1997  Richard Henderson  <rth@cygnus.com>
51260484Sobrien
51360484Sobrien	* config/tc-alpha.c (load_expression): Disable the sym+const .got
51460484Sobrien	optimization to reduce the alignment surprises for gcc.
51560484Sobrien
51660484SobrienWed Oct  8 16:11:15 1997  Doug Evans  <dje@canuck.cygnus.com>
51760484Sobrien
51860484Sobrien	* config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
51960484Sobrien	* config/tc-sparc.c (sparc_target_format): Handle coff here.
52060484Sobrien	(sparc_ip): Add %hix,%lox.
52160484Sobrien	(md_apply_fix3): Call as_bad_where, not as_bad.
52260484Sobrien	Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
52360484Sobrien	(tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
52460484Sobrien
52560484SobrienWed Oct  8 12:33:32 1997  Richard Henderson  <rth@cygnus.com>
52660484Sobrien
52760484Sobrien	* configure.in: Change alpha-*-* to alpha*-*-*; config.guess now
52860484Sobrien	recognizes alphaev5 etc.
52960484Sobrien	* configure: Rebuild.
53060484Sobrien
53160484SobrienWed Oct  8 00:04:05 1997  Gavin Koch  <gavin@cygnus.com>
53260484Sobrien
53360484Sobrien	* config/tc-mips.c (md_begin): Replace the TARGET_CPU value
53460484Sobrien	of mipsr3900 with mipstx39.
53560484Sobrien
53660484Sobrien	* config/tc-mips.c (mips_ip): Don't print the 'opcode requires 
53760484Sobrien	-mipsXX message' if the insn isn't an ISA insn.
53860484Sobrien
53960484SobrienTue Oct  7 12:48:30 1997  Doug Evans  <dje@canuck.cygnus.com>
54060484Sobrien
54160484Sobrien	* config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
54260484Sobrien	Redefine TARGET_FORMAT to call sparc_target_format.
54360484Sobrien	* config/tc-sparc.c (in_unsigned_range): New function.
54460484Sobrien	(sparc_arch_size): Make static.
54560484Sobrien	(sparc_target_format): New function.
54660484Sobrien	(sparc_ip): Delete variable immediate_max.  Rewrite %hi/etc reloc
54760484Sobrien	handling.  Add support for %hh,%hm,%lm,%h44,%m44,%l44.
54860484Sobrien	(output_insn): Set `fx_no_overflow'.
54960484Sobrien	(md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
55060484Sobrien	(tc_gen_reloc): Likewise.
55160484Sobrien
55260484SobrienMon Oct  6 14:04:50 1997  Nick Clifton  <nickc@cygnus.com>
55360484Sobrien
55460484Sobrien	* config/tc-v850.c (v850_section): Remove.
55560484Sobrien
55660484Sobrien	* config/obj-elf.c (obj_elf_section): Enhance error message.
55760484Sobrien
55860484SobrienFri Oct  3 15:40:38 1997  Ian Lance Taylor  <ian@cygnus.com>
55960484Sobrien
56060484Sobrien	* config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
56160484Sobrien	including obj-elf.h in OBJ_MAYBE_ELF case.
56260484Sobrien	(mips_target_format): Return NULL after abort to avoid warning.
56360484Sobrien
56460484Sobrien	* ecoff.c (generate_ecoff_stab): Remove unused static function.
56560484Sobrien
56660484Sobrien	* expr.c (operator): Accept ==.  From Anders Blomdell
56760484Sobrien	<anders.blomdell@control.lth.se>.
56860484Sobrien
56960484Sobrien	* config/atof-ieee.c (gen_to_words): When generating a denormal
57060484Sobrien	number, handle an overflow into the smallest normalized number.
57160484Sobrien
57260484SobrienMon Sep 29 15:24:52 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
57360484Sobrien
57460484Sobrien	* as.h, input-scrub.c (new_logical_line): New return value.
57560484Sobrien	* read.c (s_app_file): Don't note the same file several times
57660484Sobrien	in a row.
57760484Sobrien
57860484SobrienThu Sep 25 13:08:02 1997  Ian Lance Taylor  <ian@cygnus.com>
57960484Sobrien
58060484Sobrien	* config/tc-m68k.c (m68k_ip): Remove ` operand specifier.
58160484Sobrien
58260484SobrienWed Sep 24 16:54:40 1997  Joel Sherrill  <joel@oarcorp.com>
58360484Sobrien
58460484Sobrien        * configure.in (sh*-*-rtems*): New target, like sh-*-elf*.
58560484Sobrien	* configure: Rebuild.
58660484Sobrien
58760484SobrienWed Sep 24 11:30:25 1997  Ian Lance Taylor  <ian@cygnus.com>
58860484Sobrien
58960484Sobrien	* config/tc-m68k.c (m68k_ip): Handle q and v operand specifiers.
59060484Sobrien
59160484Sobrien	* doc/c-i386.texi (i386-Float): Remove incorrect assertion that
59260484Sobrien	fn* instructions do not insert implicit fwait.  This was changed
59360484Sobrien	Jan 29, 1996.
59460484Sobrien
59560484Sobrien	* config/m68k-parse.y (yylex): Permit an expression to be used for
59660484Sobrien	the scale factor.
59760484Sobrien
59860484Sobrien	* Makefile.am (EXTRA_as_new_SOURCES): Set to config/m68k-parse.y,
59960484Sobrien	not m68k-parse.y.
60060484Sobrien	* Makefile.in: Rebuild.
60160484Sobrien
60260484Sobrien	* aclocal.m4: Rebuild with new libtool.
60360484Sobrien	* configure: Rebuild.
60460484Sobrien
60560484SobrienTue Sep 23 17:48:09 1997  Ian Lance Taylor  <ian@cygnus.com>
60660484Sobrien
60760484Sobrien	* app.c (do_scrub_chars): Clear mri_state at end of .mri
60860484Sobrien	pseudo-op.
60960484Sobrien
61060484Sobrien	* config/tc-mips.c (hilo_interlocks): Change from a static
61160484Sobrien	variable to a macro, so that it varies with the variables upon
61260484Sobrien	which it depends.
61360484Sobrien	(gpr_interlocks, cop_interlocks): Likewise.
61460484Sobrien	(md_begin): Don't initialize them.
61560484Sobrien
61660484SobrienFri Sep 19 17:08:41 1997  Jeffrey A Law  (law@cygnus.com)
61760484Sobrien
61860484Sobrien	* config/tc-mn10300.c (md_assemble): Use strcasecomp instead
61960484Sobrien	of strcmp where appropriate.
62060484Sobrien
62160484SobrienThu Sep 18 14:11:56 1997  Nick Clifton  <nickc@cygnus.com>
62260484Sobrien
62360484Sobrien	* config/tc-v850.c (md_assemble): Cope with a zero data area
62460484Sobrien	relocation with a constant offset.
62560484Sobrien	(md_assemble): Produce error message when special data area
62660484Sobrien	relocations are used on instructions which do not support them.
62760484Sobrien	(md_assemble): Reset processor mask if defined by command line
62860484Sobrien	switch. 
62960484Sobrien
63060484SobrienThu Sep 18 11:24:01 1997  Doug Evans  <dje@canuck.cygnus.com>
63160484Sobrien
63260484Sobrien	* config/tc-sparc.c: Reorganize file.
63360484Sobrien	(parse_keyword_arg): Allow numbers in reg names.
63460484Sobrien	(SPECIAL_CASE_NONE): New macro.
63560484Sobrien	(md_assemble): Use it.
63660484Sobrien	(lookup_arch,init_default_arch): New functions.
63760484Sobrien	(default_arch,default_init_p,sparc_arch_table): New static locals.
63860484Sobrien	(sparc_arch_size): New static local.
63960484Sobrien	(max_architecture): Initialize in init_default_arch.
64060484Sobrien	(md_parse_options): Call init_default_arch if necessary.
64160484Sobrien	Rewrite -xarch/-A processing.
64260484Sobrien	(md_show_usage): Print -A values from sparc_arch_table.
64360484Sobrien	(md_begin): Call init_default_arch if necessary.
64460484Sobrien	(sparc_md_end): Handle both 32 and 64 bit environments.
64560484Sobrien	* config/tc-sparc.h (TARGET_FORMAT): Likewise.
64660484Sobrien	* acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
64760484Sobrien	(DEFAULT_ARCH): Add.
64860484Sobrien	* config.in: Regenerate.
64960484Sobrien	* configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
65060484Sobrien	(SPARC_V9,SPARC_ARCH64): Delete.
65160484Sobrien	* configure: Regenerate.
65260484Sobrien	* config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.
65360484Sobrien
65460484SobrienWed Sep 17 16:54:20 1997  Nick Clifton  <nickc@cygnus.com>
65560484Sobrien
65660484Sobrien	* config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ ()
65760484Sobrien	macro. 
65860484Sobrien	(handle_tdaoff, handle_zdaoff, handle_sdaoff): New functions.
65960484Sobrien
66060484Sobrien	* config/tc-v850.c (md_assemble): Corrected typo.
66160484Sobrien	* config/tc-v850.c Add new sections: call_table_data and
66260484Sobrien	call_table_text.
66360484Sobrien	(v850_reloc_prefix): Add support for ctoff() relocation prefix. 
66460484Sobrien	(handle_ctoff): New Function.
66560484Sobrien
66660484Sobrien	* doc/c-v850.texi (V850 Opcodes): Document call table relocations.
66760484Sobrien
66860484SobrienTue Sep 16 14:18:22 1997  Nick Clifton  <nickc@cygnus.com>
66960484Sobrien
67060484Sobrien	* config/tc-v850.c (v850_reloc_prefix): Add support for a 16 bit
67160484Sobrien	displacement from the tiny data area pointer.
67260484Sobrien
67360484SobrienMon Sep 15 21:28:09 1997  Jeffrey A Law  (law@cygnus.com)
67460484Sobrien
67560484Sobrien	* config/tc-hppa.c (fix_new_hppa): Make declaration match
67660484Sobrien	definition.
67760484Sobrien
67860484SobrienMon Sep 15 18:33:06 1997  Nick Clifton  <nickc@cygnus.com>
67960484Sobrien
68060484Sobrien	* config/tc-v850.c (processor_mask): New variable.
68160484Sobrien	(set_machine, md_parse_option): Set processor_mask.
68260484Sobrien	(md_assemble): Check that instruction is available to target
68360484Sobrien	processor. 
68460484Sobrien
68560484Sobrien	* config/tc-v850.h (TARGET_PROCESSOR): New constant.
68660484Sobrien
68760484SobrienMon Sep 15 11:28:04 1997  Ken Raeburn  <raeburn@cygnus.com>
68860484Sobrien
68960484Sobrien	Merge in work from Martin Hunt:
69060484Sobrien
69160484Sobrien	* config/tc-d30v.c (build_insn): For mvfsys and mvtsys,
69260484Sobrien	CR is 0 for PSWL and PSWH.
69360484Sobrien
69460484Sobrien	* config/tc-d30v.c (do_assemble): Don't accept
69560484Sobrien	illegal condition codes for cmpu instruction.
69660484Sobrien
69760484Sobrien	* config/tc-d30v.c: Add support for BFD_RELOC_D30V_9_PCREL
69860484Sobrien	used in d*i instructions.
69960484Sobrien
70060484Sobrien	* config/tc-d30v.c (check_size): New function.  Check
70160484Sobrien	relocations for overflows.
70260484Sobrien	(md_pcrel_from_section): Fix relocations between sections.
70360484Sobrien	(md_apply_fix3): Use new relocation types for 15 and 21
70460484Sobrien	bit relocations in the right container. Needed because
70560484Sobrien	the address of the instruction is not eight-byte aligned
70660484Sobrien	but the relocations must be.
70760484Sobrien
70860484Sobrien	* config/tc-d30v.c (md_apply_fix3): Check for overflow.
70960484Sobrien	(find_format): If ".s" or ".l" are used, don't try
71060484Sobrien	to compute branch sizes.
71160484Sobrien
71260484Sobrien	* config/tc-d30v.c (do_assemble): Check for ".s" or
71360484Sobrien	".l" extensions to opcode names.
71460484Sobrien	(find_format): Generate the correct instructions when
71560484Sobrien	".s" or ".l" are used.
71660484Sobrien
71760484Sobrien	* config/tc-d30v.c (build_insn): Check for odd registers
71860484Sobrien	on instructions that require even registers.
71960484Sobrien
72060484Sobrien	* config/tc-d30v.h (md_start_line_hook): Define.
72160484Sobrien	* config/tc-d30v.c (md_start_line_hook): New hook.
72260484Sobrien	Checks the beginning of each line for a ".".  If it
72360484Sobrien	finds one, assume a pseudo-op and flush any unwritten
72460484Sobrien	instructions.
72560484Sobrien
72660484Sobrien	* config/tc-d30v.c (md_apply_fix3): Fix problem
72760484Sobrien	with determining when fixups were done.
72860484Sobrien
72960484Sobrien	* config/tc-d30v.c (build_insn): Fix bug where the numeric
73060484Sobrien	part of a symbol (for example, "foo+8") was being written
73160484Sobrien	into the instruction.
73260484Sobrien	(md_pseudo_table): Change .word to be 32 bits and add
73360484Sobrien	.hword as 16 bits.
73460484Sobrien
73560484Sobrien	* config/tc-d30v.c (parallel_ok): Check to see if first
73660484Sobrien	instruction is a jump.
73760484Sobrien
73860484Sobrien	* config/tc-d30v.c (parallel_ok): Major code reorganization.
73960484Sobrien
74060484SobrienWed Sep 10 10:07:08 1997  Nick Clifton  <nickc@cygnus.com>
74160484Sobrien
74260484Sobrien	* config/tc-v850.c (md_assemble): Corrected spelling mistake.
74360484Sobrien	* configure.in (emulations): Add v850 emulation.
74460484Sobrien
74560484SobrienTue Sep  9 17:14:33 1997  Doug Evans  <dje@canuck.cygnus.com>
74660484Sobrien
74760484Sobrien	* Makefile.am (CPU_TYPES): Add arc.
74860484Sobrien	(TARGET_CPU_CFILES): Add tc-arc.c.
74960484Sobrien	(TARGET_CPU_HFILES): Add tc-arc.h.
75060484Sobrien	(dependencies): Rebuild.
75160484Sobrien	* Makefile.in: Rebuild.
75260484Sobrien	* configure.in: Recognize arc-*-elf*.
75360484Sobrien	* configure: Regenerated.
75460484Sobrien	* config/tc-arc.[ch]: New files.
75560484Sobrien
75660484SobrienTue Sep  9 10:19:37 1997  Nick Clifton  <nickc@cygnus.com>
75760484Sobrien
75860484Sobrien	* doc/c-v850.texi (V850 Opcodes): Document hi0() reloc prefix.
75960484Sobrien	Correct description of hi() reloc prefix.
76060484Sobrien
76160484Sobrien	* doc/c-v850.texi (V850 Opcodes): Document new reloc prefix.
76260484Sobrien	* config/tc-v850.c (v850_reloc_prefix): Add hilo() reloc prefix.
76360484Sobrien	* config/tc-v850.c (md_assemble): Add support for BFD_RELOC_32.
76460484Sobrien
76560484Sobrien	* doc/c-v850.texi: Document new pseudo ops and command line
76660484Sobrien	options.
76760484Sobrien
76860484Sobrien	* config/tc-v850.c (set_machine): New function.
76960484Sobrien	* config/tc-v850.c (.v850): New pseudo op.
77060484Sobrien	* config/tc-v850.c (.v850e): New pseudo op.
77160484Sobrien	* config/tc-v850.c (.v850ea): New pseudo op.
77260484Sobrien	
77360484Sobrien
77460484SobrienMon Sep  8 23:08:04 1997  Ian Lance Taylor  <ian@cygnus.com>
77560484Sobrien
77660484Sobrien	Support -alh and -ald for DWARF 1:
77760484Sobrien	* listing.c (struct list_info_struct): Add debugging field.
77860484Sobrien	(listing_newline): Initialize the debugging field.  If ELF, if the
77960484Sobrien	section starts with .debug or .line, set the debugging field in
78060484Sobrien	the listing structure.
78160484Sobrien	(debugging_pseudo): Add list parameter.  Change all callers.  If
78260484Sobrien	the debugging field is set, consider it to be a debugging pseudo.
78360484Sobrien	If ELF, skip blank lines between debugging lines.
78460484Sobrien	* read.c (emit_expr): If ELF, look for line numbers.
78560484Sobrien	(stringer): If ELF, look for file names.
78660484Sobrien
78760484SobrienMon Sep  8 12:33:40 1997  Nick Clifton  <nickc@cygnus.com>
78860484Sobrien
78960484Sobrien	* config/tc-v850.c (v850_insert_operand): Only test for overflow
79060484Sobrien	if there is no insert function.
79160484Sobrien
79260484Sobrien	* config/tc-v850.h (TARGET_MACHINE): New constant.
79360484Sobrien
79460484Sobrien	* config/tc-v850.c (v850_insert_operand): Add
79560484Sobrien	-mwarn_unsigned_overflow. 
79660484Sobrien	(md_begin): Set BFD machine number based on machine variable.
79760484Sobrien	(md_parse_option): Add -mv850, -mv850e and -mv850ea options.
79860484Sobrien
79960484SobrienMon Sep  8 11:20:46 1997  Ian Lance Taylor  <ian@cygnus.com>
80060484Sobrien
80160484Sobrien	* as.h: Don't declare alloca if it is a macro.
80260484Sobrien	* macro.c: Likewise.
80360484Sobrien
80460484SobrienSun Sep  7 00:30:19 1997  Richard Henderson  <rth@cygnus.com>
80560484Sobrien
80660484Sobrien        * config/tc-alpha.c (md_parse_option): Move m[] out to top level and
80760484Sobrien        rename to cpu_types[].
80860484Sobrien        (s_alpha_arch): New function.
80960484Sobrien        (md_pseudo_table): Add "arch".
81060484Sobrien
81160484Sobrien        * config/tc-alpha.c (md_begin): Merge the two loops through the
81260484Sobrien        opcode table.
81360484Sobrien        (s_alpha_proc): Add initial SKIP_WHITESPACE.
81460484Sobrien        (s_alpha_set): Likewise.  Use get_symbol_end instead local while loop.
81560484Sobrien
81660484SobrienSat Sep  6 19:38:12 1997  Fred Fish  <fnf@cygnus.com>
81760484Sobrien
81860484Sobrien	* read.h (s_lcomm_bytes): Add prototype (for real this time).
81960484Sobrien
82060484SobrienThu Sep  4 12:10:01 1997  Ian Lance Taylor  <ian@cygnus.com>
82160484Sobrien
82260484Sobrien	* config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for
82360484Sobrien	symbols on Irix.
82460484Sobrien
82560484SobrienWed Sep  3 11:21:33 1997  Nick Clifton  <nickc@cygnus.com>
82660484Sobrien
82760484Sobrien	* config/tc-v850.c: Remove BFD_RELOC_V850_16_PCREL.
82860484Sobrien
82960484SobrienTue Sep  2 18:32:30 1997  Jeffrey A Law  (law@cygnus.com)
83060484Sobrien
83160484Sobrien        * config/tc-mn10200.c (md_convert_frag): PC relative instructions arex
83260484Sobrien	relative to the next instruction, not the current instruction.
83360484Sobrien	(md_assemble): Similarly.
83460484Sobrien
83560484SobrienTue Sep  2 15:58:52 1997  Nick Clifton  <nickc@cygnus.com>
83660484Sobrien
83760484Sobrien	* doc/c-v850.texi: Explanations of offsets in SDA/ZDA areas
83860484Sobrien	correcetd. 
83960484Sobrien
84060484Sobrien	* config/tc-v850.c: Add support for SDA/TDA/ZDA sections.
84160484Sobrien	(v850_reloc_prefix): Duplicate code eliminated.  Add code to
84260484Sobrien	recognise special instructions.
84360484Sobrien	(md_assemble): Calculation of the size of a fixups corrected.
84460484Sobrien
84560484Sobrien	* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add SDA/TDA/ZDA
84660484Sobrien	sections. 	
84760484Sobrien
84860484SobrienTue Sep  2 15:40:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
84960484Sobrien
85060484Sobrien	* config/tc-v850.c (md_assemble): Use opcode->name instead of
85160484Sobrien 	opcode->opcode as the sentinal. Zero is a valid opcode.
85260484Sobrien
85360484SobrienTue Aug 26 16:51:14 1997  Ian Lance Taylor  <ian@cygnus.com>
85460484Sobrien
85560484Sobrien	* doc/as.texinfo (Machine Dependencies): Add v850 to menu.
85660484Sobrien	* doc/c-v850.texi: Change node name to match other chapter nodes.
85760484Sobrien
85860484SobrienTue Aug 26 09:46:22 1997  Nick Clifton  <nickc@cygnus.com>
85960484Sobrien
86060484Sobrien	* doc/c-v850.texi (V850 Opcodes): Correct name for tiny data area
86160484Sobrien	pointer. 
86260484Sobrien
86360484SobrienTue Aug 26 12:23:25 1997  Ian Lance Taylor  <ian@cygnus.com>
86460484Sobrien
86560484Sobrien	* expr.c (integer_constant): If BFD64, don't make a bignum if the
86660484Sobrien	number will fit in 64 bits.
86760484Sobrien
86860484Sobrien	* config/tc-alpha.c (load_expression): Check explicitly for O_big,
86960484Sobrien	rather than calling abort.
87060484Sobrien
87160484Sobrien	* as.h: Don't define alloca if __GNUC__.  Just declare it.
87260484Sobrien	* macro.c: Copy alloca handling from as.h.
87360484Sobrien
87460484Sobrien	* config/tc-i386.c (i386_align_code): Correct 16 bit noops.  From
87560484Sobrien	Gabriel Paubert <paubert@iram.es>.
87660484Sobrien
87760484Sobrien	* config/tc-i386.c (md_assemble): In JumpByte case, when looking
87860484Sobrien	for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
87960484Sobrien	is jcxz or a loop instruction.
88060484Sobrien
88160484SobrienMon Aug 25 16:04:14 1997  Nick Clifton  <nickc@cygnus.com>
88260484Sobrien
88360484Sobrien	* config/tc-v850.c (pre_defined_registers): Add 'hp' as alias for
88460484Sobrien	r2.
88560484Sobrien	(md_begin): Set up machine architecture and type.
88660484Sobrien
88760484SobrienMon Aug 25 14:25:48 1997  Ian Lance Taylor  <ian@cygnus.com>
88860484Sobrien
88960484Sobrien	* symbols.c (resolve_symbol_value): Store the value back into the
89060484Sobrien	symbol expression, to handle add or subtract simplification
89160484Sobrien	correctly.  Handle O_symbol_rva.  Add default case.
89260484Sobrien
89360484Sobrien	* config/tc-ppc.c (ppc_change_csect): Temporarily lower the
89460484Sobrien	chunksize while creating the new subsection.
89560484Sobrien	* as.c (chunksize): Initialize to zero.
89660484Sobrien	* subsegs.c (subseg_set_rest): Change 5000 to chunksize when
89760484Sobrien	calling obstack_begin.
89860484Sobrien
89960484SobrienMon Aug 25 11:21:48 1997  Nick Clifton  <nickc@cygnus.com>
90060484Sobrien
90160484Sobrien	* config/tc-v850.c (md_assemble): Restore input_line_pointer upon
90260484Sobrien	exit. 
90360484Sobrien	
90460484Sobrien	* config/tc-v850.c (parse_register_list): Support constant
90560484Sobrien	expressions as register lists.
90660484Sobrien
90760484SobrienMon Aug 25 10:19:34 1997  Nick Clifton  <nickc@cygnus.com>
90860484Sobrien
90960484Sobrien	* doc/c-v850.texi: Change the major node to v850 Machine
91060484Sobrien	Dependencies. 
91160484Sobrien
91260484SobrienFri Aug 22 11:16:14 1997  Nick Clifton  <nickc@cygnus.com>
91360484Sobrien
91460484Sobrien	* doc/as.texinfo: Add inclusion of c-v850.texi
91560484Sobrien
91660484Sobrien	* doc/c-v850.texi: New file.
91760484Sobrien
91860484Sobrien	* read.c (is_end_of_line): Make NUL character be considered to be
91960484Sobrien	a line terminator.
92060484Sobrien
92160484SobrienFri Aug 22 10:45:33 1997  Nick Clifton  <nickc@cygnus.com>
92260484Sobrien
92360484Sobrien	* config/tc-v850.c (parse_register_list): Add support for curly
92460484Sobrien	brace syntax.
92560484Sobrien	(cc_names): Add "e" and "ne" conditions.
92660484Sobrien
92760484SobrienThu Aug 21 11:00:36 1997  Nick Clifton  <nickc@cygnus.com>
92860484Sobrien
92960484Sobrien	* app.c (do_scrub_chars): Support a double dash as starting a
93060484Sobrien	comment that extends to end of line.
93160484Sobrien
93260484SobrienThu Aug 21 10:54:27 1997  Nick Clifton  <nickc@cygnus.com>
93360484Sobrien
93460484Sobrien	* config/tc-v850.c (v850_section, v850_bss, v850_offset): New
93560484Sobrien	functions.
93660484Sobrien	(md_pseudo_table): New pseudo ops: .bss, .offset, .section
93760484Sobrien
93860484SobrienThu Aug 21 00:59:53 1997  Doug Evans  <dje@canuck.cygnus.com>
93960484Sobrien
94060484Sobrien	* config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
94160484Sobrien	insn when changing to a different instruction.
94260484Sobrien
94360484SobrienWed Aug 20 00:45:20 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
94460484Sobrien
94560484Sobrien	* tc-sh.c (parse_reg, get_specific, build_Mytes): Add SH4
94660484Sobrien	floating point extensions.
94760484Sobrien	(parse_reg): parse sgr and dbr.
94860484Sobrien
94960484SobrienTue Aug 19 17:07:34 1997  Nick Clifton  <nickc@cygnus.com>
95060484Sobrien
95160484Sobrien	* config/tc-v850.c (system_register_name): Support numbers for
95260484Sobrien	system register IDs.
95360484Sobrien
95460484SobrienTue Aug 19 08:59:12 1997  Fred Fish  <fnf@cygnus.com>
95560484Sobrien
95660484Sobrien	* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
95760484Sobrien	flag when alignment is in bytes instead of power of 2, and code to
95860484Sobrien	use that flag to convert alignment to bytes.
95960484Sobrien	(s_lcomm, s_lcomm_bytes):  New helpers that call s_lcomm_internal.
96060484Sobrien	* read.h (s_lcomm_bytes): Add prototype.
96160484Sobrien	* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
96260484Sobrien	defined, write alignment to alignment bits in section header s_flags
96360484Sobrien	rather than the s_align field.
96460484Sobrien	* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
96560484Sobrien	* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
96660484Sobrien	pseudo, instead of s_lcomm which wants a power of two for alignment.
96760484Sobrien
96860484SobrienMon Aug 18 20:42:23 1997  Richard Henderson  <rth@cygnus.com>
96960484Sobrien
97060484Sobrien	* macro.c (check_macro): use alloca instead of xmalloc to plug leak.
97160484Sobrien
97260484SobrienMon Aug 18 20:33:06 1997  Richard Henderson  <rth@cygnus.com>
97360484Sobrien
97460484Sobrien	* as.c (show_usage): Add -am.
97560484Sobrien	* input-scrub.c (input_scrub_include_sb): Don't add leading \n
97660484Sobrien	if we've already got one.
97760484Sobrien	* listing.c (struct list_info_struct): Add line_contents.
97860484Sobrien	(listing_newline): Put unused argument to work: if non-null, save it...
97960484Sobrien	(listing_listing): ... and regurgitate during listing instead of line
98060484Sobrien	from file.
98160484Sobrien	* listing.h (LISTING_MACEXP): New define.
98260484Sobrien	(LISTING_NEWLINE): Argument is NULL.
98360484Sobrien	* read.c (read_a_source_file): If expanding macros, break up input
98460484Sobrien	lines and pass them to listing_newline.
98560484Sobrien	* doc/as.texinfo: Document -ac and -am.
98660484Sobrien
98760484Sobrien	* cond.c (s_ifc): Add missing demand_empty_rest_of_line.
98860484Sobrien
98960484SobrienMon Aug 18 11:26:36 1997  Nick Clifton  <nickc@cygnus.com>
99060484Sobrien
99160484Sobrien	* config/tc-v850.c (md_apply_fix3): Add support for new 16 bit PC
99260484Sobrien	relative reloc.
99360484Sobrien
99460484SobrienMon Aug 18 11:24:21 1997  Nick Clifton  <nickc@cygnus.com>
99560484Sobrien
99660484Sobrien	* config/tc-v850.c: Remove support_v850e flag and command line
99760484Sobrien	option. 
99860484Sobrien	
99960484Sobrien	* configure.in (emulations): Add support for v850e target
100060484Sobrien
100160484Sobrien	* configure (emulations): Add support for v850e target
100260484Sobrien
100360484SobrienMon Aug 18 11:24:21 1997  Nick Clifton  <nickc@cygnus.com>
100460484Sobrien
100560484Sobrien	* config/tc-v850.c: Remove support_v850ea flag and command line
100660484Sobrien	option. 
100760484Sobrien	
100860484Sobrien	* configure.in (emulations): Add support for v850ea target
100960484Sobrien
101060484Sobrien	* configure (emulations): Add support for v850ea target
101160484Sobrien
101260484SobrienFri Aug 15 14:00:13 1997  Ian Lance Taylor  <ian@cygnus.com>
101360484Sobrien
101460484Sobrien	* Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
101560484Sobrien	setting EXPECT and TCL_LIBRARY.
101660484Sobrien	* Makefile.in: Rebuild.
101760484Sobrien
101860484Sobrien	* as.h (enum debug_info_type): Define.
101960484Sobrien	(debug_type): Declare.
102060484Sobrien	* as.c (debug_type): New global variable.
102160484Sobrien	(show_usage): Add --gstabs.
102260484Sobrien	(parse_args): Handle --gstabs.
102360484Sobrien	* read.c (generate_asm_lineno): Remove.
102460484Sobrien	(read_a_source_file): Output stabs debugging if appropriate.
102560484Sobrien	Change checks of generate_asm_lineno to check debug_type.  Only
102660484Sobrien	generate ECOFF debugging if ECOFF_DEBUGGING is defined.
102760484Sobrien	* read.h (generate_asm_lineno): Don't declare.
102860484Sobrien	(stabs_generate_asm_lineno): Declare.
102960484Sobrien	* stabs.c (stabs_generate_asm_lineno): New function.
103060484Sobrien	* ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
103160484Sobrien	Don't turn off debugging.
103260484Sobrien	(add_file): Remove old #if 0 code.
103360484Sobrien	(ecoff_new_file): Set debug_type, not generate_asm_lineno.
103460484Sobrien	(ecoff_directive_end): Don't generate stabs line symbols.
103560484Sobrien	(ecoff_generate_asm_lineno): Don't check stabs_seen.  Don't set
103660484Sobrien	generate_asm_lineno.
103760484Sobrien	(line_label_cnt): Remove.
103860484Sobrien	(ecoff_generate_asm_line_stab): Remove.
103960484Sobrien	* ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
104060484Sobrien	* doc/as.texinfo, doc/as.1: Document --gstabs.
104160484Sobrien
104260484SobrienWed Aug 13 18:58:56 1997  Nick Clifton  <nickc@cygnus.com>
104360484Sobrien
104460484Sobrien	* config/tc-v850.c (md_assemble, md_show_usage, md_parse_option):
104560484Sobrien	Add support for v850ea instructions.
104660484Sobrien
104760484Sobrien	* config/tc-v850.c (md_assemble, md_show_usage, md_parse_option):
104860484Sobrien	Add support for v850e instructions.
104960484Sobrien	
105060484Sobrien	* config/tc-v850.c (md_assemble): Fix error recovery to reload
105160484Sobrien	text of entire opcode. 
105260484Sobrien
105360484SobrienTue Aug 12 10:27:34 1997  Richard Henderson  <rth@cygnus.com>
105460484Sobrien
105560484Sobrien	* doc/internals.texi: Document rs_leb128.
105660484Sobrien
105760484SobrienTue Aug 12 12:17:03 1997  Ian Lance Taylor  <ian@cygnus.com>
105860484Sobrien
105960484Sobrien	* config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
106060484Sobrien	in ABSL case, rather than calling abort.
106160484Sobrien
106260484SobrienMon Aug 11 21:48:00 1997  Richard Henderson  <rth@cygnus.com>
106360484Sobrien
106460484Sobrien	* as.h (enum _relax_state): Add rs_leb128.
106560484Sobrien	* read.c (potable): Add sleb128 and uleb128.
106660484Sobrien	(sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
106760484Sobrien	functions.
106860484Sobrien	* read.h: Update prototypes.
106960484Sobrien	* symbols.c (resolve_symbol_value): Streamline quite a bit.  Return
107060484Sobrien	the symbol value, add a second FINALIZE argument that prevents 
107160484Sobrien	changes from being comitted.  Update all callers.
107260484Sobrien	* write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
107360484Sobrien	* doc/as.texinfo: Document the new pseudos.
107460484Sobrien
107560484SobrienSun Aug 10 14:51:49 1997  Ian Lance Taylor  <ian@cygnus.com>
107660484Sobrien
107760484Sobrien	* Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
107860484Sobrien	stage1, and stage2.
107960484Sobrien	(DISTCLEANFILES): Define.
108060484Sobrien	* doc/Makefile.am (DISTCLEANFILES): Define.
108160484Sobrien	* Makefile.in, doc/Makefile.in: Rebuild.
108260484Sobrien
108360484SobrienWed Aug  6 00:30:30 1997  Ian Lance Taylor  <ian@cygnus.com>
108460484Sobrien
108560484Sobrien	* configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.
108660484Sobrien	Don't set targ or gas_target.  Define SCO_ELF and
108760484Sobrien	TARGET_SOLARIS_COMMENT when appropriate.  Don't substitute for
108860484Sobrien	target_frag.
108960484Sobrien	* Makefile.am: Remove @target_frag@.
109060484Sobrien	(INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and
109160484Sobrien	$(TDEFINES).
109260484Sobrien	(dep-am): Mark as phony.
109360484Sobrien	* acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT,
109460484Sobrien	and SCO_ELF.
109560484Sobrien	* config/arm-big.mt, config/arm-lit.mt: Remove.
109660484Sobrien	* config/mips-big.mt, config/mips-lit.mt: Remove.
109760484Sobrien	* config/ppc-big.mt, config/ppc-lit.mt: Remove.
109860484Sobrien	* config/ppc-sol.mt: Remove.
109960484Sobrien	* config/i386coff.mt, config/m68kcoff.mt: Remove.
110060484Sobrien	* config/m88kcoff.mt: Remove.
110160484Sobrien	* config/sco5.mt: Remove.
110260484Sobrien	* configure, config.in, Makefile.in: Rebuild.
110360484Sobrien
110460484Sobrien	* Makefile.am ($(srcdir)/config/m68k-parse.h): New target, to
110560484Sobrien	further try to circumvent the .y.h rule.
110660484Sobrien	* Makefile.in: Rebuild.
110760484Sobrien
110860484SobrienTue Aug  5 12:32:07 1997  Ian Lance Taylor  <ian@cygnus.com>
110960484Sobrien
111060484Sobrien	* Makefile.am: New file, based on old Makefile.in.
111160484Sobrien	* acinclude.m4: New file, from old aclocal.m4.
111260484Sobrien	* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
111360484Sobrien	shared library handling; now handled by libtool.  Replace
111460484Sobrien	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
111560484Sobrien	AC_PROG_LEX, and AC_DECL_YYTEXT.  Call AM_MAINTAINER_MODE,
111660484Sobrien	AM_CYGWIN32, and AM_EXEEXT.  Don't call CY_CYGWIN32 or CY_EXEEXT.
111760484Sobrien	* config.in: New file, created by autoheader.
111860484Sobrien	* conf.in: Remove.
111960484Sobrien	* acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN.
112060484Sobrien	* stamp-h.in: New file.
112160484Sobrien	* as.c (print_version_id): Change GAS_VERSION to VERSION.
112260484Sobrien	(parse_args): Likewise.
112360484Sobrien	* config/obj-vms.c: (Write_VMS_MHD_Records): Likewise.
112460484Sobrien	* doc/Makefile.am: New file, based on old doc/Makefile.in.
112560484Sobrien	* Makefile.in, doc/Makefile.in: Now built with automake.
112660484Sobrien	* aclocal.m4: Now built with aclocal.
112760484Sobrien	* configure: Rebuild.
112860484Sobrien
112960484Sobrien	* cond.c (s_else): If not listing false conditionals, turn listing
113060484Sobrien	off in the false branch of the else.
113160484Sobrien
113260484SobrienMon Aug  4 11:28:35 1997  Ian Lance Taylor  <ian@cygnus.com>
113360484Sobrien
113460484Sobrien	* config/tc-mips.c (macro): Fix handling of a double load from a
113560484Sobrien	symbol plus an offset.
113660484Sobrien
113760484Sobrien	* ecoff.c (ecoff_build_symbols): Set fMerge to 0 for an FDR which
113860484Sobrien	has an associated external symbol.
113960484Sobrien
114060484SobrienSun Aug  3 23:23:59 1997  Richard Henderson  <rth@cygnus.com>
114160484Sobrien 
114260484Sobrien        * config/tc-alpha.c (s_alpha_ucons): New function.
114360484Sobrien        (md_pseudo_table): Add unaligned data pseudos for DWARF.
114460484Sobrien
114560484SobrienThu Jul 31 15:13:43 1997  Jeffrey A Law  (law@cygnus.com)
114660484Sobrien
114760484Sobrien	* config/tc-v850.c (md_assemble): Ignore the rest of the current
114860484Sobrien	line if we encounter an error.
114960484Sobrien
115060484Sobrien	* config/tc-v850.c (md_assemble): Sign extend constants value
115160484Sobrien	for hi and hi0 expressions.
115260484Sobrien	(v850_insert_operand): Enable range checking for generic 16bit
115360484Sobrien	operands.
115460484Sobrien
115560484SobrienTue Jul 29 14:20:43 1997  Jeffrey A Law  (law@cygnus.com)
115660484Sobrien
115760484Sobrien	* config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
115860484Sobrien	LO16, HI16 and HI16_S relocs.
115960484Sobrien
116060484SobrienMon Jul 28 18:41:41 1997  Rob Savoye  <rob@chinadoll.cygnus.com>
116160484Sobrien
116260484Sobrien        * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
116360484Sobrien        win32 dependencies.
116460484Sobrien        * configure: Regenerated with autoconf 2.12.
116560484Sobrien        * Makefile.in: Add $(EXEEXT) to all executables.
116660484Sobrien
116760484SobrienFri Jul 25 10:54:43 1997  Jeffrey A Law  (law@cygnus.com)
116860484Sobrien
116960484Sobrien	* tc-hppa.c (md_apply_fix): Improve warnings for out of range
117060484Sobrien	unconditional branches.
117160484Sobrien	(hppa_fix_adjustable): Don't adjust anything with a RR% or LR%
117260484Sobrien	field selector.
117360484Sobrien
117460484SobrienThu Jul 24 15:21:49 1997  Doug Evans  <dje@canuck.cygnus.com>
117560484Sobrien
117660484Sobrien	* tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert.
117760484Sobrien
117860484SobrienThu Jul 24 17:51:29 1997  Ian Lance Taylor  <ian@cygnus.com>
117960484Sobrien
118060484Sobrien	* macro.c (define_macro): Make sure the index is in range before
118160484Sobrien	checking for '('.
118260484Sobrien
118360484SobrienThu Jul 24 12:13:19 1997  Fred Fish  <fnf@cygnus.com>
118460484Sobrien
118560484Sobrien	* config/tc-tic80.c (build_insn): Remove "extended" and replace with
118660484Sobrien 	"fx" and "fxfrag".  Add "ffrag".  Change code to initialize and use
118760484Sobrien	the right f/ffrag and fx/fxfrag pairs since instruction may be split
118860484Sobrien 	across frags.
118960484Sobrien
119060484SobrienTue Jul 22 18:38:56 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
119160484Sobrien
119260484Sobrien	* config/te-go32.h (USE_ALIGN_PTWO): Define.
119360484Sobrien	* config/tc-i386.c (md_pseudo_table): If USE_ALIGN_PTWO is
119460484Sobrien	defined, use s_align_ptwo for .align.
119560484Sobrien	* configure.in (i386-*-msdosdjgpp*): New target.
119660484Sobrien	(i386-*-go32*): Set em to go32 and targ to coffgo32.
119760484Sobrien	* configure: Rebuild.
119860484Sobrien
119960484SobrienTue Jul 22 12:41:40 1997  Doug Evans  <dje@canuck.cygnus.com>
120060484Sobrien
120160484Sobrien	* config/tc-sparc.c (last_opcode): New static local.
120260484Sobrien	(md_assemble): Don't issue "FP branch in delay slot" warning if
120360484Sobrien	the delay slot has been annulled.
120460484Sobrien
120560484SobrienTue Jul 22 13:25:13 1997  Ian Lance Taylor  <ian@cygnus.com>
120660484Sobrien
120760484Sobrien	* config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
120860484Sobrien	code if BFD_ASSEMBLER.
120960484Sobrien
121060484SobrienMon Jul 21 08:57:17 1997  Jeffrey A Law  (law@cygnus.com)
121160484Sobrien
121260484Sobrien	* config/tc-v850.c (system_registers): Fix ordering of registers.
121360484Sobrien
121460484SobrienTue Jul 15 16:29:54 1997  Fred Fish  <fnf@cygnus.com>
121560484Sobrien
121660484Sobrien	* config/tc-tic80.c (build_insn): Initialize extended word to zero
121760484Sobrien	when it will be filled in later by relocation information.
121860484Sobrien
121960484SobrienMon Jul 14 23:10:58 1997  Ian Lance Taylor  <ian@cygnus.com>
122060484Sobrien
122160484Sobrien	* config/tc-mips.c (macro_build): Restore check of fmt argument.
122260484Sobrien	(mips_ip): Fix ISA checks.
122360484Sobrien
122460484SobrienMon Jul 14 19:30:55 1997  Fred Fish  <fnf@cygnus.com>
122560484Sobrien
122660484Sobrien	* config/tc-tic80.c (build_insn): Fix endianness problem with
122760484Sobrien	O_big operands.
122860484Sobrien
122960484SobrienSun Jul 13 20:43:46 1997  Ian Lance Taylor  <ian@cygnus.com>
123060484Sobrien
123160484Sobrien	* config/tc-mips.c (check_absolute_expr): Change warning to
123260484Sobrien	error.
123360484Sobrien
123460484SobrienFri Jul 11 10:18:47 1997  Jeffrey A Law  (law@cygnus.com)
123560484Sobrien
123660484Sobrien	* config/tc-mips.c (macro_build): Refine code to check if an
123760484Sobrien	instruction is available on a particular cpu variant.
123860484Sobrien	(mips_ip): Likewise.
123960484Sobrien
124060484SobrienMon Jul  7 22:53:08 1997  Ian Lance Taylor  <ian@cygnus.com>
124160484Sobrien
124260484Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
124360484Sobrien	OBJ_AOUT to ifdef OBJ_ELF.
124460484Sobrien	(md_apply_fix3): When mangling 32 bit PC relative reloc for
124560484Sobrien	BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
124660484Sobrien	case.
124760484Sobrien	* write.c (fixup_segment): Change special case for i386-coff to
124860484Sobrien 	not apply for i386-pe.
124960484Sobrien	* config/obj-coff.c (coff_adjust_section_syms): Only count fixups
125060484Sobrien	which were not done.
125160484Sobrien	(coff_frob_file_after_relocs): Rename from coff_frob_file.
125260484Sobrien	(coff_format_ops): Initialize frob_file_after_relocs field rather
125360484Sobrien	than frob_file field.
125460484Sobrien	* config/obj-coff.h (coff_frob_file): Don't declare.
125560484Sobrien	(coff_frob_file_after_relocs): Declare.
125660484Sobrien	(obj_frob_file): Don't define.
125760484Sobrien	(obj_frob_file_after_relocs): Define.
125860484Sobrien	* configure.in: Set bfd_gas to yes for i386-*-cygwin32.
125960484Sobrien	* configure: Rebuild.
126060484Sobrien
126160484SobrienWed Jul  2 12:05:00 1997  Ian Lance Taylor  <ian@cygnus.com>
126260484Sobrien
126360484Sobrien	* config/obj-coff.c (fixup_segment): Never subtract section
126460484Sobrien	address from PC relative reloc which will be fully resolved.
126560484Sobrien
126660484SobrienTue Jul  1 15:23:07 1997  Jeffrey A Law  (law@cygnus.com)
126760484Sobrien
126860484Sobrien	* ecoff.c (page_type): Renamed from page_t to avoid conflict
126960484Sobrien	with hpux10 header files.
127060484Sobrien
127160484SobrienMon Jun 30 12:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
127260484Sobrien
127360484Sobrien	From Jason Merrill <jason@cygnus.com>:
127460484Sobrien	* read.c (do_align): If BFD_ASSEMBLER, only use NOP_OPCODE if
127560484Sobrien	SEC_CODE is set.
127660484Sobrien	* config/tc-i386.h (md_maybe_text): Define.
127760484Sobrien	(md_do_align): Use md_maybe_text.
127860484Sobrien
127960484SobrienFri Jun 27 19:15:27 1997  Michael Meissner  <meissner@cygnus.com>
128060484Sobrien
128160484Sobrien	* config/tc-ppc.h (tc_fix_adjustable): Only check for GOT type
128260484Sobrien	relocations, don't check for symbol being external, weak, etc.
128360484Sobrien
128460484SobrienMon Jun 16 19:12:51 1997  Geoff Keating  <geoffk@ozemail.com.au>
128560484Sobrien
128660484Sobrien	* config/tc-ppc.h (tc_fix_adjustable): Don't let the assembler
128760484Sobrien	calculate relocations to any external symbol, because we might be
128860484Sobrien	linking a shared object and the symbol might be overriden or moved
128960484Sobrien	(for instance, moved into a static executable's .bss section).
129060484Sobrien	(GLOBAL_OFFSET_TABLE_NAME): Delete. This is an i386 wierdness.
129160484Sobrien
129260484Sobrien	* config/tc-ppc.h (tc_fix_adjustable): GOT-based relocations can't
129360484Sobrien	be calculated by the assembler.
129460484Sobrien
129560484Sobrien	* config/tc-ppc.c (md_apply_fix3): Handle @plt or @local branch
129660484Sobrien	whose destination lies in the same file, by ignoring the @plt or
129760484Sobrien	@local and aiming the branch at its destination.
129860484Sobrien
129960484SobrienMon Jun 16 13:59:18 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
130060484Sobrien
130160484Sobrien	* symbols.c (copy_symbol_attributes): Copy BSF_OBJECT flag.
130260484Sobrien	* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy size
130360484Sobrien	expression.
130460484Sobrien
130560484Sobrien	* config/obj-multi.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define instead
130660484Sobrien	of obj_copy_symbol_attributes.
130760484Sobrien
130860484SobrienMon Jun 16 12:45:56 1997  Ian Lance Taylor  <ian@cygnus.com>
130960484Sobrien
131060484Sobrien	* config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with a
131160484Sobrien	signed operand, sign extend a 32 bit value to the host size.
131260484Sobrien
131360484Sobrien	* Makefile.in (CFLAGS): Subsitute from configure script.  From
131460484Sobrien	Jeff Makey <jeff@cts.com>.
131560484Sobrien
131660484Sobrien	* config/tc-i386.c (i386_operand): Use alloca rather than a fixed
131760484Sobrien	buffer size to make a copy of the symbol.
131860484Sobrien
131960484Sobrien	* Makefile.in (OBJS): Put @extra_objects@ on the same line as
132060484Sobrien	macro.o.
132160484Sobrien
132260484SobrienThu Jun 12 12:16:20 1997  Ian Lance Taylor  <ian@cygnus.com>
132360484Sobrien
132460484Sobrien	* write.c (write_object_file): In non BFD_ASSEMBLER code, as we
132560484Sobrien	step through the frags calling cvt_frag_to_fill, switch to
132660484Sobrien	SEG_DATA when we reach data_frag_root.
132760484Sobrien
132860484SobrienTue Jun 10 17:08:34 1997  Jeffrey A Law  (law@cygnus.com)
132960484Sobrien
133060484Sobrien	* config/tc-mn10300.c (md_assemble): Allow an empty register
133160484Sobrien	list for instructions which use register lists.
133260484Sobrien
133360484SobrienTue Jun 10 11:18:09 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
133460484Sobrien
133560484Sobrien	* config/tc-arm.c (md_apply_fix3): Make temp unsigned long.
133660484Sobrien
133760484Sobrien	* config/tc-arm.c (arm_adjust_symtab): Only set storage classes if
133860484Sobrien	OBJ_COFF.
133960484Sobrien
134060484Sobrien	* config/tc-arm.c: Add prototypes for many static functions.
134160484Sobrien	(struct asm_opcode ): Add prototypes for parms field.
134260484Sobrien	(struct thumb_opcode ): Likewise.
134360484Sobrien	(fp_op2): Remove unused flags parameter.
134460484Sobrien	(output_inst): Make static.
134560484Sobrien	(arm_after_pass_hook): Remove unused ignore parameter.
134660484Sobrien	* config/tc-arm.h (arm_after_pass_hook): Declare.
134760484Sobrien	(arm_start_line_hook): Declare.
134860484Sobrien	(arm_frob_label): Declare.
134960484Sobrien
135060484SobrienMon Jun  9 12:55:45 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
135160484Sobrien
135260484Sobrien	* depend.c (wrap_output): new prototype.
135360484Sobrien
135460484SobrienMon Jun  9 12:52:44 1997  Ian Lance Taylor  <ian@cygnus.com>
135560484Sobrien
135660484Sobrien	* config/tc-sh.c (md_apply_fix): Check for overflow.
135760484Sobrien
135860484Sobrien	* config/tc-m68k.c (md_section_align): If a.out and BFD, force
135960484Sobrien	section size to be aligned.
136060484Sobrien
136160484SobrienFri Jun  6 17:15:55 1997  Ian Lance Taylor  <ian@cygnus.com>
136260484Sobrien
136360484Sobrien	* config/tc-sh.h (md_cons_align): Define.
136460484Sobrien	(sh_cons_align): Declare.
136560484Sobrien	* config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
136660484Sobrien	(sh_no_align_cons): New static variable.
136760484Sobrien	(s_uacons): New static function.
136860484Sobrien	(sh_cons_align): New function.
136960484Sobrien	(sh_handle_align): Warn about misaligned data.
137060484Sobrien	* doc/c-sh.texi: Document .uaword and .ualong.
137160484Sobrien
137260484SobrienThu Jun  5 15:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
137360484Sobrien
137460484Sobrien	* macro.c (macro_expand): In MRI mode, treat single quote as a
137560484Sobrien	separator character when checking for a positional argument.
137660484Sobrien
137760484SobrienTue Jun  3 16:15:13 1997  Nick Clifton  <nickc@cygnus.com>
137860484Sobrien
137960484Sobrien	* config/tc-arm.c (md_parse_option): Merge in changes from
138060484Sobrien	armT-970328-branch.
138160484Sobrien
138260484Sobrien	* config/tc-arm.h: Merge in changes from armT-970328-branch.
138360484Sobrien
138460484Sobrien	* configure.in (emulations): Add Thumb architecture support from
138560484Sobrien	armT-9703-28-branch.
138660484Sobrien
138760484SobrienMon Jun  2 16:25:07 1997  Nick Clifton  <nickc@cygnus.com>
138860484Sobrien
138960484Sobrien	* doc/all.texi: Add enabling of ARM documentation.
139060484Sobrien
139160484Sobrien	* doc/as.texinfo: Add ARM documentation from armT-970328-branch.
139260484Sobrien
139360484SobrienMon Jun  2 11:55:12 1997  Gavin Koch  <gavin@cygnus.com>
139460484Sobrien
139560484Sobrien	* config/tc-mips.c: Added r3900 support.
139660484Sobrien
139760484SobrienThu May 29 12:58:26 1997  Ben Pfaff  <pfaffben@pilot.msu.edu>
139860484Sobrien
139960484Sobrien	* as.c: (parse_args) `-t' option requires an argument.
140060484Sobrien
140160484SobrienWed May 28 15:45:07 1997  Nick Clifton  <nickc@cygnus.com>
140260484Sobrien
140360484Sobrien	* config/tc-arm.c (md_begin): Change call to
140460484Sobrien	coff_arm_bfd_set_private_flags() to a call to
140560484Sobrien	bfd_set_private_flags(). 
140660484Sobrien
140760484SobrienWed May 28 16:17:34 1997  Ian Lance Taylor  <ian@cygnus.com>
140860484Sobrien
140960484Sobrien	* Makefile.in: Rebuild dependencies.
141060484Sobrien
141160484Sobrien	* config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
141260484Sobrien 	of a BFD_RELOC_RVA reloc.
141360484Sobrien
141460484SobrienWed May 28 10:48:14 1997  Jeffrey A Law  (law@cygnus.com)
141560484Sobrien
141660484Sobrien	* config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
141760484Sobrien	(hppa_force_relocation): Force a relocation for an absolute
141860484Sobrien	call/jump.
141960484Sobrien
142060484SobrienMon May 26 13:24:25 1997  Ian Lance Taylor  <ian@cygnus.com>
142160484Sobrien
142260484Sobrien	* doc/as.texinfo: Don't use @value in section names or index
142360484Sobrien	entries; it confuses texinfo.tex.
142460484Sobrien
142560484SobrienFri May 23 00:09:35 1997  Tom Tromey  <tromey@cygnus.com>
142660484Sobrien
142760484Sobrien	* doc/as.texinfo: Updated for -MD option.
142860484Sobrien	* Makefile.in (CFILES): Added depend.c.
142960484Sobrien	(OBJS): Added depend.o.
143060484Sobrien	* as.h (start_dependencies, register_dependency,
143160484Sobrien	print_dependencies): New declarations.
143260484Sobrien	* depend.c: New file.
143360484Sobrien	* as.c (parse_args): Added -MD option.
143460484Sobrien	(main): Call print_dependencies.
143560484Sobrien	(show_usage): Added help for -MD.
143660484Sobrien	* read.c (s_app_file): Call register_dependency.
143760484Sobrien	(s_include): Call register_dependency when file is found.
143860484Sobrien	(read_a_source_file): Call register_dependency.
143960484Sobrien
144060484SobrienWed May 21 17:39:28 1997  Ian Lance Taylor  <ian@cygnus.com>
144160484Sobrien
144260484Sobrien	* config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
144360484Sobrien	section address to the symbol value.
144460484Sobrien
144560484SobrienTue May 20 11:23:31 1997  Gavin Koch  <gavin@cygnus.com>
144660484Sobrien
144760484Sobrien	* config/tc-mips.c (macro_build,mips_ip): Move the INSN_ISA field
144860484Sobrien	into the new membership field.
144960484Sobrien
145060484SobrienThu May 15 10:00:53 1997  Nick Clifton  <nickc@cygnus.com>
145160484Sobrien
145260484Sobrien	* config/tc-arm.c (md_begin): If no cpu type is specified on the
145360484Sobrien	command line then the ARM7 is now chosen by default when setting
145460484Sobrien	the BFD machine and architecture.
145560484Sobrien
145660484SobrienWed May 14 09:54:53 1997  Nick Clifton  <nickc@cygnus.com>
145760484Sobrien
145860484Sobrien	* config/tc-arm.c (global variables): Added 'uses_apcs_26' flag to
145960484Sobrien	hold APCS selection.
146060484Sobrien  	(md_begin): Added code to generate flags to be set into the COFF
146160484Sobrien	header and the calls to the BFD functions to do this.
146260484Sobrien  	(md_parse_option, md_show_usage): Added new command line
146360484Sobrien	options -mapcs-32, -mapcs-26, -marmv2, -marmv2a, -marmv3,
146460484Sobrien	-marmv3m, -marmv4, -marmv4t. 
146560484Sobrien
146660484Sobrien	* tc-arm.h (LOCAL_LABEL): Removed the definition of this macro
146760484Sobrien	as it is never used.
146860484Sobrien
146960484SobrienTue May 13 22:26:14 1997  Jeffrey A Law  (law@cygnus.com)
147060484Sobrien
147160484Sobrien	* config/tc-mn10200.c (md_convert_frag): Prefix temporary
147260484Sobrien	label name with ".".
147360484Sobrien	* config/tc-mn10300.c (md_convert_frag): Likewise.
147460484Sobrien
147560484SobrienTue May 13 14:44:39 1997  Ian Lance Taylor  <ian@cygnus.com>
147660484Sobrien
147760484Sobrien	* config/tc-mips.c (set_at): Check for bignum.
147860484Sobrien	(check_absolute_expr, macro, mips16_macro): Likewise.
147960484Sobrien
148060484SobrienTue May 13 10:45:56 1997  Fred Fish  <fnf@cygnus.com>
148160484Sobrien
148260484Sobrien	* config/tc-tic80.c (md_apply_fix): Check PC relative relocations
148360484Sobrien	for overflow/underflow, only insert lower 15 bits into instruction.
148460484Sobrien
148560484SobrienMon May 12 13:33:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
148660484Sobrien
148760484Sobrien	* config/tc-i386.c (pi): Check for RegMMX.
148860484Sobrien
148960484SobrienThu May  8 11:10:15 1997  Ian Lance Taylor  <ian@cygnus.com>
149060484Sobrien
149160484Sobrien	* expr.c (expr): When subtracting values in the same frag,
149260484Sobrien	subtract X_add_number rather than adding it.
149360484Sobrien
149460484SobrienWed May  7 15:39:48 1997  Ian Lance Taylor  <ian@cygnus.com>
149560484Sobrien
149660484Sobrien	* config/obj-coff.c (write_object_file): Just pass NULL to
149760484Sobrien 	md_do_align, not the address of a char holding NOP_OPCODE.
149860484Sobrien
149960484Sobrien	* config/tc-mips.c (macro): Handle constants for M_LI_D and
150060484Sobrien	M_LI_DD.
150160484Sobrien	(mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
150260484Sobrien	than an address if the floating point value looks sufficiently
150360484Sobrien	simple.
150460484Sobrien
150560484SobrienTue May  6 12:18:09 1997  Ian Lance Taylor  <ian@cygnus.com>
150660484Sobrien
150760484Sobrien	* config/tc-i386.c (md_section_align): If a.out and BFD, force
150860484Sobrien	section size to be aligned.
150960484Sobrien
151060484SobrienMon May  5 17:16:55 1997  Ian Lance Taylor  <ian@cygnus.com>
151160484Sobrien
151260484Sobrien	* cond.c: Include "macro.h".
151360484Sobrien	(struct conditional_frame): Add macro_nest field.
151460484Sobrien	(initialize_cframe): Initialize macro_nest.
151560484Sobrien	(cond_finish_check): Add nest parameter.  Change all callers.
151660484Sobrien	(cond_exit_macro): New function.
151760484Sobrien	* as.h (cond_finish_check): Update declaration.
151860484Sobrien	(cond_exit_macro): Declare.
151960484Sobrien	* input-scrub.c (macro_nest): Make globally visible.
152060484Sobrien	(input_scrub_next_buffer): Call cond_finish_check.
152160484Sobrien	* macro.h (macro_nest): Declare.
152260484Sobrien	* read.c (s_mexit): Call cond_exit_macro.
152360484Sobrien
152460484Sobrien	* config/tc-i386.h (RegMMX): Define.
152560484Sobrien	* config/tc-i386.c (pi): Check for all register types.
152660484Sobrien	(type_names): Add RegMMX.
152760484Sobrien	(md_assemble): Handle RegMMX.
152860484Sobrien
152960484SobrienWed Apr 30 12:47:00 1997  Manfred Hollstein  <manfred@s-direktnet.de>
153060484Sobrien
153160484Sobrien	* config/obj-coff.c (c_section_symbol): Clear the LOCAL bit #ifdef
153260484Sobrien	TE_DELTA.
153360484Sobrien
153460484SobrienTue Apr 29 20:23:10 1997  Jim Wilson  <wilson@cygnus.com>
153560484Sobrien
153660484Sobrien	* config/tc-mips.c (nopic_need_relax): Add new parameter
153760484Sobrien	before_relaxing.  Use it when testing ecoff_extern_size.
153860484Sobrien	(load_address, macro, md_estimate_size_before_relax): Fix all
153960484Sobrien	callers.
154060484Sobrien
154160484SobrienTue Apr 29 19:54:36 1997  Richard Henderson  <rth@tamu.edu>
154260484Sobrien
154360484Sobrien	* config/obj-elf.c (elf_pseudo_table): Add "subsection".
154460484Sobrien 	(obj_elf_subsection): New static function.
154560484Sobrien
154660484SobrienTue Apr 29 19:52:47 1997  Ian Lance Taylor  <ian@cygnus.com>
154760484Sobrien
154860484Sobrien	* config/obj-coff.c (coff_header_append): Don't reset string_size
154960484Sobrien	each time through the loop.
155060484Sobrien
155160484SobrienFri Apr 25 14:17:46 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
155260484Sobrien
155360484Sobrien	* Makefile.in (DISTSTUFF): Add itbl-parse.h.
155460484Sobrien
155560484SobrienFri Apr 25 12:03:15 1997  Ian Lance Taylor  <ian@cygnus.com>
155660484Sobrien
155760484Sobrien	* doc/internals.texi (Porting GAS): Correct documentation for
155860484Sobrien	current configure handling of targ-cpu.h, et. al.
155960484Sobrien	(CPU backend): Document listing macros.
156060484Sobrien
156160484Sobrien	* listing.c (data_buffer): Set size based on other listing macros,
156260484Sobrien	rather than always using 100.
156360484Sobrien	(data_buffer_size): Remove static variable.
156460484Sobrien	(calc_hex): Make data_buffer_size a local variable.  Don't leave
156560484Sobrien	any slop when filling data_buffer.
156660484Sobrien
156760484SobrienMon Apr 21 15:33:19 1997  Ian Lance Taylor  <ian@cygnus.com>
156860484Sobrien
156960484Sobrien	* doc/c-mips.texi: Document .set autoextend.
157060484Sobrien
157160484SobrienSat Apr 19 23:09:25 1997  Niklas Hallqvist  <niklas@petra.appli.se>
157260484Sobrien
157360484Sobrien	* configure.in (i386-*-openbsd*, m68k-*-openbsd*,
157460484Sobrien	mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*,
157560484Sobrien	sparc-*-openbsd*): New targets.
157660484Sobrien	* configure: Rebuild.
157760484Sobrien
157860484SobrienSat Apr 19 22:52:03 1997  Jim Wilson  <wilson@cygnus.com>
157960484Sobrien
158060484Sobrien	* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
158160484Sobrien	for all undefined symbols.
158260484Sobrien
158360484SobrienFri Apr 18 13:37:35 1997  Ian Lance Taylor  <ian@cygnus.com>
158460484Sobrien
158560484Sobrien	* config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csects
158660484Sobrien	correctly.
158760484Sobrien
158860484SobrienFri Apr 18 11:51:35 1997  Niklas Hallqvist  <niklas@appli.se>
158960484Sobrien
159060484Sobrien	* configure.in (alpha*-*-openbsd*): New target.
159160484Sobrien	* configure: Rebuild.
159260484Sobrien
159360484SobrienThu Apr 17 13:59:47 1997  Per Fogelstrom  <pefo@openbsd.org>
159460484Sobrien
159560484Sobrien	* configure.in (mips-*-openbsd*): New target.
159660484Sobrien	* configure: Rebuild.
159760484Sobrien
159860484SobrienWed Apr 16 12:31:24 1997  Martin Hunt <hunt@cygnus.com>
159960484Sobrien
160060484Sobrien	* config/tc-d30v.c (parallel_ok): Fix parallel checking
160160484Sobrien	for instructions using conditional execution.
160260484Sobrien
160360484SobrienTue Apr 15 18:11:44 1997  Gavin Koch  <gavin@cygnus.com>
160460484Sobrien
160560484Sobrien	* config/tc-mips.c (insn_uses_reg): Correct test for fpr pairs.
160660484Sobrien
160760484SobrienTue Apr 15 13:04:47 1997  Ian Lance Taylor  <ian@cygnus.com>
160860484Sobrien
160960484Sobrien	* Makefile.in (srcroot): Remove.
161060484Sobrien 	(INSTALL): Set to @INSTALL@.
161160484Sobrien	(INSTALL_XFORM, INSTALL_XFORM1): Remove.
161260484Sobrien	(all, dvi): Don't set srcroot.
161360484Sobrien	(install): Depend upon as.new, gasp.new, and installdirs.  Use
161460484Sobrien	$(program_transform_name) directly, rather than using
161560484Sobrien	$(INSTALL_XFORM) and $(INSTALL_XFORM1).
161660484Sobrien	(installdirs): New target.
161760484Sobrien	* doc/Makefile.in (INSTALL_XFORM1): Remove.
161860484Sobrien	(install): Depend upon installdirs.  Use $(program_transform_name)
161960484Sobrien	directly, rather than using $(INSTALL_XFORM) and
162060484Sobrien	$(INSTALL_XFORM1).
162160484Sobrien	(installdirs): New target.
162260484Sobrien	(install-info-as): Run mkinstalldirs.
162360484Sobrien	(install-info-gasp): Likewise.
162460484Sobrien
162560484SobrienMon Apr 14 11:59:08 1997  Ian Lance Taylor  <ian@cygnus.com>
162660484Sobrien
162760484Sobrien	* Makefile.in (INSTALL): Change install.sh to install-sh.
162860484Sobrien
162960484Sobrien	* symbols.c (resolve_symbol_value): Check for division by zero.
163060484Sobrien
163160484Sobrien	From Thomas Graichen <graichen@rzpd.de>:
163260484Sobrien	* Makefile.in: Always use $(SHELL) when running move-if-change.
163360484Sobrien	* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
163460484Sobrien	* configure: Rebuild.
163560484Sobrien
163660484SobrienThu Apr 10 14:40:00 1997  Doug Evans  <dje@canuck.cygnus.com>
163760484Sobrien
163860484Sobrien	* cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand.
163960484Sobrien	New argument `want'.  Update enum cgen_parse_operand_result values.
164060484Sobrien	Initialize if CGEN_PARSE_OPERAND_INIT.
164160484Sobrien	* config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn.
164260484Sobrien	(md_assemble): Call cgen_asm_init_parse.
164360484Sobrien	Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
164460484Sobrien
164560484SobrienWed Apr  9 11:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
164660484Sobrien
164760484Sobrien	* config/tc-m68k.c (m68k_ip): Handle #j.
164860484Sobrien
164960484SobrienTue Apr  8 16:37:57 1997  Jeffrey A Law  (law@cygnus.com)
165060484Sobrien
165160484Sobrien	* config/tc-mn10300.c (md_convert_frag): Create fixup at the
165260484Sobrien	right address for call label:32,regs,imm.
165360484Sobrien
165460484SobrienMon Apr  7 14:58:22 1997  Jeffrey A Law  (law@cygnus.com)
165560484Sobrien
165660484Sobrien	* config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
165760484Sobrien	zero.
165860484Sobrien	* config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
165960484Sobrien	symbol for OBJ_ELF anymore.
166060484Sobrien
166160484SobrienMon Apr  7 10:54:59 1997  Doug Evans  <dje@canuck.cygnus.com>
166260484Sobrien
166360484Sobrien	* Makefile.in: Regenerate dependencies.
166460484Sobrien 	(TARG_CPU): New variable.
166560484Sobrien	(cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
166660484Sobrien	(.dep1): Delete creating of cgen-opc.h.
166760484Sobrien	(.tcdep): Put proper contents in cgen-opc.h.
166860484Sobrien	* configure.in (m32r): Delete setting of extra_files, extra_links.
166960484Sobrien	(AC_OUTPUT): Create cgen-opc.h.
167060484Sobrien	* configure: Regenerated.
167160484Sobrien
167260484SobrienSat Apr  5 13:19:12 1997  Klaus Kaempf  <kkaempf@progis.de>
167360484Sobrien
167460484Sobrien	* makefile.vms: Update to build gasp.exe.
167560484Sobrien
167660484SobrienFri Apr  4 16:10:02 1997  Doug Evans  <dje@canuck.cygnus.com>
167760484Sobrien
167860484Sobrien	* write.c (relax_frag): Make non-static.
167960484Sobrien	* write.h (relax_frag): Add prototype for.
168060484Sobrien	* config/tc-m32r.h (md_do_align): New arg `max'.
168160484Sobrien	* config/tc-m32r.c (m32r_do_align): Likewise.
168260484Sobrien	Update calls to frag_align, frag_align_pattern.
168360484Sobrien	(fill_insn): Update call to m32r_do_align.
168460484Sobrien	(m32r_scomm): Update call to frag_align.
168560484Sobrien
168660484Sobrien	* config/tc-m32r.[ch]: New files.
168760484Sobrien	* cgen.c: New file.
168860484Sobrien	* Makefile.in (CPU_TYPES): Add m32r.
168960484Sobrien	(TARGET_CPU_CFILES): Add tc-m32r.c.
169060484Sobrien	(TARGET_CPU_HFILES): Add tc-m32r.h.
169160484Sobrien	(DISTCLEAN_HERE): Add cgen-opc.h.
169260484Sobrien	(.dep1,.tcdep): Create empty cgen-opc.h.
169360484Sobrien	(cgen.o): Add dependencies.
169460484Sobrien	(dependencies): Regenerate.
169560484Sobrien	* as.h (struct frag): New member fr_targ.
169660484Sobrien	(fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
169760484Sobrien	* conf.in (USING_CGEN): New macro.
169860484Sobrien	* configure.in (m32r-*-*): Add entry for.
169960484Sobrien	Add cgen.o to extra_objects.
170060484Sobrien	* configure: Regenerate.
170160484Sobrien	* frags.c (frag_var): fr_pcrel_adjust renamed to
170260484Sobrien	fr_targ.ns32k.pcrel_adjust.  fr_bsr renamed to fr_targ.ns32k.bsr.
170360484Sobrien	(frag_variant): Likewise.
170460484Sobrien	* write.c (relax_frag): Likewise.
170560484Sobrien	* config/tc-ns32k.c (*): Likewise.
170660484Sobrien
170760484SobrienFri Apr  4 13:26:10 1997  Ian Lance Taylor  <ian@cygnus.com>
170860484Sobrien
170960484Sobrien	* config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
171060484Sobrien	rather than for any end of line character.
171160484Sobrien
171260484Sobrien	* config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
171360484Sobrien	call abort (i.e., as_abort) rather than crashing.
171460484Sobrien
171560484Sobrien	* config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
171660484Sobrien	OBJ_ELF, rather than of S_GET_OTHER.
171760484Sobrien
171860484Sobrien	* Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak.
171960484Sobrien
172060484SobrienThu Apr  3 13:16:18 1997  Ian Lance Taylor  <ian@cygnus.com>
172160484Sobrien
172260484Sobrien	* Makefile.in (VERSION): Set to 2.8.1.
172360484Sobrien
172460484Sobrien	* Branched binutils 2.8.
172560484Sobrien
172660484SobrienWed Apr  2 12:24:10 1997  Ian Lance Taylor  <ian@cygnus.com>
172760484Sobrien
172860484Sobrien	* COPYING: Update FSF address.
172960484Sobrien
173060484Sobrien	* config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
173160484Sobrien
173260484SobrienTue Apr  1 18:29:47 1997  Jim Wilson  <wilson@cygnus.com>
173360484Sobrien
173460484Sobrien	* config/tc-mips.c (md_begin): Don't set interlocks for 4100.
173560484Sobrien
173660484SobrienTue Apr  1 16:24:28 1997  Klaus Kaempf  <kkaempf@progis.de>
173760484Sobrien
173860484Sobrien	* config-gas.com: Update to handle both vax and alpha.
173960484Sobrien	* makefile.vms: Update to use config-gas.
174060484Sobrien	* conf-a-gas.com: Remove file.
174160484Sobrien
174260484SobrienTue Apr  1 16:08:21 1997  Ian Lance Taylor  <ian@cygnus.com>
174360484Sobrien
174460484Sobrien	* Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and
174560484Sobrien	itbl-lex.c dependencies.  Remove rules for itbl-lex.o,
174660484Sobrien	itbl-parse.o, and itbl-ops.o; just use the normal .c.o rule.
174760484Sobrien
174860484SobrienTue Apr  1 11:25:56 1997  Michael Meissner  <meissner@cygnus.com>
174960484Sobrien
175060484Sobrien	* config/tc-tic80.c (line_comment_char): Make '#' start comments
175160484Sobrien	at the beginning of a line for compatibility with .S files where
175260484Sobrien	cpp leaves the filename transitions beginning with '#'.
175360484Sobrien
175460484SobrienTue Apr  1 00:07:30 1997  Ian Lance Taylor  <ian@cygnus.com>
175560484Sobrien
175660484Sobrien	* config/tc-m68k.c: Only compile tc_coff_symbol_emit_hook and
175760484Sobrien	tc_coff_sizemachdep if OBJ_COFF.
175860484Sobrien
175960484SobrienMon Mar 31 23:53:44 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
176060484Sobrien
176160484Sobrien	* config/tc-ppc.c (register_name): Declare.
176260484Sobrien
176360484SobrienMon Mar 31 16:31:04 1997  Joel Sherrill  <joel@oarcorp.com>
176460484Sobrien
176560484Sobrien        * configure.in (hppa*-*-rtems*): New target, like hppa-*-*elf*.
176660484Sobrien	* configure: Rebuild.
176760484Sobrien
176860484SobrienMon Mar 31 14:15:19 1997  Ian Lance Taylor  <ian@cygnus.com>
176960484Sobrien
177060484Sobrien	* config/tc-mips.c (mips_pseudo_table): Add "stabn".
177160484Sobrien	(mips16_mark_labels): New static function.
177260484Sobrien	(append_insn): Call mips16_mark_labels.
177360484Sobrien	(mips_emit_delays): Likewise.
177460484Sobrien	(s_insn): Likewise.  Don't call mips_clear_insn_labels.
177560484Sobrien	(s_mips_stab): New static function.
177660484Sobrien
177760484Sobrien	* configure.in: Use ELF for mips-*-gnu*.
177860484Sobrien	* configure: Rebuild.
177960484Sobrien
178060484SobrienMon Mar 31 14:01:40 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
178160484Sobrien
178260484Sobrien	* config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if
178360484Sobrien	TE_DELTA.
178460484Sobrien
178560484SobrienFri Mar 28 18:03:19 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
178660484Sobrien
178760484Sobrien	* configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
178860484Sobrien	set OPCODES_LIB to empty.
178960484Sobrien	* configure: Rebuild.
179060484Sobrien
179160484SobrienFri Mar 28 15:25:24 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
179260484Sobrien
179360484Sobrien	* configure.in (sparc-*-linux*aout*, sparc-*-linux*): New
179460484Sobrien	targets.
179560484Sobrien	* configure: Rebuild.
179660484Sobrien
179760484SobrienFri Mar 28 13:08:33 1997  Ian Lance Taylor  <ian@cygnus.com>
179860484Sobrien
179960484Sobrien	* itbl-parse.y (yyerror): Make static.  Declare.
180060484Sobrien
180160484Sobrien	From Ralf Baechle <ralf@gnu.ai.mit.edu>:
180260484Sobrien	* configure.in: Set emulations for mips-*-linux*-*.
180360484Sobrien	* configure: Rebuild.
180460484Sobrien
180560484Sobrien	* config/tc-mips.c (struct mips_set_options): Define.
180660484Sobrien	(mips_opts): New static variable.
180760484Sobrien	(mips_isa): Remove.  Now a field in mips_opts.  Change all
180860484Sobrien	references.
180960484Sobrien	(mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
181060484Sobrien	(mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
181160484Sobrien	(struct mips_option_stack): Define.
181260484Sobrien	(mips_opts_stack): New static variable.
181360484Sobrien	(s_mipsset): Add support for .set push and .set pop.
181460484Sobrien	* doc/c-mips.texi: Document .set push and .set pop.
181560484Sobrien
181660484Sobrien	* config/obj-elf.c (obj_elf_section_change_hook): New function.
181760484Sobrien	* config/obj-elf.h (obj_elf_section_change_hook): Declare it.
181860484Sobrien	* config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
181960484Sobrien
182060484SobrienThu Mar 27 12:23:56 1997  Ian Lance Taylor  <ian@cygnus.com>
182160484Sobrien
182260484Sobrien	* as.c (parse_args): Update copyright date in version message.
182360484Sobrien
182460484Sobrien	* Makefile.in (clean-here): Remove dependency files.
182560484Sobrien
182660484Sobrien	* read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
182760484Sobrien	(s_mri_common): Check S_IS_COMMON unconditionally.
182860484Sobrien	* symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
182960484Sobrien	* config/tc-alpha.c (s_alpha_comm): Likewise.
183060484Sobrien	* config/tc-mips.c (nopic_need_relax): Likewise.
183160484Sobrien	* config/tc-ppc.c (ppc_elf_lcomm): Likewise.
183260484Sobrien	(ppc_pe_comm): Likewise.
183360484Sobrien	* config/obj-elf.c (obj_elf_common): Likewise.  Set segment of
183460484Sobrien	common symbol to bfd_com_section_ptr.
183560484Sobrien	* config/tc-sparc.c (s_common): Likewise.
183660484Sobrien	(tc_gen_reloc): Likewise.
183760484Sobrien
183860484SobrienThu Mar 27 00:29:46 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
183960484Sobrien
184060484Sobrien	* config/tc-d30v.c (md_apply_fix3): Get the relocs right.
184160484Sobrien
184260484SobrienWed Mar 26 13:35:15 1997  H.J. Lu  <hjl@lucon.org>
184360484Sobrien
184460484Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Only define if
184560484Sobrien	BFD_ASSEMBLER.
184660484Sobrien
184760484SobrienWed Mar 26 11:32:51 1997  Ian Lance Taylor  <ian@cygnus.com>
184860484Sobrien
184960484Sobrien	* input-scrub.c (input_scrub_next_buffer): Handle very long input
185060484Sobrien	lines correctly.
185160484Sobrien
185260484Sobrien	* listing.c (print_lines): Add lineno parameter.  Change all
185360484Sobrien	callers.
185460484Sobrien	(listing_listing): Only call calc_hex for the right line.
185560484Sobrien	(listing_list): Set the new edict based on the current edict, in
185660484Sobrien	order to handle listing commands in macros correctly.
185760484Sobrien
185860484Sobrien	* config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
185960484Sobrien	instructions.
186060484Sobrien
186160484Sobrien	* cond.c (cond_finish_check): New function.
186260484Sobrien	* as.h (cond_finish_check): Declare.
186360484Sobrien	* as.c (main): Call cond_finish_check.
186460484Sobrien
186560484SobrienTue Mar 25 14:45:54 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
186660484Sobrien
186760484Sobrien	* config/tc-d30v.c (md_assemble): If two instructions
186860484Sobrien	are supposed to be assembled in parallel and the first one is
186960484Sobrien	long, print an error and stop.
187060484Sobrien	(md_apply_fix3): Don't calculate absolute relocs.  Just write
187160484Sobrien	them out.
187260484Sobrien
187360484SobrienMon Mar 24 12:11:18 1997  Ian Lance Taylor  <ian@cygnus.com>
187460484Sobrien
187560484Sobrien	* config/tc-i386.h (iclrKludge): Define.
187660484Sobrien	* config/tc-i386.c (md_assemble): Handle iclrKludge.
187760484Sobrien
187860484Sobrien	* config/tc-alpha.h (tc_frob_file_before_adjust): Define if
187960484Sobrien	OBJ_ECOFF.
188060484Sobrien	(alpha_frob_file_before_adjust): Declare if OBJ_ECOFF.
188160484Sobrien	* config/tc-alpha.c (alpha_debug): New static variable.
188260484Sobrien	(md_parse_option): Set alpha_debug if -g is seen.
188360484Sobrien 	(alpha_frob_file_before_adjust): New function if OBJ_ECOFF.
188460484Sobrien
188560484SobrienSun Mar 23 18:03:31 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
188660484Sobrien
188760484Sobrien	* config/tc-d30v.c (build_insn): Enable range-checking code.
188860484Sobrien	(postfix): Stop at space or comma.
188960484Sobrien	(md_assemble): Change error message.
189060484Sobrien
189160484SobrienSat Mar 22 13:44:28 1997  Ian Lance Taylor  <ian@cygnus.com>
189260484Sobrien
189360484Sobrien	* Makefile.in: Added automatic dependency building.
189460484Sobrien	* dep-in.sed: New file.
189560484Sobrien
189660484SobrienFri Mar 21 15:42:37 1997  Ian Lance Taylor  <ian@cygnus.com>
189760484Sobrien
189860484Sobrien	* config/obj-ieee.c (segment_name): Don't define function if this
189960484Sobrien	is a macro.
190060484Sobrien
190160484Sobrien	* config/obj-coff.h (DO_STRIP): Don't define.
190260484Sobrien	* config/tc-h8300.h (DO_STRIP): Don't define.
190360484Sobrien	* config/tc-h8500.h (DO_STRIP): Don't define.
190460484Sobrien	* config/tc-w65.h (DO_STRIP): Don't define.
190560484Sobrien	* config/tc-z8k.h (DO_STRIP): Don't define.
190660484Sobrien
190760484Sobrien	* symbols.c (colon): Call obj_frob_label if it is defined.
190860484Sobrien	* config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
190960484Sobrien
191060484Sobrien	* configure.in: Don't set files and links.  Don't call
191160484Sobrien	AC_LINK_FILES.  Substitute te_file.  Create targ-cpu.h,
191260484Sobrien	obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT.
191360484Sobrien	* configure: Rebuild.
191460484Sobrien	* Makefile.in (TARG_CPU_C): New variable.
191560484Sobrien	(TARG_CPU_O, TARG_CPU_H): New variables.
191660484Sobrien	(OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables.
191760484Sobrien	(TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables.
191860484Sobrien	(SOURCES): Rename from REAL_SOURCES.  Delete old definition.
191960484Sobrien	(LINKED_SOURCES): Remove.
192060484Sobrien	(HEADERS): Rename from REAL_HEADERS.  Delete old definition.
192160484Sobrien	(LINKED_HEADERS): Remove.
192260484Sobrien	(OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc.
192360484Sobrien	($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than
192460484Sobrien	targ-cpu.h, etc.
192560484Sobrien	($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets.
192660484Sobrien	(targ-cpu.o, obj-format.o, atof-targ.o): Remove targets.
192760484Sobrien	(itbl-cpu.h): Remove target.
192860484Sobrien	(DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c,
192960484Sobrien	atof-targ.h.
193060484Sobrien
193160484SobrienThu Mar 20 19:18:58 1997  Ian Lance Taylor  <ian@cygnus.com>
193260484Sobrien
193360484Sobrien	* doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro.
193460484Sobrien
193560484SobrienThu Mar 20 16:49:14 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
193660484Sobrien
193760484Sobrien	* config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by
193860484Sobrien	open coded loop that does not require the name to start with a
193960484Sobrien	name beginner.
194060484Sobrien
194160484SobrienThu Mar 20 13:42:01 1997  H.J. Lu  <hjl@lucon.org>
194260484Sobrien
194360484Sobrien	* frags.c (frag_var): Change offset parameter to offsetT.
194460484Sobrien	(frag_variant): Likewise.
194560484Sobrien	* frags.h (frag_variant, frag_var): Update declarations.
194660484Sobrien	* config/tc-m68k.c (struct m68k_it): Change foff field to
194760484Sobrien	offsetT.
194860484Sobrien	(add_frag): Change off parameter to offsetT.
194960484Sobrien	* Several files: Add casts to calls to frag_var.
195060484Sobrien
195160484Sobrien	* Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
195260484Sobrien	serialize a parallel make.
195360484Sobrien	(itbl-parse.h): Split target out from itbl-parse.c.
195460484Sobrien
195560484SobrienThu Mar 20 12:48:45 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
195660484Sobrien
195760484Sobrien	* config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR).
195860484Sobrien
195960484Sobrien	* config/te-delta.h (COFF_COMMON_ADDEND): Define.
196060484Sobrien	* config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when
196160484Sobrien	storing the value of a common symbol.
196260484Sobrien
196360484SobrienWed Mar 19 11:37:57 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
196460484Sobrien
196560484Sobrien	* config/obj-coff.c (glue_symbols): Unused variable symbolP
196660484Sobrien	removed.
196760484Sobrien	(crawl_symbols): Do not modify symbol_rootP and symbol_lastP here;
196860484Sobrien	that is done by symbol_remove and symbol_insert.
196960484Sobrien
197060484Sobrien	* config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging
197160484Sobrien	symbol.
197260484Sobrien
197360484SobrienWed Mar 19 11:06:29 1997  Ian Lance Taylor  <ian@cygnus.com>
197460484Sobrien
197560484Sobrien	* config/tc-mips.c (load_register): In 32 bit mode, when not
197660484Sobrien	dealing with a 64 bit number, permit the upper 32 bits to be set
197760484Sobrien	even if bit 31 is not set.
197860484Sobrien
197960484SobrienTue Mar 18 23:30:14 1997  Ian Lance Taylor  <ian@cygnus.com>
198060484Sobrien
198160484Sobrien	* read.c (potable): Add "equiv".
198260484Sobrien	(s_set): Handle .equiv based on argument.
198360484Sobrien	* doc/as.texinfo (Equiv): New node to document .equiv.
198460484Sobrien	(Err): New node to document .err.
198560484Sobrien
198660484SobrienTue Mar 18 15:50:13 1997  H.J. Lu  <hjl@lucon.org>
198760484Sobrien
198860484Sobrien	* Many files: Add function prototypes.
198960484Sobrien	* as.c (show_usage, parse_args): Make static.
199060484Sobrien	* frags.h (frag_alloc): Declare.
199160484Sobrien	* subsegs.c (subseg_set_rest): Don't declare frag_alloc.
199260484Sobrien	* symbols.c (dollar_label_instance): Change return type to long.
199360484Sobrien	* symbols.h (print_symbol_value): Declare.
199460484Sobrien	(print_expr, print_expr_1, print_symbol_value_1): Declare.
199560484Sobrien	* write.c (fix_new_exp): Don't declare make_expr_symbol.
199660484Sobrien	(remove_subsegs, relax_frag): Make static.
199760484Sobrien	* config/atof-vax.c (atof_vax_sizeof): Change letter to int.
199860484Sobrien	(what_kind_of_float): Likewise.
199960484Sobrien	(atof_vax): Make static.  Change what_kind to int.
200060484Sobrien	(md_atof): Change what_statement_type to int.
200160484Sobrien	* config/obj-ecoff.h (obj_ecoff_set_ext): Declare.
200260484Sobrien	* config/tc-alpha.c (vax_md_atof): Declare.
200360484Sobrien	(md_atof): Don't declare atof_ieee and vax_md_atof.
200460484Sobrien	* config/tc-i386.c (set_16bit_code_flag): Make static.
200560484Sobrien	* config/tc-i386.h (tc_i386_fix_adjustable): Declare.
200660484Sobrien	* config/tc-m68k.c (add_fix): Change width to int.
200760484Sobrien	(insert_reg): Change regname to const.
200860484Sobrien	(md_atof): Don't declare atof_ieee.
200960484Sobrien	(demand_empty_rest_of_line): Don't declare.
201060484Sobrien	* config/tc-m88k.c (md_atof): Don't declare atof_ieee.
201160484Sobrien	* config/tc-sparc.c (cmp_reg_entry): Change args to const PTR.
201260484Sobrien	(parse_keyword_arg): Change lookup_fn to take const arg.
201360484Sobrien	(md_atof): Don't declare atof_ieee.
201460484Sobrien	* config/tc-sparc.h: Add ifdef for multiple inclusion.
201560484Sobrien	(tc_aout_pre_write_hook): Don't declare.
201660484Sobrien
201760484SobrienMon Mar 17 11:21:09 1997  Ian Lance Taylor  <ian@cygnus.com>
201860484Sobrien
201960484Sobrien	* as.h (bfd_alloc_by_size_t): Don't declare.
202060484Sobrien	* Many files: Use xmalloc rather than bfd_alloc_by_size_t.
202160484Sobrien
202260484SobrienSun Mar 16 13:49:21 1997  Philippe De Muyter <phdm@info.ucl.ac.be>
202360484Sobrien
202460484Sobrien	* symbols.c (symbol_new): Don't call debug_verify_symchain.
202560484Sobrien	(symbol_append): Set sy_next and sy_previous when adding a single
202660484Sobrien	symbol to an empty list.  Call debug_verify_symchain.
202760484Sobrien	(verify_symbol_chain): Use assert, not know.
202860484Sobrien
202960484SobrienSat Mar 15 20:27:12 1997  Fred Fish  <fnf@cygnus.com>
203060484Sobrien
203160484Sobrien	* NEWS: Note BeOS support.
203260484Sobrien	* configure.in: (ppc-*-beos): New target, use coff as object format.
203360484Sobrien	* configure: Regenerate with autoconf.
203460484Sobrien	
203560484SobrienSat Mar 15 19:14:02 1997  Ian Lance Taylor  <ian@cygnus.com>
203660484Sobrien
203760484Sobrien	* config/tc-mips.c (md_apply_fix): Improve error message for out
203860484Sobrien	of range branch.
203960484Sobrien
204060484Sobrien	* Makefile.in: Add dependencies on obstack.h where needed.
204160484Sobrien
204260484SobrienFri Mar 14 15:33:38 1997  Ian Lance Taylor  <ian@cygnus.com>
204360484Sobrien
204460484Sobrien	* config/tc-mips.c (md_estimate_size_before_relax): Handle the
204560484Sobrien	case of a symbol equated to another symbol when using SVR4_PIC.
204660484Sobrien
204760484Sobrien	* Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.
204860484Sobrien
204960484SobrienThu Mar 13 11:20:51 1997  Ian Lance Taylor  <ian@cygnus.com>
205060484Sobrien
205160484Sobrien	* read.c (read_a_source_file): Call LISTING_NEWLINE before
205260484Sobrien	HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label.
205360484Sobrien
205460484Sobrien	* config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
205560484Sobrien	and md_elf_section_change_hook if they are defined.
205660484Sobrien	(obj_elf_text, obj_elf_previous): Likewise.
205760484Sobrien
205860484SobrienWed Mar 12 11:40:20 1997  Ian Lance Taylor  <ian@cygnus.com>
205960484Sobrien
206060484Sobrien	* config/obj-multi.h (struct elf_obj_sy): Define if
206160484Sobrien	OBJ_MAYBE_ELF.
206260484Sobrien	(OBJ_SYMFIELD_TYPE): Define as struct elf_obj_sy if
206360484Sobrien	OBJ_MAYBE_ELF.
206460484Sobrien	* config/obj-elf.h (struct elf_obj_sy): Don't define if
206560484Sobrien	OBJ_SYMFIELD_TYPE is defined.
206660484Sobrien
206760484Sobrien	* doc/as.texinfo (bss): Improve description of .bss section.  In
206860484Sobrien	ELF or COFF, you are permitted to switch into the section.
206960484Sobrien	(Comm): Rewrite description of common symbols.
207060484Sobrien	(Lcomm): Mention that some targets permit a third argument.
207160484Sobrien
207260484SobrienTue Mar 11 01:13:31 1997  Ian Lance Taylor  <ian@cygnus.com>
207360484Sobrien
207460484Sobrien	* config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
207560484Sobrien
207660484Sobrien	* symbols.c (colon): Change type of local to int.  From Alan Modra
207760484Sobrien	<alan@spri.levels.unisa.edu.au>.
207860484Sobrien
207960484Sobrien	* config/tc-m88k.c (m88k_do_align): Don't use a special nop
208060484Sobrien	alignment if a zero fill pattern was explicitly specified.
208160484Sobrien	* config/tc-sh.c (sh_do_align): Likewise.
208260484Sobrien
208360484Sobrien	* read.c (equals): Always permit register names to be redefined.
208460484Sobrien
208560484Sobrien	* config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a
208660484Sobrien	mips16 symbol to be adjusted if a symbol is being subtracted from
208760484Sobrien	it.
208860484Sobrien
208960484Sobrien	From Eric Youngdale <eric@andante.jic.com>:
209060484Sobrien	* config/obj-elf.c (obj_elf_symver): Check for duplicate or
209160484Sobrien	illegal symbol version names.
209260484Sobrien	(elf_frob_symbol): Check for external default versions.
209360484Sobrien
209460484SobrienSun Mar  9 23:49:12 1997  Ian Lance Taylor  <ian@cygnus.com>
209560484Sobrien
209660484Sobrien	From Eric Youngdale <eric@andante.jic.com>:
209760484Sobrien	* config/obj-elf.h (struct elf_obj_sy): Define.
209860484Sobrien	(OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct.  Change all
209960484Sobrien	users.
210060484Sobrien	* config/obj-elf.c (obj_elf_symver): Just record the name.
210160484Sobrien	(obj_symbol_new_hook): Initialized versioned_name field.
210260484Sobrien	(elf_frob_symbol): If there is a versioned_name, either rename the
210360484Sobrien	symbol, or add an alias with that name.
210460484Sobrien
210560484SobrienThu Mar  6 13:55:32 1997  Jeffrey A Law  (law@cygnus.com)
210660484Sobrien
210760484Sobrien	* config/tc-mn10300.c (md_relax_table): Define.
210860484Sobrien	(md_convert_frag): Implement.
210960484Sobrien	(md_assemble): Handle relaxable operands/instructions correctly.
211060484Sobrien	(md_estimate_size_before_relax): Implement.
211160484Sobrien	* config/tc-mn10300.h (TC_GENERIC_RELAX_TABLE): Define.
211260484Sobrien
211360484Sobrien	* config/tc-mn10200.c (md_relax_table): Fix typos.
211460484Sobrien
211560484Sobrien	* config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific
211660484Sobrien	relocs anymore.  Tweak fx_offset for pc-relative relocs.
211760484Sobrien
211860484SobrienWed Mar  5 15:46:16 1997  Ian Lance Taylor  <ian@cygnus.com>
211960484Sobrien
212060484Sobrien	* cond.c (s_ifc): Call mri_comment_field and mri_comment_end when
212160484Sobrien	in MRI mode.
212260484Sobrien
212360484SobrienTue Mar  4 19:34:21 1997  Fred Fish  <fnf@cygnus.com>
212460484Sobrien
212560484Sobrien	* config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
212660484Sobrien	pseudo-ops.
212760484Sobrien	* config/tc-tic80.c (md_begin): Declare external variable
212860484Sobrien	coff_flags and insert an F_AR32WR bit into it.
212960484Sobrien
213060484SobrienTue Mar  4 10:01:04 1997  Ian Lance Taylor  <ian@cygnus.com>
213160484Sobrien
213260484Sobrien	* read.c (equals): Add reassign parameter.  Change all callers.
213360484Sobrien	* read.h (equals): Update declaration.
213460484Sobrien
213560484SobrienSat Mar  1 01:04:04 1997  Ian Lance Taylor  <ian@cygnus.com>
213660484Sobrien
213760484Sobrien	* config/tc-mips.c (mips16_extended_frag): Don't assume that we
213860484Sobrien	can rely on the frag address to determine whether a frag is
213960484Sobrien	earlier or later.
214060484Sobrien
214160484SobrienFri Feb 28 14:40:00 1997  Ian Lance Taylor  <ian@cygnus.com>
214260484Sobrien
214360484Sobrien	* write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
214460484Sobrien	(S_LOCAL_NAME): Likewise.
214560484Sobrien	(FAKE_LABEL_NAME): Define unconditionally.
214660484Sobrien	* symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
214760484Sobrien	BFD_ASSEMBLER.
214860484Sobrien	(S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
214960484Sobrien	* config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
215060484Sobrien	Don't define FAKE_LABEL_NAME.
215160484Sobrien	* config/te-ic960.h: Likewise.
215260484Sobrien	* config/tc-mips.h (tc_frob_file_before_adjust): Define.
215360484Sobrien	(mips_frob_file_before_adjust): Declare.
215460484Sobrien	* config/tc-mips.c (mips_frob_file_before_adjust): New function.
215560484Sobrien	(mips_local_label): Remove.
215660484Sobrien
215760484Sobrien	* config/te-sco386.h: Remove; not used.
215860484Sobrien
215960484SobrienThu Feb 27 15:39:16 1997  Fred Fish  <fnf@cygnus.com>
216060484Sobrien
216160484Sobrien	* config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
216260484Sobrien	byte alignment rather than power-of-two alignment that is the
216360484Sobrien	GAS default.
216460484Sobrien
216560484SobrienThu Feb 27 13:29:04 1997  Ian Lance Taylor  <ian@cygnus.com>
216660484Sobrien
216760484Sobrien	* config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.
216860484Sobrien
216960484Sobrien	* gasp.c (hash_add_to_string_table): Correct misspelling in error
217060484Sobrien	message, and add newline.
217160484Sobrien	(process_file): Don't process assignments in the label if this is
217260484Sobrien	a equ or assign pseudo-op.
217360484Sobrien	(process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
217460484Sobrien	and K_EQU, to match documentation.
217560484Sobrien
217660484SobrienThu Feb 27 12:00:03 1997  Michael Meissner  <meissner@cygnus.com>
217760484Sobrien
217860484Sobrien	* config/obj-coff.c (obj_coff_section): Add 'r' section attribute
217960484Sobrien	to denote read-only data sections.
218060484Sobrien
218160484SobrienThu Feb 27 00:26:33 1997  Ian Lance Taylor  <ian@cygnus.com>
218260484Sobrien
218360484Sobrien	* config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
218460484Sobrien	* config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.
218560484Sobrien
218660484Sobrien	* expr.c (operand): Simplify 0b handling.  Don't treat 0b as a
218760484Sobrien	binary number if the next character is '+' or '-'.
218860484Sobrien
218960484SobrienWed Feb 26 20:47:12 1997  Fred Fish  <fnf@cygnus.com>
219060484Sobrien
219160484Sobrien	* config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
219260484Sobrien	(find_opcode): Match operands that can be floats.
219360484Sobrien	(build_insn): Handle O_big (float) expressions and build
219460484Sobrien	correct opcode.
219560484Sobrien
219660484SobrienWed Feb 26 18:19:00 1997  Stan Shebs  <shebs@andros.cygnus.com>
219760484Sobrien
219860484Sobrien	* configure.in (mips*-*-lnews*): New target, also make empty
219960484Sobrien	emulation list for this target.
220060484Sobrien	* configure: Update.
220160484Sobrien	* tc-mips.c (ECOFF_LITTLE_FORMAT): Define.
220260484Sobrien	(mips_target_format): Use.
220360484Sobrien	* te-lnews.h: New file.
220460484Sobrien
220560484SobrienWed Feb 26 15:33:46 1997  Fred Fish  <fnf@cygnus.com>
220660484Sobrien
220760484Sobrien	* config/tc-tic80.c (find_opcode, build_insn): Changes to match
220860484Sobrien	operands with :m or :s modifiers and generate the right opcodes
220960484Sobrien	for them.
221060484Sobrien
221160484SobrienWed Feb 26 11:56:11 1997  Ian Lance Taylor  <ian@cygnus.com>
221260484Sobrien
221360484Sobrien	* Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
221460484Sobrien	$(BISONFLAGS), not $(YACC) and $(YACCFLAGS).
221560484Sobrien
221660484SobrienTue Feb 25 22:02:23 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
221760484Sobrien
221860484Sobrien	* config/tc-m68k.c (instring): Useless local declaration of
221960484Sobrien	crack_operand removed.
222060484Sobrien	* expr.h (expressionS): Changed type of X_op field to operatorT if
222160484Sobrien	__GNUC__.
222260484Sobrien
222360484SobrienTue Feb 25 13:17:27 1997  Ian Lance Taylor  <ian@cygnus.com>
222460484Sobrien
222560484Sobrien	Based on patches from Robert Lipe <robertl@dgii.com>:
222660484Sobrien	* configure.in: Add i386coff and i386elf to emulation list.
222760484Sobrien	* configure: Rebuild.
222860484Sobrien	* as.c (i386coff, i386elf): Declare.
222960484Sobrien	* obj.h (coff_format_ops): Declare.
223060484Sobrien	* config/obj-coff.c (OBJ_HEADER): Define.
223160484Sobrien	(coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
223260484Sobrien	(coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
223360484Sobrien	(obj_pseudo_table): Add "version".
223460484Sobrien	(coff_pop_insert): New static function.
223560484Sobrien	(coff_sec_sym_ok_for_reloc): New static function.
223660484Sobrien	(no_func): New static function.
223760484Sobrien	(coff_format_ops): New variable.
223860484Sobrien	* config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
223960484Sobrien	(obj_symbol_new_hook): Define.
224060484Sobrien	(coff_obj_read_begin_hook): Declare.
224160484Sobrien	(obj_read_begin_hook): Define.
224260484Sobrien	* config/tc-i386.h (i386_target_format): Declare.
224360484Sobrien	* config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
224460484Sobrien	OUTPUT_FLAVOR when appropriate.
224560484Sobrien	(i386_target_format): New function.
224660484Sobrien	* Makefile.in (obj-coff.o): New target.
224760484Sobrien	(e-i386coff.o, e-i386elf.o): New targets.
224860484Sobrien
224960484Sobrien	From Stephen Williams <steve@icarus.icarus.com>:
225060484Sobrien	* config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF.
225160484Sobrien	(_tc_get_bal_of_call): Don't declare.
225260484Sobrien	(tc_get_bal_of_call): Declare as function, don't define as macro.
225360484Sobrien	* config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP
225460484Sobrien	in sy_tc field, not x_balntry field.
225560484Sobrien	(tc_get_bal_of_call): Rename from _tc_get_bal_of_call.  Change
225660484Sobrien	return type to symbolS *.  If OBJ_COFF, retrieve value from sy_tc
225760484Sobrien	field, not x_balntry field.
225860484Sobrien
225960484Sobrien	* config/obj-elf.c (obj_elf_section): Permit a .note section to
226060484Sobrien	have the SHF_ALLOC attribute.
226160484Sobrien
226260484Sobrien	* Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
226360484Sobrien	(TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h.
226460484Sobrien	(itbl-lex.o): Depend upon itbl-parse.h.
226560484Sobrien
226660484Sobrien	* itbl-parse.y (yyerror): Change return type to int.  Change to
226760484Sobrien	use old style function declaration.
226860484Sobrien
226960484Sobrien	* Makefile.in (itbl-lex.o): Remove -Wall.
227060484Sobrien	(itbl-parse.o): Likewise.
227160484Sobrien
227260484Sobrien	* cond.c (s_ifdef): If we should omit conditionals from listings,
227360484Sobrien	call listing_list.
227460484Sobrien	(s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise.
227560484Sobrien	* listing.c (list_info_struct): Add EDICT_NOLIST_NEXT.
227660484Sobrien	(listing_listing): Handle EDICT_NOLIST_NEXT.
227760484Sobrien	(listing_list): An argument of 2 means EDICT_NOLIST_NEXT.
227860484Sobrien	* listing.h (LISTING_NOCOND): Define.
227960484Sobrien	(LISTING_SKIP_COND): Define.
228060484Sobrien	* as.c (show_usage): Mention c as a suboption of -a.
228160484Sobrien	(parse_args): Handle c as a suboption of -a.
228260484Sobrien	* doc/as.texinfo: Document -alc.
228360484Sobrien
228460484SobrienMon Feb 24 23:34:14 1997  Fred Fish  <fnf@cygnus.com>
228560484Sobrien
228660484Sobrien	* config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
228760484Sobrien
228860484SobrienMon Feb 24 18:27:43 1997  Eric Youngdale  <eric@andante.jic.com>
228960484Sobrien
229060484Sobrien	* doc/as.texinfo: Document .symver.
229160484Sobrien
229260484SobrienMon Feb 24 15:19:57 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
229360484Sobrien
229460484Sobrien	* config/tc-d10v.c: Change pre_defined_registers to 
229560484Sobrien	d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
229660484Sobrien
229760484SobrienMon Feb 24 10:40:45 1997  Fred Fish  <fnf@cygnus.com>
229860484Sobrien
229960484Sobrien	* config/obj-coff.c: Fix typo in comment section.
230060484Sobrien	* config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes
230160484Sobrien 	an additional alignment argument.
230260484Sobrien	(find_opcode): Allow O_symbol relocs for any 32 bit field, not just
230360484Sobrien 	base relative ones.
230460484Sobrien	(build_insn): Handle O_symbol relocs for any 32 bit field, not just
230560484Sobrien 	base relative ones.
230660484Sobrien
230760484SobrienMon Feb 24 02:23:00 1997  Dawn Perchik  <dawn@cygnus.com>
230860484Sobrien
230960484Sobrien	* Makefile.in: Remove dependancies on itbl-cpu.h.
231060484Sobrien	* as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU 
231160484Sobrien	is not defined.
231260484Sobrien
231360484SobrienMon Feb 24 02:03:00 1997  Dawn Perchik  <dawn@cygnus.com>
231460484Sobrien
231560484Sobrien	* itbl-ops.h: Include as.h.
231660484Sobrien
231760484SobrienMon Feb 24 01:04:00 1997  Dawn Perchik  <dawn@cygnus.com>
231860484Sobrien
231960484Sobrien	* as.c: Remove -t option.
232060484Sobrien	* configure, configure.in: Move itbl-cpu.h to mips specific configure.
232160484Sobrien	* itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined.
232260484Sobrien	* config/tc-mips.h: Define HAVE_ITBL_CPU.
232360484Sobrien
232460484SobrienSun Feb 23 18:01:00 1997  Dawn Perchik  <dawn@cygnus.com>
232560484Sobrien
232660484Sobrien	* itbl-ops.c: Don't define DEBUG.
232760484Sobrien
232860484SobrienSun Feb 23 17:49:00 1997  Dawn Perchik  <dawn@cygnus.com>
232960484Sobrien
233060484Sobrien	* Makefile.in: Update itbl-test.c to reflect its new location.
233160484Sobrien
233260484SobrienSun Feb 23 15:50:00 1997  Dawn Perchik  <dawn@cygnus.com>
233360484Sobrien
233460484Sobrien	* itbl-ops.c: Add test for itbl_have_entries.
233560484Sobrien	* config/tc-mips.c: Remove test for itbl_have_entries.
233660484Sobrien	* config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
233760484Sobrien
233860484SobrienSun Feb 23 18:13:19 1997  Ian Lance Taylor  <ian@cygnus.com>
233960484Sobrien
234060484Sobrien	* Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, and
234160484Sobrien	itbl-ops.c.  Add itbl-parse.c and itbl-lex.c.
234260484Sobrien	(LEX, LEXFLAGS): Define.
234360484Sobrien	* itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT.
234460484Sobrien
234560484SobrienSat Feb 22 21:25:00 1997  Dawn Perchik  <dawn@cygnus.com>
234660484Sobrien
234760484Sobrien	* itbl-parse.y: Fix indentation mistakes from indent program.
234860484Sobrien	* itbl-lex.l: Fix indentation mistakes from indent program.
234960484Sobrien	* itbl-ops.h: Add include for ansidecl.h.
235060484Sobrien	Add PARAMS around function arguments.
235160484Sobrien	Add declaration for itbl_have_entries.
235260484Sobrien	* itbl-ops.c: Add PARAMS around function arguments.
235360484Sobrien	* Makefile.in: Add itbl build rules.
235460484Sobrien	Add dependancies for itbl files to mips target.
235560484Sobrien	* as.c: Add itbl support.
235660484Sobrien	Add new option "--insttbl" for dynamically extending instruction set.
235760484Sobrien	* as.h: Declare insttbl_file_name;
235860484Sobrien	the name of file defining extensions to the basic instruction set 
235960484Sobrien	* configure.in, configure: Add itbl-parse.o, itbl-lex.o, and 
236060484Sobrien	itbl-ops.o to extra_objects for mips configuration.
236160484Sobrien	Add include file link from itbl-cpu.h to 
236260484Sobrien	config/itbl-${target_cpu_type}.h.
236360484Sobrien	* config/tc-mips.c: Allow copz instructions.
236460484Sobrien	Add notes for future additions to the itbl support.
236560484Sobrien	Add debug macros.
236660484Sobrien	(macro): Call itbl_assemble to assemble itbl instructions.
236760484Sobrien	See if an unknown register is specified in an itbl entry.
236860484Sobrien
236960484SobrienSat Feb 22 20:53:01 1997  Fred Fish  <fnf@cygnus.com>
237060484Sobrien	* doc/internals.texi (CPU backend): Fix typo in md_section_align
237160484Sobrien	description.
237260484Sobrien	* config/tc-tic80.h (NEED_FX_R_TYPE): Define.
237360484Sobrien	* config/tc-tic80.c (find_opcode): Add code to support O_symbol
237460484Sobrien	operands.
237560484Sobrien	(build_insn): Grab a frag early so we can use the address in
237660484Sobrien 	fixups.  Take one's complement of BITNUM values before insertion
237760484Sobrien 	in opcode.  Add code to support O_symbol operands.
237860484Sobrien	(md_apply_fix): Replace unimplemented warning with implementation.
237960484Sobrien	(md_pcrel_from): Ditto.
238060484Sobrien	(tc_coff_fix2rtype): Ditto.
238160484Sobrien
238260484SobrienFri Feb 21 14:34:31 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
238360484Sobrien
238460484Sobrien	* config/tc-d30v.c (parallel_ok): New function. 
238560484Sobrien	* config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
238660484Sobrien	* config/tc-d10v.c (md_pcrel_from_section): Return 0 if
238760484Sobrien        relocation is in different section.
238860484Sobrien
238960484SobrienFri Feb 21 10:08:25 1997  Jim Wilson  <wilson@cygnus.com>
239060484Sobrien
239160484Sobrien	* tc-mips.c (mips_ip): If configured for an embedded ELF system,
239260484Sobrien	don't set the section alignment to 2**4.
239360484Sobrien
239460484SobrienFri Feb 21 11:55:03 1997  Ian Lance Taylor  <ian@cygnus.com>
239560484Sobrien
239660484Sobrien	* config/tc-m68k.c (line_comment_chars): Add '*'.
239760484Sobrien
239860484Sobrien	* app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define.
239960484Sobrien	(do_scrub_begin): Don't set lex['*'].
240060484Sobrien	(do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't
240160484Sobrien 	check for LEX_IS_TWOCHAR_COMMENT_2ND.  Instead, just check for
240260484Sobrien	a literal '*'.
240360484Sobrien
240460484Sobrien	* configure.in: Set em=svr4 for m68k-*-sysv4*.
240560484Sobrien	* configure: Rebuild.
240660484Sobrien	* config/te-svr4.h: New file.
240760484Sobrien	* config/tc-m68k.c (m68k_comment_chars): Only include `#' if
240860484Sobrien	TE_SVR4 or TE_DELTA.
240960484Sobrien
241060484SobrienThu Feb 20 22:24:39 1997  Jeffrey A Law  (law@cygnus.com)
241160484Sobrien
241260484Sobrien	* config/tc-mn10200.c (md_convert_frag): Create a fixup for the
241360484Sobrien	short conditional branch around a long unconditional branch.
241460484Sobrien
241560484SobrienThu Feb 20 13:56:00 1997  Ian Lance Taylor  <ian@cygnus.com>
241660484Sobrien
241760484Sobrien	* config/obj-coff.c (obj_coff_ln [both versions]): Call
241860484Sobrien	new_logical_line.
241960484Sobrien
242060484Sobrien	* config/tc-arm.c (fix_new_arm): Use make_expr_symbol to handle a
242160484Sobrien	complex expression.
242260484Sobrien
242360484Sobrien	* symbols.c (resolve_symbol_value): If both left and right
242460484Sobrien	operands are undefined, warn about both of them.
242560484Sobrien
242660484SobrienWed Feb 19 00:53:28 1997  Ian Lance Taylor  <ian@cygnus.com>
242760484Sobrien
242860484Sobrien	Based on patches from Eric Youngdale <eric@andante.jic.com>:
242960484Sobrien	* config/obj-elf.c (elf_pseudo_table): Add "symver".
243060484Sobrien	(obj_elf_symver): New static function.
243160484Sobrien	* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy the st_other
243260484Sobrien	field.
243360484Sobrien
243460484Sobrien	* write.c (relax_segment): Make type and printf format agree.
243560484Sobrien
243660484Sobrien	* read.c (get_line_sb): Don't end the line on a semicolon inside a
243760484Sobrien	string.
243860484Sobrien
243960484SobrienTue Feb 18 18:42:51 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
244060484Sobrien
244160484Sobrien	* config/tc-d30v.c, config/tc-d30v.h: New files.
244260484Sobrien
244360484Sobrien 	* configure: Rebuilt.
244460484Sobrien	
244560484Sobrien	* configure.in: Add case for d30v.
244660484Sobrien
244760484SobrienSun Feb 16 17:47:29 1997  Fred Fish  <fnf@cygnus.com>
244860484Sobrien
244960484Sobrien	* config/tc-alpha.h (md_operand): Define with a null expansion,
245060484Sobrien	like all the other targets.
245160484Sobrien	* doc/internals.texi (CPU backend): Add missing word in 
245260484Sobrien	md_flush_pending_output description.  Fix typo in md_convert_frag
245360484Sobrien	description.
245460484Sobrien	* config/tc-tic80: Minor comment additions/changes.
245560484Sobrien	
245660484SobrienFri Feb 14 18:09:59 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
245760484Sobrien
245860484Sobrien	* config/tc-m68k.c (LOCAL_LABEL): Macro redefined if TE_DELTA.
245960484Sobrien	(tc_canonicalize_symbol_name): Macro defined if TE_DELTA.
246060484Sobrien 	* config/obj-coff.c (obj_coff_def): Use
246160484Sobrien	tc_canonicalize_symbol_name if defined.
246260484Sobrien	(obj_coff_tag, obj_coff_val): Likewise.
246360484Sobrien	* expr.c (operand): Reject '~' as operator if is_name_beginner.
246460484Sobrien
246560484SobrienFri Feb 14 17:24:48 1997  Ian Lance Taylor  <ian@cygnus.com>
246660484Sobrien
246760484Sobrien	Based on notes from Peter Eriksson <peter@ifm.liu.se>.  The target
246860484Sobrien	does not actually work, though:
246960484Sobrien	* configure.in (i386-sequent-bsd*): New target.
247060484Sobrien	* configure: Rebuild.
247160484Sobrien	* config/tc-dynix.h: New file.
247260484Sobrien	* config/tc-i386.h: Define TARGET_FORMAT if TE_DYNIX.
247360484Sobrien
247460484Sobrien	* read.c (do_align): Add max parameter.  Change all callers.
247560484Sobrien	Remove useless static variables.
247660484Sobrien	(s_align): New static function.  Do common portion of
247760484Sobrien	s_align_bytes and s_align_ptwo.
247860484Sobrien	(s_align_bytes, s_align_ptwo): Just call s_align.
247960484Sobrien	* frags.c (frag_align): Add max parameter.  Change all callers.
248060484Sobrien	(frag_align_pattern): Likewise.
248160484Sobrien	* frags.h (frag_align, frag_align_pattern): Update declarations.
248260484Sobrien	* write.c (relax_segment): Limit alignment change to fr_subtype.
248360484Sobrien	Fix some types to be addressT.
248460484Sobrien	* config/obj-coff.c (size_section): Likewise.
248560484Sobrien	* config/obj-ieee.c (size_section): Likewise.
248660484Sobrien	* config/tc-d10v.h (md_do_align): Add max parameter.
248760484Sobrien	* config/tc-i386.h (md_do_align): Likewise.
248860484Sobrien	* config/tc-m88k.h (md_do_align): Likewise.
248960484Sobrien	* config/tc-m88k.c (m88k_do_align): Likewise.
249060484Sobrien	* config/tc-sh.h (md_do_align): Likewise.
249160484Sobrien	* config/tc-sh.c (sh_do_align): Likewise.
249260484Sobrien	* as.h: Improve comments on rs_align and rs_align_code.
249360484Sobrien	* doc/as.texinfo: Document new alignment arguments.
249460484Sobrien	* doc/internals.texi (Frags): Document use of fr_subtype field for
249560484Sobrien	rs_align and rs_align_code.
249660484Sobrien
249760484SobrienFri Feb 14 15:56:06 1997  Gavin Koch  <gavin@cygnus.com>
249860484Sobrien
249960484Sobrien	* config/tc-mips.c: Changed opcode parsing.
250060484Sobrien
250160484SobrienThu Feb 13 20:02:16 1997  Fred Fish  <fnf@cygnus.com>
250260484Sobrien
250360484Sobrien	* config/{tc-alpha.h, tc-d10v.h, tc-generic.h, tc-i960.h,
250460484Sobrien	tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-vax.h, tc-w65.h}:
250560484Sobrien	Add default definition of zero for TARGET_BYTES_BIG_ENDIAN.
250660484Sobrien	* config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h,
250760484Sobrien 	tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN
250860484Sobrien	to a location consistent with the rest of the target include files.
250960484Sobrien	* config/tc-i386.c: Remove misleading comment.
251060484Sobrien	* doc/internals.texi (CPU backend): Add description of function
251160484Sobrien	md_undefined_symbol.
251260484Sobrien	* config/tc-tic80.c: Add code to insert predefined symbols into the
251360484Sobrien	symbol table so they can be parsed by the standard expression parser.
251460484Sobrien	Remove custom code that use to parse them.
251560484Sobrien	* config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN
251660484Sobrien	to a location consistent with the rest of the target include files.
251760484Sobrien	
251860484SobrienThu Feb 13 21:44:18 1997  Klaus Kaempf  <kkaempf@progis.de>
251960484Sobrien
252060484Sobrien	* as.h: GNU c provides unlink() function.
252160484Sobrien
252260484Sobrien	Unify section handling on openVMS/Alpha:
252360484Sobrien	* config/tc-alpha.c(s_alpha_link): Remove.
252460484Sobrien	(s_alpha_section): New function.
252560484Sobrien	Remove case-hacking of symbols
252660484Sobrien	Add .code_address pseudo-op.
252760484Sobrien	(BFD_RELOC_ALPHA_CODEADDR): New relocation.
252860484Sobrien	(s_alpha_code_address): New function.
252960484Sobrien	(alpha_ctors_section, alpha_dtors_section): New sections for C++
253060484Sobrien	static constructors/destructors.
253160484Sobrien	Add debug code for crash debugs, to be removed when traceback code
253260484Sobrien	is added to object code.
253360484Sobrien	(s_alpha_name): New function for .name pseudo-op.
253460484Sobrien	(alpha_print_token): New function to print token expressions with
253560484Sobrien	alpha specific extensions.
253660484Sobrien
253760484Sobrien	* makefile.vms: Allow compilation with current gcc snapshot.
253860484Sobrien
253960484SobrienThu Feb 13 16:29:04 1997  Fred Fish  <fnf@cygnus.com>
254060484Sobrien
254160484Sobrien	* doc/Makefile.in (TEXI2DVI): Set to just name of program.
254260484Sobrien	(DVIPS): Set to dvips.
254360484Sobrien	(ps, as.ps, gasp.ps): New targets.
254460484Sobrien	(internals.info, gasp.dvi, internals.dvi): Set both TEXINPUTS
254560484Sobrien 	and MAKEINFO env variables.
254660484Sobrien	(internals.ps): Use DVIPS macro.
254760484Sobrien	(clean): Remove core and backup files.
254860484Sobrien	(distclean): Remove temporary files from building internals.
254960484Sobrien	(clean-dvi): Ditto.
255060484Sobrien	* doc/internals.texi (Frags): Fix typo.
255160484Sobrien	(GAS processing): Ditto.
255260484Sobrien	(CPU backend): Ditto.
255360484Sobrien	* ecoff.c (init_file): Use TARGET_BYTES_BIG_ENDIAN value directly.
255460484Sobrien	* mpw-config.in: Define TARGET_BYTES_BIG_ENDIAN as 1.
255560484Sobrien	* read.c: Remove ugly hack that dealt with config files not
255660484Sobrien	correctly defining TARGET_BYTES_BIG_ENDIAN.
255760484Sobrien	(target_big_endian): Use TARGET_BYTES_BIG_ENDIAN directly.
255860484Sobrien	* config/arm-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
255960484Sobrien	* config/arm-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
256060484Sobrien	* config/mips-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
256160484Sobrien	* config/mips-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
256260484Sobrien	* config/ppc-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
256360484Sobrien	* config/ppc-sol.mt: Replace TARGET_BYTES_LITTLE_ENDIAN
256460484Sobrien	with TARGET_BYTES_BIG_ENDIAN defined to 0.
256560484Sobrien	* config/tc-arm.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
256660484Sobrien	and simplify.  Test value of TARGET_BYTES_BIG_ENDIAN, not just
256760484Sobrien	whether it is defined or not.
256860484Sobrien	* config/tc-mips.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN.
256960484Sobrien	* config/tc-ppc.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
257060484Sobrien	and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
257160484Sobrien	whether it is defined or not.
257260484Sobrien	* config/tic80.h (TARGET_FORMAT): Define to coff-tic80.
257360484Sobrien	(TARGET_BYTES_BIG_ENDIAN): Define to 0.
257460484Sobrien
257560484SobrienThu Feb 13 14:40:16 1997  Doug Evans  <dje@canuck.cygnus.com>
257660484Sobrien
257760484Sobrien	* write.c (write_relocs): Correct text in as_fatal error message,
257860484Sobrien	bfd_perform_relocation -> bfd_install_relocation.
257960484Sobrien
258060484SobrienThu Feb 13 14:48:03 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
258160484Sobrien
258260484Sobrien	* config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA.
258360484Sobrien	* read.c (LEX_TILDE): Define if not defined.
258460484Sobrien	(lex_type): Use LEX_TILDE.
258560484Sobrien	* expr.c (get_symbol_end): Check first char with is_name_beginner,
258660484Sobrien	not is_part_of_name.
258760484Sobrien
258860484SobrienThu Feb 13 11:40:58 1997  Ian Lance Taylor  <ian@cygnus.com>
258960484Sobrien
259060484Sobrien	* config/tc-sparc.c (md_show_usage): Add missing backslash at end
259160484Sobrien	of continued line.
259260484Sobrien
259360484Sobrien	* config/tc-mips.c (mips16_extended_frag): Correct base address
259460484Sobrien	for an extended PC relative instruction.
259560484Sobrien	(md_convert_frag): Likewise.
259660484Sobrien
259760484Sobrien	* config/tc-mips.c (prev_nop_frag): New static variable.
259860484Sobrien	(prev_nop_frag_holds): New static variable.
259960484Sobrien	(prev_nop_frag_required): New static variable.
260060484Sobrien	(prev_nop_frag_since): New static variable.
260160484Sobrien	(append_insn): If we aren't reordering, and prev_nop_frag is not
260260484Sobrien	NULL, and we don't need any nops, then decrease the size of
260360484Sobrien	prev_nop_frag.  Don't insert nops because of instructions in
260460484Sobrien	noreorder sections.  Remember whether the previous instructions
260560484Sobrien	where in noreorder sections even when not reordering.
260660484Sobrien	(mips_no_prev_insn): Add preserver parameter.  Change all
260760484Sobrien	callers.  Refer prev_nop_frag variables when appropriate.
260860484Sobrien	(mips_emit_delays): Set up prev_nop_frag.
260960484Sobrien	(s_mipsset): Clear prev_nop_frag if reordering.
261060484Sobrien
261160484SobrienWed Feb 12 14:36:29 1997  Ian Lance Taylor  <ian@cygnus.com>
261260484Sobrien
261360484Sobrien	* config/tc-mips.c (append_insn): Remove useless code which
261460484Sobrien	handled swapping a mips16 jump with a mips16 instruction with a
261560484Sobrien	reloc.
261660484Sobrien
261760484Sobrien	* config/tc-mips.c (md_parse_option): When debugging, set
261860484Sobrien	mips_optimize to 1, not 0.
261960484Sobrien
262060484Sobrien	* config/tc-mips.c (mips16_ip): Handle an extend operand.
262160484Sobrien
262260484Sobrien	* config/tc-mips.c (my_getExpression): In mips16 mode, if it looks
262360484Sobrien	like the expression was based on `.', adjust the value of the
262460484Sobrien	symbol.
262560484Sobrien
262660484Sobrien	* config/tc-mips.c (append_insn): Warn about an attempt to put an
262760484Sobrien 	extended instruction in a delay slot when not reordering.
262860484Sobrien	(md_convert_frag): Warn if an extended instruction appears in a
262960484Sobrien	delay slot.
263060484Sobrien
263160484Sobrien	* config/tc-mips.c (mips_pseudo_table): Add "insn".
263260484Sobrien	(s_insn): New static function.
263360484Sobrien	* doc/c-mips.texi: Document .insn.
263460484Sobrien
263560484Sobrien	* config/tc-mips.c (md_begin): Add the general registers to the
263660484Sobrien	symbol table.
263760484Sobrien	(mips16_ip): First parse the expression, and then see whether it
263860484Sobrien	came up with a register, rather than trying to first see whether
263960484Sobrien	we are looking at a register.
264060484Sobrien
264160484SobrienTue Feb 11 15:13:39 1997  Fred Fish  <fnf@cygnus.com>
264260484Sobrien
264360484Sobrien	* config/tc-tic80.c: Numerous changes and additions to flesh
264460484Sobrien	out functions that were previously just stubs, and fix some
264560484Sobrien	problems found using the new TIc80 testsuite cases.
264660484Sobrien
264760484SobrienTue Feb 11 15:52:22 1997  Ian Lance Taylor  <ian@cygnus.com>
264860484Sobrien
264960484Sobrien	* config/tc-mips.c (mips16_ip): Handle %gprel modifier.
265060484Sobrien	(md_apply_fix): Handle BFD_RELOC_MIPS16_GPREL.
265160484Sobrien
265260484Sobrien	* config/tc-mips.c (append_insn): Output jump instruction as a
265360484Sobrien	pair of 2 byte instructions, rather than as a single 4 byte
265460484Sobrien	instruction.
265560484Sobrien
265660484SobrienMon Feb 10 22:06:00 1997  Dawn Perchik  (dawn@cygnus.com)
265760484Sobrien
265860484Sobrien	* itbl-ops.c, itbl-lex.l, itbl-parse.y, itbl-ops.h,
265960484Sobrien	config/itbl-mips.h: Add copyright message and fix indentation.
266060484Sobrien
266160484SobrienMon Feb 10 18:09:00 1997  Dawn Perchik  (dawn@cygnus.com)
266260484Sobrien
266360484Sobrien	* itbl-ops.c: New file.  Add support for dynamically read 
266460484Sobrien	instruction registers, opcodes and formats.  Build internal table 
266560484Sobrien	for new instructions and provide callbacks for assembler and 
266660484Sobrien	disassembler.
266760484Sobrien	* itbl-lex.l, itbl-parse.y: Lex and yacc parsers for instruction 
266860484Sobrien	spec table.
266960484Sobrien	* itbl-ops.h: New file.  Header file for itbl support.
267060484Sobrien	* config/itbl-mips.h: New file.  Mips specific definitions for
267160484Sobrien	itbl support.
267260484Sobrien
267360484SobrienFri Feb  7 09:52:34 1997  Jeffrey A Law  (law@cygnus.com)
267460484Sobrien
267560484Sobrien	* config/tc-mn10200.c (md_assemble): If a constant operand won't
267660484Sobrien	fit into the constant field of a relaxable operand, then it does
267760484Sobrien	not match.
267860484Sobrien
267960484SobrienThu Feb  6 20:08:12 1997  Jeffrey A Law  (law@cygnus.com)
268060484Sobrien
268160484Sobrien	* config/tc-mn10200.c (md_estimate_size_before_relax): Treat
268260484Sobrien	a jsr target in a different section just like a jsr to
268360484Sobrien	an undefined target.
268460484Sobrien
268560484SobrienThu Feb  6 16:52:57 1997  Ian Lance Taylor  <ian@cygnus.com>
268660484Sobrien
268760484Sobrien	* config/tc-mips.c (mips_fix_adjustable): Don't adjust relocations
268860484Sobrien	against any mips16 symbols, not just externally visible ones.
268960484Sobrien	(md_apply_fix): Corresponding change.
269060484Sobrien
269160484SobrienWed Feb  5 11:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
269260484Sobrien
269360484Sobrien	* config/tc-mips.c (mips16_ip): Accept floating point registers in
269460484Sobrien	the operand of the exit instruction.
269560484Sobrien
269660484SobrienTue Feb  4 14:12:39 1997  Ian Lance Taylor  <ian@cygnus.com>
269760484Sobrien
269860484Sobrien	* symbols.c (resolve_symbol_value): If we leave an equated symbol
269960484Sobrien	as O_symbol, copy over the segment.
270060484Sobrien
270160484SobrienMon Feb  3 12:35:54 1997  Ian Lance Taylor  <ian@cygnus.com>
270260484Sobrien
270360484Sobrien	* config/tc-mips.c (md_apply_fix): If we aren't adjusting this
270460484Sobrien	fixup to be against the section symbol, adjust the value
270560484Sobrien	accordingly.
270660484Sobrien
270760484Sobrien	* symbols.c (resolve_symbol_value): Don't change X_add_number for
270860484Sobrien	an equated symbol.
270960484Sobrien	* write.c (write_relocs): Avoid looping on equated symbols.
271060484Sobrien	Adjust fx_offset by X_add_number for each symbol.
271160484Sobrien	* config/obj-coff.c (do_relocs_for): Avoid looping on equated
271260484Sobrien	symbols.
271360484Sobrien	(fixup_segment): Add a loop to track down equated symbols and
271460484Sobrien	adjust fx_offset appropriately.
271560484Sobrien
271660484SobrienFri Jan 31 15:21:02 1997  Jeffrey A Law  (law@cygnus.com)
271760484Sobrien
271860484Sobrien	* config/tc-mn10200.c (md_relax_table): Add entries to allow
271960484Sobrien	jmp -> bra relaxing.
272060484Sobrien	(md_convert_frag): Handle jmp->bra relaxing.
272160484Sobrien	(md_assemble): Handle jmp->bra relaxing.
272260484Sobrien	(md_estimate_size_before_relax): Likewise.
272360484Sobrien
272460484SobrienFri Jan 31 13:15:05 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
272560484Sobrien
272660484Sobrien	* config/tc-i386.c (i386_align_code): Add comments explaining the
272760484Sobrien	nop instructions.
272860484Sobrien
272960484SobrienFri Jan 31 10:46:14 1997  Ian Lance Taylor  <ian@cygnus.com>
273060484Sobrien
273160484Sobrien	* config/tc-sparc.c (enforce_aligned_data): New static variable.
273260484Sobrien	(sparc_cons_align): Don't do anything unless enforce_aligned_data
273360484Sobrien	is set.
273460484Sobrien	(md_longopts): Add "enforce-aligned-data".
273560484Sobrien	(md_show_usage): Mention --enforce-aligned-data.
273660484Sobrien	* doc/c-sparc.texi (Sparc-Aligned-Data): New node; document
273760484Sobrien	enforce-aligned-data.
273860484Sobrien
273960484Sobrien	* config/tc-ppc.c (md_pseudo_table): If OBJ_XCOFF, add "long",
274060484Sobrien 	"word", and "short".
274160484Sobrien	(ppc_xcoff_cons): New static function.
274260484Sobrien
274360484Sobrien	* write.c (relax_segment): Give an error if a .space symbol is
274460484Sobrien	common or undefined.
274560484Sobrien
274660484Sobrien	* read.c (read_a_source_file): Don't handle mri_pending_align if
274760484Sobrien	the handler is s_globl or s_ignore.
274860484Sobrien
274960484SobrienThu Jan 30 11:46:59 1997  Fred Fish  <fnf@cygnus.com>
275060484Sobrien
275160484Sobrien	* config/tc-d10v.c (find_opcode): Remove unused variable "numops".
275260484Sobrien	* config/tc-tic80.c: Many additions to previous placeholder file.
275360484Sobrien	* config/tc-tic80.h: Ditto.
275460484Sobrien
275560484SobrienThu Jan 30 12:28:18 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
275660484Sobrien
275760484Sobrien	* config/tc-i386.c (i386_align_code): Improve the nop patterns.
275860484Sobrien
275960484SobrienThu Jan 30 12:08:40 1997  Ian Lance Taylor  <ian@cygnus.com>
276060484Sobrien
276160484Sobrien	* config/tc-mips.c (mips_fix_adjustable): New function.
276260484Sobrien	* config/tc-mips.h (tc_fix_adjustable): Call mips_fix_adjustable.
276360484Sobrien	(mips_fix_adjustable): Declare.
276460484Sobrien
276560484Sobrien	Ideas from Srinivas Addagarla <srinivas@cdotd.ernet.in>:
276660484Sobrien	* read.c (read_a_source_file): After doing an mri_pending_align,
276760484Sobrien	adjust the line_label if there is one.
276860484Sobrien	(s_space): Set mri_pending_align if an odd number of bytes were
276960484Sobrien	output.
277060484Sobrien
277160484SobrienWed Jan 29 15:31:12 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
277260484Sobrien
277360484Sobrien	* config/tc-d10v.h (md_do_align): Add this hook to call
277460484Sobrien	d10v_cleanup() when a ".align" is detected.
277560484Sobrien
277660484Sobrien	* config/tc-d10v.c (find_opcode): Correctly calculate
277760484Sobrien	branch displacement when .aligns are present.
277860484Sobrien
277960484SobrienWed Jan 29 09:42:11 1997  Jeffrey A Law  (law@cygnus.com)
278060484Sobrien
278160484Sobrien	* config/tc-mn10200.c (md_relax_table): Define.
278260484Sobrien	(md_convert_frag): Implement.
278360484Sobrien	(md_assemble): Handle relaxable operands/instructions correctly.
278460484Sobrien	(md_estimate_size_before_relax): Implement.
278560484Sobrien	* config/tc-mn10200.h (TC_GENERIC_RELAX_TABLE): Define.
278660484Sobrien
278760484SobrienTue Jan 28 15:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
278860484Sobrien
278960484Sobrien	* config/tc-mips.c (append_insn): Give an error for jumps to a
279060484Sobrien	misaligned address.
279160484Sobrien	(md_apply_fix): Make a branch to an odd address an error rather
279260484Sobrien	than a warning.
279360484Sobrien
279460484Sobrien	* config/tc-mips.c (md_convert_frag): If the user explicitly
279560484Sobrien	requested an extended opcode, pass warn as true to mips16_immed.
279660484Sobrien
279760484Sobrien	* config/tc-mips.c (mips16_ip): Handle a missing expression like
279860484Sobrien	an explicit 0, so that explicitly extended instructions work
279960484Sobrien	correctly.
280060484Sobrien
280160484SobrienMon Jan 27 17:41:20 1997  Ian Lance Taylor  <ian@cygnus.com>
280260484Sobrien
280360484Sobrien	* ecoff.c (ecoff_build_symbols): Don't generate a local ECOFF
280460484Sobrien	symbol for a common symbol.
280560484Sobrien
280660484SobrienWed Jan 22 10:39:39 1997  Doug Evans  <dje@canuck.cygnus.com>
280760484Sobrien
280860484Sobrien	Patch presumed to have been checked in awhile ago but wasn't.
280960484Sobrien	Mon Nov 25 10:45:14 1996  Doug Evans  <dje@seba.cygnus.com>
281060484Sobrien	* write.c: Delete "ifndef md_relax_frag" around is_dnrange.
281160484Sobrien	(relax_segment, case rs_org): Move code inside braces.  Move locals
281260484Sobrien	target,after inside too.
281360484Sobrien	(relax_segment, case rs_machine_dependent): Guts moved to ...
281460484Sobrien	(relax_frag): New function.
281560484Sobrien	Call md_prepare_relax_scan if defined.
281660484Sobrien
281760484SobrienMon Jan 20 10:56:47 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
281860484Sobrien
281960484Sobrien	* config/tc-m68k.c (m68k_ip): Reject pc-relative addresses for the
282060484Sobrien 	'p' operand specifier.
282160484Sobrien
282260484SobrienMon Jan 20 10:39:36 1997  J.T. Conklin  <jtc@cygnus.com>
282360484Sobrien
282460484Sobrien	* config/tc-m68k.c (HAVE_LONG_BRANCH): New macro, returns true for
282560484Sobrien 	m68k family cpus which support long branch addressing modes.
282660484Sobrien	(m68k_ip, md_convert_frag_1, md_estimate_size_before_relax,
282760484Sobrien 	md_create_long_jump): Use it.
282860484Sobrien
282960484SobrienMon Jan 20 12:42:06 1997  Ian Lance Taylor  <ian@cygnus.com>
283060484Sobrien
283160484Sobrien	* config/tc-mips.c (md_begin): Don't set SEC_ALLOC or SEC_LOAD for
283260484Sobrien	the .reginfo or .MIPS.options section if configured for an
283360484Sobrien	embedded target.
283460484Sobrien
283560484Sobrien	* config/tc-mips.c (md_begin): Don't set interlocks for
283660484Sobrien	mips_4650.
283760484Sobrien
283860484SobrienWed Jan 15 13:51:50 1997  Ian Lance Taylor  <ian@cygnus.com>
283960484Sobrien
284060484Sobrien	* read.c (read_a_source_file): Make sure the symbol ends with
284160484Sobrien	whitespace before checking whether the next character is '='.
284260484Sobrien
284360484SobrienTue Jan 14 15:07:27 1997  Robert Lipe <robertl@dgii.com>
284460484Sobrien
284560484Sobrien	* config/tc-i386.c (sco_id): Moved from here...
284660484Sobrien	* config/obj-elf.c (sco_id): ...to here.  Adding the identifier
284760484Sobrien	really is an SCO ELF specific thing, not just a SCO x86 specific
284860484Sobrien	thing.
284960484Sobrien
285060484SobrienMon Jan 13 22:43:01 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
285160484Sobrien
285260484Sobrien	* configure.in (tic80-*-*): Don't require 'coff'.
285360484Sobrien	* configure: Regenerate.
285460484Sobrien
285560484SobrienThu Jan  9 09:08:43 1997  Ian Lance Taylor  <ian@cygnus.com>
285660484Sobrien
285760484Sobrien	* read.c (emit_expr): Check for overflow of a negative value
285860484Sobrien	correctly.
285960484Sobrien	* write.c (fixup_segment): Likewise.
286060484Sobrien	* config/obj-coff.c (fixup_segment): Likewise.
286160484Sobrien
286260484Sobrien	* config/tc-m68k.c (struct label_line): Define.
286360484Sobrien	(labels, current_label): New static variables.
286460484Sobrien	(md_assemble): Mark current_label as text, and clear it.
286560484Sobrien	(m68k_frob_label): New function.
286660484Sobrien	(m68k_flush_pending_output): New function.
286760484Sobrien	(m68k_frob_symbol): New function.
286860484Sobrien	* config/tc-m68k.h (tc_frob_label): Define.
286960484Sobrien	(md_flush_pending_output): Define.
287060484Sobrien	(tc_frob_symbol): Don't warn, just call m68k_frob_symbol.
287160484Sobrien	(tc_frob_coff_symbol): Likewise.
287260484Sobrien
287360484Sobrien	* read.c (read_a_source_file): When defining a macro in MRI mode,
287460484Sobrien	don't add the symbol to the symbol table.
287560484Sobrien
287660484SobrienTue Jan  7 11:21:42 1997  Jeffrey A Law  (law@cygnus.com)
287760484Sobrien
287860484Sobrien	* config/tc-mn10300.c (tc_gen_reloc): Handle sym1-sym2 fixups
287960484Sobrien	here since fixup_segment doesn't (linkrelax is set).
288060484Sobrien	* config/tc-mn10200.c (tc_gen_reloc): Likewise.
288160484Sobrien
288260484SobrienMon Jan  6 15:19:32 1997  Jeffrey A Law  (law@cygnus.com)
288360484Sobrien
288460484Sobrien	* config/tc-mn10200.c (md_assemble): Tweak fx_offset for pc-relative
288560484Sobrien	relocs.
288660484Sobrien
288760484SobrienFri Jan  3 16:47:08 1997  Jeffrey A Law  (law@cygnus.com)
288860484Sobrien
288960484Sobrien	* config/tc-hppa.c (struct hppa_fix_struct): Tweak fx_r_field's type
289060484Sobrien	to avoid warnings with the native HP compiler.
289160484Sobrien	(fix_new_hppa): Similarly for the r_type argument.
289260484Sobrien	(pa_build_unwind_subspace, hppa_elf_mark_end_of_function): Enclose
289360484Sobrien	in an #if OBJ_ELF to keep gcc -Wall quiet.
289460484Sobrien	(md_apply_fix): Always initialize "result".
289560484Sobrien
289660484Sobrien	* config/tc-mn10200.c (md_assemble): Generate relocations.
289760484Sobrien
289860484SobrienFri Jan  3 18:17:23 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
289960484Sobrien
290060484Sobrien	* config/tc-m68k.c (s_even): Adjust the alignment of the current
290160484Sobrien	section.
290260484Sobrien
290360484SobrienFri Jan  3 17:10:33 1997  Richard Henderson  <rth@tamu.edu>
290460484Sobrien
290560484Sobrien	* config/obj-elf.c (elf_file_symbol): When using ECOFF debugging,
290660484Sobrien	pass on the new file hook.
290760484Sobrien
290860484Sobrien	* config/tc-alpha.c (alpha_fix_adjustable): Not quite the same as
290960484Sobrien	!alpha_force_relocation, as local LITERALs can be adjusted to be
291060484Sobrien	relative to the section.
291160484Sobrien
291260484SobrienFri Jan  3 12:09:24 1997  Ian Lance Taylor  <ian@cygnus.com>
291360484Sobrien
291460484Sobrien	* config/obj-coff.c (yank_symbols): If tc_frob_coff_symbol is
291560484Sobrien	defined, call it.
291660484Sobrien	* config/tc-m68k.h (tc_frob_symbol): Check whether text label is
291760484Sobrien	aligned to odd boundary.
291860484Sobrien	(tc_frob_coff_symbol): Define.
291960484Sobrien
292060484Sobrien	* doc/as.texinfo (Set): Change parenthesized @xref to @pxref.
292160484Sobrien
292260484Sobrien	* macro.c (macro_expand_body): In MRI mode, just copy a single &.
292360484Sobrien
292460484Sobrien	* config/tc-m68k.c (m68k_ip): Call frag_grow before adding a
292560484Sobrien	PCINDEX frag.  From Ronald F. Guilmette <rfg@monkeys.com>.
292660484Sobrien
292760484Sobrien	* config/tc-m68k.c (m68k_ip): Accept 'B' as a size for an
292860484Sobrien	immediate value.
292960484Sobrien	(md_assemble): If the size is 'B', set fx_signed.
293060484Sobrien	(md_apply_fix_2): Use fx_signed when checking for overflow.
293160484Sobrien
293260484Sobrien	* write.h (struct fix): Add fx_signed field.
293360484Sobrien	* write.c (fix_new_internal): Initialize fx_no_overflow and
293460484Sobrien	fx_signed fields.
293560484Sobrien	(fixup_segment): Use fx_signed when checking for overflow.
293660484Sobrien	* config/obj-coff.c (fixup_segment): Check fx_no_overflow and
293760484Sobrien	fx_signed when checking for overflow.
293860484Sobrien
293960484SobrienThu Jan  2 13:37:29 1997  Ian Lance Taylor  <ian@cygnus.com>
294060484Sobrien
294160484Sobrien	* NOTES, NOTES.config: Removed.  These are rarely, if ever,
294260484Sobrien	updated, and all the useful information is in doc/internals.texi.
294360484Sobrien
294460484Sobrien	Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
294560484Sobrien	* read.c (read_a_source_file): Check for conditional operators
294660484Sobrien	before doing an MRI pending alignment.
294760484Sobrien	* config/tc-m68k.h (m68k_conditional_pseudoop): Declare.
294860484Sobrien	(tc_conditional_pseudop): Define.
294960484Sobrien	* config/tc-m68k.c (m68k_conditional_pseudop): New function.
295060484Sobrien	* doc/internals.texi (CPU backend): Describe
295160484Sobrien	tc_conditional_pseudoop.
295260484Sobrien
295360484Sobrien	Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
295460484Sobrien	* config/tc-m68k.c (m68k_rel32_from_cmdline): New static
295560484Sobrien	variable.
295660484Sobrien	(md_begin): Check m68k_rel32_from_cmdline before setting
295760484Sobrien	m68k_rel32.
295860484Sobrien	(m68k_mri_mode_change): Likewise.
295960484Sobrien	(md_longopts): Add --disp-size-default-16 and
296060484Sobrien	--disp-size-default-32.
296160484Sobrien	(md_parse_option): Handle new options.
296260484Sobrien	(md_show_usage): Mention new options.
296360484Sobrien	* doc/c-m68k.texi (M68K-Opts): Document new options.
296460484Sobrien
296560484Sobrien	Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
296660484Sobrien	* config/tc-m68k.c (m68k_index_width_default): New static
296760484Sobrien	variable.
296860484Sobrien	(m68k_ip): Use m68k_index_width_default to set the size of a base
296960484Sobrien	register whose size was not given.
297060484Sobrien	(md_longopts): Add --base-size-default-16 and
297160484Sobrien	--base-size-default-32.
297260484Sobrien	(md_parse_option): Handle new options.
297360484Sobrien	(md_show_usage): Mention new options.
297460484Sobrien	* doc/c-m68k.texi (M68K-Opts): Document new options.
297560484Sobrien
297660484Sobrien	* doc/c-mips.texi: Mention ISA level 4, and the -mips16 option.
297760484Sobrien
297860484Sobrien	* configure.in: Recognize mips-*-linux* target.
297960484Sobrien	* configure: Rebuild.
298060484Sobrien
298160484Sobrien	* config/tc-mips.c (load_register): Rewrite 64 bit handling to
298260484Sobrien	work if valueT is only 32 bits.
298360484Sobrien
298460484Sobrien	* config/tc-mips.c: Throughout, check target_big_endian rather
298560484Sobrien 	than byte_order.
298660484Sobrien 	(byte_order): Remove.
298760484Sobrien	(mips_init_after_args): Remove.
298860484Sobrien	* config/tc-mips.h (LITTLE_ENDIAN, BIG_ENDIAN): Don't define.
298960484Sobrien	(mips_init_after_args): Don't declare.
299060484Sobrien	(tc_init_after_args): Don't define.
299160484Sobrien
299260484Sobrien	* config/tc-mips.h (tc_frob_after_relocs): Define if
299360484Sobrien	OBJ_MAYBE_ELF.
299460484Sobrien	(mips_elf_final_processing): Likewise.
299560484Sobrien	(ELF_TC_SPECIAL_SECTIONS): Likewise.
299660484Sobrien
299760484SobrienTue Dec 31 15:12:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
299860484Sobrien
299960484Sobrien	* config/tc-v850.c (md_assemble): If this is sst.{h,w} or
300060484Sobrien	sld.{h,w} and the operand is relocatable, adjust the adend by
300160484Sobrien	shifting it right one bit.
300260484Sobrien
300360484SobrienTue Dec 31 12:56:41 1996  Ian Lance Taylor  <ian@cygnus.com>
300460484Sobrien
300560484Sobrien	* read.c (read_a_source_file): Check mri_pending_align after
300660484Sobrien	checking for a macro.  From Ronald F. Guilmette
300760484Sobrien	<rfg@monkeys.com>.
300860484Sobrien
300960484Sobrien	* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
301060484Sobrien
301160484Sobrien	* config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
301260484Sobrien 	add segment argument.  If OBJ_ELF, treat a relocation against a
301360484Sobrien 	symbol in a linkonce section like a relocation against an external
301460484Sobrien 	symbol.
301560484Sobrien	* config/tc-sparc.h (MD_APPLY_FIX3): Define.
301660484Sobrien
301760484SobrienMon Dec 30 11:35:40 1996  Ian Lance Taylor  <ian@cygnus.com>
301860484Sobrien
301960484Sobrien	* config/tc-mips.c (mips16_macro): Add case for M_ABS.
302060484Sobrien
302160484SobrienFri Dec 27 22:51:51 1996  Fred Fish  <fnf@cygnus.com>
302260484Sobrien
302360484Sobrien	* NOTES.config (Implementation): as.h #define's "GAS" not "gas",
302460484Sobrien	includes config.h instead of host.h, tc.h instead of tp.h, and
302560484Sobrien	targ-env.h instead of target-environment.h.
302660484Sobrien	Also, obj-format.h includes targ-cpu.h instead of
302760484Sobrien 	target-processor.h.
302860484Sobrien	* configure.in (case ${generic_target}): Add tic80-*-coff entry.
302960484Sobrien	* configure: Rebuild with autoconf.
303060484Sobrien	* config/obj-coff.h (coff/tic80.h): Include if TC_TIC80 defined.
303160484Sobrien	(TARGET_FORMAT): Define to "coff-tic80".
303260484Sobrien	* config/tc-tic80.c: New file for TIc80 support.
303360484Sobrien	* config/tc-tic80.h: New file for TIc80 support.
303460484Sobrien	
303560484SobrienFri Dec 27 11:42:29 1996  Ian Lance Taylor  <ian@cygnus.com>
303660484Sobrien
303760484Sobrien	* doc/as.texinfo (M): Mention explicitly that -M changes macro
303860484Sobrien	handling.
303960484Sobrien
304060484SobrienThu Dec 19 12:06:08 1996  Ian Lance Taylor  <ian@cygnus.com>
304160484Sobrien
304260484Sobrien	* write.c (adjust_reloc_syms): If the fixup symbol has been
304360484Sobrien	equated to an undefined symbol, convert the fixup to being against
304460484Sobrien	the target symbol.  Remove obsolete code handling a special case
304560484Sobrien	for i386 PIC.
304660484Sobrien
304760484SobrienWed Dec 18 22:54:39 1996  Stan Shebs  <shebs@andros.cygnus.com>
304860484Sobrien
304960484Sobrien	* mpw-make.sed: Use NewFolderRecursive for installation.
305060484Sobrien
305160484SobrienWed Dec 18 16:00:42 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
305260484Sobrien
305360484Sobrien	* config/tc-d10v.c (do_assemble): Correct previous bug fix.
305460484Sobrien
305560484SobrienWed Dec 18 15:27:40 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
305660484Sobrien
305760484Sobrien	* config/tc-d10v.c (md_assemble): Fix bug which caused
305860484Sobrien	second instruction in a line to be case sensitize.
305960484Sobrien
306060484SobrienWed Dec 18 10:08:46 1996  Jeffrey A Law  (law@cygnus.com)
306160484Sobrien
306260484Sobrien	* config/tc-mn10200.c (mn10200_insert_operand): Don't
306360484Sobrien	range check operands with MN10200_OPERAND_NOCHECK set.
306460484Sobrien	(check_operand): Likewise.
306560484Sobrien
306660484SobrienTue Dec 17 10:59:32 1996  Ian Lance Taylor  <ian@cygnus.com>
306760484Sobrien
306860484Sobrien	* config/tc-mips.c: Undo part of last Friday's alignment changes.
306960484Sobrien 	(md_begin): Always align the text section to a four byte
307060484Sobrien	boundary.
307160484Sobrien	(append_insn): Remove call to record_align.
307260484Sobrien
307360484Sobrien	* config/tc-mips.c (insn_label): Remove.
307460484Sobrien	(struct insn_label_list): Define.
307560484Sobrien	(insn_labels, free_insn_labels): New static variables.
307660484Sobrien	(mips_clear_insn_labels): New static function.
307760484Sobrien	(append_insn): Mark all mips16 text labels, and make them odd.
307860484Sobrien	Handle all labels after emitting a nop, not just one.  Call
307960484Sobrien	mips_clear_insn_labels rather than just clearing insn_label.
308060484Sobrien	(mips_emit_delays): Add insns parameter, and use it to decide
308160484Sobrien	whether to mark mips16 labels.  Handle all labels, not just one.
308260484Sobrien	Force mips16 labels to be odd.  Change all callers.
308360484Sobrien	(mips16_immed): Don't check for an odd branch target.
308460484Sobrien	(md_apply_fix): Don't check mips16 mode for a branch reloc.
308560484Sobrien	(mips16_extended_frag): Ignore the low bit in a branch target.
308660484Sobrien	(md_convert_frag): Likewise.
308760484Sobrien	(mips_no_prev_insn): Call mips_clear_insn_labels rather than just
308860484Sobrien	clearing insn_label.
308960484Sobrien	(mips_align, mips_flush_pending_output, s_cons): Likewise.
309060484Sobrien	(s_float_cons, s_gpword): Likewise.
309160484Sobrien	(s_align): Use insn_labels rather than insn_label.
309260484Sobrien	(s_cons, s_float_cons, s_gpword): Likewise.
309360484Sobrien	(mips_frob_file_after_relocs): New function.
309460484Sobrien	(mips_define_label): Rewrite to add to insn_labels list.
309560484Sobrien	* config/tc-mips.h (tc_frob_file_after_relocs): Define.
309660484Sobrien	* ecoff.c (ecoff_build_symbols): If the size of a function comes
309760484Sobrien	out odd, increment it.
309860484Sobrien
309960484Sobrien	* config/tc-mips.c (append_insn): Only update prev_insn when not
310060484Sobrien	reordering if place is NULL.
310160484Sobrien
310260484Sobrien	* config/tc-mips.c (mips16_ip): Check for a missing expression
310360484Sobrien	when using the register indirect addressing mode.
310460484Sobrien
310560484SobrienMon Dec 16 10:08:46 1996  Jeffrey A Law  (law@cygnus.com)
310660484Sobrien
310760484Sobrien	* config/tc-mn10200.c (mn10200_insert_operand): Don't
310860484Sobrien	check 24bit operands for overflow.
310960484Sobrien	(check_operand): Likewise.
311060484Sobrien
311160484SobrienMon Dec 16 11:50:40 1996  Ian Lance Taylor  <ian@cygnus.com>
311260484Sobrien
311360484Sobrien	* doc/as.texinfo (Section): Document how to use the .section
311460484Sobrien	pseudo-op for COFF and ELF.
311560484Sobrien
311660484SobrienSun Dec 15 15:26:37 1996  Ian Lance Taylor  <ian@cygnus.com>
311760484Sobrien
311860484Sobrien	* write.c (adjust_reloc_syms): Fix linkonce check for ELF.
311960484Sobrien
312060484SobrienSat Dec 14 22:37:27 1996  Ian Lance Taylor  <ian@cygnus.com>
312160484Sobrien
312260484Sobrien	* config/tc-mips.c (prev_insn_reloc_type): New static variable.
312360484Sobrien	(RELAX_MIPS16_ENCODE): Add dslot and jal_dslot arguments, and
312460484Sobrien	store them.  Adjust other RELAX_MIPS16 macros.
312560484Sobrien	(RELAX_MIPS16_DSLOT): Define.
312660484Sobrien	(RELAX_MIPS16_JAL_DSLOT): Define.
312760484Sobrien	(append_insn): Pass new arguments to RELAX_MIPS16_ENCODE.  Correct
312860484Sobrien	handling of whether previous instruction has a fixup.  Set
312960484Sobrien	prev_insn_reloc_type.
313060484Sobrien	(mips_no_prev_insn): Clear prev_insn_reloc_type.
313160484Sobrien	(mips16_extended_frag): Use the right base address for a PC
313260484Sobrien	relative add or load.
313360484Sobrien	(md_convert_frag): Likewise.  If a PC relative add or load is
313460484Sobrien	used, record the alignment for the section.
313560484Sobrien
313660484SobrienFri Dec 13 13:00:33 1996  Ian Lance Taylor  <ian@cygnus.com>
313760484Sobrien
313860484Sobrien	* write.c (adjust_reloc_syms): Don't reduce a reloc against a
313960484Sobrien	linkonce section into a reloc against the section symbol.
314060484Sobrien
314160484Sobrien	* config/tc-mips.c (mips16_macro): Remove nop instructions after
314260484Sobrien	branch instructions.
314360484Sobrien
314460484Sobrien	* config/tc-mips.c (md_begin): If configured for an embedded ELF
314560484Sobrien	system, don't set the section alignment to 2**4.
314660484Sobrien	(s_change_sec): Likewise.
314760484Sobrien	(append_insn): Call record_alignment for the section.
314860484Sobrien	(md_section_align): Don't align the section size for an embedded
314960484Sobrien	ELF system.
315060484Sobrien
315160484SobrienThu Dec 12 16:40:47 1996  Ian Lance Taylor  <ian@cygnus.com>
315260484Sobrien
315360484Sobrien	* write.c (adjust_reloc_syms): Make sure that symbols are
315460484Sobrien	resolved; expression symbols may have been skipped.
315560484Sobrien	* config/obj-coff.c (fixup_segment): Likewise.
315660484Sobrien
315760484SobrienThu Dec 12 15:18:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
315860484Sobrien
315960484Sobrien	* config/tc-ppc.c (ppc_elf_suffix): Move @plt to
316060484Sobrien	BFD_RELOC_24_PLT_PCREL relocation.
316160484Sobrien	(md_apply_fix3): Support BFD_RELOC_24_PLT_PCREL.
316260484Sobrien
316360484SobrienTue Dec 10 13:51:55 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
316460484Sobrien
316560484Sobrien	* config/tc-d10v.c (write_2_short): Remove code that called
316660484Sobrien	parallel_ok() when the programmer specified parallel instructions.
316760484Sobrien
316860484SobrienTue Dec 10 12:23:19 1996  Jeffrey A Law  (law@cygnus.com)
316960484Sobrien
317060484Sobrien	* config/tc-mn10300.c (md_assemble): Update to handle endianness
317160484Sobrien	issues correctly.
317260484Sobrien
317360484Sobrien	* config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!
317460484Sobrien	* config/tc-mn10300.c (md_assemble): Likewise.
317560484Sobrien
317660484SobrienTue Dec 10 11:37:14 1996  Ian Lance Taylor  <ian@cygnus.com>
317760484Sobrien
317860484Sobrien	* config/tc-mips.c (append_insn): Make sure there is enough room
317960484Sobrien	in a frag after a mips16 instruction to switch it with a jump
318060484Sobrien	instruction.
318160484Sobrien
318260484Sobrien	* config/tc-mips.c (mips16_extended_frag): Give an error for an
318360484Sobrien	attempt to use a non absolute symbol in an extending frag.
318460484Sobrien
318560484SobrienMon Dec  9 16:48:20 1996  Jeffrey A Law  (law@cygnus.com)
318660484Sobrien
318760484Sobrien	* config/tc-mn10200.c: Flesh out assembler support for MN10200.
318860484Sobrien	* config/tc-mn10200.h: Likewise.
318960484Sobrien
319060484SobrienMon Dec  9 17:09:42 1996  Ian Lance Taylor  <ian@cygnus.com>
319160484Sobrien
319260484Sobrien	* app.c (do_scrub_chars): At the end of a C comment, pass space to
319360484Sobrien	UNGET rather than PUT.  Set old_state before setting state to -2.
319460484Sobrien
319560484Sobrien	* config/tc-mips.c (mips16_extended_frag): Avoid an infinite loop
319660484Sobrien	when extending because the value is exactly maxtiny + 1.
319760484Sobrien
319860484Sobrien	* config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and ext
319960484Sobrien	arguments, and store them.  Adjust other RELAX_MIPS16 macros.
320060484Sobrien	(RELAX_MIPS16_USER_SMALL): Define.
320160484Sobrien	(RELAX_MIPS16_USER_EXT): Define.
320260484Sobrien	(mips16_small, mips16_ext): New static variables.
320360484Sobrien	(append_insn): Pass mips16_small and mips16_ext to
320460484Sobrien	RELAX_MIPS16_ENCODE.
320560484Sobrien	(mips16_ip): Set mips16_small and mips16_ext.
320660484Sobrien	(mips16_immed): Don't check mips16_autoextend.
320760484Sobrien	(mips16_extended_frag): Check USER_SMALL and USER_EXT.
320860484Sobrien
320960484Sobrien	* write.c (write_relocs): Print an error for an out of range
321060484Sobrien	fixup, rather than calling abort.
321160484Sobrien
321260484Sobrien	* as.c (main): Unlink the output file if there are errors while
321360484Sobrien	generating the fixups.
321460484Sobrien
321560484SobrienFri Dec  6 18:48:13 1996  Ian Lance Taylor  <ian@cygnus.com>
321660484Sobrien
321760484Sobrien	* config/tc-mips.c (mips16_extended_frag): Don't call
321860484Sobrien	S_GET_VALUE.
321960484Sobrien	(md_convert_frag): Call resolve_symbol_value before calling
322060484Sobrien	S_GET_VALUE, and don't add in the frag address.
322160484Sobrien
322260484Sobrien	* config/tc-mips.c (mips16_immed): Add file and line parameters,
322360484Sobrien	and use them when reporting errors.  Change all callers.
322460484Sobrien
322560484SobrienFri Dec  6 15:36:32 1996  Jeffrey A Law  (law@cygnus.com)
322660484Sobrien
322760484Sobrien	* config/tc-mn10300.c: Fix various gcc -Wall warnings.
322860484Sobrien	Remove '$' prefixing for registers.
322960484Sobrien
323060484SobrienFri Dec  6 00:55:48 1996  Martin  <hunt@cygnus.com>
323160484Sobrien
323260484Sobrien	* config/tc-d10v.c (md_assemble): Check to see if prev_seg
323360484Sobrien	is initialized before using it.
323460484Sobrien	(d10v_cleanup): No longer uses its argument, so make it void.
323560484Sobrien
323660484Sobrien	* config/tc-d10v.h (d10v_cleanup): Change prototype.
323760484Sobrien	
323860484SobrienThu Dec  5 11:03:31 1996  Ian Lance Taylor  <ian@cygnus.com>
323960484Sobrien
324060484Sobrien	* write.c (fixup_segment): Don't discard the symbol for a PC
324160484Sobrien	relative fixup to an absolute symbol.
324260484Sobrien
324360484SobrienWed Dec  4 15:42:41 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
324460484Sobrien
324560484Sobrien	* config/tc-d10v.c (md_assemble, d10v_cleanup): Fix bug
324660484Sobrien	with multiple sections.
324760484Sobrien
324860484SobrienWed Dec  4 13:00:07 1996  Ian Lance Taylor  <ian@cygnus.com>
324960484Sobrien
325060484Sobrien	* config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
325160484Sobrien	no-mips-16 to no-mips16.
325260484Sobrien	(s_mipsset): Accept .set mips16 and .set nomips16.
325360484Sobrien
325460484SobrienWed Dec  4 10:35:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
325560484Sobrien
325660484Sobrien	* config/tc-ppc.c (ppc_elf_suffix): Take expressionS pointer
325760484Sobrien	argument, and check for +/- constant following the suffix, folding
325860484Sobrien	it into the expression.
325960484Sobrien	(ppc_elf_cons): Change ppc_elf_suffix calls.
326060484Sobrien	(md_assemble): Ditto.
326160484Sobrien	(shlib): Replace boolean mrelocatable with enumeration shlib.
326260484Sobrien	(md_parse_option): Discriminate between PIC style shared libraries
326360484Sobrien	and -mrelocatable.
326460484Sobrien	(ppc_elf_validate_fix): Don't report warnings for PIC style shared
326560484Sobrien	libraries.
326660484Sobrien
326760484SobrienTue Dec  3 23:18:29 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
326860484Sobrien
326960484Sobrien	* config/tc-ppc.h ({tc,ppc}_comment_chars): Define, so that we can
327060484Sobrien	change the comment characters.
327160484Sobrien
327260484Sobrien	* config/tc-ppc.c (comment_chars): Delete in favor of
327360484Sobrien	tc_comment_chars.
327460484Sobrien	(ppc_{eabi,solaris}_comment_chars): Eabi and Solaris versions of
327560484Sobrien	comment chars.
327660484Sobrien	(ppc_comment_chars): Select appropriate comment chars by default.
327760484Sobrien	(msolaris): New flag for -m{,no-}solaris.
327860484Sobrien	(md_parse_option): Recognize -K pic.  Add support for
327960484Sobrien	-m{,no-}solaris.
328060484Sobrien	(md_show_usage): Update.
328160484Sobrien	(md_begin): Do not set ELF flags if Solaris.
328260484Sobrien	(ppc_elf_suffix): @local sets R_PPC_LOCAL24PC relocation.
328360484Sobrien	(md_apply_fix3): Add support for R_PPC_LOCAL24PC.
328460484Sobrien
328560484SobrienMon Dec  2 13:48:57 1996  Ian Lance Taylor  <ian@cygnus.com>
328660484Sobrien
328760484Sobrien	* as.c (main): Correct handling of flag_always_generate_output.
328860484Sobrien
328960484SobrienSun Dec  1 21:46:05 1996  Jeffrey A Law  (law@cygnus.com)
329060484Sobrien
329160484Sobrien	* config/tc-mn10300.c (tc_gen_reloc): Get the addend from
329260484Sobrien	fx_offset, not fx_addnumber.
329360484Sobrien
329460484Sobrien	* config/tc-mn10300.h (tc_fix_adjustable): Don't do any
329560484Sobrien	reloc adjustments.
329660484Sobrien
329760484SobrienSat Nov 30 17:34:48 1996  Eliot Dresselhaus  <eliot@wally.edc.com>
329860484Sobrien
329960484Sobrien	* config/tc-i386.c: Correct misspelling: balenced to balanced.
330060484Sobrien
330160484SobrienWed Nov 27 13:25:39 1996  Ian Lance Taylor  <ian@cygnus.com>
330260484Sobrien
330360484Sobrien	* config/tc-mips.c (md_section_align): Check for an alignment of
330460484Sobrien	4, not an alignment of 16.  Corrects August 7 patch.
330560484Sobrien
330660484SobrienTue Nov 26 10:33:16 1996  Ian Lance Taylor  <ian@cygnus.com>
330760484Sobrien
330860484Sobrien	* configure, conf.in: Rebuild with autoconf 2.12.
330960484Sobrien
331060484Sobrien	* config/tc-ppc.c (ppc_elf_lcomm): Don't give an error if no
331160484Sobrien	alignment is specified.
331260484Sobrien
331360484Sobrien	Add support for mips16 (16 bit MIPS implementation):
331460484Sobrien	* config/tc-mips.c: Extensive additions for mips16 support, not
331560484Sobrien	listed here.
331660484Sobrien	(RELAX_OLD, RELAX_NEW): Use only 7 bits each.
331760484Sobrien	(insn_uses_reg): Change last parameter to an enum.
331860484Sobrien	* config/tc-mips.h (LOCAL_LABELS_DOLLAR): Define as 0.
331960484Sobrien	(md_relax_frag): Define as mips_relax_frag.
332060484Sobrien	(mips_relax_frag): Declare.
332160484Sobrien	(struct mips_cl_insn): Add use_extend and extend fields.
332260484Sobrien	(tc_fix_adjustable): Define.
332360484Sobrien	* config/obj-elf.h (S_GET_OTHER): Define.
332460484Sobrien	(S_SET_OTHER): Define.
332560484Sobrien
332660484SobrienMon Nov 25 18:02:29 1996  J.T. Conklin  <jtc@beauty.cygnus.com>
332760484Sobrien
332860484Sobrien	* config/tc-m68k.c (m68k_ip): Implement cases for new <, >, m, n,
332960484Sobrien 	o and p operand specifiers.
333060484Sobrien
333160484SobrienMon Nov 25 10:45:14 1996  Doug Evans  <dje@seba.cygnus.com>
333260484Sobrien
333360484Sobrien	* write.c: Delete "ifndef md_relax_frag" around is_dnrange.
333460484Sobrien	(relax_segment, case rs_org): Move code inside braces.  Move locals
333560484Sobrien	target,after inside too.
333660484Sobrien	(relax_segment, case rs_machine_dependent): Guts moved to ...
333760484Sobrien	(relax_frag): New function.
333860484Sobrien	Call md_prepare_relax_scan if defined.
333960484Sobrien	* config/tc-m68k.h (md_prepare_relax_scan): Renamed from
334060484Sobrien	M68K_AIM_KLUDGE.
334160484Sobrien
334260484SobrienMon Nov 25 08:49:36 1996  Jeffrey A Law  (law@cygnus.com)
334360484Sobrien
334460484Sobrien	* config/tc-mn10300.c (address_registers): Use '$' as register
334560484Sobrien	prefix instead of '%'.
334660484Sobrien	(data_registers, other_registers, md_assemble): Likewise.
334760484Sobrien
334860484Sobrien	* config/tc-mn10300.c (address_registers): Use '%' prefix for regs.
334960484Sobrien	(data_registers, other_registers, md_assemble): Likewise.
335060484Sobrien
335160484Sobrien	* config/tc-mn10300.c (md_assemble): Correctly determine the
335260484Sobrien	correct location and type for each relocation.
335360484Sobrien	(md_pcrel_from): Simplify.
335460484Sobrien
335560484SobrienFri Nov 22 15:42:26 1996  Ian Lance Taylor  <ian@cygnus.com>
335660484Sobrien
335760484Sobrien	* config/tc-sh.c (md_convert_frag): Improve warning when branch is
335860484Sobrien	converted into branch around branch.
335960484Sobrien
336060484SobrienThu Nov 21 11:56:11 1996  Jeffrey A Law  (law@cygnus.com)
336160484Sobrien
336260484Sobrien	* config/tc-mn10300.h (DIFF_EXPR_OK): Don't define this.
336360484Sobrien	(tc_fix_adjustable): Don't adjust relocs against weak symbols or 
336460484Sobrien	pc-relative relocs.
336560484Sobrien	* config/tc-mn10300.c (md_begin): Set linkrelax.
336660484Sobrien	(md_assemble): Create fixups as needed.
336760484Sobrien	(md_apply_fix3): Gut.  It shouldn't ever get called anymore.
336860484Sobrien
336960484SobrienTue Nov 19 17:48:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
337060484Sobrien
337160484Sobrien	* config/tc-d10v.c (parallel_ok): When automatically converting
337260484Sobrien	serial ops to parallel, do not consider a branch as the first
337360484Sobrien	instruction.
337460484Sobrien
337560484SobrienTue Nov 19 13:35:22 1996  Jeffrey A Law  (law@cygnus.com)
337660484Sobrien
337760484Sobrien	* config/tc-mn10300.c (md_assemble): Handle MN10300_OPERAND_REG_LIST.
337860484Sobrien
337960484SobrienMon Nov 18 15:26:55 1996  Jeffrey A Law  (law@cygnus.com)
338060484Sobrien
338160484Sobrien	* config/tc-mn10300.c (mn10300_insert_operand): Provide prototype
338260484Sobrien	via PARAMS.
338360484Sobrien	(check_operand): Likewise.
338460484Sobrien
338560484SobrienMon Nov 18 15:22:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
338660484Sobrien
338760484Sobrien	* config/tc-d10v.c (parallel_ok): Branch and link instructions
338860484Sobrien	modify r13.
338960484Sobrien	(write_2_short): Call parallel_ok to check whether two short
339060484Sobrien	instructions the user requested execute in parallel, can be
339160484Sobrien	executed that way.
339260484Sobrien
339360484SobrienThu Nov 14 11:17:49 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
339460484Sobrien
339560484Sobrien	* config/tc-d10v.c (write_2_short): Fix bug that wouldn't
339660484Sobrien	allow a branch and link in parallel with an exe instruction.
339760484Sobrien
339860484SobrienFri Nov  8 13:55:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
339960484Sobrien
340060484Sobrien	* doc/c-d10v.texi: Add info on @word modifier.
340160484Sobrien
340260484SobrienWed Nov  6 13:46:07 1996  Jeffrey A Law  (law@cygnus.com)
340360484Sobrien	
340460484Sobrien	* config/tc-mn10300.c (mn10300_insert_operand): MN10300_OPERAND_SPLIT
340560484Sobrien	operands are assumed to be 32bits.  Use "bits" field to hold the
340660484Sobrien	number of bits in the main instruction word for MN10300_OPERAND_SPLIT.
340760484Sobrien	(mn10300_check_operand): MN10300_OPERAND_SPLIT operands are assumed
340860484Sobrien	to be 32bits.
340960484Sobrien
341060484Sobrien	* config/tc-mn10300.c (mn10300_insert_operand): Shift low part
341160484Sobrien	of a MN10300_OPERAND_SPLIT operand by operand->shift.
341260484Sobrien
341360484Sobrien	* config/tc-mn10300.c (mn10300_insert_operand): Handle
341460484Sobrien	MN10300_OPERAND_SPLIT.
341560484Sobrien
341660484SobrienTue Nov  5 13:30:40 1996  Jeffrey A Law  (law@cygnus.com)
341760484Sobrien
341860484Sobrien	* config/tc-mn10300.c (md_assemble): Insert operands into
341960484Sobrien	the extension part of the instruction if necessary.
342060484Sobrien	(mn10300_insert_operand): Accept pointer to extension word
342160484Sobrien	argument.  Make insn a pointer argument too.  Return type
342260484Sobrien	is now void.  All callers changed.
342360484Sobrien
342460484SobrienMon Nov  4 12:53:40 1996  Jeffrey A Law  (law@cygnus.com)
342560484Sobrien
342660484Sobrien	* config/tc-mn10300.c (mn10300_insert_operand): Handle
342760484Sobrien	repeated register operands.
342860484Sobrien
342960484SobrienFri Nov  1 10:42:49 1996  Ian Lance Taylor  <ian@cygnus.com>
343060484Sobrien
343160484Sobrien	* doc/as.texinfo: Added section on reporting bugs.
343260484Sobrien
343360484Sobrien	* config/tc-alpha.c: Change uses of void * to PTR.  Change the
343460484Sobrien	alpha_macro emit field to expect a const argument, and change the
343560484Sobrien	arg field to be const.  Fix some spacing to follow the GNU
343660484Sobrien	standard.
343760484Sobrien
343860484SobrienFri Nov  1 10:32:03 1996  Richard Henderson  <rth@tamu.edu>
343960484Sobrien
344060484Sobrien	* config/tc-alpha.c (md_parse_option): Add knowledge of 21164pc
344160484Sobrien	(pca56) and 21264 (ev6) cpus.
344260484Sobrien	(md_apply_fix): Private relocation types are now negative.
344360484Sobrien	(alpha_force_relocation): Likewise.
344460484Sobrien	(tc_gen_reloc): Likewise.
344560484Sobrien	(emit_insn): Likewise.
344660484Sobrien	(emit_ldXu): Do the right thing when the hardware can do byte insns.
344760484Sobrien	(emit_stX): Likewise.
344860484Sobrien	(emit_sextX): Likewise.
344960484Sobrien
345060484SobrienThu Oct 31 16:33:21 1996  Ian Lance Taylor  <ian@cygnus.com>
345160484Sobrien
345260484Sobrien	* config/obj-coff.c (do_relocs_for): Call resolve_symbol_value on
345360484Sobrien	a symbol found in a reloc.
345460484Sobrien
345560484Sobrien	* symbols.c (resolve_symbol_value): Improve the error message if
345660484Sobrien	an undefined symbol is used in an expression.
345760484Sobrien
345860484SobrienWed Oct 30 20:15:35 1996  Ian Lance Taylor  <ian@cygnus.com>
345960484Sobrien
346060484Sobrien	* doc/internals.texi: Rewrite, and add a lot of documentation.
346160484Sobrien	* doc/Makefile.in (internals.info): New target.
346260484Sobrien
346360484SobrienWed Oct 30 14:55:57 1996  Jeffrey A Law  (law@cygnus.com)
346460484Sobrien
346560484Sobrien	* config/tc-v850.h (tc_fix_adjustable): Don't adjust relocs
346660484Sobrien	against weak symbols.
346760484Sobrien
346860484SobrienTue Oct 29 12:28:16 1996  Jeffrey A Law  (law@cygnus.com)
346960484Sobrien
347060484Sobrien	* config/tc-v850.c (md_assemble): Don't lose for relaxable
347160484Sobrien	addresses like .+6.
347260484Sobrien
347360484Sobrien	* config/tc-v850.c (md_convert_frag): Make sure we insert the
347460484Sobrien	fixup at the right address within the frag.
347560484Sobrien
347660484Sobrien	* config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix
347760484Sobrien	to an absolute value, instead increment it as needed.
347860484Sobrien
347960484Sobrien	* config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define.
348060484Sobrien	* config/tc-v850.c: Fix some indention problems.
348160484Sobrien	(md_relax_table): Define for D9->D99 branch displacement
348260484Sobrien	relaxing.
348360484Sobrien	(md_convert_frag): Do something useful instead of aborting.
348460484Sobrien	(md_estimate_size_before_relax): Likewise.
348560484Sobrien	(md_assemble): Note if the matching instruction has a relaxable
348660484Sobrien	operand.  If it does, allocate frag with frag_var and don't
348760484Sobrien	do any fixups.
348860484Sobrien
348960484SobrienMon Oct 28 10:48:40 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
349060484Sobrien
349160484Sobrien	* config/tc-d10v.h (md_cleanup): New function.  This is needed to
349260484Sobrien	write out any buffered instructions when a ".end" is found.
349360484Sobrien
349460484SobrienMon Oct 28 10:43:45 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
349560484Sobrien
349660484Sobrien	* read.c (read_a_source_file): New hook md_cleanup().
349760484Sobrien
349860484SobrienFri Oct 25 00:01:00 1996  Ian Lance Taylor  <ian@cygnus.com>
349960484Sobrien
350060484Sobrien	* write.c (fix_new_exp): Use make_expr_symbol to build an
350160484Sobrien	expression symbol for a complex fixup.
350260484Sobrien
350360484SobrienThu Oct 24 14:31:04 1996  Jeffrey A Law  (law@cygnus.com)
350460484Sobrien
350560484Sobrien	* config/tc-v850.c (v850_reloc_prefix): Several disgusting
350660484Sobrien	hacks to improve parsing of complex hi, lo, zda, etc
350760484Sobrien	expressions.
350860484Sobrien	(md_assemble): Don't demand and eat a trailing ')' after finding
350960484Sobrien	a v850 relocation prefix.  Sign extend the constant in a
351060484Sobrien	BFD_RELOC_LO16 expression.  Do eat a trailing ')' after a complete
351160484Sobrien	operand.
351260484Sobrien	(parse_cons_expression_v850): Don't eat a trailing ')' after
351360484Sobrien	finding a v850 relocation prefix.
351460484Sobrien
351560484Sobrien	* config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define.
351660484Sobrien	(TC_CONS_FIX_NEW): Likewise.
351760484Sobrien	* config/tc-v850.c (parse_cons_expression_v850): New function.
351860484Sobrien	(cons_fix_new_v850): Likewise.
351960484Sobrien
352060484Sobrien	* config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
352160484Sobrien
352260484SobrienWed Oct 23 18:20:29 1996  Ian Lance Taylor  <ian@cygnus.com>
352360484Sobrien
352460484Sobrien	* config/tc-ppc.c (md_apply_fix3): Give a better warning message
352560484Sobrien	for an unknown relocation type.
352660484Sobrien
352760484SobrienWed Oct 23 16:21:28 1996  Jeffrey A Law  (law@cygnus.com)
352860484Sobrien
352960484Sobrien	* config/tc-v850.c (md_pseudo_table): Add .word; allocates
353060484Sobrien	4 bytes of space.
353160484Sobrien
353260484SobrienTue Oct 22 22:01:25 1996  Jeffrey A Law  (law@cygnus.com)
353360484Sobrien
353460484Sobrien	* config/tc-v850.c (md_assemble): Handle TDAOFF relocs
353560484Sobrien	differently for movea & sst/sld insns.
353660484Sobrien
353760484SobrienTue Oct 22 17:09:32 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
353860484Sobrien
353960484Sobrien	* config/tc-d10v.c (parallel_ok): Don't allow illegal combinations
354060484Sobrien	of instructions.
354160484Sobrien
354260484SobrienTue Oct 22 11:28:39 1996  Ian Lance Taylor  <ian@cygnus.com>
354360484Sobrien
354460484Sobrien	* obj.h (struct format_ops): Add frob_file_after_relocs field.
354560484Sobrien	* config/obj-multi.h (obj_frob_file_after_relocs): Define.
354660484Sobrien	* config/obj-ecoff.c (ecoff_format_ops): Initialize new
354760484Sobrien	frob_file_after_relocs field.
354860484Sobrien	* config/obj-elf.c (elf_format_ops): Likewise.
354960484Sobrien	* config/tc-mips.c: Undefine obj_frob_file_after_relocs before
355060484Sobrien	including obj-elf.h.
355160484Sobrien
355260484SobrienMon Oct 21 11:38:30 1996  Ian Lance Taylor  <ian@cygnus.com>
355360484Sobrien
355460484Sobrien	* config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte reloc
355560484Sobrien	specially if not ELF.
355660484Sobrien	(md_apply_fix): Handle BFD_RELOC_64.
355760484Sobrien	(tc_gen_reloc): Handle BFD_RELOC_64.
355860484Sobrien
355960484Sobrien	* config/tc-i386.c (md_apply_fix3): Don't increment value for a PC
356060484Sobrien 	relative reloc when BFD_ASSEMBLER and OBJ_AOUT (more ugly gas
356160484Sobrien 	reloc hacking).
356260484Sobrien
356360484Sobrien	* config/obj-aout.h (S_IS_DEFINE): non BFD_ASSEMBLER version:
356460484Sobrien	Don't check S_GET_OTHER.
356560484Sobrien
356660484SobrienFri Oct 18 14:06:26 1996  Ian Lance Taylor  <ian@cygnus.com>
356760484Sobrien
356860484Sobrien	* config/tc-mips.c (mips_ip): Accept an odd floating point
356960484Sobrien	register with l.s or s.s.
357060484Sobrien
357160484Sobrien	* config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
357260484Sobrien	.type pseudo-op.
357360484Sobrien	(obj_aout_type): New static function.
357460484Sobrien
357560484SobrienThu Oct 17 17:55:17 1996  Ian Lance Taylor  <ian@cygnus.com>
357660484Sobrien
357760484Sobrien	* Makefile.in ($(OBJS)): Depend upon libiberty.h.
357860484Sobrien
357960484SobrienWed Oct 16 11:28:31 1996  Jeffrey A Law  (law@cygnus.com)
358060484Sobrien
358160484Sobrien	* config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
358260484Sobrien	and sdaoff expressions.
358360484Sobrien
358460484Sobrien	* write.c (fixup_segment): Don't add symbol value to addend if
358560484Sobrien	TC_V850 and OBJ_ELF.
358660484Sobrien	* config/tc-v850.h (tc_fix_adjustable): Don't adjust any
358760484Sobrien	pc-relative fixups.
358860484Sobrien
358960484Sobrien	* config/tc-v850.c (md_pcrel_from): Undo yesterday's changes.
359060484Sobrien	(md_pcrel_from_section): Likewise.
359160484Sobrien	* config/tc-v850.h (MD_PCREL_FROM_SECTION): Likewise.
359260484Sobrien
359360484SobrienTue Oct 15 23:19:00 1996  Jeffrey A Law  (law@cygnus.com)
359460484Sobrien
359560484Sobrien	* config/tc-v850.c (md_pcrel_from): Delete unused function.
359660484Sobrien	(md_pcrel_from_section): New function.
359760484Sobrien	* config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
359860484Sobrien
359960484SobrienMon Oct 14 13:59:12 1996  Ian Lance Taylor  <ian@cygnus.com>
360060484Sobrien
360160484Sobrien	* config/tc-mips.c (load_register): Add cast to offsetT when using
360260484Sobrien	a constant with &~.
360360484Sobrien
360460484SobrienMon Oct 14 11:24:28 1996  Richard Henderson  <rth@tamu.edu>
360560484Sobrien
360660484Sobrien	* config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
360760484Sobrien	(elf_frob_file_after_relocs): ... here.  New function.
360860484Sobrien	* config/obj-elf.h (obj_from_file_after_relocs): New macro.
360960484Sobrien	* write.c (write_object_file): Call *frob_after_relocs after the
361060484Sobrien	call to write_relocs.
361160484Sobrien
361260484Sobrien	* config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc.
361360484Sobrien
361460484Sobrien	* config/tc-alpha.c (load_expression): Don't SET_VALUE on the section
361560484Sobrien	symbol, as this messes up linking.  Instead, expand the recursive call
361660484Sobrien	inline and change up the appropriate bits to get the 0x8000 offset
361760484Sobrien	in the reloc addend.
361860484Sobrien
361960484SobrienThu Oct 10 17:30:31 1996  Ian Lance Taylor  <ian@cygnus.com>
362060484Sobrien
362160484Sobrien	* config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
362260484Sobrien	two symbols in the same segment to be adjusted.
362360484Sobrien
362460484Sobrien	* configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
362560484Sobrien	* configure: Rebuild.
362660484Sobrien
362760484SobrienThu Oct 10 17:22:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
362860484Sobrien
362960484Sobrien	* config/tc-ppc.c (ppc_insert_operand): Change most warnings into
363060484Sobrien	errors.
363160484Sobrien	(ppc_elf_validate_fix): Ditto.
363260484Sobrien	(md_assemble): Ditto.
363360484Sobrien	(ppc_tc): Ditto.
363460484Sobrien	(ppc_pe_section): Ditto.
363560484Sobrien	(ppc_frob_symbol): Ditto.
363660484Sobrien
363760484SobrienThu Oct 10 12:05:45 1996  Jeffrey A Law  (law@cygnus.com)
363860484Sobrien
363960484Sobrien	* config/mn10300.c (md_assemble): Pass an extra shift count
364060484Sobrien	to mn10300_insert_operand based on the opcode format.
364160484Sobrien	(mn10300_insert_operand): Accept and use extra shift count
364260484Sobrien	parameter.
364360484Sobrien
364460484Sobrien	* config/tc-mn10300.c (md_assemble): Use FMT_* macros for
364560484Sobrien	formats rather than hard-coded constants.
364660484Sobrien
364760484Sobrien	* config/tc-mn10300.c (md_assemble): Format D5 instructions
364860484Sobrien	are 7 bytes long.  Write out instructions in big-endian format.
364960484Sobrien
365060484SobrienTue Oct  8 14:56:15 1996  Jeffrey A Law  (law@cygnus.com)
365160484Sobrien
365260484Sobrien	* config/tc-mn10300.c (md_assemble): Tweak further so
365360484Sobrien	that all instructions are parsed correctly.
365460484Sobrien
365560484SobrienTue Oct  8 13:02:21 1996  Ian Lance Taylor  <ian@cygnus.com>
365660484Sobrien
365760484Sobrien	* as.h: Include libiberty.h.
365860484Sobrien	(xmalloc, xrealloc): Don't declare.
365960484Sobrien	* as.c: Don't include libiberty.h.
366060484Sobrien	* expr.c, read.c, stabs.c, config/obj-coff.c: Likewise.
366160484Sobrien	* config/tc-mips.c: Likewise.
366260484Sobrien	* messages.c: Likewise.
366360484Sobrien	(xstrerror): Don't declare.
366460484Sobrien	* xmalloc.c: Remove.
366560484Sobrien
366660484SobrienMon Oct  7 16:53:23 1996  Jeffrey A Law  (law@cygnus.com)
366760484Sobrien
366860484Sobrien	* config/tc-mn10300.h (pre_defined_registers) Remove.
366960484Sobrien	(system_registers, cc_names): Likewise.
367060484Sobrien	(address_registers, data_registers, other_registers): New register
367160484Sobrien	arrays.
367260484Sobrien	(register_name, system_register_name, cc_name): Remove.
367360484Sobrien	(mn10300_reloc_prefix): Likewise.
367460484Sobrien	(data_register_name): New function.
367560484Sobrien	(address_register_name, other_register_name): Likewise.
367660484Sobrien	(md_assemble): Rough cut at parsing operands.  Remove lots of
367760484Sobrien	unwanted code.
367860484Sobrien	(md_apply_fix3): Disable for now.
367960484Sobrien
368060484SobrienMon Oct  7 11:38:34 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
368160484Sobrien
368260484Sobrien	* config/tc-m68k.c (select_control_regs): New function, extracted
368360484Sobrien	out of m68k_init_after_args.
368460484Sobrien	(m68k_init_after_args): Use it.
368560484Sobrien	(mri_chip): Use it here as well to update set of allowed control
368660484Sobrien	regs for movec.
368760484Sobrien
368860484SobrienMon Oct  7 11:24:29 1996  Ian Lance Taylor  <ian@cygnus.com>
368960484Sobrien
369060484Sobrien	* config/obj-elf.c (elf_begin): New function.
369160484Sobrien	(obj_elf_section): Add the section symbol to the symbol table.
369260484Sobrien	* config/obj-elf.h (obj_begin): Define.
369360484Sobrien	(elf_begin): Declare.
369460484Sobrien	* as.c (perform_an_assembly_pass): Call obj_begin if it is
369560484Sobrien	defined.
369660484Sobrien
369760484SobrienFri Oct  4 18:37:32 1996  Ian Lance Taylor  <ian@cygnus.com>
369860484Sobrien
369960484Sobrien	* config/obj-coff.c (fixup_segment): Subtract the section address
370060484Sobrien	from a PC relative reloc if TC_M68K.
370160484Sobrien
370260484SobrienThu Oct  3 15:15:30 1996  Ian Lance Taylor  <ian@cygnus.com>
370360484Sobrien
370460484Sobrien	* config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and
370560484Sobrien	.uaxword available even if not OBJ_ELF.
370660484Sobrien	(md_atof): Remove unused local variable wordP.
370760484Sobrien
370860484SobrienThu Oct  3 00:16:50 1996  Jeffrey A Law  (law@cygnus.com)
370960484Sobrien
371060484Sobrien	* config/tc-mn10x00.c, config/tc-mn10x00.h: New files
371160484Sobrien	for Matsushita MN10x00 support.
371260484Sobrien	* configure.in: Recognize mn10x00-*-*
371360484Sobrien	* configure: Rebuilt.
371460484Sobrien
371560484SobrienWed Oct  2 15:54:03 1996  Klaus Kaempf  <kkaempf@progis.de>
371660484Sobrien
371760484Sobrien	* obj-evax.h: move openvms definitions from here to tc-alpha.c.
371860484Sobrien	* tc-alpha.c: add support for vms_case_hack like in vax/vms.
371960484Sobrien	(load_expression): track clobbering of base reg before jmp/jsr.
372060484Sobrien	(s_alpha_file): pass case_hack flags and source filename via
372160484Sobrien	symbol table to bfd.
372260484Sobrien	* tc-alpha.h (TC_CONS_FIX_NEW): define
372360484Sobrien
372460484SobrienTue Oct  1 16:16:01 1996  Joel Sherrill  <joel@oarcorp.com>
372560484Sobrien
372660484Sobrien	* configure.in (mips-*-rtems*): New target, like mips-*-elf*.
372760484Sobrien	* configure: Rebuild.
372860484Sobrien
372960484SobrienTue Oct  1 12:37:48 1996  Ian Lance Taylor  <ian@cygnus.com>
373060484Sobrien
373160484Sobrien	* read.c (s_macro): Warn if a macro has the same name as a
373260484Sobrien	pseudo-op.
373360484Sobrien	(s_space): In m68k MRI mode, align to a word boundary.
373460484Sobrien	* macro.c (define_macro): Add namep parameter.  Change all
373560484Sobrien	callers.
373660484Sobrien	* macro.h (define_macro): Update declaration.
373760484Sobrien
373860484Sobrien	* as.c (show_usage): Print bug report address.
373960484Sobrien	(parse_args): Change version printing to match current GNU
374060484Sobrien	standards.
374160484Sobrien	* gasp.c (show_usage): Print bug report address.
374260484Sobrien	(main): Change version printing to match current GNU standards.
374360484Sobrien
374460484Sobrien	* config/tc-m68k.c (init_table): Correct access control unit
374560484Sobrien	register numbers.  From Ken Rose <rose@netcom.com>.
374660484Sobrien
374760484Sobrien	* config/tc-alpha.c: Add some static function prototypes.
374860484Sobrien 	(alpha_macros): Move to top of file.  Make static.
374960484Sobrien	(alpha_num_macros): Move to top of file.
375060484Sobrien
375160484SobrienTue Oct  1 09:36:19 1996  Stu Grossman  (grossman@critters.cygnus.com)
375260484Sobrien
375360484Sobrien	* tc-v850.h:  Define LOCAL_LABEL to recognise _.L_* symbols
375460484Sobrien	generated by DWARF.
375560484Sobrien
375660484SobrienSat Sep 28 03:38:08 1996  Ian Lance Taylor  <ian@cygnus.com>
375760484Sobrien
375860484Sobrien	* listing.c (list_symbol_table): Remove bogus code in BFD64 case,
375960484Sobrien	and just call sprintf_vma.
376060484Sobrien
376160484SobrienThu Sep 26 16:04:11 1996  Ian Lance Taylor  <ian@cygnus.com>
376260484Sobrien
376360484Sobrien	* expr.c (expr): Change >>= to >> (fix typo).  (From meissner).
376460484Sobrien
376560484SobrienTue Sep 24 19:05:08 1996  Ian Lance Taylor  <ian@cygnus.com>
376660484Sobrien
376760484Sobrien	* read.c (float_cons): Call md_flush_pending_output if it is
376860484Sobrien	defined.
376960484Sobrien
377060484SobrienTue Sep 24 12:22:18 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
377160484Sobrien
377260484Sobrien	* config/tc-d10v.c (md_operand): Created.  Allows operands to 
377360484Sobrien	start with '#'.
377460484Sobrien	* config/tc-d10v.h (md_operand): Undefined.
377560484Sobrien
377660484SobrienMon Sep 23 12:13:18 1996  Ian Lance Taylor  <ian@cygnus.com>
377760484Sobrien
377860484Sobrien	* config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
377960484Sobrien	(md_assemble): A fixup width of '3' means a 1 byte reloc.
378060484Sobrien
378160484SobrienThu Sep 19 12:21:24 1996  Ian Lance Taylor  <ian@cygnus.com>
378260484Sobrien
378360484Sobrien	* config/obj-coff.c (fixup_segment): Don't adjust PC relative
378460484Sobrien	reloc for the i960 for a reloc in the same section.  This undoes
378560484Sobrien	one of the two changes made Aug 19.
378660484Sobrien
378760484SobrienWed Sep 18 12:11:58 1996  Ian Lance Taylor  <ian@cygnus.com>
378860484Sobrien
378960484Sobrien	* config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
379060484Sobrien	symbols to the position of the debugging information.
379160484Sobrien
379260484SobrienMon Sep 16 11:41:40 1996  Ian Lance Taylor  <ian@cygnus.com>
379360484Sobrien
379460484Sobrien	* expr.c (expr): Always use unsigned right shifts for >>.
379560484Sobrien
379660484SobrienThu Sep 12 10:25:45 1996  James G. Smith  <jsmith@cygnus.co.uk>
379760484Sobrien
379860484Sobrien	* config/tc-arm.c (md_apply_fix3): Update two thumb instruction
379960484Sobrien 	slots when processing BL fixups.
380060484Sobrien
380160484Sobrien	* config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
380260484Sobrien 	on the first half of the instruction.
380360484Sobrien
380460484SobrienWed Sep 11 00:09:35 1996  Ian Lance Taylor  <ian@cygnus.com>
380560484Sobrien
380660484Sobrien	* ecoff.c (ecoff_stab): Create an expression symbol for a complex
380760484Sobrien	stabs expression, rather than giving an error.
380860484Sobrien
380960484Sobrien	* ecoff.c (ecoff_new_file): Don't do anything if we are still in
381060484Sobrien	the same file.
381160484Sobrien
381260484SobrienTue Sep 10 11:45:37 1996  Ian Lance Taylor  <ian@cygnus.com>
381360484Sobrien
381460484Sobrien	* config/tc-mips.c (append_insn): Fill in the value for a constant
381560484Sobrien	jump, rather than creating a reloc.
381660484Sobrien
381760484SobrienMon Sep  9 10:57:42 1996  Ian Lance Taylor  <ian@cygnus.com>
381860484Sobrien
381960484Sobrien	* config/tc-mips.c (append_insn): Don't swap an instruction which
382060484Sobrien	sets a condition code with an instruction which uses a condition
382160484Sobrien	code.
382260484Sobrien	(mips_ip): In cases 'N' and 'M', look for $fccN rather than an
382360484Sobrien	immediate value.
382460484Sobrien
382560484Sobrien	* config/tc-mips.c (md_begin): Recognize r5000 for cpu.
382660484Sobrien	(mips_ip): Give a better error message if the ISA level is wrong.
382760484Sobrien	(md_parse_option): Recognize -mcpu=[v][r]5000.
382860484Sobrien
382960484SobrienSat Sep  7 13:25:55 1996  James G. Smith  <jsmith@cygnus.co.uk>
383060484Sobrien
383160484Sobrien	* config/tc-mips.c (COUNT_TOP_ZEROES): Added macro to count
383260484Sobrien 	leading zeroes.
383360484Sobrien	(load_register): Ensure hi32 bits are not lost during lo32bit
383460484Sobrien 	processing. Fix shift offset that was overflowing into the next
383560484Sobrien 	instruction field. Add code to generate shorter sequences for
383660484Sobrien 	constants with a single contiguous seqeuence of ones.
383760484Sobrien
383860484SobrienFri Sep  6 17:07:12 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
383960484Sobrien
384060484Sobrien	* config/tc-d10v.c (d10v_dot_word): New function to support
384160484Sobrien	"@word" with the word pseudo-op.
384260484Sobrien	(md_apply_fix3): Cleanup and changes to support correct sizes
384360484Sobrien	for 16 and 18-bit relocs.
384460484Sobrien
384560484SobrienFri Sep  6 16:00:29 1996  Doug Evans  <dje@canuck.cygnus.com>
384660484Sobrien
384760484Sobrien	* configure.in (sparc-*-aout): Set `em'.
384860484Sobrien	* configure: Regenerated.
384960484Sobrien	* config/te-sparcaout.h: New file.
385060484Sobrien	* config/tc-sparc.h (TARGET_BYTES_BIG_ENDIAN): Define.
385160484Sobrien	Ifdef TE_SPARCOUT define TARGET_FORMAT and SPARC_BIENDIAN.
385260484Sobrien	* config/tc-sparc.c (INSN_BIG_ENDIAN): New macro.
385360484Sobrien	(SPECIAL_CASE_{SETSW,SETX}): Define.
385460484Sobrien	({NOP,OR,FMOVS,SETHI,SLLX,SRA}_INSN): Define.
385560484Sobrien	(md_begin): Delete setting of `target_big_endian'.
385660484Sobrien	(output_insn): New function.
385760484Sobrien	(md_assemble): Rewrite.  Add `setx' support.
385860484Sobrien	(sparc_ip): Handle `0' operand char.  Recognize setuw, setsw, setx
385960484Sobrien	special cases.
386060484Sobrien	(md_atof): Add little endian support.
386160484Sobrien	(md_number_to_chars): Likewise.
386260484Sobrien	(md_apply_fix): Likewise.
386360484Sobrien	(md_longopts): Recognize -EL,-EB ifdef SPARC_BIENDIAN.
386460484Sobrien	(md_parse_option): Likewise.
386560484Sobrien	(md_show_usage): Print -EL, -EB ifdef SPARC_BIENDIAN.
386660484Sobrien
386760484SobrienThu Sep  5 13:40:29 1996  Ian Lance Taylor  <ian@cygnus.com>
386860484Sobrien
386960484Sobrien	* ecoff.c (ecoff_new_file): New function.
387060484Sobrien	* ecoff.h (ecoff_new_file): Declare.
387160484Sobrien	* config/obj-ecoff.h (obj_app_file): Define.
387260484Sobrien
387360484SobrienThu Sep  5 13:39:25 1996  Richard Henderson  <rth@tamu.edu>
387460484Sobrien
387560484Sobrien	* config/tc-alpha.c (load_expression): Bias the .lit8 section
387660484Sobrien	symbol by 32k so that our 16-bit signed offset can address the
387760484Sobrien	entire chunk.  Reported by <matt@lkg.dec.com>.
387860484Sobrien
387960484SobrienWed Sep  4 10:23:20 1996  Ian Lance Taylor  <ian@cygnus.com>
388060484Sobrien
388160484Sobrien	* config/tc-mips.c (load_register): Remove unused variable tmp.
388260484Sobrien
388360484SobrienWed Sep  4 11:24:29 1996  James G. Smith  <jsmith@cygnus.co.uk>
388460484Sobrien
388560484Sobrien	* config/tc-mips.c (load_register): Remove unnecessary code that
388660484Sobrien 	was causing the high 32bits of 64bit constants to be lost.
388760484Sobrien	
388860484SobrienTue Sep  3 13:52:56 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
388960484Sobrien
389060484Sobrien	* config/tc-d10v.c: Added changes to support function
389160484Sobrien	pointers and "@word" syntax.
389260484Sobrien
389360484SobrienTue Sep  3 11:57:18 1996  Jeffrey A Law  (law@cygnus.com)
389460484Sobrien
389560484Sobrien	* config/tc-v850.c: Remove commented out and #if 0'd code.
389660484Sobrien	(v850_reloc_prefix): Provide prototype.
389760484Sobrien	(postfix, get_reloc, build_insn): Remove prototypes for nonexistant
389860484Sobrien	functions.
389960484Sobrien	(md_begin, md_assemble, md_apply_fix3): Remove unused variables.
390060484Sobrien	(md_assemble): Add default to case statement.
390160484Sobrien
390260484SobrienSat Aug 31 16:03:00 1996  Jeffrey A Law  (law@cygnus.com)
390360484Sobrien
390460484Sobrien	* config/tc-v850.c (md_assemble): Compute size of the instrction
390560484Sobrien	from the opcode.
390660484Sobrien
390760484Sobrien	* config/tc-v850.c (md_apply_fix3): Do simple byte, short and
390860484Sobrien	word fixups too.
390960484Sobrien
391060484SobrienFri Aug 30 23:50:08 1996  Jeffrey A Law  (law@cygnus.com)
391160484Sobrien
391260484Sobrien	* config/tc-v850.c (md_apply_fix3): Use little endian get/put
391360484Sobrien	routines to fetch/store the updated instruction from/to memory.
391460484Sobrien	(v850_insert_operand): If the operand has a specialized insert
391560484Sobrien	routine, call it.
391660484Sobrien
391760484SobrienFri Aug 30 18:35:26 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
391860484Sobrien
391960484Sobrien	* config/tc-v850.c (reg_name_search): Align calling convention to
392060484Sobrien 	be like identical function found in tc-ppc.c.
392160484Sobrien	(get_reloc): Removed.
392260484Sobrien	(v850_reloc_prefix): New function, parse lo(), hi() and hi0().
392360484Sobrien	(md_assemble): emit fixups.
392460484Sobrien	(md_pcrel_from): renamed from md_pcrel_from_section, emit proper
392560484Sobrien 	displacement.
392660484Sobrien	(md_apply_fix3): handle fixups/relocs.
392760484Sobrien	* config/tc-v850.h (MD_PCREL_FROM_SECTION): Removed definition.
392860484Sobrien	
392960484SobrienFri Aug 30 18:12:00 1996  Ian Lance Taylor  <ian@cygnus.com>
393060484Sobrien
393160484Sobrien	Add SH ELF support.
393260484Sobrien	* configure.in (sh-*-elf*): New target.
393360484Sobrien	* config/tc-sh.h (TARGET_ARCH): Define.
393460484Sobrien	(WORKING_DOT_WORD): Define.
393560484Sobrien 	(TC_COFF_FIX2RTYPE): Only define if OBJ_COFF.
393660484Sobrien	(BFD_ARCH, COFF_MAGIC, TC_COUNT_RELOC): Likewise.
393760484Sobrien	(TC_RELOC_MANGLE, tc_coff_symbol_emit_hook): Likewise.
393860484Sobrien	(DO_NOT_STRIP, NEED_FX_R_TYPE, TC_KEEP_FX_OFFSET): Likewise.
393960484Sobrien	(TC_COFF_SIZEMACHDEP, tc_frob_file): Likewise.
394060484Sobrien	(SUB_SEGMENT_ALIGN): Likewise.
394160484Sobrien	(RELOC_32): Don't define.
394260484Sobrien	(tc_frob_file_before_adjust): Define if BFD_ASSEMBLER.
394360484Sobrien	(target_big_endian): Declare if OBJ_ELF.
394460484Sobrien	(TARGET_FORMAT): Define if OBJ_ELF.
394560484Sobrien	* config/tc-sh.c: Use BFD reloc codes instead of SH COFF reloc
394660484Sobrien	numbers throughout.
394760484Sobrien	(tc_crawl_symbol_chain): Only define if OBJ_COFF.
394860484Sobrien	(tc_headers_hook, tc_coff_sizemachdep): Likewise.
394960484Sobrien	(struct sh_count_relocs): Define.
395060484Sobrien	(sh_count_relocs): New static function, broken out of
395160484Sobrien	sh_frob_file.  Add BFD_ASSEMBLER code.
395260484Sobrien	(sh_frob_section): Likewise.
395360484Sobrien	(sh_frob_file): Call sh_frob_section.
395460484Sobrien	(md_convert_frag): If BFD_ASSEMBLER, change type of headers, and
395560484Sobrien	call section_symbol rather than seg_info (seg)->dot.
395660484Sobrien	(md_section_align): Add OBJ_ELF version.
395760484Sobrien	(SWITCH_TABLE_CONS): Define.
395860484Sobrien	(SWITCH_TABLE): Use SWITCH_TABLE_CONS.
395960484Sobrien	(md_apply_fix): Change parameter types if BFD_ASSEMBLER.  Only
396060484Sobrien	handle fx_r_type == 0 if not BFD_ASSEMBLER.  Return 0 if
396160484Sobrien	BFD_ASSEMBLER.
396260484Sobrien	(struct reloc_map): Define if not BFD_ASSEMBLER.
396360484Sobrien	(coff_reloc_map): Likewise.
396460484Sobrien	(sh_coff_reloc_mangle): Use coff_reloc_map to convert fx_r_type.
396560484Sobrien	(tc_gen_reloc): New function if BFD_ASSEMBLER.
396660484Sobrien	* write.c (write_relocs): Ifdef out fx_where test which triggers
396760484Sobrien	inappropriately for SH ELF.
396860484Sobrien	(write_object_file): Call tc_frob_file_before_adjust and
396960484Sobrien	obj_frob_file_before_adjust if they are defined.
397060484Sobrien
397160484Sobrien	* write.c (write_object_file): Use BFD_RELOC_16, not
397260484Sobrien	BFD_RELOC_NONE, when calling fix_new_exp for a broken word.
397360484Sobrien
397460484Sobrien	* read.c (emit_expr): Fix conversion of byte count to BFD reloc
397560484Sobrien	code.
397660484Sobrien
397760484SobrienFri Aug 30 14:47:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
397860484Sobrien
397960484Sobrien	* config/tc-d10v.c (find_opcode): Fix problem with calculating 
398060484Sobrien	branch sizes in across sections.
398160484Sobrien
398260484SobrienFri Aug 30 00:44:13 1996  Jeffrey A Law  (law@cygnus.com)
398360484Sobrien
398460484Sobrien	* config/tc-850.c (md_assemble): Handle hi() correctly.  Handle
398560484Sobrien	hi0() too.
398660484Sobrien
398760484SobrienWed Aug 28 23:11:08 1996  Jeffrey A Law  (law@cygnus.com)
398860484Sobrien
398960484Sobrien	* config/tc-v850.c (md_begin): Deal with end of opcode
399060484Sobrien	table marker.
399160484Sobrien
399260484SobrienWed Aug 28 19:20:04 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
399360484Sobrien
399460484Sobrien	* config/tc-d10v.c (find_opcode): Fix a bug which could generate
399560484Sobrien	the wrong opcode for cases like st2w where there are many forms
399660484Sobrien	of the same instruction.
399760484Sobrien
399860484SobrienTue Aug 27 13:53:22 1996  Ian Lance Taylor  <ian@cygnus.com>
399960484Sobrien
400060484Sobrien	* expr.c (operand): If md_parse_name is defined, call it before
400160484Sobrien	calling symbol_find_or_make.
400260484Sobrien	* config/tc-ppc.h (md_parse_name): Define.
400360484Sobrien	(ppc_parse_name): Declare.
400460484Sobrien	* config/tc-ppc.c (reg_name_search): Add regs and regcount
400560484Sobrien	parameters.
400660484Sobrien	(register_name): Update call to reg_name_search.
400760484Sobrien	(cr_operand): New static variable.
400860484Sobrien	(cr_names): New static const array.
400960484Sobrien	(ppc_parse_name): New function.
401060484Sobrien	(md_assemble): If PPC_OPERAND_CR is set in the operand flags, set
401160484Sobrien	cr_operand before calling expression.
401260484Sobrien
401360484SobrienTue Aug 27 09:05:50 1996  Jeffrey A Law  (law@cygnus.com)
401460484Sobrien
401560484Sobrien	* config/tc-hppa.c (tc_gen_reloc): Add new argument to
401660484Sobrien	hppa_gen_reloc_type call.
401760484Sobrien
401860484SobrienMon Aug 26 18:24:51 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
401960484Sobrien
402060484Sobrien	* config/tc-d10v.c: Fixed ".word".  Fixed problem with range checking
402160484Sobrien	on addresses.  Improved error messages.
402260484Sobrien	* doc/c-d10v.texi: Added docs for register pairs.
402360484Sobrien
402460484SobrienMon Aug 26 13:39:27 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
402560484Sobrien
402660484Sobrien	* config/tc-d10v.c (parallel_ok): Fix bug in parallel 
402760484Sobrien	checking code.
402860484Sobrien
402960484SobrienMon Aug 26 14:38:22 1996  Ian Lance Taylor  <ian@cygnus.com>
403060484Sobrien
403160484Sobrien	* ecoff.c (init_file): Initialize fMerge to 1.
403260484Sobrien	(add_file): Restore old file merging code, but only merge files if
403360484Sobrien	fMerge is set.
403460484Sobrien	(ecoff_directive_loc): Clear fMerge field of current file.
403560484Sobrien	(ecoff_generate_asm_lineno): Likewise.
403660484Sobrien
403760484SobrienFri Aug 23 11:40:47 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
403860484Sobrien
403960484Sobrien	* doc/c-d10v.texi: Fix typo. 
404060484Sobrien
404160484SobrienFri Aug 23 10:41:32 1996  Jeffrey A Law  (law@cygnus.com)
404260484Sobrien
404360484Sobrien	* config/tc-v850.c (md_assemble): Correct bit masking for
404460484Sobrien	hi and lo expressions.
404560484Sobrien
404660484Sobrien	* config/tc-v850.c (md_assemble): Rough cut at demanding
404760484Sobrien	"ep" or "r30" in sst and sld instructions.
404860484Sobrien	(md_apply_fix3): Don't abort.  Just warn that we don't
404960484Sobrien	have relocs yet.
405060484Sobrien
405160484Sobrien	* config/tc-v850.c (CC_NAME_CNT): Define.
405260484Sobrien	(cc_name): New function.
405360484Sobrien	(md_assemble): Handle V850_OPERAND_CC correctly.
405460484Sobrien
405560484Sobrien	* config/tc-v850.c (md_assemble): Don't forget to initialize
405660484Sobrien	"insn"!
405760484Sobrien
405860484Sobrien	* config/tc-v850.c (reg_name_search): Generalize to search
405960484Sobrien	any given register table.
406060484Sobrien	(register_name): Pass appropriate table and size to reg_name_search.
406160484Sobrien	(system_register_name): New function.
406260484Sobrien	(SYSREG_NAME_CNT): Define.
406360484Sobrien	(md_assemble): Handle operands which are system registers.
406460484Sobrien	
406560484Sobrien	* config/tc-v850.c (md_assemble): If we find a register, but the
406660484Sobrien	opcode doesn't want a register, then we don't have a match.
406760484Sobrien	(md_assemble): Get size of the instruction from the opcode table.
406860484Sobrien
406960484SobrienThu Aug 22 10:20:30 1996  Ian Lance Taylor  <ian@cygnus.com>
407060484Sobrien
407160484Sobrien	* configure.in: Set and substitute HLDENV.
407260484Sobrien	* configure: Rebuild.
407360484Sobrien	* Makefile.in (HLDENV): New variable.
407460484Sobrien	(as.new): Use $(HLDENV).
407560484Sobrien
407660484Sobrien	* ecoff.c (ecoff_directive_endef): Avoid a division by zero error
407760484Sobrien	if an array dimension is not known.
407860484Sobrien
407960484SobrienThu Aug 22 10:50:00 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
408060484Sobrien
408160484Sobrien	* config/tc-d10v.c: Fix a reloc bug caused by my last change. 
408260484Sobrien	* doc/c-d10v.texi: Cleanup.
408360484Sobrien	
408460484SobrienTue Aug 20 15:15:16 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
408560484Sobrien
408660484Sobrien	* config/tc-v850.c: New file.
408760484Sobrien	* config/tc-v850.h: New file.
408860484Sobrien	* configure (v850-*-elf): New target.
408960484Sobrien	* configure.in (v850-*-elf): New target.
409060484Sobrien	
409160484SobrienWed Aug 21 15:50:54 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
409260484Sobrien
409360484Sobrien	* doc/c-d10v.texi: New file.
409460484Sobrien	* doc/all.texi: Added D10V stuff.
409560484Sobrien	* doc/as.texinfo: Added D10V stuff.
409660484Sobrien
409760484SobrienTue Aug 20 14:10:02 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
409860484Sobrien
409960484Sobrien	* config/tc-d10v.c: All references to defined symbols should
410060484Sobrien 	now use the optimal instruction.  .float and .double now work. 
410160484Sobrien
410260484SobrienMon Aug 19 14:41:36 1996  Ian Lance Taylor  <ian@cygnus.com>
410360484Sobrien
410460484Sobrien	* config/obj-coff.c (fixup_segment): Adjust PC relative reloc by
410560484Sobrien	section address for the i960 as is done for the i386.
410660484Sobrien
410760484SobrienThu Aug 15 16:37:59 1996  Stan Shebs  <shebs@andros.cygnus.com>
410860484Sobrien
410960484Sobrien	* mpw-config.in: Add wildcards for config matching, add mips-*-*
411060484Sobrien	case, forward-include bfd/elf-bfd.h.
411160484Sobrien
411260484SobrienThu Aug 15 13:24:30 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
411360484Sobrien
411460484Sobrien	* config/tc-d10v.c: Add additional information to the opcode
411560484Sobrien        table to help determinine which instructions can be done
411660484Sobrien        in parallel. 
411760484Sobrien
411860484SobrienThu Aug 15 17:01:31 1996  James G. Smith  <jsmith@cygnus.co.uk>
411960484Sobrien
412060484Sobrien	* config/tc-arm.c: Major changes to add Thumb support, with lots
412160484Sobrien 	of change input from <rearnsha@armltd.co.uk>.
412260484Sobrien	Reverted to INSN_SIZE macro, rather than insn_size variable.
412360484Sobrien	(insns): Added ARM "bx" instruction support.
412460484Sobrien	(tinsns): Added Thumb instruction definition structure.
412560484Sobrien	(arm_tops_hsh): Added hash structure for Thumb opcodes.
412660484Sobrien	(md_pseudo_table): Added ".arm", ".thumb" and ".code" pseudo-ops.
412760484Sobrien	(opcode_select,s_arm,s_thumb,s_code): Added.
412860484Sobrien	(decode_shift): Allow upper-case RRX.
412960484Sobrien	(do_ldst): Simpler halfword support.
413060484Sobrien	(do_ldmstm): Improved.
413160484Sobrien	(reg_list, do_bx, thumb_reg, thumb_add_sub, thumb_shift,
413260484Sobrien 	thumb_mov_compare, thumb_load_store, do_t_arit, do_t_add,
413360484Sobrien 	do_t_asr, do_t_branch, do_t_bx, do_t_compare, do_t_ldmstm,
413460484Sobrien 	do_t_ldrb, do_t_ldrh, do_t_lds, do_t_lsl, do_t_lsr, do_t_mov,
413560484Sobrien 	do_t_push_pop, do_t_str, do_t_strb, do_t_strh, do_t_sub, do_t_swi,
413660484Sobrien 	do_t_adr): Added.
413760484Sobrien	(md_apply_fix3): Add support for BFD_RELOC_ARM_THUMB_* relocations.
413860484Sobrien	(md_parse_option): Add support for -mthumb.
413960484Sobrien	(md_show_usage): Updated to reflect new command line option.
414060484Sobrien	(arm_data_in_code, arm_canonicalize_symbol_name): Added.
414160484Sobrien	* config/tc-arm.h: Provide TC_FIX_TYPE to allow private ARM
414260484Sobrien 	fragment information to be held.
414360484Sobrien
414460484SobrienThu Aug 15 16:12:00 1996  Richard Earnshaw (rearnsha@armltd.co.uk)
414560484Sobrien
414660484Sobrien	* tc-arm.c (md_apply_fix3): Also set fixP->fx_done if fx_addsy is 
414760484Sobrien	non-null, but is a constant.
414860484Sobrien	(fix_new_arm): Call make_expr_symbol to make the expression symbol
414960484Sobrien	so that error reporting will work correctly.
415060484Sobrien
415160484SobrienWed Aug 14 10:37:21 1996  Ian Lance Taylor  <ian@cygnus.com>
415260484Sobrien
415360484Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs
415460484Sobrien	against weak symbols.
415560484Sobrien
415660484SobrienTue Aug 13 17:39:24 1996  Ian Lance Taylor  <ian@cygnus.com>
415760484Sobrien
415860484Sobrien	* config/tc-ppc.h (TC_FORCE_RELOCTION): Define if OBJ_XCOFF.
415960484Sobrien	(ppc_force_relocation): Declare if OBJ_XCOFF.
416060484Sobrien	* config/tc-ppc.c (ppc_force_relocation): New function if
416160484Sobrien	OBJ_XCOFF.
416260484Sobrien
416360484SobrienMon Aug 12 16:49:43 1996  Ian Lance Taylor  <ian@cygnus.com>
416460484Sobrien
416560484Sobrien	* config/tc-mips.h (BYTE_ORDER): Don't define.  No longer used.
416660484Sobrien
416760484SobrienFri Aug  9 17:48:28 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
416860484Sobrien
416960484Sobrien	* config/tc-d10v.c: Fix problem with relocs. 
417060484Sobrien
417160484SobrienFri Aug  9 14:16:14 1996  Ian Lance Taylor  <ian@cygnus.com>
417260484Sobrien
417360484Sobrien	* config/tc-sh.c (sh_do_align): If not BFD_ASSEMBLER, always align
417460484Sobrien	with nops if not in data_section or bss_section.
417560484Sobrien
417660484SobrienThu Aug  8 12:32:56 1996  Klaus Kaempf  <kkaempf@progis.de>
417760484Sobrien
417860484Sobrien	Add support for openVMS/Alpha.
417960484Sobrien	* as.h (PRINTF_LIKE): Don't define if VMS, for now.
418060484Sobrien	* config/obj-evax.c: New file.
418160484Sobrien	* config/obj-evax.h: New file.
418260484Sobrien	* config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is
418360484Sobrien	defined.
418460484Sobrien	* config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is
418560484Sobrien	defined.  Add case for bfd_target_evax_flavour.
418660484Sobrien	* config/vms-a-conf.h: New file.
418760484Sobrien	* conf-a-gas.com: New file.
418860484Sobrien	* configure.in: Add target alpha-*-*vms*.
418960484Sobrien	* configure: Rebuild.
419060484Sobrien	* makefile.vms: New file.
419160484Sobrien	* read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX.
419260484Sobrien	Don't call ffs on openVMS/Alpha.
419360484Sobrien
419460484SobrienWed Aug  7 14:19:03 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
419560484Sobrien
419660484Sobrien	* configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or
419760484Sobrien	<strings.h> if they exist.  Call GAS_CHECK_DECL_NEEDED on strstr
419860484Sobrien	and sbrk.
419960484Sobrien	* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
420060484Sobrien	(NEED_DECLARATION_SBRK): New macro.
420160484Sobrien	* configure, conf.in: Rebuild.
420260484Sobrien	* as.h: Only include <strings.h> if HAVE_STRINGS_H.
420360484Sobrien	(strstr): Declare if NEED_DECLARATION_STRSTR.
420460484Sobrien	* as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
420560484Sobrien
420660484SobrienWed Aug  7 11:50:26 1996  Ian Lance Taylor  <ian@cygnus.com>
420760484Sobrien
420860484Sobrien	* symbols.c (resolve_symbol_value): Handle addition or subtraction
420960484Sobrien	by a constant before entering the main switch.  Reject attempts to
421060484Sobrien	apply an arithmetic function to non-absolute symbols, except for
421160484Sobrien	the special case of subtraction of two symbols in the same
421260484Sobrien	section.
421360484Sobrien
421460484Sobrien	* config/tc-mips.c (md_section_align): Do align if OBJ_ELF, but
421560484Sobrien	not to more than a 16 byte boundary.
421660484Sobrien
421760484Sobrien	* config/tc-i386.c (tc_gen_reloc): Accept all relocs; remove
421860484Sobrien	#ifndef OBJ_ELF lines.  From Eric Valette <valette@crf.canon.fr>.
421960484Sobrien	(tc_gen_reloc): If out of memory call as_fatal rather than
422060484Sobrien	assert.  If no howto found, call as_bad_where rather than
422160484Sobrien	as_fatal.  Change the error message slightly.  Set howto to a
422260484Sobrien	non-NULL value in order to keep going.
422360484Sobrien
422460484SobrienTue Aug  6 12:58:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
422560484Sobrien
422660484Sobrien	* config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
422760484Sobrien
422860484SobrienTue Aug  6 11:15:26 1996  Jeffrey A Law  (law@cygnus.com)
422960484Sobrien
423060484Sobrien	* config/tc-h8300.c (get_specific): New operand "size" derived
423160484Sobrien	from ".b", ".w" and ".l" extensions.  All callers changed.  If
423260484Sobrien	the base instruction has no operands, then use the size to
423360484Sobrien	determine which specific instruction to use.
423460484Sobrien
423560484SobrienMon Aug  5 14:21:10 1996  Ian Lance Taylor  <ian@cygnus.com>
423660484Sobrien
423760484Sobrien	* config/tc-i960.c (mem_fmt): Call parse_expr before emit.
423860484Sobrien
423960484SobrienFri Aug  2 11:23:31 1996  Ian Lance Taylor  <ian@cygnus.com>
424060484Sobrien
424160484Sobrien	* config/tc-mips.c (md_section_align): Don't change addr if
424260484Sobrien	OBJ_ELF.
424360484Sobrien
424460484SobrienThu Aug  1 23:51:52 1996  Jeffrey A Law  (law@cygnus.com)
424560484Sobrien
424660484Sobrien	* config/tc-hppa.c: Revert yesterday's changes.
424760484Sobrien	
424860484SobrienWed Jul 31 14:46:11 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
424960484Sobrien
425060484Sobrien	* config/tc-d10v.c: Disable range checking on 16-bit values.
425160484Sobrien
425260484SobrienWed Jul 31 16:27:19 1996  Ian Lance Taylor  <ian@cygnus.com>
425360484Sobrien
425460484Sobrien	* config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,
425560484Sobrien	not just the ones that don't match.
425660484Sobrien
425760484SobrienWed Jul 31 11:45:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
425860484Sobrien
425960484Sobrien	* config/tc-d10v.c: Fixed bugs in short relocs and range checking.
426060484Sobrien
426160484SobrienWed Jul 31 15:41:42 1996  James G. Smith  <jsmith@cygnus.co.uk>
426260484Sobrien
426360484Sobrien	* config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as
426460484Sobrien 	pre-cursor to adding Thumb support. Also added cpu_variant flag
426560484Sobrien 	information to each of the asm_flg structures.
426660484Sobrien	(md_parse_option): Updated ARM7 parsing to allow 't' for
426760484Sobrien 	thumb/halfword support, aswell as 'm' for long multiply.
426860484Sobrien	(md_show_usage): Updated help message.
426960484Sobrien	(md_assemble): Check that instruction flags are applicated to the
427060484Sobrien 	current cpu variant.
427160484Sobrien	(md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and
427260484Sobrien 	BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and
427360484Sobrien 	signextension instructions.
427460484Sobrien	(do_ldst): Generate halfword and signextension variants if
427560484Sobrien 	mnemonic flags match.
427660484Sobrien	(ldst_extend): Do not allow shifts in the offset field of halfword
427760484Sobrien 	or signextension instructions.
427860484Sobrien	(validate_offset_imm): Provide check on halfword and signextension
427960484Sobrien 	immediate range.
428060484Sobrien	(add_to_lit_pool): Merge identical literal pool values.
428160484Sobrien
428260484SobrienTue Jul 30 14:28:23 1996  Jeffrey A Law  (law@cygnus.com)
428360484Sobrien
428460484Sobrien	* config/tc-hppa.c (selector_table): Add 'E' selector.
428560484Sobrien	(cons_fix_new_hppa): Don't coke on e_esel.
428660484Sobrien	(tc_gen_reloc, SOM version): Handle R_COMP2 when used
428760484Sobrien	to help generate exception handling tables.
428860484Sobrien	(md_apply_fix): Don't try to apply fixups with an e_esel
428960484Sobrien	selector.
429060484Sobrien	(hppa_fix_adjustable): Fixups with e_esel selectors
429160484Sobrien	are not adjustable.
429260484Sobrien
429360484SobrienTue Jul 30 15:51:41 1996  Ian Lance Taylor  <ian@cygnus.com>
429460484Sobrien
429560484Sobrien	* config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte
429660484Sobrien	pseudo-ops.
429760484Sobrien
429860484SobrienFri Jul 26 11:43:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
429960484Sobrien
430060484Sobrien	* config/tc-d10v.c: Added lots of error checking.  Added hacks
430160484Sobrien	to support accumulator shifts.
430260484Sobrien	
430360484SobrienFri Jul 26 11:56:08 1996  Ian Lance Taylor  <ian@cygnus.com>
430460484Sobrien
430560484Sobrien	* symbols.c (S_SET_EXTERNAL): Let .weak override.
430660484Sobrien	(S_CLEAR_EXTERNAL): Likewise.
430760484Sobrien	(S_SET_WEAK): Remove error; just let .weak override.
430860484Sobrien
430960484SobrienThu Jul 25 15:22:51 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
431060484Sobrien
431160484Sobrien	* config/tc-d10v.c (md_assemble): Now handles multiline
431260484Sobrien	instructions.
431360484Sobrien
431460484SobrienThu Jul 25 12:03:33 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
431560484Sobrien
431660484Sobrien	* config/tc-d10v.c: Fix packaging bug. Added range checking.
431760484Sobrien	Added kludge for divs instruction.  Fixed minor problem with
431860484Sobrien	multiple text sections.
431960484Sobrien	* config/tc-d10v.h (d10v_cleanup): Change prototype. 
432060484Sobrien	
432160484SobrienTue Jul 23 10:49:36 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
432260484Sobrien
432360484Sobrien	* config/tc-d10v.c (md_apply_fix3): Fix all instruction
432460484Sobrien	addresses to be right-shifted by 2.
432560484Sobrien
432660484SobrienMon Jul 22 11:32:36 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
432760484Sobrien
432860484Sobrien	* config/tc-d10v.c: Many changes to get relocs working.
432960484Sobrien 	(register_name): No longer creates a symbol for register names.
433060484Sobrien 	(pre_defined_registers): moved to opcodes/d10v-opc.c.
433160484Sobrien	(d10v_insert_operand): Now works correctly for either container.
433260484Sobrien	* config/tc-d10v.h (d10v_cleanup): Declare. 
433360484Sobrien	
433460484SobrienMon Jul 22 14:01:33 1996  Ian Lance Taylor  <ian@cygnus.com>
433560484Sobrien
433660484Sobrien	* config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
433760484Sobrien	BFD_RELOC_PCREL_LO16 are expected to be PC relative.
433860484Sobrien
433960484SobrienMon Jul 22 12:46:55 1996  Richard Henderson  <rth@tamu.edu>
434060484Sobrien
434160484Sobrien	* tc-alpha.c: Patches to track current minimum alignment to reduce
434260484Sobrien	the number of fragments created with frag_align.
434360484Sobrien	(alpha_current_align): New static variable.
434460484Sobrien	(s_alpha_text): Reset alignment to 0.
434560484Sobrien	(s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise.
434660484Sobrien	(s_alpha_stringer, s_alpha_space): New functions.
434760484Sobrien	(s_alpha_cons, alpha_flush_pending_output): Remove functions.
434860484Sobrien	(alpha_cons_align): New function to replace both of them.
434960484Sobrien	(emit_insn): Only align if alpha_current_align is less than 2;
435060484Sobrien	reset alpha_current_align to 2.
435160484Sobrien	(s_alpha_gprel32): Likewise.
435260484Sobrien	(s_alpha_section): New function.  Basically duplicate the other
435360484Sobrien	alpha section change hooks.  Only define for ELF.
435460484Sobrien	(s_alpha_float_cons): Simplify alignment handling.
435560484Sobrien	(md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF.
435660484Sobrien	If OBJ_ELF, define "section", "section.s", "sect", and "sect.s".
435760484Sobrien	Don't define the s_alpha_cons pseudo-ops.  Do define
435860484Sobrien	s_alpha_stringer and s_alpha_space pseudo-ops.
435960484Sobrien	(alpha_align): Skip if less than current default alignment.  Set
436060484Sobrien	default alignment.
436160484Sobrien	* tc-alpha.h (md_flush_pending_output): Remove.
436260484Sobrien	(md_cons_align): Add.
436360484Sobrien
436460484Sobrien	* tc-alpha.c: Add oodles of function description comments.
436560484Sobrien	(md_bignum_to_chars): Remove; there are no callers.
436660484Sobrien	(md_show_usage): Mention some more variants.
436760484Sobrien
436860484SobrienThu Jul 18 15:54:54 1996  Ian Lance Taylor  <ian@cygnus.com>
436960484Sobrien
437060484Sobrien	From Andrew Gierth <ANDREWG@microlise.co.uk>:
437160484Sobrien	* configure.in (sparc-*-sysv4*): New target.
437260484Sobrien	* configure: Rebuild.
437360484Sobrien
437460484Sobrien	* config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and
437560484Sobrien	uaxword to use s_uacons.
437660484Sobrien	(sparc_no_align_cons): New static variable.
437760484Sobrien	(s_uacons): New static function.
437860484Sobrien	(sparc_cons_align): If sparc_no_align_cons is set, just clear it
437960484Sobrien	and return.
438060484Sobrien
438160484Sobrien	* config/tc-sparc.c (s_common): Remove unused label allocate_bss.
438260484Sobrien
438360484Sobrien	* configure.in: Add mips-*-irix6* target.  Handle Irix 6 like Irix
438460484Sobrien	5 with regard to shared libraries.
438560484Sobrien	* configure: Rebuild.
438660484Sobrien
438760484Sobrien	* config/tc-m68k.c (m68k_ip): Use the correct length when
438860484Sobrien	allocating space for the unsupported architecture error message.
438960484Sobrien
439060484SobrienThu Jul 18 12:57:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
439160484Sobrien
439260484Sobrien	* configure.in (d10v-*-*): Allow d10v-*-*, don't require d10v-*-elf*.
439360484Sobrien
439460484SobrienWed Jul 17 14:25:13 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
439560484Sobrien
439660484Sobrien	* config/tc-d10v.c: New file.
439760484Sobrien	* config/tc-d10v.h: New file.
439860484Sobrien	* configure (d10v-*-elf): New target.
439960484Sobrien	* configure.in (d10v-*-elf): New target.
440060484Sobrien	
440160484SobrienFri Jul 12 20:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
440260484Sobrien
440360484Sobrien	* config/tc-ppc.c (md_parse_option): Recognize -K PIC.
440460484Sobrien
440560484SobrienWed Jul 10 12:39:08 1996  Richard Henderson  <rth@tamu.edu>
440660484Sobrien
440760484Sobrien	* config/tc-alpha.c (alpha_align): Change fill parameter
440860484Sobrien	to a pointer.  Take NULL as 0 or nop depending on section.  Change
440960484Sobrien	all callers.
441060484Sobrien	(s_alpha_align): Rename local variables.
441160484Sobrien
441260484Sobrien	* doc/as.texinfo (.align): Document action of omitted
441360484Sobrien	fill parameter.
441460484Sobrien
441560484SobrienWed Jul 10 00:23:30 1996  Ian Lance Taylor  <ian@cygnus.com>
441660484Sobrien
441760484Sobrien	* config/tc-ppc.c (md_apply_fix3): Give a useful error message
441860484Sobrien	when an unsupported PC relative reloc is seen, rather than calling
441960484Sobrien	abort.
442060484Sobrien
442160484Sobrien	* app.c (do_scrub_chars): Remove not_cpp_line local variable.
442260484Sobrien	Instead, check state when '#' comment is seen.
442360484Sobrien
442460484SobrienMon Jul  8 14:11:49 1996  Ian Lance Taylor  <ian@cygnus.com>
442560484Sobrien
442660484Sobrien	* config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
442760484Sobrien 	OBJ_MAYBE_ELF.
442860484Sobrien	(tc_gen_reloc): If fixup was changed to be PC relative, change
442960484Sobrien 	reloc type accordingly.  Use name of reloc in error message.
443060484Sobrien
443160484Sobrien	* as.h: Don't define const or volatile.
443260484Sobrien	* flonum.h: Don't define const.
443360484Sobrien
443460484Sobrien	* config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
443560484Sobrien	if fx_pcrel is set.  Correct setting the addend case in the
443660484Sobrien	OBJ_ELF case (from Andreas Schwab
443760484Sobrien	<schwab@issan.informatik.uni-dortmund.de>).
443860484Sobrien	(md_show_usage): Correct -mfc5200 to -m5200.
443960484Sobrien
444060484SobrienFri Jul  5 10:32:58 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
444160484Sobrien
444260484Sobrien	* doc/c-m68k.texi: Document -m5200 flag.
444360484Sobrien	* doc/as.texinfo: Likewise.
444460484Sobrien
444560484Sobrien	* config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
444660484Sobrien 	scale factor.
444760484Sobrien
444860484SobrienFri Jul  5 11:07:24 1996  Ian Lance Taylor  <ian@cygnus.com>
444960484Sobrien
445060484Sobrien	* symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
445160484Sobrien	(S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise.
445260484Sobrien
445360484SobrienThu Jul  4 11:59:46 1996  Ian Lance Taylor  <ian@cygnus.com>
445460484Sobrien
445560484Sobrien	* Makefile.in (VERSION): Set to cygnus-2.7.1.
445660484Sobrien
445760484Sobrien	* Released binutils 2.7.
445860484Sobrien
445960484SobrienThu Jul  4 10:11:33 1996  James G. Smith  <jsmith@cygnus.co.uk>
446060484Sobrien
446160484Sobrien	* config/tc-mips.c (mips_ip): Only perform range check when
446260484Sobrien 	dealing with O_constant expressions.
446360484Sobrien
446460484SobrienWed Jul  3 15:02:21 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
446560484Sobrien
446660484Sobrien	* m68k-parse.h (m68k_register): Add new coldfile control
446760484Sobrien	registers.
446860484Sobrien
446960484Sobrien	* config/tc-m68k.c (mcf5200_control_regs): New variable, 
447060484Sobrien	array of control registers for the coldfire.
447160484Sobrien	(cpu_of_arch): Added mcf5200.
447260484Sobrien	(archs): Added mcf5200.
447360484Sobrien	(init_table): Add new control registers.
447460484Sobrien	(m68k_ip): Added support for new control registers.
447560484Sobrien	(m68k_init_after_args): Likewise.
447660484Sobrien
447760484Sobrien	* config/tc-m68k.c (md_show_usage): Add -m5200 to usage text.
447860484Sobrien
447960484SobrienWed Jul  3 16:05:50 1996  Ian Lance Taylor  <ian@cygnus.com>
448060484Sobrien
448160484Sobrien	* read.h (is_it_end_of_statement): Declare.
448260484Sobrien	* read.c (is_it_end_of_statement): Remove declaration.
448360484Sobrien
448460484Sobrien	* config/tc-ppc.c (ppc_elf_suffix): Correct parenthesization of ||
448560484Sobrien	within &&.
448660484Sobrien	(md_assemble): Fix handling of @l with an unsigned constant.  Add
448760484Sobrien	default case to reloc switch.
448860484Sobrien
448960484Sobrien	* config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD.
449060484Sobrien
449160484Sobrien	Based on patches from Tom Quiggle <quiggle@sgi.com>:
449260484Sobrien	* ecoff.c (last_lineno): New static variable.
449360484Sobrien	(add_procedure): Set last_lineno.
449460484Sobrien	(ecoff_directive_loc): Likewise.
449560484Sobrien	(ecoff_generate_asm_lineno): Likewise.
449660484Sobrien	(ecoff_fix_loc): New function.
449760484Sobrien	* ecoff.h (ecoff_fix_loc): Declare.
449860484Sobrien	* config/tc-mips.c (append_insn): When inserting nops, and using
449960484Sobrien	ECOFF debugging, call ecoff_fix_loc.
450060484Sobrien
450160484SobrienTue Jul  2 23:02:12 1996  Jeffrey A Law  (law@cygnus.com)
450260484Sobrien
450360484Sobrien	* config/tc-h8300.c (build_bytes): If an operand type is 
450460484Sobrien	marked as SRC_IN_DST retrieve it from the "destination" op.
450560484Sobrien
450660484SobrienSat Jun 29 13:38:31 1996  Ian Lance Taylor  <ian@cygnus.com>
450760484Sobrien
450860484Sobrien	* configure.in (arm-*-riscix*): Set emulation to riscix.
450960484Sobrien	* configure: Rebuild.
451060484Sobrien	* config/te-riscix.h: New file to define TE_RISCIX.
451160484Sobrien
451260484Sobrien	* config/tc-sh.h (SUB_SEGMENT_ALIGN): Define.
451360484Sobrien
451460484SobrienFri Jun 28 15:14:31 1996  Ian Lance Taylor  <ian@cygnus.com>
451560484Sobrien
451660484Sobrien	* Makefile.in (config.status): Just run config.status as other
451760484Sobrien	tools do.
451860484Sobrien
451960484SobrienFri Jun 28 11:09:38 1996  Stan Shebs  <shebs@andros.cygnus.com>
452060484Sobrien
452160484Sobrien	* mpw-config.in (TARGET_OS): Add definition to conf.
452260484Sobrien
452360484SobrienThu Jun 27 20:39:40 1996  James G. Smith  <jsmith@cygnus.co.uk>
452460484Sobrien
452560484Sobrien	* config/tc-mips.c (append_insn): Parenthesize
452660484Sobrien	cop_interlocks expressions.
452760484Sobrien
452860484SobrienThu Jun 27 12:18:26 1996  Ian Lance Taylor  <ian@cygnus.com>
452960484Sobrien
453060484Sobrien	* listing.c (listing_print): Close the listing file if it is not
453160484Sobrien	stdout.  Close the other files opened for the listing.
453260484Sobrien
453360484Sobrien	* config/tc-sparc.h (md_cons_align): Define.
453460484Sobrien	(sparc_cons_align): Declare.
453560484Sobrien	(HANDLE_ALIGN): Define.
453660484Sobrien	(sparc_handle_align): Declare.
453760484Sobrien	* config/tc-sparc.c (sparc_cons_align): New function.
453860484Sobrien	(sparc_handle_align): New function.
453960484Sobrien	* read.c (cons_worker): Call md_cons_align if it is defined.
454060484Sobrien
454160484Sobrien	* as.h (struct frag): Add fr_file and fr_line fields.
454260484Sobrien	* frags.c (frag_new): Set fr_file and fr_line.
454360484Sobrien	(frag_var): Likewise.
454460484Sobrien	(frag_variant): Likewise.
454560484Sobrien
454660484Sobrien	* as.h (struct frag): Remove unused align_mask and align_offset
454760484Sobrien	fields.
454860484Sobrien
454960484Sobrien	* listing.c (calc_hex): Offset by fr_fix when examining fr_var.
455060484Sobrien	From <uddeborg@carmen.se>.
455160484Sobrien
455260484SobrienWed Jun 26 13:21:34 1996  Ian Lance Taylor  <ian@cygnus.com>
455360484Sobrien
455460484Sobrien	* configure.in (mips-*-osf*): New target.
455560484Sobrien	* configure: Rebuild.
455660484Sobrien
455760484Sobrien	* config/tc-m68k.c: Add 68ec060 as a synonym for 68060.
455860484Sobrien
455960484SobrienWed Jun 26 16:23:08 1996  James G. Smith  <jsmith@cygnus.co.uk>
456060484Sobrien
456160484Sobrien	* config/tc-mips.c: Added cop_interlocks, to avoid NOP insertion
456260484Sobrien 	between co-processor comparisons and branches for the VR4300.
456360484Sobrien
456460484SobrienMon Jun 24 18:02:50 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
456560484Sobrien
456660484Sobrien	* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
456760484Sobrien	INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
456860484Sobrien	(docdir): Removed.
456960484Sobrien	* configure.in (AC_PREREQ): autoconf 2.5 or higher.
457060484Sobrien	* doc/Makefile.in (bindir, libdir, datadir, mandir, infodir,
457160484Sobrien	includedir): Use autoconf set values.
457260484Sobrien	(docdir): Removed.
457360484Sobrien
457460484SobrienMon Jun 24 11:58:14 1996  Ian Lance Taylor  <ian@cygnus.com>
457560484Sobrien
457660484Sobrien	* listing.c (listing_eject): Don't do anything if listing is 0.
457760484Sobrien	(listing_list): Likewise.
457860484Sobrien	(listing_source_line): Likewise.
457960484Sobrien	(listing_title): Don't save title if listing is 0.
458060484Sobrien	(listing_source_file): Check listing rather than listing_tail.
458160484Sobrien
458260484Sobrien	* configure.in: On alpha*-*-osf*, link against libbfd.a if not
458360484Sobrien	using shared libraries.
458460484Sobrien	* configure: Rebuild.
458560484Sobrien
458660484SobrienFri Jun 21 18:22:23 1996  Ian Lance Taylor  <ian@cygnus.com>
458760484Sobrien
458860484Sobrien	* config/tc-mips.c (mips_ip): In case 'i'/'j', don't require an
458960484Sobrien	absolute expression if a relocation type was specified.
459060484Sobrien
459160484SobrienFri Jun 21 17:40:16 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>
459260484Sobrien
459360484Sobrien	* configure.in: Add support for *-*-rtems* configurations.
459460484Sobrien	* configure: Rebuild.
459560484Sobrien
459660484SobrienFri Jun 21 16:01:18 1996  Richard Henderson  <rth@tamu.edu>
459760484Sobrien
459860484Sobrien	* configure.in: Add alpha-*-linuxecoff* target.  Use elf for
459960484Sobrien	alpha-*-linux* target.  Force bfd_gas for alpha-*.  Require
460060484Sobrien	opcodes library for alpha.
460160484Sobrien	* configure: Rebuild with autoconf 2.10.
460260484Sobrien	* config/tc-alpha.c: Substantial rewrite to add ELF support and
460360484Sobrien	use new opcode table.
460460484Sobrien	* config/tc-alpha.h (md_undefined_symbol): Don't define.
460560484Sobrien	(LOCAL_LABEL): Define differently if OBJ_ELF.
460660484Sobrien	(FAKE_LABEL_NAME): Define if OBJ_ELF.
460760484Sobrien	* config/alpha-opcode.h: Remove.
460860484Sobrien	* config/obj-elf.h: If TC_ALPHA, define ECOFF_DEBUGGING.
460960484Sobrien	* Makefile.in (TARG_CPU_DEP_alpha): Depend upon
461060484Sobrien	include/opcode/alpha.h rather than config/alpha-opcode.h.
461160484Sobrien
461260484SobrienThu Jun 20 19:10:28 1996  Ian Lance Taylor  <ian@cygnus.com>
461360484Sobrien
461460484Sobrien	* config/obj-aout.c (obj_emit_relocations): Give an error if the
461560484Sobrien	relocation symbol was not resolved.
461660484Sobrien	* config/obj-coff.c (do_relocs_for): Likewise.
461760484Sobrien
461860484Sobrien	* write.c (adjust_reloc_syms): Refetch the symbol section after
461960484Sobrien	calling S_GET_VALUE, since it may have changed.
462060484Sobrien
462160484Sobrien	* expr.c (struct expr_symbol_line): Define.
462260484Sobrien	(expr_symbol_lines): New static variable.
462360484Sobrien	(make_expr_symbol): Add entry to expr_symbol_lines.
462460484Sobrien	(expr_symbol_where): New function.
462560484Sobrien	* expr.h: Use extern on function declarations.
462660484Sobrien	(expr_symbol_where): Declare.
462760484Sobrien	* symbols.c (resolve_symbol_value): Try to use expr_symbol_where
462860484Sobrien	rather than printing the meaningless name of an expression
462960484Sobrien	symbol.
463060484Sobrien
463160484SobrienThu Jun 20 15:57:41 1996  Ken Raeburn  <raeburn@cygnus.com>
463260484Sobrien
463360484Sobrien	* config/tc-i386.c (md_number_to_chars): Deleted.
463460484Sobrien	* config/tc-i386.h (md_number_to_chars): New macro.
463560484Sobrien
463660484Sobrien	* config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in
463760484Sobrien	the file.
463860484Sobrien	(load_symbol_address, load_expression): Use build_mem.
463960484Sobrien	(build_operate): New function.
464060484Sobrien	(emit_addq_r): Use it.
464160484Sobrien
464260484Sobrien	Wed Mar 13 22:14:14 1996  Pat Rankin  <rankin@eql.caltech.edu>
464360484Sobrien
464460484Sobrien	* symbols.c (colon):  #if VMS, use S_SET_OTHER to store `const_flag'.
464560484Sobrien
464660484Sobrien	Tue Mar  5 14:31:45 1996  Pat Rankin  <rankin@eql.caltech.edu>
464760484Sobrien
464860484Sobrien	* config/tc-vax.h (NOP_OPCODE): Define.
464960484Sobrien
465060484Sobrien	Sun Feb  4 21:01:03 1996  Pat Rankin  <rankin@eql.caltech.edu>
465160484Sobrien
465260484Sobrien	* config/obj-vms.h (S_IS_COMMON): Define.
465360484Sobrien	(S_IS_LOCAL): Check for \002 as well as \001.
465460484Sobrien	(LONGWORD_ALIGNMENT): New macro.
465560484Sobrien	(SUB_SEGMENT_ALIGN): Use it.
465660484Sobrien
465760484Sobrien	Fri Jan 26 17:44:09 1996  Pat Rankin  <rankin@eql.caltech.edu>
465860484Sobrien
465960484Sobrien	* config/vms-conf.h: Reconcile with conf.in.
466060484Sobrien
466160484SobrienWed Jun 19 11:31:50 1996  Ian Lance Taylor  <ian@cygnus.com>
466260484Sobrien
466360484Sobrien	* write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
466460484Sobrien	defined.
466560484Sobrien
466660484Sobrien	* doc/as.texinfo: Document that any number of hex digits can
466760484Sobrien	follow \x.
466860484Sobrien
466960484Sobrien	* as.c (struct defsym_list): Define.
467060484Sobrien	(defsyms): New static variable.
467160484Sobrien	(parse_args): Just put --defsym arguments on defsyms list, rather
467260484Sobrien	than defining them.
467360484Sobrien	(main): Define defsyms after output file is created.
467460484Sobrien
467560484Sobrien	* config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
467660484Sobrien	cpu32.  From Eric Norum <Eric.Norum@usask.ca>.
467760484Sobrien
467860484Sobrien	* config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
467960484Sobrien	insn_error rather than calling check_absolute_expr.
468060484Sobrien
468160484Sobrien	* as.c (emulation_name): Remove unused static variable.
468260484Sobrien	(default_emul_bfd_name): Add return NULL to avoid warning.
468360484Sobrien	* ecoff.c (ecoff_stab): Remove unused variables name and
468460484Sobrien	name_end.
468560484Sobrien	* frags.c (frag_new): Remove unused variable tmp.
468660484Sobrien	* hash.c (hash_grow): Parenthesize + within <<.
468760484Sobrien	(hash_print_statistics): Use %lu, not %d, to print unsigned
468860484Sobrien	long variables.
468960484Sobrien	* messages.c: Include "libiberty.h".
469060484Sobrien	(fprint_value): Add cast to avoid printf warning.
469160484Sobrien	(sprint_value): Likewise.
469260484Sobrien	* read.c: Include "ecoff.h".
469360484Sobrien	(emit_expr): Add casts to avoid printf warnings.
469460484Sobrien	* read.h: Use extern for function declarations.
469560484Sobrien	(pop_insert): Declare.
469660484Sobrien	* stabs.c: Include "ecoff.h".
469760484Sobrien	* subsegs.c (subseg_set_rest): Remove unused variables tmp,
469860484Sobrien	former_last_fragP, and new_fragP.
469960484Sobrien	* subsegs.h (subsegs_print_statistics): Declare.
470060484Sobrien	* symbols.c (debug_verify_symchain): Change macro to discard
470160484Sobrien	arguments.
470260484Sobrien	* write.c (dump_section_relocs): Likewise.
470360484Sobrien	* write.h: Use extern for function declarations.
470460484Sobrien	(write_print_statistics): Declare.
470560484Sobrien	* config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
470660484Sobrien	warning.
470760484Sobrien	* config/e-mipself.c (mipself_bfd_name): Likewise.
470860484Sobrien	* config/obj-elf.h (elf_ecoff_set_ext): Declare.
470960484Sobrien
471060484Sobrien	* config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
471160484Sobrien	emit relocations against external symbols.
471260484Sobrien
471360484Sobrien	* config/tc-alpha.c (tc_gen_reloc): Output a sensible error
471460484Sobrien 	message if bfd_reloc_type_lookup fails, rather than calling
471560484Sobrien 	assert.
471660484Sobrien
471760484Sobrien	* config/tc-alpha.c (alpha_force_relocation): Add
471860484Sobrien	BFD_RELOC_12_PCREL to switch.
471960484Sobrien
472060484SobrienTue Jun 18 20:29:57 1996  Doug Evans  <dje@canuck.cygnus.com>
472160484Sobrien
472260484Sobrien	* config/tc-i386.h (LOCAL_LABEL,FAKE_LABEL_NAME): Use defaults for
472360484Sobrien	TE_PE (Lfoo, not .Lfoo).
472460484Sobrien
472560484SobrienTue Jun 18 17:13:33 1996  Ian Lance Taylor  <ian@cygnus.com>
472660484Sobrien
472760484Sobrien	* read.c (s_fill): Don't warn about a zero repeat count.
472860484Sobrien
472960484Sobrien	* config/tc-mips.c (mips_ip): Don't warn about using AT as a
473060484Sobrien	coprocessor register.
473160484Sobrien
473260484Sobrien	* config/tc-i386.c (md_assemble): When checking the size of a
473360484Sobrien	register to set the size of an instruction, do a bitwise and with
473460484Sobrien	Reg8 and Reg16 rather than requiring the type to be exactly Reg8
473560484Sobrien	or Reg16.
473660484Sobrien
473760484SobrienTue Jun 18 13:19:51 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
473860484Sobrien
473960484Sobrien	* config/tc-h8300.c (parse_reg): Tweak error messages.
474060484Sobrien	(build_bytes): Likewise.
474160484Sobrien	(skip_colonthing): Handle :32 suffix.
474260484Sobrien	(get_specific): Promote L_24 to L_32 if it makes a match.
474360484Sobrien	Don't always promote L_8 to L_16.
474460484Sobrien	(do_a_fix_imm): Clean up L_32 and L_24 handling.
474560484Sobrien
474660484Sobrien	* config/tc-h8300.c (Smode): New variable.
474760484Sobrien	(h8300hmode): Turn off Hmode.
474860484Sobrien	(h8300smode): New function.  Turn on Smode and Hmode.
474960484Sobrien	(md_pseudo_table): New ".h8300s" pseudo-op.
475060484Sobrien	(parse_reg): Handle "exr" register.
475160484Sobrien	(get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
475260484Sobrien	Handle "mach" and "machl" operands for ldmac.
475360484Sobrien	(get_specific): Handle "stm.l" and "ldm.l".
475460484Sobrien	(build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
475560484Sobrien	* config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
475660484Sobrien	(Smode): Declare.
475760484Sobrien
475860484SobrienMon Jun 17 15:50:53 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
475960484Sobrien
476060484Sobrien	* doc/as.texinfo: Reorder chapter of machine dependent options so
476160484Sobrien 	that it is sorted by chip name.  
476260484Sobrien
476360484Sobrien	* doc/as.texinfo: Use consistant spelling of Vax.
476460484Sobrien	* doc/c-vax.texi: Likewise.
476560484Sobrien
476660484SobrienMon Jun 17 11:26:56 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
476760484Sobrien
476860484Sobrien	* config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try"
476960484Sobrien	pseudo ops.
477060484Sobrien	(tc_gen_reloc, SOM version): Handle R_BEGIN_TRY and R_END_TRY.
477160484Sobrien	(md_apply_fix): Likewise.
477260484Sobrien	(pa_try): New function.
477360484Sobrien	(hppa_force_relocation): Force relocs for BEGIN_TRY and END_TRY.
477460484Sobrien
477560484SobrienSun Jun 16 22:57:47 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
477660484Sobrien
477760484Sobrien	* config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op.
477860484Sobrien	(pa_level): New function.
477960484Sobrien
478060484SobrienFri Jun 14 20:06:44 1996  Ian Lance Taylor  <ian@cygnus.com>
478160484Sobrien
478260484Sobrien	* listing.c (listing_newline): Don't do anything if listing is 0.
478360484Sobrien
478460484SobrienThu Jun 13 17:50:54 1996  Ian Lance Taylor  <ian@cygnus.com>
478560484Sobrien
478660484Sobrien	* subsegs.c (section_symbol): If symbol_table_frozen is set, call
478760484Sobrien	symbol_create, not symbol_new.
478860484Sobrien
478960484SobrienWed Jun 12 14:10:44 1996  Ian Lance Taylor  <ian@cygnus.com>
479060484Sobrien
479160484Sobrien	* write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an
479260484Sobrien	absolute symbol unless TC_FORCE_RELOCATION returns true.
479360484Sobrien
479460484Sobrien	* config/obj-coff.c (previous_file_symbol): Remove BFD_ASSEMBLER
479560484Sobrien	version.
479660484Sobrien	(c_dot_file_symbol): BFD_ASSEMBLER version: Don't set the value of
479760484Sobrien	the symbol to a pointer.  Don't set previous_file_symbol.
479860484Sobrien	Simplify symbol list rearrangement.
479960484Sobrien	(coff_frob_symbol): Don't do anything with C_FILE symbols.
480060484Sobrien	(coff_adjust_symtab): Don't check previous_file_symbol.
480160484Sobrien
480260484SobrienMon Jun 10 14:52:29 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
480360484Sobrien
480460484Sobrien	* config/tc-ppc.c (ppc_elf_lcomm): New function for .lcomm
480560484Sobrien	directive.
480660484Sobrien	(md_pseudo_table): Add ppc_elf_lcomm.
480760484Sobrien
480860484SobrienMon Jun 10 11:45:51 1996  Ian Lance Taylor  <ian@cygnus.com>
480960484Sobrien
481060484Sobrien	* config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
481160484Sobrien	d0{24:1},d0' works without an immediate prefix on the bit numbers.
481260484Sobrien	(md_begin): Add digits to alt_notend_table.
481360484Sobrien	(md_parse_option): Make s a const pointer.
481460484Sobrien
481560484Sobrien	* config/tc-sparc.c (md_pseudo_table): Add "empty".
481660484Sobrien	(s_empty): New static function.
481760484Sobrien
481860484Sobrien	* config/obj-coff.c (struct filename_list): Only define if not
481960484Sobrien	BFD_ASSEMBLER.
482060484Sobrien	(filename_list_head, filename_list_tail): Likewise.
482160484Sobrien	(c_section_symbol): Remove unused BFD_ASSEMBLER version.
482260484Sobrien	(obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging
482360484Sobrien	flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should
482460484Sobrien	have a section of N_ABS rather than N_DEBUG.  If we do a merge,
482560484Sobrien	remove the new symbol from the list.
482660484Sobrien 	(obj_coff_endef, both versions): Call tag_insert even if there is
482760484Sobrien	an old symbol with the same name, if the old symbol does not
482860484Sobrien	happen to be a tag.
482960484Sobrien	(coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of
483060484Sobrien	the SF_GET_DEBUG condition.  Don't call SA_SET_SYM_ENDNDX with a
483160484Sobrien	symbol that will be moved to the end of the symbol list.
483260484Sobrien	(coff_adjust_section_syms): Always call section_symbol for .text,
483360484Sobrien	.data, and .bss.
483460484Sobrien	(coff_frob_section): Likewise.  Also, remove unused variable
483560484Sobrien	strname.
483660484Sobrien
483760484Sobrien	* config/tc-ns32k.c (convert_iif): Call frag_grow rather than
483860484Sobrien	manipulating frags directly.
483960484Sobrien	(md_number_to_field): Adjust mem_ptr correctly if ENDIAN is
484060484Sobrien	defined.
484160484Sobrien
484260484Sobrien	* app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
484360484Sobrien 	whether the next character is '*' before checking whether we are
484460484Sobrien	at the start of a line.  Permit LINE_COMMENT_START to start a
484560484Sobrien	comment in state 1 (seen some whitespace) as well, to match the
484660484Sobrien	documentation.
484760484Sobrien
484860484Sobrien	* gasp.c (do_align): Permit a fill value for .align.
484960484Sobrien
485060484SobrienWed Jun  5 17:09:26 1996  Ian Lance Taylor  <ian@cygnus.com>
485160484Sobrien
485260484Sobrien	* read.c (next_char_of_string): Warn if a newline is seen in the
485360484Sobrien	middle of a string.  Call bump_line_counters when appropriate.
485460484Sobrien
485560484SobrienWed Jun  5 17:08:36 1996  Richard Henderson  <rth@tamu.edu>
485660484Sobrien
485760484Sobrien	* symbols.c (colon): Use LOCAL_LABEL.
485860484Sobrien
485960484SobrienTue Jun  4 10:55:16 1996  Tom Tromey  <tromey@csk3.cygnus.com>
486060484Sobrien
486160484Sobrien	* Makefile.in (install): Don't check to see if tooldir exists.
486260484Sobrien	Make $(tooldir) and $(tooldir)/bin.
486360484Sobrien
486460484SobrienTue Jun  4 10:14:53 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
486560484Sobrien
486660484Sobrien	* config/ppc-sol.mt (TDEFINES): Don't turn on -mregnames by
486760484Sobrien	default.
486860484Sobrien
486960484SobrienMon Jun  3 11:34:41 1996  Ian Lance Taylor  <ian@cygnus.com>
487060484Sobrien
487160484Sobrien	* config/tc-mips.c (mips_ip): Don't call as_warn if we are setting
487260484Sobrien	insn_error.  Don't put the string "ERROR" in insn_error.  Set
487360484Sobrien	insn_error rather than calling as_warn for an unsupported opcode.
487460484Sobrien
487560484SobrienSat Jun  1 21:51:55 1996  Ian Lance Taylor  <ian@cygnus.com>
487660484Sobrien
487760484Sobrien	* config/tc-mips.c (md_parse_option): Check for a 64 bit format
487860484Sobrien	before permitting -64.
487960484Sobrien	* output-file.c (output_file_create): Remove duplicate
488060484Sobrien	bfd_perror.
488160484Sobrien
488260484SobrienFri May 31 01:08:06 1996  Ian Lance Taylor  <ian@cygnus.com>
488360484Sobrien
488460484Sobrien	* config/tc-mips.c (md_begin): If -64, create a .MIPS.options
488560484Sobrien	section rather than a .reginfo section.
488660484Sobrien	(mips_elf_final_processing): If -64, write out 64 bit RegInfo
488760484Sobrien	information.
488860484Sobrien
488960484Sobrien	* config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
489060484Sobrien	bit value with the high bit set.
489160484Sobrien
489260484SobrienThu May 30 19:00:19 1996  Ian Lance Taylor  <ian@cygnus.com>
489360484Sobrien
489460484Sobrien	* read.c (s_lcomm): Set section flags for .sbss section.
489560484Sobrien
489660484Sobrien	* config/tc-mips.c (mips_64): New static variable.
489760484Sobrien	(mips_target_format): If mips_64, return elf64 targets rather than
489860484Sobrien	elf32 ones.
489960484Sobrien	(md_longopts): Add "32" and "64".
490060484Sobrien	(md_parse_option): Handle -32 and -64.
490160484Sobrien	(md_show_usage): Mention -32 and -64.
490260484Sobrien	(cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to
490360484Sobrien	a 4 byte one.
490460484Sobrien
490560484SobrienThu May 30 10:36:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
490660484Sobrien
490760484Sobrien	* config/tc-ppc.c (comment_chars): Make '!' a comment character
490860484Sobrien	for Solaris compatibility.
490960484Sobrien
491060484Sobrien	* stabs.c (s_stab_generic): Under PowerPC Solaris, convert a
491160484Sobrien	.stabd with 4 arguments into a .stabn.
491260484Sobrien
491360484SobrienWed May 29 16:43:16 1996  Ian Lance Taylor  <ian@cygnus.com>
491460484Sobrien
491560484Sobrien	* config/tc-mips.c (macro): When passing X_add_number to
491660484Sobrien	macro_build, cast it to int first.
491760484Sobrien
491860484SobrienTue May 28 13:29:39 1996  Ian Lance Taylor  <ian@cygnus.com>
491960484Sobrien
492060484Sobrien	* config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as
492160484Sobrien	created by emit_expr.
492260484Sobrien
492360484Sobrien	* symbols.c (symbol_create): If bfd_make_empty_symbol fails, call
492460484Sobrien	as_perror rather than assert.
492560484Sobrien
492660484SobrienFri May 24 18:24:11 1996  Ian Lance Taylor  <ian@cygnus.com>
492760484Sobrien
492860484Sobrien	* config/tc-mips.c (mips_ip): Mark sections created to hold
492960484Sobrien	floating point information as read only.
493060484Sobrien
493160484SobrienFri May 24 12:07:54 1996  David Edelsohn  <edelsohn@mhpcc.edu>
493260484Sobrien
493360484Sobrien	* config/tc-ppc.c (ppc_set_cpu): Change defaults to match AIX.
493460484Sobrien
493560484SobrienThu May 23 17:34:24 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
493660484Sobrien
493760484Sobrien	* read.c (potable): Add .skip as a synonym for .space.
493860484Sobrien
493960484Sobrien	* stabs.c (s_stab_generic): For PowerPC ELF, allow .stabd to take
494060484Sobrien	4 arguments, providing the 4th argument is 0, to allow
494160484Sobrien	compatibility with the Solaris assembler.
494260484Sobrien
494360484SobrienThu May 16 15:51:48 1996  Ian Lance Taylor  <ian@cygnus.com>
494460484Sobrien
494560484Sobrien	* config/tc-sh.h (struct sh_segment_info_type): Define.
494660484Sobrien	(TC_SEGMENT_INFO_TYPE): Define.
494760484Sobrien	(sh_frob_label): Declare.
494860484Sobrien	(tc_frob_label): Define.
494960484Sobrien	(sh_flush_pending_output): Declare.
495060484Sobrien	(md_flush_pending_output): Define.
495160484Sobrien	* config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE
495260484Sobrien 	reloc before the instruction if necessary.
495360484Sobrien	(sh_frob_label): New function.
495460484Sobrien	(sh_flush_pending_output): New function.
495560484Sobrien	(sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs
495660484Sobrien	when looking for the reloc for the target of .uses.
495760484Sobrien	(md_convert_frag): Fix printf format (%0xlx to 0x%lx).
495860484Sobrien	(sh_force_relocation): Force CODE, DATA, and LABEL relocs to be
495960484Sobrien	emitted.
496060484Sobrien	(md_apply_fix): Ignore CODE, DATA, and LABEL relocs.
496160484Sobrien	(sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use
496260484Sobrien	the absolute symbol.
496360484Sobrien
496460484Sobrien	* subsegs.h (segment_info_type): Add tc_segment_info_data field if
496560484Sobrien	TC_SEGMENT_INFO_TYPE is defined.
496660484Sobrien
496760484SobrienWed May 15 12:23:53 1996  Ian Lance Taylor  <ian@cygnus.com>
496860484Sobrien
496960484Sobrien	* config/tc-i386.c (md_assemble): Make sure the opcode suffix
497060484Sobrien	matches the register size.
497160484Sobrien
497260484SobrienWed May 15 08:33:37 1996  Jeffrey A Law  (law@cygnus.com)
497360484Sobrien
497460484Sobrien	* config/obj-coff.c (count_entries_in_chain): Ignore Fixups with
497560484Sobrien	fx_done set. 
497660484Sobrien	(do_relocs_for): Likewise.
497760484Sobrien	(fixup_segment): Don't just quit if linkrelax is set.  Try to
497860484Sobrien	apply non pc-relative sym1-sym2 fixups, even if linkrelax is
497960484Sobrien	nonzero.
498060484Sobrien
498160484SobrienFri May 10 14:16:59 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
498260484Sobrien
498360484Sobrien	* config/tc-ppc.c (ppc_elf_validate_fix): Allow GOT and section
498460484Sobrien	relative relocations with -mrelocatable.  Also allow unfixed
498560484Sobrien	relocs in .ex_shared.
498660484Sobrien
498760484SobrienTue May  7 11:24:10 1996  Ian Lance Taylor  <ian@cygnus.com>
498860484Sobrien
498960484Sobrien	* config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET is
499060484Sobrien	non-zero before assuming this is a long file name.
499160484Sobrien	(w_strings): Likewise.
499260484Sobrien	(c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name.
499360484Sobrien
499460484Sobrien	* config/obj-coff.c (w_strings): Move declaration of i inside
499560484Sobrien	#ifdef block which uses it.
499660484Sobrien
499760484SobrienTue May  7 00:49:58 1996  Jeffrey A Law  (law@cygnus.com)
499860484Sobrien
499960484Sobrien	* config/tc-h8300.c (do_a_fix_imm): Rename last argument to
500060484Sobrien	"relaxmode".  Output relocs which identify various relaxing
500160484Sobrien	possibilities for mov.[bwl] instructions.
500260484Sobrien	(build_bytes): Pass in a relaxing mode to do_a_fix_imm.
500360484Sobrien
500460484SobrienMon May  6 15:26:28 1996  Doug Evans  <dje@canuck.cygnus.com>
500560484Sobrien
500660484Sobrien	* config/tc-arm.h (TC_HANDLES_FX_DONE): Define.
500760484Sobrien	(MD_APPLY_FIX3): Define.
500860484Sobrien	* config/tc-arm.c (my_get_expression): Only watch for bad segments
500960484Sobrien	if OBJ_AOUT.
501060484Sobrien	(md_apply_fix3): Renamed from md_apply_fix.
501160484Sobrien	If pcrel reloc and symbol is in different section, undo effects
501260484Sobrien	of md_pcrel_from.
501360484Sobrien
501460484SobrienSat May  4 12:49:35 1996  Jeffrey A Law  (law@cygnus.com)
501560484Sobrien
501660484Sobrien	* config/tc-hppa.c (hppa_fix_adjustable): Don't adjust
501760484Sobrien	any reloc with an LR% or RR% field selector for SOM.
501860484Sobrien
501960484SobrienSat May  4 11:26:19 1996  Ian Lance Taylor  <ian@cygnus.com>
502060484Sobrien
502160484Sobrien	* Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_*
502260484Sobrien 	variables.
502360484Sobrien
502460484SobrienFri May  3 17:58:31 1996  Ian Lance Taylor  <ian@cygnus.com>
502560484Sobrien
502660484Sobrien	* config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
502760484Sobrien	SF_GET_STATICS set.
502860484Sobrien	(yank_symbols): Likewise.
502960484Sobrien
503060484SobrienWed May  1 13:38:17 1996  Ian Lance Taylor  <ian@cygnus.com>
503160484Sobrien
503260484Sobrien	* subsegs.h (segment_info_type): If MANY_SEGMENTS and not
503360484Sobrien	BFD_ASSEMBLER, add name field.
503460484Sobrien	* config/obj-coff.c: Include "libiberty.h".
503560484Sobrien	(coff_header_append): Handle long section names.
503660484Sobrien	(crawl_symbols): Just use the name field for the symbol name,
503760484Sobrien	without worrying about null byte termination.
503860484Sobrien	(w_strings): Handle long section names.
503960484Sobrien	(write_object_file): Likewise.  Also, use the name field, rather
504060484Sobrien	than scnhdr.s_name.
504160484Sobrien	(obj_coff_add_segment): Permit long section names.
504260484Sobrien	(obj_coff_init_stab_section): Use the name field, rather than
504360484Sobrien	scnhdr.s_name.
504460484Sobrien	(adjust_stab_section): Likewise.
504560484Sobrien	* config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
504660484Sobrien
504760484Sobrien	* config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.
504860484Sobrien	(mem_fmt): Likewise.
504960484Sobrien	(md_apply_fix): Don't check fx_im_disp field.
505060484Sobrien
505160484SobrienThu Apr 25 11:39:51 1996  Ian Lance Taylor  <ian@cygnus.com>
505260484Sobrien
505360484Sobrien	* configure.in: Add * after sparc*-*-vxworks.
505460484Sobrien	* configure: Rebuild.
505560484Sobrien
505660484Sobrien	* app.c (do_scrub_begin): If tc_comment_chars is not defined,
505760484Sobrien	define it to comment_chars.  Use tc_comment_chars rather than
505860484Sobrien	comment_chars.
505960484Sobrien	(do_scrub_chars): Use tc_comment_chars rather than comment_chars.
506060484Sobrien	* config/tc-m68k.h (tc_comment_chars): Define.
506160484Sobrien	(m68k_comment_chars): Declare.
506260484Sobrien	* config/tc-m68k.c (m68k_comment_chars): Rename from
506360484Sobrien	comment_chars.  Change into a pointer rather than an array.
506460484Sobrien	(md_longopts): Add "bitwise-or".
506560484Sobrien	(md_parse_option): Handle OPTION_BITWISE_OR.
506660484Sobrien	(md_show_usage): Mention --bitwise-or.
506760484Sobrien	* doc/c-m68k.texi: Document --bitwise-or.
506860484Sobrien
506960484SobrienWed Apr 24 11:28:38 1996  Ian Lance Taylor  <ian@cygnus.com>
507060484Sobrien
507160484Sobrien	* config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets
507260484Sobrien 	in 68000 mode.
507360484Sobrien
507460484Sobrien	* config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
507560484Sobrien	call demand_empty_rest_of_line.  Non BFD_ASSEMBLER version:
507660484Sobrien	correct handling of input line pointer, and call
507760484Sobrien	demand_empty_rest_of_line.
507860484Sobrien
507960484SobrienMon Apr 22 18:02:37 1996  Doug Evans  <dje@blues.cygnus.com>
508060484Sobrien
508160484Sobrien	* config/tc-sparc.c (in_bitfield_range): New static function.
508260484Sobrien	(sparc_ip): New cases X,Y.  Use SPARC_OPCODE_ARCH_V9_P.
508360484Sobrien	(md_apply_fix, cases BFD_RELOC_32_PCREL_S2,
508460484Sobrien	BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code.
508560484Sobrien	(md_apply_fix): New cases BFD_RELOC_SPARC_[56].
508660484Sobrien	(tc_gen_reloc): New cases BFD_RELOC_SPARC_[56].
508760484Sobrien
508860484SobrienThu Apr 18 18:58:33 1996  Ian Lance Taylor  <ian@cygnus.com>
508960484Sobrien
509060484Sobrien	* config/obj-coff.c: BFD_ASSEMBLER:
509160484Sobrien 	(coff_last_bf): New static variable.
509260484Sobrien	(coff_frob_symbol): Set endndx of a .bf symbol.
509360484Sobrien	Non BFD_ASSEMBLER:
509460484Sobrien	(obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol.
509560484Sobrien	(last_bfP): New static variable.
509660484Sobrien	(yank_symbols): Set endndx of a .bf symbol.
509760484Sobrien
509860484SobrienThu Apr 18 11:53:58 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
509960484Sobrien
510060484Sobrien	* config/tc-ppc.c (md_parse_option): Add support for Solaris's -le
510160484Sobrien	and -s options.  Add -be for good measure.
510260484Sobrien
510360484SobrienWed Apr 17 12:31:01 1996  Ian Lance Taylor  <ian@cygnus.com>
510460484Sobrien
510560484Sobrien	* read.c (s_space): Support non-constant fill value.  Handle fill
510660484Sobrien	value correctly for a size other than 1.
510760484Sobrien
510860484SobrienTue Apr 16 15:17:40 1996  Doug Evans  <dje@canuck.cygnus.com>
510960484Sobrien
511060484Sobrien	* config/tc-arm.c (my_get_float_expression): Update call to
511160484Sobrien	gen_to_words, X_PRECISION changed from 6 to 5.
511260484Sobrien
511360484SobrienTue Apr 16 10:25:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
511460484Sobrien
511560484Sobrien	* config/tc-ppc.c (register_name,reg_name_search): Move register
511660484Sobrien	name lookup from PE specific code to all targets.  Add support for
511760484Sobrien	-mregnames/-mno-regnames to control whether register names are
511860484Sobrien	expanded or not.
511960484Sobrien	(md_assemble): Call register_name for all platforms.
512060484Sobrien	(md_parse_option): Add support for -mregnames/-mno-regnames.
512160484Sobrien
512260484Sobrien	* configure.in (powerpcle*-*-solaris): Add support.
512360484Sobrien	(powerpc*-*-linux): Ditto.
512460484Sobrien	* configure: Regenerate.
512560484Sobrien
512660484Sobrien	* config/ppc-sol.mt: New config file for PowerPC Solaris.
512760484Sobrien
512860484SobrienMon Apr 15 12:26:33 1996  Ian Lance Taylor  <ian@cygnus.com>
512960484Sobrien
513060484Sobrien	* config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to
513160484Sobrien	be associated with a single %lo reloc.
513260484Sobrien
513360484Sobrien	* config/tc-mips.c (load_address): Cast X_add_number to valueT
513460484Sobrien	before comparing against MAX_GPREL_OFFSET, so that negative
513560484Sobrien	numbers are handled correctly.
513660484Sobrien	(macro): Likewise.
513760484Sobrien
513860484SobrienThu Apr 11 12:39:02 1996  Ian Lance Taylor  <ian@cygnus.com>
513960484Sobrien
514060484Sobrien	* config/tc-sparc.c (last_insn): New static variable.
514160484Sobrien	(md_assemble): Warn about putting floating point branches in a
514260484Sobrien	delay slot.  If architecture is less than v9, insert NOP
514360484Sobrien	instructions between floating point instructions and floating
514460484Sobrien	point branches.  (The SunOS assembler does both these operations.)
514560484Sobrien	Save the last instruction opcode.
514660484Sobrien	(sparc_ip): Add pinsn parameter.  Change caller.
514760484Sobrien
514860484Sobrien	* config/tc-m68k.c (md_estimate_size_before_relax): Correct check
514960484Sobrien	for byte jump to next instruction to skip empty frags.
515060484Sobrien
515160484SobrienWed Apr 10 16:48:12 1996  Ian Lance Taylor  <ian@cygnus.com>
515260484Sobrien
515360484Sobrien	* config/tc-alpha.c (alpha_ip): If we are going to call emit_add64
515460484Sobrien	for addq with a 16 bit signed value, just emit a lda instruction
515560484Sobrien	instead.
515660484Sobrien
515760484SobrienWed Apr 10 14:34:49 1996  Jeffrey A Law  (law@cygnus.com)
515860484Sobrien
515960484Sobrien	* config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
516060484Sobrien	of a 32bit operand.
516160484Sobrien
516260484SobrienMon Apr  8 14:42:53 1996  Ian Lance Taylor  <ian@cygnus.com>
516360484Sobrien
516460484Sobrien	* configure.in: Permit --enable-shared to specify a list of
516560484Sobrien	directories.
516660484Sobrien	* configure: Rebuild.
516760484Sobrien
516860484SobrienFri Apr  5 17:01:35 1996  Jeffrey A Law  (law@cygnus.com)
516960484Sobrien
517060484Sobrien	* config/tc-h8300.c (get_specific): Remove some #if 0 code.
517160484Sobrien	(build_bytes): Remove all ABSMOV related code; it's unnecessary.
517260484Sobrien
517360484SobrienFri Apr  5 15:13:10 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
517460484Sobrien
517560484Sobrien	* config/atof-ieee.c: Fix handling of denormalized extended
517660484Sobrien	precision numbers and overflow/underflow detection.
517760484Sobrien	(MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
517860484Sobrien	not include the 16 bit gap in the m68k extended precision format.
517960484Sobrien
518060484SobrienFri Apr  5 14:29:23 1996  Ian Lance Taylor  <ian@cygnus.com>
518160484Sobrien
518260484Sobrien	* configure.in: Add i386-*-freebsdelf* target; from John Polstra
518360484Sobrien	<jdp@polstra.com>.
518460484Sobrien	* configure: Rebuild.
518560484Sobrien
518660484SobrienFri Apr  5 18:39:28 1996  James G. Smith  <jsmith@cygnus.co.uk>
518760484Sobrien
518860484Sobrien	* config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
518960484Sobrien 	be accessed using the $gp register.
519060484Sobrien	* config/tc-mips.h (MAX_GPREL_OFFSET): Added.
519160484Sobrien
519260484SobrienWed Apr  3 10:56:14 1996  Doug Evans  <dje@canuck.cygnus.com>
519360484Sobrien
519460484Sobrien	* config/tc-sparc.c (sparc_md_end): Set bfd machine number to
519560484Sobrien	bfd_mach_sparc_sparclet if current_architecture is sparclet.
519660484Sobrien
519760484SobrienMon Apr  1 16:55:44 1996  Ian Lance Taylor  <ian@cygnus.com>
519860484Sobrien
519960484Sobrien	* read.c (get_line_sb): Bump line counters based on
520060484Sobrien	input_line_pointer[-1], not *input_line_pointer.  Don't bother to
520160484Sobrien	call LISTING_NEWLINE.
520260484Sobrien	(s_macro): Don't call demand_empty_rest_of_line.
520360484Sobrien	* app.c (do_scrub_chars): When handling C style comments, unget
520460484Sobrien	ch2 rather than ch.
520560484Sobrien
520660484SobrienFri Mar 29 16:15:06 1996  Ian Lance Taylor  <ian@cygnus.com>
520760484Sobrien
520860484Sobrien	* read.h (enum linkonce_type): Define.
520960484Sobrien	(s_linkonce): Declare.
521060484Sobrien	* read.c (potable): Add "linkonce".
521160484Sobrien	(s_linkonce): New function.
521260484Sobrien	* subsegs.h (segment_info_type): Add linkonce field to
521360484Sobrien	MANY_SEGMENTS && ! BFD_ASSEMBLER section.
521460484Sobrien	* config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
521560484Sobrien	(obj_coff_pe_handle_link_once): Declare if TE_PE.
521660484Sobrien	* config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
521760484Sobrien	"coff/pe.h".
521860484Sobrien	(obj_coff_pe_handle_link_once): New function, defined if TE_PE.
521960484Sobrien	(c_section_symbol): If TE_PE, set the x_comdat field in the aux
522060484Sobrien	entry based on the linkonce field in segment_info.
522160484Sobrien	* doc/as.texinfo: Document .linkonce.
522260484Sobrien
522360484SobrienFri Mar 29 11:31:27 1996  J.T. Conklin  (jtc@lisa.cygnus.com)
522460484Sobrien
522560484Sobrien	* doc/as.1: Changed to be recognized by catman -w on Solaris.
522660484Sobrien
522760484SobrienThu Mar 28 15:27:47 1996  Ian Lance Taylor  <ian@cygnus.com>
522860484Sobrien
522960484Sobrien	* stabs.c (s_stab_generic): Call the listing functions before
523060484Sobrien	doing the rest of the processing, which may involve freeing the
523160484Sobrien	string.  Pass string, not string + stroff, to OBJ_PROCESS_STAB in
523260484Sobrien	SEPARATE_STAB_SECTIONS case.
523360484Sobrien
523460484Sobrien	* config/tc-hppa.c: Remove nested comment.
523560484Sobrien	(tc_gen_reloc): Move label done inside the ifdef in which it is
523660484Sobrien	used.
523760484Sobrien	(md_apply_fix): Pass pointers to correct types to libhppa.h
523860484Sobrien	functions.  Always return a value.
523960484Sobrien
524060484Sobrien	* config/tc-mips.h (tc_frob_file): Define.
524160484Sobrien	(mips_frob_file): Declare.
524260484Sobrien	* config/tc-mips.c (struct mips_hi_fixup): Define.
524360484Sobrien	(mips_hi_fixup_list): New static variable.
524460484Sobrien	(imm_unmatched_hi): New static variable.
524560484Sobrien	(md_assemble): Clear imm_reloc, imm_unmatched_hi, and
524660484Sobrien	offset_reloc.  Pass imm_unmatched_hi to append_insn.
524760484Sobrien	(append_insn): Add unmatched_hi parameter.  If it is set, add the
524860484Sobrien	new fixup to mips_hi_fixup_list.  Change all callers.
524960484Sobrien	(mips_ip): Set imm_unmatched_hi when appropriate.
525060484Sobrien	(mips_frob_file): New function.
525160484Sobrien
525260484SobrienThu Mar 28 11:47:59 1996  Doug Evans  <dje@canuck.cygnus.com>
525360484Sobrien
525460484Sobrien	* configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
525560484Sobrien	* configure: Regenerated.
525660484Sobrien
525760484SobrienTue Mar 26 18:19:12 1996  Ian Lance Taylor  <ian@cygnus.com>
525860484Sobrien
525960484Sobrien	* as.c (main): Call bfd_set_error_program_name.
526060484Sobrien
526160484SobrienFri Mar 22 11:13:00 1996  Ian Lance Taylor  <ian@cygnus.com>
526260484Sobrien
526360484Sobrien	* as.h (strdup): Don't declare.
526460484Sobrien	* stabs.c: Include libiberty.h
526560484Sobrien	(get_stab_string_offset): Use xstrdup rather than strdup.
526660484Sobrien	(s_stab_generic): Likewise.
526760484Sobrien	* as.c (parse_args): Likewise.
526860484Sobrien	* read.c (s_mri_sect): Likewise.
526960484Sobrien
527060484Sobrien	* gasp.c (change_base): Recognize \(...) construct documented to
527160484Sobrien	pass through enclosed characters literally through to the output.
527260484Sobrien	(process_assigns): Likewise.  Also, be more careful to avoid
527360484Sobrien	looking past the end of the buffer.
527460484Sobrien
527560484SobrienThu Mar 21 13:18:43 1996  Ian Lance Taylor  <ian@cygnus.com>
527660484Sobrien
527760484Sobrien	* config/tc-i386.c (md_parse_option): If OBJ_ELF, ignore -k for
527860484Sobrien	FreeBSD compatibility.  From John Polstra <jdp@polstra.com>.
527960484Sobrien
528060484SobrienWed Mar 20 18:13:32 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
528160484Sobrien
528260484Sobrien	* doc/as.texinfo, doc/c-i960.texi: Fix typos.
528360484Sobrien
528460484SobrienWed Mar 20 17:05:16 1996  David Mosberger-Tang  <davidm@azstarnet.com>
528560484Sobrien
528660484Sobrien	* config/alpha-opcode.h: Added cvtst instruction.
528760484Sobrien
528860484SobrienMon Mar 18 13:12:46 1996  Ian Lance Taylor  <ian@cygnus.com>
528960484Sobrien
529060484Sobrien	* ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
529160484Sobrien	string.  Extract the addend from the result of expression.
529260484Sobrien
529360484SobrienFri Mar 15 17:10:43 1996  Ian Lance Taylor  <ian@cygnus.com>
529460484Sobrien
529560484Sobrien	* app.c (do_scrub_chars): If whitespace is seen in state 11, and
529660484Sobrien	LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
529760484Sobrien	mode, change the state to 3 rather than 1.
529860484Sobrien
529960484SobrienThu Mar 14 18:18:25 1996  Ian Lance Taylor  <ian@cygnus.com>
530060484Sobrien
530160484Sobrien	* config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
530260484Sobrien	correspond to 11 March change.
530360484Sobrien
530460484SobrienThu Mar 14 15:27:10 1996  Jeffrey A Law  (law@cygnus.com)
530560484Sobrien
530660484Sobrien	* config/tc-h8300.c (build_bytes, MEMIND case): Generate
530760484Sobrien	an R_MEM_INDIRECT reloc rather than R_RELBYTE.
530860484Sobrien
530960484SobrienTue Mar 12 12:21:10 1996  Ian Lance Taylor  <ian@cygnus.com>
531060484Sobrien
531160484Sobrien	* configure: Rebuild with autoconf 2.8.
531260484Sobrien
531360484SobrienMon Mar 11 18:57:12 1996  Ian Lance Taylor  <ian@cygnus.com>
531460484Sobrien
531560484Sobrien	* config/atof-ieee.c (gen_to_words): Improve handling of
531660484Sobrien	X_PRECISION numbers.  Based on patches from Andreas Schwab
531760484Sobrien	<schwab@issan.informatik.uni-dortmund.de>.
531860484Sobrien
531960484SobrienMon Mar 11 09:59:53 1996  Steve Chamberlain  <sac@slash.cygnus.com>
532060484Sobrien
532160484Sobrien	* as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
532260484Sobrien	(SEG_LAST): New.
532360484Sobrien	* subsegs.c (MANY_SEGMENTS): Increase segment limit.
532460484Sobrien	* obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
532560484Sobrien	(do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
532660484Sobrien	crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
532760484Sobrien	SEG_E9.
532860484Sobrien	
532960484SobrienThu Mar  7 15:17:39 1996  Doug Evans  <dje@charmed.cygnus.com>
533060484Sobrien
533160484Sobrien	* config/tc-sparc.c (sparc_ip): Handle operand char 'O' (neg reg).
533260484Sobrien
533360484SobrienThu Mar  7 09:19:15 1996  Jeffrey A Law  (law@cygnus.com)
533460484Sobrien
533560484Sobrien	* config/tc-hppa.c (SUBSEG_MILLI): Define.
533660484Sobrien	(pa_def_subspaces): Add $MILLICODE$.
533760484Sobrien	(pa_spaces_begin): Set section flags for $MILLICODE$.
533860484Sobrien
533960484SobrienWed Mar  6 14:11:30 1996  Ian Lance Taylor  <ian@cygnus.com>
534060484Sobrien
534160484Sobrien	* config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
534260484Sobrien	not SHT_NOBITS.  Don't tamper with flags based on type if a
534360484Sobrien	special section was found (revert Feb 29 change).
534460484Sobrien
534560484Sobrien	* config/tc-sh.c (sh_do_align): Only align using the nop pattern
534660484Sobrien	if aligning to a longword boundary or greater.
534760484Sobrien
534860484SobrienTue Mar  5 15:10:43 1996  Jim Wilson  <wilson@chestnut.cygnus.com>
534960484Sobrien
535060484Sobrien	* config/tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
535160484Sobrien
535260484SobrienMon Mar  4 20:50:57 1996  Steve Chamberlain  <sac@slash.cygnus.com>
535360484Sobrien
535460484Sobrien	* configure.in (i386-*-cygwin32): Don't use bfd_gas.
535560484Sobrien	* configure: Regenerated.
535660484Sobrien
535760484SobrienMon Mar  4 10:13:06 1996  Jeffrey A Law  (law@cygnus.com)
535860484Sobrien
535960484Sobrien	* config/tc-hppa.c: Add default definitions for R_N0SEL and
536060484Sobrien	R_N1SEL since they're not defined for old versions of hpux.
536160484Sobrien
536260484Sobrien	* config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
536360484Sobrien	Set "sym_ptr_ptr" and "addend" fields to dummy values for
536460484Sobrien	R_N0SEL and R_N1SEL.
536560484Sobrien
536660484SobrienFri Mar  1 10:20:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
536760484Sobrien
536860484Sobrien	* flonum-konst.c: Add two more constants for 1e+-2048 and
536960484Sobrien	1e+-4096, and correct the other constants.
537060484Sobrien
537160484Sobrien	* symbols.c (resolve_symbol_value): Handle O_logical_not.
537260484Sobrien
537360484SobrienThu Feb 29 13:58:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
537460484Sobrien
537560484Sobrien	* config/obj-elf.c (obj_elf_section): Allow predefined section
537660484Sobrien	types to set the nobits type.  Avoid a shadowed declaration.
537760484Sobrien
537860484SobrienWed Feb 28 15:38:56 1996  Jeffrey A Law  (law@cygnus.com)
537960484Sobrien
538060484Sobrien	* config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
538160484Sobrien	reduce relocs using e_nlrsel field selectors.
538260484Sobrien
538360484Sobrien	* write.c (fix_new_exp): Don't use #elif.  Some compilers
538460484Sobrien	don't handle it.
538560484Sobrien
538660484Sobrien	* config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
538760484Sobrien	the selector table.
538860484Sobrien	(pa_chk_field_selector): Handle new field selectors for SOM.
538960484Sobrien
539060484SobrienTue Feb 27 14:42:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
539160484Sobrien
539260484Sobrien	* configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
539360484Sobrien	* configure: Rebuild.
539460484Sobrien	* config/te-linux.h (LOCAL_LABELS_FB): Define.
539560484Sobrien	* config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
539660484Sobrien	"a.out-m68k-linux".
539760484Sobrien	* config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
539860484Sobrien	is defined.
539960484Sobrien
540060484SobrienMon Feb 26 18:58:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
540160484Sobrien
540260484Sobrien	* mpw-make.sed: Update to handle shared library support.
540360484Sobrien
540460484SobrienMon Feb 26 10:34:10 1996  Doug Evans  <dje@charmed.cygnus.com>
540560484Sobrien
540660484Sobrien	* config/tc-sparc.c (sparc_ip): Print all architectures that support
540760484Sobrien	the insn on mismatch.
540860484Sobrien
540960484SobrienFri Feb 23 21:44:39 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
541060484Sobrien
541160484Sobrien	* configure.in: Add support for a29-coff.
541260484Sobrien	* configure: Rebuild.
541360484Sobrien
541460484SobrienThu Feb 22 16:39:43 1996  Ian Lance Taylor  <ian@cygnus.com>
541560484Sobrien
541660484Sobrien	* config/tc-sh.c (sh_coff_frob_file): Don't consider the address
541760484Sobrien	of the section when looking for the R_SH_USES fixup, because the
541860484Sobrien	frag addresses have not yet been adjusted.
541960484Sobrien
542060484Sobrien	* gdbinit.in: Set a breakpoint on as_warn_where.
542160484Sobrien
542260484Sobrien	* config/tc-mips.c (macro): Add missing arguments to macro_build
542360484Sobrien	omitted in last change.  From Jim Wilson <wilson@cygnus.com>.
542460484Sobrien
542560484SobrienWed Feb 21 17:00:32 1996  Ian Lance Taylor  <ian@cygnus.com>
542660484Sobrien
542760484Sobrien	* config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
542860484Sobrien	if it is TC_CONS_RELOC.  Set a size of 4 to R_RELLONG.
542960484Sobrien
543060484SobrienWed Feb 21 09:25:39 1996  Doug Evans  <dje@charmed.cygnus.com>
543160484Sobrien
543260484Sobrien	* config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
543360484Sobrien
543460484SobrienTue Feb 20 21:48:03 1996  Doug Evans  <dje@charmed.cygnus.com>
543560484Sobrien
543660484Sobrien	* config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
543760484Sobrien	(sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
543860484Sobrien	Recognize [uU] format args as sparclet cpregs.
543960484Sobrien
544060484SobrienTue Feb 20 22:25:55 1996  Ian Lance Taylor  <ian@cygnus.com>
544160484Sobrien
544260484Sobrien	* config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
544360484Sobrien	in bss_section.
544460484Sobrien
544560484SobrienMon Feb 19 14:16:24 1996  Ian Lance Taylor  <ian@cygnus.com>
544660484Sobrien
544760484Sobrien	* config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
544860484Sobrien	well as S_IS_EXTERNAL.
544960484Sobrien	(tc_fix_adjustable): Likewise.
545060484Sobrien	* config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
545160484Sobrien	S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
545260484Sobrien	early.
545360484Sobrien	(tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
545460484Sobrien	deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
545560484Sobrien
545660484SobrienMon Feb 19 02:15:57 1996  Doug Evans  <dje@charmed.cygnus.com>
545760484Sobrien
545860484Sobrien	* config/tc-sparc.c (max_architecture): Change to sparclite for
545960484Sobrien	32 bit arch.
546060484Sobrien	(default_compatible): Delete.
546160484Sobrien	(sparc_ffs): New function.
546260484Sobrien	(md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
546360484Sobrien	(sparc_ip): Rewrite architecture match and bump logic.
546460484Sobrien
546560484SobrienSun Feb 18 15:03:50 1996  Ian Lance Taylor  <ian@cygnus.com>
546660484Sobrien
546760484Sobrien	* configure.in: Check for 'do not mix' from native linker before
546860484Sobrien 	trying to use -rpath.
546960484Sobrien	* configure: Rebuild.
547060484Sobrien
547160484SobrienFri Feb 16 16:53:31 1996  Ian Lance Taylor  <ian@cygnus.com>
547260484Sobrien
547360484Sobrien	* config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
547460484Sobrien	(SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
547560484Sobrien	(SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
547660484Sobrien	* config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
547760484Sobrien	is set.
547860484Sobrien	(w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
547960484Sobrien	to the symbol lnnoptr field, to get the correct file offset.
548060484Sobrien
548160484SobrienThu Feb 15 14:48:38 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
548260484Sobrien
548360484Sobrien	* config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
548460484Sobrien	symbols that are not function, file, or section symbols to be
548560484Sobrien	object types.
548660484Sobrien
548760484SobrienThu Feb 15 11:20:18 1996  Ian Lance Taylor  <ian@cygnus.com>
548860484Sobrien
548960484Sobrien	* configure: Set and substitute RPATH_ENVVAR.
549060484Sobrien	* configure: Rebuild.
549160484Sobrien	* Makefile.in (RPATH_ENVVAR): New variable.
549260484Sobrien	(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
549360484Sobrien
549460484Sobrien	* configure.in: Accept i686.  From H.J. Lu <hjl@zoom.com>: i386
549560484Sobrien	doesn't need opcodes.  If configuring shared, opcodes needs bfd.
549660484Sobrien	* configure: Rebuild.
549760484Sobrien
549860484SobrienWed Feb 14 16:33:12 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
549960484Sobrien
550060484Sobrien	* read.c (s_mri_sect): Don't return '\0' in type.  Set all
550160484Sobrien	appropriate flags in BFD section.
550260484Sobrien
550360484Sobrien	* configure.in (m68k-*-psos*): New target.
550460484Sobrien	* configure: Rebuild.
550560484Sobrien	* config/te-psos.h: New file.
550660484Sobrien	* config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
550760484Sobrien	is defined.
550860484Sobrien
550960484SobrienWed Feb 14 13:43:24 1996  Ian Lance Taylor  <ian@cygnus.com>
551060484Sobrien
551160484Sobrien	From Alan Modra <alan@spri.levels.unisa.edu.au>:
551260484Sobrien	* configure.in: Remove duplicate setting of cpu_type.  Check
551360484Sobrien	whether opcodes library is required for on all targets, not just
551460484Sobrien	primary one.
551560484Sobrien	* configure: Rebuild.
551660484Sobrien
551760484Sobrien	* config/tc-mips.c (mips_big_got): New static variable.
551860484Sobrien	(s_extern): Don't declare.
551960484Sobrien	(reg_needs_delay): New static function.
552060484Sobrien	(macro_build): Permit GOT/CALL_HI/LO relocs.
552160484Sobrien	(macro_build_lui): If place is not NULL, use the number in the
552260484Sobrien	expression.
552360484Sobrien	(load_address): Handle mips_big_got case.
552460484Sobrien	(macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
552560484Sobrien	store macros.
552660484Sobrien	(OPTION_XGOT): Define.
552760484Sobrien	(md_longopts): Add "xgot" if OBJ_ELF.
552860484Sobrien	(md_parse_option): Handle -xgot.
552960484Sobrien	(md_show_usage): Mention -xgot.
553060484Sobrien	(md_apply_fix): Permit GOT/CALL_HI/LO relocs.
553160484Sobrien	(tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
553260484Sobrien
553360484SobrienWed Feb 14 11:22:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
553460484Sobrien
553560484Sobrien	* config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
553660484Sobrien	the byte relocation, point it to the low byte of the word.
553760484Sobrien
553860484SobrienTue Feb 13 15:31:18 1996  Ian Lance Taylor  <ian@cygnus.com>
553960484Sobrien
554060484Sobrien	* configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
554160484Sobrien	* configure: Rebuild.
554260484Sobrien
554360484SobrienMon Feb 12 15:53:46 1996  Doug Evans  <dje@charmed.cygnus.com>
554460484Sobrien
554560484Sobrien	* configure.in: Recognize any sparc* cpu.
554660484Sobrien	* configure: Regenerated.
554760484Sobrien
554860484SobrienMon Feb 12 15:41:21 1996  Ian Lance Taylor  <ian@cygnus.com>
554960484Sobrien
555060484Sobrien	* read.c (potable): Add "mri" and ".mri".
555160484Sobrien	(s_mri): New function.
555260484Sobrien	* read.h (s_mri): Declare.
555360484Sobrien	* app.c (scrub_m68k_mri): New static variable.
555460484Sobrien	(mri_pseudo): New static variable.
555560484Sobrien	(do_scrub_begin): Add m68k_mri parameter.  Use it rather than
555660484Sobrien	flag_m68k_mri.  Initialize scrub_m68k_mri.
555760484Sobrien	(mri_state, mri_last_ch): New static variables.
555860484Sobrien	(struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
555960484Sobrien	fields.
556060484Sobrien	(app_push): Save new fields.
556160484Sobrien	(app_pop): Restore new fields.
556260484Sobrien	(do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
556360484Sobrien	If TC_M68K, use a trivial state machine to look for occurrences of
556460484Sobrien	the .mri pseudo-op, and change the mode appropriately.
556560484Sobrien	* as.h (do_scrub_begin): Update prototype.
556660484Sobrien	* input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
556760484Sobrien	do_scrub_begin.
556860484Sobrien	* config/tc-m68k.c (reg_prefix_optional_seen): New static
556960484Sobrien	variable.
557060484Sobrien	(m68k_mri_mode_change): New function.
557160484Sobrien	(md_parse_option): Set reg_prefix_optional_seen.
557260484Sobrien	* config/tc-m68k.h (m68k_mri_mode_change): Declare.
557360484Sobrien	(MRI_MODE_CHANGE): Define.
557460484Sobrien	* doc/as.texinfo: Document .mri pseudo-op.
557560484Sobrien
557660484Sobrien	* app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
557760484Sobrien	comment character.
557860484Sobrien
557960484SobrienMon Feb 12 15:16:29 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
558060484Sobrien
558160484Sobrien	Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
558260484Sobrien	* config/m68k-parse.h (enum pic_relocation): Define.
558360484Sobrien	(struct m68k_exp): Add pic_reloc field.
558460484Sobrien	* config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
558560484Sobrien	(tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
558660484Sobrien	(NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
558760484Sobrien	otherwise.
558860484Sobrien	* config/tc-m68k.c: Delete definition of NO_RELOC.
558960484Sobrien 	(struct m68k_it): Add pic_reloc field.
559060484Sobrien	(add_fix): Copy over pic_reloc field.
559160484Sobrien	(md_pseudo_table): Interpret .align parameter as byte count.
559260484Sobrien	(mote_pseudo_table): Likewise.
559360484Sobrien	(tc_m68k_fix_adjustable): New function.
559460484Sobrien	(get_reloc_code): New function.
559560484Sobrien	(md_assemble): Use it as last argument to fix_new_exp.
559660484Sobrien	(md_apply_fix_2): For a relocation against a symbol don't put the
559760484Sobrien	addend into the data.
559860484Sobrien	(tc_gen_reloc): Different addend computation for OBJ_ELF.
559960484Sobrien	(m68k_ip): Don't relax an operand that requires pic relocation.
560060484Sobrien	(md_begin): Align .text, .data and .bss on 4 byte boundary by
560160484Sobrien	default.
560260484Sobrien	* write.c (fixup_segment): Don't add symbol value to addend if
560360484Sobrien 	TC_M68K and OBJ_ELF.
560460484Sobrien	* config/m68k-parse.y (yylex): Handle @PLTPC, etc.
560560484Sobrien	(motorola_operand): Add rule for `(zapc, EXPR)'.
560660484Sobrien
560760484SobrienMon Feb 12 10:07:33 1996  David Mosberger-Tang  <davidm@azstarnet.com>
560860484Sobrien
560960484Sobrien	* ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
561060484Sobrien	*really* is permissible before the comma.
561160484Sobrien
561260484SobrienMon Feb 12 00:12:13 1996  Ian Lance Taylor  <ian@cygnus.com>
561360484Sobrien
561460484Sobrien	* config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
561560484Sobrien	inserting nop instructions.
561660484Sobrien
561760484SobrienFri Feb  9 10:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
561860484Sobrien
561960484Sobrien	* config/te-aux.h: Change include of aux.h to aux-coff.h.
562060484Sobrien
562160484SobrienThu Feb  8 20:02:58 1996  Ian Lance Taylor  <ian@cygnus.com>
562260484Sobrien
562360484Sobrien	* config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
562460484Sobrien	class setting for a CALLNAME symbol in COFF.
562560484Sobrien
562660484Sobrien	* read.c (potable): Pass negative numbers for new .balign[wl] and
562760484Sobrien	.p2align[wl] pseudo-ops.
562860484Sobrien	(s_align_bytes): Treat a negative argument as specifying the fill
562960484Sobrien	length.
563060484Sobrien	(s_align_ptwo): Likewise.
563160484Sobrien
563260484SobrienWed Feb  7 14:12:03 1996  Ian Lance Taylor  <ian@cygnus.com>
563360484Sobrien
563460484Sobrien	* read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
563560484Sobrien	(do_align): Take new len parameter.  Change all callers.  Pass it
563660484Sobrien	to md_do_align.
563760484Sobrien	(s_align_bytes): Arg now indicates the length of the fill pattern.
563860484Sobrien	(s_align_ptwo): Likewise.
563960484Sobrien	* config/obj-coff.c (write_object_file): Pass length to
564060484Sobrien	md_do_align.
564160484Sobrien	* config/tc-i386.h (md_do_align): Take new len parameter.
564260484Sobrien	* config/tc-m88k.h (md_do_align): Likewise.
564360484Sobrien	* config/tc-m88k.c (m88k_do_align): Likewise.
564460484Sobrien	* config/tc-sh.h (md_do_align): Likewise.
564560484Sobrien	* config/tc-sh.c (sh_do_align): Likewise.
564660484Sobrien	* doc/as.texinfo: Document new pseudo-ops.
564760484Sobrien
564860484Sobrien	* config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
564960484Sobrien	done in cvt_frag_to_fill.
565060484Sobrien
565160484Sobrien	* config/tc-sh.h (sh_do_align): Declare.
565260484Sobrien	(md_do_align): Define.
565360484Sobrien	* config/tc-sh.c (sh_do_align): New function.
565460484Sobrien
565560484Sobrien	* ecoff.c (ecoff_build_lineno): Don't try to store the address
565660484Sobrien	difference if the next address is before the current one.
565760484Sobrien
565860484Sobrien	* config/tc-m68k.c (struct m68k_cpu): Add alias field.
565960484Sobrien	(archs): Initialize new field.
566060484Sobrien	(m68k_ip): Don't list alias names when listing CPUs which support
566160484Sobrien	an instruction.
566260484Sobrien
566360484Sobrien	* as.c (main): Call parse_args before read_begin.
566460484Sobrien	* app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
566560484Sobrien	front of generated pseudo-ops.
566660484Sobrien	* read.c (potable): Ignore "name".
566760484Sobrien	(s_app_file): Permit a single quote after the string, since one
566860484Sobrien	may appear in m68k MRI mode.
566960484Sobrien
567060484Sobrien	* configure.in: Check for --enable-shared.  If linking against
567160484Sobrien	shared BFD and opcodes, fix library name on SunOS, and try to set
567260484Sobrien	-rpath reasonably.
567360484Sobrien	* configure: Rebuild.
567460484Sobrien
567560484SobrienTue Feb  6 15:16:17 1996  Ian Lance Taylor  <ian@cygnus.com>
567660484Sobrien
567760484Sobrien	* as.h (flag_m68k_mri): Declare.
567860484Sobrien	* as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
567960484Sobrien	* Many files: For MRI syntax that is specific to the m68k MRI
568060484Sobrien	assembler, check flag_m68k_mri rather than flag_mri or
568160484Sobrien	MRI_MODE_NEEDS_PSEUDO_DOT.
568260484Sobrien
568360484SobrienMon Feb  5 16:29:11 1996  Ian Lance Taylor  <ian@cygnus.com>
568460484Sobrien
568560484Sobrien	* config/tc-i960.c (ARCH_HX): Define.
568660484Sobrien	(arch_tab): Add HX.
568760484Sobrien	(targ_has_sfr): Handle ARCH_HX.
568860484Sobrien	(targ_has_iclass): Handle ARCH_HX.
568960484Sobrien	(tc_coff_fix2rtype): Add return 0 to avoid warning.
569060484Sobrien	(tc_headers_hook): If the architecture was specified explicitly,
569160484Sobrien	use it when setting the flags.  Set the extern variable coff_flags
569260484Sobrien	rather than headers->filehdr.f_flags, since the latter is set
569360484Sobrien	unconditionally in obj-coff.c.
569460484Sobrien	(i960_handle_align): Remove unused variable fixp.
569560484Sobrien
569660484Sobrien	Support for building bfd and opcodes as shared libraries, based on
569760484Sobrien	patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
569860484Sobrien	* configure.in: Set OPCODES and BFD to search directories.
569960484Sobrien	Substitute OPCODES_DEP and BFDDEP.  On SunOS, set HLDFLAGS.
570060484Sobrien	* configure: Rebuild.
570160484Sobrien	* Makefile.in (LDFLAGS, HLDFLAGS): New variables.
570260484Sobrien	(LIBDEPS): New variable.
570360484Sobrien	(as.new0: Depend upon $(LIBDEPS) rather than $(LIBS).  Use
570460484Sobrien	$(HLDFLAGS) in link.
570560484Sobrien	(check): Set LD_LIBRARY_PATH in the environment.
570660484Sobrien
570760484SobrienFri Feb  2 17:41:53 1996  Michael Meissner  <meissner@wogglebug.tiac.net>
570860484Sobrien
570960484Sobrien	* config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
571060484Sobrien	.PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
571160484Sobrien	read-only, not read/write.
571260484Sobrien
571360484SobrienFri Feb  2 14:09:25 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>
571460484Sobrien
571560484Sobrien	* Makefile.in (INSTALL_XFORM): Remove -e.
571660484Sobrien
571760484SobrienFri Feb  2 12:32:15 1996  Ian Lance Taylor  <ian@cygnus.com>
571860484Sobrien
571960484Sobrien	* write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
572060484Sobrien	than comparing S_GET_SEGMENT to undefined_section.
572160484Sobrien	(write_object_file): Skip symbols which were equated to an
572260484Sobrien	undefined or common symbol.
572360484Sobrien	* symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
572460484Sobrien	S_IS_COMMON rather than comparing S_GET_SEGMENT to
572560484Sobrien	undefined_section.
572660484Sobrien	(S_GET_VALUE): Likewise.  Avoid recursion problems if S_IS_DEFINED
572760484Sobrien	or S_IS_COMMON call S_GET_VALUE.
572860484Sobrien	* config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
572960484Sobrien	* config/obj-aout.c (obj_emit_relocations): If a reloc is equated
573060484Sobrien	to an undefined or common symbol, convert the reloc to be against
573160484Sobrien	the target symbol.
573260484Sobrien	(obj_crawl_symbol_chain): Skip symbols which were equated to an
573360484Sobrien	undefined or common symbol.
573460484Sobrien	* config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
573560484Sobrien	* config/obj-bout.c (obj_emit_relocations): If a reloc is equated
573660484Sobrien	to an undefined or common symbol, convert the reloc to be against
573760484Sobrien	the target symbol.
573860484Sobrien	(obj_crawl_symbol_chain): Skip symbols which were equated to an
573960484Sobrien	undefined or common symbol.
574060484Sobrien	* config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
574160484Sobrien	S_IS_COMMON rather than comparing S_GET_SEGMENT to
574260484Sobrien	undefined_section.
574360484Sobrien	(yank_symbols): Skip symbols which were equated to an undefined or
574460484Sobrien	common symbol.
574560484Sobrien
574660484SobrienThu Feb  1 15:34:32 1996  Ian Lance Taylor  <ian@cygnus.com>
574760484Sobrien
574860484Sobrien	* config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
574960484Sobrien	* config/obj-bout.h (S_IS_LOCAL): Likewise.
575060484Sobrien
575160484Sobrien	* configure.in: Make sure we only add m68k-parse.o to
575260484Sobrien	${extra_objects} once, no matter how many m68k targets have been
575360484Sobrien	enabled.
575460484Sobrien	* configure: Rebuild.
575560484Sobrien
575660484SobrienWed Jan 31 18:31:46 1996  Steve Chamberlain  <sac@slash.cygnus.com>
575760484Sobrien
575860484Sobrien	* configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
575960484Sobrien	* configure: Rebuild.
576060484Sobrien
576160484SobrienWed Jan 31 14:03:17 1996  Richard Henderson  <rth@tamu.edu>
576260484Sobrien
576360484Sobrien	* config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
576460484Sobrien	* doc/c-m68k.texi: Document .extend and .ldouble.
576560484Sobrien
576660484Sobrien	* configure.in (m68*-apple-aux*): New target.
576760484Sobrien	* config/te-aux.h: New file.
576860484Sobrien	* config/obj-coff.c (compare_external_relocs): New static function
576960484Sobrien	if TE_AUX.
577060484Sobrien	(do_relocs_for): Sort relocs if TE_AUX.
577160484Sobrien	(fixup_segment): If TE_AUX, store common symbol value in segment.
577260484Sobrien	* config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
577360484Sobrien
577460484SobrienWed Jan 31 12:24:58 1996  Ian Lance Taylor  <ian@cygnus.com>
577560484Sobrien
577660484Sobrien	* config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
577760484Sobrien
577860484Sobrien	* config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
577960484Sobrien	BSF_FUNCTION.
578060484Sobrien	(s_cpload): Set BSF_OBJECT for _gp_disp symbol.
578160484Sobrien	* read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
578260484Sobrien	symbol.
578360484Sobrien	* ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
578460484Sobrien	(ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
578560484Sobrien	an undefined symbol and the size of a function symbol.
578660484Sobrien	* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
578760484Sobrien	for all common symbols.
578860484Sobrien
578960484SobrienTue Jan 30 12:35:24 1996  Ken Raeburn  <raeburn@cygnus.com>
579060484Sobrien
579160484Sobrien	* config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
579260484Sobrien	scaling of index.
579360484Sobrien
579460484Sobrien	* expr.c (operand): Accept 0x hex constants in MRI mode if not on
579560484Sobrien	m68k.
579660484Sobrien
579760484SobrienMon Jan 29 12:21:30 1996  Ian Lance Taylor  <ian@cygnus.com>
579860484Sobrien
579960484Sobrien	* config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
580060484Sobrien	of object.  From Ronald F. Guilmette <rfg@monkeys.com>.
580160484Sobrien
580260484Sobrien	* ecoff.c (localsym_t): Add addend field.
580360484Sobrien	(add_ecoff_symbol): Add addend argument.  Change all callers.
580460484Sobrien	(coff_sym_value): Make static.
580560484Sobrien	(coff_sym_addend): New static variable.
580660484Sobrien	(ecoff_directive_def): Initialize coff_sym_addend.
580760484Sobrien	(ecoff_directive_val): Accept symbol + constant.
580860484Sobrien	(ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
580960484Sobrien	(ecoff_build_symbols): Include the addend in the symbol value.
581060484Sobrien
581160484SobrienFri Jan 26 19:28:52 1996  Kim Knuttila  <krk@cygnus.com>
581260484Sobrien
581360484Sobrien	* config/tc-ppc.c (md_assemble): Ignore overflow on 
581460484Sobrien	BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
581560484Sobrien
581660484SobrienFri Jan 26 16:14:17 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
581760484Sobrien
581860484Sobrien	* config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
581960484Sobrien	bytes in size, so offset appropriately in big endian mode when
582060484Sobrien	writing the bottom 2 bytes.
582160484Sobrien
582260484SobrienThu Jan 25 20:26:23 1996  Doug Evans  <dje@charmed.cygnus.com>
582360484Sobrien
582460484Sobrien	* config/tc-sparc.c (default_compatible): New static local.
582560484Sobrien	(md_begin): Initialize it.  Rewrite warn_on_bump handling.
582660484Sobrien	(sparc_ip): If no architecture or -bump specified, don't mark as
582760484Sobrien	mismatched those in default_compatible.
582860484Sobrien
582960484SobrienThu Jan 25 12:21:53 1996  Ian Lance Taylor  <ian@cygnus.com>
583060484Sobrien
583160484Sobrien	SCO ELF support from Robert Lipe <robertl@arnet.com>:
583260484Sobrien	* configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
583360484Sobrien	* configure: Rebuild.
583460484Sobrien	* config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
583560484Sobrien	* config/tc-i386.c (sco_id): New function, if SCO_ELF.
583660484Sobrien	* config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
583760484Sobrien	(sco_id): Declare if SCO_ELF.
583860484Sobrien
583960484SobrienThu Jan 25 03:10:53 1996  Doug Evans  <dje@charmed.cygnus.com>
584060484Sobrien
584160484Sobrien	* config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
584260484Sobrien	({max,warn_after}_architecture): New static locals.
584360484Sobrien	(md_begin): Replace NUMOPCODES with sparc_num_opcodes.
584460484Sobrien	If both architecture and -bump requested, set max_architecture to max.
584560484Sobrien	(sparc_md_end): Simplify.
584660484Sobrien	(sparc_ip): Replace references to can_bump_v9_p with max_architecture.
584760484Sobrien	Rewrite code to bump architecture and check for conflicts.
584860484Sobrien	(md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
584960484Sobrien	with Solaris assembler.
585060484Sobrien	(md_parse_option): Likewise.  Call sparc_opcode_lookup_arch.
585160484Sobrien	(md_show_usage): Update.
585260484Sobrien
585360484SobrienWed Jan 24 22:11:03 1996  Doug Evans  <dje@charmed.cygnus.com>
585460484Sobrien
585560484Sobrien	* Makefile.in (RUNTEST): Fix reference to $${srcdir}.
585660484Sobrien
585760484SobrienMon Jan 22 09:21:36 1996  Doug Evans  <dje@charmed.cygnus.com>
585860484Sobrien
585960484Sobrien	* config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
586060484Sobrien	#ifdef sparcv9 when choosing value.
586160484Sobrien	(ENV64): Delete.
586260484Sobrien	(md_end): Define.
586360484Sobrien	(sparc_md_end): Declare.
586460484Sobrien	* config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
586560484Sobrien	(initial_architecture): New static local.
586660484Sobrien	(can_bump_v9_p): Likewise.
586760484Sobrien	(NO_V9): Delete all occurrences.
586860484Sobrien	(sparc_md_end): New function.
586960484Sobrien	(sparc_ip): New local v9_arg_p.  Rework fp reg number test.
587060484Sobrien	Don't bump architecture to v9 unless can_bump_v9_p set.
587160484Sobrien	(md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
587260484Sobrien	* configure.in (sparc64 target cpu): Don't set obj_format here.
587360484Sobrien	(SPARC_V9): Renamed from sparcv9.
587460484Sobrien	(sparc64-*-elf*): Define SPARC_ARCH64.
587560484Sobrien	* configure: Regenerated.
587660484Sobrien	* acconfig.h (SPARC_V9): Renamed from sparcv9.
587760484Sobrien	(SPARC_ARCH64): Add.
587860484Sobrien	* conf.in: Regenerated.
587960484Sobrien	* config/vmsconf.h: Update.
588060484Sobrien
588160484SobrienMon Jan 22 17:24:47 1996  James G. Smith  <jsmith@cygnus.co.uk>
588260484Sobrien
588360484Sobrien	* config/tc-mips.c (load_register): Optimise "dli" loads.
588460484Sobrien	(md_show_usage): add "-mcpu=vr4100" to help text.
588560484Sobrien
588660484SobrienMon Jan 22 11:53:00 1996  Ian Lance Taylor  <ian@cygnus.com>
588760484Sobrien
588860484Sobrien	* symbols.c (resolve_symbol_value): If a symbol is equated to an
588960484Sobrien	undefined symbol, preserve the X_op of O_symbol.
589060484Sobrien	(S_GET_VALUE): Fix check to permit this case.
589160484Sobrien	* write.c (write_relocs): If a reloc is against an undefined
589260484Sobrien	symbol equated to another symbol, change the reloc to be against
589360484Sobrien	the latter symbol.
589460484Sobrien	* config/obj-coff.c (do_relocs_for): Likewise.
589560484Sobrien
589660484Sobrien	* config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
589760484Sobrien	XMC_PR.
589860484Sobrien
589960484SobrienMon Jan 22 10:59:48 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
590060484Sobrien
590160484Sobrien	* config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
590260484Sobrien	computer is PowerPC.
590360484Sobrien
590460484Sobrien	* config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
590560484Sobrien
590660484Sobrien	* config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
590760484Sobrien	mentioned in the eabi.
590860484Sobrien
590960484SobrienThu Jan 18 17:58:19 1996  Kim Knuttila  <krk@cygnus.com>
591060484Sobrien
591160484Sobrien	* config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
591260484Sobrien	* config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
591360484Sobrien
591460484SobrienMon Jan 15 17:43:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
591560484Sobrien
591660484Sobrien	* config/tc-ppc.c (mapping): Add more relocation suffixes.
591760484Sobrien
591860484SobrienSun Jan 14 21:29:36 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
591960484Sobrien
592060484Sobrien	* config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
592160484Sobrien	as a section it is ok to have unadorned -mrelocatable pointers in.
592260484Sobrien
592360484SobrienSat Jan 13 11:09:08 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
592460484Sobrien
592560484Sobrien	* config/tc-ppc.c (ppc_section*): Wrap these functions inside
592660484Sobrien	#ifdef OBJ_ELF.
592760484Sobrien
592860484SobrienFri Jan 12 15:32:07 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
592960484Sobrien
593060484Sobrien	* config/obj-elf.c (obj_elf_section): Add hooks so machine
593160484Sobrien	dependent section attributes can be handled.
593260484Sobrien
593360484Sobrien	* config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
593460484Sobrien	macros to add support for exclude section flag and ordered section
593560484Sobrien	type.
593660484Sobrien
593760484Sobrien	* config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
593860484Sobrien	functions to add support for exclude section flag and ordered
593960484Sobrien	section type.
594060484Sobrien
594160484SobrienFri Jan 12 12:04:00 1996  Ian Lance Taylor  <ian@cygnus.com>
594260484Sobrien
594360484Sobrien	* subsegs.c (section_symbol): Don't try to look up the section
594460484Sobrien	symbol in the hash table.  It should be possible to have a symbol
594560484Sobrien	with the same name as a section, but no connection to it.
594660484Sobrien
594760484Sobrien	* read.c (cons_worker): Only call mri_comment_end from flag_mri.
594860484Sobrien	From James Carlson <carlson@xylogics.com>.
594960484Sobrien
595060484Sobrien	* expr.c (operand): Skip whitespace after a close parenthesis.
595160484Sobrien	From James Carlson <carlson@xylogics.com>.
595260484Sobrien
595360484SobrienTue Jan  2 12:43:23 1996  Jim Wilson  <wilson@chestnut.cygnus.com>
595460484Sobrien
595560484Sobrien	* config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
595660484Sobrien	as_warn_where for relocation overflow.
595760484Sobrien	(parse_reg): Accept register name only if next character is
595860484Sobrien	not alphanumeric.
595960484Sobrien
596060484SobrienFor older changes see ChangeLog-9295
5961