Add NT_WIN32PSTATUS to list of recognised core notes
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
2e13b764
NC
12000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
2
3 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
4 (obj_elf_visibility): New function.
5
6 * doc/as.texinfo (Visibility): New node: document visibility
7 pseudo ops.
8
3138f287
AM
91999-12-27 Alan Modra <alan@spri.levels.unisa.edu.au>
10
11 * config/tc-i386.c (MATCH): Relax JumpAbsolute check. Emit a
12 warning for absolute jump/call without `*' in non-intel mode. No
13 need to set i.types[0] JumpAbsolute in intel mode.
14
df32bc61
NC
151999-12-22 Philip Blundell <pb@futuretv.com>
16
17 * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
18 hook function when changing sections.
19 (arm_s_data): Likewise.
20
b4d0b2b3
NC
211999-12-14 Nick Clifton <nickc@cygnus.com>
22
23 * config/tc-arm.c (md_parse_option): Add support for -marm720
df32bc61 24 command line switch.
b4d0b2b3 25
85cb2cf9
JL
26Tue Nov 30 22:59:00 1999 Jeffrey A Law (law@cygnus.com)
27
28 * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
29 (r_registers, xr_registers): Define.
30 (r_register_name, xr_register_name): New functions.
31 (md_assemble): Handle new am33 operand types and instruction
32 formats.
33 (mn10300_insert_operand, check_operand): Likewise.
34
a64bcdd8
NC
351999-11-29 Nick Clifton <nickc@cygnus.com>
36
37 * config/tc-arm.c (thumb_mode): Turn into a tristate variable.
38 (s_force_thumb): Set thumb_mode to 2.
39 (md_assemble): Do not complain about thumb instructions on a
40 non-thumb target if thumb_mode is set to 2.
41
43b4c25e
MM
421999-11-28 Michael Meissner <meissner@cygnus.com>
43
44 * config/tc-alpha.c (toplevel): Include struc-symbol.h.
45 (alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases.
46 (O_...): Add new machine dependent expressions if we are handling
47 explicit relocations.
48 (alpha_reloc_op): New static table holding the explicit relocation
49 information.
50 (alpha_literal_hash): New static to hold the hash table for
51 explicit relocations.
52 (alpha_macros): Add support for explicit relocations.
53 (md_begin): If explicit relocations, initialize hash table.
54 (md_assemble): Don't print a second error if tokenize_arguments
55 already printed an error message.
56 (md_apply_fix): Add support for explicit relocations.
57 (alpha_force_relocation): Ditto.
58 (alpha_fix_adjustable): Ditto.
59 (alpha_adjust_symtab): New function to support explicit
60 relocations.
61 (alpha_adjust_symtab_relocs): Ditto.
62 (debug_exp): Debug stub compiled if DEBUG_ALPHA is defined.
63 (tokenize_arguments): Add debug code if DEBUG_ALPHA is defined.
64 Add support for explicit relocations. Return -2 if an error
65 message was already printed.
66 (find_macro_match): Add support for explicit relocations. Comment
67 each of the cases.
68 (emit_insn): Add support for explicit relocations.
69 (assemble_tokens): Ditto.
70 (emit_ldgp): Ditto.
71 (load_expression): Ditto.
72 (emit_lda): Ditto.
73 (emit_ldah): Ditto.
74 (emit_ir_load): Ditto.
75 (emit_loadstore): Ditto.
76 (emit_ldXu): Ditto.
77 (emit_ldil): Ditto.
78 (emit_sextX): Ditto.
79 (emit_division): Ditto.
80 (emit_jsrjmp): Ditto.
81 (emit_retjcr): Ditto.
82
83 * config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if
84 ELF object format.
85 (tc_adjust_symtab): If explicit relocations, call the function
86 alpha_adjust_symtab.
87 (TC_FIX_TYPE): Add fields to be able to move explicit lituse
88 relocations next to the literal relocation they reference.
89 (TC_INIT_FIX_DATA): Initialize the new fields.
90 (TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined.
91
afbf211f
JL
92Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com)
93
94 * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
95 'B' operand for PA2.0 bb instruction.
96
f11900d0
NC
971999-11-18 Nick Clifton <nickc@cygnus.com>
98
99 * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
100 target.
101
102 * config/tc-mcore.c (tc_gen_reloc): Support generation of RVA
103 relocs.
104 (mcore_force_relocation): Force relocations to be generated for
105 RVA relocs.
106
2daf4fd8
AM
1071999-11-16 Alan Modra <alan@spri.levels.unisa.edu.au>
108
109 * config/tc-i386.c (i386_immediate): Disallow O_big immediates.
110 (i386_displacement): Disallow O_big displacements.
111
eb726e5d
DL
112Mon Nov 15 20:12:43 1999 Donald Lindsay <dlindsay@cygnus.com>
113
114 * config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg): Small
115 improvements in error checking.
116 (md_assemble): Support for unconditional ARM instructions.
117 (md_parse_option): Support for -m[arm]v5e flag.
118
035349a4
NC
1191999-11-12 Nick Clifton <nickc@cygnus.com>
120
121 * macro.c (buffer_and_nest): Do not check beyond the end of the
122 buffer.
123
c1eae114
NC
1241999-11-11 Nick Clifton <nickc@cygnus.com>
125
126 * macro.c (buffer_and_nest): Look for seperator after TO and
127 FROM tokens.
128
c5c834aa
AH
1291999-11-08 Andrew Haley <aph@cygnus.com>
130
131 * app.c (do_scrub_chars): When in State 10, treat backslash
132 characters in the same way as as symbol characters.
133
98007ce7
RH
1341999-11-07 Richard Henderson <rth@cygnus.com>
135
136 * config/tc-alpha.c (alpha_align): Check, don't assert, that
137 the previous label was in the current section before playing
138 with auto-alignment.
139
d6c497c7
NC
1401999-11-06 Nick Clifton <nickc@cygnus.com>
141
142 * config/tc-v850.c (v850_force_relocation): Force relocation
143 for weak symbols.
144 (v850_pcrel_from_selection): Do not compute a pcrel offset if
145 the symbol is weak.
146
dd33dc0f
MM
1471999-11-05 Michael Meissner <meissner@cygnus.com>
148
149 * expr.h (operatorT): Increase machine dependent operators to 16.
150 * expr.c (op_rank): Ditto.
151
5f91fe03
ILT
1521999-11-03 Ian Lance Taylor <ian@zembu.com>
153
53b0d397
ILT
154 * read.c (pseudo_set): Reject attempts to set the value of a
155 section symbol.
156
5f91fe03
ILT
157 * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
158 if it is defined.
159
160 * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
161
162 * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
163 to bfd_set_section_contents.
164
829ce307
NC
1651999-11-03 Nick Clifton <nickc@cygnus.com>
166
167 * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
168
2bd7f1f3
GRK
1691999-11-01 Gavin Romig-Koch <gavin@cygnus.com>
170
171 * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
172 (mips_ip): Use OPCODE_IS_MEMBER.
173
90ca882f
JL
174Wed Oct 27 16:50:44 1999 Don Lindsay <dlindsay@cygnus.com>
175
acb56623
JL
176 * config/tc-arm.c (reg_required_here): Improve comments.
177
b49cfa5d
JL
178 * config/tc-arm.c (thumb_opcode): Add "variants" field.
179 (tinsns): Initialize variants field.
180
181 * config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and
182 BAD_PC respectively.
90ca882f 183
29c4c6b5
NC
1841999-10-27 Scott Bambrough <scottb@netwinder.org>
185
186 * config/tc-arm.c (reloc_map[]): Fix compiler warning.
187 * config/tc-arm.h: Fix compile time warnings.
188
d9fd9852
DN
189Mon Oct 18 18:11:10 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
190
191 * tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
192 form @abs16, @(abs16) and @(abs16 + imm).
193
9ce8a5dd
GRK
1941999-10-21 Gavin Romig-Koch <gavin@cygnus.com>
195
196 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
197 (ISA_HAS_64_BIT_REGS) New.
198 (gpr_interlocks,md_begin,reg_needs_delay,append_insn,
199 mips_emit_delays,macro_build,load_register,load_addresss,
200 macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
201 and/or use new ISA_xxx macros in expressions involving
202 ISA, particularly mips_opts.isa.
203
446a06c9
MM
2041999-10-18 Michael Meissner <meissner@cygnus.com>
205
206 * expr.h (operatorT): Add machine dependent operators md1..md8.
207 (expressionS): Make X_op 8 bits instead of 7. Add a X_md field
208 for the machine dependent operators to use.
209
210 * expr.c (op_rank): Add machine dependent operators.
211
212 * config/tc-alpha.c (O_pregister): Define as a machine dependent
213 operator.
214 (O_cpregister): Ditto.
215 (md_begin): Change X_op test that field is wide enough to use
216 O_max instead of O_alpha_max.
217 (cpu_types): Fill in missing initializer.
218 (alpha_num_macros): Make unsigned.
219 (md_assemble): Make opnamelen be size_t.
220 (md_apply_fix): Cast alpha_num_operands to int before testing.
221 (alpha_force_relocation): Ditto.
222 (alpha_fix_adjustable): Ditto.
223 (alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED.
224 (tc_gen_reloc): Ditto.
225 (tc_get_register): Ditto.
226 (emit_ldgp): Ditto.
227 (emit_lda): Ditto.
228 (emit_ldah): Ditto.
229 (emit_ldil): Ditto.
230 (s_alpha_ent): Ditto.
231 (s_alpha_end): Ditto.
232 (s_alpha_frame): Ditto.
233 (s_alpha_prologue): Ditto.
234 (s_alpha_file): Ditto.
235 (s_alpha_gprel32): Ditto.
236 (s_alpha_proc): Ditto.
237 (s_alpha_set): Ditto.
238 (s_alpha_base): Ditto.
239 (s_alpha_align): Ditto.
240 (s_alpha_arch): Ditto.
241 (alpha_align): Ditto.
242 (assemble_insn): Suppress unused variable warning.
243 (emit_insn): Ditto.
244 (assemble_insn): Don't assume X_op and X_unsigned are in a given
245 order in the structure.
246 (s_alpha_coff_wrapper): Avoid int/unsigned comparison.
247
476cdcb8
JL
248Sun Oct 17 17:15:58 1999 Jeffrey A Law (law@cygnus.com)
249
250 * config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
251
c388dee8
AM
2521999-10-12 Alan Modra <alan@spri.levels.unisa.edu.au>
253
254 * config/tc-i386.c (i386_index_check): Correct #endif location.
255
2bdd6cf5
GK
256Mon Oct 11 14:02:40 1999 Geoffrey Keating <geoffk@cygnus.com>
257
258 * as.c (show_usage): Document new options.
259 (parse_args): Add --no-warn, --warn, --fatal-warnings,
260 which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
261 (parse_args): Parse the new options.
262 (main): If there were warnings, and --fatal-warnings
263 was specified, print an error.
264 * as.h: New variable, flag_fatal_warnings, for new option.
265
d53d2751
JL
266Sun Oct 10 01:47:23 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org>
267
268 * config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
269 '@'. Change autoincrement completers to fall through to cache control
270 completers.
271
272 * config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
273 arg.
274 (pa_parse_addb_64_cmpltr): New function.
275
276 * config/tc-hppa.c (pa_ip): Change error message.
277 (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
278 '?Q' args to allow falling through.
279
280 * configtc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
281 Remove unused conditional codes.
282 (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
283
ba09cd8d
DN
284Thu Oct 7 00:23:53 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
285
286 * config/tc-d30v.c (CHAR_BIT): Define.
287 (check_range): Fix bit operations to support integers bigger than
288 32 bits.
289
c43185de
DN
290Thu Oct 7 00:11:50 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
291
292 * config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3
293 operands.
294
925c058e
DE
295Mon Oct 4 17:24:23 1999 Nick Clifton <nickc@cygnus.com>
296 Doug Evans <devans@cygnus.com>
297
298 Add support for m32rx.
299 * config/tc-m32r.c (enable_m32rx): New static global.
300 (enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
301 (allow_m32rx): New function.
302 (M32R_SHORTOPTS): Add `O'.
303 (md_longopts): Add --m32rx plus several warning options.
304 (md_parse_option): Handle new options.
305 (md_show_usage): Print them.
306 (md_begin): Enable m32rx.
307 (OPERAND_IS_COND_BIT): New macro.
308 (first_writes_to_seconds_operands): New function.
309 (writes_to_pc,can_make_parallel,make_parallel): New functions.
310 (target_make_parallel,assemble_two_insns): New functions.
311 (md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
312 If optimizing and m32rx, try to make consecutive insns parallel.
313
fba2b7f9
GK
314Tue Sep 28 14:06:44 1999 Geoffrey Keating <geoffk@cygnus.com>
315
316 * config/tc-mips.c (nopic_need_relax): Allow for the
317 .sdata.foo sections generated by -fdata-sections,
318 and for the .gnu.linkonce.s sections generated by C++.
319
fd232ac8
JL
320Thu Sep 23 07:13:45 1999 Jerry Quinn <jquinn@nortelnetworks.com>
321
ce674324
JL
322 * config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
323 with cleaner code using completer prefixes. Add 'Y'.
324
fd232ac8
JL
325 * config/tc-hppa.c (pa_ip): Add parens to silence compiler.
326
b1039fc4
JL
327Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com)
328
329 * config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
330 (pa_ip, case 'm'): Failure to get a CBIT specifier just means the
331 insn does not match and we should try the next insn in the table.
332
913f265c
NC
3331999-09-22 Nick Clifton <nickc@cygnus.com>
334
335 * config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.
336
54af6ff6
JL
337Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com)
338
339 * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
340 of PA2.0 support.
341
4cc782b5
ILT
3421999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
343
344 * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
345 OBJ_ELF. If ELF, add "sq".
346 (md_parse_option): If ELF, ignore -s and -q.
347 (md_show_usage): Mention ELF options.
348
6be78360
JL
349Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
350
65fab780
JL
351 * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
352 operands.
353
71823da4
JL
354 * config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
355
61dd1d31
JL
356 * config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
357
1cf6ae67
JL
358 * config/tc-hppa.c (struct pa_it): New field "trunc".
359 (pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands.
360 (pa_parse_ftest_gfx_completer): New function
361 (pa_parse_fp_cnv_format): New function.
362
77c02e18
JL
363 * config/tc-hppa.c (pa_ip): Handle 'X' operand.
364 (md_apply_fix): Handle 22bit pc-rel branches.
365
629d9417
JL
366 * config/tc-hppa.c (pa_ip): Handle 'B' operand.
367
dbe2f9ee
JL
368 * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
369
3db6e6bd
JL
370 * config/tc-hppa.c (pa_ip): Handle 'l' operand.
371
6be78360
JL
372 * config/tc-hppa.c (pa_ip): Handle 'g' operand.
373
e061d86f
JL
374at Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
375
376 * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
377 (pa_ip): Handle 'fX'.
378
379Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
380
381 * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
382 (pa_ip): Handle 'fX'.
383
7acbfc6b
JL
384Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com)
385
386 * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
387 unwinds unless the function is in the text space.
388 (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
389
2d93dcc4
JL
390Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com)
391
b52c78b8
JL
392 * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
393 (md_assemble): To here. Tweak address generation.
394
2d93dcc4
JL
395 * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
396 debug_line.
397 (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
398 (md_assemble): Call dwarf2_where for OBJ_ELF.
399 (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
400 (pa_end_of_source): New function.
401 * tc-hppa.h (md_end): Define for OBJ_ELF.
402
6d83c84b
MM
4031999-09-14 Michael Meissner <meissner@cygnus.com>
404
405 * configure.in (Canonicalization of target names): Remove adding
406 ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
407 generates $ac_config_sub with a ${CONFIG_SHELL} already.
408 * configure: Regenerate.
409
41fd319a
ILT
4101999-09-14 Donn Terry <donn@interix.com>
411
412 * config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
413
795a7704
AM
4141999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au>
415
2f66722d
AM
416 * config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a
417 pc-relative jmp/call to an absolute symbol.
418 (md_apply_fix3): When OBJ_ELF, don't add the values in twice for
419 absolute section symbols.
420
795a7704
AM
421 * config/tc-i386.c (md_assemble): Correct frag_var size. Tidy
422 jump handling code and comments.
423
c0c949c7
ILT
4241999-09-12 Ian Lance Taylor <ian@zembu.com>
425
426 * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
427 the value if TE_PE and a global defined symbol.
428
e723ef7c
ILT
4291999-09-11 Ian Lance Taylor <ian@zembu.com>
430
431 * write.c (dump_section_relocs): Call print_symbol_value_1 to
432 print the symbol, rather than printing it here.
433
fa16d387
ILT
4341999-09-11 Donn Terry <donn@interix.com>
435
d33e1d24
ILT
436 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
437 BFD_RELOC_RVA relocations.
438
18dc2407
ILT
439 * config/tc-i386.c (md_undefined_symbol): Compare the name against
440 the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
441 starts with "_G".
442
945a1a6b
ILT
443 * write.c (write_relocs): Call SET_SECTION_RELOCS if it is
444 defined.
445 * config/obj-coff.h (SET_SECTION_RELOCS): Define.
446 * doc/internals.texi (Object format backend): Document
447 SET_SECTION_RELOCS.
448
79d292aa
ILT
449 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
450 relocations against global symbols if TE_PE.
451
7a6284c4
ILT
452 * config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
453 (obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
454
8828d862
ILT
455 * config/obj-coff.c (coff_frob_symbol): Prohibit weak common
456 symbols.
457
9690c54d
ILT
458 * config/obj-coff.c (obj_coff_endef): Don't merge labels, or
459 symbols which do not have a constant value, or tags with
460 non-tags. Remove the symbol from the list before adding it at the
461 end.
462
23dab925
ILT
463 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
464 C_FCN symbol differently if TE_PE.
465 (obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
466 appears in the pseudo-op, rather coff_line_base which is only set
467 for a .bf symbol.
468
28428223
ILT
469 * config/obj-coff.c (obj_coff_loc): New static function.
470 (obj_pseudo_table): Add "loc".
471
e8a3ab75
ILT
472 * config/obj-coff.c (add_lineno): Check that the line number is
473 positive.
474
2ab9b79e
ILT
475 * config/atof-ieee.c (atof_ieee): Change what_kind to int.
476 * config/atof-vax.c (flonum_gen2vax): Change format_letter to
477 int.
478 (md_atof): Return NULL rather than 0.
479 * config/tc-i386.c (md_atof): Change type to int.
0561a208
ILT
480 * expr.c (expr): Change first parameter to int.
481 * config/obj-coff.c: Add declarations for static functions.
482 (coff_frob_symbol): Use SYM_AUXENT.
483 * config/tc-i386.h (flag_16bit_code): Don't declare.
2ab9b79e 484
5881e4aa
ILT
485 * config/obj-coff.c (obj_coff_section): Default to setting
486 SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
487
e723ef7c
ILT
488 * write.c (adjust_reloc_syms): Print adjusted fixup.
489
fa16d387
ILT
490 * expr.c (integer_constant): Correct too_many_digits calculation
491 in base 10 case.
492
13a830b6
AS
4931999-09-09 Andreas Schwab <schwab@suse.de>
494
495 * doc/c-arm.texi: Fix arguments of @var to not contain
496 punctuation.
497
325188ec
NC
4981999-09-08 Philip Blundell <pb@nexus.co.uk>
499
500 * config/tc-arm.c (s_thumb_set): Only support interworking for ELF
501 and COFF targets.
502 (md_parse_option): Only support -k flag for ELF and COFF targets.
503
e7c1f43c
JL
504Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com)
505
506 * config/tc-hppa.c (pa_ip): Put strict register checks before
507 call to pa_parse_number.
508
4964086a
JL
509 * config/tc-hppa.c (pa_ip): Support 'Z' argument.
510
c4bf532f
ILT
5111999-09-06 Ian Lance Taylor <ian@zembu.com>
512
513 * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
514 BFD_ASSEMBLER code.
515
a33132fd
ILT
5161999-09-06 Donn Terry <donn@interix.com>
517
518 * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
519
0f4f8b56
JL
520Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com)
521
522 * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
523 candidate instruction. Require registers for register arguments
524 when in strict mode. Require assemble-time constants for
525 constants when in strict mode.
526 (pa_get_absolute_expression): Require a constant when in strict
527 mode.
528
d3388653
NC
5291999-09-06 Nick Clifton <nickc@cygnus.com>
530
531 * config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
532
041dd5a9
ILT
5331999-09-04 Steve Chamberlain <sac@pobox.com>
534
535 * config/tc-pj.c: New file, supports picoJava in ELF.
536 * config/tc-pj.h: Ditto.
537 * configure.in (pjl*, pj*): New targets.
538 * Makefile.am: Rebuild dependencies.
539 (CPU_TYPES): Add pj.
540 (TARGET_CPU_CFILES): Add config/tc-pj.c.
541 (TARGET_CPU_HFILES): Add config/tc-pj.h.
542 * doc/c-pj.texi: New file.
543 * doc/as.texinfo: Add some PJ specifics.
544 * doc/all.texi: Add PJ to the list of all architectures, sort them
545 all alphabetically.
546 * doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
547 * configure, Makefile.in, doc/Makefile.in: Rebuild.
548
4ca72d38
AM
5491999-09-02 Alan Modra <alan@spri.levels.unisa.edu.au>
550
551 * config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat.
552 (obj_frob_file): Test for null pointer.
553 (OBJ_COPY_SYMBOL_ATTRIBUTES): Here too.
554 (OBJ_PROCESS_STAB): And here.
555 (elf_obj_sy): Remove
556
557 * config/obj-elf.h: #ifndef everything defined in obj-multi.h,
558 except OBJ_PROCESS_STAB, which we #undef for ecoff.
559 (elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE.
560
561 * config/obj-coff.c (no_func): Remove.
562 (coff_format_ops): Change occurrences of no_func to 0, as we test
563 for 0 in obj-multi.h.
564
565 * configure.in: Enable bfd for i386-coff when primary target is
566 bfd. Enable i386 elf,coff emulation support. Don't set
567 USE_EMULATIONS=1 or te_file=multi unless there is more than one
568 emulation to support.
569 *configure: Regenerate.
570
bcef92fa
NC
5711999-09-02 Nick Clifton <nickc@cygnus.com>
572
573 * config/tc-mcore.c (mcore_s_section): Do not dump literals if a
574 .section .line directive is encountered.
575
cdf82bcf
NC
5761999-09-01 Nick Clifton <nickc@cygnus.com>
577
5856c19a
NC
578 * config/tc-arm.c (md_section_align): Do not align sections in ELF
579 format.
580
cdf82bcf
NC
581 * as.c (show_usage): Add --gdwarf2 to list of options displayed.
582 * as.texinfo: Document --gdwarf2 command line option.
583 Add additional documentation of ARM command line switches.
584
af6bdddf
AM
5851999-08-30 Alan Modra <alan@spri.levels.unisa.edu.au>
586
587 * config/tc-i386.c (i386_intel_memory_operand): Combine
588 i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE
589 and RESTORE_END_STRING around parse_register calls.
590 (i386_operand): Here too.
591 (i386_is_reg): Remove.
592 (parse_register): Move as_bad calls from within this function to
593 callers.
594
5f47d35b
AM
5951999-08-29 Alan Modra <alan@spri.levels.unisa.edu.au>
596
597 Based on a patch from H.J. Lu <hjl@gnu.org>
598 * config/tc-i386.c (parse_register): Handle FP regs specially.
599 (md_begin): Remove '(' and ')' from register_chars.
600
1174497c
DE
6011999-08-29 Doug Evans <devans@casey.cygnus.com>
602
603 * config/tc-m32r.c (md_parse_option): Delete unrecognized option
604 error message (done elsewhere).
605
17d9105c
JL
606Sat Aug 28 01:23:11 1999 Jeffrey A Law (law@cygnus.com)
607
608 * config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
609
9ecc05f0
JL
610Sat Aug 28 00:26:26 1999 Jerry Quinn <jquinn@nortelnetworks.com>
611
97e1581b
JL
612 * config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register
613 args by 'f'.
614
9e4f2d3a
JL
615 * config/tc-hppa.c (pa_ip): Add args q, %, and |.
616
680ef6de
JL
617 * config/tc-hppa.c (pa_ip): Absorb white space in instructions
618 between args.
619 Add new completers. Fix bug in 64 bit condition handling.
620
413c94ba
JL
621 * config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
622 'cS', and 'c*'.
623
28252e61
JL
624 * config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
625
a97685e9
JL
626 * config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!'
627
9ecc05f0
JL
628 * config/tc-hppa.c (pa_ip): Add case for 'I'.
629
cb30237e
NC
6301999-08-27 Jim Wilson <wilson@cygnus.com>
631
632 * dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment.
633 (struct ls): Add frag field. Initialize it to zero.
634 (out_end_sequence): New local text_frag. Set it while in text section.
635 Replace address check with frag check. Set ls.frag to text_frag if
636 out_set_addr called.
637 (dwarf2_gen_line_info): Add explanatory comment. New local saved_frag.
638 Set it before switching sections. Replace address check with frag
639 check. Set ls.frag to saved_frag if out_set_addr called.
640
09a798ea
NC
6411999-08-26 David Mosberger <davidm@hpl.hp.com>
642
643 * dwarf2dbg.c (out_end_sequence): If address changed, directly
644 output "advance_pc" opcode instead of calling gen_addr_line().
645 The latter has the undesired side-effect of creating a new row
646 in the debug line info matrix.
647
e1c05f12
NC
6481999-08-26 Jim Wilson <wilson@cygnus.com>
649
650 * dwarf2dbg.c (out_end_sequence): Correct comments. Set last to
651 ls.last_filename if last is less than zero. Set ls.last_filename
652 when allocating new entry.
653 (dwarf2_gen_line_info): Save seg and subseg info before subseg_new
654 call.
655
b23bac36
AM
6561999-08-20 Alan Modra <alan@spri.levels.unisa.edu.au>
657
658 * config/tc-i386.c (i386_index_check): Fix the displacement size
659 when INFER_ADDR_PREFIX.
660
50f4163f
NC
6611999-08-18 Nick Clifton <nickc@cygnus.com>
662
663 * config/tc-arm.c (md_apply_fix3): If an offset is invalid,
664 display its value.
665
f589a541
ILT
6661999-08-17 Ian Lance Taylor <ian@zembu.com>
667
668 * config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
669 handle 0xffffNNNN constants correctly.
670
11450271
NC
6711999-08-16 Nick Clifton <nickc@cygnus.com>
672
673 * config/tc-arm.c (do_ldst): Look for register conflicts on stores
674 as well as loads.
675
276b1dc2
NC
6761999-08-13 Nick Clifton <nickc@cygnus.com>
677
678 * config/tc-arm.c (validate_offset_imm): Work on unsigned values.
679 (md_apply_fix3): Always pass positive values to
680 validate_offset_imm.
681
ae5ad4ad
NC
6821999-08-12 Nick Clifton <nickc@cygnus.com>
683
684 * config/tc-arm.c (skip_whitespace): New macro.
685 Formatting tidy ups.
686
687 (md_apply_fix3): Store relocation offset in addend for ELF based
688 relocs.
689 (arm_force_relocation): Always generate relocs for Thumb function
690 calls.
691
bf6d3895
AM
6921999-08-11 Alan Modra <alan@spri.levels.unisa.edu.au>
693
694 * config/tc-i386.c (md_assemble): Remove dead code. intel_syntax
695 LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h
696
46031ca9
JL
697Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com)
698
b100be66
JL
699 * config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
700 flags for the unwind subspace.
701
46031ca9
JL
702 * config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
703 (pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
704 suitable relocation based on the size of the target's pointer.
705 Always Use subsegment zero for the unwinders.
706 (pa_level): Handle "2.0w".
707
0825afba
JR
708Mon Aug 9 20:02:22 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
709
710 * config/tc-d30v.c (write_2_short): Don't group repeat instructions
711 with the following instruction unless this was specified.
712
1a1ae23e
ILT
7131999-08-09 Ian Lance Taylor <ian@zembu.com>
714
715 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
716 certain sections, to match BFD changes.
717
81afc846
ILT
7181999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
719
720 * Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
721 (EXTRA_SCRIPTS): Define to keep automake happy.
1a1ae23e 722 * Makefile.in: Rebuild.
81afc846 723
04ad1543
ILT
7241999-08-08 Ian Lance Taylor <ian@zembu.com>
725
726 * Makefile.am: Rename .dep* files to DEP*.
727 (MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather
728 than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP
729 targets to DEPOBJ.
730 * Makefile.in: Rebuild.
731
1eb7027c
RH
7321999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
733
734 * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
735
2dcc60be
ILT
7361999-08-08 Ian Lance Taylor <ian@zembu.com>
737
46eec08e
ILT
738 * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
739 avoid problems on DOS filesystems.
740 * Makefile.in: Rebuild.
741
2dcc60be
ILT
742 * doc/as.texinfo (Section): Document 's' flag for COFF version.
743
7441999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
745
746 * config/obj-coff.c (obj_coff_section): Handle 's' (shared)
747 section flag.
748
76a27922
ILT
7491999-08-08 Ian Lance Taylor <ian@zembu.com>
750
751 * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
81afc846 752 line to create ${GDBINIT} rather than .gdbinit.
76a27922
ILT
753 * configure, Makefile.in, doc/Makefile.in: Rebuild.
754
0741736b
JL
755Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com)
756
757 * config/tc-hppa.c (pa_ip, case '?'): Add missing break.
758
9a913dfb
JL
759Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com>
760
761 * config/tc-hppa.c (pa_ip): Add 64 bit condition completers.
762
a1f2d742
ILT
7631999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
764
765 * config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
766 non-adjustable symbols.
767
55a914bc
JL
768Thu Aug 5 16:52:51 1999 Jerry Quinn <jquinn@nortelnetworks.com>
769
770 * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix.
771
336f7c70 772Thu Aug 5 23:05:56 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5fc44b2d
JR
773
774 * config/tc-sh.c (md_assemble): Call as_bad when there are excess
775 operands.
776
9750fcc5
ILT
7771999-08-05 Donn Terry <donn@interix.com>
778
779 * config/te-interix.h: New file.
780 * configure.in (i386-*-interix*): New target.
781 * configure: Rebuild.
782
39ba5561
JL
783Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
784
785 * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
786 selectors for ELF too.
787 (selector_table): Add "ltp" and "rtp" selectors.
788
eecb386c
AM
7891999-08-04 Alan Modra <alan@spri.levels.unisa.edu.au>
790
791 * config/tc-i386.c (i386_operand): No need to change
792 operand_string pointer in segment reg case before goto
793 do_memory_reference. Initialise displacement_string_start and
794 displacement_string_end after do_memory_reference label.
795 (i386_index_check): Add operand_string param, and print error
796 message on failure here.
797 (i386_intel_memory_operand): Instead of here.
798 (i386_operand): And here.
799 (INFER_ADDR_PREFIX): Enable.
800
801 * doc/c-i386.texi (i386-16bit): Document .code16gcc.
802
803 * config/tc-i386.h (DefaultSize): Define. Renumber following
804 opcode_modifier defines.
805
806 From Etienne Lorrain <etienne.lorrain@ibm.net>
807 * config/tc-i386.c (stackop_size): New variable.
808 (set_16bit_code_flag): Clear it here.
809 (set_16bit_gcc_code_flag): New function.
810 (md_pseudo_table): Add "code16gcc" entry.
811 (md_assemble): Set i.suffix for insns with DefaultSize modifier.
812
f173e82e
ILT
8131999-08-03 Ian Lance Taylor <ian@zembu.com>
814
a04b544b
ILT
815 * config/obj-coff.c (coff_frob_symbol): Always update set_end with
816 next_set_end even if the end symbol is being discarded.
817
818 * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER.
819 * output-file.c, symbols.c, config/tc-i386.c: Likewise.
820 * config/obj-coff.c: Likewise.
821 (seg_info_type): Remove.
822 (seg_info_off_by_4): Change to array of segT.
823 (s_get_segment): Adjust accordingly.
824 (obj_pseudo_table): Fully initialize sentinel entry.
825
f173e82e
ILT
826 * config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
827 Ralf Baechle <ralf@uni-koblenz.de>.
828
c3332e24
AM
8291999-08-03 Etienne Lorrain <etienne.lorrain@ibm.net>
830
831 * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
832
8331999-08-03 Alan Modra <alan@spri.levels.unisa.edu.au>
834
24eab124
AM
835 * config/tc-i386.c: Indentation and white space changes.
836 (i386_index_check): New function. Add INFER_ADDR_PREFIX code, but
837 don't enable it by default.
838 (i386_intel_operand): Remove redundant prototype.
839 Move check on number of memory operands, and i.mem_operands++
840 (i386_intel_memory_operand): To here.
841 Remove i386_immediate code from here. Remove special case code
842 for input and output using (%dx). Remove base/index checks and
843 call i386_index_check instead. Save initial operand_string
844 argument for error message.
845 (i386_operand): Remove redundant prototype. Move base/index
846 checks to i386_index_check.
847 (i386_displacement): Move intel mode check for non-zero
848 i.disp_operand
849 (i386_intel_memory_operand): To here.
c3332e24 850
6d8809aa
RH
8511999-07-30 Jakub Jelinek <jj@ultra.linux.cz>
852
853 * config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
854 (sparc_ip): Warn if %g2 or %g3 register is used and not covered
855 by .register pseudo-op if -64 and --no-undeclared-regs.
856 (s_register, sparc_adjust_symtab): New functions.
857 * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
858 Declare sparc_adjust_symtab as tc_adjust_symtab.
859 * doc/c-sparc.texi: Add description of #ignore special literal
860 for .register pseudo-op.
861
c8d259f7
CM
8621999-07-30 Catherine Moore <clm@cygnus.com>
863
864 * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
865 the relocation's section offset.
866
b77ad1d4
AM
8671999-07-29 Alan Modra <alan@spri.levels.unisa.edu.au>
868
869 * write.c (fixup_segment): Fix generic error check overflow test.
870
871 * config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast
872 X_add_number to long.
873
b53fcc20
JL
874Wed Jul 28 02:04:24 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
875
876 * config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
877 processing.
878
d2e71411
ILT
8791999-07-27 Ian Lance Taylor <ian@zembu.com>
880
881 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
882 VTABLE relocations.
883
e9f56b1d
ILT
8841999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
885
886 * config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
1a39f480 887
1a39f480
ILT
888 * configure.bat: Remove; obsolete.
889 * config/go32.cfg: Likewise.
890
29fe79d3
ILT
8911999-07-21 Brad M. Garcia <bgarcia@fore.com>
892
893 * configure.in (i386-*-vxworks*): New target.
894 * configure: Rebuild.
895
e06510e6
RH
8961999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
897
898 * doc/c-sparc.texi: Document .register and .nword pseudo-ops.
899
dabe3bbc
RH
9001999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
901
902 * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
903 on -64 and not pic.
904 (output_insn): Put OLO10's secondary addend into tc_fix_data.
905 (md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10.
906 (tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13.
907 * config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE,
908 MAX_RELOC_EXPANSION): Define.
909 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
910
b4cac588
AM
9111999-07-16 Alan Modra <alan@spri.levels.unisa.edu.au>
912
913 * config/tc-i386.c (intel_float_operand): Add prototype, make static.
914 (md_assemble): Localize *exp variable to if (fake_zero_displacement)
915 block. Print a warning if an 8-bit or 16-bit constant
916 displacement or immediate is truncated on output.
917 (i386_immediate): Ensure Imm16 is always legal for a 16-bit mode
918 immediate.
919 (i386_operand): Disallow immediate jump absolute operand.
920
966ed0b4
ILT
9211999-07-15 Ian Lance Taylor <ian@zembu.com>
922
0ed15843
ILT
923 * configure.in: Bump version number to 2.9.5.
924 * configure: Rebuild.
925
966ed0b4
ILT
926 * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
927 or %llx work.
928
67f1cff0
JL
929Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com)
930
931 * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
932 (cons_fix_new_hppa): Derive size of fixup from size of the object.
933
2f992c04
NC
9341999-07-14 Philip Blundell <pb@nexus.co.uk>
935
936 * symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it
937 is defined.
938 * config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF.
939
940 * config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file
941 if -mno-fpu was given.
942 (tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC
943 relocs.
944 (cons_fix_new_arm): Remove misleading comments.
945
14ad458a
ILT
9461999-07-14 Ian Lance Taylor <ian@zembu.com>
947
948 * write.c (cvt_frag_to_fill): Use frag file and line in rs_org
949 error message.
950 (relax_segment): Likewise. After giving a rs_org error, convert
951 the frag to rs_align to avoid cascading errors.
952
36823076
AS
9531999-07-12 Andreas Schwab <schwab@suse.de>
954
955 * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED.
956
ab9da554
ILT
9571999-07-11 Ian Lance Taylor <ian@zembu.com>
958
959 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
960 as appropriate. Fill in structure initializations. Add variable
961 initializations. Add casts.
962 * dwarf2dbg.c (print_stats): Change i to size_t.
963 * listing.c (listing_listing): Change list_line to unsigned int.
964
e0accf0c
ILT
9651999-07-10 Ian Lance Taylor <ian@zembu.com>
966
967 * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
968 rather than checking for \001 and \002 in symbol name.
969 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
970
7d4ce8a9
JL
971Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
972
973 * configure.in (hppa*-linux-gnu*): New target.
974 * configure: Rebuilt.
975
5395a469
NC
9761999-07-08 Nick Clifton <nickc@cygnus.com>
977
978 * doc/c-arm.texi (ARM Directives): Document .thumb_set directive.
979
cac58fa6
NC
9801999-07-07 Nick Clifton <nickc@cygnus.com>
981
5395a469 982 * config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than
cac58fa6
NC
983 accessing symbolP directly.
984
03b36ee1
JL
985Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com)
986
987 * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
988 for ELF.
989
49a5575c
NC
9901999-07-05 Nick Clifton <nickc@cygnus.com>
991
992 * config/tc-arm.c (ARM_EXT_V5): Define.
993 (ARM_ARCH_V5, ARM_ARCH_V5T): Define.
994 (md_begin): Detect ARM v5 architectures.
995 (md_parse_option): Accept arm v5 specification.
996 (md_show_usage): Documment -marmv5 switch.
997
998 * doc/c-arm.texi: Document -marmv5 command line option.
999
1000 * config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo
1001 op.
1002 (validate_immediate_twopart): New function. Determine if a
1003 constant can be computed by two ADD instructions.
1004 (output_inst): Remove its command line parameter - it was never
1005 used.
1006 (md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to
1007 implememt the ADRL pseudo op.
1008 (tc_gen_reloc): Generate a suitable error message if an ADRL
1009 instruction tries to generate a real reloc.
1010
1011 * doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops.
1012
09ecf0ba
JL
1013Thu Jul 1 15:33:10 1999 Jeffrey A Law (law@cygnus.com)
1014
1015 * config/tc-hppa.c (pa_ip): Convert the opcode and all completers
1016 into lower case.
1017
264d6861
ILT
10181999-06-27 H.J. Lu <hjl@gnu.org>
1019
1020 * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
1021 non BFD_ASSEMBLER case.
1022
827c0149
ILT
10231999-06-26 Mumit Khan <khan@xraylith.wisc.edu>
1024
1025 * config/obj-coff.c (obj_coff_section): Mark writable sections as
1026 data.
1027
a340d270
RH
10281999-06-26 David Mosberger <davidm@hpl.hp.com>
1029
1030 * dwarf2dbg.c (dwarf2_gen_line_info): Don't call
1031 out_end_sequence() when the address decreases due to a new frag.
1032 (gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file
1033 numbering starts with 1.
1034
16b93d88
NC
10351999-06-23 Nick Clifton <nickc@cygnus.com>
1036
1037 * config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow
1038 .section for COFF.
1039 (mcore_s_text): Call obj_elf_text for ELF target.
1040 (mcore_s_data): Call obj_elf_data for ELF target.
1041 (mcore_s_section): No longer ELF specific. Call obj_coff_section
1042 for COFF target.
1043 (mcore_s_bss): New function: Dump literal table before changing
1044 sections.
1045 (mcore_s_comm): New function: Dump literal table before changing
1046 sections.
1047
1048 * config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text):
1049 No longer static functions.
1050 * config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text):
1051 Provide prototypes for these functions.
1052
fed9b18a
ILT
10531999-06-22 Ian Lance Taylor <ian@zembu.com>
1054
be2acf27
ILT
1055 * subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use
1056 a list of names, to try obj_segment_name, and to try abbreviated
1057 names when using COFF without long section names.
1058
7dcc9865
ILT
1059 * config/tc-alpha.c: More use of symbol accessor functions.
1060 * config/tc-arc.c: Likewise.
1061 * config/tc-d30v.c: Likewise.
1062 * config/tc-fr30.c: Likewise.
1063 * config/tc-i860.c: Likewise.
1064 * config/tc-m88k.c: Likewise.
1065 * config/tc-mcore.c: Likewise.
1066 * config/tc-ns32k.c: Likewise.
1067 * config/tc-sparc.c: Likewise.
1068 * config/tc-v850.c: Likewise.
1069
a77f5182
ILT
1070 * config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
1071 sy_value with appropriate accessor functions.
1072 * config/tc-arm.c (md_apply_fix3): Likewise.
1073 * config/tc-d10v.c (AT_WORD_P): Likewise.
1074 * config/tc-v850.c (reg_name_search): Likewise.
1075
fed9b18a
ILT
1076 * config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
1077 use symbol_get_bfdsym instead.
1078 * config/tc-ppc.c (md_assemble): Likewise.
1079 * config/tc-v850.c (v850_comm): Likewise.
1080
310b5aa2
ILT
10811999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
1082
1083 * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
1084 the symbol, rather than accessing the bsym member.
1085 * config/tc-d10v.c (tc_gen_reloc): Likewise.
1086 * config/tc-d30v.c (tc_gen_reloc): Likewise.
1087 * config/tc-mcore.c (tc_gen_reloc): Likewise.
1088 * config/tc-mn10200.c (tc_gen_reloc): Likewise.
1089 * config/tc-mn10300.c (tc_gen_reloc): Likewise.
1090 * config/tc-ns32k.c (tc_gen_reloc): Likewise.
1091 * config/tc-tic30.c (tc_gen_reloc): Likewise.
1092 * config/tc-v850.c (tc_gen_reloc): Likewise.
1093
9cb8e75e
JL
1094Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com)
1095
1096 * tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
1097 (hppa_gen_reloc_type): Conditionalize on BFD64.
1098 (tc_gen_reloc): Re-enable ELF relocations.
1099 * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
1100
3d103319
ILT
11011999-06-21 Ian Lance Taylor <ian@zembu.com>
1102
1103 * config/tc-arm.c (ldst_extend): Add parentheses to avoid
1104 warning.
1105 (do_ldst): Move assignment out of if condition.
1106 (md_apply_fix3): Add casts to avoid printf format warnings. Add
1107 parentheses to avoid warning.
1108
776b24b4
NC
11091999-06-21 Nick Clifton <nickc@cygnus.com>
1110
155f0fe7
NC
1111 * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
1112 macro to get at the BFD symbol associated with a GAS symbol.
776b24b4 1113
809ffe0d
ILT
11141999-06-19 Ian Lance Taylor <ian@zembu.com>
1115
1116 * config/tc-ppc.c: Update for symbol handling changes.
1117 * config/obj-coff.c: Likewise.
1118
49863f82
JL
1119Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com)
1120
1121 * tc-hppa.c: General cleanups of ELF support. No more spaces
1122 and subspaces for ELF.
1123 (GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
1124 (GDB_STRINGS_SUBSPACE_NAME): Likewise.
1125 (GDB_SYMBOLS_SUBSPACE_NAME): Likewise
1126 (UNWIND_SECTION_NAME): Likewise.
1127 (space/subspace related structures): Conditionalize definitions
1128 on OBJ_SOM.
1129 (space/subspace directives and support routines): Conditionalize
1130 definitions and references/uses on OBJ_SOM.
1131 (label_symbol_struct): For ELF, track the symbol's segment. For
1132 SOM track its space.
1133 (pa_define_label, pa_undefine_label, pa_get_label): Corresponding
1134 changes.
1135 (USE_ALIASES): Kill for both SOM & ELF.
1136 (pa_def_subspaces, pa_def_spaces): Corresponding changes.
1137 (pa_space, pa_subspace): Corresponding changes.
1138 (pa_spaces_begin): Corresponding chagnes.
1139 (md_begin): Do not muck around with space/subspace stuff for
1140 OBJ_ELF.
1141 (md_apply_fix): Temporarily disable argument relocation stuff
1142 for OBJ_ELF.
1143 (tc_gen_reloc): Temporarily disable relocation generation for
1144 OBJ_ELF
1145 (pa_build_unwind_subspace): Similarly.
1146
fed881b1
NC
11471999-06-16 Nick Clifton <nickc@cygnus.com>
1148
1149 * config/tc-arm.c (thumb_set): New pseudo op.
1150 (text, data, section): Override these pseudo ops with ARM
1151 specific versions.
1152 (s_thumb_set): New function: Perform the same as a .set pseudo
1153 op, but also mark the alias'ed symbol as being a Thumb
1154 function.
1155 (arm_s_text): New function: Perform the same as the .text
1156 pseudo op, but dump the literal pool before changing
1157 sections.
1158 (arm_s_data): New function: Perform the same as the .data
1159 pseudo op, but dump the literal pool before changing
1160 sections.
1161 (arm_s_section): New function: Perform the same as the
1162 .section pseudo op, but dump the literal pool before changing
1163 sections.
1164 (arm_cleanup): Do not reset the current section before dumping
1165 the literal pool.
1166
0f94f4c8
NC
11671999-06-17 Nick Clifton <nickc@cygnus.com>
1168
2f3519a2
NC
1169 * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
1170 OPTION_NO_WARN_UNMATCHED entries.
1171 (md_parse_option): Generate a warning message if an unrecognised
1172 option is encountered.
1173
0f94f4c8
NC
1174 * config/tc-d10v.c (do_not_ignore_hash): New variable.
1175 (get_operands): When parsing an expression after an '@' symbol
1176 has been detected, do not ignore '#' symbols.
1177 (md_operand): Only ignore '#' symbols if do_not_ignore_hash is
1178 false.
1179
e4a86f6f
ILT
11801999-06-13 Ian Lance Taylor <ian@zembu.com>
1181
1182 From K. Richard Pixley <rich@noir.com>:
1183 * configure.in (ppc-*-vxworks*): New target.
1184 * configure: Rebuild.
1185
a8aed0fb
UD
11861999-06-12 Philip Blundell <philb@gnu.org>
1187
1188 * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
1189
7565ed77
ILT
11901999-06-13 Ian Lance Taylor <ian@zembu.com>
1191
1192 * write.c (adjust_reloc_syms): Rather than never reducing reloc
1193 which refer to symbols in linkonce sections, permit reducing the
1194 relocs if the symbol is local.
1195
b9e57a38
ILT
11961999-06-12 Ian Lance Taylor <ian@zembu.com>
1197
1198 * subsegs.c (subseg_text_p): New function.
1199 * as.h (subseg_text_p): Declare.
1200 * read.c (do_align): Use subseg_text_p to set the default fill.
1201 * write.c (subsegs_finish): Likewise.
1202 * config/obj-coff.c (write_object_file): Likewise.
1203 * config/tc-i386.h (md_maybe_text): Don't define.
1204 (md_do_align): Use subseg_text_p to set the default fill.
1205 * config/tc-m32r.c (m32r_do_align): Likewise.
1206 * config/tc-sh.c (sh_do_align): Likewise.
1207 * config/tc-sparc.h (md_do_align): Likewise.
1208
008960a5
ILT
12091999-06-12 David O'Brien <obrien@freebsd.org>
1210
1211 * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
1212 * configure: Rebuild.
1213
a1605869
ILT
12141999-06-12 Ian Lance Taylor <ian@zembu.com>
1215
d9ac5a3b
ILT
1216 * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
1217 * Makefile.am: Rebuild dependencies.
1218 * Makefile.in: Rebuild.
1219
a1605869
ILT
1220 * config/tc-i386.c (i386_immediate): Remove unused label
1221 seg_unimplemented.
1222
1223 * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
1224 * symbols.c: Likewise.
1225 * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
1226 sy_next field when taking address, rather than symbol_next.
1227
1228 * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
1229 offsetT.
1230 (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the
1231 value from the output file architecture.
1232 (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
1233 * dwarf2dbg.h: Change bfd_vma to addressT.
1234
a7cd1c22
ILT
12351999-06-11 Ian Lance Taylor <ian@zembu.com>
1236
1237 * dwarf2dbg.h: Use PARAMS in function declarations.
1238
76171f81
ILT
12391999-06-11 Martin Dorey <mdorey@madge.com>
1240
1241 * write.c (fixup_segment): Don't add symbol value for i960 ELF.
1242 * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
1243 OBJ_ELF.
1244 (md_apply_fix): Simplify BFD_ASSEMBLER handling.
1245
9b4d630b
ILT
12461999-06-11 Ian Lance Taylor <ian@zembu.com>
1247
5865bb77
ILT
1248 * config/tc-i386.c (md_apply_fix3): Add default case to switch.
1249
9e7c96d9
ILT
1250 * config/tc-sparc.c (md_pseudo_table): Remove pushsection and
1251 popsection.
1252
1b50c718
ILT
1253 * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
1254
1bf67e0d
ILT
1255 * read.c (read_a_source_file): Only declare inescape if
1256 QUOTES_IN_INSN.
1257
1258 * itbl-ops.c (itbl_disassemble): Change sprintf format strings to
1259 match parameters.
1260 (find_entry_byval): Add parens to avoid warning.
1261
1262 * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
1263
9b4d630b
ILT
1264 * symbols.c (resolve_symbol_value): Don't permit subtraction of
1265 undefined symbols.
1266
a22b281c
RH
12671999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
1268
1269 * config/tc-sparc.c (sparc_ip): Don't use side-effect expression
1270 with isoctal.
1271
1272 * config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
1273 synthetize_setx): New functions.
1274 (md_assemble): Broken the special cases into the above
1275 functions. Make compiler happy if sizeof(bfd_vma)==4.
1276 Fix sethi generated from set/setuw. If instructions have a relloc,
1277 always clear the fields to be relocated in the opcode.
1278 (sparc_ip): Remove special_case global variable.
1279
7f2f689c
ILT
12801999-06-10 Ian Lance Taylor <ian@zembu.com>
1281
d7ba4a77
ILT
1282 Based on patches from John W. Woznack <jwoznack@concentric.net>:
1283 * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return
1284 indication of success rather than a value.
1285 (itbl_get_val): Likewise.
1286 (itbl_get_field): Use strcspn. Change delimiters to include
1287 parens.
1288 * itbl-ops.h (itbl_get_reg_val): Update declaration.
1289 (itbl_get_val): Likewise.
1290 * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
1291
7f2f689c
ILT
1292 * symbols.c (copy_symbol_attributes): Convert local symbols to
1293 regular symbols.
1294
c1d3c45e
NC
12951999-06-10 Nick Clifton <nickc@cygnus.com>
1296
1297 * config/tc-arm.c (md_parse_option): Add support for ARM920 and
1298 ARM920t.
1299
63fab58c
RH
13001999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
1301
1302 * config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
1303 Optimize set if sizeof(bfd_vma) == 64.
1304 (sparc_ip): Fix sethi - without %hi() it should generate
eb858bb4 1305 R_SPARC_22 reloc, not R_SPARC_HI22.
63fab58c
RH
1306 (tc_gen_reloc): Handle BFD_RELOC_SPARC22.
1307
cf9a1301
RH
13081999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
1309
1310 * config/tc-sparc.c (md_begin): Handle native wordsize aliases.
1311 (s_ncons): New function.
1312 (native_op_table): New table.
1313 (sparc_ip): Be more strict on %hi() etc.; prepare assembler for
1314 R_SPARC_OLO10 handling.
1315
bf29b231
RH
1316Mon Jun 7 10:22:16 1999 Richard Henderson <rth@cygnus.com>
1317
1318 * expr.h (struct expressionS): Revert last change; widen X_op.
1319 * config/tc-alpha.c (md_begin): Check the field is wide enough.
1320
9be1cda6
AS
1321Mon Jun 7 11:25:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1322
a4835b42
AS
1323 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
1324 (TARGET_CPU_HFILES): Add config/tc-fr30.h.
1325 (TARG_ENV_HFILES): Add config/te-epoc-pe.h.
1326 * Makefile.in: Regenerated.
1327
9be1cda6
AS
1328 * config/obj-elf.c (obj_elf_common): In MRI mode if called as
1329 `common' pass on to s_mri_common.
1330 (elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
1331
62335629
RH
13321999-06-06 Richard Henderson <rth@cygnus.com>
1333
1334 * config/obj-elf.c (obj_elf_section): Don't free the return
1335 value of demand_copy_C_string.
1336
9de8d8f1
RH
13371999-06-05 Richard Henderson <rth@cygnus.com>
1338
1339 * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
1340 creation logic from obj_elf_create_section.
1341
1342 * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
1343 (section_stack): New.
1344 (special_sections): Make const.
1345 (obj_elf_section): Gut and rewrite parsing.
1346 (obj_elf_change_section): New function broken out of obj_elf_section.
1347 (obj_elf_parse_section_letters): Likewise.
1348 (obj_elf_section_word): Likewise.
1349 (obj_elf_section_type): Likewise.
1350 (obj_elf_previous): Treat as a toggle.
1351 (obj_elf_popsection): New.
1352 * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
1353 (ppc_section_type): Likewise.
1354 * config/tc-ppc.h: Likewise.
1355
1356 * expr.h (struct expressionS): Don't make X_op a bitfield.
1357 * config/tc-alpha.c: Update for symbol handling changes.
1358 (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
1359 (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
1360
58b5739a
RH
13611999-06-05 Richard Henderson <rth@cygnus.com>
1362
1363 * dwarf2dbg.c (*): Convert to K&R + prototypes.
1364 (dwarf2_gen_line_info): Kill unused variables.
1365 (dwarf2_finish): Likewise.
1366 (dwarf2_where): Likewise.
1367 (dwarf2_directive_file): If we've only got a string,
1368 hand off to s_app_file.
1369 * ecoff.c: Move the include of ecoff.h.
1370 * symbols.h (S_IS_FUNCTION): Prototype.
1371
1372 * read.c (LEX_HASH): Supply a default.
1373 (lex_type): Use it.
1374 (s_globl): Update `c' after skipping whitespace.
1375 * read.h (LEX_END_NAME, is_name_ender): New.
1376 * expr.c (get_symbol_end): Respect it.
1377
398e8c25
ILT
13781999-06-04 Mark Klein <mklein@dis.com>
1379
993142d5
ILT
1380 * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
1381 to real if OBJ_SOM
1382 (tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
1383
398e8c25
ILT
1384 * config/tc-hppa.c: Update for symbol handling changes.
1385
b4013713
ILT
13861999-06-03 Ian Lance Taylor <ian@zembu.com>
1387
080e41e6
ILT
1388 * cgen.c: Update for symbol handling changes.
1389 * config/tc-m32r.c: Likewise.
f412ead8 1390
a0f75b47
ILT
1391 * config/tc-hppa.h: Update for symbol handling changes.
1392 * config/tc-hppa.c: Likewise.
1393
174419c1
ILT
1394 * config/tc-arm.h: Update for symbol handling changes.
1395 * config/tc-arm.c: Likewise.
1396 (symbol_make_empty): Remove. Just use symbol_create.
1397
1398 * symbols.c (symbol_set_tc): Correct name.
1399
6104f0a0
ILT
1400 * Makefile.am: Rebuild dependencies.
1401 ($(OBJS)): Don't depend upon struc-symbol.h.
1402 (.dep1, .tcdep, .objdep): Create itbl-parse.h.
1403 * dep-in.sed: Don't remove struc-symbol.h.
1404 * Makefile.in: Rebuild.
1405
b4013713
ILT
1406 * doc/internals.texi (Symbols): Describe changes in symbol
1407 handling.
1408
6576f0b5
RH
14091999-06-03 Richard Henderson <rth@cygnus.com>
1410
1411 * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
1412 instead of doing the work by hand.
1413
fac0d250
RH
14141999-06-03 David Mosberger <davidm@hpl.hp.com>
1415
1416 * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
1417 state of line state-machine.
1418 (struct ls): Collect DWARF2 line state-machine state in new member
1419 SM. Add member EMPTY_SEQUENCE to keep track if a code sequence
1420 resulted in any DWARF2 directives.
1421 (reset_state_machine): New function.
1422 (out_end_sequence): Ditto.
1423 (dwarf2_gen_line_info): When switching sections or switching to a
1424 lower text address, call out_end_sequence() first to terminate the
1425 previous code sequence as code sequences MUST have monotonically
1426 increasing addresses.
1427 (dwarf2_finish): Call out_end_sequence() instead of open coding it.
1428
14291999-06-03 David Mosberger <davidm@hpl.hp.com>
1430
1431 * as.c (parse_args): Add option -gdwarf2 to allow requesting
1432 DWARF2 debug info (line information only, at this point).
1433 * as.h: Update comment about supported debug formats.
1434 * dwarf2dbg.c, dwarf2dbg.h: New files.
1435 * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
1436
1437 * expr.c (operand): Don't use [ for parens if we want an index op.
1438 (op_encoding): Switch [ into O_index, if desired.
1439 (op_rank): Renumber with O_index on bottom.
1440 (expr): If O_index, match closing bracket.
1441 * expr.h (O_index): New.
1442
1443 * read.c (read_a_source_file): Conditionally allow matched "
1444 in lines passed to md_assemble.
1445
1446 * config/obj-elf.c (elf_pseudo_table): Add `common'.
1447
49309057
ILT
14481999-06-03 Ian Lance Taylor <ian@zembu.com>
1449
1450 Add support for storing local symbols in a small structure to save
1451 memory when assembling large files.
1452 * as.h: Don't include struc-symbol.h.
1453 (symbolS): Add typedef.
1454 * symbols.c: Include struc-symbol.h.
1455 (local_hash): New static variable.
1456 (save_symbol_name): New static function, from symbol_create.
1457 (symbol_create): Call save_symbol_name.
1458 (local_symbol_count): New static variable.
1459 (local_symbol_conversion_count): Likewise.
1460 (LOCAL_SYMBOL_CHECK): Define.
1461 (local_symbol_make): New static function.
1462 (local_symbol_convert): New static function.
1463 (colon): Handle local symbols. Create local symbol for local
1464 label name.
1465 (symbol_table_insert): Handle local symbols.
1466 (symbol_find_or_make): Create local symbol for local label name.
1467 (symbol_find_base): Check for local symbol.
1468 (symbol_append, symbol_insert): Check for local symbols.
1469 (symbol_clear_list_pointers, symbol_remove): Likewise.
1470 (verify_symbol_chain): Likewise.
1471 (copy_symbol_attributes): Likewise.
1472 (resolve_symbol_value): Handle local symbols.
1473 (resolve_local_symbol): New static function.
1474 (resolve_local_symbol_values): New function.
1475 (S_GET_VALUE, S_SET_VALUE): Handle local symbols.
1476 (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
1477 (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
1478 (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
1479 (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
1480 (symbol_previous, symbol_next): New functions.
1481 (symbol_get_value_expression): Likewise.
1482 (symbol_set_value_expression): Likewise.
1483 (symbol_set_frag, symbol_get_frag): Likewise.
1484 (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
1485 (symbol_mark_used_in_reloc): Likewise.
1486 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
1487 (symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
1488 (symbol_mri_common_p): Likewise.
1489 (symbol_mark_written, symbol_clear_written): Likewise.
1490 (symbol_written_p): Likewise.
1491 (symbol_mark_resolved, symbol_resolved_p): Likewise.
1492 (symbol_section_p, symbol_equated_p): Likewise.
1493 (symbol_constant_p): Likewise.
1494 (symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
1495 (symbol_get_obj, symbol_set_obj): Likewise.
1496 (symbol_get_tc, symbol_set_tc): Likewise.
1497 (symbol_begin): Initialize local_hash.
1498 (print_symbol_value_1): Handle local symbols.
1499 (symbol_print_statistics): Print local symbol statistics.
1500 * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
1501 Declare new symbols.c functions. Move many declarations here from
1502 struc-symbol.h.
1503 (SYMBOLS_NEED_BACKPOINTERS): Define if needed.
1504 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
1505 (struct symbol): Move bsym to make it clearly the first field.
1506 Remove TARGET_SYMBOL_FIELDS.
1507 (symbolS): Don't typedef.
1508 (struct broken_word): Remove.
1509 (N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
1510 (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
1511 (symbol_clear_list_pointers): Likewise.
1512 (symbol_insert, symbol_remove): Likewise.
1513 (symbol_previous, symbol_append): Likewise.
1514 (verify_symbol_chain, verify_symbol_chain_2): Likewise.
1515 (struct local_symbol): Define.
1516 (local_symbol_converted_p, local_symbol_mark_converted): Define.
1517 (local_symbol_resolved_p, local_symbol_mark_resolved): Define.
1518 (local_symbol_get_frag, local_symbol_set_frag): Define.
1519 (local_symbol_get_real_symbol): Define.
1520 (local_symbol_set_real_symbol): Define.
1521 Define.
1522 * write.c (write_object_file): Call resolve_local_symbol_values.
1523 * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
1524 (TARGET_SYMBOL_FIELDS): Don't define.
1525 * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If
1526 ECOFF_DEBUGGING, add ECOFF fields.
1527 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
1528 * config/obj-multi.h (struct elf_obj_sy): Add local field. If
1529 ECOFF_DEBUGGING, add ECOFF fields.
1530 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
1531 (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
1532 * config/tc-mcore.h: Don't include struc-symbol.h.
1533 (TARGET_SYMBOL_FIELDS): Don't define.
1534 (struct mcore_tc_sy): Define.
1535 (TC_SYMFIELD_TYPE): Define.
1536 * Many files: Use symbolS instead of struct symbol. Use new
1537 accessor functions rather than referring to symbolS fields
1538 directly.
1539
1540 * read.c (s_mri_common): Don't add in value of line_label.
1541
1542 * config/tc-mips.c (md_apply_fix): Correct parenthesization when
1543 checking for SEC_LINK_ONCE.
1544
1545 * config/tc-sh.h (sh_fix_adjustable): Declare.
1546
1547 * app.c (input_buffer): New static variable.
1548 (app_push): Save saved_input in allocated buffer.
1549 (app_pop): Restored saved_input.
1550 (do_scrub_chars): Change get parameter to take char * and int as
1551 arguments. Change GET macro to pass input_buffer to get
1552 function. Don't save input into allocated buffer.
1553 * as.h (do_scrub_chars): Update declaration.
1554 * input-file.c (input_file_get): Change to take char * and int.
1555 Read data into passed in buffer. Remove static buffer.
1556 * read.c (scrub_from_string): Change to take char * and int. Copy
1557 data into passed in buffer.
1558
1559 * hash.h: Neaten. Declare hash_traverse.
1560 * hash.c: Complete rewrite based on BFD hashing code.
1561 * gasp.c (chunksize): New variable.
1562 * macro.c (macro_expand_body): Call hash_jam with NULL rather than
1563 hash_delete.
1564
661e4995
NC
15651999-05-28 Nick Clifton <nickc@cygnus.com>
1566
1567 * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
1568 addend unless the target uses an old ABI.
1569
d9a62219
DE
1570Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com>
1571
1572 -Wchar-subscripts cleanup
1573 * listing.c (listing_newline): Use unsigned char variable, so
1574 calls to isascii,iscntrl are correct.
1575 * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
1576 (unsigned char).
1577 * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
1578 * config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
1579 * config/tc-mips.c (mips_ip,mips16_ip): Ditto.
1580 (my_getSmallExpression,get_number,s_mips_ent): Ditto.
1581
6da466c7
ILT
15821999-05-28 Torbjorn Granlund <tege@matematik.su.se>
1583
1584 * config/tc-m68k.c (m68k_ip): Check for disallowed index register
1585 width for Coldfire.
1586 (arch_coldfire_p): New #define.
1587 (m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
1588
15891999-05-28 Linus Nordberg <linus.nordberg@canit.se>
1590
1591 * config/tc-m68k.c (install_operand): Add places `n', `o'.
1592
1593 * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
1594 (install_operand): Add place `N'.
1595 (init_table): Add registers ACC, MACSR, MASK.
1596
1597 * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
1598
1599 * config/tc-m68k.c: Change mcf5200 --> mcf.
1600 (archs): Add mcf5206e, mcf5307.
1601 (m68k_ip): Add format `u'.
1602 (install_operand): Add place `m', `M', `h'.
1603 (init_table): Add upper/lower registers.
1604
1605 * config/m68k-parse.h (m68k_register): Add upper/lower registers.
1606
bedf545c
ILT
16071999-05-28 Martin Dorey <mdorey@madge.com>
1608
1609 * config/tc-i960.c: Several minor changes to add ELF and
1610 BFD_ASSEMBLER support.
1611 * config/tc-i960.h: Likewise.
1612 * configure.in (i960-*-elf*): New target.
1613 * aclocal.m4, configure: Rebuild.
1614
40c62b25
AM
16151999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au>
1616
1617 * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
1618 reloc changes when defined(BFD_ASSEMBLER).
1619
daa01f85
AM
16201999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au>
1621
1622 * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
1623
1624 * write.c (write_print_statistics): Output to file, not stderr.
1625
1626 * expr.c (generic_bignum_to_int32,64): Prototype.
1627
1628 * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
1629 output_sleb128, output_uleb128, output_big_sleb128,
1630 output_big_uleb128, output_big_leb128): Prototype.
1631 (output_big_sleb128, output_big_uleb128): Make inline.
1632 (output_big_leb128): Remove inline
1633
1634 From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1635 * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
1636 fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8.
1637 Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed
1638 value for correct overflow check in write.c:fixup_segment.
1639 * write.c (fixup_segment): Move bitfield overflow checks to after
1640 the md_apply_fix call.
1641 * config/obj-coff.c (fixup_segment): Likewise.
1642 * doc/internals.texi (CPU backend): Mention md_apply_fix modifying
1643 valueT *val argument.
1644
19b34177
AS
1645Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1646
1647 * config/atof-ieee.c (gen_to_words): Correctly round a
1648 denormalized number. Fix off-by-one in range checking for
1649 exponent in a denormal.
1650
b8a40f53
NC
16511999-05-10 Nick Clifton <nickc@cygnus.com>
1652
1653 * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
1654 name.
1655
53f3de98
RH
1656Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com)
1657
1658 * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
1659
578ec497
AM
16601999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au>
1661
1662 * config/tc-i386.h (InvMem): New flag. Add to AnyMem.
1663 (ReverseRegRegmem): Remove.
1664 (ImmExt): New flag. Renumber some of the opcode_modifier bits.
1665 * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
1666 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem
1667 kludge.
1668
1669 From Doug Ledford <dledford@redhat.com>
1670 * config/tc-i386.h (RegXMM): New for P/III.
1671 * config/tc-i386.c: Add support for P/III.
1672
d0e9a01c
RH
1673Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com>
1674
1675 * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
1676 (md_begin): Allow ppc32 insns in ppc64bridge mode.
1677 (ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
1678
83183c0c
RH
1679Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com>
1680
1681 * config/tc-i386.c (i386_immediate): Skip whitespace before
1682 complaining about junk after expression.
1683 (i386_displacement): Likewise.
1684
03987ced
RH
1685Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com>
1686
1687 * symbols.c (symbol_find_base): Use memcpy instead of strcpy.
1688 Don't copy before downcaseing.
1689
0d96863f
CM
16901999-05-05 Catherine Moore <clm@cygnus.com>
1691
1692 * tc-m68k.c: Include elf/m68k.h.
1693 (m68k_elf_final_processing): New routine.
1694 * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
1695 Define.
1696
90700a53
JL
1697Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com)
1698
1699 * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
1700 17 bit fmt insn.
1701
252b5132
RH
17021999-04-30 Nick Clifton <nickc@cygnus.com>
1703
1704 * config/tc-mcore.c (mcore_s_section): Dump literals before
1705 changing section.
1706
17071999-04-29 Nick Clifton <nickc@cygnus.com>
1708
1709 * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
1710 for COFF/PE port.
1711
1712Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com>
1713
1714 * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
1715 (TC_INIT_FIX_DATA): Delete.
1716 * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
1717 (TC_INIT_FIX_DATA): Delete.
1718 * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
1719 * write.c (fix_new_internal): Initialize fx_cgen member.
1720 * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
1721 (gas_cgen_md_apply_fix3): Update.
1722 * config/tc-m32r.c (md_cgen_lookup_reloc): Update.
1723 (md_cgen_record_fixup_exp): Update.
1724 (FX_OPINFO_R_TYPE): Update.
1725
1726 * frags.c (frag_var,frag_variant): Initialize fr_cgen here.
1727 * config/tc-fr30.h (TC_FRAG_INIT): Delete.
1728 * config/tc-m32r.h (TC_FRAG_INIT): Delete.
1729 * frags.h (struct frag): Make opindex, opinfo ints.
1730
1731 * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
1732
17331999-04-26 Tom Tromey <tromey@cygnus.com>
1734
1735 * aclocal.m4, configure: Updated for new version of libtool.
1736
17371999-04-22 Nick Clifton <nickc@cygnus.com>
1738
1739 * config/tc-mcore.c (md_apply_fix3): Renamed function from
1740 md_apply_fix.
1741 (md_apply_fix3): Do not fix up absolute relocations against
1742 symbolic values.
1743
1744 * config/tc-mcore.h (MD_APPLY_FIX3): Define.
1745
17461999-04-20 Nick Clifton <nickc@cygnus.com>
1747
1748 * config/tc-mcore.c (md_pseudo_table): Add intercepts for section
1749 changes and data-in-text directives.
1750 (mcore_cons): New function: intercept cons() operations.
1751 (mcore_float_cons): New function: intercept float_cons()
1752 operations.
1753 (mcore_stringer): New function: intercept stringer() operations.
1754
17551999-04-18 Ian Lance Taylor <ian@zembu.com>
1756
1757 * obj.h (struct format_ops): Change generate_asm_lineno field to
1758 take no parameters.
1759 * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
1760
1761 * config/tc-alpha.c (find_opcode_match): Add default case to
1762 switch.
1763 (find_macro_match): Likewise.
1764 (load_expression): Parenthesize && within ||.
1765
1766 * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
1767
17681999-04-17 Nick Clifton <nickc@cygnus.com>
1769
1770 * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
1771 .text .data .section pseudo ops.
1772 (mcore_s_section): New function. Dump lits before changing secs.
1773 (mcore_s_text): New function. Dump lits before changing secs.
1774 (mcore_s_data): New function. Dump lits before changing secs.
1775
17761999-04-16 Gavin Romig-Koch <gavin@cygnus.com>
1777
1778 * config/tc-mips.c (mips_32bitmode): New.
1779 (md_begin): Set mips_32bitmode if needed.
1780 (mips_elf_final_processing): Don't set EF_MIPS_ARCH.
1781 Set EF_MIPS_32BITMODE.
1782
1783Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com>
1784
1785 * config/obj-coff.c (c_section_symbol): Fix typo in previous
1786 change.
1787
17881999-04-16 Nick Clifton <nickc@cygnus.com>
1789
1790 * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
1791
1792Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com)
1793
1794 * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
1795 expressions correctly.
1796
1797
17981999-04-15 Gavin Romig-Koch <gavin@cygnus.com>
1799
1800 * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
1801
1802Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com)
1803
1804 * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
1805 and fmpynfadd instructions.
1806
18071999-04-11 Richard Henderson <rth@cygnus.com>
1808
1809 * as.h (environ): Declare it, if needed.
1810 * as.c (dump_statistics): Don't declare environ.
1811 * configure.in (environ): Detect declaration.
1812 * configure, config.in: Rebuild
1813
1814 * config/tc-i386.c (i386_immediate): Accept @GOT relocations.
1815 (i386_displacement): Allocate enough space for replacement buffer.
1816 Clean up replacement buffer initialization.
1817
18181999-04-11 Bob Manson <manson@charmed.cygnus.com>:
1819
1820 * subsegs.c (section_symbol): Don't create a new symbol if one
1821 already exists; instead, use the existing one, but set its segment
1822 and frag data if it hasn't already been defined.
1823 * config/obj-coff.c (c_section_symbol): Likewise.
1824
1825Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com>
1826
1827 * tc-alpha.c (load_expression): Call as_bad instead of abort.
1828
18291999-04-08 Nick Clifton <nickc@cygnus.com>
1830
1831 * config/tc-mcore.c: New File: Support routines for MCore
1832 assembler.
1833 * config/tc-mcore.h: New File: Definitions for MCore assembler.
1834 * config/obj-coff.c: Add support for mcore-pe target.
1835
1836 * Makefile.am: Add support for MCore targets.
1837 * Makefile.in: Regenerate.
1838 * configure.in: Add support for MCore targets.
1839 * configure: Regenerate.
1840
1841 * doc/all.texi: Set MCORE.
1842 * doc/as.texinfo: Document MCore specific command line options.
1843
1844 * write.h: Prevent multiple inclusion.
1845
18461999-04-06 Ian Lance Taylor <ian@zembu.com>
1847
1848 * asintl.h (LC_MESSAGES): Never define.
1849 * as.c (main): Don't pass LC_MESSAGES to setlocale if the system
1850 does not define it.
1851 * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
1852 does not define it.
1853
1854 * Makefile.am (m68k-parse.c): If configuring in the source
1855 directory, copy m68k-parse.y into the local directory before
1856 running ylwrap, to remove spurious differences when generating
1857 snapshots.
1858 * Makefile.in: Rebuild.
1859
1860 * config/tc-sparc.h (md_do_align): Just allocate the number of
1861 bytes necessary, rather than always allocating 1024.
1862
18631999-04-04 Ian Lance Taylor <ian@zembu.com>
1864
1865 * listing.c (listing_newline): Add cast to avoid warning.
1866 * read.c (generate_lineno_debug): Add cases to switch. Reindent.
1867 * config/tc-i386.c (i386_scale): Add return value.
1868 (build_displacement_string): Remove unused local temp_disp2.
1869 (i386_intel_memory_operand): Add parentheses to avoid warning.
1870 (i386_intel_operand): Remove unused local end_of_operand_string.
1871 (i386_operand): Remove unused local operand_modifier.
1872 (i386_operand): Add parens to avoid warning.
1873
18741999-04-04 Don Bowman <don@pixsci.com>
1875
1876 * configure.in: Add mips*-*-vxworks* target; have it define
1877 MIPS_STABS_ELF.
1878 * configure, config.in: Rebuild.
1879
18801999-03-31 Nick Clifton <nickc@cygnus.com>
1881
1882 * configure.in (emulations): Add support for arm-epoc-pe.
1883 * configure: Regenerate.
1884 * config/te-epoc-pe.h: New file. Define macros specific to
1885 arm-epoc-pe target.
1886 * config/tc-arm.h: Select epoc-pe-arm target format if configured
1887 for arm-epoc-pe target.
1888
1889Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com>
1890
1891 * tc-mips.c (md_apply_fix): Adjust value for linkonce sections.
1892
1893Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com)
1894
1895 * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
1896 detect ",n" without a condition.
1897 (pa_parse_neg_cmpsub_cmpltr): Likewise.
1898
1899
1900Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com)
1901
1902 * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
1903 instruction is encoded with one bit.
1904
1905
19061999-03-23 Ian Lance Taylor <ian@zembu.com>
1907
1908 * doc/internals.texi (CPU backend): Mention that
1909 line_separator_chars should not include newline. From thi
1910 <ttn@mingle.glug.org>.
1911
19121999-03-22 Doug Evans <devans@casey.cygnus.com>
1913
1914 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
1915 * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
1916
1917Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com>
1918
1919 * tc-alpha.c (md_assemble): Allow '6' in an opcode.
1920
1921Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com)
1922
1923 * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
1924
1925
1926Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com)
1927
1928 * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
1929
19301999-03-15 Martin Hunt <hunt@cygnus.com>
1931
1932 * app.c (do_scrub_begin): Change '-' back to a symbol char
1933 so we can use multiple opcodes on a line again.
1934
1935 * config/tc-d30v.c: By default, warn if a symbol has
1936 the same name as a register. Plus some minor
1937 updates from the branch.
1938
19391999-03-13 Nick Clifton <nickc@cygnus.com>
1940
1941 * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
1942 BFD_RELOC_16 and BFD_RELOC_64.
1943
19441999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1945
1946 * expr.c (expr): Add missing else.
1947
19481999-03-12 Nick Clifton <nickc@cygnus.com>
1949
1950 * config/tc-arm.c (md_apply_fix3): Improve error message.
1951
19521999-03-11 Doug Evans <devans@casey.cygnus.com>
1953
1954 * Makefile.am (CPU_TYPES): Add fr30.
1955 (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
1956 (fr30,m32r dependencies): Update.
1957 * Makefile.in: Rebuild.
1958
1959 * cgen.c (gas_cgen_record_fixup): Update use of operand->type.
1960 (gas_cgen_record_fixup_exp): Ditto.
1961 (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
1962 (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand.
1963 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
1964 (md_cgen_lookup_reloc): Update use of operand->type.
1965 * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
1966 (md_convert_frag): Call cgen_operand_lookup_by_num.
1967 (md_cgen_lookup_reloc): Update use of operand->type.
1968 (m32r_cgen_record_fixup_exp): Ditto.
1969
19701999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
1971
1972 * config/tc-mips.c (md_show_usage): Fix message.
1973
19741999-03-03 Nick Clifton <nickc@cygnus.com>
1975
1976 * doc/c-arm.texi (ARM Syntax): Document new command line switches
1977 and LDR reg,=<expr> instruction.
1978
1979 * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
1980 -mcpu=arm9tdmi.
1981
1982Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com>
1983
1984 * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
1985
19861999-02-17 Nick Clifton <nickc@cygnus.com>
1987
1988 This patch was created by: Scott Bambrough
1989 <scottb@corelcomputer.com>
1990
1991 * app.c:
1992 Special cased '@' character. The '@' character is used as the
1993 ARM assembler comment character, as a special character
1994 and in ELF .symver pseudo-op's, and as a special character in
1995 .type and .section pseudo-ops.
1996 (symver_pseudo): New static variable.
1997 (symver_state): New static variable.
1998 (struct app_save): Add field 'symver_state'.
1999 (app_push): Save global symver_state int struct app_save.
2000 (app_pop): Restore global symver_state from struct app_save.
2001 (do_scrub_chars): Special case handling of '@' character in
2002 .symver pseudo-ops.
2003
2004 * configure.in: Modified to recognize armv* uname syntax from ARM
2005 Linux kernel.
2006 * configure: Regenerated.
2007
2008 * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
2009 a prefix to the section's type.
2010 (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
2011 the type's typename.
2012
2013 * config/tc-arm.h: Add support for PIC generation:
2014 (pic_code): New boolean.
2015 (obj_relocate_extern): Define.
2016 (TC_RELOC_RTSYM_LOC_FIXUP): Define
2017 (TC_CONS_FIX_NEW): Define.
2018 (tc_fix_adjustable): Define.
2019 (GLOBAL_OFFSET_TABLE_NAME): Define.
2020
2021 * config/tc-arm.c: Add support for PIC generation:
2022 (line_seperator_chars): Allow ';' as a seperator for Linux.
2023 (is_immediate_prefix): New macro.
2024 (arm_parse_reloc): New function.
2025 (s_arm_elf_cons): New function.
2026 (do_branch): Special case for BFD_RELOC_ARM_PLT32.
2027 (md_undefined_symbol): Special case handling for the Global Offset
2028 Table's symbol.
2029 (md_apply_fix3): Handle PIC relocs.
2030 (tc_gen_reloc): Handle PIC relocs.
2031 (md_parse_option): Add support for '-k' command line switch to
2032 enable PIC generation.
2033 (cons_fix_new_arm): New function.
2034 (s_arm_elf_cons): New function.
2035
2036Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com>
2037
2038 * configure.in: Add comments for uses of AC_DEFINE.
2039 * acinclude.m4: Likewise.
2040 * acconfig.h: Remove.
2041 * aclocal.m4: Rebuild.
2042 * configure: Rebuild.
2043 * Makefile.in: Rebuild.
2044 * config.in: Rebuild.
2045
20461999-02-15 Jim Lemke <jlemke@cygnus.com>
2047
2048 * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
2049 non-constant offset from a base register.
2050
20511999-02-14 Ken Raeburn <raeburn@raeburn.org>
2052
2053 * config/tc-alpha.c (md_show_usage): Put \ before newline in
2054 strings always.
2055
2056Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com>
2057
2058 * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
2059 (emit_insn): Look for pc-relative and no-overflow specifiers on
2060 internal relocation types.
2061
20621999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
2063
2064 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
2065 -mcpu=NNNN flags.
2066
2067 * config/tc-mips.c: Remove all the mips_NNNN variables; just use
2068 mips_cpu instead.
2069 (mips_4650, mips_4010, mips_4100): Variables removed.
2070 (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
2071 macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
2072 variables.
2073 (md_begin): Don't bother initializing the mips_NNNN variables;
2074 mips_cpu is set, and that's good enough now.
2075 (md_parse_option): Have the -mNNNN options set mips_cpu instead of
2076 the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
2077 (show): New function, to handle wrapping in the CPU lists.
2078 (md_show_usage): Update lists of -mcpu and -mNNNN switches.
2079
2080Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com>
2081
2082 * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
2083 than treat as an immediate specifier.
2084
2085Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com>
2086
2087 * config/tc-i386.c: Prototype many functions.
2088 (set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
2089 (i386_immediate): Remove unused second argument.
2090 (i386_intel_operand): Fix i386_is_reg typo.
2091 (i386_operand): Use allow_naked_reg.
2092 (output_invalid): Make operand int for K&R.
2093
2094Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com>
2095
2096 * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
2097 patch.
2098 * Makefile.in: Rebuild.
2099
21001999-02-09 Doug Evans <devans@casey.cygnus.com>
2101
2102 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
2103 (cgen.o): Ditto.
2104 (EXTRA_as_new_SOURCES): Comment out.
2105 (.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
2106 * Makefile.in: Rebuild.
2107 * doc/Makefile.in: Rebuild.
2108 * configure.in: Require autoconf 2.13. Redo using_cgen handling.
2109 Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
2110 (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
2111 * configure: Rebuild.
2112 * aclocal.m4: Rebuild.
2113 * config.in: Rebuild.
2114 * cgen.c: Include cgen-desc.h, not cgen-opc.h.
2115 (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
2116 (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
2117 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
2118 CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
2119 (gas_cgen_record_fixup): Remove unnecessary != 0 test.
2120 (gas_cgen_record_fixup_exp): Ditto.
2121 (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
2122 descriptor, not global variable.
2123 (gas_cgen_md_apply_fix3): Refer to operand_table via cpu
2124 descriptor, not global variable. Refer to insert_operand handler
2125 via cpu descriptor, not global function.
2126 * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
2127 * config/tc-fr30.c: Include opcodes/fr30-desc.h.
2128 (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
2129 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
2130 Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
2131 * config/tc-m32r.c: Ditto.
2132 (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
2133 (md_assemble): Ditto.
2134 (md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
2135
21361999-02-09 Nick Clifton <nickc@cygnus.com>
2137
2138 * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
2139 relocations for ELF targets.
2140
21411999-02-08 Nick Clifton <nickc@cygnus.com>
2142
2143 * configure.in: Add support for StrongARM target.
2144 * configure: Regenerate.
2145
21461999-02-05 Nick Clifton <nickc@cygnus.com>
2147
2148 * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
2149
2150 * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
2151 for COFF ports.
2152
2153Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com>
2154
2155 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
2156
2157Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com>
2158
2159 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
2160 (INTEL_DWORD_MNEM_SUFFIX): Define.
2161 (BYTE_PTR): Define.
2162 (WORD_PTR): Define.
2163 (DWORD_PTR): Define.
2164 (XWORD_PTR): Define.
2165 (SHORT): Define.
2166 (OFFSET_FLAT): Define.
2167 (FLAT): Define.
2168 (NONE_FOUND): Define.
2169 (No_dSuf): Define.
2170 (No_xSuf): Define.
2171 * config/tc-i386.c (set_intel_syntax): New routine.
2172 (intel_syntax): Declare.
2173 (allow_naked_reg): Declare.
2174 (md_pseudo_table): Support .intel_syntax and .att_syntax.
2175 (intel_float_operand): New routine.
2176 (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
2177 Handle brackets as well as parens. Call i386_intel_operand for
2178 intel syntax. Reverse operands if appropriate. Handle new
2179 suffixes. Handle movzx and movsx.
2180 (i386_is_reg): New routine.
2181 (i386_immediate): New routine.
2182 (i386_scale): New routine.
2183 (i386_displacement): New routine.
2184 (i386_operand_modifier): New routine.
2185 (build_displacement_string): New routine.
2186 (i386_parse_seg): New routine.
2187 (i386_intel_memory_operand): New routine.
2188 (i386_intel_operand): New routine.
2189 (i386_operand): Call i386_displacement, i386_immediate,
2190 i386_scale, etc. instead of handling inline.
2191 (parse_register): Handle registers without prefix.
2192
2193Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com>
2194
2195 * configure: Regenerate.
2196 * configure.in (arm-*-oabi): New.
2197 (thumb-*-oabi): New.
2198 * config/tc-arm.c (target_oabi): Declare.
2199 (md_apply_fix3): Support REL relocs.
2200 (md_parse_option): Handle -oabi.
2201 (elf32_arm_target_format): New routine.
2202 (md_longopts): Add OPTION_OABI.
2203 * config/tc-arm.h: Redefine TARGET_FORMAT.
2204
2205
22061999-01-28 Nick Clifton <nickc@cygnus.com>
2207
2208 * write.c (write_relocs): Handle out of range error.
2209
2210 * config/tc-fr30.c (fr30_fix_adjustable): New function.
2211 (fr30_force_relocation): Default to 0.
2212
2213 * config/tc-fr30.h (obj_fix_adjustable): Define.
2214 (TC_FORCE_RELOCATION): Define.
2215
2216 * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
2217 relocs.
2218
22191999-01-16 Nick Clifton <nickc@cygnus.com>
2220
2221 * config/tc-d30v.c (write_2_short): Do not generate a sequential
2222 merge of two instructions if the left instruciton kills the right.
2223
22241999-01-11 Doug Evans <devans@casey.cygnus.com>
2225
2226 * Makefile.in: Regenerate.
2227 * configure.in: Redo test for using cgen.
2228 * configure: Regenerate.
2229
22301999-01-09 Nick Clifton <nickc@cygnus.com>
2231
2232 * config/obj-coff.h (obj_adjust_symtab): Prevent accidental
2233 redefinition of this macro.
2234
2235Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com>
2236
2237 * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
2238 warning.
2239
22401998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
2241
2242 * config/tc-mips.c (append_insn): For mips16, insert a nop between
2243 a read of HI or LO and an immediatly following branch.
2244
22451998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
2246
2247 * config/tc-mips.c (md_begin): Another correction to the setting of
2248 mips_eabi64.
2249
22501998-12-23 Gavin Romig-Koch <gavin@cygnus.com>
2251
2252 * config/tc-mips.c (md_begin): Correct type-o in setting of mips_eabi64.
2253
22541998-12-21 Nick Clifton <nickc@cygnus.com>
2255
2256 * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
2257 bit insn when optimizing, so that parallelised instructions will
2258 start on a 32 bit boundary.
2259
22601998-12-19 Gavin Romig-Koch <gavin@cygnus.com>
2261
2262 * config/tc-mips.c (mips_eabi64): New.
2263 (md_begin): Set mips_eabi64.
2264 (mips_elf_final_processing): Use it.
2265
22661998-12-18 Gavin Romig-Koch <gavin@cygnus.com>
2267
2268 * config/tc-mips.c (mips_elf_final_processing):
2269 Correct setting of ABI in e_flags.
2270
2271Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com>
2272
2273 * config/tc-fr30.c (md_assemble): Warn about invalid instructions in delay slots.
2274
22751998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
2276
2277 * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
2278
22791998-12-15 Doug Evans <devans@casey.cygnus.com>
2280
2281 * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
2282 warning, values that don't fit in the field.
2283
22841998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
2285
2286 * config/tc-mips.c (mips_abi_string): New.
2287 (md_parse_option,md_longopts): Add mabi.
2288 (mips_elf_final_processing): Set e_flags based on mabi flag.
2289
22901998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
2291
2292 * config/tc-mips.c (md_parse_option): Handle vr4111.
2293
229498-12-11 Ken Raeburn <raeburn@cygnus.com>
2295
2296 * config/tc-h8300.c (build_bytes): Change message given if the
2297 instruction requires H8/300H mode and we're not in Hmode, to
2298 suggest that it may be the operand modes that are the problem, not
2299 necessarily the opcode.
2300
23011998-12-10 Nick Clifton <nickc@cygnus.com>
2302
2303 * config/tc-fr30.c: Add line separator character.
2304
2305Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
2306
2307 * configure.in (hppa-*-mpeix*): New target.
2308 * config/obj-som.h (obj_som_compiler): Declare.
2309 * config/obj-som.c (compiler_seen): New static variable.
2310 (obj_som_compiler): New function.
2311 * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
2312 (md_pseudo_table): Add "compiler" if OBJ_SOM.
2313 (pa_type_args): Set hppa_priv_level.
2314 (pa_compiler): New static function if OBJ_SOM.
2315 * configure: Rebuild.
2316
2317Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com>
2318
2319 * read.c (output_leb128): Don't mark as inline.
2320
23211998-12-08 Andrew MacLeod <amacleod@cygnus.com>
2322
2323 * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
2324 AIX .vbyte unaligned data support.
2325 (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
2326 (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
2327 sections.
2328
23291998-12-07 Nick Clifton <nickc@cygnus.com>
2330
2331 * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
2332 input handling.
2333
2334Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com>
2335
2336 * config/tc-arm.c (elf32_arm_force_relocation): Check for
2337 BFD_RELOC_ARM_PCREL_BRANCH.
2338
2339Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com>
2340
2341 * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
2342 checking the target type.
2343 (mips-dec-bsd*): Set endian to little.
2344 * configure: Rebuild.
2345
2346 COFF weak symbol support, based on patches from Mark Elbrecht
2347 <snowball3@usa.net>:
2348 * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
2349 * config/obj-coff.c (obj_coff_weak): New static function.
2350 (obj_coff_endef) [both versions]: Handle weak symbols.
2351 (coff_frob_symbol): Likewise.
2352 (yank_symbols): Likewise.
2353 (obj_pseudo_table): Add "weak".
2354
2355 * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
2356 <aymeric.vincent@emi.u-bordeaux.fr>.
2357 * aclocal.m4: Rebuild with current tools.
2358 * configure: Rebuild.
2359
2360 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
2361 an assertion failure for a case we can't handle when OBJ_ECOFF.
2362
2363 * expr.c (operator): And with 0xff to avoid problems with signed
2364 char.
2365
23661998-12-03 Nick Clifton <nickc@cygnus.com>
2367
2368 * config/tc-fr30.c (md_cgen_lookup_reloc): Generate
2369 BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
2370
23711998-12-02 Nick Clifton <nickc@cygnus.com>
2372
2373 * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
2374 LDI:20 insn.
2375
2376Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
2377
2378 * config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
2379 of pcrel point.
2380
2381Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com>
2382
2383 * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
2384 pcrel point.
2385
2386Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com>
2387
2388 * config/tc-d10v.c (md_assemble): Make static 'etype' have file
2389 scope.
2390 (d10v_cleanup): Only generate previous insn if a multiline insn is
2391 not pending.
2392
2393Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com>
2394
2395 * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
2396 FR30_OPERAND_I32.
2397
2398Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com>
2399
2400 * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
2401 -marm6xxx command line switches.
2402
24031998-11-18 Doug Evans <devans@casey.cygnus.com>
2404
2405 * Makefile.am (DEP): Use $(srcdir)/../mkdep.
2406 (itbl-ops.o): Delete duplicate dependencies.
2407 Rebuild dependencies.
2408 Add fr30 dependencies.
2409 * Makefile.in: Rebuild.
2410
2411Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com>
2412
2413 * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
2414 opcode list.
2415 * listing.c: Ignore line terminator characters found inside
2416 strings.
2417
2418Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com>
2419
2420 * po/gas.pot: Regenerated.
2421
2422Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com>
2423
2424 * config/tc-fr30.c (fr30_is_colon_insn): New name for
2425 fr30_is_label_start(). Also checks for delay slot insns.
2426
2427 * config/tc-fr30.c (fr30_is_label_start): New function: Handle
2428 FR30 instructions which contain a colon in the mnemonic.
2429
2430 * config/tc-fr30.h (TC_START_LABEL): Define this macro.
2431
2432Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com>
2433
2434 * config/tc-fr30.c: Removed currently superflous code.
2435
2436Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com>
2437
2438 * config/tc-fr30.h: New file.
2439 * config/tc-fr30.c: Tweaking so that it will compile.
2440
2441Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com>
2442
2443 * config/tc-d10v.h (obj_fix_adjustable): Define.
2444 (TC_FORCE_RELOCATION): Define.
2445 (d10v_force_relocation): Declare.
2446 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
2447 (md_apply_fix3): Handle Vtable relocs.
2448 (d10v_fix_adjustable): New.
2449 (d10v_force_relocation): New.
2450
2451Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com>
2452
2453 * config/tc-d30v.c: Change default behaviour to ignore potential
2454 conflicts between register name and symbol names.
2455
2456Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
2457
2458 * configure.in: Add fr30-*-*.
2459 * config/tc-fr30.c: New file.
2460 * Makefile.in: Regenerated.
2461 * config.in: Regenerated.
2462 * configure: Regenerated.
2463 * doc/Makefile.in: Regenerated.
2464 * po/gas.pot: Regenerated.
2465
2466Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com>
2467
2468 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
2469 are 16 bit insns.
2470
2471Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
2472
2473 * app.c (do_scrub_begin): Set characters above 127 to be symbol
2474 characters.
2475 (do_scrub_chars): Add some casts to unsigned char to avoid
2476 unwanted sign extension.
2477 * read.c (lex_type): Set characters about 127 to be symbol
2478 characters.
2479 * config/tc-i386.c (md_begin): Set identifier_chars and
2480 operand_chars for values above 127.
2481
2482Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2483
2484 * configure.in: detect cygwin* instead of cygwin32*
2485 * configure: regenerate
2486
2487Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com>
2488
2489 * listing.c: Add support for producing a listing from piped
2490 input.
2491
2492Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
2493
2494 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
2495 (append_insn): Account for the tx39's multiply behavior.
2496
24971998-10-26 Michael Meissner <meissner@cygnus.com>
2498
2499 * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
2500 from assemble_parallel_insns. Add support for '->' to indicate
2501 explicitly serializing the instructions.
2502 (md_assemble): Ditto.
2503
2504Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com>
2505
2506 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
2507 WEAK handling.
2508
2509Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com>
2510
2511 * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
2512
2513Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com>
2514
2515 * config/tc-mips.c : support frame and regmask/fregmask when
2516 MIPS_STABS_ELF is specified.
2517
2518Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com>
2519
2520 * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
2521 (md_apply_fix): Don't return 1 for VTABLE relocs.
2522 * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
2523
2524Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2525
2526 * doc/c-i386.texi: Replace occurences of "opcode" with
2527 "instruction mnemonic", "instruction", or "mnemonic" when
2528 referring to the name of an instruction. Use "opcode" when
2529 referring to the sequence of machine bytes.
2530
2531 * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
2532 (is_opcode_char): Rename to is_mnemonic_char.
2533 (md_assemble and i386_operand): Correct error messages from
2534 "opcode" to "instruction mnemonic"
2535 Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
2536 MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
2537 DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
2538 WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
2539 BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
2540 SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
2541 LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
2542
2543 * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
2544
2545 * config/tc-i386.c (i386_operand): Check for garbage after
2546 register name.
2547
2548Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com>
2549
2550 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
2551 for BFD_ASSEMBLER to only change value when COFF if TE_PE.
2552
2553Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com>
2554
2555 * config/tc-sh.h (obj_fix_adjustable): Define.
2556 * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
2557 (md_apply_fix): Likewise.
2558 (tc_gen_reloc): Likewise.
2559 (sh_fix_adjustable): New.
2560
2561Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com>
2562
2563 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
2564 * cgen.h (gas_cgen_finish_insn): Update prototype.
2565 * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
2566 cgen_insn_t -> CGEN_INSN_INT.
2567 (make_parallel): Update handling of CGEN_INT_INSN_P.
2568 (assemble_parallel_insn): Ditto.
2569 (target_make_parallel): New function.
2570 (md_assemble): Use it.
2571
2572Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com>
2573
2574 * config/tc-m32r.c (m32r_force_relocation): Fix typo.
2575
2576Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com)
2577
2578 * config/tc-sh.c (md_assemble): Make sure the entire opcode is
2579 converted into lower case.
2580
2581Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com>
2582
2583 * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
2584 (gas_cgen_tc_gen_reloc): Likewise.
2585 * config/tc-m32r.h (obj_fix_adjustable): Define.
2586 * config/tc-m32r.c (m32r_fix_adjustable): New.
2587 (m32r_force_relocation): Handle VTABLE relocs.
2588
2589Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com>
2590
2591 * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
2592
2593Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com>
2594
2595 * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
2596 to lower case before parsing.
2597
2598 * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
2599 parallel insns modift buts in the PSW as a side effect.
2600
2601Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
2602
2603 * config/tc-d30v.c (find_format): Test for missing flag and
2604 control registers.
2605
2606 (md_apply_fix3): Fix error messages to avoid
2607 assumption about presence of a symbol.
2608
2609 (parallel_ok): Disallow parallel instructions that both modify the
2610 same flag register.
2611
2612 (find_format): Generate a warning if an odd numbered register is
2613 used as the first register in a mutli-register instruction.
2614
2615Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
2616
2617 * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
2618 relocations are always associated with a symbol.
2619
2620Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com>
2621
2622 * tc-sparc.h (TC_FORCE_RELOCATION): Define.
2623 (elf32_sparc_force_relocation): Declare.
2624 * tc-sparc.c (md_apply_fix3): Handle vtable relocs.
2625 (tc_gen_reloc): Handle vtable relocs.
2626 (elf32_sparc_force_relocation): New.
2627
2628Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com>
2629
2630 * symbols.c (S_IS_FUNCTION): New.
2631 * config/tc-v850.h (obj_fix_adjustable): Define.
2632 (TC_FORCE_RELOCATION): Define.
2633 (v850_force_relocation): Declare.
2634 * config/tc-v850.c (tc_gen_reloc): Use offset instead
2635 of fx_addnumber for VTABLE reloc addends.
2636 (md_apply_fix3): Handle VTABLE relocs.
2637 (v850_fix_adjustable): New.
2638 (v850_force_relocation): New.
2639
2640Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com)
2641
2642 * tc-hppa.c (fp_operand_format): Add some additional formats.
2643 (pa_ip): Do not automatically promote into pa2.0 mode.
2644 (pa_level): Handle ".level 2.0".
2645
2646Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2647
2648 * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
2649 * config/tc-i386.h (template.extension_opcode): Change to
2650 unsigned int to allow full range of 8-bit opcode suffixes.
2651 (None): Redefine as 0xffff.
2652
2653 From Jeff B Epler <jepler@usgs.gov>
2654 * doc/c-i386.texi (i386-SIMD): New section.
2655
2656Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com>
2657
2658 * read.c (discard_rest_of_line): New function.
2659 * read.h: Declare it.
2660 * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
2661
2662Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com>
2663
2664 * config/tc-d10v.c (find_symbol_matching_register): New function.
2665 (find_opcode): Cope with the case where a register name matches
2666 a symbol name.
2667
2668Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com>
2669
2670 * config/tc-v850.c (md_pcrel_from): Rename to
2671 v850_pcrel_from_section.
2672 (v850_pcrel_from_section): Do not resolves symbols in other
2673 sections.
2674
2675 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
2676
2677Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com>
2678
2679 * config/tc-d10v.c (find_opcode): Generate an error if a register
2680 is supplied for an operand that should not be a register.
2681
2682Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com>
2683
2684 * config/tc-d30v.c (write_2_short): But do allow delayed branch
2685 instructions to have another instruction in the right bin.
2686
2687Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com>
2688
2689 * config/tc-d30v.c (write_2_short): Do not allow instructions in
2690 the right container if the left container holds a branch
2691 instruction.
2692
2693Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
2694
2695 * config/tc-d30v.c (reg_name_search): Only warn if a name matches
2696 both a register name and symbol name.
2697 (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
2698
2699Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
2700
2701 * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
2702 execution unit class.
2703
2704 (reg_name_search): If a name matches a register and a symbol,
2705 prefer the register.
2706 (find_format): Disallow flag registers when a general purpose
2707 register is required.
2708 If a number is required, but a register has been given, check to
2709 see if a symbol with the same name as the register exists, and if
2710 so, use that symbol.
2711
2712Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com>
2713
2714 * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
2715
2716Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com>
2717
2718 * config/tc-d30v.c (find_format): Do not accept flag registers as
2719 general purpose registers.
2720 (find_format): If an immediate value is expected at a given place
2721 in a format, but a register name has been provided instead, check
2722 to see if that register name matches the name of a predefined
2723 symbol and if it does, then use the symbol instead.
2724 (reg_name_search): If a register name matches a symbol name,
2725 prefer the register name to the symbol name.
2726
2727Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com>
2728
2729 * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
2730 the previous insn to empty.
2731
27321998-09-20 Michael Meissner <meissner@cygnus.com>
2733
2734 * config/tc-ppc.c (md_apply_fix3): Do not break string into two
2735 pieces, forcing the use of an ANSI compiler.
2736
2737Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2738
2739 * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
2740 relocs.
2741 * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
2742
2743Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com>
2744
2745 * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
2746 assembler syntax.
2747 (obj_elf_vtable_entry): Likewise.
2748 * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
2749 * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
2750 (tc_gen_reloc): Likewise.
2751 (arm_fix_adjustable): Likewise.
2752 (elf32_arm_force_relocation): New.
2753 (armelf_frob_symbol): Remove coff-style symbol support.
2754
2755Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com>
2756
2757 * config/tc-i386.c (i386_operand): Fix typo in last patch.
2758
2759Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
2760
2761 * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
2762 OBJ_COFF so that routine is defined for a.out format.
2763
2764Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com>
2765
2766 * config/tc-i386.c (i386_operand): Detect non-segment registers
2767 used as segment prefixes.
2768
2769Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
2770
2771 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
2772 optimize across FDE boundaries.
2773
2774 * config/obj-coff.c (obj_coff_section): Preserve any link once
2775 flags when setting the section flags.
2776
2777Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com>
2778
2779 * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
2780 * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
2781
2782Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
2783
2784 * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
2785 to the host width.
2786
2787Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com>
2788
2789 * frags.c (frag_grow): Include the size of the frag struct in the
2790 obstack chunk size.
2791
2792 * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
2793 if the new subseg comes before the old.
2794
2795Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
2796
2797 * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
2798 to handle edge8 and edge16.
2799
2800Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com>
2801
2802 * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
2803 before we clobber the symbol involved.
2804
2805Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com>
2806
2807 * config/tc-arm.c: Remove OBJ_ELF definitions for
2808 S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
2809 use arm_adjust_symtab for OBJ_COFF.
2810 (armelf_adjust_symtab): New Routine.
2811 * config/tc-arm.h: Define obj_adjust_symtab to
2812 armelf_adjust_symtab for OBJ_ELF.
2813
2814Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com>
2815
2816 * configure.in: Make all i386-elf targets use bfd_gas.
2817 * config/tc-i386.c (tc_i386_force_relocation): New.
2818 (tc_i386_fix_adjustable): Don't fix vtable relocs.
2819 (md_apply_fix3): Likewise.
2820 (tc_gen_reloc): Handle them.
2821 * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
2822 tc_i386_force_relocation.
2823
2824Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com>
2825
2826 * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
2827
2828Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com>
2829
2830 * config/tc-d30v.c (md_assemble): Copy previous opcode over
2831 current opcode after writing the first insturction of a reverse
2832 sequential pair.
2833
2834Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com>
2835
2836 * read.h (generate_lineno_debug): Add prototype.
2837 * read.c (generate_lineno_debug): Make non-static.
2838
2839Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2840
2841 * config/tc-i386.c (md_assemble): Only warn for address/data size
2842 prefixes.
2843
2844Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com>
2845
2846 * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
2847 against Thumb function names, as the linker needs this information.
2848
28491998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
2850
2851 * expr.c (operand): Check also that there is no advance in operand
2852 after atof_generic in order to decide "is it label 0f or floating
2853 point number?".
2854
2855Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com>
2856
2857 * config/tc-m32r.c: Replace double dash prefix to M32R specific
2858 command line options with a single dash.
2859 * doc/c-m32r.texi: Replace double dash prefix with a single dash.
2860
2861Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com>
2862
2863 * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
2864 * tc-arm.c (arm_fix_adjustable): New routine.
2865
28661998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com>
2867
2868 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
2869 s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
2870 demand_empty_rest_of_line before mri_comment_end.
2871 (equals): Check garbage after expression before
2872 mri_comment_end in MRI mode.
2873
2874Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com>
2875
2876 * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
2877 small immediate constant to use the constant itself rather than
2878 always using 1.
2879
2880Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com>
2881
2882 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
2883 (pa_leave): Likewise.
2884
2885Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2886
2887 * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
2888 prefixes.
2889 (i386_operand): Fix an error message.
2890
2891Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com>
2892
2893 * doc/c-arm.texi (ARM Directives): Document .req directive.
2894
2895 * config/tc-arm.c (reg_required_here): Display erroneous string if
2896 the register name could not be decoded.
2897 Do not set inst.instruction if the sift is -1.
2898
2899Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com>
2900
2901 * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
2902 we do for EXTERN.
2903
2904Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com>
2905
2906 * config/tc-d30v.c (d30v_align): Always perform alignment request,
2907 even if it is belived to be unnecessary.
2908
2909Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2910
2911 config/tc-i386.c (i386_operand): Size immediate constants by
2912 suffix (erroneously removed as part of July 7 change).
2913
2914Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com>
2915
2916 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
2917 * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
2918 (armelf_frob_symbol): New Routine.
2919 * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
2920
2921Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
2922
2923 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
2924
2925Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>
2926
2927 * config/tc-arm.c (md_begin): Set BFD private flags depending upon
2928 command line switches passed to assembler.
2929
2930Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com>
2931
2932 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
2933 (gas_cgen_opcode_desc): Declare.
2934 (gas_cgen_parse_operand): Declare.
2935 (*): Prepend gas_ to gas specific fns to denote them as such.
2936 All uses updated.
2937 * cgen.c (gas_cgen_opcode_desc): New global
2938 (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
2939 (queue_fixup): Renamed from cgen_queue_fixup.
2940 (*): Prepend gas_ to gas specific fns to denote them as such.
2941 All uses updated.
2942 (gas_cgen_md_apply_fix3): Update call to insert_operand.
2943 (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
2944 * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
2945 Open opcode table and initialize it.
2946 (make_parallel): Use gas_cgen_opcode_desc.
2947 (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
2948 (md_assemble): Ditto.
2949
2950Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com>
2951
2952 * as.h (debug_info_type): Add entries for unspecified and dwarf*.
2953 * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
2954 as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
2955 * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
2956 Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
2957 * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
2958 DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
2959 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
2960 (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
2961 (INIT_STAB_SECTION): Likewise.
2962 (OBJ_PROCESS_STAB): Likewise.
2963
2964 * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
2965 (md_parse_option): Watch for them.
2966 (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
2967 (md_begin): Kill neverdef code.
2968 (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
2969 (s_alpha_prologue): Watch alpha_cur_ent_sym.
2970 (s_alpha_coff_wrapper): New.
2971 (md_pseudo_table): Trap all ECOFF pseudos.
2972
2973Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com>
2974
2975 Start of changes to remove mdebug section from mips*-elf
2976 Based on MIPS_STAB_ELF definition
2977 * acconfig.h: undef if not configured
2978 * config.in: undef if not configured
2979 * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
2980 * config/tc-mips.c (s_ent): set BSF_FUNCTION
2981 * stabs.c (s_stab_generic): flush frag
2982
2983Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com>
2984
2985 * configure.in: (arm-*-elf): Handle.
2986 (thumb-*-elf): Handle.
2987 * configure: Regenerate.
2988 * read.c (stringer): Fix typo in comment.
2989 * write.c (fixup_segment): Don't add symbol value to addend if
2990 TC_ARM and OBJ_ELF.
2991 * config/tc-arm.c (md_section_align): Don't align dwarf debug
2992 sections.
2993 (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
2994 for OBJ_ELF.
2995
2996Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com>
2997
2998 * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
2999 (write_2_short): Emit warning if new flag is set.
3000 (do_assemble): Set flags if left instruction is one of special
3001 "right-instruction-killer" type.
3002
3003Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com>
3004
3005 * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
3006 Always output words in debug_info section as big endian.
3007 (sparc_target_format): Choose correct bfd target.
3008 (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
3009
3010Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com)
3011
3012 * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
3013 to work with internationalization code. Issue an error when two
3014 operands match that are not allowed to match.
3015
3016Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com>
3017
3018 * configure.in (install_tooldir): Allow target to specify whether
3019 it wants to be installed in $(tooldir)/bin.
3020 * configure: Regenerate.
3021 * Makefile.am (install-exec-local): Set install-exec-tooldir
3022 dependency via configure.
3023 * Makefile.in: Regenerate.
3024
3025Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com>
3026
3027 * Makefile.am (install-exec-local): Split into two ...
3028 (install-exec-bindir,install-exec-tooldir): New rules.
3029 * Makefile.in: Regenerate.
3030
3031Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com>
3032
3033 * Makefile.am (install-exec-local): Don't remove the file before
3034 checking whether $(bindir) == $(tooldir)/bin. From Maciej
3035 W. Rozycki <macro@ds2.pg.gda.pl>.
3036 * Makefile.in: Rebuild.
3037
3038Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com>
3039
3040 * cgen.c: Include libiberty.h.
3041 (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
3042 (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
3043 * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
3044 (md_cgen_lookup_reloc)): Declare.
3045 (md_cgen_record_fixup_exp): Declare.
3046 * config/tc-m32r.h (md_pcrel_from_section): Declare.
3047 (m32r_relax_frag): Declare.
3048 (cgen_md_apply_fix3): Decls moved to cgen.h.
3049 (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
3050 (m32r_cgen_record_fixup_exp): Delete decl.
3051 * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
3052 (assemble_nop): Delete.
3053 (expand_debug_syms): Delete unused `exp'.
3054 (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
3055 Add default case for -Wall.
3056 (m32r_cgen_record_fixup_exp): Add default case for -Wall.
3057 (md_atof): Delete unused wordP.
3058
3059Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com)
3060
3061 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
3062 value.
3063
3064Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com>
3065
3066 * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
3067 .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
3068 .print, .purgem, and .struct. Remove documentation for
3069 .app-file.
3070
3071Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
3072
3073 * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
3074 Update call to insert_operand.
3075
3076Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
3077
3078 * config/tc-m32r.c (ms_show_usage): Formatting changes.
3079
3080Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com>
3081
3082 * config/tc-i386.c (md_assemble): Don't get confused by trailing
3083 whitespace after a prefix operator.
3084
3085Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com>
3086
3087 * configure.in (i386-*-beos{pe,elf,}*): Recognize.
3088
3089Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
3090
3091 * config/tc-sparc.c (log2): New static function.
3092 (s_reserve): Use log2 to convert alignment before calling
3093 record_alignment.
3094 (s_common): Use log2 to convert alignment before calling
3095 record_alignment and frag_align.
3096 (sparc_cons_align): Use log2.
3097
3098Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com>
3099
3100 * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
3101 (s_common): Likewise.
3102
3103 * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
3104 initialization of waddr.
3105 (sparc_elf_final_processing): Add default case to switch.
3106
3107Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3108
3109 * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
3110 than temporary real.
3111
3112Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com>
3113
3114 * write.c (subsegs_finish): Don't align the segments if there were
3115 any errors.
3116
3117 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
3118 copying aux information.
3119
3120 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
3121 expression into a symbol.
3122
3123Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3124
3125 * config/tc-i386.c (mode_from_disp_size): Change arg and return
3126 type to unsigned int.
3127 (md_assemble): Change type used to store offsets from unsigned
3128 long to long.
3129 (i386_operand): Switch error check to only call RESTORE_END_STRING
3130 once after parse_register.
3131
3132Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com>
3133
3134 * config/tc-v850.c (md_show_usage): Changed format to match that
3135 of gcc, ld, etc.
3136
3137 * as.c (show_usage): Changed format to match that of gcc, ld, etc.
3138
3139Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3140
3141 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
3142 relocs.
3143 (md_apply_fix_2): Force the symbol of the vtable reloc to be
3144 weak.
3145
3146Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com>
3147
3148 * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
3149 * doc/Makefile.in: Rebuild.
3150
3151Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com)
3152
3153 * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
3154 for %lo expressions.
3155 (mips_ip, case 'u'): Move range check after code to mask
3156 off bits in %hi/%lo expressions. Mask off high bits for
3157 %lo expressions.
3158
3159Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
3160
3161 * doc/Makefile.am (gasver.texi): New target.
3162 (as.info, as.dvi): Depends upon gasver.texi.
3163 * doc/as.texinfo: Include gasver.texi. Mention version number on
3164 title page and in top node.
3165 * doc/Makefile.in: Rebuild.
3166
3167Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
3168
3169 * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
3170 but not including the line containing the edict.
3171 * listing.h (LISTING_EOF): New.
3172 * input-scrub.c (input_scrub_next_buffer): Call it.
3173
3174Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3175
3176 * config/tc-i386.c (i386_operand): Don't set the size of an
3177 immediate address based solely on the suffix and the mode.
3178
3179 * config/tc-i386.c (md_assemble): Add assertion to make sure
3180 overlap2 does not set Imm.
3181
3182 * config/tc-i386.c (space_chars): Remove. The scrubber converts
3183 sequences of whitespace to a single space.
3184 (is_space_chars): Just compare with space.
3185 (md_begin): Don't initialize space_chars.
3186 (md_assemble): Just skip a single whitespace character.
3187 (i386_operand): Rewrite base-index parsing to use new
3188 parse_register, and to skip white space. Skip white space in a
3189 number of other places too. Don't give error message if
3190 parse_register fails.
3191 (parse_register): Change reg_string parameter to be non-const.
3192 Add end_op parameter. Skip white space after the `%', and return
3193 end of register string. Give error message here rather than
3194 caller.
3195
3196Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com>
3197
3198 Based on patch from Matt Semersky <matts@scd.hp.com>:
3199 * expr.c (op_encoding): Make const.
3200 (expr_set_precedence): New function.
3201 (expr_begin): Don't set operator rankings, just call
3202 expr_set_precedence.
3203 * expr.h (expr_set_precedence): Declare.
3204 * read.c (s_mri): Call expr_set_precedence.
3205
3206Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com>
3207
3208 * doc/as.texinfo (Statements): Remove paragraph discussing
3209 continuing lines with a backslash. This hasn't worked for years,
3210 if it ever did.
3211
3212Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
3213
3214 * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
3215 symbol definitions.
3216 (Ctors_Symbols, Dtors_Symbols): New symbol chains.
3217 (ps_CTORS, ps_DTORS): New section types.
3218 (vms_fixup_xtors_section): New function
3219 (Ctors_Psect, Dtors_Psect): Define.
3220 (IS_GXX_XTOR): Define
3221 (global_symbol_directory): Change check of gxx_bug_fixed to 0.
3222 Filter static constructors/destructors and add to
3223 Ctors_Symbols/Dtors_Symbols chain.
3224 (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
3225 appropriate section.
3226
3227 * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
3228 * makefile.vms: Merge vax/vms support.
3229
3230Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com>
3231
3232 * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
3233 (elf_pseudo_table): Add them.
3234 * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
3235 (md_apply_fix): Accept them.
3236 (mips_fix_adjustable): Don't adjust them.
3237 (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
3238 * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
3239 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
3240 (tc_fix_adjustable): Don't adjust them.
3241
3242Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com>
3243
3244 * Makefile.am (CGEN_CPU_PREFIX): New variable.
3245 (cgen.o): Use it.
3246 * Makefile.in: Regenerate.
3247 * configure.in: AC_SUBST cgen_cpu_prefix.
3248 * configure: Regenerate.
3249
3250Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3251
3252 * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
3253 Changed all users of COND12_DELAY.
3254
3255Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
3256
3257 * config/tc-mn10300.c (set_arch_mach): New function.
3258 (md_pseudo_table): Add pseudo-ops to set the current machine type.
3259 (md_begin): Default to mn10300 mode.
3260 (md_assemble): Only accept instructions for the core mn10300
3261 chip and the active machine type.
3262
3263Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com>
3264
3265 * subsegs.h (segment_info_type): Give the struct a name.
3266 * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
3267 * config/tc-h8500.h (tc_reloc_mangle): Declare.
3268 * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
3269 * config/tc-w65.h (tc_reloc_mangle): Declare.
3270 * config/tc-z8k.h (tc_reloc_mangle): Declare.
3271
3272Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com>
3273
3274 * config/tc-v850.c (v850_comm): Restore old section
3275 after common processing.
3276
3277Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
3278
3279 * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
3280
3281Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com>
3282
3283 * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
3284 char with code that explicitly sign-extends.
3285
3286Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
3287
3288 * config/tc-v850.c (md_begin): Restore text section as the current
3289 section after creating call table sections.
3290 * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
3291 code.
3292
3293 * config/obj-coff.c (c_symbol_merge): Replace complex expresion
3294 with call to macro SYM_AUXINFO.
3295
3296Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
3297
3298 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
3299 with the program transform name.
3300 * Makefile.in: Rebuild.
3301
3302Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com>
3303
3304 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
3305 information.
3306
3307Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com>
3308
3309 * config/tc-i386.c (i386_operand): Be prepared for a space between
3310 the open parenthesis and the start of the register operand,
3311 because of the June 16 change.
3312
3313Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com>
3314
3315 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
3316 BFD_ASSEMBLER.
3317
3318Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com>
3319
3320 * config/tc-d30v.c (d30v_align): Always perform alignment request,
3321 even if it is belived to be unnecessary.
3322
3323Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com>
3324
3325 * write.c (adjust_reloc_syms): Never adjust relocs against weak
3326 symbols.
3327 * config/tc-mips.c (md_apply_fix): Adjust accordingly.
3328
3329Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com)
3330
3331 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
3332 shift amount for a repeated operand. The shift amount for the
3333 repeated copy comes from the size of the operand.
3334
3335Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com)
3336
3337 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
3338
3339Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
3340
3341 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
3342
3343Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3344
3345 * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
3346 characters in it as LEX_IS_SYMBOL_COMPONENT.
3347 * config/tc-i386.h (tc_symbol_chars): Define.
3348 (extra_symbol_chars): Declare.
3349 * config/tc-i386.c (extra_symbol_chars): Define.
3350 (comment_chars): Don't use '/' as comment start if TE_LINUX.
3351 (line_comment_chars): Set to '/' if TE_LINUX.
3352 * doc/c-i386.texi (i386-prefixes): Update.
3353 * doc/internals.texi (CPU backend): Document tc_symbol_chars.
3354
3355Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com>
3356
3357 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
3358 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
3359
33601998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
3361
3362 * config/tc-d10v.c (md_apply_fix3): Checking displacement
3363 constraint in instructions REP & REPI.
3364
3365Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com>
3366
3367 * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
3368 BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
3369
3370 (check_range): If the operand is shifted, then shift the number
3371 before checking its range.
3372
3373 * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
3374
3375 * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
3376 common sections.
3377
3378Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com>
3379
3380 * config/tc-v850.c (v850_comm): Create special sections as needed.
3381
33821998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
3383
3384 * config/tc-d10v.c (write_2_short): Addition of swapping
3385 instructions for sequential and reverse sequential order when
3386 given order is not possible.
3387
3388Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
3389
3390 * Makefile.am: Rebuild dependencies.
3391 (DEP_INCLUDES): Fix reference to intl build directory.
3392 * Makefile.in: Rebuild.
3393
3394Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3395
3396 * doc/c-i386.texi: Update 16 bit documentation.
3397
3398 * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
3399 IgnoreDataSize to IgnoreSize as they are used for address size as
3400 well as data size.
3401 * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
3402 32-bit mode, similarly addr16/data16 and variants.
3403
3404Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com>
3405
3406 * config/tc-d30v.c (md_assemble): Fix handling of reverse
3407 sequential word multiply instructions.
3408
3409 (do_assemble): Add extra command line argument, to allow mul32
3410 attribute to be preserved across parallel insns.
3411 (md_assemble): Insert NOPs between explicitly parallel insns which
3412 contain an 32 bit multiply and a 16 multiply.
3413
3414Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3415
3416 * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
3417 likewise for REPE.
3418
3419 * config/tc-i386.c (reloc): Add braces.
3420
3421 * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
3422 consistent with Intel naming.
3423 * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
3424 use bitfields in sib_byte.
3425 (modrm_byte): Don't use bitfields here either.
3426
3427 * config/tc-i386.c (current_templates): Add const.
3428 (parse_register): Add const to return, param, and char *s.
3429 (i386_operand): Add const to reg_entry *r.
3430 * config/tc-i386.h (templates): Add const to start, end.
3431
3432 Inspired by code for 16 bit gas support from Martynas Kunigelis
3433 <martynas@nm3.ktu.lt>:
3434 * config/tc-i386.c (md_assemble): Add full support for 16 bit
3435 modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
3436 (uses_mem_addrmode): Remove.
3437 (md_estimate_size_before_relax): Add support here too.
3438 (md_relax_table): Rewrite interface to md_relax for 16 bit
3439 support.
3440 (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
3441 (opcode_suffix_to_type): Remove.
3442 (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
3443 (SIZE_FROM_RELAX_STATE): Modify to suit above.
3444 (md_convert_frag): Likewise.
3445 (i386_operand): Add support for 16 bit base/index regs,
3446 immediates, and displacements. Remove some unnecessary casts, and
3447 localise end_of_operand_string, displacement_string_start,
3448 displacement_string_end variables. Add GCC_ASM_O_HACK.
3449 * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
3450
3451 * config/tc-i386.c (prefix_hash): Remove.
3452 (md_begin): Rewrite without obstacks. Remove prefix hash table
3453 handling. Rewrite lexical table handling.
3454 (i386_print_statistics): Don't print prefix statistics.
3455 (md_assemble): Rewrite instruction parser so that line is not
3456 converted to lower case. Don't do a hash_find for prefixes,
3457 instead recognise them via opcode modifier.
3458 (expecting_operand, paren_not_balanced): Localise variables.
3459 * config/tc-i386.h (IsPrefix): Define.
3460 (prefix_entry): Remove.
3461
3462 * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
3463 * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
3464 '\\' in case where comment_chars contains '/'.
3465
3466 * config/tc-i386.c (MATCH): Ensure given operand and template
3467 match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
3468 you must write `ljmp *table(%ebx)'.
3469
3470 From H.J. Lu <hjl@gnu.org>:
3471 * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
3472 as 0 ifndef BFD_ASSEMBLER.
3473 (md_assemble): Allow immediate operands without suffix or
3474 other reg operand to default in size to the current code size.
3475
3476Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
3477
3478 * config/tc-v850.c (md_begin): Restore creation of
3479 .call_table_text and .call_table_data sections.
3480
3481Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com>
3482
3483 * config/tc-d30v.c (md_assemble): Set execution type to unknown
3484 after emitting a word of noops.
3485
3486Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3487
3488 * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
3489 (i386_operand): Simplify checks for valid base/index combinations.
3490 Disallow `in 4(%dx),%al'.
3491
3492 * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
3493 index_reg const.
3494 (add_prefix): Change parameter from char to int.
3495
3496 * config/tc-i386.h (Ugh): Define opcode modifier.
3497 * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
3498
3499 * config/tc-i386.c (md_assemble): Rewrite MATCH and
3500 CONSISTENT_REGISTER_MATCH macros to check register types more
3501 thoroughly. Check for illegal suffix/operand combinations
3502 when matching insns with operands. Handle new `s' suffix, and
3503 associated FloatMF opcode modifier for float insns with memory
3504 operands.
3505 * config/tc-i386.h (FloatMF): Define new opcode modifier.
3506 (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
3507 (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
3508 * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
3509 DATA_PREFIX_OPCODE throughout.
3510
3511 * config/tc-i386.c (REGISTER_WARNINGS): Define.
3512 (md_assemble): Rewrite suffix/register operand checking code to be
3513 more thorough. Remove Abs8,16,32. Change occurrences of Mem to
3514 AnyMem, the better to grep.
3515 (pi): Remove Abs.
3516 (i386_operand): Don't set Mem bits in i.types[this_operand] when
3517 given a memory operand. Don't set Abs bits either.
3518 (type_names): Remove Mem*, Abs*.
3519 * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
3520 define opcode_modifiers as these cases are handled by Disp8,
3521 Disp16, Disp32 and suffix checks.
3522 (COMES_IN_BOTH_DIRECTIONS): Remove.
3523 (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
3524
3525 * config/tc-i386.c (md_assemble): Don't emit operand size prefix
3526 if IgnoreDataSize modifier given. Remove ShortformW modifier
3527 test. Add test for ShortForm in W base_opcode modification.
3528 Merge Seg2ShortForm and Seg3ShortForm code.
3529 * config/tc-i386.h (ShortFormW): Remove.
3530 (IgnoreDataSize): Define.
3531
3532Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com>
3533
3534 * config/tc-d30v.c (md_assemble): Store previous segment state
3535 with previous instruction.
3536
3537Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3538
3539 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
3540 (ebp, esp): Remove static variables.
3541 (MATCH): Remove test for InOutPortReg.
3542 (i386_operand): Properly handle InOutPortReg here instead.
3543 Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
3544 (md_assemble): Simplify and correct modrm and sib generation.
3545 (i386_operand): Add warning for scale without index.
3546 Rewrite checks for valid base/index combinations.
3547
3548 * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
3549 macros and enclose in do while(0).
3550 (RESTORE_END_STRING): Likewise.
3551 (md_assemble): Add one to printed operand number so we start
3552 from 1 not 0. Add some more gettext invocations.
3553 (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
3554 number here too.
3555
3556 * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
3557 DATA_PREFIX, SEG_PREFIX): Define.
3558 * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
3559 (check_prefix): Remove function.
3560 (add_prefix): New function. Add prefix to i.prefix as well as
3561 doing checks.
3562 (md_assemble): Changes for add_prefix. Remove hack for wait
3563 prefix, instead always output prefixes in fixed order. Test
3564 for jcxz/loop when selecting between word & dword operations,
3565 and add address size prefix rather than operand size prefix.
3566 Remove operand -> address size hack when emitting jcxz/loop.
3567 (i386_operand): Remove O_Absent check as it's done in expr.
3568
3569Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com>
3570
3571 * configure.in: Recognize m5200 as a cpu_type of m68k.
3572 * aclocal.m4: Rebuild with current libtool.
3573 * configure: Rebuild.
3574
3575Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3576
3577 * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
3578 to relaxable_symbol to prevent references to external symbol from
3579 being relaxed.
3580
3581Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com>
3582
3583 * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
3584 symbols are relaxable.
3585
3586Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com>
3587
3588 * config/tc-v850.c (md_begin): Don't create special
3589 sections by default.
3590
3591Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com)
3592
3593 * config/tc-mips.c (macro): For div and udiv, close the
3594 reorder block as soon as possible.
3595
3596Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com>
3597
3598 From Matt Semersky <matts@scd.hp.com>:
3599 * macro.c (macro_mri_mode): New function.
3600 * macro.h (macro_mri_mode): Declare.
3601 * read.c (s_mri): Call macro_mri_mode when switching in and out of
3602 MRI mode.
3603
3604Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
3605
3606 * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
3607 OBJ_EVAX case.
3608
3609 * config/tc-alpha.c (s_alpha_comm): Defer restoring character
3610 until after xstrdup in OBJ_EVAX case.
3611
3612Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
3613
3614 * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
3615 offset calculation. Also, use VAX_BRW from vax-inst.h instead
3616 of hardcoded magic number.
3617 (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
3618
3619Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com>
3620
3621 * read.c (do_s_func): New function.
3622 (s_func): Call it.
3623 * read.h (do_s_func): Add prototype.
3624
3625Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com>
3626
3627 * config/tc-m32r.c (m32r_do_align): Only fill code sections with
3628 nops if fill pattern not specified.
3629
3630Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com>
3631
3632 From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
3633 * config/te-go32.h (TE_GO32): Define.
3634 * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
3635
3636Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com>
3637
3638 Implement .func/.endfunc pseudo-ops.
3639 * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
3640 (s_func): Declare.
3641 * read.c (potable): Add .func,.endfunc.
3642 (s_func): New function.
3643 * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
3644 functions.
3645 (in_doc_func_p,current_function_label): New static globals.
3646 (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
3647
3648Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com>
3649
3650 * config/tc-a29k.h (WORKING_DOT_WORD): Define.
3651 * config/tc-alpha.h (WORKING_DOT_WORD): Define.
3652 * config/tc-arm.h (WORKING_DOT_WORD): Define.
3653 * config/tc-h8300.h (WORKING_DOT_WORD): Define.
3654 * config/tc-h8500.h (WORKING_DOT_WORD): Define.
3655 * config/tc-hppa.h (WORKING_DOT_WORD): Define.
3656 * config/tc-i860.h (WORKING_DOT_WORD): Define.
3657 * config/tc-i960.h (WORKING_DOT_WORD): Define.
3658 * config/tc-tic30.h (WORKING_DOT_WORD): Define.
3659 * config/tc-w65.h (WORKING_DOT_WORD): Define.
3660 * config/tc-z8k.h (WORKING_DOT_WORD): Define.
3661 * config/tc-a29k.c: Don't define md_short_jump_size,
3662 md_long_jump_size, md_create_short_jump or md_create_long_jump.
3663 * config/tc-alpha.c: Likewise.
3664 * config/tc-alpha.h: Likewise.
3665 * config/tc-arm.c: Likewise.
3666 * config/tc-h8300.c: Likewise.
3667 * config/tc-h8500.c: Likewise.
3668 * config/tc-hppa.c: Likewise.
3669 * config/tc-i860.c: Likewise.
3670 * config/tc-i960.c: Likewise.
3671 * config/tc-ppc.c: Likewise.
3672 * config/tc-sh.c: Likewise.
3673 * config/tc-sparc.h: Likewise.
3674 * config/tc-tic30.c: Likewise.
3675 * config/tc-w65.c: Likewise.
3676 * config/tc-z8k.c: Likewise.
3677
3678Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
3679
3680 * config/tc-vax.c (_): Delete this macro used for placeholder
3681 values in vax_operand_width_size; it conflicts with the _() macro
3682 used for internationalization.
3683
3684Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com>
3685
3686 * symbols.c (symbol_find_base): Fix case insensitive symbol name
3687 code. From Chris Moller <moller@bops.com>.
3688
3689 Based on patch from Klaus Kaempf <kkaempf@progis.de>:
3690 * struc-symbol.h (struct broken_word): Add seg and subseg fields.
3691 * read.c (emit_expr): Initialize seg and subseg fields of a new
3692 broken word.
3693 * write.c (write_object_file): Switch to the appropriate segment
3694 and subsegment when processing a broken word.
3695
3696 * config/tc-m68k.c (mri_assemble): New static function.
3697 (build_mri_control_operand): Call mri_assemble rather than
3698 md_assemble.
3699 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
3700 (s_mri_endf, s_mri_endw): Likewise.
3701
3702Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com>
3703
3704 * read.c (s_org): Call md_flush_pending_output if it is defined.
3705
3706 * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
3707
3708Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com>
3709
3710 * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
3711 (md_parse_option): Add for same.
3712 (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
3713 (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
3714 (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
3715
3716 * config/tc-sparc.h (cons_fix_new_sparc): Added.
3717
3718Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com>
3719
3720 * config/tc-arm.c (find_real_start): Relax definition of local
3721 labels.
3722
3723Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com>
3724
3725 * config/tc-d30v.c (d30v_align): Apply address adjustment to all
3726 symbols at the given address, not just the last one specified.
3727
3728Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com>
3729
3730 * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
3731 or number_to_chars_littleendian to write data.
3732
3733Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com>
3734
3735 * config/tc-v850.c (md_assemble): Remove artificially created
3736 register name symbols.
3737
3738Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com>
3739
3740 * write.c (fixup_segment): Change "segment" to "section" in
3741 error message.
3742
3743Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com>
3744
3745 * write.c (fixup_segment): Change sym1-sym2 message again.
3746
3747Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com>
3748
3749 * write.c (fixup_segment): Improve error message for sym1-sym2
3750 errors when sym1 is in a different segment from sym2.
3751
3752Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
3753
3754 * config/tc-m32r.c (warn_unmatched_high): New static local.
3755 (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
3756 (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
3757 (md_longopts): Recognize --{no-,}warn-unmatched-high.
3758 (md_parse_option): Likewise.
3759 (md_show_usage): Likewise.
3760 (m32r_frob_file): Likewise.
3761
3762 * read.c (generate_file_debug,generate_lineno_debug): New functions.
3763 (read_a_source_file): Call them.
3764 * read.h (stabs_generate_asm_file): Declare.
3765 * stabs.c (stabs_generate_asm_file): New function.
3766 (generate_asm_file): New function.
3767 (stabs_generate_asm_lineno): Move file name handling into
3768 generate_asm_file.
3769
3770Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
3771
3772 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
3773 (d30v_current_align, d30v_current_align_seg): New variables.
3774 (d30v_last_label): New variable.
3775 (d30v_align, s_d30v_align, s_d30v_text): New functions.
3776 (s_d30v_data, s_d30v_section): Likewise.
3777 (md_pseudo_table): Call them.
3778 (md_begin): Initialize d30v_current_align_seg.
3779 (md_assemble): Call d30v_align when needed by known current alignment.
3780 (d30v_frob_label, d30v_cons_align): New functions.
3781 * config/tc-d30v.h (md_do_align): Remove.
3782 (tc_frob_label): Call d30v_frob_label.
3783 (md_cons_align): New.
3784
3785 * config/tc-d30v.c (find_format): Convert complex expressions to
3786 expression symbols before processing. Clean up code formatting.
3787
3788Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com)
3789
3790 * po/Make-in (install-info): New target.
3791
3792Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com)
3793
3794 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
3795 instructions.
3796 * config/tc-mn10300.c (md_assemble): Likewise.
3797
3798Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com>
3799
3800 * Makefile.am: Update with `make dep-am'.
3801 (HFILES): Add cgen.h.
3802 (cgen.o): Depend on cgen.h.
3803 * Makefile.in: Regenerate.
3804
3805 * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
3806
3807Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
3808
3809 * gasp.c (grab_label): Permit a label to be a preprocessor
3810 variable by permitting a label to start with a backslash.
3811
3812Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
3813
3814 * config/tc-mips.c (validate_mips_insn): Removed hack
3815 for previously inaccessible bitfields in some INSN_TRAP
3816 instructions.
3817
3818Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com>
3819
3820 * config/tc-d30v.c (do_assemble): Abort with error message
3821 if opcode operands do not match.
3822
3823Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com>
3824
3825 * config/tc-mips.c (macro_build, validate_mips_insn): Implement
3826 'q' operand format for 20-bit "break"/"sdbbp" instructions.
3827 (mips_ip): Truncate overflowed "break" 'c' operand. Implement
3828 similar new 'q' operand.
3829
3830Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com>
3831
3832 * cgen.c (cgen_asm_finish_insn): Fix typo.
3833
3834Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com>
3835
3836 * cgen.h: New file.
3837 * cgen.c: Include it.
3838 (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
3839 (cgen_asm_finish_insn): Result is now void. New arg `result'.
3840 All callers updated.
3841 * config/tc-m32r.c: Include cgen.h.
3842 (m23r_insn): New members num_fixups,fixups.
3843
3844Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com)
3845
3846 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
3847 to avoid compiler warning.
3848
3849Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
3850
3851 * makefile.vms: Run dec c with /nodebug. Pass CC value when
3852 calling make.
3853
3854 * makefile.vms (OBJS): Add ehopt.obj
3855
3856Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
3857
3858 * doc/c-vax.texi: Correct and extend vax/vms documentation.
3859
3860Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com>
3861
3862 * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
3863 a short format insn.
3864 (md_assemble): Set it for explicitly packed insns.
3865
3866Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com>
3867
3868 * config/obj-coff.c (c_symbol_merge): Do not take address of
3869 native fields when performing the memcpy.
3870
3871Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com>
3872
3873 * config/tc-mips.c (macro,macro2): Implement
3874 M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
3875
3876Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3877
3878 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
3879 relocations against globally visible symbols.
3880 * config/tc-m68k.c (relaxable_symbol): New macro.
3881 (m68k_ip, md_estimate_size_before_relax): Use it.
3882 (tc_m68k_fix_adjustable): Also handle weak symbols.
3883
3884Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com>
3885
3886 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
3887 references to externally visible symbols.
3888 * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
3889 values in twice for a PC relative reloc if the symbol is
3890 externally defined.
3891
3892 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
3893 don't adjust a PC relative reloc against an externally visible
3894 symbol.
3895 * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
3896 for a PC relative fixup against an externally visible defined
3897 symbol, arrange to store object file and addend values as though
3898 the symbol were not defined.
3899 (tc_gen_reloc): Likewise.
3900
3901Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com>
3902
3903 * read.c (sizeof_leb128): Referenced externally by write.c so
3904 don't inline.
3905
3906Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com>
3907
3908 * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
3909 and expand a 'debug' symbol associated with the next instruction
3910 that does not cause a short instruction to be filled with a NOP.
3911 (md_pseudo_table): Add support for .debugsym.
3912 (assemble_parallel_insn): Add calls to expand_debug_sym as
3913 appropriate.
3914 (md_assemble): Ditto.
3915
3916Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
3917
3918 * as.c (main): Conditionally call setlocale.
3919 * gasp.c (main): Likewise.
3920 * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
3921 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
3922
3923Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
3924
3925 * config/tc-d30v.c (md_show_usage): Correct gettext typo.
3926
3927Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com>
3928
3929 * config/tc-hppa.c: Change all calls to bzero to use memset.
3930 (pa_ip): Add cast to avoid warning.
3931 (tc_gen_reloc, md_apply_fix): Likewise.
3932 (pa_find_space_by_number): Likewise.
3933 (hppa_force_relocation): Likewise.
3934 (pa_block): Change i to unsigned int.
3935 * config/obj-som.h (obj_som_copyright): Declare.
3936
3937Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com>
3938
3939 * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
3940 for line numbers for assembly source.
3941
3942Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com>
3943
3944 * configure.in: Change version number to 2.9.4
3945 * configure: Rebuild.
3946
3947Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com>
3948
3949 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
3950
3951Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com>
3952
3953 * ecoff.h: Change symbolS in function declaration to struct
3954 symbol.
3955
3956Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com>
3957
3958 * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
3959 (md_convert_frag): Fix i18n typo.
3960
3961Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com>
3962
3963 * ecoff.c (ecoff_get_cur_proc_sym): New function.
3964 * ecoff.h: Protoype it.
3965 * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
3966 [EVAX] (s_alpha_prologue): Delete.
3967 (md_pseudo_table): Update.
3968
3969Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com>
3970
3971 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
3972 array to local pointer.
3973 (get_args, parse_expr): Add casts to avoid warnings.
3974
3975Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
3976
3977 * read.c (s_set): Cast xmalloc return value to fragS *.
3978 * config/tc-m68k.c (m68k_ip): Function made static to match
3979 previous forward declaration.
3980 (insert_reg, init_regtable, md_convert_frag_1): Likewise.
3981
3982Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com>
3983
3984 * config/tc-v850.c: Add internationalisation macros to error
3985 strings.
3986
3987 * config/tc-m32r.c (can_make_parallel): Add internationalisation
3988 macros to error strings.
3989
3990Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com>
3991
3992 * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
3993 reloc is in the TOC csect.
3994 (md_apply_fix3): Correct gettext typo.
3995
3996Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com>
3997
3998 * config/tc-arm.c (find_real_start): Ignore symbols starting with
3999 .L - they are local labels and the branches are not really
4000 function calls but rather far jumps.
4001
4002Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com>
4003
4004 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
4005
4006Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com>
4007
4008 * config/tc-i386.c (md_assemble): Print operand number rather than
4009 using ordinal_names.
4010 (i386_operand): Likewise.
4011
4012Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com>
4013
4014 * Makefile.am (INTLLIBS): Define to work around apparent automake
4015 bug.
4016 All Makefiles: Regenerated.
4017
4018 * Many files: Added gettext invocations around user-visible
4019 strings.
4020 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
4021 HAVE_LC_MESSAGES): Define.
4022 * dep-in.sed: Added asintl.h.
4023 * po/Make-in: New file.
4024 * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
4025 Include "asintl.h".
4026 * read.c (Z_): Renamed from `_'.
4027 * Makefile.am (SUBDIRS): Added po.
4028 (POTFILES): new macro.
4029 (po/POTFILES.in): New target.
4030 ($(OBJS)): Added asintl.h.
4031 (HFILES): Likewise.
4032 (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
4033 (as_new_LDADD): Added $(INTLLIBS).
4034 (as_new_DEPENDENCIES): Added $(INTLDEPS).
4035 (gasp_new_LDADD): Added $(INTLLIBS).
4036 (gasp_new_DEPENDENCIES): New macro.
4037 * configure, aclocal.m4: Rebuilt.
4038 * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
4039 po/Makefile.
4040 (ALL_LINGUAS): Define.
4041 * macro.c: Include "asintl.h".
4042 * as.c (main): Call setlocale, bindtextdomain, and textdomain.
4043 * as.h: Include "asintl.h".
4044 * config/tc-i386.c (ordinal_names): Removed.
4045 (md_assemble): Changed error text to avoid ordinal_names.
4046 (i386_operand): Likewise.
4047 (reloc): Added as_bad to avoid i18n problems.
4048 (tc_gen_reloc): Likewise.
4049 * config/tc-arm.c (bad_args): Now a #define.
4050 (bad_pc): Likewise.
4051 * config/obj-vms.c (VMS_stab_parse): Changed type of
4052 `long_const_msg'.
4053 (global_symbol_directory): Unified strings to avoid i18n
4054 problems.
4055 * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
4056 avoid i18n problems.
4057 * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
4058 * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
4059 i18n problems.
4060 * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
4061 problems.
4062 * config/tc-v850.c (md_assemble): Changed C++ comment into C
4063 comment.
4064 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
4065 problems.
4066 * as.c (print_version_id): Added an fprintf to avoid i18n
4067 problems.
4068 * cond.c (cond_finish_check): Added as_bad call to avoid i18n
4069 problems.
4070 * expr.c (expr): Added as_warn call to avoid i18n problems.
4071 * messages.c (as_assert): Changed code to avoid i18n problems.
4072 (as_abort): Likewise.
4073 * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
4074 (s_space): Likewise.
4075 * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
4076
4077Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
4078
4079 * config/tc-i386.c (check_prefix): New static function, split out
4080 from md_assemble.
4081 (struct _i386_insn): Add wait_prefix field.
4082 (md_assemble): Remove wait_prefix local variable. Use
4083 check_prefix when adding a prefix.
4084
4085 * config/tc-i386.c (current_templates): New static variable.
4086 (md_assemble): Remove current_templates local variable.
4087 (md_assemble, i386_operand): Improve error and warning messages in
4088 many places. Add RESTORE_END_STRING in many places before error
4089 return. Clarify some comments.
4090
4091 * config/tc-i386.c (struct _i386_insn): Change seg field to a two
4092 element array.
4093 (md_assemble): Parse string instruction operands, looking for
4094 segment override prefixes. Check for invalid segment prefixes on
4095 string instruction.
4096 (i386_operand): i.seg[] and max mem_operand changes for string
4097 insns.
4098 * config/tc-i386.h (EsSeg): Define.
4099
4100 * config/tc-i386.h (regKludge): Define.
4101 (iclrKludge, imulKludge): Don't define.
4102 * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
4103 code. Move ReverseRegRegmem fudges into Modrm case. Reorder
4104 opcode_modifier checks to look for more common cases first. Add
4105 default_seg for IsString case.
4106
4107Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com>
4108
4109 * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
4110 AC_DECL_YYTEXT.
4111 * configure: Rebuild with new automake and libtool.
4112 * aclocal.m4, Makefile.in: Likewise.
4113
4114 * doc/Makefile.am (as.dvi): New target.
4115 * doc/Makefile.in: Rebuild.
4116
4117Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
4118
4119 * configure.in: Added sparc86x support.
4120
4121 * configure: Rebuild.
4122
4123 * config/tc-sparc.c (lookup_arch): Added arch_type to struct
4124 sparc_arch.
4125 (md_parse_option): Warn if -EL is not supported for this architecture.
4126
4127 * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
4128
4129Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com)
4130
4131 * config/tc-mips.c (mips_ip): Note when we use get match on
4132 the full instruction name.
4133
4134Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com>
4135
4136 * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
4137 back into the expression to handle add/sub simplification correctly.
4138
4139Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
4140
4141 * config/tc-mips.c (hilo_interlocks): Remove 4300.
4142
4143Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com>
4144
4145 * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
4146 #<n>' instruction.
4147
4148Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com>
4149
4150 * symbols.c (max_indent_level): New global.
4151 (print_symbol_value_1): Use it.
4152 * expr.h (expr_build_dot): Declare.
4153 * expr.c (expr_build_dot): New function.
4154
4155Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com>
4156
4157 * symbols.c (print_binary): New function.
4158 (print_expr_1): Call it.
4159
4160Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4161
4162 * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
4163 operand in the opcode.
4164
4165Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
4166
4167 * config/tc-i386.h: Reorder operand flags and opcode modifier
4168 flags for clarity. Remove unused definitions: Unknown,
4169 ImmUnknown, DispUnknown, NoModrm.
4170 * config/tc-i386.c (type_names): Add missing Debug type.
4171 (md_assemble): Better duplicate prefix checking. Quicker string
4172 instruction check via new opcode_modifier flag.
4173
4174Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com>
4175
4176 * doc/as.texinfo (Invoking): Clarify -Wa example.
4177
4178Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com>
4179
4180 * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
4181 (s_mips_weakext): Define.
4182 * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
4183 * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
4184 defined(TC_MIPS).
4185
4186Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com)
4187
4188 * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
4189 is an error if the value can not be computed at assembly time.
4190 * config/tc-mn10300.c (tc_gen-reloc): Likewise.
4191
4192Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
4193
4194 * gasp.c (main): Set next field of new include_path structure to
4195 NULL. From Avery Pennarun <averyp@gdc.ca>.
4196
4197 * read.c (s_mri_sect): Call as_bad rather than abort for an
4198 unsupported MRI target.
4199
4200Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
4201
4202 * config/tc-arm.c (arm_validate_fix): New function. Determine if
4203 the destination of a branch instruction should be altered.
4204 (find_real_start): New function: Locate the real, Thumb coded
4205 start of a Thumb function.
4206 (do_t_branch23): Alter the destination of branches to Thumb
4207 functions.
4208
4209 * config/tc-arm.h: Define TC_VALIDATE_FIX.
4210
4211Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com>
4212
4213 * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
4214 also.
4215
4216Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4217
4218 * doc/as.texinfo: Use @itemx for a secondary item in a table.
4219 * doc/c-hppa.texi: Likewise.
4220
4221Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com>
4222
4223 * Makefile.am: Rebuild dependencies.
4224 * Makefile.in: Rebuild.
4225
4226 * Makefile.am (DEP_INCLUDES): New variable.
4227 (.dep1): Change to work when srcdir is not an absolute path.
4228 (.tcdep, .objdep, .dep2, dep.sed): Likewise.
4229 * Makefile.in: Rebuild.
4230
4231Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com>
4232
4233 * config/tc-i386.h, config/tc-i386.c: Revert March 24
4234 LinearAddress patch.
4235
4236 * configure.in: Set version to 2.9.1.
4237 * configure: Rebuild.
4238
4239 * Branched binutils 2.9.
4240
4241Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
4242
4243 * config/tc-i386.h (FWait): Define.
4244 * config/tc-i386.c (md_assemble): Emit fwait prefix before any
4245 other prefixes. Check FWait flag in opcode table to see which
4246 instructions require an fwait prefix.
4247
4248Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4249
4250 * stabs.c (get_stab_string_offset): Always create a stab string
4251 section.
4252
4253Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com>
4254
4255 Fix some gcc -Wall warnings:
4256 * atof-generic.c (atof_generic): Add casts to avoid warnings.
4257 * ehopt.c (eh_frame_code_alignment): Likewise.
4258 * expr.c (integer_constant, operand): Likewise.
4259 * frags.c (frag_align): Likewise.
4260 * gasp.c (level_0, change_base, doinstr): Likewise.
4261 * hash.c (hash_ask): Likewise.
4262 * listing.c (listing_page, calc_hex, print_lines): Likewise.
4263 (debugging_pseudo): Likewise.
4264 * macro.c (define_macro, check_macro): Likewise.
4265 * read.c (read_a_source_file, s_align, s_float_space): Likewise.
4266 (ignore_rest_of_line, float_cons): Likewise.
4267 * symbols.c (decode_local_label_name): Likewise.
4268 * write.c (record_alignment, cvs_frag_to_fill): Likewise.
4269 (fixup_segment, number_to_chars_bigendian): Likewise.
4270 (number_to_chars_littleendian): Likewise.
4271 * config/atof-ieee.c (gen_to_words): Likewise.
4272 * config/tc-sparc.c (md_begin, md_assemble): Likewise.
4273 (sparc_ip, parse_keyword_arg, s_common): Likewise.
4274 * read.c (output_big_sleb128): Initialize locals to avoid
4275 warnings.
4276 (output_big_uleb128, equals): Likewise.
4277 * atof-generic.c (atof_generic): Change number_of_digits_* locals
4278 to unsigned int. Change zeros to unsigned int.
4279 * cond.c (s_if): Add return to default case.
4280 * frags.c (frag_now_fix): Change return type to addressT.
4281 * frags.h (frag_now_fix): Update declaration.
4282 * listing.c (file_info_struct): Change linenum to unsigned int.
4283 (struct list_info_struct): Change hll_line to unsigned int.
4284 (print_source): Update format string.
4285 * read.c (emit_expr): Change scan to unsigned int, and don't
4286 bother to initialize it.
4287 * symbols.c (dollar_label_count): Change to unsigned long.
4288 * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
4289 * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
4290 * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
4291
4292Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com>
4293
4294 * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
4295 mcf5200 just as we do for m68000.
4296 (m68k_init_after_args): Likewise.
4297 (md_estimate_size_before_relax): Likewise.
4298
4299Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com>
4300
4301 * config/tc-v850.c (md_assemble): Store relocation addend in
4302 fixup instead of instruction.
4303
4304Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
4305
4306 * config/tc-i386.c (md_assemble): Swap template arguments to
4307 CONSISTENT_REGISTER_MATCH macro in reverse direction test.
4308 This macro is currently symmetric, so passing them the wrong
4309 way didn't cause any problem, but may if the macro is changed
4310 in the future.
4311 After copying template to i.tm, use i.tm. rather than t-> to
4312 access fields, and make t a const*
4313 Move i.tm.operand_types[] swap to immediately after the copy.
4314
4315Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com>
4316
4317 * expr.h (expr_build_uconstant): Add prototype.
4318 (expr_build_unary,expr_build_binary): Add prototypes.
4319 * expr.c (expr_build_uconstant): New function.
4320 (expr_build_unary,expr_build_binary): New functions.
4321
4322Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
4323
4324 * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
4325 * macro.c (macro_expand_body): Increase buffer size.
4326 * messages.c (as_warn): Likewise.
4327 (as_warn_where, as_bad, as_bad_where): Likewise.
4328
4329Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com>
4330
4331 Based on patch from H.J. Lu <hjl@gnu.org>:
4332 * Makefile.am (DISTSTUFF): New variable.
4333 (diststuff): New target.
4334 * Makefile.in: Rebuild.
4335
4336Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com>
4337
4338 * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
4339 m32r_elf_section_change_hook.
4340
4341 * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
4342 emit a nop if a section ends with a 16 bit instruction.
4343
4344Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com>
4345
4346 * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
4347 s_lcomm rather than obj_coff_lcomm.
4348 (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
4349
4350Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
4351
4352 * config/tc-i386.h (LinearAddress): Define.
4353 * config/tc-i386.c (md_assemble): If LinearAddress is set for the
4354 instruction, don't use a default segment.
4355
4356Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
4357
4358 * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
4359 * configure: Rebuild.
4360
4361Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com>
4362
4363 * aclocal.m4, configure: Rebuild with libtool 1.2.
4364
4365Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com>
4366
4367 * config/tc-arm.c (md_apply_fix3): fix code to test the range of
4368 PC relative branches. Patch courtesy of Jonathan Walton.
4369
4370
4371Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com>
4372
4373 * configure.in (emulations): Add thumb-pe target.
4374
4375 * configure (emulations): Add thumb-pe target.
4376
43771998-03-17 Ken Raeburn <raeburn@cygnus.com>
4378
4379 * itbl-lex.l (yywrap): Don't define if already defined as a
4380 macro.
4381
4382Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com>
4383
4384 * depend.c (quote_string_for_make): New function.
4385 (wrap_output): Use it.
4386
4387Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com>
4388
4389 * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
4390 structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
4391
4392Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com>
4393
4394 * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
4395 Recognize -GN and -relax.
4396 (md_begin): Initialize gp size from -G switch.
4397 (alpha_force_relocation): Always force if -relax.
4398 (alpha_align): Take a new argument that will specify when to
4399 emit an R_ALPHA_ALIGN relocation (though we don't do that now).
4400 Change all callers. Emit nop alignment padding as nop+unop pair.
4401
4402Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com>
4403
4404 * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
4405 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
4406
4407Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com>
4408
4409 * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
4410 require padding to the next long word boundary.
4411
4412Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com>
4413
4414 * cgen.c: #include symcat.h.
4415 * config/tc-m32r.c: Likewise.
4416
4417Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com)
4418
4419 * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
4420 absolute expressions instead of '$' prefixed register names.
4421
4422Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com>
4423
4424 * read.c (s_set): Record file and line info for symbols when -as.
4425 (pseudo_set): Don't overwrite that dummy fragment.
4426
4427Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com>
4428
4429 * config/tc-ppc.c (md_pseudo_table): Add "section".
4430 (ppc_named_section): New static function.
4431
4432Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com>
4433
4434 * tc-ppc.c (ppc_biei): Cache the last symbol we inserted
4435 so we don't have to scan the entire list.
4436
4437Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com>
4438
4439 * config/tc-d30v.c (parallel_ok): For the explicitly parallel
4440 case, allow the parallel instructions to modify the same flag
4441 bits.
4442
4443Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com>
4444
4445 * listing.c (list_symbol_table): Categorize symbols by
4446 undefined_section rather than sy_frag->line == NULL.
4447
4448Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
4449
4450 * Makefile.am (install-exec-local): Install properly when ln
4451 fails or tooldir == prefix.
4452
4453Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com>
4454
4455 * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
4456 Test result of insert_operand for error.
4457
4458Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
4459
4460 * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
4461 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
4462 * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
4463 * doc/Makefile.in: Rebuild.
4464
4465Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com>
4466
4467 * config/tc-mips.c (macro_build): Handle operand type 'C'.
4468 (macro): Fix handling of M_COP[0-3].
4469
4470Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com>
4471
4472 Based on patches from Ross Harvey <ross@teraflop.com>:
4473 * macro.c (ISSEP): Only treat '<' and '>' as separator characters
4474 if macro_alternate or macro_mri.
4475 (getstring): Remove support for byte constants between < and >.
4476 (get_any_string): '<' only starts a string if macro_alternate or
4477 macro_mri.
4478 (macro_expand_body): Permit keyword parameters following
4479 positional parameters.
4480
4481 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
4482 * configure.in (alpha*-*-netbsd*): New target.
4483 * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
4484 * configure: Rebuild.
4485
4486 * as.h (flag_warn_suppress_instructionswap): Move from here...
4487 * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
4488 here, and make static.
4489
4490 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
4491 BFD_ASSEMBLER or MANY_SEGMENTS.
4492
4493 * as.c (show_usage): Update bug-gnu-utils address.
4494 * gasp.c (show_usage): Likewise.
4495 * doc/as.texinfo (Bug Reporting): Likewise.
4496
4497Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com)
4498
4499 * config/tc-mips.c (load_address): Don't use mips III or mips IV
4500 insns regardless of the size of a pointer if we're in mips I or
4501 MIPS II mode.
4502 (macro, macro2, s_cprestore, s_cpadd): Likewise.
4503
4504Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4505
4506Fix rac to accept only a0:
4507 * tc-d10v.c (parallel_ok, find_opcode):
4508 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
4509 Introduce OPERAND_GPR.
4510
4511Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com>
4512
4513 * read.c (s_fill): Handle non-constant repeat counts by creating
4514 an rs_space fragment.
4515
4516Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
4517
4518 * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
4519 from as_bad to as_warn.
4520
4521Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com>
4522
4523 * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
4524 * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
4525 * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
4526
4527Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com>
4528
4529 * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
4530 seg_fix_rotP rather than fix_root from seg_info.
4531
4532Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com>
4533
4534 * expr.c: Add support for 0x1_2_3_4 bignums.
4535
4536Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
4537
4538 * configure.in: Change -linux* to -linux-gnu*.
4539 * configure: Rebuild.
4540
4541 * app.c (do_scrub_begin): Treat \r as whitespace.
4542
4543Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
4544
4545 * Makefile.am: Update dependencies.
4546 * Makefile.in: Rebuild.
4547
4548Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
4549
4550 * configure, aclocal.m4: Rebuild with new libtool.
4551
4552Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com)
4553
4554 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
4555 the argument to bfd_set_arch_mach.
4556 (load_address): Use bfd_arch_bits_per_address to determine the
4557 bit size of an address instead of looking at the isa level.
4558 (macro, macro2, s_cprestore, s_cpadd): Likewise.
4559
4560Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com>
4561
4562 * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
4563
4564Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com>
4565
4566 * ehopt.c: New file.
4567 * as.h (enum _relax_state): Add rs_cfa.
4568 (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
4569 (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
4570 * read.c (emit_expr): Call check_eh_frame.
4571 * write.c (cvt_frag_to_fill): Handle rs_cfa.
4572 (relax_segment): Likewise.
4573 * Makefile.am: Rebuild dependencies.
4574 (GAS_CFILES): Add ehopt.c.
4575 (GENERIC_OBJS): Add ehopt.o.
4576 * doc/internals.texi (Frags): Document rs_cfa.
4577
4578 * as.c (show_usage): Mention --traditional-format.
4579 (parse_args): Accept --traditional-format.
4580 * as.h (flag_traditional_format): Declare.
4581 * output-file.c (output_file_create): If flag_traditional_format,
4582 set BFD_TRADITIONAL_FORMAT on stdoutput.
4583 * doc/as.texinfo, doc/as.1: Document --traditional-format.
4584
4585 * config/tc-mips.c (append_insn): Make sure that if we have a
4586 fixup for an unmatched %hi reloc, it does not associated with a
4587 variant frag.
4588
4589 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
4590 * doc/Makefile.in: Likewise.
4591
4592Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com>
4593
4594 * config/tc-m32r.c (check_for_side_effects): New function.
4595 (can_make_parallel): Add checks for instruction side effects
4596 clashing with the other instruction.
4597 (assemble_parallel_insn): Improve warning messages. Return error
4598 message from non-swapped instruction order.
4599
4600Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk>
4601
4602 * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
4603
4604 * config/tc-arm.h: Replace md_after_pass_hook definition with a
4605 md_cleanup definition. This moves the forced literal output to
4606 the end of the source pass, and avoids macro's inserting literals
4607 into the code immediately after the macro expansion.
4608
4609Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com>
4610
4611 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
4612 a gas internal symbol is adjustable.
4613 * config/tc-ppc.h (tc_fix_adjustable): Likewise.
4614
4615 * as.h: If gcc version greater than 2.6, use `__format__' and
4616 `__printf__' in function attributes, rather than `format' and
4617 `printf'.
4618
4619Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
4620
4621 * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
4622
4623Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
4624
4625 Add tms320c30 support:
4626 * config/tc-tic30.h: New file.
4627 * config/tc-tic30.c: New file.
4628 * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
4629 TARGET_FORMAT as "coff-tic30".
4630 * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
4631 * Makefile.am: Rebuild dependencies.
4632 (CPU_TYPES): Add tic30.
4633 (CPU_OBJ_VALID): tic30-aout is valid.
4634 (TARGET_CPU_CFILES): Add config/tc-tic30.c.
4635 (TARGET_CPU_HFILES): Add config/tc-tic30.h.
4636 * configure, Makefile.in: Rebuild.
4637
4638Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
4639
4640 * config/tc-v850.c (md_assemble): Improvements to error messages.
4641
4642Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
4643
4644 * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
4645 BFD_RELOC_HI16_S to store the high bits of any value.
4646
4647 * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
4648 (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
4649 assembler calculate relocations to any external symbol at all.
4650 * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
4651 involving generation of pc-relative relocs.
4652 (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
4653 has been moved to md_apply_fix3.
4654
4655 * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
4656 (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
4657 which actually means (the address of identifier's GOT entry) +
4658 constant, which is not particularly useful.
4659
4660Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com>
4661
4662 * read.h (include_dirs): Declare.
4663 (include_dir_count,include_dir_maxlen): Declare.
4664
4665Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com>
4666
4667 * configure.in: Correct check for shared opcodes library.
4668 * configure: Rebuild.
4669
4670 * listing.c (buffer_line): If we can't open the file, set at_end.
4671 (listing_print): Remove unused local variable fi.
4672
4673 * config/m68k-parse.y (reglistpair): Handle register list in
4674 either order.
4675
4676 * config/vms-conf.h: Don't undef VERSION.
4677
4678Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
4679
4680 * Makefile.am (CONFIG_OBJS): New variable, containing part of old
4681 OBJS variable.
4682 (GENERIC_OBJS): New variable, with the rest of the old OBJS
4683 variable.
4684 (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
4685 ($(srcdir)/make-gas.com): Rename from make-gas.com.
4686 (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
4687 (EXTRA_DIST): Define.
4688 * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
4689 explicitly rather than via the list of object files.
4690 (gcc-as.opt): New file created when make-gas.com is run.
4691 * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
4692 itbl-cpu.h} to #include appropriate file rather than copying that
4693 file.
4694 * config/vms-conf.h: Synchronize with current config.in.
4695 * Makefile.in: Rebuild.
4696
4697Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com>
4698
4699 * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
4700 (parallel_ok): Relaxed parallel subinstruction dependency check.
4701
4702Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
4703
4704 * as.h (flag_warn_suppress_instructionswap): added new flag.
4705 * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
4706 command line argument.
4707 * tc-d10v.c (write_2_short): emit "Swapping instructions"
4708 warning only if flag_warn_suppress_instructionswap is false.
4709
4710Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
4711
4712 * configure.in (i386-*-mingw32*): New target.
4713 * configure: Rebuild.
4714
4715Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com>
4716
4717 * symbols.c (resolve_symbol_value): Don't set the segment if it
4718 hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
4719
4720 * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
4721 S_GET_SEGMENT.
4722
4723Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
4724
4725 as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
4726 depends upon HAVE_{UNLINK,REMOVE} values rather than host
4727 compiler.
4728
4729Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
4730
4731 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
4732
4733Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com>
4734
4735 * config/tc-v850.c (v850_insert_operand): Display instruction when
4736 an error is encountered.
4737
4738Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
4739
4740 * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
4741 (i386-*-sco3.2v5*coff): New target.
4742 (i386-*-sco3.2*): New target.
4743 * configure: Rebuild.
4744
4745Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com>
4746
4747 * config/tc-v850.c: Tidy error message production.
4748
4749Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com>
4750
4751 * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
4752 validate_immediate return value in the right type for comparisons
4753 to FAIL.
4754
4755Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com>
4756
4757 * listing.c (MAX_BYTES): Use listing variables not constants.
4758 (data_buffer): No longer an array, but a pointer.
4759 (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
4760 (listing_listing): Allocate data_buffer.
4761
4762Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com>
4763
4764 * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
4765 --listing-rhs-width, --listing-cont-lines.
4766 (show_usage): Update.
4767 * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
4768 (listing_lhs_cont_lines, listing_rhs_width): New vars.
4769 (print_lines): Use the variables instead of the constants.
4770 (listing_listing): Likewise.
4771 * listing.h: Declare the new vars.
4772
4773Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com>
4774
4775 * as.c (parse_args): Add --keep-locals alias for -L.
4776 Add --strip-local-absolute.
4777 (show_usage): Update.
4778 * as.h (flag_strip_local_absolute): New flag.
4779 * symbols.c (S_IS_LOCAL): Use it.
4780 * config/obj-aout.h (S_IS_LOCAL): Likewise.
4781 * config/obj-bout.h (S_IS_LOCAL): Likewise.
4782 * config/obj-coff.h (S_IS_LOCAL): Likewise.
4783
4784Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com>
4785
4786 * config/tc-m32r.c: Detect if explicitly parallel instructions
4787 might have an io conflict and issue a warning message.
4788
4789Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com>
4790
4791 * cgen.c (cgen_save_fixups, cgen_restore_fixups,
4792 cgen_swap_fixups): Functions to save, restore and swap the fixup
4793 chain with a backup copy.
4794 (cgen_asm_finish_insn): Returns address of constructed insn.
4795
4796Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com>
4797
4798 * listing.c (file_info_struct): Remove FILE, add POS.
4799 (last_open_file_info, last_open_file): New; a one entry FILE* cache.
4800 (file_info): Don't open the file.
4801 (buffer_line): Check for the file in the last_open cache, updating
4802 as necessary.
4803 (print_source): Don't reference file_info->file.
4804 (listing_listing): Likewise.
4805 (listing_print): Close the file in the cache, if any.
4806
4807Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com>
4808
4809 * read.c (dwarf_file_string): New file static variable.
4810 (emit_expr): Look for constant sequence that leads up to a file
4811 name in DWARF debugging output.
4812 (stringer): Use dwarf_file_string to decide whether to accept a
4813 string as a file name.
4814
4815Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com>
4816
4817 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
4818 (crack_operand): Add reg->reglst MRI hack.
4819 (r_seg): Put reglst symbols in reg_section.
4820 (m68k_frob_symbol): Frob reglst symbols into absolute_section.
4821
4822Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com>
4823
4824 * tc-sh.c (get_specific): Handle SGR & DBR.
4825
4826Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com>
4827
4828 * tc-h8300.c (parse_reg): Take the length of the symbol into
4829 account when attempting to match a register name.
4830 * tc-h8500.c (parse_reg): Likewise.
4831
4832Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com>
4833
4834 * cgen.c: Formatting changes to improve readability.
4835
4836Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com)
4837
4838 * config/tc-mips.c (macro): Rework division code to avoid unfilled
4839 delay slot.
4840
4841Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com>
4842
4843 Based on a patch from Jim Wilson
4844 * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
4845 (tc_gen_reloc): Handle cross section PC relative relocs
4846 correctly.
4847
4848Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
4849
4850 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
4851
4852Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
4853
4854 * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
4855 (expr_jmp_buf): New static local.
4856 (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
4857 (cgen_md_operand): New function.
4858 * tc-m32r.c: Clean up pass over `struct foo' usage.
4859 (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
4860
4861Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com>
4862
4863 * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
4864 (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
4865
4866Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com>
4867
4868 * config/tc-i386.c (i386_operand): Give an error if there are
4869 unrecognized characters after an expression.
4870
4871For older changes see ChangeLog-9697
This page took 0.243123 seconds and 4 git commands to generate.