189857Sobrien1999-12-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
289857Sobrien
389857Sobrien	* config/tc-i386.c (MATCH): Relax JumpAbsolute check.  Emit a
489857Sobrien	warning for absolute jump/call without `*' in non-intel mode.  No
589857Sobrien	need to set i.types[0] JumpAbsolute in intel mode.
689857Sobrien
777298Sobrien1999-12-22  Philip Blundell  <pb@futuretv.com>
877298Sobrien
977298Sobrien	* config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
1077298Sobrien	hook function when changing sections.
1177298Sobrien	(arm_s_data): Likewise.
1277298Sobrien
1377298Sobrien1999-12-14  Nick Clifton  <nickc@cygnus.com>
1477298Sobrien
1577298Sobrien	* config/tc-arm.c (md_parse_option): Add support for -marm720
1677298Sobrien	command line switch.
1777298Sobrien
1877298SobrienTue Nov 30 22:59:00 1999  Jeffrey A Law  (law@cygnus.com)
1977298Sobrien
2077298Sobrien	* config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
2177298Sobrien	(r_registers, xr_registers): Define.
2277298Sobrien	(r_register_name, xr_register_name): New functions.
2377298Sobrien	(md_assemble): Handle new am33 operand types and instruction
2477298Sobrien	formats.
2577298Sobrien	(mn10300_insert_operand, check_operand): Likewise.
2677298Sobrien
2777298Sobrien1999-11-29  Nick Clifton  <nickc@cygnus.com>
2877298Sobrien
2977298Sobrien	* config/tc-arm.c (thumb_mode): Turn into a tristate variable.
3077298Sobrien	(s_force_thumb): Set thumb_mode to 2.
3177298Sobrien	(md_assemble): Do not complain about thumb instructions on a
3277298Sobrien	non-thumb target if thumb_mode is set to 2.
3377298Sobrien
3477298Sobrien1999-11-28  Michael Meissner  <meissner@cygnus.com>
3577298Sobrien
3677298Sobrien	* config/tc-alpha.c (toplevel): Include struc-symbol.h.
3777298Sobrien	(alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases.
3877298Sobrien	(O_...): Add new machine dependent expressions if we are handling
3977298Sobrien	explicit relocations.
4077298Sobrien	(alpha_reloc_op): New static table holding the explicit relocation
4177298Sobrien	information.
4277298Sobrien	(alpha_literal_hash): New static to hold the hash table for
4377298Sobrien	explicit relocations.
4477298Sobrien	(alpha_macros): Add support for explicit relocations.
4577298Sobrien	(md_begin): If explicit relocations, initialize hash table.
4677298Sobrien	(md_assemble): Don't print a second error if tokenize_arguments
4777298Sobrien	already printed an error message.
4877298Sobrien	(md_apply_fix): Add support for explicit relocations.
4977298Sobrien	(alpha_force_relocation): Ditto.
5077298Sobrien	(alpha_fix_adjustable): Ditto.
5177298Sobrien	(alpha_adjust_symtab): New function to support explicit
5277298Sobrien	relocations.
5377298Sobrien	(alpha_adjust_symtab_relocs): Ditto.
5477298Sobrien	(debug_exp): Debug stub compiled if DEBUG_ALPHA is defined.
5577298Sobrien	(tokenize_arguments): Add debug code if DEBUG_ALPHA is defined.
5677298Sobrien	Add support for explicit relocations.  Return -2 if an error
5777298Sobrien	message was already printed.
5877298Sobrien	(find_macro_match): Add support for explicit relocations.  Comment
5977298Sobrien	each of the cases.
6077298Sobrien	(emit_insn): Add support for explicit relocations.
6177298Sobrien	(assemble_tokens): Ditto.
6277298Sobrien	(emit_ldgp): Ditto.
6377298Sobrien	(load_expression): Ditto.
6477298Sobrien	(emit_lda): Ditto.
6577298Sobrien	(emit_ldah): Ditto.
6677298Sobrien	(emit_ir_load): Ditto.
6777298Sobrien	(emit_loadstore): Ditto.
6877298Sobrien	(emit_ldXu): Ditto.
6977298Sobrien	(emit_ldil): Ditto.
7077298Sobrien	(emit_sextX): Ditto.
7177298Sobrien	(emit_division): Ditto.
7277298Sobrien	(emit_jsrjmp): Ditto.
7377298Sobrien	(emit_retjcr): Ditto.
7477298Sobrien
7577298Sobrien	* config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if
7677298Sobrien	ELF object format.
7777298Sobrien	(tc_adjust_symtab): If explicit relocations, call the function
7877298Sobrien	alpha_adjust_symtab.
7977298Sobrien	(TC_FIX_TYPE): Add fields to be able to move explicit lituse
8077298Sobrien	relocations next to the literal relocation they reference.
8177298Sobrien	(TC_INIT_FIX_DATA): Initialize the new fields.
8277298Sobrien	(TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined.
8377298Sobrien
8477298SobrienWed Nov 24 20:27:58 1999  Jeffrey A Law  (law@cygnus.com)
8577298Sobrien
8677298Sobrien	* config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers.  Handle
8777298Sobrien	'B' operand for PA2.0 bb instruction.
8877298Sobrien
8977298Sobrien1999-11-18  Nick Clifton  <nickc@cygnus.com>
9077298Sobrien
9177298Sobrien	* config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
9277298Sobrien	target.
9377298Sobrien
9477298Sobrien	* config/tc-mcore.c (tc_gen_reloc): Support generation of RVA
9577298Sobrien	relocs.
9677298Sobrien	(mcore_force_relocation): Force relocations to be generated for
9777298Sobrien	RVA relocs.
9877298Sobrien
9977298Sobrien1999-11-16  Alan Modra  <alan@spri.levels.unisa.edu.au>
10077298Sobrien
10177298Sobrien	* config/tc-i386.c (i386_immediate): Disallow O_big immediates.
10277298Sobrien	(i386_displacement): Disallow O_big displacements.
10377298Sobrien
10477298SobrienMon Nov 15 20:12:43 1999  Donald Lindsay  <dlindsay@cygnus.com>
10577298Sobrien
10677298Sobrien	* config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg):
10777298Sobrien	Small improvements in error checking.
10877298Sobrien	(md_assemble): Support for unconditional ARM instructions.
10977298Sobrien	(md_parse_option): Support for -m[arm]v5e flag.
11077298Sobrien
11177298Sobrien1999-11-12  Nick Clifton  <nickc@cygnus.com>
11277298Sobrien
11377298Sobrien	* macro.c (buffer_and_nest): Do not check beyond the end of the
11477298Sobrien	buffer.
11577298Sobrien
11677298Sobrien1999-11-11  Nick Clifton  <nickc@cygnus.com>
11777298Sobrien
11877298Sobrien	* macro.c (buffer_and_nest): Look for seperator after TO and
11977298Sobrien	FROM tokens.
12077298Sobrien
12177298Sobrien1999-11-08  Andrew Haley  <aph@cygnus.com>
12277298Sobrien
12377298Sobrien	* app.c (do_scrub_chars): When in State 10, treat backslash
12477298Sobrien	characters in the same way as as symbol characters.
12577298Sobrien
12677298Sobrien1999-11-07  Richard Henderson  <rth@cygnus.com>
12777298Sobrien
12877298Sobrien	* config/tc-alpha.c (alpha_align): Check, don't assert, that
12977298Sobrien	the previous label was in the current section before playing
13077298Sobrien	with auto-alignment.
13177298Sobrien
13277298Sobrien1999-11-06  Nick Clifton  <nickc@cygnus.com>
13377298Sobrien
13477298Sobrien	* config/tc-v850.c (v850_force_relocation): Force relocation
13577298Sobrien	for weak symbols.
13677298Sobrien	(v850_pcrel_from_selection): Do not compute a pcrel offset if
13777298Sobrien	the symbol is weak.
13877298Sobrien
13977298Sobrien1999-11-05  Michael Meissner  <meissner@cygnus.com>
14077298Sobrien
14177298Sobrien	* expr.h (operatorT): Increase machine dependent operators to 16.
14277298Sobrien	* expr.c (op_rank): Ditto.
14377298Sobrien
14477298Sobrien1999-11-03  Ian Lance Taylor  <ian@zembu.com>
14577298Sobrien
14677298Sobrien	* read.c (pseudo_set): Reject attempts to set the value of a
14777298Sobrien	section symbol.
14877298Sobrien
14977298Sobrien	* config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
15077298Sobrien	if it is defined.
15177298Sobrien
15277298Sobrien	* config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
15377298Sobrien
15477298Sobrien	* config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
15577298Sobrien	to bfd_set_section_contents.
15677298Sobrien
15777298Sobrien1999-11-03  Nick Clifton  <nickc@cygnus.com>
15877298Sobrien
15977298Sobrien	* config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
16077298Sobrien
16177298Sobrien1999-11-01  Gavin Romig-Koch  <gavin@cygnus.com>
16277298Sobrien
16377298Sobrien	* config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
16477298Sobrien	(mips_ip): Use OPCODE_IS_MEMBER.
16577298Sobrien
16677298SobrienWed Oct 27 16:50:44 1999  Don Lindsay  <dlindsay@cygnus.com>
16777298Sobrien
16877298Sobrien	* config/tc-arm.c (reg_required_here): Improve comments.
16977298Sobrien
17077298Sobrien	* config/tc-arm.c (thumb_opcode): Add "variants" field.
17177298Sobrien	(tinsns): Initialize variants field.
17277298Sobrien
17377298Sobrien	* config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and
17477298Sobrien	BAD_PC respectively.
17577298Sobrien
17677298Sobrien1999-10-27  Scott Bambrough  <scottb@netwinder.org>
17777298Sobrien
17877298Sobrien	* config/tc-arm.c (reloc_map[]): Fix compiler warning.
17977298Sobrien	* config/tc-arm.h: Fix compile time warnings.
18077298Sobrien
18177298SobrienMon Oct 18 18:11:10 MDT 1999	Diego Novillo <dnovillo@cygnus.com>
18277298Sobrien
18389857Sobrien	* config/tc-d10v.c (find_opcode): Allow ATSIGN to match
18489857Sobrien	expressions of the form @abs16, @(abs16) and @(abs16 + imm).
18577298Sobrien
18677298Sobrien1999-10-21  Gavin Romig-Koch  <gavin@cygnus.com>
18777298Sobrien
18877298Sobrien	* config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
18977298Sobrien	(ISA_HAS_64_BIT_REGS) New.
19077298Sobrien	(gpr_interlocks,md_begin,reg_needs_delay,append_insn,
19177298Sobrien	mips_emit_delays,macro_build,load_register,load_addresss,
19277298Sobrien	macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
19377298Sobrien	and/or use new ISA_xxx macros in expressions involving
19477298Sobrien	ISA, particularly mips_opts.isa.
19577298Sobrien
19677298Sobrien1999-10-18  Michael Meissner  <meissner@cygnus.com>
19777298Sobrien
19877298Sobrien	* expr.h (operatorT): Add machine dependent operators md1..md8.
19977298Sobrien	(expressionS): Make X_op 8 bits instead of 7.  Add a X_md field
20077298Sobrien	for the machine dependent operators to use.
20177298Sobrien
20277298Sobrien	* expr.c (op_rank): Add machine dependent operators.
20377298Sobrien
20477298Sobrien	* config/tc-alpha.c (O_pregister): Define as a machine dependent
20577298Sobrien	operator.
20677298Sobrien	(O_cpregister): Ditto.
20777298Sobrien	(md_begin): Change X_op test that field is wide enough to use
20877298Sobrien	O_max instead of O_alpha_max.
20977298Sobrien	(cpu_types): Fill in missing initializer.
21077298Sobrien	(alpha_num_macros): Make unsigned.
21177298Sobrien	(md_assemble): Make opnamelen be size_t.
21277298Sobrien	(md_apply_fix): Cast alpha_num_operands to int before testing.
21377298Sobrien	(alpha_force_relocation): Ditto.
21477298Sobrien	(alpha_fix_adjustable): Ditto.
21577298Sobrien	(alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED.
21677298Sobrien	(tc_gen_reloc): Ditto.
21777298Sobrien	(tc_get_register): Ditto.
21877298Sobrien	(emit_ldgp): Ditto.
21977298Sobrien	(emit_lda): Ditto.
22077298Sobrien	(emit_ldah): Ditto.
22177298Sobrien	(emit_ldil): Ditto.
22277298Sobrien	(s_alpha_ent): Ditto.
22377298Sobrien	(s_alpha_end): Ditto.
22477298Sobrien	(s_alpha_frame): Ditto.
22577298Sobrien	(s_alpha_prologue): Ditto.
22677298Sobrien	(s_alpha_file): Ditto.
22777298Sobrien	(s_alpha_gprel32): Ditto.
22877298Sobrien	(s_alpha_proc): Ditto.
22977298Sobrien	(s_alpha_set): Ditto.
23077298Sobrien	(s_alpha_base): Ditto.
23177298Sobrien	(s_alpha_align): Ditto.
23277298Sobrien	(s_alpha_arch): Ditto.
23377298Sobrien	(alpha_align): Ditto.
23477298Sobrien	(assemble_insn): Suppress unused variable warning.
23577298Sobrien	(emit_insn): Ditto.
23677298Sobrien	(assemble_insn): Don't assume X_op and X_unsigned are in a given
23777298Sobrien	order in the structure.
23877298Sobrien	(s_alpha_coff_wrapper): Avoid int/unsigned comparison.
23977298Sobrien
24077298SobrienSun Oct 17 17:15:58 1999  Jeffrey A Law  (law@cygnus.com)
24177298Sobrien
24277298Sobrien	* config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
24377298Sobrien
24477298Sobrien1999-10-12  Alan Modra  <alan@spri.levels.unisa.edu.au>
24577298Sobrien
24677298Sobrien	* config/tc-i386.c (i386_index_check): Correct #endif location.
24777298Sobrien
24877298SobrienMon Oct 11 14:02:40 1999  Geoffrey Keating  <geoffk@cygnus.com>
24977298Sobrien
25077298Sobrien	* as.c (show_usage): Document new options.
25177298Sobrien	(parse_args): Add --no-warn, --warn, --fatal-warnings,
25277298Sobrien	which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
25377298Sobrien	(parse_args): Parse the new options.
25477298Sobrien	(main): If there were warnings, and --fatal-warnings
25577298Sobrien	was specified, print an error.
25677298Sobrien	* as.h: New variable, flag_fatal_warnings, for new option.
25777298Sobrien
25877298SobrienSun Oct 10 01:47:23 1999  Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org>
25977298Sobrien
26077298Sobrien	* config/tc-hppa.c (pa_ip):  Add new codes 'cc', 'cd', 'cC', 'co',
26177298Sobrien	'@'.  Change autoincrement completers to fall through to cache control
26277298Sobrien	completers.
26377298Sobrien
26477298Sobrien	* config/tc-hppa.c (pa_ip):  Remove unused args.  Add code to '?W'
26577298Sobrien	arg.
26677298Sobrien	(pa_parse_addb_64_cmpltr):  New function.
26777298Sobrien
26877298Sobrien	* config/tc-hppa.c (pa_ip):  Change error message.
26977298Sobrien	(pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr)  Fix '?N' and
27077298Sobrien	'?Q' args to allow falling through.
27177298Sobrien
27277298Sobrien	* config/tc-hppa.c (pa_ip):  Implement conditional codes "?N", "?Q".
27377298Sobrien	Remove unused conditional codes.
27477298Sobrien	(pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr):  New.
27577298Sobrien
27677298SobrienThu Oct  7 00:23:53 MDT 1999	Diego Novillo <dnovillo@cygnus.com>
27777298Sobrien
27877298Sobrien	* config/tc-d30v.c (CHAR_BIT): Define.
27977298Sobrien	(check_range): Fix bit operations to support integers bigger than
28077298Sobrien	32 bits.
28177298Sobrien
28277298SobrienThu Oct  7 00:11:50 MDT 1999	Diego Novillo <dnovillo@cygnus.com>
28377298Sobrien
28477298Sobrien	* config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3
28577298Sobrien	operands.
28677298Sobrien
28777298SobrienMon Oct  4 17:24:23 1999  Nick Clifton  <nickc@cygnus.com>
28877298Sobrien			  Doug Evans  <devans@cygnus.com>
28977298Sobrien
29077298Sobrien	Add support for m32rx.
29177298Sobrien	* config/tc-m32r.c (enable_m32rx): New static global.
29277298Sobrien	(enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
29377298Sobrien	(allow_m32rx): New function.
29477298Sobrien	(M32R_SHORTOPTS): Add `O'.
29577298Sobrien	(md_longopts): Add --m32rx plus several warning options.
29677298Sobrien	(md_parse_option): Handle new options.
29777298Sobrien	(md_show_usage): Print them.
29877298Sobrien	(md_begin): Enable m32rx.
29977298Sobrien	(OPERAND_IS_COND_BIT): New macro.
30077298Sobrien	(first_writes_to_seconds_operands): New function.
30177298Sobrien	(writes_to_pc,can_make_parallel,make_parallel): New functions.
30277298Sobrien	(target_make_parallel,assemble_two_insns): New functions.
30377298Sobrien	(md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
30477298Sobrien	If optimizing and m32rx, try to make consecutive insns parallel.
30577298Sobrien
30677298SobrienTue Sep 28 14:06:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
30777298Sobrien
30877298Sobrien	* config/tc-mips.c (nopic_need_relax): Allow for the
30977298Sobrien	.sdata.foo sections generated by -fdata-sections,
31077298Sobrien	and for the .gnu.linkonce.s sections generated by C++.
31177298Sobrien
31277298SobrienThu Sep 23 07:13:45 1999  Jerry Quinn <jquinn@nortelnetworks.com>
31377298Sobrien
31477298Sobrien	* config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
31577298Sobrien	with cleaner code using completer prefixes.   Add 'Y'.
31677298Sobrien
31777298Sobrien	* config/tc-hppa.c (pa_ip):  Add parens to silence compiler.
31877298Sobrien
31977298SobrienWed Sep 22 09:37:19 1999  Jeffrey A Law  (law@cygnus.com)
32077298Sobrien
32177298Sobrien	* config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
32277298Sobrien	(pa_ip, case 'm'): Failure to get a CBIT specifier just means the
32377298Sobrien	insn does not match and we should try the next insn in the table.
32477298Sobrien
32577298Sobrien1999-09-22  Nick Clifton  <nickc@cygnus.com>
32677298Sobrien
32777298Sobrien	* config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.
32877298Sobrien
32977298SobrienMon Sep 20 04:01:41 1999  Jeffrey A Law  (law@cygnus.com)
33077298Sobrien
33177298Sobrien	* config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
33277298Sobrien	of PA2.0 support.
33377298Sobrien
33477298Sobrien1999-09-19  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
33577298Sobrien
33677298Sobrien	* config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
33777298Sobrien	OBJ_ELF.  If ELF, add "sq".
33877298Sobrien	(md_parse_option): If ELF, ignore -s and -q.
33977298Sobrien	(md_show_usage): Mention ELF options.
34077298Sobrien
34177298SobrienSun Sep 19 10:43:31 1999  Jeffrey A Law  (law@cygnus.com)
34277298Sobrien
34377298Sobrien	* config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
34477298Sobrien	operands.
34577298Sobrien
34677298Sobrien	* config/tc-hppa.c (pa_ip): Handle "fe", and 'cJ'.
34777298Sobrien
34877298Sobrien	* config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
34977298Sobrien
35077298Sobrien	* config/tc-hppa.c (struct pa_it): New field "trunc".
35177298Sobrien	(pa_ip): Handle 'h', 'm', '=', '{', and '_' operands.
35277298Sobrien	(pa_parse_ftest_gfx_completer): New function
35377298Sobrien	(pa_parse_fp_cnv_format): New function.
35477298Sobrien
35577298Sobrien	* config/tc-hppa.c (pa_ip): Handle 'X' operand.
35677298Sobrien	(md_apply_fix): Handle 22bit pc-rel branches.
35777298Sobrien
35877298Sobrien	* config/tc-hppa.c (pa_ip): Handle 'B' operand.
35977298Sobrien
36077298Sobrien	* config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
36177298Sobrien
36277298Sobrien	* config/tc-hppa.c (pa_ip): Handle 'l' operand.
36377298Sobrien
36477298Sobrien	* config/tc-hppa.c (pa_ip): Handle 'g' operand.
36577298Sobrien
36677298SobrienSat Sep 18 12:13:28 1999  Jeffrey A Law  (law@cygnus.com)
36777298Sobrien
36877298Sobrien	* config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
36977298Sobrien	(pa_ip): Handle 'fX'.
37077298Sobrien
37177298SobrienFri Sep 17 11:57:34 1999  Jeffrey A Law  (law@cygnus.com)
37277298Sobrien
37377298Sobrien	* config/tc-hppa.c (pa_build_unwind_subspace): Do not build
37477298Sobrien	unwinds unless the function is in the text space.
37577298Sobrien	(pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
37677298Sobrien
37777298SobrienWed Sep 15 05:14:32 1999  Jeffrey A Law  (law@cygnus.com)
37877298Sobrien
37977298Sobrien	* config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
38077298Sobrien	(md_assemble): To here.  Tweak address generation.
38177298Sobrien
38277298Sobrien	* config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF.  Declare
38377298Sobrien	debug_line.
38477298Sobrien	(md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
38577298Sobrien	(md_assemble): Call dwarf2_where for OBJ_ELF.
38677298Sobrien	(pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
38777298Sobrien	(pa_end_of_source): New function.
38889857Sobrien	* config/tc-hppa.h (md_end): Define for OBJ_ELF.
38977298Sobrien
39077298Sobrien1999-09-14  Michael Meissner  <meissner@cygnus.com>
39177298Sobrien
39277298Sobrien	* configure.in (Canonicalization of target names): Remove adding
39377298Sobrien	${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
39477298Sobrien	generates $ac_config_sub with a ${CONFIG_SHELL} already.
39577298Sobrien	* configure: Regenerate.
39677298Sobrien
39777298Sobrien1999-09-14  Donn Terry  <donn@interix.com>
39877298Sobrien
39977298Sobrien	* config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
40077298Sobrien
40177298Sobrien1999-09-13  Alan Modra  <alan@spri.levels.unisa.edu.au>
40277298Sobrien
40377298Sobrien	* config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a
40477298Sobrien	pc-relative jmp/call to an absolute symbol.
40577298Sobrien	(md_apply_fix3): When OBJ_ELF, don't add the values in twice for
40677298Sobrien	absolute section symbols.
40777298Sobrien
40877298Sobrien	* config/tc-i386.c (md_assemble): Correct frag_var size.  Tidy
40977298Sobrien	jump handling code and comments.
41077298Sobrien
41177298Sobrien1999-09-12  Ian Lance Taylor  <ian@zembu.com>
41277298Sobrien
41377298Sobrien	* config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
41477298Sobrien	the value if TE_PE and a global defined symbol.
41577298Sobrien
41677298Sobrien1999-09-11  Ian Lance Taylor  <ian@zembu.com>
41777298Sobrien
41877298Sobrien	* write.c (dump_section_relocs): Call print_symbol_value_1 to
41977298Sobrien	print the symbol, rather than printing it here.
42077298Sobrien
42177298Sobrien1999-09-11  Donn Terry  <donn@interix.com>
42277298Sobrien
42377298Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
42477298Sobrien	BFD_RELOC_RVA relocations.
42577298Sobrien
42677298Sobrien	* config/tc-i386.c (md_undefined_symbol): Compare the name against
42777298Sobrien	the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
42877298Sobrien	starts with "_G".
42977298Sobrien
43077298Sobrien	* write.c (write_relocs): Call SET_SECTION_RELOCS if it is
43177298Sobrien	defined.
43277298Sobrien	* config/obj-coff.h (SET_SECTION_RELOCS): Define.
43377298Sobrien	* doc/internals.texi (Object format backend): Document
43477298Sobrien	SET_SECTION_RELOCS.
43577298Sobrien
43677298Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
43777298Sobrien	relocations against global symbols if TE_PE.
43877298Sobrien
43977298Sobrien	* config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
44077298Sobrien	(obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
44177298Sobrien
44277298Sobrien	* config/obj-coff.c (coff_frob_symbol): Prohibit weak common
44377298Sobrien	symbols.
44477298Sobrien
44577298Sobrien	* config/obj-coff.c (obj_coff_endef): Don't merge labels, or
44677298Sobrien	symbols which do not have a constant value, or tags with
44777298Sobrien	non-tags.  Remove the symbol from the list before adding it at the
44877298Sobrien	end.
44977298Sobrien
45077298Sobrien	* config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
45177298Sobrien	C_FCN symbol differently if TE_PE.
45277298Sobrien	(obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
45377298Sobrien	appears in the pseudo-op, rather coff_line_base which is only set
45477298Sobrien	for a .bf symbol.
45577298Sobrien
45677298Sobrien	* config/obj-coff.c (obj_coff_loc): New static function.
45777298Sobrien	(obj_pseudo_table): Add "loc".
45877298Sobrien
45977298Sobrien	* config/obj-coff.c (add_lineno): Check that the line number is
46077298Sobrien	positive.
46177298Sobrien
46277298Sobrien	* config/atof-ieee.c (atof_ieee): Change what_kind to int.
46377298Sobrien	* config/atof-vax.c (flonum_gen2vax): Change format_letter to
46477298Sobrien	int.
46577298Sobrien	(md_atof): Return NULL rather than 0.
46677298Sobrien	* config/tc-i386.c (md_atof): Change type to int.
46777298Sobrien	* expr.c (expr): Change first parameter to int.
46877298Sobrien	* config/obj-coff.c: Add declarations for static functions.
46977298Sobrien	(coff_frob_symbol): Use SYM_AUXENT.
47077298Sobrien	* config/tc-i386.h (flag_16bit_code): Don't declare.
47177298Sobrien
47277298Sobrien	* config/obj-coff.c (obj_coff_section): Default to setting
47377298Sobrien	SEC_LOAD.  Don't set SEC_DATA for 'w' modifier.
47477298Sobrien
47577298Sobrien	* write.c (adjust_reloc_syms): Print adjusted fixup.
47677298Sobrien
47777298Sobrien	* expr.c (integer_constant): Correct too_many_digits calculation
47877298Sobrien	in base 10 case.
47977298Sobrien
48077298Sobrien1999-09-09  Andreas Schwab  <schwab@suse.de>
48177298Sobrien
48277298Sobrien	* doc/c-arm.texi: Fix arguments of @var to not contain
48377298Sobrien	punctuation.
48477298Sobrien
48577298Sobrien1999-09-08  Philip Blundell  <pb@nexus.co.uk>
48677298Sobrien
48777298Sobrien	* config/tc-arm.c (s_thumb_set): Only support interworking for ELF
48877298Sobrien	and COFF targets.
48977298Sobrien	(md_parse_option): Only support -k flag for ELF and COFF targets.
49077298Sobrien
49177298SobrienTue Sep  7 13:28:59 1999  Jeffrey A Law  (law@cygnus.com)
49277298Sobrien
49377298Sobrien	* config/tc-hppa.c (pa_ip): Put strict register checks before
49477298Sobrien	call to pa_parse_number.
49577298Sobrien
49677298Sobrien	* config/tc-hppa.c (pa_ip): Support 'Z' argument.
49777298Sobrien
49877298Sobrien1999-09-06  Ian Lance Taylor  <ian@zembu.com>
49977298Sobrien
50077298Sobrien	* config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
50177298Sobrien	BFD_ASSEMBLER code.
50277298Sobrien
50377298Sobrien1999-09-06  Donn Terry  <donn@interix.com>
50477298Sobrien
50577298Sobrien	* as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
50677298Sobrien
50777298SobrienMon Sep  6 04:26:56 1999  Jeffrey A Law  (law@cygnus.com)
50877298Sobrien
50977298Sobrien	* config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
51077298Sobrien	candidate instruction.  Require registers for register arguments
51177298Sobrien	when in strict mode.  Require assemble-time constants for
51277298Sobrien	constants when in strict mode.
51377298Sobrien	(pa_get_absolute_expression): Require a constant when in strict
51477298Sobrien	mode.
51577298Sobrien
51677298Sobrien1999-09-06  Nick Clifton  <nickc@cygnus.com>
51777298Sobrien
51877298Sobrien	* config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
51977298Sobrien
52077298Sobrien1999-09-04  Steve Chamberlain  <sac@pobox.com>
52177298Sobrien
52277298Sobrien	* config/tc-pj.c: New file, supports picoJava in ELF.
52377298Sobrien	* config/tc-pj.h: Ditto.
52477298Sobrien	* configure.in (pjl*, pj*): New targets.
52577298Sobrien	* Makefile.am: Rebuild dependencies.
52677298Sobrien	(CPU_TYPES): Add pj.
52777298Sobrien	(TARGET_CPU_CFILES): Add config/tc-pj.c.
52877298Sobrien	(TARGET_CPU_HFILES): Add config/tc-pj.h.
52977298Sobrien	* doc/c-pj.texi: New file.
53077298Sobrien	* doc/as.texinfo: Add some PJ specifics.
53177298Sobrien	* doc/all.texi: Add PJ to the list of all architectures, sort them
53277298Sobrien	all alphabetically.
53377298Sobrien	* doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
53477298Sobrien	* configure, Makefile.in, doc/Makefile.in: Rebuild.
53577298Sobrien
53677298Sobrien1999-09-02  Alan Modra  <alan@spri.levels.unisa.edu.au>
53777298Sobrien
53877298Sobrien	* config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat.
53977298Sobrien	(obj_frob_file): Test for null pointer.
54077298Sobrien	(OBJ_COPY_SYMBOL_ATTRIBUTES): Here too.
54177298Sobrien	(OBJ_PROCESS_STAB): And here.
54277298Sobrien	(elf_obj_sy): Remove
54377298Sobrien
54477298Sobrien	* config/obj-elf.h: #ifndef everything defined in obj-multi.h,
54577298Sobrien	except OBJ_PROCESS_STAB, which we #undef for ecoff.
54677298Sobrien	(elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE.
54777298Sobrien
54877298Sobrien	* config/obj-coff.c (no_func): Remove.
54977298Sobrien	(coff_format_ops): Change occurrences of no_func to 0, as we test
55077298Sobrien	for 0 in obj-multi.h.
55177298Sobrien
55277298Sobrien	* configure.in:  Enable bfd for i386-coff when primary target is
55377298Sobrien	bfd.  Enable i386 elf,coff emulation support.  Don't set
55477298Sobrien	USE_EMULATIONS=1 or te_file=multi unless there is more than one
55577298Sobrien	emulation to support.
55677298Sobrien	*configure: Regenerate.
55777298Sobrien
55877298Sobrien1999-09-02  Nick Clifton  <nickc@cygnus.com>
55977298Sobrien
56077298Sobrien	* config/tc-mcore.c (mcore_s_section): Do not dump literals if a
56177298Sobrien	.section .line directive is encountered.
56277298Sobrien
56377298Sobrien1999-09-01  Nick Clifton  <nickc@cygnus.com>
56477298Sobrien
56577298Sobrien	* config/tc-arm.c (md_section_align): Do not align sections in ELF
56677298Sobrien	format.
56777298Sobrien
56877298Sobrien	* as.c (show_usage): Add --gdwarf2 to list of options displayed.
56977298Sobrien	* as.texinfo: Document --gdwarf2 command line option.
57077298Sobrien	Add additional documentation of ARM command line switches.
57177298Sobrien
57277298Sobrien1999-08-30  Alan Modra  <alan@spri.levels.unisa.edu.au>
57377298Sobrien
57477298Sobrien	* config/tc-i386.c (i386_intel_memory_operand): Combine
57577298Sobrien	i386_is_reg and parse_register calls.  Remove END_STRING_AND_SAVE
57677298Sobrien	and RESTORE_END_STRING around parse_register calls.
57777298Sobrien	(i386_operand): Here too.
57877298Sobrien	(i386_is_reg): Remove.
57977298Sobrien	(parse_register): Move as_bad calls from within this function to
58077298Sobrien	callers.
58177298Sobrien
58277298Sobrien1999-08-29  Alan Modra  <alan@spri.levels.unisa.edu.au>
58377298Sobrien
58477298Sobrien	Based on a patch from H.J. Lu  <hjl@gnu.org>
58577298Sobrien	* config/tc-i386.c (parse_register): Handle FP regs specially.
58677298Sobrien	(md_begin): Remove '(' and ')' from register_chars.
58777298Sobrien
58877298Sobrien1999-08-29  Doug Evans  <devans@casey.cygnus.com>
58977298Sobrien
59077298Sobrien	* config/tc-m32r.c (md_parse_option): Delete unrecognized option
59177298Sobrien	error message (done elsewhere).
59277298Sobrien
59377298SobrienSat Aug 28 01:23:11 1999  Jeffrey A Law  (law@cygnus.com)
59477298Sobrien
59577298Sobrien	* config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
59677298Sobrien
59777298SobrienSat Aug 28 00:26:26 1999  Jerry Quinn <jquinn@nortelnetworks.com>
59877298Sobrien
59977298Sobrien	* config/tc-hppa.c (pa_ip): Replace 'f' by 'v'.  Prefix float register
60077298Sobrien	args by 'f'.
60177298Sobrien
60277298Sobrien	* config/tc-hppa.c (pa_ip): Add args q, %, and |.
60377298Sobrien
60477298Sobrien	* config/tc-hppa.c (pa_ip):  Absorb white space in instructions
60577298Sobrien	between args.
60677298Sobrien	Add new completers.  Fix bug in 64 bit condition handling.
60777298Sobrien
60877298Sobrien	* config/tc-hppa.c (pa_ip):  Add completer codes 'a', 'ch', 'cH',
60977298Sobrien	'cS', and 'c*'.
61077298Sobrien
61177298Sobrien	* config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
61277298Sobrien
61377298Sobrien	* config/tc-hppa.c (pa_ip):  Add cases for '.', '~'. '$'. and '!'
61477298Sobrien
61577298Sobrien	* config/tc-hppa.c (pa_ip):  Add case for 'I'.
61677298Sobrien
61777298Sobrien1999-08-27  Jim Wilson  <wilson@cygnus.com>
61877298Sobrien
61977298Sobrien	* dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment.
62077298Sobrien	(struct ls): Add frag field.  Initialize it to zero.
62177298Sobrien	(out_end_sequence): New local text_frag.  Set it while in text section.
62277298Sobrien	Replace address check with frag check.  Set ls.frag to text_frag if
62377298Sobrien	out_set_addr called.
62477298Sobrien	(dwarf2_gen_line_info): Add explanatory comment.  New local saved_frag.
62577298Sobrien	Set it before switching sections.  Replace address check with frag
62677298Sobrien	check.  Set ls.frag to saved_frag if out_set_addr called.
62777298Sobrien
62877298Sobrien1999-08-26  David Mosberger  <davidm@hpl.hp.com>
62977298Sobrien
63077298Sobrien	* dwarf2dbg.c (out_end_sequence): If address changed, directly
63177298Sobrien	output "advance_pc" opcode instead of calling gen_addr_line().
63277298Sobrien	The latter has the undesired side-effect of creating a new row
63377298Sobrien	in the debug line info matrix.
63477298Sobrien
63577298Sobrien1999-08-26  Jim Wilson  <wilson@cygnus.com>
63677298Sobrien
63777298Sobrien	* dwarf2dbg.c (out_end_sequence): Correct comments.  Set last to
63877298Sobrien	ls.last_filename if last is less than zero.  Set ls.last_filename
63977298Sobrien	when allocating new entry.
64077298Sobrien	(dwarf2_gen_line_info): Save seg and subseg info before subseg_new
64177298Sobrien	call.
64277298Sobrien
64377298Sobrien1999-08-20  Alan Modra  <alan@spri.levels.unisa.edu.au>
64477298Sobrien
64577298Sobrien	* config/tc-i386.c (i386_index_check): Fix the displacement size
64677298Sobrien	when INFER_ADDR_PREFIX.
64777298Sobrien
64877298Sobrien1999-08-18  Nick Clifton  <nickc@cygnus.com>
64977298Sobrien
65077298Sobrien	* config/tc-arm.c (md_apply_fix3): If an offset is invalid,
65177298Sobrien	display its value.
65277298Sobrien
65377298Sobrien1999-08-17  Ian Lance Taylor  <ian@zembu.com>
65477298Sobrien
65577298Sobrien	* config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
65677298Sobrien	handle 0xffffNNNN constants correctly.
65777298Sobrien
65877298Sobrien1999-08-16  Nick Clifton  <nickc@cygnus.com>
65977298Sobrien
66077298Sobrien	* config/tc-arm.c (do_ldst): Look for register conflicts on stores
66177298Sobrien	as well as loads.
66277298Sobrien
66377298Sobrien1999-08-13  Nick Clifton  <nickc@cygnus.com>
66477298Sobrien
66577298Sobrien	* config/tc-arm.c (validate_offset_imm): Work on unsigned values.
66677298Sobrien	(md_apply_fix3): Always pass positive values to
66777298Sobrien	validate_offset_imm.
66877298Sobrien
66977298Sobrien1999-08-12  Nick Clifton  <nickc@cygnus.com>
67077298Sobrien
67177298Sobrien	* config/tc-arm.c (skip_whitespace): New macro.
67277298Sobrien	Formatting tidy ups.
67377298Sobrien
67477298Sobrien	(md_apply_fix3): Store relocation offset in addend for ELF based
67577298Sobrien	relocs.
67677298Sobrien	(arm_force_relocation): Always generate relocs for Thumb function
67777298Sobrien	calls.
67877298Sobrien
67977298Sobrien1999-08-11  Alan Modra  <alan@spri.levels.unisa.edu.au>
68077298Sobrien
68177298Sobrien	* config/tc-i386.c (md_assemble): Remove dead code.  intel_syntax
68277298Sobrien	LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h
68377298Sobrien
68477298SobrienTue Aug 10 12:58:31 1999  Jeffrey A Law  (law@cygnus.com)
68577298Sobrien
68677298Sobrien	* config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
68777298Sobrien	flags for the unwind subspace.
68877298Sobrien
68977298Sobrien	* config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
69077298Sobrien	(pa_build_unwind_subspace): Remove #if 0 wrapper.  Select a
69177298Sobrien	suitable relocation based on the size of the target's pointer.
69277298Sobrien	Always Use subsegment zero for the unwinders.
69377298Sobrien	(pa_level): Handle "2.0w".
69477298Sobrien
69577298SobrienMon Aug  9 20:02:22 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
69677298Sobrien
69777298Sobrien	* config/tc-d30v.c (write_2_short): Don't group repeat instructions
69877298Sobrien	with the following instruction unless this was specified.
69977298Sobrien
70077298Sobrien1999-08-09  Ian Lance Taylor  <ian@zembu.com>
70177298Sobrien
70277298Sobrien	* config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
70377298Sobrien	certain sections, to match BFD changes.
70477298Sobrien
70577298Sobrien1999-08-08  Mumit Khan  <khan@xraylith.wisc.edu>
70677298Sobrien
70777298Sobrien	* Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
70877298Sobrien	(EXTRA_SCRIPTS): Define to keep automake happy.
70977298Sobrien	* Makefile.in: Rebuild.
71077298Sobrien
71177298Sobrien1999-08-08  Ian Lance Taylor  <ian@zembu.com>
71277298Sobrien
71377298Sobrien	* Makefile.am: Rename .dep* files to DEP*.
71477298Sobrien	(MKDEP): Rename from DEP.  Change all uses.  Use $${srcdir} rather
71577298Sobrien	than $(srcdir).  Rename TCDEP targets to DEPTC.  Rename OBJDEP
71677298Sobrien	targets to DEPOBJ.
71777298Sobrien	* Makefile.in: Rebuild.
71877298Sobrien
71977298Sobrien1999-08-08  Jakub Jelinek  <jj@ultra.linux.cz>
72077298Sobrien
72177298Sobrien	* config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
72277298Sobrien
72377298Sobrien1999-08-08  Ian Lance Taylor  <ian@zembu.com>
72477298Sobrien
72577298Sobrien	* Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
72677298Sobrien	avoid problems on DOS filesystems.
72777298Sobrien	* Makefile.in: Rebuild.
72877298Sobrien
72977298Sobrien	* doc/as.texinfo (Section): Document 's' flag for COFF version.
73077298Sobrien
73177298Sobrien1999-08-08  Mumit Khan  <khan@xraylith.wisc.edu>
73277298Sobrien
73377298Sobrien	* config/obj-coff.c (obj_coff_section): Handle 's' (shared)
73477298Sobrien	section flag.
73577298Sobrien
73677298Sobrien1999-08-08  Ian Lance Taylor  <ian@zembu.com>
73777298Sobrien
73877298Sobrien	* configure.in: Define and substitute GDBINIT.  Change AC_OUTPUT
73977298Sobrien	line to create ${GDBINIT} rather than .gdbinit.
74077298Sobrien	* configure, Makefile.in, doc/Makefile.in: Rebuild.
74177298Sobrien
74277298SobrienFri Aug  6 12:12:44 1999  Jeffrey A Law  (law@cygnus.com)
74377298Sobrien
74477298Sobrien	* config/tc-hppa.c (pa_ip, case '?'): Add missing break.
74577298Sobrien
74677298SobrienFri Aug  6 09:46:35 1999  Jerry Quinn <jquinn@nortelnetworks.com>
74777298Sobrien
74877298Sobrien	* config/tc-hppa.c (pa_ip):  Add 64 bit condition completers.
74977298Sobrien
75077298Sobrien1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
75177298Sobrien
75277298Sobrien	* config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
75377298Sobrien	non-adjustable symbols.
75477298Sobrien
75577298SobrienThu Aug  5 16:52:51 1999  Jerry Quinn <jquinn@nortelnetworks.com>
75677298Sobrien
75777298Sobrien	* config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix.
75877298Sobrien
75977298SobrienThu Aug  5 23:05:56 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
76077298Sobrien
76177298Sobrien	* config/tc-sh.c (md_assemble):  Call as_bad when there are excess
76277298Sobrien	operands.
76377298Sobrien
76477298Sobrien1999-08-05  Donn Terry  <donn@interix.com>
76577298Sobrien
76677298Sobrien	* config/te-interix.h: New file.
76777298Sobrien	* configure.in (i386-*-interix*): New target.
76877298Sobrien	* configure: Rebuild.
76977298Sobrien
77077298SobrienWed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
77177298Sobrien
77277298Sobrien	* config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
77377298Sobrien	selectors for ELF too.
77477298Sobrien	(selector_table): Add "ltp" and "rtp" selectors.
77577298Sobrien
77677298Sobrien1999-08-04  Alan Modra  <alan@spri.levels.unisa.edu.au>
77777298Sobrien
77877298Sobrien	* config/tc-i386.c (i386_operand): No need to change
77977298Sobrien	operand_string pointer in segment reg case before goto
78077298Sobrien	do_memory_reference.  Initialise displacement_string_start and
78177298Sobrien	displacement_string_end after do_memory_reference label.
78277298Sobrien	(i386_index_check): Add operand_string param, and print error
78377298Sobrien	message on failure here.
78477298Sobrien	(i386_intel_memory_operand): Instead of here.
78577298Sobrien	(i386_operand): And here.
78677298Sobrien	(INFER_ADDR_PREFIX): Enable.
78777298Sobrien
78877298Sobrien	* doc/c-i386.texi (i386-16bit): Document .code16gcc.
78977298Sobrien
79077298Sobrien	* config/tc-i386.h (DefaultSize): Define.  Renumber following
79177298Sobrien	opcode_modifier defines.
79277298Sobrien
79377298Sobrien	From Etienne Lorrain  <etienne.lorrain@ibm.net>
79477298Sobrien	* config/tc-i386.c (stackop_size): New variable.
79577298Sobrien	(set_16bit_code_flag): Clear it here.
79677298Sobrien	(set_16bit_gcc_code_flag): New function.
79777298Sobrien	(md_pseudo_table): Add "code16gcc" entry.
79877298Sobrien	(md_assemble): Set i.suffix for insns with DefaultSize modifier.
79977298Sobrien
80077298Sobrien1999-08-03  Ian Lance Taylor  <ian@zembu.com>
80177298Sobrien
80277298Sobrien	* config/obj-coff.c (coff_frob_symbol): Always update set_end with
80377298Sobrien	next_set_end even if the end symbol is being discarded.
80477298Sobrien
80577298Sobrien	* gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER.
80677298Sobrien	* output-file.c, symbols.c, config/tc-i386.c: Likewise.
80777298Sobrien	* config/obj-coff.c: Likewise.
80877298Sobrien	(seg_info_type): Remove.
80977298Sobrien	(seg_info_off_by_4): Change to array of segT.
81077298Sobrien	(s_get_segment): Adjust accordingly.
81177298Sobrien	(obj_pseudo_table): Fully initialize sentinel entry.
81277298Sobrien
81377298Sobrien	* config/tc-mips.c (append_insn): Correct INSN_SYNC test.  From
81477298Sobrien	Ralf Baechle <ralf@uni-koblenz.de>.
81577298Sobrien
81677298Sobrien1999-08-03  Etienne Lorrain  <etienne.lorrain@ibm.net>
81777298Sobrien
81877298Sobrien	* config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
81977298Sobrien
82077298Sobrien1999-08-03  Alan Modra  <alan@spri.levels.unisa.edu.au>
82177298Sobrien
82277298Sobrien	* config/tc-i386.c: Indentation and white space changes.
82377298Sobrien	(i386_index_check): New function.  Add INFER_ADDR_PREFIX code, but
82477298Sobrien	don't enable it by default.
82577298Sobrien	(i386_intel_operand): Remove redundant prototype.
82677298Sobrien	Move check on number of memory operands, and i.mem_operands++
82777298Sobrien	(i386_intel_memory_operand): To here.
82877298Sobrien	Remove i386_immediate code from here.  Remove special case code
82977298Sobrien	for input and output using (%dx).  Remove base/index checks and
83077298Sobrien	call i386_index_check instead.  Save initial operand_string
83177298Sobrien	argument for error message.
83277298Sobrien	(i386_operand): Remove redundant prototype.  Move base/index
83377298Sobrien	checks to i386_index_check.
83477298Sobrien	(i386_displacement): Move intel mode check for non-zero
83577298Sobrien	i.disp_operand
83677298Sobrien	(i386_intel_memory_operand): To here.
83777298Sobrien
83877298Sobrien1999-07-30  Jakub Jelinek  <jj@ultra.linux.cz>
83977298Sobrien
84077298Sobrien	* config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
84177298Sobrien	(sparc_ip): Warn if %g2 or %g3 register is used and not covered
84277298Sobrien	by .register pseudo-op if -64 and --no-undeclared-regs.
84377298Sobrien	(s_register, sparc_adjust_symtab): New functions.
84477298Sobrien	* config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
84577298Sobrien	Declare sparc_adjust_symtab as tc_adjust_symtab.
84677298Sobrien	* doc/c-sparc.texi: Add description of #ignore special literal
84777298Sobrien	for .register pseudo-op.
84877298Sobrien
84977298Sobrien1999-07-30  Catherine Moore  <clm@cygnus.com>
85077298Sobrien
85177298Sobrien	* config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
85277298Sobrien	the relocation's section offset.
85377298Sobrien
85477298Sobrien1999-07-29  Alan Modra  <alan@spri.levels.unisa.edu.au>
85577298Sobrien
85677298Sobrien	* write.c (fixup_segment): Fix generic error check overflow test.
85777298Sobrien
85877298Sobrien	* config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast
85977298Sobrien	X_add_number to long.
86077298Sobrien
86177298SobrienWed Jul 28 02:04:24 1999  "Jerry Quinn" <jquinn@nortelnetworks.com>
86277298Sobrien
86377298Sobrien	* config/tc-hppa.c (pa_ip):  Add 'J' and 'K' code
86477298Sobrien	processing.
86577298Sobrien
86677298Sobrien1999-07-27  Ian Lance Taylor  <ian@zembu.com>
86777298Sobrien
86877298Sobrien	* config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
86977298Sobrien	VTABLE relocations.
87077298Sobrien
87177298Sobrien1999-07-21  Mark Elbrecht  <snowball3@bigfoot.com>
87277298Sobrien
87377298Sobrien	* config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
87477298Sobrien
87577298Sobrien	* configure.bat: Remove; obsolete.
87677298Sobrien	* config/go32.cfg: Likewise.
87777298Sobrien
87877298Sobrien1999-07-21  Brad M. Garcia  <bgarcia@fore.com>
87977298Sobrien
88077298Sobrien	* configure.in (i386-*-vxworks*): New target.
88177298Sobrien	* configure: Rebuild.
88277298Sobrien
88377298Sobrien1999-07-16  Jakub Jelinek  <jj@ultra.linux.cz>
88477298Sobrien
88577298Sobrien	* doc/c-sparc.texi: Document .register and .nword pseudo-ops.
88677298Sobrien
88777298Sobrien1999-07-16  Jakub Jelinek  <jj@ultra.linux.cz>
88877298Sobrien
88977298Sobrien	* config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
89077298Sobrien	on -64 and not pic.
89177298Sobrien	(output_insn): Put OLO10's secondary addend into tc_fix_data.
89277298Sobrien	(md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10.
89377298Sobrien	(tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13.
89477298Sobrien	* config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE,
89577298Sobrien	MAX_RELOC_EXPANSION): Define.
89677298Sobrien	(TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
89777298Sobrien
89877298Sobrien1999-07-16  Alan Modra  <alan@spri.levels.unisa.edu.au>
89977298Sobrien
90077298Sobrien	* config/tc-i386.c (intel_float_operand): Add prototype, make static.
90177298Sobrien	(md_assemble): Localize *exp variable to if (fake_zero_displacement)
90277298Sobrien	block.  Print a warning if an 8-bit or 16-bit constant
90377298Sobrien	displacement or immediate is truncated on output.
90477298Sobrien	(i386_immediate): Ensure Imm16 is always legal for a 16-bit mode
90577298Sobrien	immediate.
90677298Sobrien	(i386_operand): Disallow immediate jump absolute operand.
90777298Sobrien
90877298Sobrien1999-07-15  Ian Lance Taylor  <ian@zembu.com>
90977298Sobrien
91077298Sobrien	* configure.in: Bump version number to 2.9.5.
91177298Sobrien	* configure: Rebuild.
91277298Sobrien
91377298Sobrien	* dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
91477298Sobrien	or %llx work.
91577298Sobrien
91677298SobrienThu Jul 15 02:45:30 1999  Jeffrey A Law  (law@cygnus.com)
91777298Sobrien
91877298Sobrien	* config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
91977298Sobrien	(cons_fix_new_hppa): Derive size of fixup from size of the object.
92077298Sobrien
92177298Sobrien1999-07-14  Philip Blundell  <pb@nexus.co.uk>
92277298Sobrien
92377298Sobrien	* symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it
92477298Sobrien	is defined.
92577298Sobrien	* config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF.
92677298Sobrien
92777298Sobrien	* config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file
92877298Sobrien	if -mno-fpu was given.
92977298Sobrien	(tc_gen_reloc): Fix typo.  Delete bogus code related to GOTPC
93077298Sobrien	relocs.
93177298Sobrien	(cons_fix_new_arm): Remove misleading comments.
93277298Sobrien
93377298Sobrien1999-07-14  Ian Lance Taylor  <ian@zembu.com>
93477298Sobrien
93577298Sobrien	* write.c (cvt_frag_to_fill): Use frag file and line in rs_org
93677298Sobrien	error message.
93777298Sobrien	(relax_segment): Likewise.  After giving a rs_org error, convert
93877298Sobrien	the frag to rs_align to avoid cascading errors.
93977298Sobrien
94077298Sobrien1999-07-12  Andreas Schwab  <schwab@suse.de>
94177298Sobrien
94277298Sobrien	* config/tc-m68k.c: Add some ATTRIBUTE_UNUSED.
94377298Sobrien
94477298Sobrien1999-07-11  Ian Lance Taylor  <ian@zembu.com>
94577298Sobrien
94677298Sobrien	* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
94777298Sobrien	as appropriate.  Fill in structure initializations.  Add variable
94877298Sobrien	initializations.  Add casts.
94977298Sobrien	* dwarf2dbg.c (print_stats): Change i to size_t.
95077298Sobrien	* listing.c (listing_listing): Change list_line to unsigned int.
95177298Sobrien
95277298Sobrien1999-07-10  Ian Lance Taylor  <ian@zembu.com>
95377298Sobrien
95477298Sobrien	* config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
95577298Sobrien	rather than checking for \001 and \002 in symbol name.
95677298Sobrien	* config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
95777298Sobrien
95877298SobrienThu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
95977298Sobrien
96077298Sobrien	* configure.in (hppa*-linux-gnu*): New target.
96177298Sobrien	* configure: Rebuilt.
96277298Sobrien
96377298Sobrien1999-07-08  Nick Clifton  <nickc@cygnus.com>
96477298Sobrien
96577298Sobrien	* doc/c-arm.texi (ARM Directives): Document .thumb_set directive.
96677298Sobrien
96777298Sobrien1999-07-07  Nick Clifton  <nickc@cygnus.com>
96877298Sobrien
96977298Sobrien	* config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than
97077298Sobrien	accessing symbolP directly.
97177298Sobrien
97277298SobrienTue Jul  6 10:41:42 1999  Jeffrey A Law  (law@cygnus.com)
97377298Sobrien
97477298Sobrien	* config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
97577298Sobrien	for ELF.
97677298Sobrien
97777298Sobrien1999-07-05  Nick Clifton  <nickc@cygnus.com>
97877298Sobrien
97977298Sobrien	* config/tc-arm.c (ARM_EXT_V5): Define.
98077298Sobrien	(ARM_ARCH_V5, ARM_ARCH_V5T): Define.
98177298Sobrien	(md_begin): Detect ARM v5 architectures.
98277298Sobrien	(md_parse_option): Accept arm v5 specification.
98377298Sobrien	(md_show_usage): Documment -marmv5 switch.
98477298Sobrien
98577298Sobrien	* doc/c-arm.texi: Document -marmv5 command line option.
98677298Sobrien
98777298Sobrien	* config/tc-arm.c (do_adrl): New function.  Implement ADRL pseudo
98877298Sobrien	op.
98977298Sobrien	(validate_immediate_twopart): New function.  Determine if a
99077298Sobrien	constant can be computed by two ADD instructions.
99177298Sobrien	(output_inst): Remove its command line parameter - it was never
99277298Sobrien	used.
99377298Sobrien	(md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to
99477298Sobrien	implememt the ADRL pseudo op.
99577298Sobrien	(tc_gen_reloc): Generate a suitable error message if an ADRL
99677298Sobrien	instruction tries to generate a real reloc.
99777298Sobrien
99877298Sobrien	* doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops.
99977298Sobrien
100077298SobrienThu Jul  1 15:33:10 1999  Jeffrey A Law  (law@cygnus.com)
100177298Sobrien
100277298Sobrien	* config/tc-hppa.c (pa_ip): Convert the opcode and all completers
100377298Sobrien	into lower case.
100477298Sobrien
100577298Sobrien1999-06-27  H.J. Lu  <hjl@gnu.org>
100677298Sobrien
100777298Sobrien	* subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
100877298Sobrien	non BFD_ASSEMBLER case.
100977298Sobrien
101077298Sobrien1999-06-26  Mumit Khan  <khan@xraylith.wisc.edu>
101177298Sobrien
101277298Sobrien	* config/obj-coff.c (obj_coff_section): Mark writable sections as
101377298Sobrien	data.
101477298Sobrien
101577298Sobrien1999-06-26  David Mosberger  <davidm@hpl.hp.com>
101677298Sobrien
101777298Sobrien	* dwarf2dbg.c (dwarf2_gen_line_info): Don't call
101877298Sobrien	out_end_sequence() when the address decreases due to a new frag.
101977298Sobrien	(gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file
102077298Sobrien	numbering starts with 1.
102177298Sobrien
102277298Sobrien1999-06-23  Nick Clifton  <nickc@cygnus.com>
102377298Sobrien
102477298Sobrien	* config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow
102577298Sobrien	.section for COFF.
102677298Sobrien	(mcore_s_text): Call obj_elf_text for ELF target.
102777298Sobrien	(mcore_s_data): Call obj_elf_data for ELF target.
102877298Sobrien	(mcore_s_section): No longer ELF specific.  Call obj_coff_section
102977298Sobrien	for COFF target.
103077298Sobrien	(mcore_s_bss): New function:  Dump literal table before changing
103177298Sobrien	sections.
103277298Sobrien	(mcore_s_comm): New function:  Dump literal table before changing
103377298Sobrien	sections.
103477298Sobrien
103577298Sobrien	* config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text):
103677298Sobrien	No longer static functions.
103777298Sobrien	* config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text):
103877298Sobrien	Provide prototypes for these functions.
103977298Sobrien
104077298Sobrien1999-06-22  Ian Lance Taylor  <ian@zembu.com>
104177298Sobrien
104277298Sobrien	* subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use
104377298Sobrien	a list of names, to try obj_segment_name, and to try abbreviated
104477298Sobrien	names when using COFF without long section names.
104577298Sobrien
104677298Sobrien	* config/tc-alpha.c: More use of symbol accessor functions.
104777298Sobrien	* config/tc-arc.c: Likewise.
104877298Sobrien	* config/tc-d30v.c: Likewise.
104977298Sobrien	* config/tc-fr30.c: Likewise.
105077298Sobrien	* config/tc-i860.c: Likewise.
105177298Sobrien	* config/tc-m88k.c: Likewise.
105277298Sobrien	* config/tc-mcore.c: Likewise.
105377298Sobrien	* config/tc-ns32k.c: Likewise.
105477298Sobrien	* config/tc-sparc.c: Likewise.
105577298Sobrien	* config/tc-v850.c: Likewise.
105677298Sobrien
105777298Sobrien	* config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
105877298Sobrien	sy_value with appropriate accessor functions.
105977298Sobrien	* config/tc-arm.c (md_apply_fix3): Likewise.
106077298Sobrien	* config/tc-d10v.c (AT_WORD_P): Likewise.
106177298Sobrien	* config/tc-v850.c (reg_name_search): Likewise.
106277298Sobrien
106377298Sobrien	* config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
106477298Sobrien	use symbol_get_bfdsym instead.
106577298Sobrien	* config/tc-ppc.c (md_assemble): Likewise.
106677298Sobrien	* config/tc-v850.c (v850_comm): Likewise.
106777298Sobrien
106877298Sobrien1999-06-22  Jonathan Larmour  <jlarmour@cygnus.co.uk>
106977298Sobrien
107077298Sobrien	* config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
107177298Sobrien	the symbol, rather than accessing the bsym member.
107277298Sobrien	* config/tc-d10v.c (tc_gen_reloc): Likewise.
107377298Sobrien	* config/tc-d30v.c (tc_gen_reloc): Likewise.
107477298Sobrien	* config/tc-mcore.c (tc_gen_reloc): Likewise.
107577298Sobrien	* config/tc-mn10200.c (tc_gen_reloc): Likewise.
107677298Sobrien	* config/tc-mn10300.c (tc_gen_reloc): Likewise.
107777298Sobrien	* config/tc-ns32k.c (tc_gen_reloc): Likewise.
107877298Sobrien	* config/tc-tic30.c (tc_gen_reloc): Likewise.
107977298Sobrien	* config/tc-v850.c (tc_gen_reloc): Likewise.
108077298Sobrien
108177298SobrienMon Jun 21 16:45:19 1999  Jeffrey A Law  (law@cygnus.com)
108277298Sobrien
108389857Sobrien	* config/tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
108477298Sobrien	(hppa_gen_reloc_type): Conditionalize on BFD64.
108577298Sobrien	(tc_gen_reloc): Re-enable ELF relocations.
108689857Sobrien	* config/tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
108777298Sobrien
108877298Sobrien1999-06-21  Ian Lance Taylor  <ian@zembu.com>
108977298Sobrien
109077298Sobrien	* config/tc-arm.c (ldst_extend): Add parentheses to avoid
109177298Sobrien	warning.
109277298Sobrien	(do_ldst): Move assignment out of if condition.
109377298Sobrien	(md_apply_fix3): Add casts to avoid printf format warnings.  Add
109477298Sobrien	parentheses to avoid warning.
109577298Sobrien
109677298Sobrien1999-06-21  Nick Clifton  <nickc@cygnus.com>
109777298Sobrien
109877298Sobrien	* config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
109977298Sobrien	macro to get at the BFD symbol associated with a GAS symbol.
110077298Sobrien
110177298Sobrien1999-06-19  Ian Lance Taylor  <ian@zembu.com>
110277298Sobrien
110377298Sobrien	* config/tc-ppc.c: Update for symbol handling changes.
110477298Sobrien	* config/obj-coff.c: Likewise.
110577298Sobrien
110677298SobrienFri Jun 18 14:34:18 1999  Jeffrey A Law  (law@cygnus.com)
110777298Sobrien
110889857Sobrien	* config/tc-hppa.c: General cleanups of ELF support.  No more spaces
110977298Sobrien	and subspaces for ELF.
111077298Sobrien	(GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
111177298Sobrien	(GDB_STRINGS_SUBSPACE_NAME): Likewise.
111277298Sobrien	(GDB_SYMBOLS_SUBSPACE_NAME): Likewise
111377298Sobrien	(UNWIND_SECTION_NAME): Likewise.
111477298Sobrien	(space/subspace related structures): Conditionalize definitions
111577298Sobrien	on OBJ_SOM.
111677298Sobrien	(space/subspace directives and support routines): Conditionalize
111777298Sobrien	definitions and references/uses on OBJ_SOM.
111877298Sobrien	(label_symbol_struct): For ELF, track the symbol's segment.  For
111977298Sobrien	SOM track its space.
112077298Sobrien	(pa_define_label, pa_undefine_label, pa_get_label): Corresponding
112177298Sobrien	changes.
112277298Sobrien	(USE_ALIASES): Kill for both SOM & ELF.
112377298Sobrien	(pa_def_subspaces, pa_def_spaces): Corresponding changes.
112477298Sobrien	(pa_space, pa_subspace): Corresponding changes.
112577298Sobrien	(pa_spaces_begin): Corresponding chagnes.
112677298Sobrien	(md_begin): Do not muck around with space/subspace stuff for
112777298Sobrien	OBJ_ELF.
112877298Sobrien	(md_apply_fix): Temporarily disable argument relocation stuff
112977298Sobrien	for OBJ_ELF.
113077298Sobrien	(tc_gen_reloc): Temporarily disable relocation generation for
113177298Sobrien	OBJ_ELF
113277298Sobrien	(pa_build_unwind_subspace): Similarly.
113377298Sobrien
113477298Sobrien1999-06-16  Nick Clifton  <nickc@cygnus.com>
113577298Sobrien
113677298Sobrien	* config/tc-arm.c (thumb_set): New pseudo op.
113777298Sobrien	(text, data, section): Override these pseudo ops with ARM
113877298Sobrien	specific versions.
113977298Sobrien	(s_thumb_set): New function: Perform the same as a .set pseudo
114077298Sobrien	op, but also mark the alias'ed symbol as being a Thumb
114177298Sobrien	function.
114277298Sobrien	(arm_s_text): New function: Perform the same as the .text
114377298Sobrien	pseudo op, but dump the literal pool before changing
114477298Sobrien	sections.
114577298Sobrien	(arm_s_data): New function: Perform the same as the .data
114677298Sobrien	pseudo op, but dump the literal pool before changing
114777298Sobrien	sections.
114877298Sobrien	(arm_s_section): New function: Perform the same as the
114977298Sobrien	.section pseudo op, but dump the literal pool before changing
115077298Sobrien	sections.
115177298Sobrien	(arm_cleanup): Do not reset the current section before dumping
115277298Sobrien	the literal pool.
115377298Sobrien
115477298Sobrien1999-06-17  Nick Clifton  <nickc@cygnus.com>
115577298Sobrien
115677298Sobrien	* config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
115777298Sobrien	OPTION_NO_WARN_UNMATCHED entries.
115877298Sobrien	(md_parse_option): Generate a warning message if an unrecognised
115977298Sobrien	option is encountered.
116077298Sobrien
116177298Sobrien	* config/tc-d10v.c (do_not_ignore_hash): New variable.
116277298Sobrien	(get_operands): When parsing an expression after an '@' symbol
116377298Sobrien	has been detected, do not ignore '#' symbols.
116477298Sobrien	(md_operand): Only ignore '#' symbols if do_not_ignore_hash is
116577298Sobrien	false.
116677298Sobrien
116777298Sobrien1999-06-13  Ian Lance Taylor  <ian@zembu.com>
116877298Sobrien
116977298Sobrien	From K. Richard Pixley <rich@noir.com>:
117077298Sobrien	* configure.in (ppc-*-vxworks*): New target.
117177298Sobrien	* configure: Rebuild.
117277298Sobrien
117377298Sobrien1999-06-12  Philip Blundell  <philb@gnu.org>
117477298Sobrien
117577298Sobrien	* config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
117677298Sobrien
117777298Sobrien1999-06-13  Ian Lance Taylor  <ian@zembu.com>
117877298Sobrien
117977298Sobrien	* write.c (adjust_reloc_syms): Rather than never reducing reloc
118077298Sobrien	which refer to symbols in linkonce sections, permit reducing the
118177298Sobrien	relocs if the symbol is local.
118277298Sobrien
118377298Sobrien1999-06-12  Ian Lance Taylor  <ian@zembu.com>
118477298Sobrien
118577298Sobrien	* subsegs.c (subseg_text_p): New function.
118677298Sobrien	* as.h (subseg_text_p): Declare.
118777298Sobrien	* read.c (do_align): Use subseg_text_p to set the default fill.
118877298Sobrien	* write.c (subsegs_finish): Likewise.
118977298Sobrien	* config/obj-coff.c (write_object_file): Likewise.
119077298Sobrien	* config/tc-i386.h (md_maybe_text): Don't define.
119177298Sobrien	(md_do_align): Use subseg_text_p to set the default fill.
119277298Sobrien	* config/tc-m32r.c (m32r_do_align): Likewise.
119377298Sobrien	* config/tc-sh.c (sh_do_align): Likewise.
119477298Sobrien	* config/tc-sparc.h (md_do_align): Likewise.
119577298Sobrien
119677298Sobrien1999-06-12  David O'Brien  <obrien@freebsd.org>
119777298Sobrien
119877298Sobrien	* configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
119977298Sobrien	* configure: Rebuild.
120077298Sobrien
120177298Sobrien1999-06-12  Ian Lance Taylor  <ian@zembu.com>
120277298Sobrien
120377298Sobrien	* dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
120477298Sobrien	* Makefile.am: Rebuild dependencies.
120577298Sobrien	* Makefile.in: Rebuild.
120677298Sobrien
120777298Sobrien	* config/tc-i386.c (i386_immediate): Remove unused label
120877298Sobrien	seg_unimplemented.
120977298Sobrien
121077298Sobrien	* struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
121177298Sobrien	* symbols.c: Likewise.
121277298Sobrien	* config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
121377298Sobrien	sy_next field when taking address, rather than symbol_next.
121477298Sobrien
121577298Sobrien	* dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
121677298Sobrien	offsetT.
121777298Sobrien	(out_set_addr): Don't use BYTES_PER_ADDRESS.  Instead, get the
121877298Sobrien	value from the output file architecture.
121977298Sobrien	(dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
122077298Sobrien	* dwarf2dbg.h: Change bfd_vma to addressT.
122177298Sobrien
122277298Sobrien1999-06-11  Ian Lance Taylor  <ian@zembu.com>
122377298Sobrien
122477298Sobrien	* dwarf2dbg.h: Use PARAMS in function declarations.
122577298Sobrien
122677298Sobrien1999-06-11  Martin Dorey  <mdorey@madge.com>
122777298Sobrien
122877298Sobrien	* write.c (fixup_segment): Don't add symbol value for i960 ELF.
122977298Sobrien	* config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
123077298Sobrien	OBJ_ELF.
123177298Sobrien	(md_apply_fix): Simplify BFD_ASSEMBLER handling.
123277298Sobrien
123377298Sobrien1999-06-11  Ian Lance Taylor  <ian@zembu.com>
123477298Sobrien
123577298Sobrien	* config/tc-i386.c (md_apply_fix3): Add default case to switch.
123677298Sobrien
123777298Sobrien	* config/tc-sparc.c (md_pseudo_table): Remove pushsection and
123877298Sobrien	popsection.
123977298Sobrien
124077298Sobrien	* config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
124177298Sobrien
124277298Sobrien	* read.c (read_a_source_file): Only declare inescape if
124377298Sobrien	QUOTES_IN_INSN.
124477298Sobrien
124577298Sobrien	* itbl-ops.c (itbl_disassemble): Change sprintf format strings to
124677298Sobrien	match parameters.
124777298Sobrien	(find_entry_byval): Add parens to avoid warning.
124877298Sobrien
124977298Sobrien	* as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
125077298Sobrien
125177298Sobrien	* symbols.c (resolve_symbol_value): Don't permit subtraction of
125277298Sobrien	undefined symbols.
125377298Sobrien
125477298Sobrien1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
125577298Sobrien
125677298Sobrien	* config/tc-sparc.c (sparc_ip): Don't use side-effect expression
125777298Sobrien	with isoctal.
125877298Sobrien
125977298Sobrien	* config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
126077298Sobrien	synthetize_setx): New functions.
126177298Sobrien	(md_assemble): Broken the special cases into the above
126277298Sobrien	functions. Make compiler happy if sizeof(bfd_vma)==4.
126377298Sobrien	Fix sethi generated from set/setuw. If instructions have a relloc,
126477298Sobrien	always clear the fields to be relocated in the opcode.
126577298Sobrien	(sparc_ip): Remove special_case global variable.
126677298Sobrien
126777298Sobrien1999-06-10  Ian Lance Taylor  <ian@zembu.com>
126877298Sobrien
126977298Sobrien	Based on patches from John W. Woznack <jwoznack@concentric.net>:
127077298Sobrien	* itbl-ops.c (itbl_get_reg_val): Add pval parameter.  Return
127177298Sobrien	indication of success rather than a value.
127277298Sobrien	(itbl_get_val): Likewise.
127377298Sobrien	(itbl_get_field): Use strcspn.  Change delimiters to include
127477298Sobrien	parens.
127577298Sobrien	* itbl-ops.h (itbl_get_reg_val): Update declaration.
127677298Sobrien	(itbl_get_val): Likewise.
127777298Sobrien	* config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
127877298Sobrien
127977298Sobrien	* symbols.c (copy_symbol_attributes): Convert local symbols to
128077298Sobrien	regular symbols.
128177298Sobrien
128277298Sobrien1999-06-10  Nick Clifton  <nickc@cygnus.com>
128377298Sobrien
128477298Sobrien	* config/tc-arm.c (md_parse_option): Add support for ARM920 and
128577298Sobrien	ARM920t.
128677298Sobrien
128777298Sobrien1999-06-07  Jakub Jelinek  <jj@ultra.linux.cz>
128877298Sobrien
128977298Sobrien	* config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
129077298Sobrien	Optimize set if sizeof(bfd_vma) == 64.
129177298Sobrien	(sparc_ip): Fix sethi - without %hi() it should generate
129277298Sobrien	R_SPARC_22 reloc, not R_SPARC_HI22.
129377298Sobrien	(tc_gen_reloc): Handle BFD_RELOC_SPARC22.
129477298Sobrien
129577298Sobrien1999-06-07  Jakub Jelinek  <jj@ultra.linux.cz>
129677298Sobrien
129777298Sobrien	* config/tc-sparc.c (md_begin): Handle native wordsize aliases.
129877298Sobrien	(s_ncons): New function.
129977298Sobrien	(native_op_table): New table.
130077298Sobrien	(sparc_ip): Be more strict on %hi() etc.; prepare assembler for
130177298Sobrien	R_SPARC_OLO10 handling.
130277298Sobrien
130377298SobrienMon Jun  7 10:22:16 1999  Richard Henderson  <rth@cygnus.com>
130477298Sobrien
130577298Sobrien	* expr.h (struct expressionS): Revert last change; widen X_op.
130677298Sobrien	* config/tc-alpha.c (md_begin): Check the field is wide enough.
130777298Sobrien
130877298SobrienMon Jun  7 11:25:16 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
130977298Sobrien
131077298Sobrien	* Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
131177298Sobrien	(TARGET_CPU_HFILES): Add config/tc-fr30.h.
131277298Sobrien	(TARG_ENV_HFILES): Add config/te-epoc-pe.h.
131377298Sobrien	* Makefile.in: Regenerated.
131477298Sobrien
131577298Sobrien	* config/obj-elf.c (obj_elf_common): In MRI mode if called as
131677298Sobrien	`common' pass on to s_mri_common.
131777298Sobrien	(elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
131877298Sobrien
131977298Sobrien1999-06-06  Richard Henderson  <rth@cygnus.com>
132077298Sobrien
132177298Sobrien	* config/obj-elf.c (obj_elf_section): Don't free the return
132277298Sobrien	value of demand_copy_C_string.
132377298Sobrien
132477298Sobrien1999-06-05  Richard Henderson  <rth@cygnus.com>
132577298Sobrien
132677298Sobrien	* dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
132777298Sobrien	creation logic from obj_elf_create_section.
132877298Sobrien
132977298Sobrien	* config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
133077298Sobrien	(section_stack): New.
133177298Sobrien	(special_sections): Make const.
133277298Sobrien	(obj_elf_section): Gut and rewrite parsing.
133377298Sobrien	(obj_elf_change_section): New function broken out of obj_elf_section.
133477298Sobrien	(obj_elf_parse_section_letters): Likewise.
133577298Sobrien	(obj_elf_section_word): Likewise.
133677298Sobrien	(obj_elf_section_type): Likewise.
133777298Sobrien	(obj_elf_previous): Treat as a toggle.
133877298Sobrien	(obj_elf_popsection): New.
133977298Sobrien	* config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
134077298Sobrien	(ppc_section_type): Likewise.
134177298Sobrien	* config/tc-ppc.h: Likewise.
134277298Sobrien
134377298Sobrien	* expr.h (struct expressionS): Don't make X_op a bitfield.
134477298Sobrien	* config/tc-alpha.c: Update for symbol handling changes.
134577298Sobrien	(md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
134677298Sobrien	(load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
134777298Sobrien
134877298Sobrien1999-06-05  Richard Henderson  <rth@cygnus.com>
134977298Sobrien
135077298Sobrien	* dwarf2dbg.c (*): Convert to K&R + prototypes.
135177298Sobrien	(dwarf2_gen_line_info): Kill unused variables.
135277298Sobrien	(dwarf2_finish): Likewise.
135377298Sobrien	(dwarf2_where): Likewise.
135477298Sobrien	(dwarf2_directive_file): If we've only got a string,
135577298Sobrien	hand off to s_app_file.
135677298Sobrien	* ecoff.c: Move the include of ecoff.h.
135777298Sobrien	* symbols.h (S_IS_FUNCTION): Prototype.
135877298Sobrien
135977298Sobrien	* read.c (LEX_HASH): Supply a default.
136077298Sobrien	(lex_type): Use it.
136177298Sobrien	(s_globl): Update `c' after skipping whitespace.
136277298Sobrien	* read.h (LEX_END_NAME, is_name_ender): New.
136377298Sobrien	* expr.c (get_symbol_end): Respect it.
136477298Sobrien
136577298Sobrien1999-06-04  Mark Klein <mklein@dis.com>
136677298Sobrien
136777298Sobrien	* config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
136877298Sobrien	to real if OBJ_SOM
136977298Sobrien	(tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
137077298Sobrien
137177298Sobrien	* config/tc-hppa.c: Update for symbol handling changes.
137277298Sobrien
137377298Sobrien1999-06-03  Ian Lance Taylor  <ian@zembu.com>
137477298Sobrien
137577298Sobrien	* cgen.c: Update for symbol handling changes.
137677298Sobrien	* config/tc-m32r.c: Likewise.
137777298Sobrien
137877298Sobrien	* config/tc-hppa.h: Update for symbol handling changes.
137977298Sobrien	* config/tc-hppa.c: Likewise.
138077298Sobrien
138177298Sobrien	* config/tc-arm.h: Update for symbol handling changes.
138277298Sobrien	* config/tc-arm.c: Likewise.
138377298Sobrien	(symbol_make_empty): Remove.  Just use symbol_create.
138477298Sobrien
138577298Sobrien	* symbols.c (symbol_set_tc): Correct name.
138677298Sobrien
138777298Sobrien	* Makefile.am: Rebuild dependencies.
138877298Sobrien	($(OBJS)): Don't depend upon struc-symbol.h.
138977298Sobrien	(.dep1, .tcdep, .objdep): Create itbl-parse.h.
139077298Sobrien	* dep-in.sed: Don't remove struc-symbol.h.
139177298Sobrien	* Makefile.in: Rebuild.
139277298Sobrien
139377298Sobrien	* doc/internals.texi (Symbols): Describe changes in symbol
139477298Sobrien	handling.
139577298Sobrien
139677298Sobrien1999-06-03  Richard Henderson  <rth@cygnus.com>
139777298Sobrien
139877298Sobrien	* dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
139977298Sobrien	instead of doing the work by hand.
140077298Sobrien
140177298Sobrien1999-06-03  David Mosberger  <davidm@hpl.hp.com>
140277298Sobrien
140377298Sobrien	* dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
140477298Sobrien	state of line state-machine.
140577298Sobrien	(struct ls): Collect DWARF2 line state-machine state in new member
140677298Sobrien	SM.  Add member EMPTY_SEQUENCE to keep track if a code sequence
140777298Sobrien	resulted in any DWARF2 directives.
140877298Sobrien	(reset_state_machine): New function.
140977298Sobrien	(out_end_sequence): Ditto.
141077298Sobrien	(dwarf2_gen_line_info): When switching sections or switching to a
141177298Sobrien	lower text address, call out_end_sequence() first to terminate the
141277298Sobrien	previous code sequence as code sequences MUST have monotonically
141377298Sobrien	increasing addresses.
141477298Sobrien	(dwarf2_finish): Call out_end_sequence() instead of open coding it.
141577298Sobrien
141677298Sobrien1999-06-03  David Mosberger  <davidm@hpl.hp.com>
141777298Sobrien
141877298Sobrien	* as.c (parse_args): Add option -gdwarf2 to allow requesting
141977298Sobrien	DWARF2 debug info (line information only, at this point).
142077298Sobrien	* as.h: Update comment about supported debug formats.
142177298Sobrien	* dwarf2dbg.c, dwarf2dbg.h: New files.
142277298Sobrien	* Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
142377298Sobrien
142477298Sobrien	* expr.c (operand): Don't use [ for parens if we want an index op.
142577298Sobrien	(op_encoding): Switch [ into O_index, if desired.
142677298Sobrien	(op_rank): Renumber with O_index on bottom.
142777298Sobrien	(expr): If O_index, match closing bracket.
142877298Sobrien	* expr.h (O_index): New.
142977298Sobrien
143077298Sobrien	* read.c (read_a_source_file): Conditionally allow matched "
143177298Sobrien	in lines passed to md_assemble.
143277298Sobrien
143377298Sobrien	* config/obj-elf.c (elf_pseudo_table): Add `common'.
143477298Sobrien
143577298Sobrien1999-06-03  Ian Lance Taylor  <ian@zembu.com>
143677298Sobrien
143777298Sobrien	Add support for storing local symbols in a small structure to save
143877298Sobrien	memory when assembling large files.
143977298Sobrien	* as.h: Don't include struc-symbol.h.
144077298Sobrien	(symbolS): Add typedef.
144177298Sobrien	* symbols.c: Include struc-symbol.h.
144277298Sobrien	(local_hash): New static variable.
144377298Sobrien	(save_symbol_name): New static function, from symbol_create.
144477298Sobrien	(symbol_create): Call save_symbol_name.
144577298Sobrien	(local_symbol_count): New static variable.
144677298Sobrien	(local_symbol_conversion_count): Likewise.
144777298Sobrien	(LOCAL_SYMBOL_CHECK): Define.
144877298Sobrien	(local_symbol_make): New static function.
144977298Sobrien	(local_symbol_convert): New static function.
145077298Sobrien	(colon): Handle local symbols.  Create local symbol for local
145177298Sobrien	label name.
145277298Sobrien	(symbol_table_insert): Handle local symbols.
145377298Sobrien	(symbol_find_or_make): Create local symbol for local label name.
145477298Sobrien	(symbol_find_base): Check for local symbol.
145577298Sobrien	(symbol_append, symbol_insert): Check for local symbols.
145677298Sobrien	(symbol_clear_list_pointers, symbol_remove): Likewise.
145777298Sobrien	(verify_symbol_chain): Likewise.
145877298Sobrien	(copy_symbol_attributes): Likewise.
145977298Sobrien	(resolve_symbol_value): Handle local symbols.
146077298Sobrien	(resolve_local_symbol): New static function.
146177298Sobrien	(resolve_local_symbol_values): New function.
146277298Sobrien	(S_GET_VALUE, S_SET_VALUE): Handle local symbols.
146377298Sobrien	(S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
146477298Sobrien	(S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
146577298Sobrien	(S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
146677298Sobrien	(S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
146777298Sobrien	(symbol_previous, symbol_next): New functions.
146877298Sobrien	(symbol_get_value_expression): Likewise.
146977298Sobrien	(symbol_set_value_expression): Likewise.
147077298Sobrien	(symbol_set_frag, symbol_get_frag): Likewise.
147177298Sobrien	(symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
147277298Sobrien	(symbol_mark_used_in_reloc): Likewise.
147377298Sobrien	(symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
147477298Sobrien	(symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
147577298Sobrien	(symbol_mri_common_p): Likewise.
147677298Sobrien	(symbol_mark_written, symbol_clear_written): Likewise.
147777298Sobrien	(symbol_written_p): Likewise.
147877298Sobrien	(symbol_mark_resolved, symbol_resolved_p): Likewise.
147977298Sobrien	(symbol_section_p, symbol_equated_p): Likewise.
148077298Sobrien	(symbol_constant_p): Likewise.
148177298Sobrien	(symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
148277298Sobrien	(symbol_get_obj, symbol_set_obj): Likewise.
148377298Sobrien	(symbol_get_tc, symbol_set_tc): Likewise.
148477298Sobrien	(symbol_begin): Initialize local_hash.
148577298Sobrien	(print_symbol_value_1): Handle local symbols.
148677298Sobrien	(symbol_print_statistics): Print local symbol statistics.
148777298Sobrien	* symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
148877298Sobrien	Declare new symbols.c functions.  Move many declarations here from
148977298Sobrien	struc-symbol.h.
149077298Sobrien	(SYMBOLS_NEED_BACKPOINTERS): Define if needed.
149177298Sobrien	* struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
149277298Sobrien	(struct symbol): Move bsym to make it clearly the first field.
149377298Sobrien	Remove TARGET_SYMBOL_FIELDS.
149477298Sobrien	(symbolS): Don't typedef.
149577298Sobrien	(struct broken_word): Remove.
149677298Sobrien	(N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
149777298Sobrien	(SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
149877298Sobrien	(symbol_clear_list_pointers): Likewise.
149977298Sobrien	(symbol_insert, symbol_remove): Likewise.
150077298Sobrien	(symbol_previous, symbol_append): Likewise.
150177298Sobrien	(verify_symbol_chain, verify_symbol_chain_2): Likewise.
150277298Sobrien	(struct local_symbol): Define.
150377298Sobrien	(local_symbol_converted_p, local_symbol_mark_converted): Define.
150477298Sobrien	(local_symbol_resolved_p, local_symbol_mark_resolved): Define.
150577298Sobrien	(local_symbol_get_frag, local_symbol_set_frag): Define.
150677298Sobrien	(local_symbol_get_real_symbol): Define.
150777298Sobrien	(local_symbol_set_real_symbol): Define.
150877298Sobrien	Define.
150977298Sobrien	* write.c (write_object_file): Call resolve_local_symbol_values.
151077298Sobrien	* config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
151177298Sobrien	(TARGET_SYMBOL_FIELDS): Don't define.
151277298Sobrien	* config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field.  If
151377298Sobrien	ECOFF_DEBUGGING, add ECOFF fields.
151477298Sobrien	(ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
151577298Sobrien	* config/obj-multi.h (struct elf_obj_sy): Add local field.  If
151677298Sobrien	ECOFF_DEBUGGING, add ECOFF fields.
151777298Sobrien	(ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
151877298Sobrien	(ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
151977298Sobrien	* config/tc-mcore.h: Don't include struc-symbol.h.
152077298Sobrien	(TARGET_SYMBOL_FIELDS): Don't define.
152177298Sobrien	(struct mcore_tc_sy): Define.
152277298Sobrien	(TC_SYMFIELD_TYPE): Define.
152377298Sobrien	* Many files: Use symbolS instead of struct symbol.  Use new
152477298Sobrien	accessor functions rather than referring to symbolS fields
152577298Sobrien	directly.
152677298Sobrien
152777298Sobrien	* read.c (s_mri_common): Don't add in value of line_label.
152877298Sobrien
152977298Sobrien	* config/tc-mips.c (md_apply_fix): Correct parenthesization when
153077298Sobrien	checking for SEC_LINK_ONCE.
153177298Sobrien
153277298Sobrien	* config/tc-sh.h (sh_fix_adjustable): Declare.
153377298Sobrien
153477298Sobrien	* app.c (input_buffer): New static variable.
153577298Sobrien	(app_push): Save saved_input in allocated buffer.
153677298Sobrien	(app_pop): Restored saved_input.
153777298Sobrien	(do_scrub_chars): Change get parameter to take char * and int as
153877298Sobrien	arguments.  Change GET macro to pass input_buffer to get
153977298Sobrien	function.  Don't save input into allocated buffer.
154077298Sobrien	* as.h (do_scrub_chars): Update declaration.
154177298Sobrien	* input-file.c (input_file_get): Change to take char * and int.
154277298Sobrien	Read data into passed in buffer.  Remove static buffer.
154377298Sobrien	* read.c (scrub_from_string): Change to take char * and int.  Copy
154477298Sobrien	data into passed in buffer.
154577298Sobrien
154677298Sobrien	* hash.h: Neaten.  Declare hash_traverse.
154777298Sobrien	* hash.c: Complete rewrite based on BFD hashing code.
154877298Sobrien	* gasp.c (chunksize): New variable.
154977298Sobrien	* macro.c (macro_expand_body): Call hash_jam with NULL rather than
155077298Sobrien	hash_delete.
155177298Sobrien
155277298Sobrien1999-05-28  Nick Clifton  <nickc@cygnus.com>
155377298Sobrien
155477298Sobrien	* config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
155577298Sobrien	addend unless the target uses an old ABI.
155677298Sobrien
155777298SobrienMon May 24 13:36:55 1999  Doug Evans  <devans@canuck.cygnus.com>
155877298Sobrien
155977298Sobrien	-Wchar-subscripts cleanup
156077298Sobrien	* listing.c (listing_newline): Use unsigned char variable, so
156177298Sobrien	calls to isascii,iscntrl are correct.
156277298Sobrien	* atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
156377298Sobrien	(unsigned char).
156477298Sobrien	* ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
156577298Sobrien	* config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
156677298Sobrien	* config/tc-mips.c (mips_ip,mips16_ip): Ditto.
156777298Sobrien	(my_getSmallExpression,get_number,s_mips_ent): Ditto.
156877298Sobrien
156977298Sobrien1999-05-28  Torbjorn Granlund  <tege@matematik.su.se>
157077298Sobrien
157177298Sobrien	* config/tc-m68k.c (m68k_ip): Check for disallowed index register
157277298Sobrien	width for Coldfire.
157377298Sobrien	(arch_coldfire_p): New #define.
157477298Sobrien	(m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
157577298Sobrien
157677298Sobrien1999-05-28  Linus Nordberg  <linus.nordberg@canit.se>
157777298Sobrien
157877298Sobrien	* config/tc-m68k.c (install_operand): Add places `n', `o'.
157977298Sobrien
158077298Sobrien	* config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
158177298Sobrien	(install_operand): Add place `N'.
158277298Sobrien	(init_table): Add registers ACC, MACSR, MASK.
158377298Sobrien
158477298Sobrien	* config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
158577298Sobrien
158677298Sobrien	* config/tc-m68k.c: Change mcf5200 --> mcf.
158777298Sobrien	(archs): Add mcf5206e, mcf5307.
158877298Sobrien	(m68k_ip): Add format `u'.
158977298Sobrien	(install_operand): Add place `m', `M', `h'.
159077298Sobrien	(init_table): Add upper/lower registers.
159177298Sobrien
159277298Sobrien	* config/m68k-parse.h (m68k_register): Add upper/lower registers.
159377298Sobrien
159477298Sobrien1999-05-28  Martin Dorey  <mdorey@madge.com>
159577298Sobrien
159677298Sobrien	* config/tc-i960.c: Several minor changes to add ELF and
159777298Sobrien	BFD_ASSEMBLER support.
159877298Sobrien	* config/tc-i960.h: Likewise.
159977298Sobrien	* configure.in (i960-*-elf*): New target.
160077298Sobrien	* aclocal.m4, configure: Rebuild.
160177298Sobrien
160277298Sobrien1999-05-25  Alan Modra  <alan@spri.levels.unisa.edu.au>
160377298Sobrien
160477298Sobrien	* config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
160577298Sobrien	reloc changes when defined(BFD_ASSEMBLER).
160677298Sobrien
160777298Sobrien1999-05-17  Alan Modra  <alan@spri.levels.unisa.edu.au>
160877298Sobrien
160977298Sobrien	* config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
161077298Sobrien
161177298Sobrien	* write.c (write_print_statistics): Output to file, not stderr.
161277298Sobrien
161377298Sobrien	* expr.c (generic_bignum_to_int32,64): Prototype.
161477298Sobrien
161577298Sobrien	* read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
161677298Sobrien	output_sleb128, output_uleb128, output_big_sleb128,
161777298Sobrien	output_big_uleb128, output_big_leb128): Prototype.
161877298Sobrien	(output_big_sleb128, output_big_uleb128): Make inline.
161977298Sobrien	(output_big_leb128): Remove inline
162077298Sobrien
162177298Sobrien	From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
162277298Sobrien	* config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
162377298Sobrien	fx_pcrel set to BFD_RELOC_16_PCREL.  Similarly for BFD_RELOC_8.
162477298Sobrien	Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL.  Return changed
162577298Sobrien	value for correct overflow check in write.c:fixup_segment.
162677298Sobrien	* write.c (fixup_segment): Move bitfield overflow checks to after
162777298Sobrien	the md_apply_fix call.
162877298Sobrien	* config/obj-coff.c (fixup_segment): Likewise.
162977298Sobrien	* doc/internals.texi (CPU backend): Mention md_apply_fix modifying
163077298Sobrien	valueT *val argument.
163177298Sobrien
163277298SobrienFri May 14 10:52:13 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
163377298Sobrien
163477298Sobrien	* config/atof-ieee.c (gen_to_words): Correctly round a
163577298Sobrien	denormalized number.  Fix off-by-one in range checking for
163677298Sobrien	exponent in a denormal.
163777298Sobrien
163877298Sobrien1999-05-10  Nick Clifton  <nickc@cygnus.com>
163977298Sobrien
164077298Sobrien	* config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
164177298Sobrien	name.
164277298Sobrien
164377298SobrienThu May 13 09:46:59 1999  Joel Sherrill (joel@OARcorp.com)
164477298Sobrien
164577298Sobrien	* configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
164677298Sobrien
164777298Sobrien1999-05-12  Alan Modra  <alan@spri.levels.unisa.edu.au>
164877298Sobrien
164977298Sobrien	* config/tc-i386.h (InvMem): New flag.  Add to AnyMem.
165077298Sobrien	(ReverseRegRegmem): Remove.
165177298Sobrien	(ImmExt): New flag.  Renumber some of the opcode_modifier bits.
165277298Sobrien	* config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
165377298Sobrien	3DNow! via ImmExt opcode_modifier.  Remove ReverseRegRegmem
165477298Sobrien	kludge.
165577298Sobrien
165677298Sobrien	From  Doug Ledford <dledford@redhat.com>
165777298Sobrien	* config/tc-i386.h (RegXMM): New for P/III.
165877298Sobrien	* config/tc-i386.c: Add support for P/III.
165977298Sobrien
166077298SobrienSat May  8 23:28:50 1999  Richard Henderson  <rth@cygnus.com>
166177298Sobrien
166277298Sobrien	* config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
166377298Sobrien	(md_begin): Allow ppc32 insns in ppc64bridge mode.
166477298Sobrien	(ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
166577298Sobrien
166677298SobrienThu May  6 23:13:39 1999  Richard Henderson  <rth@cygnus.com>
166777298Sobrien
166877298Sobrien	* config/tc-i386.c (i386_immediate): Skip whitespace before
166977298Sobrien	complaining about junk after expression.
167077298Sobrien	(i386_displacement): Likewise.
167177298Sobrien
167277298SobrienThu May  6 19:50:14 1999  Richard Henderson  <rth@cygnus.com>
167377298Sobrien
167477298Sobrien	* symbols.c (symbol_find_base): Use memcpy instead of strcpy.
167577298Sobrien	Don't copy before downcaseing.
167677298Sobrien
167777298Sobrien1999-05-05  Catherine Moore  <clm@cygnus.com>
167877298Sobrien
167989857Sobrien	* config/tc-m68k.c: Include elf/m68k.h.
168077298Sobrien	(m68k_elf_final_processing): New routine.
168189857Sobrien	* config/tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
168277298Sobrien	Define.
168377298Sobrien
168477298SobrienMon May  3 10:26:03 1999  Jeffrey A Law  (law@cygnus.com)
168577298Sobrien
168677298Sobrien	* config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
168777298Sobrien	17 bit fmt insn.
168877298Sobrien
168977298Sobrien1999-04-30  Nick Clifton  <nickc@cygnus.com>
169077298Sobrien
169177298Sobrien	* config/tc-mcore.c (mcore_s_section): Dump literals before
169277298Sobrien	changing section.
169377298Sobrien
169477298Sobrien1999-04-29  Nick Clifton  <nickc@cygnus.com>
169577298Sobrien
169677298Sobrien	* config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
169777298Sobrien	for COFF/PE port.
169877298Sobrien
169977298SobrienMon Apr 26 12:34:37 1999  Doug Evans  <devans@canuck.cygnus.com>
170077298Sobrien
170177298Sobrien	* config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
170277298Sobrien	(TC_INIT_FIX_DATA): Delete.
170377298Sobrien	* config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
170477298Sobrien	(TC_INIT_FIX_DATA): Delete.
170577298Sobrien	* write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
170677298Sobrien	* write.c (fix_new_internal): Initialize fx_cgen member.
170777298Sobrien	* cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
170877298Sobrien	(gas_cgen_md_apply_fix3): Update.
170977298Sobrien	* config/tc-m32r.c (md_cgen_lookup_reloc): Update.
171077298Sobrien	(md_cgen_record_fixup_exp): Update.
171177298Sobrien	(FX_OPINFO_R_TYPE): Update.
171277298Sobrien
171377298Sobrien	* frags.c (frag_var,frag_variant): Initialize fr_cgen here.
171477298Sobrien	* config/tc-fr30.h (TC_FRAG_INIT): Delete.
171577298Sobrien	* config/tc-m32r.h (TC_FRAG_INIT): Delete.
171677298Sobrien	* frags.h (struct frag): Make opindex, opinfo ints.
171777298Sobrien
171877298Sobrien	* config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
171977298Sobrien
172077298Sobrien1999-04-26  Tom Tromey  <tromey@cygnus.com>
172177298Sobrien
172277298Sobrien	* aclocal.m4, configure: Updated for new version of libtool.
172377298Sobrien
172477298Sobrien1999-04-22  Nick Clifton  <nickc@cygnus.com>
172577298Sobrien
172677298Sobrien	* config/tc-mcore.c (md_apply_fix3): Renamed function from
172777298Sobrien	md_apply_fix.
172877298Sobrien	(md_apply_fix3): Do not fix up absolute relocations against
172977298Sobrien	symbolic values.
173077298Sobrien
173177298Sobrien	* config/tc-mcore.h (MD_APPLY_FIX3): Define.
173277298Sobrien
173377298Sobrien1999-04-20  Nick Clifton  <nickc@cygnus.com>
173477298Sobrien
173577298Sobrien	* config/tc-mcore.c (md_pseudo_table): Add intercepts for section
173677298Sobrien	changes and data-in-text directives.
173777298Sobrien	(mcore_cons): New function: intercept cons() operations.
173877298Sobrien	(mcore_float_cons): New function: intercept float_cons()
173977298Sobrien	operations.
174077298Sobrien	(mcore_stringer): New function: intercept stringer() operations.
174177298Sobrien
174277298Sobrien1999-04-18  Ian Lance Taylor  <ian@zembu.com>
174377298Sobrien
174477298Sobrien	* obj.h (struct format_ops): Change generate_asm_lineno field to
174577298Sobrien	take no parameters.
174677298Sobrien	* config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
174777298Sobrien
174877298Sobrien	* config/tc-alpha.c (find_opcode_match): Add default case to
174977298Sobrien	switch.
175077298Sobrien	(find_macro_match): Likewise.
175177298Sobrien	(load_expression): Parenthesize && within ||.
175277298Sobrien
175377298Sobrien	* config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
175477298Sobrien
175577298Sobrien1999-04-17  Nick Clifton  <nickc@cygnus.com>
175677298Sobrien
175777298Sobrien	* config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
175877298Sobrien	.text .data .section pseudo ops.
175977298Sobrien	(mcore_s_section): New function.  Dump lits before changing secs.
176077298Sobrien	(mcore_s_text): New function.  Dump lits before changing secs.
176177298Sobrien	(mcore_s_data): New function.  Dump lits before changing secs.
176277298Sobrien
176377298Sobrien1999-04-16  Gavin Romig-Koch  <gavin@cygnus.com>
176477298Sobrien
176577298Sobrien	* config/tc-mips.c (mips_32bitmode): New.
176677298Sobrien	(md_begin): Set mips_32bitmode if needed.
176777298Sobrien	(mips_elf_final_processing): Don't set EF_MIPS_ARCH.
176877298Sobrien	Set EF_MIPS_32BITMODE.
176977298Sobrien
177077298SobrienFri Apr 16 12:26:39 1999  Bob Manson  <manson@charmed.cygnus.com>
177177298Sobrien
177277298Sobrien	* config/obj-coff.c (c_section_symbol): Fix typo in previous
177377298Sobrien	change.
177477298Sobrien
177577298Sobrien1999-04-16  Nick Clifton  <nickc@cygnus.com>
177677298Sobrien
177777298Sobrien	* config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
177877298Sobrien
177977298SobrienThu Apr 15 16:52:09 1999  Jeffrey A Law  (law@cygnus.com)
178077298Sobrien
178189857Sobrien	* config/tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
178277298Sobrien	expressions correctly.
178377298Sobrien
178477298Sobrien
178577298Sobrien1999-04-15  Gavin Romig-Koch  <gavin@cygnus.com>
178677298Sobrien
178777298Sobrien	* config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
178877298Sobrien
178977298SobrienMon Apr 12 23:45:07 1999  Jeffrey A Law  (law@cygnus.com)
179077298Sobrien
179189857Sobrien	* config/tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
179277298Sobrien	and fmpynfadd instructions.
179377298Sobrien
179477298Sobrien1999-04-11  Richard Henderson  <rth@cygnus.com>
179577298Sobrien
179677298Sobrien	* as.h (environ): Declare it, if needed.
179777298Sobrien	* as.c (dump_statistics): Don't declare environ.
179877298Sobrien	* configure.in (environ): Detect declaration.
179977298Sobrien	* configure, config.in: Rebuild
180077298Sobrien
180177298Sobrien	* config/tc-i386.c (i386_immediate): Accept @GOT relocations.
180277298Sobrien	(i386_displacement): Allocate enough space for replacement buffer.
180377298Sobrien	Clean up replacement buffer initialization.
180477298Sobrien
180577298Sobrien1999-04-11  Bob Manson <manson@charmed.cygnus.com>:
180677298Sobrien
180777298Sobrien	* subsegs.c (section_symbol): Don't create a new symbol if one
180877298Sobrien	already exists; instead, use the existing one, but set its segment
180977298Sobrien	and frag data if it hasn't already been defined.
181077298Sobrien	* config/obj-coff.c (c_section_symbol): Likewise.
181177298Sobrien
181277298SobrienSat Apr 10 20:10:02 1999  Richard Henderson  <rth@cygnus.com>
181377298Sobrien
181489857Sobrien	* config/tc-alpha.c (load_expression): Call as_bad instead of abort.
181577298Sobrien
181677298Sobrien1999-04-08  Nick Clifton  <nickc@cygnus.com>
181777298Sobrien
181877298Sobrien	* config/tc-mcore.c: New File: Support routines for MCore
181977298Sobrien	assembler.
182077298Sobrien	* config/tc-mcore.h: New File: Definitions for MCore assembler.
182177298Sobrien	* config/obj-coff.c: Add support for mcore-pe target.
182277298Sobrien
182377298Sobrien	* Makefile.am: Add support for MCore targets.
182477298Sobrien	* Makefile.in: Regenerate.
182577298Sobrien	* configure.in: Add support for MCore targets.
182677298Sobrien	* configure: Regenerate.
182777298Sobrien
182877298Sobrien	* doc/all.texi: Set MCORE.
182977298Sobrien	* doc/as.texinfo: Document MCore specific command line options.
183077298Sobrien
183177298Sobrien	* write.h: Prevent multiple inclusion.
183277298Sobrien
183377298Sobrien1999-04-06  Ian Lance Taylor  <ian@zembu.com>
183477298Sobrien
183577298Sobrien	* asintl.h (LC_MESSAGES): Never define.
183677298Sobrien	* as.c (main): Don't pass LC_MESSAGES to setlocale if the system
183777298Sobrien	does not define it.
183877298Sobrien	* gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
183977298Sobrien	does not define it.
184077298Sobrien
184177298Sobrien	* Makefile.am (m68k-parse.c): If configuring in the source
184277298Sobrien	directory, copy m68k-parse.y into the local directory before
184377298Sobrien	running ylwrap, to remove spurious differences when generating
184477298Sobrien	snapshots.
184577298Sobrien	* Makefile.in: Rebuild.
184677298Sobrien
184777298Sobrien	* config/tc-sparc.h (md_do_align): Just allocate the number of
184877298Sobrien	bytes necessary, rather than always allocating 1024.
184977298Sobrien
185077298Sobrien1999-04-04  Ian Lance Taylor  <ian@zembu.com>
185177298Sobrien
185277298Sobrien	* listing.c (listing_newline): Add cast to avoid warning.
185377298Sobrien	* read.c (generate_lineno_debug): Add cases to switch.  Reindent.
185477298Sobrien	* config/tc-i386.c (i386_scale): Add return value.
185577298Sobrien	(build_displacement_string): Remove unused local temp_disp2.
185677298Sobrien	(i386_intel_memory_operand): Add parentheses to avoid warning.
185777298Sobrien	(i386_intel_operand): Remove unused local end_of_operand_string.
185877298Sobrien	(i386_operand): Remove unused local operand_modifier.
185977298Sobrien	(i386_operand): Add parens to avoid warning.
186077298Sobrien
186177298Sobrien1999-04-04  Don Bowman <don@pixsci.com>
186277298Sobrien
186377298Sobrien	* configure.in: Add mips*-*-vxworks* target; have it define
186477298Sobrien	MIPS_STABS_ELF.
186577298Sobrien	* configure, config.in: Rebuild.
186677298Sobrien
186777298Sobrien1999-03-31  Nick Clifton  <nickc@cygnus.com>
186877298Sobrien
186977298Sobrien	* configure.in (emulations): Add support for arm-epoc-pe.
187077298Sobrien	* configure: Regenerate.
187177298Sobrien	* config/te-epoc-pe.h: New file.  Define macros specific to
187277298Sobrien	arm-epoc-pe target.
187377298Sobrien	* config/tc-arm.h: Select epoc-pe-arm target format if configured
187477298Sobrien	for arm-epoc-pe target.
187577298Sobrien
187677298SobrienMon Mar 29 10:15:40 CST 1999  Catherine Moore  <clm@cygnus.com>
187777298Sobrien
187889857Sobrien	* config/tc-mips.c (md_apply_fix):  Adjust value for linkonce sections.
187977298Sobrien
188077298SobrienWed Mar 24 14:11:10 1999  Jeffrey A Law  (law@cygnus.com)
188177298Sobrien
188289857Sobrien	* config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
188377298Sobrien	detect ",n" without a condition.
188477298Sobrien	(pa_parse_neg_cmpsub_cmpltr): Likewise.
188577298Sobrien
188677298Sobrien
188777298SobrienTue Mar 23 11:28:23 1999  Jeffrey A Law  (law@cygnus.com)
188877298Sobrien
188989857Sobrien	* config/tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
189077298Sobrien	instruction is encoded with one bit.
189177298Sobrien
189277298Sobrien
189377298Sobrien1999-03-23  Ian Lance Taylor  <ian@zembu.com>
189477298Sobrien
189577298Sobrien	* doc/internals.texi (CPU backend): Mention that
189677298Sobrien	line_separator_chars should not include newline.  From thi
189777298Sobrien	<ttn@mingle.glug.org>.
189877298Sobrien
189977298Sobrien1999-03-22  Doug Evans  <devans@casey.cygnus.com>
190077298Sobrien
190177298Sobrien	* config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
190277298Sobrien	* config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
190377298Sobrien
190477298SobrienSun Mar 21 18:08:18 1999  Richard Henderson  <rth@cygnus.com>
190577298Sobrien
190689857Sobrien	* config/tc-alpha.c (md_assemble): Allow '6' in an opcode.
190777298Sobrien
190877298SobrienThu Mar 18 10:55:30 1999  Jeffrey A Law  (law@cygnus.com)
190977298Sobrien
191089857Sobrien	* config/tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
191177298Sobrien
191277298Sobrien
191377298SobrienThu Mar 18 02:30:07 1999  Jeffrey A Law  (law@cygnus.com)
191477298Sobrien
191589857Sobrien	* config/tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
191677298Sobrien
191777298Sobrien1999-03-15  Martin Hunt  <hunt@cygnus.com>
191877298Sobrien
191977298Sobrien	* app.c (do_scrub_begin): Change '-' back to a symbol char
192077298Sobrien	so we can use multiple opcodes on a line again.
192177298Sobrien
192277298Sobrien	* config/tc-d30v.c: By default, warn if a symbol has
192377298Sobrien	the same name as a register.  Plus some minor
192477298Sobrien	updates from the branch.
192577298Sobrien
192677298Sobrien1999-03-13  Nick Clifton  <nickc@cygnus.com>
192777298Sobrien
192877298Sobrien	* config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
192977298Sobrien	BFD_RELOC_16 and BFD_RELOC_64.
193077298Sobrien
193177298Sobrien1999-03-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
193277298Sobrien
193377298Sobrien	* expr.c (expr): Add missing else.
193477298Sobrien
193577298Sobrien1999-03-12  Nick Clifton  <nickc@cygnus.com>
193677298Sobrien
193777298Sobrien	* config/tc-arm.c (md_apply_fix3): Improve error message.
193877298Sobrien
193977298Sobrien1999-03-11  Doug Evans  <devans@casey.cygnus.com>
194077298Sobrien
194177298Sobrien	* Makefile.am (CPU_TYPES): Add fr30.
194277298Sobrien	(cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
194377298Sobrien	(fr30,m32r dependencies): Update.
194477298Sobrien	* Makefile.in: Rebuild.
194577298Sobrien
194677298Sobrien	* cgen.c (gas_cgen_record_fixup): Update use of operand->type.
194777298Sobrien	(gas_cgen_record_fixup_exp): Ditto.
194877298Sobrien	(gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
194977298Sobrien	(gas_cgen_md_apply_fix3): Ditto.  Update call to set_vma_operand.
195077298Sobrien	* config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
195177298Sobrien	(md_cgen_lookup_reloc): Update use of operand->type.
195277298Sobrien	* config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
195377298Sobrien	(md_convert_frag): Call cgen_operand_lookup_by_num.
195477298Sobrien	(md_cgen_lookup_reloc): Update use of operand->type.
195577298Sobrien	(m32r_cgen_record_fixup_exp): Ditto.
195677298Sobrien
195777298Sobrien1999-03-09  Jim Blandy  <jimb@zwingli.cygnus.com>
195877298Sobrien
195977298Sobrien	* config/tc-mips.c (md_show_usage): Fix message.
196077298Sobrien
196177298Sobrien1999-03-03  Nick Clifton  <nickc@cygnus.com>
196277298Sobrien
196377298Sobrien	* doc/c-arm.texi (ARM Syntax): Document new command line switches
196477298Sobrien	and LDR reg,=<expr> instruction.
196577298Sobrien
196677298Sobrien	* config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
196777298Sobrien	-mcpu=arm9tdmi.
196877298Sobrien
196977298SobrienFri Feb 19 09:36:30 1999  Ian Lance Taylor  <ian@cygnus.com>
197077298Sobrien
197177298Sobrien	* doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
197277298Sobrien
197377298Sobrien1999-02-17  Nick Clifton  <nickc@cygnus.com>
197477298Sobrien
197577298Sobrien	This patch was created by: Scott Bambrough
197677298Sobrien	<scottb@corelcomputer.com>
197777298Sobrien
197877298Sobrien	* app.c:
197977298Sobrien	  Special cased '@' character.  The '@' character is used as the
198077298Sobrien	  ARM assembler comment character, as a special character
198177298Sobrien	  and in ELF .symver pseudo-op's, and as a special character in
198277298Sobrien	  .type and .section pseudo-ops.
198377298Sobrien	(symver_pseudo): New static variable.
198477298Sobrien	(symver_state): New static variable.
198577298Sobrien	(struct app_save): Add field 'symver_state'.
198677298Sobrien	(app_push): Save global symver_state int struct app_save.
198777298Sobrien	(app_pop): Restore global symver_state from struct app_save.
198877298Sobrien	(do_scrub_chars): Special case handling of '@' character in
198977298Sobrien	.symver pseudo-ops.
199077298Sobrien
199177298Sobrien	* configure.in: Modified to recognize armv* uname syntax from ARM
199277298Sobrien	Linux kernel.
199377298Sobrien	* configure: Regenerated.
199477298Sobrien
199577298Sobrien	* config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
199677298Sobrien	a prefix to the section's type.
199777298Sobrien	(obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
199877298Sobrien	the type's typename.
199977298Sobrien
200077298Sobrien	* config/tc-arm.h: Add support for PIC generation:
200177298Sobrien	(pic_code): New boolean.
200277298Sobrien	(obj_relocate_extern): Define.
200377298Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Define
200477298Sobrien	(TC_CONS_FIX_NEW): Define.
200577298Sobrien	(tc_fix_adjustable): Define.
200677298Sobrien	(GLOBAL_OFFSET_TABLE_NAME): Define.
200777298Sobrien
200877298Sobrien	* config/tc-arm.c: Add support for PIC generation:
200977298Sobrien	(line_seperator_chars): Allow ';' as a seperator for Linux.
201077298Sobrien	(is_immediate_prefix): New macro.
201177298Sobrien	(arm_parse_reloc): New function.
201277298Sobrien	(s_arm_elf_cons): New function.
201377298Sobrien	(do_branch): Special case for BFD_RELOC_ARM_PLT32.
201477298Sobrien	(md_undefined_symbol): Special case handling for the Global Offset
201577298Sobrien	  Table's symbol.
201677298Sobrien	(md_apply_fix3): Handle PIC relocs.
201777298Sobrien	(tc_gen_reloc): Handle PIC relocs.
201877298Sobrien	(md_parse_option): Add support for '-k' command line switch to
201977298Sobrien	  enable PIC generation.
202077298Sobrien	(cons_fix_new_arm): New function.
202177298Sobrien	(s_arm_elf_cons): New function.
202277298Sobrien
202377298SobrienTue Feb 16 16:31:53 1999  Ian Lance Taylor  <ian@cygnus.com>
202477298Sobrien
202577298Sobrien	* configure.in: Add comments for uses of AC_DEFINE.
202677298Sobrien	* acinclude.m4: Likewise.
202777298Sobrien	* acconfig.h: Remove.
202877298Sobrien	* aclocal.m4: Rebuild.
202977298Sobrien	* configure: Rebuild.
203077298Sobrien	* Makefile.in: Rebuild.
203177298Sobrien	* config.in: Rebuild.
203277298Sobrien
203377298Sobrien1999-02-15  Jim Lemke  <jlemke@cygnus.com>
203477298Sobrien
203577298Sobrien	* config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
203677298Sobrien	non-constant offset from a base register.
203777298Sobrien
203877298Sobrien1999-02-14  Ken Raeburn  <raeburn@raeburn.org>
203977298Sobrien
204077298Sobrien	* config/tc-alpha.c (md_show_usage): Put \ before newline in
204177298Sobrien	strings always.
204277298Sobrien
204377298SobrienSat Feb 13 14:10:10 1999  Richard Henderson  <rth@cygnus.com>
204477298Sobrien
204577298Sobrien	* config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
204677298Sobrien	(emit_insn): Look for pc-relative and no-overflow specifiers on
204777298Sobrien	internal relocation types.
204877298Sobrien
204977298Sobrien1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
205077298Sobrien
205177298Sobrien	* doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
205277298Sobrien	-mcpu=NNNN flags.
205377298Sobrien
205477298Sobrien	* config/tc-mips.c: Remove all the mips_NNNN variables; just use
205577298Sobrien	mips_cpu instead.
205677298Sobrien	(mips_4650, mips_4010, mips_4100): Variables removed.
205777298Sobrien	(hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
205877298Sobrien	macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
205977298Sobrien	variables.
206077298Sobrien	(md_begin): Don't bother initializing the mips_NNNN variables;
206177298Sobrien	mips_cpu is set, and that's good enough now.
206277298Sobrien	(md_parse_option): Have the -mNNNN options set mips_cpu instead of
206377298Sobrien	the mips_NNNN variable.  The -no-mNNNN flags are now no-ops.
206477298Sobrien	(show): New function, to handle wrapping in the CPU lists.
206577298Sobrien	(md_show_usage): Update lists of -mcpu and -mNNNN switches.
206677298Sobrien
206777298SobrienSat Feb 13 00:17:26 1999  Richard Henderson  <rth@cygnus.com>
206877298Sobrien
206977298Sobrien	* config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
207077298Sobrien	than treat as an immediate specifier.
207177298Sobrien
207277298SobrienThu Feb 11 16:18:31 1999  Richard Henderson  <rth@cygnus.com>
207377298Sobrien
207477298Sobrien	* config/tc-i386.c: Prototype many functions.
207577298Sobrien	(set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
207677298Sobrien	(i386_immediate): Remove unused second argument.
207777298Sobrien	(i386_intel_operand): Fix i386_is_reg typo.
207877298Sobrien	(i386_operand): Use allow_naked_reg.
207977298Sobrien	(output_invalid): Make operand int for K&R.
208077298Sobrien
208177298SobrienThu Feb 11 11:21:02 1999  Ian Lance Taylor  <ian@cygnus.com>
208277298Sobrien
208377298Sobrien	* Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
208477298Sobrien	patch.
208577298Sobrien	* Makefile.in: Rebuild.
208677298Sobrien
208777298Sobrien1999-02-09  Doug Evans  <devans@casey.cygnus.com>
208877298Sobrien
208977298Sobrien	* Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
209077298Sobrien	(cgen.o): Ditto.
209177298Sobrien	(EXTRA_as_new_SOURCES): Comment out.
209277298Sobrien	(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
209377298Sobrien	* Makefile.in: Rebuild.
209477298Sobrien	* doc/Makefile.in: Rebuild.
209577298Sobrien	* configure.in: Require autoconf 2.13.  Redo using_cgen handling.
209677298Sobrien	Delete call to AM_CYGWIN32.  Replace AM_EXEEXT with AC_EXEEXT.
209777298Sobrien	(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
209877298Sobrien	* configure: Rebuild.
209977298Sobrien	* aclocal.m4: Rebuild.
210077298Sobrien	* config.in: Rebuild.
210177298Sobrien	* cgen.c: Include cgen-desc.h, not cgen-opc.h.
210277298Sobrien	(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
210377298Sobrien	(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
210477298Sobrien	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
210577298Sobrien	CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
210677298Sobrien	(gas_cgen_record_fixup): Remove unnecessary != 0 test.
210777298Sobrien	(gas_cgen_record_fixup_exp): Ditto.
210877298Sobrien	(gas_cgen_finish_insn): Ditto.  Refer to operand table via cpu
210977298Sobrien	descriptor, not global variable.
211077298Sobrien	(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
211177298Sobrien	descriptor, not global variable.  Refer to insert_operand handler
211277298Sobrien	via cpu descriptor, not global function.
211377298Sobrien	* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
211477298Sobrien	* config/tc-fr30.c: Include opcodes/fr30-desc.h.
211577298Sobrien	(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
211677298Sobrien	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
211777298Sobrien	Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
211877298Sobrien	* config/tc-m32r.c: Ditto.
211977298Sobrien	(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
212077298Sobrien	(md_assemble): Ditto.
212177298Sobrien	(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
212277298Sobrien
212377298Sobrien1999-02-09  Nick Clifton  <nickc@cygnus.com>
212477298Sobrien
212577298Sobrien	* config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
212677298Sobrien	relocations for ELF targets.
212777298Sobrien
212877298Sobrien1999-02-08  Nick Clifton  <nickc@cygnus.com>
212977298Sobrien
213077298Sobrien	* configure.in: Add support for StrongARM target.
213177298Sobrien	* configure: Regenerate.
213277298Sobrien
213377298Sobrien1999-02-05  Nick Clifton  <nickc@cygnus.com>
213477298Sobrien
213577298Sobrien	* config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
213677298Sobrien
213777298Sobrien	* config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
213877298Sobrien	for COFF ports.
213977298Sobrien
214077298SobrienWed Feb  3 11:35:47 1999  Richard Henderson  <rth@cygnus.com>
214177298Sobrien
214277298Sobrien	* config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
214377298Sobrien
214477298SobrienMon Feb  1 20:37:30 1999  Catherine Moore  <clm@cygnus.com>
214577298Sobrien
214677298Sobrien	* config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX):  Define.
214777298Sobrien	(INTEL_DWORD_MNEM_SUFFIX):  Define.
214877298Sobrien	(BYTE_PTR):  Define.
214977298Sobrien	(WORD_PTR):  Define.
215077298Sobrien	(DWORD_PTR):  Define.
215177298Sobrien	(XWORD_PTR):  Define.
215277298Sobrien	(SHORT):  Define.
215377298Sobrien	(OFFSET_FLAT):  Define.
215477298Sobrien	(FLAT):  Define.
215577298Sobrien	(NONE_FOUND):  Define.
215677298Sobrien	(No_dSuf):  Define.
215777298Sobrien	(No_xSuf):  Define.
215877298Sobrien	* config/tc-i386.c  (set_intel_syntax):  New routine.
215977298Sobrien	(intel_syntax):  Declare.
216077298Sobrien	(allow_naked_reg):  Declare.
216177298Sobrien	(md_pseudo_table):  Support .intel_syntax and .att_syntax.
216277298Sobrien	(intel_float_operand):  New routine.
216377298Sobrien	(md_assemble):  Handle INTEL_DWORD_MNEM_SUFFIX.
216477298Sobrien	Handle brackets as well as parens.  Call i386_intel_operand for
216577298Sobrien	intel syntax.  Reverse operands if appropriate.  Handle new
216677298Sobrien	suffixes.  Handle movzx and movsx.
216777298Sobrien	(i386_is_reg):  New routine.
216877298Sobrien	(i386_immediate):  New routine.
216977298Sobrien	(i386_scale):  New routine.
217077298Sobrien	(i386_displacement):  New routine.
217177298Sobrien	(i386_operand_modifier):  New routine.
217277298Sobrien	(build_displacement_string):  New routine.
217377298Sobrien	(i386_parse_seg):  New routine.
217477298Sobrien	(i386_intel_memory_operand):  New routine.
217577298Sobrien	(i386_intel_operand):  New routine.
217677298Sobrien	(i386_operand):  Call i386_displacement, i386_immediate,
217777298Sobrien	i386_scale, etc.  instead of handling inline.
217877298Sobrien	(parse_register):  Handle registers without prefix.
217977298Sobrien
218077298SobrienMon Feb  1 12:24:58 1999  Catherine Moore  <clm@cygnus.com>
218177298Sobrien
218277298Sobrien	* configure:  Regenerate.
218377298Sobrien	* configure.in (arm-*-oabi):  New.
218477298Sobrien	(thumb-*-oabi):  New.
218577298Sobrien	* config/tc-arm.c (target_oabi):  Declare.
218677298Sobrien	(md_apply_fix3): Support REL relocs.
218777298Sobrien	(md_parse_option):  Handle -oabi.
218877298Sobrien	(elf32_arm_target_format):  New routine.
218977298Sobrien	(md_longopts):  Add OPTION_OABI.
219077298Sobrien	* config/tc-arm.h:  Redefine TARGET_FORMAT.
219177298Sobrien
219277298Sobrien
219377298Sobrien1999-01-28  Nick Clifton  <nickc@cygnus.com>
219477298Sobrien
219577298Sobrien	* write.c (write_relocs): Handle out of range error.
219677298Sobrien
219777298Sobrien	* config/tc-fr30.c (fr30_fix_adjustable): New function.
219877298Sobrien	(fr30_force_relocation): Default to 0.
219977298Sobrien
220077298Sobrien	* config/tc-fr30.h (obj_fix_adjustable): Define.
220177298Sobrien	(TC_FORCE_RELOCATION): Define.
220277298Sobrien
220377298Sobrien	* cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
220477298Sobrien	relocs.
220577298Sobrien
220677298Sobrien1999-01-16  Nick Clifton  <nickc@cygnus.com>
220777298Sobrien
220877298Sobrien	* config/tc-d30v.c (write_2_short): Do not generate a sequential
220977298Sobrien	merge of two instructions if the left instruciton kills the right.
221077298Sobrien
221177298Sobrien1999-01-11  Doug Evans  <devans@casey.cygnus.com>
221277298Sobrien
221377298Sobrien	* Makefile.in: Regenerate.
221477298Sobrien	* configure.in: Redo test for using cgen.
221577298Sobrien	* configure: Regenerate.
221677298Sobrien
221777298Sobrien1999-01-09  Nick Clifton  <nickc@cygnus.com>
221877298Sobrien
221977298Sobrien	* config/obj-coff.h (obj_adjust_symtab): Prevent accidental
222077298Sobrien	redefinition of this macro.
222177298Sobrien
222277298SobrienTue Jan  5 21:58:03 1999  Doug Evans  <devans@canuck.cygnus.com>
222377298Sobrien
222477298Sobrien	* config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
222577298Sobrien	warning.
222677298Sobrien
222777298Sobrien1998-12-29  Gavin Romig-Koch  <gavin@cygnus.com>
222877298Sobrien
222977298Sobrien	* config/tc-mips.c (append_insn): For mips16, insert a nop between
223077298Sobrien	a read of HI or LO and an immediatly following branch.
223177298Sobrien
223277298Sobrien1998-12-29  Gavin Romig-Koch  <gavin@cygnus.com>
223377298Sobrien
223477298Sobrien	* config/tc-mips.c (md_begin): Another correction to the setting of
223577298Sobrien	mips_eabi64.
223677298Sobrien
223777298Sobrien1998-12-23  Gavin Romig-Koch  <gavin@cygnus.com>
223877298Sobrien
223977298Sobrien	* config/tc-mips.c (md_begin): Correct type-o in setting of
224077298Sobrien	mips_eabi64.
224177298Sobrien
224277298Sobrien1998-12-21  Nick Clifton  <nickc@cygnus.com>
224377298Sobrien
224477298Sobrien	* config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
224577298Sobrien	bit insn when optimizing, so that parallelised instructions will
224677298Sobrien	start on a 32 bit boundary.
224777298Sobrien
224877298Sobrien1998-12-19  Gavin Romig-Koch  <gavin@cygnus.com>
224977298Sobrien
225077298Sobrien	* config/tc-mips.c (mips_eabi64): New.
225177298Sobrien	(md_begin): Set mips_eabi64.
225277298Sobrien	(mips_elf_final_processing): Use it.
225377298Sobrien
225477298Sobrien1998-12-18  Gavin Romig-Koch  <gavin@cygnus.com>
225577298Sobrien
225677298Sobrien	* config/tc-mips.c (mips_elf_final_processing):
225777298Sobrien	Correct setting of ABI in e_flags.
225877298Sobrien
225977298SobrienWed Dec 16 16:17:22 1998  Dave Brolley  <brolley@cygnus.com>
226077298Sobrien
226177298Sobrien	* config/tc-fr30.c (md_assemble): Warn about invalid instructions
226277298Sobrien	in delay slots.
226377298Sobrien
226477298Sobrien1998-12-16  Gavin Romig-Koch  <gavin@cygnus.com>
226577298Sobrien
226677298Sobrien	* config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
226777298Sobrien
226877298Sobrien1998-12-15  Doug Evans  <devans@casey.cygnus.com>
226977298Sobrien
227077298Sobrien	* cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
227177298Sobrien	warning, values that don't fit in the field.
227277298Sobrien
227377298Sobrien1998-12-15  Gavin Romig-Koch  <gavin@cygnus.com>
227477298Sobrien
227577298Sobrien	* config/tc-mips.c (mips_abi_string): New.
227677298Sobrien	(md_parse_option,md_longopts): Add mabi.
227777298Sobrien	(mips_elf_final_processing): Set e_flags based on mabi flag.
227877298Sobrien
227977298Sobrien1998-12-15  Gavin Romig-Koch  <gavin@cygnus.com>
228077298Sobrien
228177298Sobrien	* config/tc-mips.c (md_parse_option): Handle vr4111.
228277298Sobrien
228377298Sobrien98-12-11  Ken Raeburn  <raeburn@cygnus.com>
228477298Sobrien
228577298Sobrien	* config/tc-h8300.c (build_bytes): Change message given if the
228677298Sobrien	instruction requires H8/300H mode and we're not in Hmode, to
228777298Sobrien	suggest that it may be the operand modes that are the problem, not
228877298Sobrien	necessarily the opcode.
228977298Sobrien
229077298Sobrien1998-12-10  Nick Clifton  <nickc@cygnus.com>
229177298Sobrien
229277298Sobrien	* config/tc-fr30.c: Add line separator character.
229377298Sobrien
229477298SobrienTue Dec  8 19:51:50 1998  Mark Klein  <mklein@dis.com>
229577298Sobrien
229677298Sobrien	* configure.in (hppa-*-mpeix*): New target.
229777298Sobrien	* config/obj-som.h (obj_som_compiler): Declare.
229877298Sobrien	* config/obj-som.c (compiler_seen): New static variable.
229977298Sobrien	(obj_som_compiler): New function.
230077298Sobrien	* config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
230177298Sobrien	(md_pseudo_table): Add "compiler" if OBJ_SOM.
230277298Sobrien	(pa_type_args): Set hppa_priv_level.
230377298Sobrien	(pa_compiler): New static function if OBJ_SOM.
230477298Sobrien	* configure: Rebuild.
230577298Sobrien
230677298SobrienTue Dec  8 15:00:50 1998  Ian Lance Taylor  <ian@cygnus.com>
230777298Sobrien
230877298Sobrien	* read.c (output_leb128): Don't mark as inline.
230977298Sobrien
231077298Sobrien1998-12-08  Andrew MacLeod  <amacleod@cygnus.com>
231177298Sobrien
231277298Sobrien	* config/tc-ppc.c (ppc_vbyte): Prototype and new function for
231377298Sobrien	AIX .vbyte unaligned data support.
231477298Sobrien	(md_pseudo_table): Add 'vbyte' to list of valid pseudos.
231577298Sobrien	(ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
231677298Sobrien	sections.
231777298Sobrien
231877298Sobrien1998-12-07  Nick Clifton  <nickc@cygnus.com>
231977298Sobrien
232077298Sobrien	* config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
232177298Sobrien	input handling.
232277298Sobrien
232377298SobrienMon Dec  7 09:48:34 1998  Catherine Moore  <clm@cygnus.com>
232477298Sobrien
232577298Sobrien	* config/tc-arm.c (elf32_arm_force_relocation):  Check for
232677298Sobrien	BFD_RELOC_ARM_PCREL_BRANCH.
232777298Sobrien
232877298SobrienSun Dec  6 12:46:36 1998  Ian Lance Taylor  <ian@cygnus.com>
232977298Sobrien
233077298Sobrien	* configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
233177298Sobrien	checking the target type.
233277298Sobrien	(mips-dec-bsd*): Set endian to little.
233377298Sobrien	* configure: Rebuild.
233477298Sobrien
233577298Sobrien	COFF weak symbol support, based on patches from Mark Elbrecht
233677298Sobrien	<snowball3@usa.net>:
233777298Sobrien	* config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
233877298Sobrien	* config/obj-coff.c (obj_coff_weak): New static function.
233977298Sobrien	(obj_coff_endef) [both versions]: Handle weak symbols.
234077298Sobrien	(coff_frob_symbol): Likewise.
234177298Sobrien	(yank_symbols): Likewise.
234277298Sobrien	(obj_pseudo_table): Add "weak".
234377298Sobrien
234477298Sobrien	* configure.in (m68k-*-gnu*): New target.  From Aymeric Vincent
234577298Sobrien	<aymeric.vincent@emi.u-bordeaux.fr>.
234677298Sobrien	* aclocal.m4: Rebuild with current tools.
234777298Sobrien	* configure: Rebuild.
234877298Sobrien
234977298Sobrien	* config/tc-alpha.c (emit_ldgp): Give an error message rather than
235077298Sobrien	an assertion failure for a case we can't handle when OBJ_ECOFF.
235177298Sobrien
235277298Sobrien	* expr.c (operator): And with 0xff to avoid problems with signed
235377298Sobrien	char.
235477298Sobrien
235577298Sobrien1998-12-03  Nick Clifton  <nickc@cygnus.com>
235677298Sobrien
235777298Sobrien	* config/tc-fr30.c (md_cgen_lookup_reloc): Generate
235877298Sobrien	BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
235977298Sobrien
236077298Sobrien1998-12-02  Nick Clifton  <nickc@cygnus.com>
236177298Sobrien
236277298Sobrien	* config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
236377298Sobrien	LDI:20 insn.
236477298Sobrien
236577298SobrienThu Nov 26 11:23:48 1998  Dave Brolley  <brolley@cygnus.com>
236677298Sobrien
236777298Sobrien	* config/tc-fr30.c (md_pcrel_from_section): Restore previous
236877298Sobrien	calculation of pcrel point.
236977298Sobrien
237077298SobrienTue Nov 24 17:21:52 1998  Nick Clifton  <nickc@cygnus.com>
237177298Sobrien
237277298Sobrien	* config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
237377298Sobrien	pcrel point.
237477298Sobrien
237577298SobrienTue Nov 24 14:54:38 1998  Nick Clifton  <nickc@cygnus.com>
237677298Sobrien
237777298Sobrien	* config/tc-d10v.c (md_assemble): Make static 'etype' have file
237877298Sobrien	scope.
237977298Sobrien	(d10v_cleanup): Only generate previous insn if a multiline insn is
238077298Sobrien	not pending.
238177298Sobrien
238277298SobrienFri Nov 20 11:41:13 1998  Nick Clifton  <nickc@cygnus.com>
238377298Sobrien
238477298Sobrien	* config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
238577298Sobrien	FR30_OPERAND_I32.
238677298Sobrien
238777298SobrienThu Nov 19 15:01:29 1998  Nick Clifton  <nickc@cygnus.com>
238877298Sobrien
238977298Sobrien	* config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
239077298Sobrien	-marm6xxx command line switches.
239177298Sobrien
239277298Sobrien1998-11-18  Doug Evans  <devans@casey.cygnus.com>
239377298Sobrien
239477298Sobrien	* Makefile.am (DEP): Use $(srcdir)/../mkdep.
239577298Sobrien	(itbl-ops.o): Delete duplicate dependencies.
239677298Sobrien	Rebuild dependencies.
239777298Sobrien	Add fr30 dependencies.
239877298Sobrien	* Makefile.in: Rebuild.
239977298Sobrien
240077298SobrienTue Nov 17 13:42:42 1998  Nick Clifton  <nickc@cygnus.com>
240177298Sobrien
240277298Sobrien	* config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
240377298Sobrien	opcode list.
240477298Sobrien	* listing.c: Ignore line terminator characters found inside
240577298Sobrien	strings.
240677298Sobrien
240777298SobrienThu Nov 12 19:21:24 1998  Dave Brolley  <brolley@cygnus.com>
240877298Sobrien
240977298Sobrien	* po/gas.pot: Regenerated.
241077298Sobrien
241177298SobrienThu Nov 12 10:54:16 1998  Nick Clifton  <nickc@cygnus.com>
241277298Sobrien
241377298Sobrien	* config/tc-fr30.c (fr30_is_colon_insn): New name for
241477298Sobrien	fr30_is_label_start().  Also checks for delay slot insns.
241577298Sobrien
241677298Sobrien	* config/tc-fr30.c (fr30_is_label_start): New function: Handle
241777298Sobrien	FR30 instructions which contain a colon in the mnemonic.
241877298Sobrien
241977298Sobrien	* config/tc-fr30.h (TC_START_LABEL): Define this macro.
242077298Sobrien
242177298SobrienWed Nov 11 09:58:21 1998  Nick Clifton  <nickc@cygnus.com>
242277298Sobrien
242377298Sobrien	* config/tc-fr30.c: Removed currently superflous code.
242477298Sobrien
242577298SobrienTue Nov 10 13:13:05 1998  Nick Clifton  <nickc@cygnus.com>
242677298Sobrien
242777298Sobrien	* config/tc-fr30.h: New file.
242877298Sobrien	* config/tc-fr30.c: Tweaking so that it will compile.
242977298Sobrien
243077298SobrienTue Nov 10 14:41:33 1998  Catherine Moore  <clm@cygnus.com>
243177298Sobrien
243277298Sobrien	* config/tc-d10v.h (obj_fix_adjustable):  Define.
243377298Sobrien	(TC_FORCE_RELOCATION):  Define.
243477298Sobrien	(d10v_force_relocation):  Declare.
243577298Sobrien	* config/tc-d10v.c (tc_gen_reloc):  Handle Vtable relocs.
243677298Sobrien	(md_apply_fix3):  Handle Vtable relocs.
243777298Sobrien	(d10v_fix_adjustable):  New.
243877298Sobrien	(d10v_force_relocation):  New.
243977298Sobrien
244077298SobrienMon Nov  9 14:25:06 1998  Nick Clifton  <nickc@cygnus.com>
244177298Sobrien
244277298Sobrien	* config/tc-d30v.c: Change default behaviour to ignore potential
244377298Sobrien	conflicts between register name and symbol names.
244477298Sobrien
244577298SobrienWed Nov  4 18:42:00 1998  Dave Brolley  <brolley@cygnus.com>
244677298Sobrien
244777298Sobrien	* configure.in: Add fr30-*-*.
244877298Sobrien	* config/tc-fr30.c: New file.
244977298Sobrien	* Makefile.in: Regenerated.
245077298Sobrien	* config.in: Regenerated.
245177298Sobrien	* configure: Regenerated.
245277298Sobrien	* doc/Makefile.in: Regenerated.
245377298Sobrien	* po/gas.pot: Regenerated.
245477298Sobrien
245577298SobrienMon Nov  2 20:54:16 1998  Doug Evans  <devans@canuck.cygnus.com>
245677298Sobrien
245777298Sobrien	* config/tc-m32r.c (assemble_two_insns): Ensure both insns
245877298Sobrien	are 16 bit insns.
245977298Sobrien
246077298SobrienMon Nov  2 20:10:18 1998  Martin von Loewis  <loewis@informatik.hu-berlin.de>
246177298Sobrien
246277298Sobrien	* app.c (do_scrub_begin): Set characters above 127 to be symbol
246377298Sobrien	characters.
246477298Sobrien	(do_scrub_chars): Add some casts to unsigned char to avoid
246577298Sobrien	unwanted sign extension.
246677298Sobrien	* read.c (lex_type): Set characters about 127 to be symbol
246777298Sobrien	characters.
246877298Sobrien	* config/tc-i386.c (md_begin): Set identifier_chars and
246977298Sobrien	operand_chars for values above 127.
247077298Sobrien
247177298SobrienMon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
247277298Sobrien
247377298Sobrien	* configure.in: detect cygwin* instead of cygwin32*
247477298Sobrien	* configure: regenerate
247577298Sobrien
247677298SobrienTue Oct 27 13:18:40 1998  Nick Clifton  <nickc@cygnus.com>
247777298Sobrien
247877298Sobrien	* listing.c: Add support for producing a listing from piped
247977298Sobrien	input.
248077298Sobrien
248177298SobrienTue Oct 27 08:56:44 1998  Gavin Romig-Koch  <gavin@cygnus.com>
248277298Sobrien
248377298Sobrien	* config/tc-mips.c (hilo_interlocks): Remove mips_3900.
248477298Sobrien	(append_insn): Account for the tx39's multiply behavior.
248577298Sobrien
248677298Sobrien1998-10-26  Michael Meissner  <meissner@cygnus.com>
248777298Sobrien
248877298Sobrien	* config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
248977298Sobrien	from assemble_parallel_insns.  Add support for '->' to indicate
249077298Sobrien	explicitly serializing the instructions.
249177298Sobrien	(md_assemble): Ditto.
249277298Sobrien
249377298SobrienSat Oct 24 15:12:19 1998  Catherine Moore  <clm@cygnus.com>
249477298Sobrien
249577298Sobrien	* config/tc-sh.c (sh_fix_adjustable):  Adjust EXTERN and
249677298Sobrien	WEAK handling.
249777298Sobrien
249877298SobrienThu Oct 22 12:41:33 1998  Catherine Moore  <clm@cygnus.com>
249977298Sobrien
250077298Sobrien	* cgen.c (gas_cgen_md_apply_fix3):  Revert last change.
250177298Sobrien
250277298SobrienThu Oct 22 10:03:15 1998  Ron Unrau  <runrau@cygnus.com>
250377298Sobrien
250477298Sobrien	* config/tc-mips.c: support frame and regmask/fregmask when
250577298Sobrien	  MIPS_STABS_ELF is specified.
250677298Sobrien
250777298SobrienWed Oct 21 11:34:51 1998  Catherine Moore  <clm@cygnus.com>
250877298Sobrien
250977298Sobrien	* config/tc-sh.c (sh_fix_adjustable):  Only include if OBJ_ELF.
251077298Sobrien	(md_apply_fix):  Don't return 1 for VTABLE relocs.
251177298Sobrien	* config/tc-sh.h (obj_fix_adjustable):  Define only if OBJ_ELF.
251277298Sobrien
251377298SobrienTue Oct 20 11:18:28 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
251477298Sobrien
251577298Sobrien	* doc/c-i386.texi: Replace occurences of "opcode" with
251677298Sobrien	"instruction mnemonic", "instruction", or "mnemonic" when
251777298Sobrien	referring to the name of an instruction.  Use "opcode" when
251877298Sobrien	referring to the sequence of machine bytes.
251977298Sobrien
252077298Sobrien	* config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
252177298Sobrien	(is_opcode_char): Rename to is_mnemonic_char.
252277298Sobrien	(md_assemble and i386_operand): Correct error messages from
252377298Sobrien	"opcode" to "instruction mnemonic"
252477298Sobrien	Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
252577298Sobrien	MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
252677298Sobrien	DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
252777298Sobrien	WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
252877298Sobrien	BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
252977298Sobrien	SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
253077298Sobrien	LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
253177298Sobrien
253277298Sobrien	* config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
253377298Sobrien
253477298Sobrien	* config/tc-i386.c (i386_operand): Check for garbage after
253577298Sobrien	register name.
253677298Sobrien
253777298SobrienTue Oct 20 10:49:42 1998  Ian Lance Taylor  <ian@cygnus.com>
253877298Sobrien
253977298Sobrien	* config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
254077298Sobrien	for BFD_ASSEMBLER to only change value when COFF if TE_PE.
254177298Sobrien
254277298SobrienMon Oct 19 20:20:42 1998  Catherine Moore  <clm@cygnus.com>
254377298Sobrien
254477298Sobrien	* config/tc-sh.h (obj_fix_adjustable):  Define.
254577298Sobrien	* config/tc-sh.c (sh_force_relocation):  Handle VT relocs.
254677298Sobrien	(md_apply_fix):  Likewise.
254777298Sobrien	(tc_gen_reloc):  Likewise.
254877298Sobrien	(sh_fix_adjustable):  New.
254977298Sobrien
255077298SobrienMon Oct 19 12:35:43 1998  Doug Evans  <devans@seba.cygnus.com>
255177298Sobrien
255277298Sobrien	* cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
255377298Sobrien	* cgen.h (gas_cgen_finish_insn): Update prototype.
255477298Sobrien	* config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
255577298Sobrien	cgen_insn_t -> CGEN_INSN_INT.
255677298Sobrien	(make_parallel): Update handling of CGEN_INT_INSN_P.
255777298Sobrien	(assemble_parallel_insn): Ditto.
255877298Sobrien	(target_make_parallel): New function.
255977298Sobrien	(md_assemble): Use it.
256077298Sobrien
256177298SobrienMon Oct 19 13:16:12 1998  Catherine Moore  <clm@cygnus.com>
256277298Sobrien
256377298Sobrien	* config/tc-m32r.c (m32r_force_relocation):  Fix typo.
256477298Sobrien
256577298SobrienSun Oct 18 18:48:57 1998  Jeffrey A Law  (law@cygnus.com)
256677298Sobrien
256777298Sobrien	* config/tc-sh.c (md_assemble): Make sure the entire opcode is
256877298Sobrien	converted into lower case.
256977298Sobrien
257077298SobrienFri Oct 16 13:36:34 CDT Catherine Moore  <clm@cygnus.com>
257177298Sobrien
257277298Sobrien	* cgen.c (gas_cgen_md_apply_fix3):  Handle VTABLE relocs.
257377298Sobrien	(gas_cgen_tc_gen_reloc):  Likewise.
257477298Sobrien	* config/tc-m32r.h (obj_fix_adjustable):  Define.
257577298Sobrien	* config/tc-m32r.c (m32r_fix_adjustable):  New.
257677298Sobrien	(m32r_force_relocation):  Handle VTABLE relocs.
257777298Sobrien
257877298SobrienWed Oct 14 11:33:38 1998  Nick Clifton  <nickc@cygnus.com>
257977298Sobrien
258077298Sobrien	* doc/c-arm.texi (ARM Directives): Document .ltorn directive.
258177298Sobrien
258277298SobrienMon Oct 12 11:07:21 1998  Nick Clifton  <nickc@cygnus.com>
258377298Sobrien
258477298Sobrien	* config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
258577298Sobrien	to lower case before parsing.
258677298Sobrien
258777298Sobrien	* config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
258877298Sobrien	parallel insns modift buts in the PSW as a side effect.
258977298Sobrien
259077298SobrienThu Oct  8 10:18:33 1998  Nick Clifton  <nickc@cygnus.com>
259177298Sobrien
259277298Sobrien	* config/tc-d30v.c (find_format): Test for missing flag and
259377298Sobrien	control registers.
259477298Sobrien
259577298Sobrien	(md_apply_fix3): Fix error messages to avoid
259677298Sobrien	assumption about presence of a symbol.
259777298Sobrien
259877298Sobrien	(parallel_ok): Disallow parallel instructions that both modify the
259977298Sobrien	same flag register.
260077298Sobrien
260177298Sobrien	(find_format): Generate a warning if an odd numbered register is
260277298Sobrien	used as the first register in a mutli-register instruction.
260377298Sobrien
260477298SobrienWed Oct  7 14:09:14 1998  Nick Clifton  <nickc@cygnus.com>
260577298Sobrien
260677298Sobrien	* config/tc-d30v.c (md_apply_fix3): Do not assume that bad
260777298Sobrien	relocations are always associated with a symbol.
260877298Sobrien
260977298SobrienTue Oct  6 09:31:15 1998  Catherine Moore  <clm@cygnus.com>
261077298Sobrien
261189857Sobrien	* config/tc-sparc.h (TC_FORCE_RELOCATION):  Define.
261277298Sobrien	(elf32_sparc_force_relocation):  Declare.
261389857Sobrien	* config/tc-sparc.c (md_apply_fix3):  Handle vtable relocs.
261477298Sobrien	(tc_gen_reloc):  Handle vtable relocs.
261577298Sobrien	(elf32_sparc_force_relocation):  New.
261677298Sobrien
261777298SobrienMon Oct  5 09:25:32 1998  Catherine Moore  <clm@cygnsu.com>
261877298Sobrien
261977298Sobrien	* symbols.c (S_IS_FUNCTION):  New.
262077298Sobrien	* config/tc-v850.h (obj_fix_adjustable):  Define.
262177298Sobrien	(TC_FORCE_RELOCATION):  Define.
262277298Sobrien	(v850_force_relocation):  Declare.
262377298Sobrien	* config/tc-v850.c (tc_gen_reloc):  Use offset instead
262477298Sobrien	of fx_addnumber for VTABLE reloc addends.
262577298Sobrien	(md_apply_fix3):  Handle VTABLE relocs.
262677298Sobrien	(v850_fix_adjustable):  New.
262777298Sobrien	(v850_force_relocation):  New.
262877298Sobrien
262977298SobrienMon Oct  5 00:48:52 1998  Jeffrey A Law  (law@cygnus.com)
263077298Sobrien
263189857Sobrien	* config/tc-hppa.c (fp_operand_format): Add some additional formats.
263277298Sobrien	(pa_ip): Do not automatically promote into pa2.0 mode.
263377298Sobrien	(pa_level): Handle ".level 2.0".
263477298Sobrien
263577298SobrienSun Oct  4 20:57:43 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
263677298Sobrien
263777298Sobrien	* config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
263877298Sobrien	* config/tc-i386.h (template.extension_opcode): Change to
263977298Sobrien	unsigned int to allow full range of 8-bit opcode suffixes.
264077298Sobrien	(None): Redefine as 0xffff.
264177298Sobrien
264277298Sobrien	From Jeff B Epler <jepler@usgs.gov>
264377298Sobrien	* doc/c-i386.texi (i386-SIMD): New section.
264477298Sobrien
264577298SobrienThu Oct  1 15:37:54 1998  Richard Henderson  <rth@cygnus.com>
264677298Sobrien
264777298Sobrien	* read.c (discard_rest_of_line): New function.
264877298Sobrien	* read.h: Declare it.
264977298Sobrien	* config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
265077298Sobrien
265177298SobrienThu Oct  1 10:33:53 1998  Nick Clifton  <nickc@cygnus.com>
265277298Sobrien
265377298Sobrien	* config/tc-d10v.c (find_symbol_matching_register): New function.
265477298Sobrien	(find_opcode): Cope with the case where a register name matches
265577298Sobrien	a symbol name.
265677298Sobrien
265777298SobrienWed Sep 30 10:52:32 1998  Nick Clifton  <nickc@cygnus.com>
265877298Sobrien
265977298Sobrien	* config/tc-v850.c (md_pcrel_from): Rename to
266077298Sobrien	v850_pcrel_from_section.
266177298Sobrien	(v850_pcrel_from_section): Do not resolves symbols in other
266277298Sobrien	sections.
266377298Sobrien
266477298Sobrien	* config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
266577298Sobrien
266677298SobrienMon Sep 28 11:01:20 1998  Nick Clifton  <nickc@cygnus.com>
266777298Sobrien
266877298Sobrien	* config/tc-d10v.c (find_opcode): Generate an error if a register
266977298Sobrien	is supplied for an operand that should not be a register.
267077298Sobrien
267177298SobrienFri Sep 25 10:04:21 1998  Nick Clifton  <nickc@cygnus.com>
267277298Sobrien
267377298Sobrien	* config/tc-d30v.c (write_2_short): But do allow delayed branch
267477298Sobrien	instructions to have another instruction in the right bin.
267577298Sobrien
267677298SobrienThu Sep 24 09:28:34 1998  Nick Clifton  <nickc@cygnus.com>
267777298Sobrien
267877298Sobrien	* config/tc-d30v.c (write_2_short): Do not allow instructions in
267977298Sobrien	the right container if the left container holds a branch
268077298Sobrien	instruction.
268177298Sobrien
268277298SobrienWed Sep 23 10:54:29 1998  Nick Clifton  <nickc@cygnus.com>
268377298Sobrien
268477298Sobrien	* config/tc-d30v.c (reg_name_search): Only warn if a name matches
268577298Sobrien	both a register name and symbol name.
268677298Sobrien	(find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
268777298Sobrien
268877298SobrienTue Sep 22 17:49:16 1998  Nick Clifton  <nickc@cygnus.com>
268977298Sobrien
269077298Sobrien	* config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
269177298Sobrien	execution unit class.
269277298Sobrien
269377298Sobrien	(reg_name_search): If a name matches a register and a symbol,
269477298Sobrien	prefer the register.
269577298Sobrien	(find_format): Disallow flag registers when a general purpose
269677298Sobrien	register is required.
269777298Sobrien	If a number is required, but a register has been given, check to
269877298Sobrien	see if a symbol with the same name as the register exists, and if
269977298Sobrien	so, use that symbol.
270077298Sobrien
270177298SobrienTue Sep 22 16:40:52 1998  Jim Wilson  <wilson@cygnus.com>
270277298Sobrien
270377298Sobrien	* config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
270477298Sobrien
270577298SobrienTue Sep 22 15:44:21 1998  Nick Clifton  <nickc@cygnus.com>
270677298Sobrien
270777298Sobrien	* config/tc-d30v.c (find_format): Do not accept flag registers as
270877298Sobrien	general purpose registers.
270977298Sobrien	(find_format): If an immediate value is expected at a given place
271077298Sobrien	in a format, but a register name has been provided instead, check
271177298Sobrien	to see if that register name matches the name of a predefined
271277298Sobrien	symbol and if it does, then use the symbol instead.
271377298Sobrien	(reg_name_search): If a register name matches a symbol name,
271477298Sobrien	prefer the register name to the symbol name.
271577298Sobrien
271677298SobrienMon Sep 21 10:42:57 1998  Nick Clifton  <nickc@cygnus.com>
271777298Sobrien
271877298Sobrien	* config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
271977298Sobrien	the previous insn to empty.
272077298Sobrien
272177298Sobrien1998-09-20  Michael Meissner  <meissner@cygnus.com>
272277298Sobrien
272377298Sobrien	* config/tc-ppc.c (md_apply_fix3): Do not break string into two
272477298Sobrien	pieces, forcing the use of an ANSI compiler.
272577298Sobrien
272677298SobrienSun Sep 20 00:58:12 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
272777298Sobrien
272877298Sobrien	* config/tc-m68k.h (TC_FORCE_RELOCATION): New macro.  Force vtable
272977298Sobrien	relocs.
273077298Sobrien	* config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
273177298Sobrien
273277298SobrienTue Sep 15 08:51:07 1998  Catherine Moore  <clm@cygnus.com>
273377298Sobrien
273477298Sobrien	* config/obj-elf.c (obj_elf_vtable_inherit):  Handle arm
273577298Sobrien	assembler syntax.
273677298Sobrien	(obj_elf_vtable_entry):  Likewise.
273777298Sobrien	* config/tc-arm.h:  Define TC_FORCE_RELOCATION for OBJ_ELF.
273877298Sobrien	* config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
273977298Sobrien	(tc_gen_reloc): Likewise.
274077298Sobrien	(arm_fix_adjustable): Likewise.
274177298Sobrien	(elf32_arm_force_relocation): New.
274277298Sobrien	(armelf_frob_symbol):  Remove coff-style symbol support.
274377298Sobrien
274477298SobrienWed Sep  9 11:27:16 1998  Richard Henderson  <rth@cygnus.com>
274577298Sobrien
274677298Sobrien	* config/tc-i386.c (i386_operand): Fix typo in last patch.
274777298Sobrien
274877298SobrienTue Sep  8 18:10:01 1998  Catherine Moore  <clm@cygnus.com>
274977298Sobrien
275077298Sobrien	* config/tc-arm.c (arm_adjust_symtab):  Move #ifdef
275177298Sobrien	OBJ_COFF so that routine is defined for a.out format.
275277298Sobrien
275377298SobrienTue Sep  8 15:56:19 1998  Richard Henderson  <rth@cygnus.com>
275477298Sobrien
275577298Sobrien	* config/tc-i386.c (i386_operand): Detect non-segment registers
275677298Sobrien	used as segment prefixes.
275777298Sobrien
275877298SobrienSat Sep  5 19:00:38 1998  Ian Lance Taylor  <ian@cygnus.com>
275977298Sobrien
276077298Sobrien	* ehopt.c (check_eh_frame): Check the size of the FDE, and don't
276177298Sobrien	optimize across FDE boundaries.
276277298Sobrien
276377298Sobrien	* config/obj-coff.c (obj_coff_section): Preserve any link once
276477298Sobrien	flags when setting the section flags.
276577298Sobrien
276677298SobrienFri Sep  4 17:07:14 1998  Nick Clifton  <nickc@cygnus.com>
276777298Sobrien
276877298Sobrien	* config/tc-arm.h (obj_adjust_symtab): Fixed typo.
276977298Sobrien	* config/tc-arm.c (armelf_adjust_symtab): Reformatted.
277077298Sobrien
277177298SobrienFri Sep  4 13:57:43 1998  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
277277298Sobrien
277377298Sobrien	* config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
277477298Sobrien	to the host width.
277577298Sobrien
277677298SobrienWed Sep  2 11:31:14 1998  Richard Henderson  <rth@cygnus.com>
277777298Sobrien
277877298Sobrien	* frags.c (frag_grow): Include the size of the frag struct in the
277977298Sobrien	obstack chunk size.
278077298Sobrien
278177298Sobrien	* subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
278277298Sobrien	if the new subseg comes before the old.
278377298Sobrien
278477298SobrienTue Sep  1 15:01:33 1998  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
278577298Sobrien
278677298Sobrien	* config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
278777298Sobrien	to handle edge8 and edge16.
278877298Sobrien
278977298SobrienMon Aug 31 09:51:14 1998  Richard Henderson  <rth@cygnus.com>
279077298Sobrien
279177298Sobrien	* config/obj-elf.c (obj_elf_vtable_inherit): Print error message
279277298Sobrien	before we clobber the symbol involved.
279377298Sobrien
279477298SobrienMon Aug 31 10:58:06 1998  Catherine Moore  <clm@cygnus.com>
279577298Sobrien
279677298Sobrien	* config/tc-arm.c:  Remove OBJ_ELF definitions for
279777298Sobrien	S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.  Only
279877298Sobrien	use arm_adjust_symtab for OBJ_COFF.
279977298Sobrien	(armelf_adjust_symtab):  New Routine.
280077298Sobrien	* config/tc-arm.h:  Define obj_adjust_symtab to
280177298Sobrien	armelf_adjust_symtab for OBJ_ELF.
280277298Sobrien
280377298SobrienSat Aug 29 22:18:51 1998  Richard Henderson  <rth@cygnus.com>
280477298Sobrien
280577298Sobrien	* configure.in: Make all i386-elf targets use bfd_gas.
280677298Sobrien	* config/tc-i386.c (tc_i386_force_relocation): New.
280777298Sobrien	(tc_i386_fix_adjustable): Don't fix vtable relocs.
280877298Sobrien	(md_apply_fix3): Likewise.
280977298Sobrien	(tc_gen_reloc): Handle them.
281077298Sobrien	* config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
281177298Sobrien	tc_i386_force_relocation.
281277298Sobrien
281377298SobrienMon Aug 24 13:40:21 1998  Nick Clifton  <nickc@cygnus.com>
281477298Sobrien
281577298Sobrien	* config/tc-arm.c (md_show_usage): Improve formatting of --help output.
281677298Sobrien
281777298SobrienFri Aug 21 18:43:48 1998  Nick Clifton  <nickc@cygnus.com>
281877298Sobrien
281977298Sobrien	* config/tc-d30v.c (md_assemble): Copy previous opcode over
282077298Sobrien	current opcode after writing the first insturction of a reverse
282177298Sobrien	sequential pair.
282277298Sobrien
282377298SobrienFri Aug 21 07:30:35 1998  Doug Evans  <devans@canuck.cygnus.com>
282477298Sobrien
282577298Sobrien	* read.h (generate_lineno_debug): Add prototype.
282677298Sobrien	* read.c (generate_lineno_debug): Make non-static.
282777298Sobrien
282877298SobrienThu Aug 20 23:17:04 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
282977298Sobrien
283077298Sobrien	* config/tc-i386.c (md_assemble): Only warn for address/data size
283177298Sobrien	prefixes.
283277298Sobrien
283377298SobrienThu Aug 20 14:45:08 1998  Nick Clifton  <nickc@cygnus.com>
283477298Sobrien
283577298Sobrien	* config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
283677298Sobrien	against Thumb function names, as the linker needs this information.
283777298Sobrien
283877298Sobrien1998-08-20  Vladimir N. Makarov  <vmakarov@cygnus.com>
283977298Sobrien
284077298Sobrien	* expr.c (operand): Check also that there is no advance in operand
284177298Sobrien	after atof_generic in order to decide "is it label 0f or floating
284277298Sobrien	point number?".
284377298Sobrien
284477298SobrienWed Aug 19 09:30:16 1998  Nick Clifton  <nickc@cygnus.com>
284577298Sobrien
284677298Sobrien	* config/tc-m32r.c: Replace double dash prefix to M32R specific
284777298Sobrien	command line options with a single dash.
284877298Sobrien	* doc/c-m32r.texi: Replace double dash prefix with a single dash.
284977298Sobrien
285077298SobrienTue Aug 18 11:59:43 1998  Catherine Moore  <clm@cygnus.com>
285177298Sobrien
285289857Sobrien	* config/tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
285389857Sobrien	* config/tc-arm.c (arm_fix_adjustable): New routine.
285477298Sobrien
285577298Sobrien1998-08-13  Vladimir N. Makarov  <vmakarov@cygnus.com>
285677298Sobrien
285777298Sobrien	* read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
285877298Sobrien	s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
285977298Sobrien	demand_empty_rest_of_line before mri_comment_end.
286077298Sobrien	(equals): Check garbage after expression before
286177298Sobrien	mri_comment_end in MRI mode.
286277298Sobrien
286377298SobrienThu Aug 13 15:08:42 1998  Ian Lance Taylor  <ian@cygnus.com>
286477298Sobrien
286577298Sobrien	* config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
286677298Sobrien	small immediate constant to use the constant itself rather than
286777298Sobrien	always using 1.
286877298Sobrien
286977298SobrienWed Aug 12 18:47:38 1998  Ian Lance Taylor  <ian@cygnus.com>
287077298Sobrien
287177298Sobrien	* config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
287277298Sobrien	(pa_leave): Likewise.
287377298Sobrien
287477298SobrienWed Aug 12 13:25:03 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
287577298Sobrien
287677298Sobrien	* config/tc-i386.c (md_assemble): Emit a warning for stand-alone
287777298Sobrien	prefixes.
287877298Sobrien	(i386_operand): Fix an error message.
287977298Sobrien
288077298SobrienTue Aug 11 14:44:32 1998  Nick Clifton  <nickc@cygnus.com>
288177298Sobrien
288277298Sobrien	* doc/c-arm.texi (ARM Directives): Document .req directive.
288377298Sobrien
288477298Sobrien	* config/tc-arm.c (reg_required_here): Display erroneous string if
288577298Sobrien	the register name could not be decoded.
288677298Sobrien	Do not set inst.instruction if the sift is -1.
288777298Sobrien
288877298SobrienMon Aug 10 15:39:56 1998  Richard Henderson  <rth@cygnus.com>
288977298Sobrien
289077298Sobrien	* config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
289177298Sobrien	we do for EXTERN.
289277298Sobrien
289377298SobrienMon Aug 10 15:06:18 1998  Nick Clifton  <nickc@cygnus.com>
289477298Sobrien
289577298Sobrien	* config/tc-d30v.c (d30v_align): Always perform alignment request,
289677298Sobrien	even if it is belived to be unnecessary.
289777298Sobrien
289877298SobrienMon Aug 10 17:48:09 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
289977298Sobrien
290077298Sobrien	config/tc-i386.c (i386_operand): Size immediate constants by
290177298Sobrien	suffix (erroneously removed as part of July 7 change).
290277298Sobrien
290377298SobrienSun Aug  9 20:45:32 1998  Catherine Moore  <clm@cygnus.com>
290477298Sobrien
290577298Sobrien	* config/obj-elf.h:  Check for redefinition of obj_frob_symbol.
290677298Sobrien	* config/tc-arm.c:  Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
290777298Sobrien	(armelf_frob_symbol):  New Routine.
290877298Sobrien	* config/tc-arm.h:  Define obj_frob_symbol if OBJ_ELF.
290977298Sobrien
291077298SobrienSat Aug  8 15:21:28 1998  Richard Henderson  <rth@cygnus.com>
291177298Sobrien
291277298Sobrien	* config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
291377298Sobrien
291477298SobrienWed Aug  5 15:54:14 1998  Nick Clifton  <nickc@cygnus.com>
291577298Sobrien
291677298Sobrien	* config/tc-arm.c (md_begin): Set BFD private flags depending upon
291777298Sobrien	command line switches passed to assembler.
291877298Sobrien
291977298SobrienMon Aug  3 14:02:52 1998  Doug Evans  <devans@seba.cygnus.com>
292077298Sobrien
292177298Sobrien	* cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
292277298Sobrien	(gas_cgen_opcode_desc): Declare.
292377298Sobrien	(gas_cgen_parse_operand): Declare.
292477298Sobrien	(*): Prepend gas_ to gas specific fns to denote them as such.
292577298Sobrien	All uses updated.
292677298Sobrien	* cgen.c (gas_cgen_opcode_desc): New global
292777298Sobrien	(gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
292877298Sobrien	(queue_fixup): Renamed from cgen_queue_fixup.
292977298Sobrien	(*): Prepend gas_ to gas specific fns to denote them as such.
293077298Sobrien	All uses updated.
293177298Sobrien	(gas_cgen_md_apply_fix3): Update call to insert_operand.
293277298Sobrien	(gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
293377298Sobrien	* config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
293477298Sobrien	Open opcode table and initialize it.
293577298Sobrien	(make_parallel): Use gas_cgen_opcode_desc.
293677298Sobrien	(assemble_parallel_insn): Ditto.  Remove use of CGEN_SYM.
293777298Sobrien	(md_assemble): Ditto.
293877298Sobrien
293977298SobrienSat Aug  1 19:27:30 1998  Richard Henderson  <rth@cygnus.com>
294077298Sobrien
294177298Sobrien	* as.h (debug_info_type): Add entries for unspecified and dwarf*.
294277298Sobrien	* ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
294377298Sobrien	as_where ourselves.  Provide a stub for !ECOFF_DEBUGGING.
294477298Sobrien	* ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
294577298Sobrien	Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
294677298Sobrien	* read.c (generate_lineno_debug): Tidy ECOFF bits.  Use
294777298Sobrien	DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
294877298Sobrien	* config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
294977298Sobrien	(SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
295077298Sobrien	(INIT_STAB_SECTION): Likewise.
295177298Sobrien	(OBJ_PROCESS_STAB): Likewise.
295277298Sobrien
295377298Sobrien	* config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
295477298Sobrien	(md_parse_option): Watch for them.
295577298Sobrien	(alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
295677298Sobrien	(md_begin): Kill neverdef code.
295777298Sobrien	(s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
295877298Sobrien	(s_alpha_prologue): Watch alpha_cur_ent_sym.
295977298Sobrien	(s_alpha_coff_wrapper): New.
296077298Sobrien	(md_pseudo_table): Trap all ECOFF pseudos.
296177298Sobrien
296277298SobrienFri Jul 31 16:45:54 1998  Ron Unrau <runrau@cygnus.com>
296377298Sobrien
296477298Sobrien	Start of changes to remove mdebug section from mips*-elf
296577298Sobrien	Based on MIPS_STAB_ELF definition
296677298Sobrien	* acconfig.h: undef if not configured
296777298Sobrien	* config.in: undef if not configured
296877298Sobrien	* config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
296977298Sobrien	* config/tc-mips.c (s_ent): set BSF_FUNCTION
297077298Sobrien	* stabs.c (s_stab_generic): flush frag
297177298Sobrien
297277298SobrienFri Jul 31 16:14:45 1998  Catherine Moore  <clm@cygnus.com>
297377298Sobrien
297477298Sobrien	* configure.in: (arm-*-elf):  Handle.
297577298Sobrien	(thumb-*-elf): Handle.
297677298Sobrien	* configure:  Regenerate.
297777298Sobrien	* read.c (stringer): Fix typo in comment.
297877298Sobrien	* write.c (fixup_segment): Don't add symbol value to addend if
297977298Sobrien	TC_ARM and OBJ_ELF.
298077298Sobrien	* config/tc-arm.c (md_section_align):  Don't align dwarf debug
298177298Sobrien	sections.
298277298Sobrien	(tc_gen_reloc):  Always set the reloc addend to fixp->fx_offset
298377298Sobrien	for OBJ_ELF.
298477298Sobrien
298577298SobrienThu Jul 30 21:38:43 1998  Frank Ch. Eigler  <fche@cygnus.com>
298677298Sobrien
298777298Sobrien	* config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
298877298Sobrien	(write_2_short): Emit warning if new flag is set.
298977298Sobrien	(do_assemble): Set flags if left instruction is one of special
299077298Sobrien	"right-instruction-killer" type.
299177298Sobrien
299277298SobrienTue Jun 28 18:12:28 1998  Stan Cox  <scox@cygnus.com>
299377298Sobrien
299477298Sobrien	* config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
299577298Sobrien	Always output words in debug_info section as big endian.
299677298Sobrien	(sparc_target_format): Choose correct bfd target.
299777298Sobrien	(md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
299877298Sobrien
299977298SobrienTue Jul 28 11:01:21 1998  Jeffrey A Law  (law@cygnus.com)
300077298Sobrien
300177298Sobrien	* config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
300277298Sobrien	to work with internationalization code.  Issue an error when two
300377298Sobrien	operands match that are not allowed to match.
300477298Sobrien
300577298SobrienMon Jul 27 16:25:58 1998  Doug Evans  <devans@canuck.cygnus.com>
300677298Sobrien
300777298Sobrien	* configure.in (install_tooldir): Allow target to specify whether
300877298Sobrien	it wants to be installed in $(tooldir)/bin.
300977298Sobrien	* configure: Regenerate.
301077298Sobrien	* Makefile.am (install-exec-local): Set install-exec-tooldir
301177298Sobrien	dependency via configure.
301277298Sobrien	* Makefile.in: Regenerate.
301377298Sobrien
301477298SobrienFri Jul 24 19:58:59 1998  Doug Evans  <devans@canuck.cygnus.com>
301577298Sobrien
301677298Sobrien	* Makefile.am (install-exec-local): Split into two ...
301777298Sobrien	(install-exec-bindir,install-exec-tooldir): New rules.
301877298Sobrien	* Makefile.in: Regenerate.
301977298Sobrien
302077298SobrienFri Jul 24 16:31:49 1998  Ian Lance Taylor  <ian@cygnus.com>
302177298Sobrien
302277298Sobrien	* Makefile.am (install-exec-local): Don't remove the file before
302377298Sobrien	checking whether $(bindir) == $(tooldir)/bin.  From Maciej
302477298Sobrien	W. Rozycki <macro@ds2.pg.gda.pl>.
302577298Sobrien	* Makefile.in: Rebuild.
302677298Sobrien
302777298SobrienFri Jul 24 09:13:46 1998  Doug Evans  <devans@canuck.cygnus.com>
302877298Sobrien
302977298Sobrien	* cgen.c: Include libiberty.h.
303077298Sobrien	(cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
303177298Sobrien	(cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
303277298Sobrien	* cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
303377298Sobrien	(md_cgen_lookup_reloc)): Declare.
303477298Sobrien	(md_cgen_record_fixup_exp): Declare.
303577298Sobrien	* config/tc-m32r.h (md_pcrel_from_section): Declare.
303677298Sobrien	(m32r_relax_frag): Declare.
303777298Sobrien	(cgen_md_apply_fix3): Decls moved to cgen.h.
303877298Sobrien	(cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
303977298Sobrien	(m32r_cgen_record_fixup_exp): Delete decl.
304077298Sobrien	* config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
304177298Sobrien	(assemble_nop): Delete.
304277298Sobrien	(expand_debug_syms): Delete unused `exp'.
304377298Sobrien	(md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
304477298Sobrien	Add default case for -Wall.
304577298Sobrien	(m32r_cgen_record_fixup_exp): Add default case for -Wall.
304677298Sobrien	(md_atof): Delete unused wordP.
304777298Sobrien
304877298SobrienThu Jul 23 13:19:50 1998  Jeffrey A Law  (law@cygnus.com)
304977298Sobrien
305077298Sobrien	* config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
305177298Sobrien	value.
305277298Sobrien
305377298SobrienWed Jul 22 14:36:56 1998  Ian Lance Taylor  <ian@cygnus.com>
305477298Sobrien
305577298Sobrien	* doc/as.texinfo: Add documentation for .end, .exitm, .fail,
305677298Sobrien	.ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
305777298Sobrien	.print, .purgem, and .struct.  Remove documentation for
305877298Sobrien	.app-file.
305977298Sobrien
306077298SobrienTue Jul 21 16:50:52 1998  Doug Evans  <devans@seba.cygnus.com>
306177298Sobrien
306277298Sobrien	* cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
306377298Sobrien	Update call to insert_operand.
306477298Sobrien
306577298SobrienFri Jul 17 11:42:20 1998  Nick Clifton  <nickc@cygnus.com>
306677298Sobrien
306777298Sobrien	* config/tc-m32r.c (ms_show_usage): Formatting changes.
306877298Sobrien
306977298SobrienWed Jul 15 15:38:28 1998  Ian Lance Taylor  <ian@cygnus.com>
307077298Sobrien
307177298Sobrien	* config/tc-i386.c (md_assemble): Don't get confused by trailing
307277298Sobrien	whitespace after a prefix operator.
307377298Sobrien
307477298SobrienTue Jul 14 15:32:56 1998  Richard Henderson  <rth@cygnus.com>
307577298Sobrien
307677298Sobrien	* configure.in (i386-*-beos{pe,elf,}*): Recognize.
307777298Sobrien
307877298SobrienTue Jul 14 12:33:44 1998  Chris Torek  <torek@bsdi.com>
307977298Sobrien
308077298Sobrien	* config/tc-sparc.c (log2): New static function.
308177298Sobrien	(s_reserve): Use log2 to convert alignment before calling
308277298Sobrien	record_alignment.
308377298Sobrien	(s_common): Use log2 to convert alignment before calling
308477298Sobrien	record_alignment and frag_align.
308577298Sobrien	(sparc_cons_align): Use log2.
308677298Sobrien
308777298SobrienTue Jul 14 11:58:40 1998  Ian Lance Taylor  <ian@cygnus.com>
308877298Sobrien
308977298Sobrien	* config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
309077298Sobrien	(s_common): Likewise.
309177298Sobrien
309277298Sobrien	* config/tc-sparc.c (sparc_handle_align): Reindent a bit.  Correct
309377298Sobrien	initialization of waddr.
309477298Sobrien	(sparc_elf_final_processing): Add default case to switch.
309577298Sobrien
309677298SobrienTue Jul 14 11:00:16 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
309777298Sobrien
309877298Sobrien	* doc/c-i386.texi: Fix a typo.  Use the term 80-bit real rather
309977298Sobrien	than temporary real.
310077298Sobrien
310177298SobrienMon Jul 13 13:55:42 1998  Ian Lance Taylor  <ian@cygnus.com>
310277298Sobrien
310377298Sobrien	* write.c (subsegs_finish): Don't align the segments if there were
310477298Sobrien	any errors.
310577298Sobrien
310677298Sobrien	* config/obj-coff.c (c_symbol_merge): Correct number of bytes when
310777298Sobrien	copying aux information.
310877298Sobrien
310977298Sobrien	* expr.c (make_expr_symbol): Catch attempts to turn an O_big
311077298Sobrien	expression into a symbol.
311177298Sobrien
311277298SobrienMon Jul 13 13:29:04 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
311377298Sobrien
311477298Sobrien	* config/tc-i386.c (mode_from_disp_size): Change arg and return
311577298Sobrien	type to unsigned int.
311677298Sobrien	(md_assemble): Change type used to store offsets from unsigned
311777298Sobrien	long to long.
311877298Sobrien	(i386_operand): Switch error check to only call RESTORE_END_STRING
311977298Sobrien	once after parse_register.
312077298Sobrien
312177298SobrienFri Jul 10 16:00:04 1998  Nick Clifton  <nickc@cygnus.com>
312277298Sobrien
312377298Sobrien	* config/tc-v850.c (md_show_usage): Changed format to match that
312477298Sobrien	of gcc, ld, etc.
312577298Sobrien
312677298Sobrien	* as.c (show_usage): Changed format to match that of gcc, ld, etc.
312777298Sobrien
312877298SobrienThu Jul  9 12:09:57 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
312977298Sobrien
313077298Sobrien	* config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
313177298Sobrien	relocs.
313277298Sobrien	(md_apply_fix_2): Force the symbol of the vtable reloc to be
313377298Sobrien	weak.
313477298Sobrien
313577298SobrienThu Jul  9 11:31:54 1998  Ian Lance Taylor  <ian@cygnus.com>
313677298Sobrien
313777298Sobrien	* doc/Makefile.am (MAINTAINERCLEANFILES): Define.
313877298Sobrien	* doc/Makefile.in: Rebuild.
313977298Sobrien
314077298SobrienWed Jul  8 12:18:56 1998  Jeffrey A Law  (law@cygnus.com)
314177298Sobrien
314277298Sobrien	* config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
314377298Sobrien	for %lo expressions.
314477298Sobrien	(mips_ip, case 'u'): Move range check after code to mask
314577298Sobrien	off bits in %hi/%lo expressions.  Mask off high bits for
314677298Sobrien	%lo expressions.
314777298Sobrien
314877298SobrienTue Jul  7 17:57:38 1998  Ian Lance Taylor  <ian@cygnus.com>
314977298Sobrien
315077298Sobrien	* doc/Makefile.am (gasver.texi): New target.
315177298Sobrien	(as.info, as.dvi): Depends upon gasver.texi.
315277298Sobrien	* doc/as.texinfo: Include gasver.texi.  Mention version number on
315377298Sobrien	title page and in top node.
315477298Sobrien	* doc/Makefile.in: Rebuild.
315577298Sobrien
315677298SobrienTue Jul  7 11:42:16 1998  Richard Henderson  <rth@cygnus.com>
315777298Sobrien
315877298Sobrien	* listing.c (listing_listing): For EDICT_LIST, skip all lines up to
315977298Sobrien	but not including the line containing the edict.
316077298Sobrien	* listing.h (LISTING_EOF): New.
316177298Sobrien	* input-scrub.c (input_scrub_next_buffer): Call it.
316277298Sobrien
316377298SobrienTue Jul  7 13:00:37 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
316477298Sobrien
316577298Sobrien	* config/tc-i386.c (i386_operand): Don't set the size of an
316677298Sobrien	immediate address based solely on the suffix and the mode.
316777298Sobrien
316877298Sobrien	* config/tc-i386.c (md_assemble): Add assertion to make sure
316977298Sobrien	overlap2 does not set Imm.
317077298Sobrien
317177298Sobrien	* config/tc-i386.c (space_chars): Remove. The scrubber converts
317277298Sobrien	sequences of whitespace to a single space.
317377298Sobrien	(is_space_chars): Just compare with space.
317477298Sobrien	(md_begin): Don't initialize space_chars.
317577298Sobrien	(md_assemble): Just skip a single whitespace character.
317677298Sobrien	(i386_operand): Rewrite base-index parsing to use new
317777298Sobrien	parse_register, and to skip white space.  Skip white space in a
317877298Sobrien	number of other places too.  Don't give error message if
317977298Sobrien	parse_register fails.
318077298Sobrien	(parse_register): Change reg_string parameter to be non-const.
318177298Sobrien	Add end_op parameter.  Skip white space after the `%', and return
318277298Sobrien	end of register string.  Give error message here rather than
318377298Sobrien	caller.
318477298Sobrien
318577298SobrienFri Jul  3 15:34:34 1998  Ian Lance Taylor  <ian@cygnus.com>
318677298Sobrien
318777298Sobrien	Based on patch from Matt Semersky <matts@scd.hp.com>:
318877298Sobrien	* expr.c (op_encoding): Make const.
318977298Sobrien	(expr_set_precedence): New function.
319077298Sobrien	(expr_begin): Don't set operator rankings, just call
319177298Sobrien	expr_set_precedence.
319277298Sobrien	* expr.h (expr_set_precedence): Declare.
319377298Sobrien	* read.c (s_mri): Call expr_set_precedence.
319477298Sobrien
319577298SobrienThu Jul  2 16:24:58 1998  Ian Lance Taylor  <ian@cygnus.com>
319677298Sobrien
319777298Sobrien	* doc/as.texinfo (Statements): Remove paragraph discussing
319877298Sobrien	continuing lines with a backslash.  This hasn't worked for years,
319977298Sobrien	if it ever did.
320077298Sobrien
320177298SobrienThu Jul  2 14:06:22 1998  Klaus Kaempf  <kkaempf@rmi.de>
320277298Sobrien
320389857Sobrien	* config/obj-vms.c: Add C++ support with ctors/dtors sections.  Add weak
320477298Sobrien	symbol definitions.
320577298Sobrien	(Ctors_Symbols, Dtors_Symbols): New symbol chains.
320677298Sobrien	(ps_CTORS, ps_DTORS): New section types.
320777298Sobrien	(vms_fixup_xtors_section): New function
320877298Sobrien	(Ctors_Psect, Dtors_Psect): Define.
320977298Sobrien	(IS_GXX_XTOR): Define
321077298Sobrien	(global_symbol_directory): Change check of gxx_bug_fixed to 0.
321177298Sobrien	Filter static constructors/destructors and add to
321277298Sobrien	Ctors_Symbols/Dtors_Symbols chain.
321377298Sobrien	(vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
321477298Sobrien	appropriate section.
321577298Sobrien
321689857Sobrien	* config/tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
321777298Sobrien	* makefile.vms: Merge vax/vms support.
321877298Sobrien
321977298SobrienWed Jul  1 20:06:20 1998  Richard Henderson  <rth@cygnus.com>
322077298Sobrien
322177298Sobrien	* config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
322277298Sobrien	(elf_pseudo_table): Add them.
322377298Sobrien	* config/tc-mips.c (mips_force_relocation): Force vtable relocs.
322477298Sobrien	(md_apply_fix): Accept them.
322577298Sobrien	(mips_fix_adjustable): Don't adjust them.
322677298Sobrien	(tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
322777298Sobrien	* config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
322877298Sobrien	* config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
322977298Sobrien	(tc_fix_adjustable): Don't adjust them.
323077298Sobrien
323177298SobrienWed Jul  1 16:35:32 1998  Doug Evans  <devans@seba.cygnus.com>
323277298Sobrien
323377298Sobrien	* Makefile.am (CGEN_CPU_PREFIX): New variable.
323477298Sobrien	(cgen.o): Use it.
323577298Sobrien	* Makefile.in: Regenerate.
323677298Sobrien	* configure.in: AC_SUBST cgen_cpu_prefix.
323777298Sobrien	* configure: Regenerate.
323877298Sobrien
323977298SobrienWed Jul  1 21:38:56 1998  J"orn Rennecke  <amylaar@cygnus.co.uk>
324077298Sobrien
324189857Sobrien	* config/tc-sh.c (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
324277298Sobrien	Changed all users of COND12_DELAY.
324377298Sobrien
324477298SobrienFri Jun 26 11:21:11 1998  Jeffrey A Law  (law@cygnus.com)
324577298Sobrien
324677298Sobrien	* config/tc-mn10300.c (set_arch_mach): New function.
324777298Sobrien	(md_pseudo_table): Add pseudo-ops to set the current machine type.
324877298Sobrien	(md_begin): Default to mn10300 mode.
324977298Sobrien	(md_assemble): Only accept instructions for the core mn10300
325077298Sobrien	chip and the active machine type.
325177298Sobrien
325277298SobrienWed Jun 24 19:06:04 1998  Ian Lance Taylor  <ian@cygnus.com>
325377298Sobrien
325477298Sobrien	* subsegs.h (segment_info_type): Give the struct a name.
325577298Sobrien	* config/tc-h8300.h (tc_reloc_mangle): Add prototype.
325677298Sobrien	* config/tc-h8500.h (tc_reloc_mangle): Declare.
325777298Sobrien	* config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
325877298Sobrien	* config/tc-w65.h (tc_reloc_mangle): Declare.
325977298Sobrien	* config/tc-z8k.h (tc_reloc_mangle): Declare.
326077298Sobrien
326177298SobrienWed Jun 24 13:45:00 1998  Catherine Moore  <clm@cygnus.com>
326277298Sobrien
326377298Sobrien	* config/tc-v850.c (v850_comm):  Restore old section
326477298Sobrien	after common processing.
326577298Sobrien
326677298SobrienWed Jun 24 11:50:54 1998  Klaus Kaempf  <kkaempf@progis.de>
326777298Sobrien
326877298Sobrien	* config/obj-vms.c (Create_VMS_Object_File): Force binary file.
326977298Sobrien
327077298SobrienTue Jun 23 17:47:31 1998  Jim Wilson  <wilson@cygnus.com>
327177298Sobrien
327277298Sobrien	* config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
327377298Sobrien	char with code that explicitly sign-extends.
327477298Sobrien
327577298SobrienTue Jun 23 13:54:57 1998  Nick Clifton  <nickc@cygnus.com>
327677298Sobrien
327777298Sobrien	* config/tc-v850.c (md_begin): Restore text section as the current
327877298Sobrien	section after creating call table sections.
327977298Sobrien	* config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
328077298Sobrien	code.
328177298Sobrien
328277298Sobrien	* config/obj-coff.c (c_symbol_merge): Replace complex expresion
328377298Sobrien	with call to macro SYM_AUXINFO.
328477298Sobrien
328577298SobrienTue Jun 23 15:09:27 1998  Mike Stump  <mrs@wrs.com>
328677298Sobrien
328777298Sobrien	* Makefile.am (install-exec-local): Don't let EXEEXT interfere
328877298Sobrien	with the program transform name.
328977298Sobrien	* Makefile.in: Rebuild.
329077298Sobrien
329177298SobrienMon Jun 22 19:52:42 1998  Ian Lance Taylor  <ian@cygnus.com>
329277298Sobrien
329377298Sobrien	* config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
329477298Sobrien	information.
329577298Sobrien
329677298SobrienMon Jun 22 15:18:58 1998  Ian Lance Taylor  <ian@cygnus.com>
329777298Sobrien
329877298Sobrien	* config/tc-i386.c (i386_operand): Be prepared for a space between
329977298Sobrien	the open parenthesis and the start of the register operand,
330077298Sobrien	because of the June 16 change.
330177298Sobrien
330277298SobrienSun Jun 21 21:27:03 1998  Ian Lance Taylor  <ian@cygnus.com>
330377298Sobrien
330477298Sobrien	* config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
330577298Sobrien	BFD_ASSEMBLER.
330677298Sobrien
330777298SobrienSun Jun 21 12:26:36 1998  Nick Clifton  <nickc@cygnus.com>
330877298Sobrien
330977298Sobrien	* config/tc-d30v.c (d30v_align): Always perform alignment request,
331077298Sobrien	even if it is belived to be unnecessary.
331177298Sobrien
331277298SobrienFri Jun 19 13:57:06 1998  Ian Lance Taylor  <ian@cygnus.com>
331377298Sobrien
331477298Sobrien	* write.c (adjust_reloc_syms): Never adjust relocs against weak
331577298Sobrien	symbols.
331677298Sobrien	* config/tc-mips.c (md_apply_fix): Adjust accordingly.
331777298Sobrien
331877298SobrienFri Jun 19 09:50:17 1998  Jeffrey A Law  (law@cygnus.com)
331977298Sobrien
332077298Sobrien	* config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
332177298Sobrien	shift amount for a repeated operand.  The shift amount for the
332277298Sobrien	repeated copy comes from the size of the operand.
332377298Sobrien
332477298SobrienFri Jun 19 00:44:19 1998  Jeffrey A Law  (law@cygnus.com)
332577298Sobrien
332677298Sobrien	* config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
332777298Sobrien
332877298SobrienWed Jun 17 13:07:05 1998  Ian Lance Taylor  <ian@cygnus.com>
332977298Sobrien
333077298Sobrien	* config/tc-mips.c (md_show_usage): Fix -mipsN usage.
333177298Sobrien
333277298SobrienTue Jun 16 13:06:21 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
333377298Sobrien
333477298Sobrien	* app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
333577298Sobrien	characters in it as LEX_IS_SYMBOL_COMPONENT.
333677298Sobrien	* config/tc-i386.h (tc_symbol_chars): Define.
333777298Sobrien	(extra_symbol_chars): Declare.
333877298Sobrien	* config/tc-i386.c (extra_symbol_chars): Define.
333977298Sobrien	(comment_chars): Don't use '/' as comment start if TE_LINUX.
334077298Sobrien	(line_comment_chars): Set to '/' if TE_LINUX.
334177298Sobrien	* doc/c-i386.texi (i386-prefixes): Update.
334277298Sobrien	* doc/internals.texi (CPU backend): Document tc_symbol_chars.
334377298Sobrien
334477298SobrienFri Jun 12 13:36:54 1998  Tom Tromey  <tromey@cygnus.com>
334577298Sobrien
334677298Sobrien	* po/Make-in (all-yes): If maintainer mode, depend on .pot file.
334777298Sobrien	($(PACKAGE).pot): Unconditionally depend on POTFILES.
334877298Sobrien
334977298Sobrien1998-06-12  Vladimir N. Makarov  <vmakarov@cygnus.com>
335077298Sobrien
335177298Sobrien	* config/tc-d10v.c (md_apply_fix3): Checking displacement
335277298Sobrien	constraint in instructions REP & REPI.
335377298Sobrien
335477298SobrienThu Jun 11 08:56:46 1998  Nick Clifton  <nickc@cygnus.com>
335577298Sobrien
335677298Sobrien	* config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
335777298Sobrien	BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
335877298Sobrien
335977298Sobrien	(check_range): If the operand is shifted, then shift the number
336077298Sobrien	before checking its range.
336177298Sobrien
336277298Sobrien	* write.c (adjust_reloc_syms): Add more checks for NULL pointers.
336377298Sobrien
336477298Sobrien	* config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
336577298Sobrien	common sections.
336677298Sobrien
336777298SobrienWed Jun 10 17:26:35 1998  Nick Clifton  <nickc@cygnus.com>
336877298Sobrien
336977298Sobrien	* config/tc-v850.c (v850_comm): Create special sections as needed.
337077298Sobrien
337177298Sobrien1998-06-10  Vladimir N. Makarov  <vmakarov@cygnus.com>
337277298Sobrien
337377298Sobrien	* config/tc-d10v.c (write_2_short): Addition of swapping
337477298Sobrien	instructions for sequential and reverse sequential order when
337577298Sobrien	given order is not possible.
337677298Sobrien
337777298SobrienTue Jun  9 13:52:53 1998  Ian Lance Taylor  <ian@cygnus.com>
337877298Sobrien
337977298Sobrien	* Makefile.am: Rebuild dependencies.
338077298Sobrien	(DEP_INCLUDES): Fix reference to intl build directory.
338177298Sobrien	* Makefile.in: Rebuild.
338277298Sobrien
338377298SobrienTue Jun  9 12:20:05 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
338477298Sobrien
338577298Sobrien	* doc/c-i386.texi: Update 16 bit documentation.
338677298Sobrien
338777298Sobrien	* config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
338877298Sobrien	IgnoreDataSize to IgnoreSize as they are used for address size as
338977298Sobrien	well as data size.
339077298Sobrien	* config/tc-i386.c: Likewise.  Add code to reject addr32/data32 in
339177298Sobrien	32-bit mode, similarly addr16/data16 and variants.
339277298Sobrien
339377298SobrienMon Jun  8 18:32:01 1998  Nick Clifton  <nickc@cygnus.com>
339477298Sobrien
339577298Sobrien	* config/tc-d30v.c (md_assemble): Fix handling of reverse
339677298Sobrien	sequential word multiply instructions.
339777298Sobrien
339877298Sobrien	(do_assemble): Add extra command line argument, to allow mul32
339977298Sobrien	attribute to be preserved across parallel insns.
340077298Sobrien	(md_assemble): Insert NOPs between explicitly parallel insns which
340177298Sobrien	contain an 32 bit multiply and a 16 multiply.
340277298Sobrien
340377298SobrienMon Jun  8 12:20:30 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
340477298Sobrien
340577298Sobrien	* config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
340677298Sobrien	likewise for REPE.
340777298Sobrien
340877298Sobrien	* config/tc-i386.c (reloc): Add braces.
340977298Sobrien
341077298Sobrien	* config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
341177298Sobrien	consistent with Intel naming.
341277298Sobrien	* config/tc-i386.h (base_index_byte): Rename to sib_byte.  Don't
341377298Sobrien	use bitfields in sib_byte.
341477298Sobrien	(modrm_byte): Don't use bitfields here either.
341577298Sobrien
341677298Sobrien	* config/tc-i386.c (current_templates): Add const.
341777298Sobrien	(parse_register): Add const to return, param, and char *s.
341877298Sobrien	(i386_operand): Add const to reg_entry *r.
341977298Sobrien	* config/tc-i386.h (templates): Add const to start, end.
342077298Sobrien
342177298Sobrien	Inspired by code for 16 bit gas support from Martynas Kunigelis
342277298Sobrien	<martynas@nm3.ktu.lt>:
342377298Sobrien	* config/tc-i386.c (md_assemble): Add full support for 16 bit
342477298Sobrien	modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
342577298Sobrien	(uses_mem_addrmode): Remove.
342677298Sobrien	(md_estimate_size_before_relax): Add support here too.
342777298Sobrien	(md_relax_table): Rewrite interface to md_relax for 16 bit
342877298Sobrien	support.
342977298Sobrien	(BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
343077298Sobrien	(opcode_suffix_to_type): Remove.
343177298Sobrien	(CODE16, SMALL, SMALL16, BIG, BIG16): Define.
343277298Sobrien	(SIZE_FROM_RELAX_STATE): Modify to suit above.
343377298Sobrien	(md_convert_frag): Likewise.
343477298Sobrien	(i386_operand): Add support for 16 bit base/index regs,
343577298Sobrien	immediates, and displacements.  Remove some unnecessary casts, and
343677298Sobrien	localise end_of_operand_string, displacement_string_start,
343777298Sobrien	displacement_string_end variables.  Add GCC_ASM_O_HACK.
343877298Sobrien	* config/tc-i386.h (NO_BASE_REGISTER_16): Define.
343977298Sobrien
344077298Sobrien	* config/tc-i386.c (prefix_hash): Remove.
344177298Sobrien	(md_begin): Rewrite without obstacks.  Remove prefix hash table
344277298Sobrien	handling.  Rewrite lexical table handling.
344377298Sobrien	(i386_print_statistics): Don't print prefix statistics.
344477298Sobrien	(md_assemble): Rewrite instruction parser so that line is not
344577298Sobrien	converted to lower case.  Don't do a hash_find for prefixes,
344677298Sobrien	instead recognise them via opcode modifier.
344777298Sobrien	(expecting_operand, paren_not_balanced): Localise variables.
344877298Sobrien	* config/tc-i386.h (IsPrefix): Define.
344977298Sobrien	(prefix_entry): Remove.
345077298Sobrien
345177298Sobrien	* config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
345277298Sobrien	* config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
345377298Sobrien	'\\' in case where comment_chars contains '/'.
345477298Sobrien
345577298Sobrien	* config/tc-i386.c (MATCH): Ensure given operand and template
345677298Sobrien	match for JumpAbsolute.  Makes e.g. `ljmp table(%ebx)' invalid;
345777298Sobrien	you must write `ljmp *table(%ebx)'.
345877298Sobrien
345977298Sobrien	From H.J. Lu <hjl@gnu.org>:
346077298Sobrien	* config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
346177298Sobrien	as 0 ifndef BFD_ASSEMBLER.
346277298Sobrien	(md_assemble): Allow immediate operands without suffix or
346377298Sobrien	other reg operand to default in size to the current code size.
346477298Sobrien
346577298SobrienMon Jun  8 09:45:00 1998  Catherine Moore  <clm@cygnus.com>
346677298Sobrien
346777298Sobrien	* config/tc-v850.c (md_begin):  Restore creation of
346877298Sobrien	.call_table_text and .call_table_data sections.
346977298Sobrien
347077298SobrienSat Jun  6 00:02:41 1998  Nick Clifton  <nickc@cygnus.com>
347177298Sobrien
347277298Sobrien	* config/tc-d30v.c (md_assemble): Set execution type to unknown
347377298Sobrien	after emitting a word of noops.
347477298Sobrien
347577298SobrienFri Jun  5 23:27:04 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
347677298Sobrien
347777298Sobrien	* config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
347877298Sobrien	(i386_operand): Simplify checks for valid base/index combinations.
347977298Sobrien	Disallow `in 4(%dx),%al'.
348077298Sobrien
348177298Sobrien	* config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
348277298Sobrien	index_reg const.
348377298Sobrien	(add_prefix): Change parameter from char to int.
348477298Sobrien
348577298Sobrien	* config/tc-i386.h (Ugh): Define opcode modifier.
348677298Sobrien	* config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
348777298Sobrien
348877298Sobrien	* config/tc-i386.c (md_assemble): Rewrite MATCH and
348977298Sobrien	CONSISTENT_REGISTER_MATCH macros to check register types more
349077298Sobrien	thoroughly.  Check for illegal suffix/operand combinations
349177298Sobrien	when matching insns with operands.  Handle new `s' suffix, and
349277298Sobrien	associated FloatMF opcode modifier for float insns with memory
349377298Sobrien	operands.
349477298Sobrien	* config/tc-i386.h (FloatMF): Define new opcode modifier.
349577298Sobrien	(No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
349677298Sobrien	(SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
349777298Sobrien	* config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
349877298Sobrien	DATA_PREFIX_OPCODE throughout.
349977298Sobrien
350077298Sobrien	* config/tc-i386.c (REGISTER_WARNINGS): Define.
350177298Sobrien	(md_assemble): Rewrite suffix/register operand checking code to be
350277298Sobrien	more thorough.  Remove Abs8,16,32.  Change occurrences of Mem to
350377298Sobrien	AnyMem, the better to grep.
350477298Sobrien	(pi): Remove Abs.
350577298Sobrien	(i386_operand): Don't set Mem bits in i.types[this_operand] when
350677298Sobrien	given a memory operand.  Don't set Abs bits either.
350777298Sobrien	(type_names): Remove Mem*, Abs*.
350877298Sobrien	* config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
350977298Sobrien	define opcode_modifiers as these cases are handled by Disp8,
351077298Sobrien	Disp16, Disp32 and suffix checks.
351177298Sobrien	(COMES_IN_BOTH_DIRECTIONS): Remove.
351277298Sobrien	(FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
351377298Sobrien
351477298Sobrien	* config/tc-i386.c (md_assemble): Don't emit operand size prefix
351577298Sobrien	if IgnoreDataSize modifier given.  Remove ShortformW modifier
351677298Sobrien	test.  Add test for ShortForm in W base_opcode modification.
351777298Sobrien	Merge Seg2ShortForm and Seg3ShortForm code.
351877298Sobrien	* config/tc-i386.h (ShortFormW): Remove.
351977298Sobrien	(IgnoreDataSize): Define.
352077298Sobrien
352177298SobrienFri Jun  5 10:50:53 1998  Nick Clifton  <nickc@cygnus.com>
352277298Sobrien
352377298Sobrien	* config/tc-d30v.c (md_assemble): Store previous segment state
352477298Sobrien	with previous instruction.
352577298Sobrien
352677298SobrienWed Jun  3 18:21:56 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
352777298Sobrien
352877298Sobrien	* config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
352977298Sobrien	(ebp, esp): Remove static variables.
353077298Sobrien	(MATCH): Remove test for InOutPortReg.
353177298Sobrien	(i386_operand): Properly handle InOutPortReg here instead.
353277298Sobrien	Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
353377298Sobrien	(md_assemble): Simplify and correct modrm and sib generation.
353477298Sobrien	(i386_operand): Add warning for scale without index.
353577298Sobrien	Rewrite checks for valid base/index combinations.
353677298Sobrien
353777298Sobrien	* config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
353877298Sobrien	macros and enclose in do while(0).
353977298Sobrien	(RESTORE_END_STRING): Likewise.
354077298Sobrien	(md_assemble): Add one to printed operand number so we start
354177298Sobrien	from 1 not 0.  Add some more gettext invocations.
354277298Sobrien	(i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
354377298Sobrien	number here too.
354477298Sobrien
354577298Sobrien	* config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
354677298Sobrien	DATA_PREFIX, SEG_PREFIX): Define.
354777298Sobrien	* config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
354877298Sobrien	(check_prefix): Remove function.
354977298Sobrien	(add_prefix): New function.  Add prefix to i.prefix as well as
355077298Sobrien	doing checks.
355177298Sobrien	(md_assemble): Changes for add_prefix.	Remove hack for wait
355277298Sobrien	prefix, instead always output prefixes in fixed order.	Test
355377298Sobrien	for jcxz/loop when selecting between word & dword operations,
355477298Sobrien	and add address size prefix rather than operand size prefix.
355577298Sobrien	Remove operand -> address size hack when emitting jcxz/loop.
355677298Sobrien	(i386_operand): Remove O_Absent check as it's done in expr.
355777298Sobrien
355877298SobrienWed Jun  3 15:09:10 1998  Ian Lance Taylor  <ian@cygnus.com>
355977298Sobrien
356077298Sobrien	* configure.in: Recognize m5200 as a cpu_type of m68k.
356177298Sobrien	* aclocal.m4: Rebuild with current libtool.
356277298Sobrien	* configure: Rebuild.
356377298Sobrien
356477298SobrienWed Jun  3 14:11:59 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
356577298Sobrien
356677298Sobrien	* config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
356777298Sobrien	to relaxable_symbol to prevent references to external symbol from
356877298Sobrien	being relaxed.
356977298Sobrien
357077298SobrienWed Jun  3 14:10:36 1998  Ian Lance Taylor  <ian@cygnus.com>
357177298Sobrien
357277298Sobrien	* config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
357377298Sobrien	symbols are relaxable.
357477298Sobrien
357577298SobrienWed Jun  3 09:16:00 1998  Catherine Moore  <clm@cygnus.com>
357677298Sobrien
357777298Sobrien	* config/tc-v850.c (md_begin):  Don't create special
357877298Sobrien	sections by default.
357977298Sobrien
358077298SobrienTue Jun  2 14:52:56 1998  Jeffrey A Law  (law@cygnus.com)
358177298Sobrien
358277298Sobrien	* config/tc-mips.c (macro): For div and udiv, close the
358377298Sobrien	reorder block as soon as possible.
358477298Sobrien
358577298SobrienTue Jun  2 15:36:13 1998  Ian Lance Taylor  <ian@cygnus.com>
358677298Sobrien
358777298Sobrien	From Matt Semersky <matts@scd.hp.com>:
358877298Sobrien	* macro.c (macro_mri_mode): New function.
358977298Sobrien	* macro.h (macro_mri_mode): Declare.
359077298Sobrien	* read.c (s_mri): Call macro_mri_mode when switching in and out of
359177298Sobrien	MRI mode.
359277298Sobrien
359377298SobrienTue Jun  2 13:32:22 1998  Klaus Kaempf  <kkaempf@progis.de>
359477298Sobrien
359577298Sobrien	* config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
359677298Sobrien	OBJ_EVAX case.
359777298Sobrien
359877298Sobrien	* config/tc-alpha.c (s_alpha_comm): Defer restoring character
359977298Sobrien	until after xstrdup in OBJ_EVAX case.
360077298Sobrien
360177298SobrienTue Jun  2 13:11:13 1998  Pat Rankin  <rankin@eql.caltech.edu>
360277298Sobrien
360377298Sobrien	* config/tc-vax.c (md_create_short_jump): Fix off by two bug in
360477298Sobrien	offset calculation.  Also, use VAX_BRW from vax-inst.h instead
360577298Sobrien	of hardcoded magic number.
360677298Sobrien	(md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
360777298Sobrien
360877298SobrienTue Jun  2 09:25:34 1998  Doug Evans  <devans@canuck.cygnus.com>
360977298Sobrien
361077298Sobrien	* read.c (do_s_func): New function.
361177298Sobrien	(s_func): Call it.
361277298Sobrien	* read.h (do_s_func): Add prototype.
361377298Sobrien
361477298SobrienMon Jun  1 12:47:30 1998  Doug Evans  <devans@canuck.cygnus.com>
361577298Sobrien
361677298Sobrien	* config/tc-m32r.c (m32r_do_align): Only fill code sections with
361777298Sobrien	nops if fill pattern not specified.
361877298Sobrien
361977298SobrienMon Jun  1 14:08:35 1998  Ian Lance Taylor  <ian@cygnus.com>
362077298Sobrien
362177298Sobrien	From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
362277298Sobrien	* config/te-go32.h (TE_GO32): Define.
362377298Sobrien	* config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
362477298Sobrien
362577298SobrienSun May 31 15:43:06 1998  Doug Evans  <devans@canuck.cygnus.com>
362677298Sobrien
362777298Sobrien	Implement .func/.endfunc pseudo-ops.
362877298Sobrien	* read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
362977298Sobrien	(s_func): Declare.
363077298Sobrien	* read.c (potable): Add .func,.endfunc.
363177298Sobrien	(s_func): New function.
363277298Sobrien	* stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
363377298Sobrien	functions.
363477298Sobrien	(in_doc_func_p,current_function_label): New static globals.
363577298Sobrien	(stabs_generate_asm_lineno): Emit function relative stabs if in .func.
363677298Sobrien
363777298SobrienFri May 29 18:13:12 1998  Ian Lance Taylor  <ian@cygnus.com>
363877298Sobrien
363977298Sobrien	* config/tc-a29k.h (WORKING_DOT_WORD): Define.
364077298Sobrien	* config/tc-alpha.h (WORKING_DOT_WORD): Define.
364177298Sobrien	* config/tc-arm.h (WORKING_DOT_WORD): Define.
364277298Sobrien	* config/tc-h8300.h (WORKING_DOT_WORD): Define.
364377298Sobrien	* config/tc-h8500.h (WORKING_DOT_WORD): Define.
364477298Sobrien	* config/tc-hppa.h (WORKING_DOT_WORD): Define.
364577298Sobrien	* config/tc-i860.h (WORKING_DOT_WORD): Define.
364677298Sobrien	* config/tc-i960.h (WORKING_DOT_WORD): Define.
364777298Sobrien	* config/tc-tic30.h (WORKING_DOT_WORD): Define.
364877298Sobrien	* config/tc-w65.h (WORKING_DOT_WORD): Define.
364977298Sobrien	* config/tc-z8k.h (WORKING_DOT_WORD): Define.
365077298Sobrien	* config/tc-a29k.c: Don't define md_short_jump_size,
365177298Sobrien	md_long_jump_size, md_create_short_jump or md_create_long_jump.
365277298Sobrien	* config/tc-alpha.c: Likewise.
365377298Sobrien	* config/tc-alpha.h: Likewise.
365477298Sobrien	* config/tc-arm.c: Likewise.
365577298Sobrien	* config/tc-h8300.c: Likewise.
365677298Sobrien	* config/tc-h8500.c: Likewise.
365777298Sobrien	* config/tc-hppa.c: Likewise.
365877298Sobrien	* config/tc-i860.c: Likewise.
365977298Sobrien	* config/tc-i960.c: Likewise.
366077298Sobrien	* config/tc-ppc.c: Likewise.
366177298Sobrien	* config/tc-sh.c: Likewise.
366277298Sobrien	* config/tc-sparc.h: Likewise.
366377298Sobrien	* config/tc-tic30.c: Likewise.
366477298Sobrien	* config/tc-w65.c: Likewise.
366577298Sobrien	* config/tc-z8k.c: Likewise.
366677298Sobrien
366777298SobrienFri May 29 16:03:26 1998  Pat Rankin  <rankin@eql.caltech.edu>
366877298Sobrien
366977298Sobrien	* config/tc-vax.c (_): Delete this macro used for placeholder
367077298Sobrien	values in vax_operand_width_size; it conflicts with the _() macro
367177298Sobrien	used for internationalization.
367277298Sobrien
367377298SobrienFri May 29 13:46:07 1998  Ian Lance Taylor  <ian@cygnus.com>
367477298Sobrien
367577298Sobrien	* symbols.c (symbol_find_base): Fix case insensitive symbol name
367677298Sobrien	code.  From Chris Moller <moller@bops.com>.
367777298Sobrien
367877298Sobrien	Based on patch from Klaus Kaempf <kkaempf@progis.de>:
367977298Sobrien	* struc-symbol.h (struct broken_word): Add seg and subseg fields.
368077298Sobrien	* read.c (emit_expr): Initialize seg and subseg fields of a new
368177298Sobrien	broken word.
368277298Sobrien	* write.c (write_object_file): Switch to the appropriate segment
368377298Sobrien	and subsegment when processing a broken word.
368477298Sobrien
368577298Sobrien	* config/tc-m68k.c (mri_assemble): New static function.
368677298Sobrien	(build_mri_control_operand): Call mri_assemble rather than
368777298Sobrien	md_assemble.
368877298Sobrien	(s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
368977298Sobrien	(s_mri_endf, s_mri_endw): Likewise.
369077298Sobrien
369177298SobrienWed May 27 11:16:25 1998  Ian Lance Taylor  <ian@cygnus.com>
369277298Sobrien
369377298Sobrien	* read.c (s_org): Call md_flush_pending_output if it is defined.
369477298Sobrien
369577298Sobrien	* config/tc-sparc.c (md_show_usage): Add \n\ to new string.
369677298Sobrien
369777298SobrienTue May 26 19:27:52 1998  Stan Cox  <scox@equinox.cygnus.com>
369877298Sobrien
369977298Sobrien	* config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
370077298Sobrien	(md_parse_option): Add for same.
370177298Sobrien	(sparc_md_end): Set bfd_mach_sparc_sparclite_le.
370277298Sobrien	(md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
370377298Sobrien	(cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
370477298Sobrien
370577298Sobrien	* config/tc-sparc.h (cons_fix_new_sparc): Added.
370677298Sobrien
370777298SobrienThu May 21 15:02:41 1998  Nick Clifton  <nickc@cygnus.com>
370877298Sobrien
370977298Sobrien	* config/tc-arm.c (find_real_start): Relax definition of local
371077298Sobrien	labels.
371177298Sobrien
371277298SobrienTue May 19 16:59:44 1998  Nick Clifton  <nickc@cygnus.com>
371377298Sobrien
371477298Sobrien	* config/tc-d30v.c (d30v_align): Apply address adjustment to all
371577298Sobrien	symbols at the given address, not just the last one specified.
371677298Sobrien
371777298SobrienTue May 19 08:25:19 1998  Catherine Moore <clm@cygnus.com>
371877298Sobrien
371977298Sobrien	* config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
372077298Sobrien	or number_to_chars_littleendian to write data.
372177298Sobrien
372277298SobrienMon May 18 17:09:30 1998  Nick Clifton  <nickc@cygnus.com>
372377298Sobrien
372477298Sobrien	* config/tc-v850.c (md_assemble): Remove artificially created
372577298Sobrien	register name symbols.
372677298Sobrien
372777298SobrienMon May 18 13:47:06 1998  Doug Evans  <devans@canuck.cygnus.com>
372877298Sobrien
372977298Sobrien	* write.c (fixup_segment): Change "segment" to "section" in
373077298Sobrien	error message.
373177298Sobrien
373277298SobrienMon May 18 16:55:40 1998  Michael Meissner  <meissner@cygnus.com>
373377298Sobrien
373477298Sobrien	* write.c (fixup_segment): Change sym1-sym2 message again.
373577298Sobrien
373677298SobrienMon May 18 09:31:43 1998  Michael Meissner  <meissner@cygnus.com>
373777298Sobrien
373877298Sobrien	* write.c (fixup_segment): Improve error message for sym1-sym2
373977298Sobrien	errors when sym1 is in a different segment from sym2.
374077298Sobrien
374177298SobrienWed May 13 10:16:37 1998  Doug Evans  <devans@canuck.cygnus.com>
374277298Sobrien
374377298Sobrien	* config/tc-m32r.c (warn_unmatched_high): New static local.
374477298Sobrien	(OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
374577298Sobrien	(OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
374677298Sobrien	(md_longopts): Recognize --{no-,}warn-unmatched-high.
374777298Sobrien	(md_parse_option): Likewise.
374877298Sobrien	(md_show_usage): Likewise.
374977298Sobrien	(m32r_frob_file): Likewise.
375077298Sobrien
375177298Sobrien	* read.c (generate_file_debug,generate_lineno_debug): New functions.
375277298Sobrien	(read_a_source_file): Call them.
375377298Sobrien	* read.h (stabs_generate_asm_file): Declare.
375477298Sobrien	* stabs.c (stabs_generate_asm_file): New function.
375577298Sobrien	(generate_asm_file): New function.
375677298Sobrien	(stabs_generate_asm_lineno): Move file name handling into
375777298Sobrien	generate_asm_file.
375877298Sobrien
375977298SobrienTue May 12 12:03:44 1998  Richard Henderson  <rth@cygnus.com>
376077298Sobrien
376177298Sobrien	* config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
376277298Sobrien	(d30v_current_align, d30v_current_align_seg): New variables.
376377298Sobrien	(d30v_last_label): New variable.
376477298Sobrien	(d30v_align, s_d30v_align, s_d30v_text): New functions.
376577298Sobrien	(s_d30v_data, s_d30v_section): Likewise.
376677298Sobrien	(md_pseudo_table): Call them.
376777298Sobrien	(md_begin): Initialize d30v_current_align_seg.
376877298Sobrien	(md_assemble): Call d30v_align when needed by known current alignment.
376977298Sobrien	(d30v_frob_label, d30v_cons_align): New functions.
377077298Sobrien	* config/tc-d30v.h (md_do_align): Remove.
377177298Sobrien	(tc_frob_label): Call d30v_frob_label.
377277298Sobrien	(md_cons_align): New.
377377298Sobrien
377477298Sobrien	* config/tc-d30v.c (find_format): Convert complex expressions to
377577298Sobrien	expression symbols before processing.  Clean up code formatting.
377677298Sobrien
377777298SobrienSun May 10 22:35:02 1998  Jeffrey A Law  (law@cygnus.com)
377877298Sobrien
377977298Sobrien	* po/Make-in (install-info): New target.
378077298Sobrien
378177298SobrienThu May  7 15:49:07 1998  Jeffrey A Law  (law@cygnus.com)
378277298Sobrien
378377298Sobrien	* config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
378477298Sobrien	instructions.
378577298Sobrien	* config/tc-mn10300.c (md_assemble): Likewise.
378677298Sobrien
378777298SobrienThu May  7 11:47:22 1998  Doug Evans  <devans@canuck.cygnus.com>
378877298Sobrien
378977298Sobrien	* Makefile.am: Update with `make dep-am'.
379077298Sobrien	(HFILES): Add cgen.h.
379177298Sobrien	(cgen.o): Depend on cgen.h.
379277298Sobrien	* Makefile.in: Regenerate.
379377298Sobrien
379477298Sobrien	* cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
379577298Sobrien
379677298SobrienThu May  7 13:20:56 1998  Anders Blomdell  <anders.blomdell@control.lth.se>
379777298Sobrien
379877298Sobrien	* gasp.c (grab_label): Permit a label to be a preprocessor
379977298Sobrien	variable by permitting a label to start with a backslash.
380077298Sobrien
380177298SobrienThu May  7 12:50:33 1998  Frank Ch. Eigler  <fche@cygnus.com>
380277298Sobrien
380377298Sobrien	* config/tc-mips.c (validate_mips_insn): Removed hack
380477298Sobrien	for previously inaccessible bitfields in some INSN_TRAP
380577298Sobrien	instructions.
380677298Sobrien
380777298SobrienThu May  7 11:13:00 1998  Frank Ch. Eigler  <fche@cygnus.com>
380877298Sobrien
380977298Sobrien	* config/tc-d30v.c (do_assemble): Abort with error message
381077298Sobrien	if opcode operands do not match.
381177298Sobrien
381277298SobrienThu May  7 09:36:06 1998  Frank Ch. Eigler  <fche@cygnus.com>
381377298Sobrien
381477298Sobrien	* config/tc-mips.c (macro_build, validate_mips_insn): Implement
381577298Sobrien	'q' operand format for 20-bit "break"/"sdbbp" instructions.
381677298Sobrien	(mips_ip): Truncate overflowed "break" 'c' operand.  Implement
381777298Sobrien	similar new 'q' operand.
381877298Sobrien
381977298SobrienThu May  7 07:47:14 1998  Michael Meissner  <meissner@cygnus.com>
382077298Sobrien
382177298Sobrien	* cgen.c (cgen_asm_finish_insn): Fix typo.
382277298Sobrien
382377298SobrienThu May  7 02:19:14 1998  Doug Evans  <devans@charmed.cygnus.com>
382477298Sobrien
382577298Sobrien	* cgen.h: New file.
382677298Sobrien	* cgen.c: Include it.
382777298Sobrien	(MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
382877298Sobrien	(cgen_asm_finish_insn): Result is now void.  New arg `result'.
382977298Sobrien	All callers updated.
383077298Sobrien	* config/tc-m32r.c: Include cgen.h.
383177298Sobrien	(m23r_insn): New members num_fixups,fixups.
383277298Sobrien
383377298SobrienWed May  6 16:29:19 1998  Jeffrey A Law  (law@cygnus.com)
383477298Sobrien
383577298Sobrien	* config/tc-hppa.c (md_apply_fix): Slightly rework some code
383677298Sobrien	to avoid compiler warning.
383777298Sobrien
383877298SobrienWed May  6 15:26:34 1998  Klaus Kaempf  <kkaempf@progis.de>
383977298Sobrien
384077298Sobrien	* makefile.vms: Run dec c with /nodebug.  Pass CC value when
384177298Sobrien	calling make.
384277298Sobrien
384377298Sobrien	* makefile.vms (OBJS): Add ehopt.obj
384477298Sobrien
384577298SobrienWed May  6 15:11:12 1998  Klaus Kaempf  <kkaempf@progis.de>
384677298Sobrien
384777298Sobrien	* doc/c-vax.texi: Correct and extend vax/vms documentation.
384877298Sobrien
384977298SobrienWed May  6 11:51:51 1998  Richard Henderson  <rth@cygnus.com>
385077298Sobrien
385177298Sobrien	* config/tc-d30v.c (do_assemble): Accept a new parameter requesting
385277298Sobrien	a short format insn.
385377298Sobrien	(md_assemble): Set it for explicitly packed insns.
385477298Sobrien
385577298SobrienTue May  5 13:23:13 1998  Nick Clifton  <nickc@cygnus.com>
385677298Sobrien
385777298Sobrien	* config/obj-coff.c (c_symbol_merge): Do not take address of
385877298Sobrien	native fields when performing the memcpy.
385977298Sobrien
386077298SobrienTue May  5 13:10:41 1998  Gavin Koch  <gavin@cygnus.com>
386177298Sobrien
386277298Sobrien	* config/tc-mips.c (macro,macro2): Implement
386377298Sobrien	M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
386477298Sobrien
386577298SobrienMon May  4 17:49:14 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
386677298Sobrien
386777298Sobrien	* config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
386877298Sobrien	relocations against globally visible symbols.
386977298Sobrien	* config/tc-m68k.c (relaxable_symbol): New macro.
387077298Sobrien	(m68k_ip, md_estimate_size_before_relax): Use it.
387177298Sobrien	(tc_m68k_fix_adjustable): Also handle weak symbols.
387277298Sobrien
387377298SobrienMon May  4 16:12:23 1998  Ian Lance Taylor  <ian@cygnus.com>
387477298Sobrien
387577298Sobrien	* config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
387677298Sobrien	references to externally visible symbols.
387777298Sobrien	* config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
387877298Sobrien	values in twice for a PC relative reloc if the symbol is
387977298Sobrien	externally defined.
388077298Sobrien
388177298Sobrien	* config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
388277298Sobrien	don't adjust a PC relative reloc against an externally visible
388377298Sobrien	symbol.
388477298Sobrien	* config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
388577298Sobrien	for a PC relative fixup against an externally visible defined
388677298Sobrien	symbol, arrange to store object file and addend values as though
388777298Sobrien	the symbol were not defined.
388877298Sobrien	(tc_gen_reloc): Likewise.
388977298Sobrien
389077298SobrienThu Apr 30 13:09:39 1998  Fred Fish  <fnf@ninemoons.com>
389177298Sobrien
389277298Sobrien	* read.c (sizeof_leb128): Referenced externally by write.c so
389377298Sobrien	don't inline.
389477298Sobrien
389577298SobrienWed Apr 29 15:45:57 1998  Michael Meissner  <meissner@cygnus.com>
389677298Sobrien
389777298Sobrien	* config/tc-m32r.c ({,expand_}debug_sym): New functions to record
389877298Sobrien	and expand a 'debug' symbol associated with the next instruction
389977298Sobrien	that does not cause a short instruction to be filled with a NOP.
390077298Sobrien	(md_pseudo_table): Add support for .debugsym.
390177298Sobrien	(assemble_parallel_insn): Add calls to expand_debug_sym as
390277298Sobrien	appropriate.
390377298Sobrien	(md_assemble): Ditto.
390477298Sobrien
390577298SobrienTue Apr 28 19:16:26 1998  Tom Tromey  <tromey@cygnus.com>
390677298Sobrien
390777298Sobrien	* as.c (main): Conditionally call setlocale.
390877298Sobrien	* gasp.c (main): Likewise.
390977298Sobrien	* asintl.h: Include <locale.h> if HAVE_LOCALE_H.
391077298Sobrien	(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
391177298Sobrien
391277298SobrienTue Apr 28 18:33:23 1998  Frank Ch. Eigler  <fche@cygnus.com>
391377298Sobrien
391477298Sobrien	* config/tc-d30v.c (md_show_usage): Correct gettext typo.
391577298Sobrien
391677298SobrienTue Apr 28 12:16:30 1998  Ian Lance Taylor  <ian@cygnus.com>
391777298Sobrien
391877298Sobrien	* config/tc-hppa.c: Change all calls to bzero to use memset.
391977298Sobrien	(pa_ip): Add cast to avoid warning.
392077298Sobrien	(tc_gen_reloc, md_apply_fix): Likewise.
392177298Sobrien	(pa_find_space_by_number): Likewise.
392277298Sobrien	(hppa_force_relocation): Likewise.
392377298Sobrien	(pa_block): Change i to unsigned int.
392477298Sobrien	* config/obj-som.h (obj_som_copyright): Declare.
392577298Sobrien
392677298SobrienTue Apr 28 11:35:56 1998  Frank Ch. Eigler  <fche@cygnus.com>
392777298Sobrien
392877298Sobrien	* ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
392977298Sobrien	for line numbers for assembly source.
393077298Sobrien
393177298SobrienMon Apr 27 15:58:46 1998  Ian Lance Taylor  <ian@cygnus.com>
393277298Sobrien
393377298Sobrien	* configure.in: Change version number to 2.9.4
393477298Sobrien	* configure: Rebuild.
393577298Sobrien
393677298SobrienMon Apr 27 12:07:33 1998  Doug Evans  <devans@seba.cygnus.com>
393777298Sobrien
393877298Sobrien	* cgen.c (cgen_asm_finish_insn): New arg relax_p.  All callers updated.
393977298Sobrien
394077298SobrienMon Apr 27 15:16:12 1998  Ian Lance Taylor  <ian@cygnus.com>
394177298Sobrien
394277298Sobrien	* ecoff.h: Change symbolS in function declaration to struct
394377298Sobrien	symbol.
394477298Sobrien
394577298SobrienSun Apr 26 13:44:22 1998  Ian Lance Taylor  <ian@cygnus.com>
394677298Sobrien
394777298Sobrien	* config/tc-sh.c (parse_reg): Add casts to avoid warnings.
394877298Sobrien	(md_convert_frag): Fix i18n typo.
394977298Sobrien
395077298SobrienSat Apr 25 20:12:02 1998  Richard Henderson  <rth@cygnus.com>
395177298Sobrien
395277298Sobrien	* ecoff.c (ecoff_get_cur_proc_sym): New function.
395377298Sobrien	* ecoff.h: Protoype it.
395477298Sobrien	* config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
395577298Sobrien	[EVAX] (s_alpha_prologue): Delete.
395677298Sobrien	(md_pseudo_table): Update.
395777298Sobrien
395877298SobrienSat Apr 25 14:00:52 1998  Ian Lance Taylor  <ian@cygnus.com>
395977298Sobrien
396077298Sobrien	* config/tc-i960.c (md_assemble): Change bp_error_msg from static
396177298Sobrien	array to local pointer.
396277298Sobrien	(get_args, parse_expr): Add casts to avoid warnings.
396377298Sobrien
396477298SobrienFri Apr 24 12:47:42 1998  Philippe De Muyter  <phdm@macqel.be>
396577298Sobrien
396677298Sobrien	* read.c (s_set): Cast xmalloc return value to fragS *.
396777298Sobrien	* config/tc-m68k.c (m68k_ip): Function made static to match
396877298Sobrien	previous forward declaration.
396977298Sobrien	(insert_reg, init_regtable, md_convert_frag_1): Likewise.
397077298Sobrien
397177298SobrienFri Apr 24 09:26:46 1998  Nick Clifton  <nickc@cygnus.com>
397277298Sobrien
397377298Sobrien	* config/tc-v850.c: Add internationalisation macros to error
397477298Sobrien	strings.
397577298Sobrien
397677298Sobrien	* config/tc-m32r.c (can_make_parallel): Add internationalisation
397777298Sobrien	macros to error strings.
397877298Sobrien
397977298SobrienThu Apr 23 19:23:23 1998  Ian Lance Taylor  <ian@cygnus.com>
398077298Sobrien
398177298Sobrien	* config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
398277298Sobrien	reloc is in the TOC csect.
398377298Sobrien	(md_apply_fix3): Correct gettext typo.
398477298Sobrien
398577298SobrienThu Apr 23 14:58:31 1998  Nick Clifton  <nickc@cygnus.com>
398677298Sobrien
398777298Sobrien	* config/tc-arm.c (find_real_start): Ignore symbols starting with
398877298Sobrien	.L - they are local labels and the branches are not really
398977298Sobrien	function calls but rather far jumps.
399077298Sobrien
399177298SobrienWed Apr 22 15:57:21 1998  Tom Tromey  <tromey@cygnus.com>
399277298Sobrien
399377298Sobrien	* po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
399477298Sobrien
399577298SobrienWed Apr 22 14:52:36 1998  Ian Lance Taylor  <ian@cygnus.com>
399677298Sobrien
399777298Sobrien	* config/tc-i386.c (md_assemble): Print operand number rather than
399877298Sobrien	using ordinal_names.
399977298Sobrien	(i386_operand): Likewise.
400077298Sobrien
400177298SobrienTue Apr 21 22:34:25 1998  Tom Tromey  <tromey@scribbles.cygnus.com>
400277298Sobrien
400377298Sobrien	* Makefile.am (INTLLIBS): Define to work around apparent automake
400477298Sobrien	bug.
400577298Sobrien	All Makefiles: Regenerated.
400677298Sobrien
400777298Sobrien	* Many files: Added gettext invocations around user-visible
400877298Sobrien	strings.
400977298Sobrien	* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
401077298Sobrien	HAVE_LC_MESSAGES): Define.
401177298Sobrien	* dep-in.sed: Added asintl.h.
401277298Sobrien	* po/Make-in: New file.
401377298Sobrien	* gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
401477298Sobrien	Include "asintl.h".
401577298Sobrien	* read.c (Z_): Renamed from `_'.
401677298Sobrien	* Makefile.am (SUBDIRS): Added po.
401777298Sobrien	(POTFILES): new macro.
401877298Sobrien	(po/POTFILES.in): New target.
401977298Sobrien	($(OBJS)): Added asintl.h.
402077298Sobrien	(HFILES): Likewise.
402177298Sobrien	(INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
402277298Sobrien	(as_new_LDADD): Added $(INTLLIBS).
402377298Sobrien	(as_new_DEPENDENCIES): Added $(INTLDEPS).
402477298Sobrien	(gasp_new_LDADD): Added $(INTLLIBS).
402577298Sobrien	(gasp_new_DEPENDENCIES): New macro.
402677298Sobrien	* configure, aclocal.m4: Rebuilt.
402777298Sobrien	* configure.in: Call CY_GNU_GETTEXT.  Generate po/Makefile.in and
402877298Sobrien	po/Makefile.
402977298Sobrien	(ALL_LINGUAS): Define.
403077298Sobrien	* macro.c: Include "asintl.h".
403177298Sobrien	* as.c (main): Call setlocale, bindtextdomain, and textdomain.
403277298Sobrien	* as.h: Include "asintl.h".
403377298Sobrien	* config/tc-i386.c (ordinal_names): Removed.
403477298Sobrien	(md_assemble): Changed error text to avoid ordinal_names.
403577298Sobrien	(i386_operand): Likewise.
403677298Sobrien	(reloc): Added as_bad to avoid i18n problems.
403777298Sobrien	(tc_gen_reloc): Likewise.
403877298Sobrien	* config/tc-arm.c (bad_args): Now a #define.
403977298Sobrien	(bad_pc): Likewise.
404077298Sobrien	* config/obj-vms.c (VMS_stab_parse): Changed type of
404177298Sobrien	`long_const_msg'.
404277298Sobrien	(global_symbol_directory): Unified strings to avoid i18n
404377298Sobrien	problems.
404477298Sobrien	* config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
404577298Sobrien	avoid i18n problems.
404677298Sobrien	* config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
404777298Sobrien	* config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
404877298Sobrien	i18n problems.
404977298Sobrien	* config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
405077298Sobrien	problems.
405177298Sobrien	* config/tc-v850.c (md_assemble): Changed C++ comment into C
405277298Sobrien	comment.
405377298Sobrien	* config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
405477298Sobrien	problems.
405577298Sobrien	* as.c (print_version_id): Added an fprintf to avoid i18n
405677298Sobrien	problems.
405777298Sobrien	* cond.c (cond_finish_check): Added as_bad call to avoid i18n
405877298Sobrien	problems.
405977298Sobrien	* expr.c (expr): Added as_warn call to avoid i18n problems.
406077298Sobrien	* messages.c (as_assert): Changed code to avoid i18n problems.
406177298Sobrien	(as_abort): Likewise.
406277298Sobrien	* read.c (pseudo_set): Added as_bad call to avoid i18n problems.
406377298Sobrien	(s_space): Likewise.
406477298Sobrien	* po/Make-in, po/POTFILES.in, po/gas.pot: New files.
406577298Sobrien
406677298SobrienTue Apr 21 17:01:22 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
406777298Sobrien
406877298Sobrien	* config/tc-i386.c (check_prefix): New static function, split out
406977298Sobrien	from md_assemble.
407077298Sobrien	(struct _i386_insn): Add wait_prefix field.
407177298Sobrien	(md_assemble): Remove wait_prefix local variable.  Use
407277298Sobrien	check_prefix when adding a prefix.
407377298Sobrien
407477298Sobrien	* config/tc-i386.c (current_templates): New static variable.
407577298Sobrien	(md_assemble): Remove current_templates local variable.
407677298Sobrien	(md_assemble, i386_operand): Improve error and warning messages in
407777298Sobrien	many places.  Add RESTORE_END_STRING in many places before error
407877298Sobrien	return.  Clarify some comments.
407977298Sobrien
408077298Sobrien	* config/tc-i386.c (struct _i386_insn): Change seg field to a two
408177298Sobrien	element array.
408277298Sobrien	(md_assemble): Parse string instruction operands, looking for
408377298Sobrien	segment override prefixes.  Check for invalid segment prefixes on
408477298Sobrien	string instruction.
408577298Sobrien	(i386_operand): i.seg[] and max mem_operand changes for string
408677298Sobrien	insns.
408777298Sobrien	* config/tc-i386.h (EsSeg): Define.
408877298Sobrien
408977298Sobrien	* config/tc-i386.h (regKludge): Define.
409077298Sobrien	(iclrKludge, imulKludge): Don't define.
409177298Sobrien	* config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
409277298Sobrien	code.  Move ReverseRegRegmem fudges into Modrm case.  Reorder
409377298Sobrien	opcode_modifier checks to look for more common cases first.  Add
409477298Sobrien	default_seg for IsString case.
409577298Sobrien
409677298SobrienTue Apr 21 16:18:12 1998  Ian Lance Taylor  <ian@cygnus.com>
409777298Sobrien
409877298Sobrien	* configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
409977298Sobrien	AC_DECL_YYTEXT.
410077298Sobrien	* configure: Rebuild with new automake and libtool.
410177298Sobrien	* aclocal.m4, Makefile.in: Likewise.
410277298Sobrien
410377298Sobrien	* doc/Makefile.am (as.dvi): New target.
410477298Sobrien	* doc/Makefile.in: Rebuild.
410577298Sobrien
410677298SobrienSat Apr 18 01:21:04 1998  Stan Cox  <scox@cygnus.com>
410777298Sobrien
410877298Sobrien	* configure.in: Added sparc86x support.
410977298Sobrien
411077298Sobrien	* configure: Rebuild.
411177298Sobrien
411277298Sobrien	* config/tc-sparc.c (lookup_arch): Added arch_type to struct
411377298Sobrien	sparc_arch.
411477298Sobrien	(md_parse_option): Warn if -EL is not supported for this architecture.
411577298Sobrien
411677298Sobrien	* config/tc-sparc.h (SPARC_BIENDIAN) Always define.
411777298Sobrien
411877298SobrienSat Apr 18 01:19:01 1998  Jeffrey A Law  (law@cygnus.com)
411977298Sobrien
412077298Sobrien	* config/tc-mips.c (mips_ip): Note when we use get match on
412177298Sobrien	the full instruction name.
412277298Sobrien
412377298SobrienWed Apr 15 15:17:27 1998  Richard Henderson  <rth@cygnus.com>
412477298Sobrien
412577298Sobrien	* symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
412677298Sobrien	back into the expression to handle add/sub simplification correctly.
412777298Sobrien
412877298SobrienWed Apr 15 07:06:04 1998  Catherine Moore  <clm@cygnus.com>
412977298Sobrien
413077298Sobrien	* config/tc-mips.c (hilo_interlocks): Remove 4300.
413177298Sobrien
413277298SobrienMon Apr 13 16:51:04 1998  Nick Clifton  <nickc@cygnus.com>
413377298Sobrien
413477298Sobrien	* config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
413577298Sobrien	#<n>' instruction.
413677298Sobrien
413777298SobrienThu Apr  9 10:29:42 1998  Doug Evans  <devans@canuck.cygnus.com>
413877298Sobrien
413977298Sobrien	* symbols.c (max_indent_level): New global.
414077298Sobrien	(print_symbol_value_1): Use it.
414177298Sobrien	* expr.h (expr_build_dot): Declare.
414277298Sobrien	* expr.c (expr_build_dot): New function.
414377298Sobrien
414477298SobrienWed Apr  8 16:16:11 1998  Doug Evans  <devans@canuck.cygnus.com>
414577298Sobrien
414677298Sobrien	* symbols.c (print_binary): New function.
414777298Sobrien	(print_expr_1): Call it.
414877298Sobrien
414977298SobrienMon Apr  6 12:06:39 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
415077298Sobrien
415177298Sobrien	* config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
415277298Sobrien	operand in the opcode.
415377298Sobrien
415477298SobrienFri Apr  3 11:58:19 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
415577298Sobrien
415677298Sobrien	* config/tc-i386.h: Reorder operand flags and opcode modifier
415777298Sobrien	flags for clarity.  Remove unused definitions: Unknown,
415877298Sobrien	ImmUnknown, DispUnknown, NoModrm.
415977298Sobrien	* config/tc-i386.c (type_names): Add missing Debug type.
416077298Sobrien	(md_assemble): Better duplicate prefix checking.  Quicker string
416177298Sobrien	instruction check via new opcode_modifier flag.
416277298Sobrien
416377298SobrienFri Apr  3 11:44:34 1998  Ian Lance Taylor  <ian@cygnus.com>
416477298Sobrien
416577298Sobrien	* doc/as.texinfo (Invoking): Clarify -Wa example.
416677298Sobrien
416777298SobrienFri Apr  3 09:12:23 1998  Gavin Koch  <gavin@cetus.cygnus.com>
416877298Sobrien
416977298Sobrien	* config/tc-mips.c (mips_pseudo_table): Add weakext entry.
417077298Sobrien	(s_mips_weakext): Define.
417177298Sobrien	* ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
417277298Sobrien	* config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
417377298Sobrien	defined(TC_MIPS).
417477298Sobrien
417577298SobrienThu Apr  2 22:42:02 1998  Jeffrey A Law  (law@cygnus.com)
417677298Sobrien
417777298Sobrien	* config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
417877298Sobrien	is an error if the value can not be computed at assembly time.
417977298Sobrien	* config/tc-mn10300.c (tc_gen-reloc): Likewise.
418077298Sobrien
418177298SobrienThu Apr  2 16:36:47 1998  Ian Lance Taylor  <ian@cygnus.com>
418277298Sobrien
418377298Sobrien	* gasp.c (main): Set next field of new include_path structure to
418477298Sobrien	NULL.  From Avery Pennarun <averyp@gdc.ca>.
418577298Sobrien
418677298Sobrien	* read.c (s_mri_sect): Call as_bad rather than abort for an
418777298Sobrien	unsupported MRI target.
418877298Sobrien
418977298SobrienWed Apr  1 11:08:27 1998  Nick Clifton  <nickc@cygnus.com>
419077298Sobrien
419177298Sobrien	* config/tc-arm.c (arm_validate_fix): New function.  Determine if
419277298Sobrien	the destination of a branch instruction should be altered.
419377298Sobrien	(find_real_start): New function:  Locate the real, Thumb coded
419477298Sobrien	start of a Thumb function.
419577298Sobrien	(do_t_branch23): Alter the destination of branches to Thumb
419677298Sobrien	functions.
419777298Sobrien
419877298Sobrien	* config/tc-arm.h: Define TC_VALIDATE_FIX.
419977298Sobrien
420077298SobrienTue Mar 31 13:27:33 1998  Dean M. Deaver  <deaver@amt.tay1.dec.com>
420177298Sobrien
420277298Sobrien	* config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
420377298Sobrien	also.
420477298Sobrien
420577298SobrienWed Apr  1 13:13:20 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
420677298Sobrien
420777298Sobrien	* doc/as.texinfo: Use @itemx for a secondary item in a table.
420877298Sobrien	* doc/c-hppa.texi: Likewise.
420977298Sobrien
421077298SobrienTue Mar 31 17:52:40 1998  Ian Lance Taylor  <ian@cygnus.com>
421177298Sobrien
421277298Sobrien	* Makefile.am: Rebuild dependencies.
421377298Sobrien	* Makefile.in: Rebuild.
421477298Sobrien
421577298Sobrien	* Makefile.am (DEP_INCLUDES): New variable.
421677298Sobrien	(.dep1): Change to work when srcdir is not an absolute path.
421777298Sobrien	(.tcdep, .objdep, .dep2, dep.sed): Likewise.
421877298Sobrien	* Makefile.in: Rebuild.
421977298Sobrien
422077298SobrienMon Mar 30 12:46:48 1998  Ian Lance Taylor  <ian@cygnus.com>
422177298Sobrien
422277298Sobrien	* config/tc-i386.h, config/tc-i386.c: Revert March 24
422377298Sobrien	LinearAddress patch.
422477298Sobrien
422577298Sobrien	* configure.in: Set version to 2.9.1.
422677298Sobrien	* configure: Rebuild.
422777298Sobrien
422877298Sobrien	* Branched binutils 2.9.
422977298Sobrien
423077298SobrienMon Mar 30 11:22:08 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
423177298Sobrien
423277298Sobrien	* config/tc-i386.h (FWait): Define.
423377298Sobrien	* config/tc-i386.c (md_assemble): Emit fwait prefix before any
423477298Sobrien	other prefixes.  Check FWait flag in opcode table to see which
423577298Sobrien	instructions require an fwait prefix.
423677298Sobrien
423777298SobrienMon Mar 30 10:12:00 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
423877298Sobrien
423977298Sobrien	* stabs.c (get_stab_string_offset): Always create a stab string
424077298Sobrien	section.
424177298Sobrien
424277298SobrienSat Mar 28 22:28:02 1998  Ian Lance Taylor  <ian@cygnus.com>
424377298Sobrien
424477298Sobrien	Fix some gcc -Wall warnings:
424577298Sobrien	* atof-generic.c (atof_generic): Add casts to avoid warnings.
424677298Sobrien	* ehopt.c (eh_frame_code_alignment): Likewise.
424777298Sobrien	* expr.c (integer_constant, operand): Likewise.
424877298Sobrien	* frags.c (frag_align): Likewise.
424977298Sobrien	* gasp.c (level_0, change_base, doinstr): Likewise.
425077298Sobrien	* hash.c (hash_ask): Likewise.
425177298Sobrien	* listing.c (listing_page, calc_hex, print_lines): Likewise.
425277298Sobrien	(debugging_pseudo): Likewise.
425377298Sobrien	* macro.c (define_macro, check_macro): Likewise.
425477298Sobrien	* read.c (read_a_source_file, s_align, s_float_space): Likewise.
425577298Sobrien	(ignore_rest_of_line, float_cons): Likewise.
425677298Sobrien	* symbols.c (decode_local_label_name): Likewise.
425777298Sobrien	* write.c (record_alignment, cvs_frag_to_fill): Likewise.
425877298Sobrien	(fixup_segment, number_to_chars_bigendian): Likewise.
425977298Sobrien	(number_to_chars_littleendian): Likewise.
426077298Sobrien	* config/atof-ieee.c (gen_to_words): Likewise.
426177298Sobrien	* config/tc-sparc.c (md_begin, md_assemble): Likewise.
426277298Sobrien	(sparc_ip, parse_keyword_arg, s_common): Likewise.
426377298Sobrien	* read.c (output_big_sleb128): Initialize locals to avoid
426477298Sobrien	warnings.
426577298Sobrien	(output_big_uleb128, equals): Likewise.
426677298Sobrien	* atof-generic.c (atof_generic): Change number_of_digits_* locals
426777298Sobrien	to unsigned int.  Change zeros to unsigned int.
426877298Sobrien	* cond.c (s_if): Add return to default case.
426977298Sobrien	* frags.c (frag_now_fix): Change return type to addressT.
427077298Sobrien	* frags.h (frag_now_fix): Update declaration.
427177298Sobrien	* listing.c (file_info_struct): Change linenum to unsigned int.
427277298Sobrien	(struct list_info_struct): Change hll_line to unsigned int.
427377298Sobrien	(print_source): Update format string.
427477298Sobrien	* read.c (emit_expr): Change scan to unsigned int, and don't
427577298Sobrien	bother to initialize it.
427677298Sobrien	* symbols.c (dollar_label_count): Change to unsigned long.
427777298Sobrien	* write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
427877298Sobrien	* config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
427977298Sobrien	* config/tc-sparc.c (tc_gen_reloc): Add return to default case.
428077298Sobrien
428177298SobrienFri Mar 27 12:46:47 1998  Ian Lance Taylor  <ian@cygnus.com>
428277298Sobrien
428377298Sobrien	* config/tc-m68k.c (m68k_ip): Check legal addressing modes for
428477298Sobrien	mcf5200 just as we do for m68000.
428577298Sobrien	(m68k_init_after_args): Likewise.
428677298Sobrien	(md_estimate_size_before_relax): Likewise.
428777298Sobrien
428877298SobrienFri Mar 27 10:30:01 1998  Catherine Moore  <clm@cygnus.com>
428977298Sobrien
429077298Sobrien	* config/tc-v850.c (md_assemble):  Store relocation addend in
429177298Sobrien	fixup instead of instruction.
429277298Sobrien
429377298SobrienThu Mar 26 23:07:18 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
429477298Sobrien
429577298Sobrien	* config/tc-i386.c (md_assemble): Swap template arguments to
429677298Sobrien	CONSISTENT_REGISTER_MATCH macro in reverse direction test.
429777298Sobrien	This macro is currently symmetric, so passing them the wrong
429877298Sobrien	way didn't cause any problem, but may if the macro is changed
429977298Sobrien	in the future.
430077298Sobrien	After copying template to i.tm, use i.tm. rather than t-> to
430177298Sobrien	access fields, and make t a const*
430277298Sobrien	Move i.tm.operand_types[] swap to immediately after the copy.
430377298Sobrien
430477298SobrienWed Mar 25 13:44:18 1998  Doug Evans  <devans@canuck.cygnus.com>
430577298Sobrien
430677298Sobrien	* expr.h (expr_build_uconstant): Add prototype.
430777298Sobrien	(expr_build_unary,expr_build_binary): Add prototypes.
430877298Sobrien	* expr.c (expr_build_uconstant): New function.
430977298Sobrien	(expr_build_unary,expr_build_binary): New functions.
431077298Sobrien
431177298SobrienWed Mar 25 13:10:42 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
431277298Sobrien
431377298Sobrien	* gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
431477298Sobrien	* macro.c (macro_expand_body): Increase buffer size.
431577298Sobrien	* messages.c (as_warn): Likewise.
431677298Sobrien	(as_warn_where, as_bad, as_bad_where): Likewise.
431777298Sobrien
431877298SobrienWed Mar 25 12:59:07 1998  Ian Lance Taylor  <ian@cygnus.com>
431977298Sobrien
432077298Sobrien	Based on patch from H.J. Lu  <hjl@gnu.org>:
432177298Sobrien	* Makefile.am (DISTSTUFF): New variable.
432277298Sobrien	(diststuff): New target.
432377298Sobrien	* Makefile.in: Rebuild.
432477298Sobrien
432577298SobrienTue Mar 24 16:51:29 1998  Nick Clifton  <nickc@cygnus.com>
432677298Sobrien
432777298Sobrien	* config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
432877298Sobrien	m32r_elf_section_change_hook.
432977298Sobrien
433077298Sobrien	* config/tc-m32r.c (m32r_elf_section_change_hook): New function to
433177298Sobrien	emit a nop if a section ends with a 16 bit instruction.
433277298Sobrien
433377298SobrienTue Mar 24 19:48:09 1998  Ian Lance Taylor  <ian@cygnus.com>
433477298Sobrien
433577298Sobrien	* config/obj-coff.c (obj_coff_bss): Compile unconditionally.  Call
433677298Sobrien	s_lcomm rather than obj_coff_lcomm.
433777298Sobrien	(obj_pseudo_table): Compile .bss pseudo-op unconditionally.
433877298Sobrien
433977298SobrienTue Mar 24 18:30:58 1998  H.J. Lu  <hjl@gnu.org>
434077298Sobrien
434177298Sobrien	* config/tc-i386.h (LinearAddress): Define.
434277298Sobrien	* config/tc-i386.c (md_assemble): If LinearAddress is set for the
434377298Sobrien	instruction, don't use a default segment.
434477298Sobrien
434577298SobrienMon Mar 23 18:53:40 1998  Joel Sherrill  <joel@OARcorp.com>
434677298Sobrien
434777298Sobrien	* configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
434877298Sobrien	* configure: Rebuild.
434977298Sobrien
435077298SobrienFri Mar 20 19:15:44 1998  Ian Lance Taylor  <ian@cygnus.com>
435177298Sobrien
435277298Sobrien	* aclocal.m4, configure: Rebuild with libtool 1.2.
435377298Sobrien
435477298SobrienThu Mar 19 16:03:12 1998  Nick Clifton  <nickc@cygnus.com>
435577298Sobrien
435677298Sobrien	* config/tc-arm.c (md_apply_fix3): fix code to test the range of
435777298Sobrien	PC relative branches.  Patch courtesy of Jonathan Walton.
435877298Sobrien
435977298Sobrien
436077298SobrienWed Mar 18 09:29:51 1998  Nick Clifton  <nickc@cygnus.com>
436177298Sobrien
436277298Sobrien	* configure.in (emulations): Add thumb-pe target.
436377298Sobrien
436477298Sobrien	* configure (emulations): Add thumb-pe target.
436577298Sobrien
436677298Sobrien1998-03-17  Ken Raeburn  <raeburn@cygnus.com>
436777298Sobrien
436877298Sobrien	* itbl-lex.l (yywrap): Don't define if already defined as a
436977298Sobrien	macro.
437077298Sobrien
437177298SobrienFri Mar 13 16:31:38 1998  Tom Tromey  <tromey@cygnus.com>
437277298Sobrien
437377298Sobrien	* depend.c (quote_string_for_make): New function.
437477298Sobrien	(wrap_output): Use it.
437577298Sobrien
437677298SobrienThu Mar 12 18:28:22 1998  Nick Clifton  <nickc@cygnus.com>
437777298Sobrien
437877298Sobrien	* config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
437977298Sobrien	structure if type is SHT_NOBITS.  [Bug fix courtesy of rth]
438077298Sobrien
438177298SobrienSat Feb 28 17:28:55 1998  Richard Henderson  <rth@cygnus.com>
438277298Sobrien
438377298Sobrien	* config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
438477298Sobrien	Recognize -GN and -relax.
438577298Sobrien	(md_begin): Initialize gp size from -G switch.
438677298Sobrien	(alpha_force_relocation): Always force if -relax.
438777298Sobrien	(alpha_align): Take a new argument that will specify when to
438877298Sobrien	emit an R_ALPHA_ALIGN relocation (though we don't do that now).
438977298Sobrien	Change all callers.  Emit nop alignment padding as nop+unop pair.
439077298Sobrien
439177298SobrienSat Feb 28 17:06:22 1998  Richard Henderson  <rth@cygnus.com>
439277298Sobrien
439377298Sobrien	* config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
439477298Sobrien	* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
439577298Sobrien
439677298SobrienThu Feb 26 15:49:04 1998  Michael Meissner  <meissner@cygnus.com>
439777298Sobrien
439877298Sobrien	* config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
439977298Sobrien	require padding to the next long word boundary.
440077298Sobrien
440177298SobrienMon Feb 23 11:29:06 1998  Doug Evans  <devans@seba.cygnus.com>
440277298Sobrien
440377298Sobrien	* cgen.c: #include symcat.h.
440477298Sobrien	* config/tc-m32r.c: Likewise.
440577298Sobrien
440677298SobrienMon Feb 23 10:27:40 1998  Jeffrey A Law  (law@cygnus.com)
440777298Sobrien
440877298Sobrien	* config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
440977298Sobrien	absolute expressions instead of '$' prefixed register names.
441077298Sobrien
441177298SobrienSat Feb 21 22:36:52 1998  Richard Henderson  <rth@cygnus.com>
441277298Sobrien
441377298Sobrien	* read.c (s_set): Record file and line info for symbols when -as.
441477298Sobrien	(pseudo_set): Don't overwrite that dummy fragment.
441577298Sobrien
441677298SobrienFri Feb 20 15:03:13 1998  Ian Lance Taylor  <ian@cygnus.com>
441777298Sobrien
441877298Sobrien	* config/tc-ppc.c (md_pseudo_table): Add "section".
441977298Sobrien	(ppc_named_section): New static function.
442077298Sobrien
442177298SobrienThu Feb 19 22:25:42 1998  Richard Henderson  <rth@cygnus.com>
442277298Sobrien
442389857Sobrien	* config/tc-ppc.c (ppc_biei): Cache the last symbol we inserted
442477298Sobrien	so we don't have to scan the entire list.
442577298Sobrien
442677298SobrienTue Feb 17 17:02:15 1998  Fred Fish  <fnf@cygnus.com>
442777298Sobrien
442877298Sobrien	* config/tc-d30v.c (parallel_ok): For the explicitly parallel
442977298Sobrien	case, allow the parallel instructions to modify the same flag
443077298Sobrien	bits.
443177298Sobrien
443277298SobrienThu Feb 19 16:08:15 1998  Richard Henderson  <rth@cygnus.com>
443377298Sobrien
443477298Sobrien	* listing.c (list_symbol_table): Categorize symbols by
443577298Sobrien	undefined_section rather than sy_frag->line == NULL.
443677298Sobrien
443777298SobrienWed Feb 18 23:39:46 1998  Richard Henderson  <rth@cygnus.com>
443877298Sobrien
443977298Sobrien	* Makefile.am (install-exec-local): Install properly when ln
444077298Sobrien	fails or tooldir == prefix.
444177298Sobrien
444277298SobrienTue Feb 17 18:58:51 1998  Doug Evans  <devans@seba.cygnus.com>
444377298Sobrien
444477298Sobrien	* cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
444577298Sobrien	Test result of insert_operand for error.
444677298Sobrien
444777298SobrienFri Feb 13 16:41:42 1998  Ian Lance Taylor  <ian@cygnus.com>
444877298Sobrien
444977298Sobrien	* Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
445077298Sobrien	* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
445177298Sobrien	* doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
445277298Sobrien	* doc/Makefile.in: Rebuild.
445377298Sobrien
445477298SobrienFri Feb 13 00:47:44 1998  Ian Lance Taylor  <ian@cygnus.com>
445577298Sobrien
445677298Sobrien	* config/tc-mips.c (macro_build): Handle operand type 'C'.
445777298Sobrien	(macro): Fix handling of M_COP[0-3].
445877298Sobrien
445977298SobrienThu Feb 12 14:06:59 1998  Ian Lance Taylor  <ian@cygnus.com>
446077298Sobrien
446177298Sobrien	Based on patches from Ross Harvey <ross@teraflop.com>:
446277298Sobrien	* macro.c (ISSEP): Only treat '<' and '>' as separator characters
446377298Sobrien	if macro_alternate or macro_mri.
446477298Sobrien	(getstring): Remove support for byte constants between < and >.
446577298Sobrien	(get_any_string): '<' only starts a string if macro_alternate or
446677298Sobrien	macro_mri.
446777298Sobrien	(macro_expand_body): Permit keyword parameters following
446877298Sobrien	positional parameters.
446977298Sobrien
447077298Sobrien	NetBSD patches from Gordon W. Ross <gwr@mc.com>:
447177298Sobrien	* configure.in (alpha*-*-netbsd*): New target.
447277298Sobrien	* config/te-nbsd.h (LOCAL_LABELS_FB): Define.
447377298Sobrien	* configure: Rebuild.
447477298Sobrien
447577298Sobrien	* as.h (flag_warn_suppress_instructionswap): Move from here...
447677298Sobrien	* config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
447777298Sobrien	here, and make static.
447877298Sobrien
447977298Sobrien	* ehopt.c (eh_frame_code_alignment): Only use seg_info if
448077298Sobrien	BFD_ASSEMBLER or MANY_SEGMENTS.
448177298Sobrien
448277298Sobrien	* as.c (show_usage): Update bug-gnu-utils address.
448377298Sobrien	* gasp.c (show_usage): Likewise.
448477298Sobrien	* doc/as.texinfo (Bug Reporting): Likewise.
448577298Sobrien
448677298SobrienWed Feb 11 23:26:28 1998  Jeffrey A Law  (law@cygnus.com)
448777298Sobrien
448877298Sobrien	* config/tc-mips.c (load_address): Don't use mips III or mips IV
448977298Sobrien	insns regardless of the size of a pointer if we're in mips I or
449077298Sobrien	MIPS II mode.
449177298Sobrien	(macro, macro2, s_cprestore, s_cpadd): Likewise.
449277298Sobrien
449377298SobrienThu Feb 12 03:41:00 1998  J"orn Rennecke  <amylaar@cygnus.co.uk>
449477298Sobrien
449577298Sobrien	Fix rac to accept only a0:
449689857Sobrien	* config/tc-d10v.c (parallel_ok, find_opcode):
449777298Sobrien	Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
449877298Sobrien	Introduce OPERAND_GPR.
449977298Sobrien
450077298SobrienWed Feb 11 16:28:13 1998  Richard Henderson  <rth@cygnus.com>
450177298Sobrien
450277298Sobrien	* read.c (s_fill): Handle non-constant repeat counts by creating
450377298Sobrien	an rs_space fragment.
450477298Sobrien
450577298SobrienTue Feb 10 18:31:31 1998  Ian Lance Taylor  <ian@cygnus.com>
450677298Sobrien
450777298Sobrien	* config/tc-i386.c (i386_operand): Change error added Jan 2 1998
450877298Sobrien	from as_bad to as_warn.
450977298Sobrien
451077298SobrienTue Feb 10 18:04:00 1998  Jim Lemke  <jlemke@cygnus.com>
451177298Sobrien
451277298Sobrien	* as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
451377298Sobrien	* as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
451477298Sobrien	* config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
451577298Sobrien
451677298SobrienTue Feb 10 17:58:18 1998  Ian Lance Taylor  <ian@cygnus.com>
451777298Sobrien
451877298Sobrien	* ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
451977298Sobrien	seg_fix_rotP rather than fix_root from seg_info.
452077298Sobrien
452177298SobrienTue Feb 10 15:32:22 1998  Ian Carmichael  <iancarm@cygnus.com>
452277298Sobrien
452377298Sobrien	* expr.c: Add support for 0x1_2_3_4 bignums.
452477298Sobrien
452577298SobrienTue Feb 10 14:43:40 1998  Ian Lance Taylor  <ian@cygnus.com>
452677298Sobrien
452777298Sobrien	* configure.in: Change -linux* to -linux-gnu*.
452877298Sobrien	* configure: Rebuild.
452977298Sobrien
453077298Sobrien	* app.c (do_scrub_begin): Treat \r as whitespace.
453177298Sobrien
453277298SobrienMon Feb  9 14:16:11 1998  Ian Lance Taylor  <ian@cygnus.com>
453377298Sobrien
453477298Sobrien	* Makefile.am: Update dependencies.
453577298Sobrien	* Makefile.in: Rebuild.
453677298Sobrien
453777298SobrienSat Feb  7 15:33:51 1998  Ian Lance Taylor  <ian@cygnus.com>
453877298Sobrien
453977298Sobrien	* configure, aclocal.m4: Rebuild with new libtool.
454077298Sobrien
454177298SobrienFri Feb  6 16:08:30 1998  Jeffrey A Law  (law@cygnus.com)
454277298Sobrien
454377298Sobrien	* config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
454477298Sobrien	the argument to bfd_set_arch_mach.
454577298Sobrien	(load_address): Use bfd_arch_bits_per_address to determine the
454677298Sobrien	bit size of an address instead of looking at the isa level.
454777298Sobrien	(macro, macro2, s_cprestore, s_cpadd): Likewise.
454877298Sobrien
454977298SobrienFri Feb  6 14:44:34 1998  Nick Clifton  <nickc@cygnus.com>
455077298Sobrien
455177298Sobrien	* config/tc-v850.c (md_parse_option): Add -mv850any command line option.
455277298Sobrien
455377298SobrienThu Feb  5 12:39:08 1998  Ian Lance Taylor  <ian@cygnus.com>
455477298Sobrien
455577298Sobrien	* ehopt.c: New file.
455677298Sobrien	* as.h (enum _relax_state): Add rs_cfa.
455777298Sobrien	(check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
455877298Sobrien	(eh_frame_relax_frag, eh_frame_convert_frag): Declare.
455977298Sobrien	* read.c (emit_expr): Call check_eh_frame.
456077298Sobrien	* write.c (cvt_frag_to_fill): Handle rs_cfa.
456177298Sobrien	(relax_segment): Likewise.
456277298Sobrien	* Makefile.am: Rebuild dependencies.
456377298Sobrien	(GAS_CFILES): Add ehopt.c.
456477298Sobrien	(GENERIC_OBJS): Add ehopt.o.
456577298Sobrien	* doc/internals.texi (Frags): Document rs_cfa.
456677298Sobrien
456777298Sobrien	* as.c (show_usage): Mention --traditional-format.
456877298Sobrien	(parse_args): Accept --traditional-format.
456977298Sobrien	* as.h (flag_traditional_format): Declare.
457077298Sobrien	* output-file.c (output_file_create): If flag_traditional_format,
457177298Sobrien	set BFD_TRADITIONAL_FORMAT on stdoutput.
457277298Sobrien	* doc/as.texinfo, doc/as.1: Document --traditional-format.
457377298Sobrien
457477298Sobrien	* config/tc-mips.c (append_insn): Make sure that if we have a
457577298Sobrien	fixup for an unmatched %hi reloc, it does not associated with a
457677298Sobrien	variant frag.
457777298Sobrien
457877298Sobrien	* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
457977298Sobrien	* doc/Makefile.in: Likewise.
458077298Sobrien
458177298SobrienWed Feb  4 15:41:54 1998  Nick Clifton  <nickc@cygnus.com>
458277298Sobrien
458377298Sobrien	* config/tc-m32r.c (check_for_side_effects): New function.
458477298Sobrien	(can_make_parallel): Add checks for instruction side effects
458577298Sobrien	clashing with the other instruction.
458677298Sobrien	(assemble_parallel_insn): Improve warning messages.  Return error
458777298Sobrien	message from non-swapped instruction order.
458877298Sobrien
458977298SobrienWed Feb  4 20:00:26 1998  James G. Smith  <jsmith@teknema.demon.co.uk>
459077298Sobrien
459177298Sobrien	* config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
459277298Sobrien
459377298Sobrien	* config/tc-arm.h: Replace md_after_pass_hook definition with a
459477298Sobrien	md_cleanup definition.  This moves the forced literal output to
459577298Sobrien	the end of the source pass, and avoids macro's inserting literals
459677298Sobrien	into the code immediately after the macro expansion.
459777298Sobrien
459877298SobrienWed Feb  4 13:17:19 1998  Ian Lance Taylor  <ian@cygnus.com>
459977298Sobrien
460077298Sobrien	* config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
460177298Sobrien	a gas internal symbol is adjustable.
460277298Sobrien	* config/tc-ppc.h (tc_fix_adjustable): Likewise.
460377298Sobrien
460477298Sobrien	* as.h: If gcc version greater than 2.6, use `__format__' and
460577298Sobrien	`__printf__' in function attributes, rather than `format' and
460677298Sobrien	`printf'.
460777298Sobrien
460877298SobrienMon Feb  2 18:38:18 1998  Ian Lance Taylor  <ian@cygnus.com>
460977298Sobrien
461077298Sobrien	* config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
461177298Sobrien
461277298SobrienMon Feb  2 18:30:34 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>
461377298Sobrien
461477298Sobrien	Add tms320c30 support:
461577298Sobrien	* config/tc-tic30.h: New file.
461677298Sobrien	* config/tc-tic30.c: New file.
461777298Sobrien	* config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
461877298Sobrien	TARGET_FORMAT as "coff-tic30".
461977298Sobrien	* configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
462077298Sobrien	* Makefile.am: Rebuild dependencies.
462177298Sobrien	(CPU_TYPES): Add tic30.
462277298Sobrien	(CPU_OBJ_VALID): tic30-aout is valid.
462377298Sobrien	(TARGET_CPU_CFILES): Add config/tc-tic30.c.
462477298Sobrien	(TARGET_CPU_HFILES): Add config/tc-tic30.h.
462577298Sobrien	* configure, Makefile.in: Rebuild.
462677298Sobrien
462777298SobrienMon Feb  2 10:20:37 1998  Nick Clifton  <nickc@cygnus.com>
462877298Sobrien
462977298Sobrien	* config/tc-v850.c (md_assemble): Improvements to error messages.
463077298Sobrien
463177298SobrienMon Feb  2 12:39:05 1998  Geoff Keating  <geoffk@ozemail.com.au>
463277298Sobrien
463377298Sobrien	* config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
463477298Sobrien	BFD_RELOC_HI16_S to store the high bits of any value.
463577298Sobrien
463677298Sobrien	* config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
463777298Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
463877298Sobrien	assembler calculate relocations to any external symbol at all.
463977298Sobrien	* config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
464077298Sobrien	involving generation of pc-relative relocs.
464177298Sobrien	(md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
464277298Sobrien	has been moved to md_apply_fix3.
464377298Sobrien
464477298Sobrien	* config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
464577298Sobrien	(ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
464677298Sobrien	which actually means (the address of identifier's GOT entry) +
464777298Sobrien	constant, which is not particularly useful.
464877298Sobrien
464977298SobrienFri Jan 30 11:02:35 1998  Doug Evans  <devans@canuck.cygnus.com>
465077298Sobrien
465177298Sobrien	* read.h (include_dirs): Declare.
465277298Sobrien	(include_dir_count,include_dir_maxlen): Declare.
465377298Sobrien
465477298SobrienFri Jan 30 11:47:02 1998  Ian Lance Taylor  <ian@cygnus.com>
465577298Sobrien
465677298Sobrien	* configure.in: Correct check for shared opcodes library.
465777298Sobrien	* configure: Rebuild.
465877298Sobrien
465977298Sobrien	* listing.c (buffer_line): If we can't open the file, set at_end.
466077298Sobrien	(listing_print): Remove unused local variable fi.
466177298Sobrien
466277298Sobrien	* config/m68k-parse.y (reglistpair): Handle register list in
466377298Sobrien	either order.
466477298Sobrien
466577298Sobrien	* config/vms-conf.h: Don't undef VERSION.
466677298Sobrien
466777298SobrienThu Jan 29 14:42:44 1998  Pat Rankin  <rankin@eql.caltech.edu>
466877298Sobrien
466977298Sobrien	* Makefile.am (CONFIG_OBJS): New variable, containing part of old
467077298Sobrien	OBJS variable.
467177298Sobrien	(GENERIC_OBJS): New variable, with the rest of the old OBJS
467277298Sobrien	variable.
467377298Sobrien	(OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
467477298Sobrien	($(srcdir)/make-gas.com): Rename from make-gas.com.
467577298Sobrien	(stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
467677298Sobrien	(EXTRA_DIST): Define.
467777298Sobrien	* vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
467877298Sobrien	explicitly rather than via the list of object files.
467977298Sobrien	(gcc-as.opt): New file created when make-gas.com is run.
468077298Sobrien	* config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
468177298Sobrien	itbl-cpu.h} to #include appropriate file rather than copying that
468277298Sobrien	file.
468377298Sobrien	* config/vms-conf.h: Synchronize with current config.in.
468477298Sobrien	* Makefile.in: Rebuild.
468577298Sobrien
468677298SobrienThu Jan 29 18:48:19 1998  Bill Moyer  <billm@cygnus.com>
468777298Sobrien
468877298Sobrien	* config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
468977298Sobrien	(parallel_ok): Relaxed parallel subinstruction dependency check.
469077298Sobrien
469177298SobrienWed Jan 28 14:35:00 1998  Bill Moyer <billm@cygnus.com>
469277298Sobrien
469377298Sobrien	* as.h (flag_warn_suppress_instructionswap): added new flag.
469489857Sobrien	* config/tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
469577298Sobrien	command line argument.
469689857Sobrien	* config/tc-d10v.c (write_2_short): emit "Swapping instructions"
469777298Sobrien	warning only if flag_warn_suppress_instructionswap is false.
469877298Sobrien
469977298SobrienWed Jan 28 16:41:19 1998  J.J. van der Heijden  <J.J.vanderHeijden@student.utwente.nl>
470077298Sobrien
470177298Sobrien	* configure.in (i386-*-mingw32*): New target.
470277298Sobrien	* configure: Rebuild.
470377298Sobrien
470477298SobrienWed Jan 28 14:51:18 1998  Ian Lance Taylor  <ian@cygnus.com>
470577298Sobrien
470677298Sobrien	* symbols.c (resolve_symbol_value): Don't set the segment if it
470777298Sobrien	hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
470877298Sobrien
470977298Sobrien	* config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
471077298Sobrien	S_GET_SEGMENT.
471177298Sobrien
471277298SobrienWed Jan 28 13:54:50 1998  Pat Rankin  <rankin@eql.caltech.edu>
471377298Sobrien
471477298Sobrien	as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
471577298Sobrien	depends upon HAVE_{UNLINK,REMOVE} values rather than host
471677298Sobrien	compiler.
471777298Sobrien
471877298SobrienWed Jan 28 13:48:08 1998  Ian Lance Taylor  <ian@cygnus.com>
471977298Sobrien
472077298Sobrien	* config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
472177298Sobrien
472277298SobrienWed Jan 28 09:52:00 1998  Nick Clifton  <nickc@cygnus.com>
472377298Sobrien
472477298Sobrien	* config/tc-v850.c (v850_insert_operand): Display instruction when
472577298Sobrien	an error is encountered.
472677298Sobrien
472777298SobrienTue Jan 27 13:32:01 1998  Robert Lipe  <robertl@dgii.com>
472877298Sobrien
472977298Sobrien	* configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
473077298Sobrien	(i386-*-sco3.2v5*coff): New target.
473177298Sobrien	(i386-*-sco3.2*): New target.
473277298Sobrien	* configure: Rebuild.
473377298Sobrien
473477298SobrienTue Jan 27 11:06:52 1998  Nick Clifton  <nickc@cygnus.com>
473577298Sobrien
473677298Sobrien	* config/tc-v850.c: Tidy error message production.
473777298Sobrien
473877298SobrienTue Jan 27 12:24:32 1998  Ian Lance Taylor  <ian@cygnus.com>
473977298Sobrien
474077298Sobrien	* config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
474177298Sobrien	validate_immediate return value in the right type for comparisons
474277298Sobrien	to FAIL.
474377298Sobrien
474477298SobrienTue Jan 27 06:51:59 1998  Richard Henderson  <rth@cygnus.com>
474577298Sobrien
474677298Sobrien	* listing.c (MAX_BYTES): Use listing variables not constants.
474777298Sobrien	(data_buffer): No longer an array, but a pointer.
474877298Sobrien	(calc_hex): sizeof(data_buffer) -> MAX_BYTES.
474977298Sobrien	(listing_listing): Allocate data_buffer.
475077298Sobrien
475177298SobrienTue Jan 27 06:38:35 1998  Richard Henderson  <rth@cygnus.com>
475277298Sobrien
475377298Sobrien	* as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
475477298Sobrien	--listing-rhs-width, --listing-cont-lines.
475577298Sobrien	(show_usage): Update.
475677298Sobrien	* listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
475777298Sobrien	(listing_lhs_cont_lines, listing_rhs_width): New vars.
475877298Sobrien	(print_lines): Use the variables instead of the constants.
475977298Sobrien	(listing_listing): Likewise.
476077298Sobrien	* listing.h: Declare the new vars.
476177298Sobrien
476277298SobrienTue Jan 27 05:32:05 1998  Richard Henderson  <rth@cygnus.com>
476377298Sobrien
476477298Sobrien	* as.c (parse_args): Add --keep-locals alias for -L.
476577298Sobrien	Add --strip-local-absolute.
476677298Sobrien	(show_usage): Update.
476777298Sobrien	* as.h (flag_strip_local_absolute): New flag.
476877298Sobrien	* symbols.c (S_IS_LOCAL): Use it.
476977298Sobrien	* config/obj-aout.h (S_IS_LOCAL): Likewise.
477077298Sobrien	* config/obj-bout.h (S_IS_LOCAL): Likewise.
477177298Sobrien	* config/obj-coff.h (S_IS_LOCAL): Likewise.
477277298Sobrien
477377298SobrienMon Jan 26 13:07:41 1998  Nick Clifton  <nickc@cygnus.com>
477477298Sobrien
477577298Sobrien	* config/tc-m32r.c: Detect if explicitly parallel instructions
477677298Sobrien	might have an io conflict and issue a warning message.
477777298Sobrien
477877298SobrienThu Jan 22 17:51:44 1998  Nick Clifton  <nickc@cygnus.com>
477977298Sobrien
478077298Sobrien	* cgen.c (cgen_save_fixups, cgen_restore_fixups,
478177298Sobrien	cgen_swap_fixups): Functions to save, restore and swap the fixup
478277298Sobrien	chain with a backup copy.
478377298Sobrien	(cgen_asm_finish_insn): Returns address of constructed insn.
478477298Sobrien
478577298SobrienWed Jan 21 16:49:10 1998  Richard Henderson  <rth@cygnus.com>
478677298Sobrien
478777298Sobrien	* listing.c (file_info_struct): Remove FILE, add POS.
478877298Sobrien	(last_open_file_info, last_open_file): New; a one entry FILE* cache.
478977298Sobrien	(file_info): Don't open the file.
479077298Sobrien	(buffer_line): Check for the file in the last_open cache, updating
479177298Sobrien	as necessary.
479277298Sobrien	(print_source): Don't reference file_info->file.
479377298Sobrien	(listing_listing): Likewise.
479477298Sobrien	(listing_print): Close the file in the cache, if any.
479577298Sobrien
479677298SobrienFri Jan 16 14:51:48 1998  Ian Lance Taylor  <ian@cygnus.com>
479777298Sobrien
479877298Sobrien	* read.c (dwarf_file_string): New file static variable.
479977298Sobrien	(emit_expr): Look for constant sequence that leads up to a file
480077298Sobrien	name in DWARF debugging output.
480177298Sobrien	(stringer): Use dwarf_file_string to decide whether to accept a
480277298Sobrien	string as a file name.
480377298Sobrien
480477298SobrienFri Jan 16 11:30:37 1998  Richard Henderson  <rth@cygnus.com>
480577298Sobrien
480689857Sobrien	* config/tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
480777298Sobrien	(crack_operand): Add reg->reglst MRI hack.
480877298Sobrien	(r_seg): Put reglst symbols in reg_section.
480977298Sobrien	(m68k_frob_symbol): Frob reglst symbols into absolute_section.
481077298Sobrien
481177298SobrienThu Jan 15 14:19:01 1998  Richard Henderson  <rth@cygnus.com>
481277298Sobrien
481389857Sobrien	* config/tc-sh.c (get_specific): Handle SGR & DBR.
481477298Sobrien
481577298SobrienThu Jan 15 13:46:48 1998  Richard Henderson  <rth@cygnus.com>
481677298Sobrien
481789857Sobrien	* config/tc-h8300.c (parse_reg): Take the length of the symbol into
481877298Sobrien	account when attempting to match a register name.
481989857Sobrien	* config/tc-h8500.c (parse_reg): Likewise.
482077298Sobrien
482177298SobrienWed Jan 14 17:52:33 1998  Nick Clifton  <nickc@cygnus.com>
482277298Sobrien
482377298Sobrien	* cgen.c: Formatting changes to improve readability.
482477298Sobrien
482577298SobrienWed Jan 14 15:41:41 1998  Jeffrey A Law  (law@cygnus.com)
482677298Sobrien
482777298Sobrien	* config/tc-mips.c (macro): Rework division code to avoid unfilled
482877298Sobrien	delay slot.
482977298Sobrien
483077298SobrienWed Jan 14 18:04:20 1998  Michael Meissner  <meissner@cygnus.com>
483177298Sobrien
483277298Sobrien	Based on a patch from Jim Wilson
483377298Sobrien	* config/tc-d30v.c (do_assemble): Remove non-ansi default case.
483477298Sobrien	(tc_gen_reloc): Handle cross section PC relative relocs
483577298Sobrien	correctly.
483677298Sobrien
483777298SobrienWed Jan 14 15:02:19 1998  Doug Evans  <devans@seba.cygnus.com>
483877298Sobrien
483977298Sobrien	* config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
484077298Sobrien
484177298SobrienMon Jan 12 13:04:57 1998  Doug Evans  <devans@seba.cygnus.com>
484277298Sobrien
484377298Sobrien	* cgen.c: #include setjmp.h.  Clean up pass over `struct foo' usage.
484477298Sobrien	(expr_jmp_buf): New static local.
484577298Sobrien	(cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
484677298Sobrien	(cgen_md_operand): New function.
484789857Sobrien	* config/tc-m32r.c: Clean up pass over `struct foo' usage.
484877298Sobrien	(md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
484977298Sobrien
485077298SobrienTue Jan  6 15:36:02 1998  Richard Henderson  <rth@cygnus.com>
485177298Sobrien
485277298Sobrien	* symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
485377298Sobrien	(S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
485477298Sobrien
485577298SobrienFri Jan  2 16:08:54 1998  Ian Lance Taylor  <ian@cygnus.com>
485677298Sobrien
485777298Sobrien	* config/tc-i386.c (i386_operand): Give an error if there are
485877298Sobrien	unrecognized characters after an expression.
485977298Sobrien
486077298SobrienFor older changes see ChangeLog-9697
4861218822Sdim
4862218822SdimLocal Variables:
4863218822Sdimmode: change-log
4864218822Sdimleft-margin: 8
4865218822Sdimfill-column: 74
4866218822Sdimversion-control: never
4867218822SdimEnd:
4868