1 1999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
3 * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
4 the symbol, rather than accessing the bsym member.
5 * config/tc-d10v.c (tc_gen_reloc): Likewise.
6 * config/tc-d30v.c (tc_gen_reloc): Likewise.
7 * config/tc-mcore.c (tc_gen_reloc): Likewise.
8 * config/tc-mn10200.c (tc_gen_reloc): Likewise.
9 * config/tc-mn10300.c (tc_gen_reloc): Likewise.
10 * config/tc-ns32k.c (tc_gen_reloc): Likewise.
11 * config/tc-tic30.c (tc_gen_reloc): Likewise.
12 * config/tc-v850.c (tc_gen_reloc): Likewise.
14 Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com)
16 * tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
17 (hppa_gen_reloc_type): Conditionalize on BFD64.
18 (tc_gen_reloc): Re-enable ELF relocations.
19 * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
21 1999-06-21 Ian Lance Taylor <ian@zembu.com>
23 * config/tc-arm.c (ldst_extend): Add parentheses to avoid
25 (do_ldst): Move assignment out of if condition.
26 (md_apply_fix3): Add casts to avoid printf format warnings. Add
27 parentheses to avoid warning.
29 1999-06-21 Nick Clifton <nickc@cygnus.com>
31 * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
32 macro to get at the BFD symbol associated with a GAS symbol.
34 1999-06-19 Ian Lance Taylor <ian@zembu.com>
36 * config/tc-ppc.c: Update for symbol handling changes.
37 * config/obj-coff.c: Likewise.
39 Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com)
41 * tc-hppa.c: General cleanups of ELF support. No more spaces
42 and subspaces for ELF.
43 (GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
44 (GDB_STRINGS_SUBSPACE_NAME): Likewise.
45 (GDB_SYMBOLS_SUBSPACE_NAME): Likewise
46 (UNWIND_SECTION_NAME): Likewise.
47 (space/subspace related structures): Conditionalize definitions
49 (space/subspace directives and support routines): Conditionalize
50 definitions and references/uses on OBJ_SOM.
51 (label_symbol_struct): For ELF, track the symbol's segment. For
53 (pa_define_label, pa_undefine_label, pa_get_label): Corresponding
55 (USE_ALIASES): Kill for both SOM & ELF.
56 (pa_def_subspaces, pa_def_spaces): Corresponding changes.
57 (pa_space, pa_subspace): Corresponding changes.
58 (pa_spaces_begin): Corresponding chagnes.
59 (md_begin): Do not muck around with space/subspace stuff for
61 (md_apply_fix): Temporarily disable argument relocation stuff
63 (tc_gen_reloc): Temporarily disable relocation generation for
65 (pa_build_unwind_subspace): Similarly.
67 1999-06-16 Nick Clifton <nickc@cygnus.com>
69 * config/tc-arm.c (thumb_set): New pseudo op.
70 (text, data, section): Override these pseudo ops with ARM
72 (s_thumb_set): New function: Perform the same as a .set pseudo
73 op, but also mark the alias'ed symbol as being a Thumb
75 (arm_s_text): New function: Perform the same as the .text
76 pseudo op, but dump the literal pool before changing
78 (arm_s_data): New function: Perform the same as the .data
79 pseudo op, but dump the literal pool before changing
81 (arm_s_section): New function: Perform the same as the
82 .section pseudo op, but dump the literal pool before changing
84 (arm_cleanup): Do not reset the current section before dumping
87 1999-06-17 Nick Clifton <nickc@cygnus.com>
89 * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
90 OPTION_NO_WARN_UNMATCHED entries.
91 (md_parse_option): Generate a warning message if an unrecognised
92 option is encountered.
94 * config/tc-d10v.c (do_not_ignore_hash): New variable.
95 (get_operands): When parsing an expression after an '@' symbol
96 has been detected, do not ignore '#' symbols.
97 (md_operand): Only ignore '#' symbols if do_not_ignore_hash is
100 1999-06-13 Ian Lance Taylor <ian@zembu.com>
102 From K. Richard Pixley <rich@noir.com>:
103 * configure.in (ppc-*-vxworks*): New target.
104 * configure: Rebuild.
106 1999-06-12 Philip Blundell <philb@gnu.org>
108 * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
110 1999-06-13 Ian Lance Taylor <ian@zembu.com>
112 * write.c (adjust_reloc_syms): Rather than never reducing reloc
113 which refer to symbols in linkonce sections, permit reducing the
114 relocs if the symbol is local.
116 1999-06-12 Ian Lance Taylor <ian@zembu.com>
118 * subsegs.c (subseg_text_p): New function.
119 * as.h (subseg_text_p): Declare.
120 * read.c (do_align): Use subseg_text_p to set the default fill.
121 * write.c (subsegs_finish): Likewise.
122 * config/obj-coff.c (write_object_file): Likewise.
123 * config/tc-i386.h (md_maybe_text): Don't define.
124 (md_do_align): Use subseg_text_p to set the default fill.
125 * config/tc-m32r.c (m32r_do_align): Likewise.
126 * config/tc-sh.c (sh_do_align): Likewise.
127 * config/tc-sparc.h (md_do_align): Likewise.
129 1999-06-12 David O'Brien <obrien@freebsd.org>
131 * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
132 * configure: Rebuild.
134 1999-06-12 Ian Lance Taylor <ian@zembu.com>
136 * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
137 * Makefile.am: Rebuild dependencies.
138 * Makefile.in: Rebuild.
140 * config/tc-i386.c (i386_immediate): Remove unused label
143 * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
144 * symbols.c: Likewise.
145 * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
146 sy_next field when taking address, rather than symbol_next.
148 * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
150 (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the
151 value from the output file architecture.
152 (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
153 * dwarf2dbg.h: Change bfd_vma to addressT.
155 1999-06-11 Ian Lance Taylor <ian@zembu.com>
157 * dwarf2dbg.h: Use PARAMS in function declarations.
159 1999-06-11 Martin Dorey <mdorey@madge.com>
161 * write.c (fixup_segment): Don't add symbol value for i960 ELF.
162 * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
164 (md_apply_fix): Simplify BFD_ASSEMBLER handling.
166 1999-06-11 Ian Lance Taylor <ian@zembu.com>
168 * config/tc-i386.c (md_apply_fix3): Add default case to switch.
170 * config/tc-sparc.c (md_pseudo_table): Remove pushsection and
173 * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
175 * read.c (read_a_source_file): Only declare inescape if
178 * itbl-ops.c (itbl_disassemble): Change sprintf format strings to
180 (find_entry_byval): Add parens to avoid warning.
182 * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
184 * symbols.c (resolve_symbol_value): Don't permit subtraction of
187 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
189 * config/tc-sparc.c (sparc_ip): Don't use side-effect expression
192 * config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
193 synthetize_setx): New functions.
194 (md_assemble): Broken the special cases into the above
195 functions. Make compiler happy if sizeof(bfd_vma)==4.
196 Fix sethi generated from set/setuw. If instructions have a relloc,
197 always clear the fields to be relocated in the opcode.
198 (sparc_ip): Remove special_case global variable.
200 1999-06-10 Ian Lance Taylor <ian@zembu.com>
202 Based on patches from John W. Woznack <jwoznack@concentric.net>:
203 * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return
204 indication of success rather than a value.
205 (itbl_get_val): Likewise.
206 (itbl_get_field): Use strcspn. Change delimiters to include
208 * itbl-ops.h (itbl_get_reg_val): Update declaration.
209 (itbl_get_val): Likewise.
210 * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
212 * symbols.c (copy_symbol_attributes): Convert local symbols to
215 1999-06-10 Nick Clifton <nickc@cygnus.com>
217 * config/tc-arm.c (md_parse_option): Add support for ARM920 and
220 1999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
222 * config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
223 Optimize set if sizeof(bfd_vma) == 64.
224 (sparc_ip): Fix sethi - without %hi() it should generate
225 R_SPARC_22 reloc, not R_SPARC_HI22.
226 (tc_gen_reloc): Handle BFD_RELOC_SPARC22.
228 1999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
230 * config/tc-sparc.c (md_begin): Handle native wordsize aliases.
231 (s_ncons): New function.
232 (native_op_table): New table.
233 (sparc_ip): Be more strict on %hi() etc.; prepare assembler for
234 R_SPARC_OLO10 handling.
236 Mon Jun 7 10:22:16 1999 Richard Henderson <rth@cygnus.com>
238 * expr.h (struct expressionS): Revert last change; widen X_op.
239 * config/tc-alpha.c (md_begin): Check the field is wide enough.
241 Mon Jun 7 11:25:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
243 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
244 (TARGET_CPU_HFILES): Add config/tc-fr30.h.
245 (TARG_ENV_HFILES): Add config/te-epoc-pe.h.
246 * Makefile.in: Regenerated.
248 * config/obj-elf.c (obj_elf_common): In MRI mode if called as
249 `common' pass on to s_mri_common.
250 (elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
252 1999-06-06 Richard Henderson <rth@cygnus.com>
254 * config/obj-elf.c (obj_elf_section): Don't free the return
255 value of demand_copy_C_string.
257 1999-06-05 Richard Henderson <rth@cygnus.com>
259 * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
260 creation logic from obj_elf_create_section.
262 * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
263 (section_stack): New.
264 (special_sections): Make const.
265 (obj_elf_section): Gut and rewrite parsing.
266 (obj_elf_change_section): New function broken out of obj_elf_section.
267 (obj_elf_parse_section_letters): Likewise.
268 (obj_elf_section_word): Likewise.
269 (obj_elf_section_type): Likewise.
270 (obj_elf_previous): Treat as a toggle.
271 (obj_elf_popsection): New.
272 * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
273 (ppc_section_type): Likewise.
274 * config/tc-ppc.h: Likewise.
276 * expr.h (struct expressionS): Don't make X_op a bitfield.
277 * config/tc-alpha.c: Update for symbol handling changes.
278 (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
279 (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
281 1999-06-05 Richard Henderson <rth@cygnus.com>
283 * dwarf2dbg.c (*): Convert to K&R + prototypes.
284 (dwarf2_gen_line_info): Kill unused variables.
285 (dwarf2_finish): Likewise.
286 (dwarf2_where): Likewise.
287 (dwarf2_directive_file): If we've only got a string,
288 hand off to s_app_file.
289 * ecoff.c: Move the include of ecoff.h.
290 * symbols.h (S_IS_FUNCTION): Prototype.
292 * read.c (LEX_HASH): Supply a default.
294 (s_globl): Update `c' after skipping whitespace.
295 * read.h (LEX_END_NAME, is_name_ender): New.
296 * expr.c (get_symbol_end): Respect it.
298 1999-06-04 Mark Klein <mklein@dis.com>
300 * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
302 (tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
304 * config/tc-hppa.c: Update for symbol handling changes.
306 1999-06-03 Ian Lance Taylor <ian@zembu.com>
308 * cgen.c: Update for symbol handling changes.
309 * config/tc-m32r.c: Likewise.
311 * config/tc-hppa.h: Update for symbol handling changes.
312 * config/tc-hppa.c: Likewise.
314 * config/tc-arm.h: Update for symbol handling changes.
315 * config/tc-arm.c: Likewise.
316 (symbol_make_empty): Remove. Just use symbol_create.
318 * symbols.c (symbol_set_tc): Correct name.
320 * Makefile.am: Rebuild dependencies.
321 ($(OBJS)): Don't depend upon struc-symbol.h.
322 (.dep1, .tcdep, .objdep): Create itbl-parse.h.
323 * dep-in.sed: Don't remove struc-symbol.h.
324 * Makefile.in: Rebuild.
326 * doc/internals.texi (Symbols): Describe changes in symbol
329 1999-06-03 Richard Henderson <rth@cygnus.com>
331 * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
332 instead of doing the work by hand.
334 1999-06-03 David Mosberger <davidm@hpl.hp.com>
336 * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
337 state of line state-machine.
338 (struct ls): Collect DWARF2 line state-machine state in new member
339 SM. Add member EMPTY_SEQUENCE to keep track if a code sequence
340 resulted in any DWARF2 directives.
341 (reset_state_machine): New function.
342 (out_end_sequence): Ditto.
343 (dwarf2_gen_line_info): When switching sections or switching to a
344 lower text address, call out_end_sequence() first to terminate the
345 previous code sequence as code sequences MUST have monotonically
346 increasing addresses.
347 (dwarf2_finish): Call out_end_sequence() instead of open coding it.
349 1999-06-03 David Mosberger <davidm@hpl.hp.com>
351 * as.c (parse_args): Add option -gdwarf2 to allow requesting
352 DWARF2 debug info (line information only, at this point).
353 * as.h: Update comment about supported debug formats.
354 * dwarf2dbg.c, dwarf2dbg.h: New files.
355 * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
357 * expr.c (operand): Don't use [ for parens if we want an index op.
358 (op_encoding): Switch [ into O_index, if desired.
359 (op_rank): Renumber with O_index on bottom.
360 (expr): If O_index, match closing bracket.
361 * expr.h (O_index): New.
363 * read.c (read_a_source_file): Conditionally allow matched "
364 in lines passed to md_assemble.
366 * config/obj-elf.c (elf_pseudo_table): Add `common'.
368 1999-06-03 Ian Lance Taylor <ian@zembu.com>
370 Add support for storing local symbols in a small structure to save
371 memory when assembling large files.
372 * as.h: Don't include struc-symbol.h.
373 (symbolS): Add typedef.
374 * symbols.c: Include struc-symbol.h.
375 (local_hash): New static variable.
376 (save_symbol_name): New static function, from symbol_create.
377 (symbol_create): Call save_symbol_name.
378 (local_symbol_count): New static variable.
379 (local_symbol_conversion_count): Likewise.
380 (LOCAL_SYMBOL_CHECK): Define.
381 (local_symbol_make): New static function.
382 (local_symbol_convert): New static function.
383 (colon): Handle local symbols. Create local symbol for local
385 (symbol_table_insert): Handle local symbols.
386 (symbol_find_or_make): Create local symbol for local label name.
387 (symbol_find_base): Check for local symbol.
388 (symbol_append, symbol_insert): Check for local symbols.
389 (symbol_clear_list_pointers, symbol_remove): Likewise.
390 (verify_symbol_chain): Likewise.
391 (copy_symbol_attributes): Likewise.
392 (resolve_symbol_value): Handle local symbols.
393 (resolve_local_symbol): New static function.
394 (resolve_local_symbol_values): New function.
395 (S_GET_VALUE, S_SET_VALUE): Handle local symbols.
396 (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
397 (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
398 (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
399 (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
400 (symbol_previous, symbol_next): New functions.
401 (symbol_get_value_expression): Likewise.
402 (symbol_set_value_expression): Likewise.
403 (symbol_set_frag, symbol_get_frag): Likewise.
404 (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
405 (symbol_mark_used_in_reloc): Likewise.
406 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
407 (symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
408 (symbol_mri_common_p): Likewise.
409 (symbol_mark_written, symbol_clear_written): Likewise.
410 (symbol_written_p): Likewise.
411 (symbol_mark_resolved, symbol_resolved_p): Likewise.
412 (symbol_section_p, symbol_equated_p): Likewise.
413 (symbol_constant_p): Likewise.
414 (symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
415 (symbol_get_obj, symbol_set_obj): Likewise.
416 (symbol_get_tc, symbol_set_tc): Likewise.
417 (symbol_begin): Initialize local_hash.
418 (print_symbol_value_1): Handle local symbols.
419 (symbol_print_statistics): Print local symbol statistics.
420 * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
421 Declare new symbols.c functions. Move many declarations here from
423 (SYMBOLS_NEED_BACKPOINTERS): Define if needed.
424 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
425 (struct symbol): Move bsym to make it clearly the first field.
426 Remove TARGET_SYMBOL_FIELDS.
427 (symbolS): Don't typedef.
428 (struct broken_word): Remove.
429 (N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
430 (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
431 (symbol_clear_list_pointers): Likewise.
432 (symbol_insert, symbol_remove): Likewise.
433 (symbol_previous, symbol_append): Likewise.
434 (verify_symbol_chain, verify_symbol_chain_2): Likewise.
435 (struct local_symbol): Define.
436 (local_symbol_converted_p, local_symbol_mark_converted): Define.
437 (local_symbol_resolved_p, local_symbol_mark_resolved): Define.
438 (local_symbol_get_frag, local_symbol_set_frag): Define.
439 (local_symbol_get_real_symbol): Define.
440 (local_symbol_set_real_symbol): Define.
442 * write.c (write_object_file): Call resolve_local_symbol_values.
443 * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
444 (TARGET_SYMBOL_FIELDS): Don't define.
445 * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If
446 ECOFF_DEBUGGING, add ECOFF fields.
447 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
448 * config/obj-multi.h (struct elf_obj_sy): Add local field. If
449 ECOFF_DEBUGGING, add ECOFF fields.
450 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
451 (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
452 * config/tc-mcore.h: Don't include struc-symbol.h.
453 (TARGET_SYMBOL_FIELDS): Don't define.
454 (struct mcore_tc_sy): Define.
455 (TC_SYMFIELD_TYPE): Define.
456 * Many files: Use symbolS instead of struct symbol. Use new
457 accessor functions rather than referring to symbolS fields
460 * read.c (s_mri_common): Don't add in value of line_label.
462 * config/tc-mips.c (md_apply_fix): Correct parenthesization when
463 checking for SEC_LINK_ONCE.
465 * config/tc-sh.h (sh_fix_adjustable): Declare.
467 * app.c (input_buffer): New static variable.
468 (app_push): Save saved_input in allocated buffer.
469 (app_pop): Restored saved_input.
470 (do_scrub_chars): Change get parameter to take char * and int as
471 arguments. Change GET macro to pass input_buffer to get
472 function. Don't save input into allocated buffer.
473 * as.h (do_scrub_chars): Update declaration.
474 * input-file.c (input_file_get): Change to take char * and int.
475 Read data into passed in buffer. Remove static buffer.
476 * read.c (scrub_from_string): Change to take char * and int. Copy
477 data into passed in buffer.
479 * hash.h: Neaten. Declare hash_traverse.
480 * hash.c: Complete rewrite based on BFD hashing code.
481 * gasp.c (chunksize): New variable.
482 * macro.c (macro_expand_body): Call hash_jam with NULL rather than
485 1999-05-28 Nick Clifton <nickc@cygnus.com>
487 * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
488 addend unless the target uses an old ABI.
490 Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com>
492 -Wchar-subscripts cleanup
493 * listing.c (listing_newline): Use unsigned char variable, so
494 calls to isascii,iscntrl are correct.
495 * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
497 * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
498 * config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
499 * config/tc-mips.c (mips_ip,mips16_ip): Ditto.
500 (my_getSmallExpression,get_number,s_mips_ent): Ditto.
502 1999-05-28 Torbjorn Granlund <tege@matematik.su.se>
504 * config/tc-m68k.c (m68k_ip): Check for disallowed index register
506 (arch_coldfire_p): New #define.
507 (m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
509 1999-05-28 Linus Nordberg <linus.nordberg@canit.se>
511 * config/tc-m68k.c (install_operand): Add places `n', `o'.
513 * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
514 (install_operand): Add place `N'.
515 (init_table): Add registers ACC, MACSR, MASK.
517 * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
519 * config/tc-m68k.c: Change mcf5200 --> mcf.
520 (archs): Add mcf5206e, mcf5307.
521 (m68k_ip): Add format `u'.
522 (install_operand): Add place `m', `M', `h'.
523 (init_table): Add upper/lower registers.
525 * config/m68k-parse.h (m68k_register): Add upper/lower registers.
527 1999-05-28 Martin Dorey <mdorey@madge.com>
529 * config/tc-i960.c: Several minor changes to add ELF and
530 BFD_ASSEMBLER support.
531 * config/tc-i960.h: Likewise.
532 * configure.in (i960-*-elf*): New target.
533 * aclocal.m4, configure: Rebuild.
535 1999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au>
537 * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
538 reloc changes when defined(BFD_ASSEMBLER).
540 1999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au>
542 * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
544 * write.c (write_print_statistics): Output to file, not stderr.
546 * expr.c (generic_bignum_to_int32,64): Prototype.
548 * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
549 output_sleb128, output_uleb128, output_big_sleb128,
550 output_big_uleb128, output_big_leb128): Prototype.
551 (output_big_sleb128, output_big_uleb128): Make inline.
552 (output_big_leb128): Remove inline
554 From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
555 * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
556 fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8.
557 Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed
558 value for correct overflow check in write.c:fixup_segment.
559 * write.c (fixup_segment): Move bitfield overflow checks to after
560 the md_apply_fix call.
561 * config/obj-coff.c (fixup_segment): Likewise.
562 * doc/internals.texi (CPU backend): Mention md_apply_fix modifying
563 valueT *val argument.
565 Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
567 * config/atof-ieee.c (gen_to_words): Correctly round a
568 denormalized number. Fix off-by-one in range checking for
569 exponent in a denormal.
571 1999-05-10 Nick Clifton <nickc@cygnus.com>
573 * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
576 Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com)
578 * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
580 1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au>
582 * config/tc-i386.h (InvMem): New flag. Add to AnyMem.
583 (ReverseRegRegmem): Remove.
584 (ImmExt): New flag. Renumber some of the opcode_modifier bits.
585 * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
586 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem
589 From Doug Ledford <dledford@redhat.com>
590 * config/tc-i386.h (RegXMM): New for P/III.
591 * config/tc-i386.c: Add support for P/III.
593 Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com>
595 * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
596 (md_begin): Allow ppc32 insns in ppc64bridge mode.
597 (ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
599 Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com>
601 * config/tc-i386.c (i386_immediate): Skip whitespace before
602 complaining about junk after expression.
603 (i386_displacement): Likewise.
605 Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com>
607 * symbols.c (symbol_find_base): Use memcpy instead of strcpy.
608 Don't copy before downcaseing.
610 1999-05-05 Catherine Moore <clm@cygnus.com>
612 * tc-m68k.c: Include elf/m68k.h.
613 (m68k_elf_final_processing): New routine.
614 * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
617 Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com)
619 * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
622 1999-04-30 Nick Clifton <nickc@cygnus.com>
624 * config/tc-mcore.c (mcore_s_section): Dump literals before
627 1999-04-29 Nick Clifton <nickc@cygnus.com>
629 * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
632 Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com>
634 * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
635 (TC_INIT_FIX_DATA): Delete.
636 * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
637 (TC_INIT_FIX_DATA): Delete.
638 * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
639 * write.c (fix_new_internal): Initialize fx_cgen member.
640 * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
641 (gas_cgen_md_apply_fix3): Update.
642 * config/tc-m32r.c (md_cgen_lookup_reloc): Update.
643 (md_cgen_record_fixup_exp): Update.
644 (FX_OPINFO_R_TYPE): Update.
646 * frags.c (frag_var,frag_variant): Initialize fr_cgen here.
647 * config/tc-fr30.h (TC_FRAG_INIT): Delete.
648 * config/tc-m32r.h (TC_FRAG_INIT): Delete.
649 * frags.h (struct frag): Make opindex, opinfo ints.
651 * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
653 1999-04-26 Tom Tromey <tromey@cygnus.com>
655 * aclocal.m4, configure: Updated for new version of libtool.
657 1999-04-22 Nick Clifton <nickc@cygnus.com>
659 * config/tc-mcore.c (md_apply_fix3): Renamed function from
661 (md_apply_fix3): Do not fix up absolute relocations against
664 * config/tc-mcore.h (MD_APPLY_FIX3): Define.
666 1999-04-20 Nick Clifton <nickc@cygnus.com>
668 * config/tc-mcore.c (md_pseudo_table): Add intercepts for section
669 changes and data-in-text directives.
670 (mcore_cons): New function: intercept cons() operations.
671 (mcore_float_cons): New function: intercept float_cons()
673 (mcore_stringer): New function: intercept stringer() operations.
675 1999-04-18 Ian Lance Taylor <ian@zembu.com>
677 * obj.h (struct format_ops): Change generate_asm_lineno field to
679 * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
681 * config/tc-alpha.c (find_opcode_match): Add default case to
683 (find_macro_match): Likewise.
684 (load_expression): Parenthesize && within ||.
686 * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
688 1999-04-17 Nick Clifton <nickc@cygnus.com>
690 * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
691 .text .data .section pseudo ops.
692 (mcore_s_section): New function. Dump lits before changing secs.
693 (mcore_s_text): New function. Dump lits before changing secs.
694 (mcore_s_data): New function. Dump lits before changing secs.
696 1999-04-16 Gavin Romig-Koch <gavin@cygnus.com>
698 * config/tc-mips.c (mips_32bitmode): New.
699 (md_begin): Set mips_32bitmode if needed.
700 (mips_elf_final_processing): Don't set EF_MIPS_ARCH.
701 Set EF_MIPS_32BITMODE.
703 Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com>
705 * config/obj-coff.c (c_section_symbol): Fix typo in previous
708 1999-04-16 Nick Clifton <nickc@cygnus.com>
710 * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
712 Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com)
714 * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
715 expressions correctly.
718 1999-04-15 Gavin Romig-Koch <gavin@cygnus.com>
720 * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
722 Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com)
724 * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
725 and fmpynfadd instructions.
727 1999-04-11 Richard Henderson <rth@cygnus.com>
729 * as.h (environ): Declare it, if needed.
730 * as.c (dump_statistics): Don't declare environ.
731 * configure.in (environ): Detect declaration.
732 * configure, config.in: Rebuild
734 * config/tc-i386.c (i386_immediate): Accept @GOT relocations.
735 (i386_displacement): Allocate enough space for replacement buffer.
736 Clean up replacement buffer initialization.
738 1999-04-11 Bob Manson <manson@charmed.cygnus.com>:
740 * subsegs.c (section_symbol): Don't create a new symbol if one
741 already exists; instead, use the existing one, but set its segment
742 and frag data if it hasn't already been defined.
743 * config/obj-coff.c (c_section_symbol): Likewise.
745 Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com>
747 * tc-alpha.c (load_expression): Call as_bad instead of abort.
749 1999-04-08 Nick Clifton <nickc@cygnus.com>
751 * config/tc-mcore.c: New File: Support routines for MCore
753 * config/tc-mcore.h: New File: Definitions for MCore assembler.
754 * config/obj-coff.c: Add support for mcore-pe target.
756 * Makefile.am: Add support for MCore targets.
757 * Makefile.in: Regenerate.
758 * configure.in: Add support for MCore targets.
759 * configure: Regenerate.
761 * doc/all.texi: Set MCORE.
762 * doc/as.texinfo: Document MCore specific command line options.
764 * write.h: Prevent multiple inclusion.
766 1999-04-06 Ian Lance Taylor <ian@zembu.com>
768 * asintl.h (LC_MESSAGES): Never define.
769 * as.c (main): Don't pass LC_MESSAGES to setlocale if the system
771 * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
774 * Makefile.am (m68k-parse.c): If configuring in the source
775 directory, copy m68k-parse.y into the local directory before
776 running ylwrap, to remove spurious differences when generating
778 * Makefile.in: Rebuild.
780 * config/tc-sparc.h (md_do_align): Just allocate the number of
781 bytes necessary, rather than always allocating 1024.
783 1999-04-04 Ian Lance Taylor <ian@zembu.com>
785 * listing.c (listing_newline): Add cast to avoid warning.
786 * read.c (generate_lineno_debug): Add cases to switch. Reindent.
787 * config/tc-i386.c (i386_scale): Add return value.
788 (build_displacement_string): Remove unused local temp_disp2.
789 (i386_intel_memory_operand): Add parentheses to avoid warning.
790 (i386_intel_operand): Remove unused local end_of_operand_string.
791 (i386_operand): Remove unused local operand_modifier.
792 (i386_operand): Add parens to avoid warning.
794 1999-04-04 Don Bowman <don@pixsci.com>
796 * configure.in: Add mips*-*-vxworks* target; have it define
798 * configure, config.in: Rebuild.
800 1999-03-31 Nick Clifton <nickc@cygnus.com>
802 * configure.in (emulations): Add support for arm-epoc-pe.
803 * configure: Regenerate.
804 * config/te-epoc-pe.h: New file. Define macros specific to
806 * config/tc-arm.h: Select epoc-pe-arm target format if configured
807 for arm-epoc-pe target.
809 Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com>
811 * tc-mips.c (md_apply_fix): Adjust value for linkonce sections.
813 Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com)
815 * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
816 detect ",n" without a condition.
817 (pa_parse_neg_cmpsub_cmpltr): Likewise.
820 Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com)
822 * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
823 instruction is encoded with one bit.
826 1999-03-23 Ian Lance Taylor <ian@zembu.com>
828 * doc/internals.texi (CPU backend): Mention that
829 line_separator_chars should not include newline. From thi
830 <ttn@mingle.glug.org>.
832 1999-03-22 Doug Evans <devans@casey.cygnus.com>
834 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
835 * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
837 Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com>
839 * tc-alpha.c (md_assemble): Allow '6' in an opcode.
841 Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com)
843 * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
846 Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com)
848 * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
850 1999-03-15 Martin Hunt <hunt@cygnus.com>
852 * app.c (do_scrub_begin): Change '-' back to a symbol char
853 so we can use multiple opcodes on a line again.
855 * config/tc-d30v.c: By default, warn if a symbol has
856 the same name as a register. Plus some minor
857 updates from the branch.
859 1999-03-13 Nick Clifton <nickc@cygnus.com>
861 * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
862 BFD_RELOC_16 and BFD_RELOC_64.
864 1999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
866 * expr.c (expr): Add missing else.
868 1999-03-12 Nick Clifton <nickc@cygnus.com>
870 * config/tc-arm.c (md_apply_fix3): Improve error message.
872 1999-03-11 Doug Evans <devans@casey.cygnus.com>
874 * Makefile.am (CPU_TYPES): Add fr30.
875 (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
876 (fr30,m32r dependencies): Update.
877 * Makefile.in: Rebuild.
879 * cgen.c (gas_cgen_record_fixup): Update use of operand->type.
880 (gas_cgen_record_fixup_exp): Ditto.
881 (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
882 (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand.
883 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
884 (md_cgen_lookup_reloc): Update use of operand->type.
885 * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
886 (md_convert_frag): Call cgen_operand_lookup_by_num.
887 (md_cgen_lookup_reloc): Update use of operand->type.
888 (m32r_cgen_record_fixup_exp): Ditto.
890 1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
892 * config/tc-mips.c (md_show_usage): Fix message.
894 1999-03-03 Nick Clifton <nickc@cygnus.com>
896 * doc/c-arm.texi (ARM Syntax): Document new command line switches
897 and LDR reg,=<expr> instruction.
899 * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
902 Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com>
904 * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
906 1999-02-17 Nick Clifton <nickc@cygnus.com>
908 This patch was created by: Scott Bambrough
909 <scottb@corelcomputer.com>
912 Special cased '@' character. The '@' character is used as the
913 ARM assembler comment character, as a special character
914 and in ELF .symver pseudo-op's, and as a special character in
915 .type and .section pseudo-ops.
916 (symver_pseudo): New static variable.
917 (symver_state): New static variable.
918 (struct app_save): Add field 'symver_state'.
919 (app_push): Save global symver_state int struct app_save.
920 (app_pop): Restore global symver_state from struct app_save.
921 (do_scrub_chars): Special case handling of '@' character in
924 * configure.in: Modified to recognize armv* uname syntax from ARM
926 * configure: Regenerated.
928 * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
929 a prefix to the section's type.
930 (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
933 * config/tc-arm.h: Add support for PIC generation:
934 (pic_code): New boolean.
935 (obj_relocate_extern): Define.
936 (TC_RELOC_RTSYM_LOC_FIXUP): Define
937 (TC_CONS_FIX_NEW): Define.
938 (tc_fix_adjustable): Define.
939 (GLOBAL_OFFSET_TABLE_NAME): Define.
941 * config/tc-arm.c: Add support for PIC generation:
942 (line_seperator_chars): Allow ';' as a seperator for Linux.
943 (is_immediate_prefix): New macro.
944 (arm_parse_reloc): New function.
945 (s_arm_elf_cons): New function.
946 (do_branch): Special case for BFD_RELOC_ARM_PLT32.
947 (md_undefined_symbol): Special case handling for the Global Offset
949 (md_apply_fix3): Handle PIC relocs.
950 (tc_gen_reloc): Handle PIC relocs.
951 (md_parse_option): Add support for '-k' command line switch to
952 enable PIC generation.
953 (cons_fix_new_arm): New function.
954 (s_arm_elf_cons): New function.
956 Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com>
958 * configure.in: Add comments for uses of AC_DEFINE.
959 * acinclude.m4: Likewise.
960 * acconfig.h: Remove.
961 * aclocal.m4: Rebuild.
962 * configure: Rebuild.
963 * Makefile.in: Rebuild.
964 * config.in: Rebuild.
966 1999-02-15 Jim Lemke <jlemke@cygnus.com>
968 * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
969 non-constant offset from a base register.
971 1999-02-14 Ken Raeburn <raeburn@raeburn.org>
973 * config/tc-alpha.c (md_show_usage): Put \ before newline in
976 Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com>
978 * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
979 (emit_insn): Look for pc-relative and no-overflow specifiers on
980 internal relocation types.
982 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
984 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
987 * config/tc-mips.c: Remove all the mips_NNNN variables; just use
989 (mips_4650, mips_4010, mips_4100): Variables removed.
990 (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
991 macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
993 (md_begin): Don't bother initializing the mips_NNNN variables;
994 mips_cpu is set, and that's good enough now.
995 (md_parse_option): Have the -mNNNN options set mips_cpu instead of
996 the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
997 (show): New function, to handle wrapping in the CPU lists.
998 (md_show_usage): Update lists of -mcpu and -mNNNN switches.
1000 Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com>
1002 * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
1003 than treat as an immediate specifier.
1005 Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com>
1007 * config/tc-i386.c: Prototype many functions.
1008 (set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
1009 (i386_immediate): Remove unused second argument.
1010 (i386_intel_operand): Fix i386_is_reg typo.
1011 (i386_operand): Use allow_naked_reg.
1012 (output_invalid): Make operand int for K&R.
1014 Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com>
1016 * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
1018 * Makefile.in: Rebuild.
1020 1999-02-09 Doug Evans <devans@casey.cygnus.com>
1022 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
1024 (EXTRA_as_new_SOURCES): Comment out.
1025 (.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
1026 * Makefile.in: Rebuild.
1027 * doc/Makefile.in: Rebuild.
1028 * configure.in: Require autoconf 2.13. Redo using_cgen handling.
1029 Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
1030 (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
1031 * configure: Rebuild.
1032 * aclocal.m4: Rebuild.
1033 * config.in: Rebuild.
1034 * cgen.c: Include cgen-desc.h, not cgen-opc.h.
1035 (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
1036 (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
1037 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
1038 CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
1039 (gas_cgen_record_fixup): Remove unnecessary != 0 test.
1040 (gas_cgen_record_fixup_exp): Ditto.
1041 (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
1042 descriptor, not global variable.
1043 (gas_cgen_md_apply_fix3): Refer to operand_table via cpu
1044 descriptor, not global variable. Refer to insert_operand handler
1045 via cpu descriptor, not global function.
1046 * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
1047 * config/tc-fr30.c: Include opcodes/fr30-desc.h.
1048 (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
1049 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
1050 Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
1051 * config/tc-m32r.c: Ditto.
1052 (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
1053 (md_assemble): Ditto.
1054 (md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
1056 1999-02-09 Nick Clifton <nickc@cygnus.com>
1058 * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
1059 relocations for ELF targets.
1061 1999-02-08 Nick Clifton <nickc@cygnus.com>
1063 * configure.in: Add support for StrongARM target.
1064 * configure: Regenerate.
1066 1999-02-05 Nick Clifton <nickc@cygnus.com>
1068 * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
1070 * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
1073 Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com>
1075 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
1077 Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com>
1079 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
1080 (INTEL_DWORD_MNEM_SUFFIX): Define.
1083 (DWORD_PTR): Define.
1084 (XWORD_PTR): Define.
1086 (OFFSET_FLAT): Define.
1088 (NONE_FOUND): Define.
1091 * config/tc-i386.c (set_intel_syntax): New routine.
1092 (intel_syntax): Declare.
1093 (allow_naked_reg): Declare.
1094 (md_pseudo_table): Support .intel_syntax and .att_syntax.
1095 (intel_float_operand): New routine.
1096 (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
1097 Handle brackets as well as parens. Call i386_intel_operand for
1098 intel syntax. Reverse operands if appropriate. Handle new
1099 suffixes. Handle movzx and movsx.
1100 (i386_is_reg): New routine.
1101 (i386_immediate): New routine.
1102 (i386_scale): New routine.
1103 (i386_displacement): New routine.
1104 (i386_operand_modifier): New routine.
1105 (build_displacement_string): New routine.
1106 (i386_parse_seg): New routine.
1107 (i386_intel_memory_operand): New routine.
1108 (i386_intel_operand): New routine.
1109 (i386_operand): Call i386_displacement, i386_immediate,
1110 i386_scale, etc. instead of handling inline.
1111 (parse_register): Handle registers without prefix.
1113 Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com>
1115 * configure: Regenerate.
1116 * configure.in (arm-*-oabi): New.
1117 (thumb-*-oabi): New.
1118 * config/tc-arm.c (target_oabi): Declare.
1119 (md_apply_fix3): Support REL relocs.
1120 (md_parse_option): Handle -oabi.
1121 (elf32_arm_target_format): New routine.
1122 (md_longopts): Add OPTION_OABI.
1123 * config/tc-arm.h: Redefine TARGET_FORMAT.
1126 1999-01-28 Nick Clifton <nickc@cygnus.com>
1128 * write.c (write_relocs): Handle out of range error.
1130 * config/tc-fr30.c (fr30_fix_adjustable): New function.
1131 (fr30_force_relocation): Default to 0.
1133 * config/tc-fr30.h (obj_fix_adjustable): Define.
1134 (TC_FORCE_RELOCATION): Define.
1136 * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
1139 1999-01-16 Nick Clifton <nickc@cygnus.com>
1141 * config/tc-d30v.c (write_2_short): Do not generate a sequential
1142 merge of two instructions if the left instruciton kills the right.
1144 1999-01-11 Doug Evans <devans@casey.cygnus.com>
1146 * Makefile.in: Regenerate.
1147 * configure.in: Redo test for using cgen.
1148 * configure: Regenerate.
1150 1999-01-09 Nick Clifton <nickc@cygnus.com>
1152 * config/obj-coff.h (obj_adjust_symtab): Prevent accidental
1153 redefinition of this macro.
1155 Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com>
1157 * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
1160 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
1162 * config/tc-mips.c (append_insn): For mips16, insert a nop between
1163 a read of HI or LO and an immediatly following branch.
1165 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
1167 * config/tc-mips.c (md_begin): Another correction to the setting of
1170 1998-12-23 Gavin Romig-Koch <gavin@cygnus.com>
1172 * config/tc-mips.c (md_begin): Correct type-o in setting of mips_eabi64.
1174 1998-12-21 Nick Clifton <nickc@cygnus.com>
1176 * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
1177 bit insn when optimizing, so that parallelised instructions will
1178 start on a 32 bit boundary.
1180 1998-12-19 Gavin Romig-Koch <gavin@cygnus.com>
1182 * config/tc-mips.c (mips_eabi64): New.
1183 (md_begin): Set mips_eabi64.
1184 (mips_elf_final_processing): Use it.
1186 1998-12-18 Gavin Romig-Koch <gavin@cygnus.com>
1188 * config/tc-mips.c (mips_elf_final_processing):
1189 Correct setting of ABI in e_flags.
1191 Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com>
1193 * config/tc-fr30.c (md_assemble): Warn about invalid instructions in delay slots.
1195 1998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
1197 * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
1199 1998-12-15 Doug Evans <devans@casey.cygnus.com>
1201 * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
1202 warning, values that don't fit in the field.
1204 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
1206 * config/tc-mips.c (mips_abi_string): New.
1207 (md_parse_option,md_longopts): Add mabi.
1208 (mips_elf_final_processing): Set e_flags based on mabi flag.
1210 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
1212 * config/tc-mips.c (md_parse_option): Handle vr4111.
1214 98-12-11 Ken Raeburn <raeburn@cygnus.com>
1216 * config/tc-h8300.c (build_bytes): Change message given if the
1217 instruction requires H8/300H mode and we're not in Hmode, to
1218 suggest that it may be the operand modes that are the problem, not
1219 necessarily the opcode.
1221 1998-12-10 Nick Clifton <nickc@cygnus.com>
1223 * config/tc-fr30.c: Add line separator character.
1225 Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
1227 * configure.in (hppa-*-mpeix*): New target.
1228 * config/obj-som.h (obj_som_compiler): Declare.
1229 * config/obj-som.c (compiler_seen): New static variable.
1230 (obj_som_compiler): New function.
1231 * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
1232 (md_pseudo_table): Add "compiler" if OBJ_SOM.
1233 (pa_type_args): Set hppa_priv_level.
1234 (pa_compiler): New static function if OBJ_SOM.
1235 * configure: Rebuild.
1237 Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com>
1239 * read.c (output_leb128): Don't mark as inline.
1241 1998-12-08 Andrew MacLeod <amacleod@cygnus.com>
1243 * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
1244 AIX .vbyte unaligned data support.
1245 (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
1246 (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
1249 1998-12-07 Nick Clifton <nickc@cygnus.com>
1251 * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
1254 Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com>
1256 * config/tc-arm.c (elf32_arm_force_relocation): Check for
1257 BFD_RELOC_ARM_PCREL_BRANCH.
1259 Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com>
1261 * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
1262 checking the target type.
1263 (mips-dec-bsd*): Set endian to little.
1264 * configure: Rebuild.
1266 COFF weak symbol support, based on patches from Mark Elbrecht
1267 <snowball3@usa.net>:
1268 * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
1269 * config/obj-coff.c (obj_coff_weak): New static function.
1270 (obj_coff_endef) [both versions]: Handle weak symbols.
1271 (coff_frob_symbol): Likewise.
1272 (yank_symbols): Likewise.
1273 (obj_pseudo_table): Add "weak".
1275 * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
1276 <aymeric.vincent@emi.u-bordeaux.fr>.
1277 * aclocal.m4: Rebuild with current tools.
1278 * configure: Rebuild.
1280 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
1281 an assertion failure for a case we can't handle when OBJ_ECOFF.
1283 * expr.c (operator): And with 0xff to avoid problems with signed
1286 1998-12-03 Nick Clifton <nickc@cygnus.com>
1288 * config/tc-fr30.c (md_cgen_lookup_reloc): Generate
1289 BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
1291 1998-12-02 Nick Clifton <nickc@cygnus.com>
1293 * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
1296 Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
1298 * config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
1301 Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com>
1303 * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
1306 Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com>
1308 * config/tc-d10v.c (md_assemble): Make static 'etype' have file
1310 (d10v_cleanup): Only generate previous insn if a multiline insn is
1313 Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com>
1315 * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
1318 Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com>
1320 * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
1321 -marm6xxx command line switches.
1323 1998-11-18 Doug Evans <devans@casey.cygnus.com>
1325 * Makefile.am (DEP): Use $(srcdir)/../mkdep.
1326 (itbl-ops.o): Delete duplicate dependencies.
1327 Rebuild dependencies.
1328 Add fr30 dependencies.
1329 * Makefile.in: Rebuild.
1331 Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com>
1333 * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
1335 * listing.c: Ignore line terminator characters found inside
1338 Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com>
1340 * po/gas.pot: Regenerated.
1342 Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com>
1344 * config/tc-fr30.c (fr30_is_colon_insn): New name for
1345 fr30_is_label_start(). Also checks for delay slot insns.
1347 * config/tc-fr30.c (fr30_is_label_start): New function: Handle
1348 FR30 instructions which contain a colon in the mnemonic.
1350 * config/tc-fr30.h (TC_START_LABEL): Define this macro.
1352 Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com>
1354 * config/tc-fr30.c: Removed currently superflous code.
1356 Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com>
1358 * config/tc-fr30.h: New file.
1359 * config/tc-fr30.c: Tweaking so that it will compile.
1361 Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com>
1363 * config/tc-d10v.h (obj_fix_adjustable): Define.
1364 (TC_FORCE_RELOCATION): Define.
1365 (d10v_force_relocation): Declare.
1366 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
1367 (md_apply_fix3): Handle Vtable relocs.
1368 (d10v_fix_adjustable): New.
1369 (d10v_force_relocation): New.
1371 Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com>
1373 * config/tc-d30v.c: Change default behaviour to ignore potential
1374 conflicts between register name and symbol names.
1376 Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
1378 * configure.in: Add fr30-*-*.
1379 * config/tc-fr30.c: New file.
1380 * Makefile.in: Regenerated.
1381 * config.in: Regenerated.
1382 * configure: Regenerated.
1383 * doc/Makefile.in: Regenerated.
1384 * po/gas.pot: Regenerated.
1386 Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com>
1388 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
1391 Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
1393 * app.c (do_scrub_begin): Set characters above 127 to be symbol
1395 (do_scrub_chars): Add some casts to unsigned char to avoid
1396 unwanted sign extension.
1397 * read.c (lex_type): Set characters about 127 to be symbol
1399 * config/tc-i386.c (md_begin): Set identifier_chars and
1400 operand_chars for values above 127.
1402 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1404 * configure.in: detect cygwin* instead of cygwin32*
1405 * configure: regenerate
1407 Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com>
1409 * listing.c: Add support for producing a listing from piped
1412 Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
1414 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
1415 (append_insn): Account for the tx39's multiply behavior.
1417 1998-10-26 Michael Meissner <meissner@cygnus.com>
1419 * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
1420 from assemble_parallel_insns. Add support for '->' to indicate
1421 explicitly serializing the instructions.
1422 (md_assemble): Ditto.
1424 Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com>
1426 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
1429 Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com>
1431 * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
1433 Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com>
1435 * config/tc-mips.c : support frame and regmask/fregmask when
1436 MIPS_STABS_ELF is specified.
1438 Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com>
1440 * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
1441 (md_apply_fix): Don't return 1 for VTABLE relocs.
1442 * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
1444 Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1446 * doc/c-i386.texi: Replace occurences of "opcode" with
1447 "instruction mnemonic", "instruction", or "mnemonic" when
1448 referring to the name of an instruction. Use "opcode" when
1449 referring to the sequence of machine bytes.
1451 * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
1452 (is_opcode_char): Rename to is_mnemonic_char.
1453 (md_assemble and i386_operand): Correct error messages from
1454 "opcode" to "instruction mnemonic"
1455 Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
1456 MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
1457 DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
1458 WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
1459 BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
1460 SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
1461 LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
1463 * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
1465 * config/tc-i386.c (i386_operand): Check for garbage after
1468 Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com>
1470 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
1471 for BFD_ASSEMBLER to only change value when COFF if TE_PE.
1473 Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com>
1475 * config/tc-sh.h (obj_fix_adjustable): Define.
1476 * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
1477 (md_apply_fix): Likewise.
1478 (tc_gen_reloc): Likewise.
1479 (sh_fix_adjustable): New.
1481 Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com>
1483 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
1484 * cgen.h (gas_cgen_finish_insn): Update prototype.
1485 * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
1486 cgen_insn_t -> CGEN_INSN_INT.
1487 (make_parallel): Update handling of CGEN_INT_INSN_P.
1488 (assemble_parallel_insn): Ditto.
1489 (target_make_parallel): New function.
1490 (md_assemble): Use it.
1492 Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com>
1494 * config/tc-m32r.c (m32r_force_relocation): Fix typo.
1496 Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com)
1498 * config/tc-sh.c (md_assemble): Make sure the entire opcode is
1499 converted into lower case.
1501 Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com>
1503 * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
1504 (gas_cgen_tc_gen_reloc): Likewise.
1505 * config/tc-m32r.h (obj_fix_adjustable): Define.
1506 * config/tc-m32r.c (m32r_fix_adjustable): New.
1507 (m32r_force_relocation): Handle VTABLE relocs.
1509 Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com>
1511 * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
1513 Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com>
1515 * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
1516 to lower case before parsing.
1518 * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
1519 parallel insns modift buts in the PSW as a side effect.
1521 Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
1523 * config/tc-d30v.c (find_format): Test for missing flag and
1526 (md_apply_fix3): Fix error messages to avoid
1527 assumption about presence of a symbol.
1529 (parallel_ok): Disallow parallel instructions that both modify the
1532 (find_format): Generate a warning if an odd numbered register is
1533 used as the first register in a mutli-register instruction.
1535 Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
1537 * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
1538 relocations are always associated with a symbol.
1540 Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com>
1542 * tc-sparc.h (TC_FORCE_RELOCATION): Define.
1543 (elf32_sparc_force_relocation): Declare.
1544 * tc-sparc.c (md_apply_fix3): Handle vtable relocs.
1545 (tc_gen_reloc): Handle vtable relocs.
1546 (elf32_sparc_force_relocation): New.
1548 Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com>
1550 * symbols.c (S_IS_FUNCTION): New.
1551 * config/tc-v850.h (obj_fix_adjustable): Define.
1552 (TC_FORCE_RELOCATION): Define.
1553 (v850_force_relocation): Declare.
1554 * config/tc-v850.c (tc_gen_reloc): Use offset instead
1555 of fx_addnumber for VTABLE reloc addends.
1556 (md_apply_fix3): Handle VTABLE relocs.
1557 (v850_fix_adjustable): New.
1558 (v850_force_relocation): New.
1560 Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com)
1562 * tc-hppa.c (fp_operand_format): Add some additional formats.
1563 (pa_ip): Do not automatically promote into pa2.0 mode.
1564 (pa_level): Handle ".level 2.0".
1566 Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1568 * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
1569 * config/tc-i386.h (template.extension_opcode): Change to
1570 unsigned int to allow full range of 8-bit opcode suffixes.
1571 (None): Redefine as 0xffff.
1573 From Jeff B Epler <jepler@usgs.gov>
1574 * doc/c-i386.texi (i386-SIMD): New section.
1576 Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com>
1578 * read.c (discard_rest_of_line): New function.
1579 * read.h: Declare it.
1580 * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
1582 Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com>
1584 * config/tc-d10v.c (find_symbol_matching_register): New function.
1585 (find_opcode): Cope with the case where a register name matches
1588 Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com>
1590 * config/tc-v850.c (md_pcrel_from): Rename to
1591 v850_pcrel_from_section.
1592 (v850_pcrel_from_section): Do not resolves symbols in other
1595 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
1597 Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com>
1599 * config/tc-d10v.c (find_opcode): Generate an error if a register
1600 is supplied for an operand that should not be a register.
1602 Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com>
1604 * config/tc-d30v.c (write_2_short): But do allow delayed branch
1605 instructions to have another instruction in the right bin.
1607 Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com>
1609 * config/tc-d30v.c (write_2_short): Do not allow instructions in
1610 the right container if the left container holds a branch
1613 Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
1615 * config/tc-d30v.c (reg_name_search): Only warn if a name matches
1616 both a register name and symbol name.
1617 (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
1619 Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
1621 * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
1622 execution unit class.
1624 (reg_name_search): If a name matches a register and a symbol,
1625 prefer the register.
1626 (find_format): Disallow flag registers when a general purpose
1627 register is required.
1628 If a number is required, but a register has been given, check to
1629 see if a symbol with the same name as the register exists, and if
1630 so, use that symbol.
1632 Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com>
1634 * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
1636 Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com>
1638 * config/tc-d30v.c (find_format): Do not accept flag registers as
1639 general purpose registers.
1640 (find_format): If an immediate value is expected at a given place
1641 in a format, but a register name has been provided instead, check
1642 to see if that register name matches the name of a predefined
1643 symbol and if it does, then use the symbol instead.
1644 (reg_name_search): If a register name matches a symbol name,
1645 prefer the register name to the symbol name.
1647 Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com>
1649 * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
1650 the previous insn to empty.
1652 1998-09-20 Michael Meissner <meissner@cygnus.com>
1654 * config/tc-ppc.c (md_apply_fix3): Do not break string into two
1655 pieces, forcing the use of an ANSI compiler.
1657 Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1659 * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
1661 * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
1663 Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com>
1665 * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
1667 (obj_elf_vtable_entry): Likewise.
1668 * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
1669 * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
1670 (tc_gen_reloc): Likewise.
1671 (arm_fix_adjustable): Likewise.
1672 (elf32_arm_force_relocation): New.
1673 (armelf_frob_symbol): Remove coff-style symbol support.
1675 Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com>
1677 * config/tc-i386.c (i386_operand): Fix typo in last patch.
1679 Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
1681 * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
1682 OBJ_COFF so that routine is defined for a.out format.
1684 Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com>
1686 * config/tc-i386.c (i386_operand): Detect non-segment registers
1687 used as segment prefixes.
1689 Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
1691 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
1692 optimize across FDE boundaries.
1694 * config/obj-coff.c (obj_coff_section): Preserve any link once
1695 flags when setting the section flags.
1697 Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com>
1699 * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
1700 * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
1702 Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1704 * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
1707 Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com>
1709 * frags.c (frag_grow): Include the size of the frag struct in the
1712 * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
1713 if the new subseg comes before the old.
1715 Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1717 * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
1718 to handle edge8 and edge16.
1720 Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com>
1722 * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
1723 before we clobber the symbol involved.
1725 Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com>
1727 * config/tc-arm.c: Remove OBJ_ELF definitions for
1728 S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
1729 use arm_adjust_symtab for OBJ_COFF.
1730 (armelf_adjust_symtab): New Routine.
1731 * config/tc-arm.h: Define obj_adjust_symtab to
1732 armelf_adjust_symtab for OBJ_ELF.
1734 Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com>
1736 * configure.in: Make all i386-elf targets use bfd_gas.
1737 * config/tc-i386.c (tc_i386_force_relocation): New.
1738 (tc_i386_fix_adjustable): Don't fix vtable relocs.
1739 (md_apply_fix3): Likewise.
1740 (tc_gen_reloc): Handle them.
1741 * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
1742 tc_i386_force_relocation.
1744 Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com>
1746 * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
1748 Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com>
1750 * config/tc-d30v.c (md_assemble): Copy previous opcode over
1751 current opcode after writing the first insturction of a reverse
1754 Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com>
1756 * read.h (generate_lineno_debug): Add prototype.
1757 * read.c (generate_lineno_debug): Make non-static.
1759 Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1761 * config/tc-i386.c (md_assemble): Only warn for address/data size
1764 Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com>
1766 * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
1767 against Thumb function names, as the linker needs this information.
1769 1998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
1771 * expr.c (operand): Check also that there is no advance in operand
1772 after atof_generic in order to decide "is it label 0f or floating
1775 Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com>
1777 * config/tc-m32r.c: Replace double dash prefix to M32R specific
1778 command line options with a single dash.
1779 * doc/c-m32r.texi: Replace double dash prefix with a single dash.
1781 Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com>
1783 * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
1784 * tc-arm.c (arm_fix_adjustable): New routine.
1786 1998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com>
1788 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
1789 s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
1790 demand_empty_rest_of_line before mri_comment_end.
1791 (equals): Check garbage after expression before
1792 mri_comment_end in MRI mode.
1794 Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com>
1796 * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
1797 small immediate constant to use the constant itself rather than
1800 Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com>
1802 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
1803 (pa_leave): Likewise.
1805 Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1807 * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
1809 (i386_operand): Fix an error message.
1811 Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com>
1813 * doc/c-arm.texi (ARM Directives): Document .req directive.
1815 * config/tc-arm.c (reg_required_here): Display erroneous string if
1816 the register name could not be decoded.
1817 Do not set inst.instruction if the sift is -1.
1819 Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com>
1821 * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
1824 Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com>
1826 * config/tc-d30v.c (d30v_align): Always perform alignment request,
1827 even if it is belived to be unnecessary.
1829 Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1831 config/tc-i386.c (i386_operand): Size immediate constants by
1832 suffix (erroneously removed as part of July 7 change).
1834 Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com>
1836 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
1837 * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
1838 (armelf_frob_symbol): New Routine.
1839 * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
1841 Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
1843 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
1845 Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>
1847 * config/tc-arm.c (md_begin): Set BFD private flags depending upon
1848 command line switches passed to assembler.
1850 Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com>
1852 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
1853 (gas_cgen_opcode_desc): Declare.
1854 (gas_cgen_parse_operand): Declare.
1855 (*): Prepend gas_ to gas specific fns to denote them as such.
1857 * cgen.c (gas_cgen_opcode_desc): New global
1858 (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
1859 (queue_fixup): Renamed from cgen_queue_fixup.
1860 (*): Prepend gas_ to gas specific fns to denote them as such.
1862 (gas_cgen_md_apply_fix3): Update call to insert_operand.
1863 (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
1864 * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
1865 Open opcode table and initialize it.
1866 (make_parallel): Use gas_cgen_opcode_desc.
1867 (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
1868 (md_assemble): Ditto.
1870 Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com>
1872 * as.h (debug_info_type): Add entries for unspecified and dwarf*.
1873 * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
1874 as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
1875 * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
1876 Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
1877 * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
1878 DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
1879 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
1880 (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
1881 (INIT_STAB_SECTION): Likewise.
1882 (OBJ_PROCESS_STAB): Likewise.
1884 * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
1885 (md_parse_option): Watch for them.
1886 (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
1887 (md_begin): Kill neverdef code.
1888 (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
1889 (s_alpha_prologue): Watch alpha_cur_ent_sym.
1890 (s_alpha_coff_wrapper): New.
1891 (md_pseudo_table): Trap all ECOFF pseudos.
1893 Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com>
1895 Start of changes to remove mdebug section from mips*-elf
1896 Based on MIPS_STAB_ELF definition
1897 * acconfig.h: undef if not configured
1898 * config.in: undef if not configured
1899 * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
1900 * config/tc-mips.c (s_ent): set BSF_FUNCTION
1901 * stabs.c (s_stab_generic): flush frag
1903 Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com>
1905 * configure.in: (arm-*-elf): Handle.
1906 (thumb-*-elf): Handle.
1907 * configure: Regenerate.
1908 * read.c (stringer): Fix typo in comment.
1909 * write.c (fixup_segment): Don't add symbol value to addend if
1911 * config/tc-arm.c (md_section_align): Don't align dwarf debug
1913 (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
1916 Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com>
1918 * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
1919 (write_2_short): Emit warning if new flag is set.
1920 (do_assemble): Set flags if left instruction is one of special
1921 "right-instruction-killer" type.
1923 Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com>
1925 * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
1926 Always output words in debug_info section as big endian.
1927 (sparc_target_format): Choose correct bfd target.
1928 (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
1930 Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com)
1932 * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
1933 to work with internationalization code. Issue an error when two
1934 operands match that are not allowed to match.
1936 Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com>
1938 * configure.in (install_tooldir): Allow target to specify whether
1939 it wants to be installed in $(tooldir)/bin.
1940 * configure: Regenerate.
1941 * Makefile.am (install-exec-local): Set install-exec-tooldir
1942 dependency via configure.
1943 * Makefile.in: Regenerate.
1945 Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com>
1947 * Makefile.am (install-exec-local): Split into two ...
1948 (install-exec-bindir,install-exec-tooldir): New rules.
1949 * Makefile.in: Regenerate.
1951 Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com>
1953 * Makefile.am (install-exec-local): Don't remove the file before
1954 checking whether $(bindir) == $(tooldir)/bin. From Maciej
1955 W. Rozycki <macro@ds2.pg.gda.pl>.
1956 * Makefile.in: Rebuild.
1958 Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com>
1960 * cgen.c: Include libiberty.h.
1961 (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
1962 (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
1963 * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
1964 (md_cgen_lookup_reloc)): Declare.
1965 (md_cgen_record_fixup_exp): Declare.
1966 * config/tc-m32r.h (md_pcrel_from_section): Declare.
1967 (m32r_relax_frag): Declare.
1968 (cgen_md_apply_fix3): Decls moved to cgen.h.
1969 (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
1970 (m32r_cgen_record_fixup_exp): Delete decl.
1971 * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
1972 (assemble_nop): Delete.
1973 (expand_debug_syms): Delete unused `exp'.
1974 (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
1975 Add default case for -Wall.
1976 (m32r_cgen_record_fixup_exp): Add default case for -Wall.
1977 (md_atof): Delete unused wordP.
1979 Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com)
1981 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
1984 Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com>
1986 * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
1987 .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
1988 .print, .purgem, and .struct. Remove documentation for
1991 Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
1993 * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
1994 Update call to insert_operand.
1996 Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
1998 * config/tc-m32r.c (ms_show_usage): Formatting changes.
2000 Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com>
2002 * config/tc-i386.c (md_assemble): Don't get confused by trailing
2003 whitespace after a prefix operator.
2005 Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com>
2007 * configure.in (i386-*-beos{pe,elf,}*): Recognize.
2009 Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
2011 * config/tc-sparc.c (log2): New static function.
2012 (s_reserve): Use log2 to convert alignment before calling
2014 (s_common): Use log2 to convert alignment before calling
2015 record_alignment and frag_align.
2016 (sparc_cons_align): Use log2.
2018 Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com>
2020 * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
2021 (s_common): Likewise.
2023 * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
2024 initialization of waddr.
2025 (sparc_elf_final_processing): Add default case to switch.
2027 Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2029 * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
2030 than temporary real.
2032 Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com>
2034 * write.c (subsegs_finish): Don't align the segments if there were
2037 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
2038 copying aux information.
2040 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
2041 expression into a symbol.
2043 Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2045 * config/tc-i386.c (mode_from_disp_size): Change arg and return
2046 type to unsigned int.
2047 (md_assemble): Change type used to store offsets from unsigned
2049 (i386_operand): Switch error check to only call RESTORE_END_STRING
2050 once after parse_register.
2052 Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com>
2054 * config/tc-v850.c (md_show_usage): Changed format to match that
2057 * as.c (show_usage): Changed format to match that of gcc, ld, etc.
2059 Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2061 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
2063 (md_apply_fix_2): Force the symbol of the vtable reloc to be
2066 Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com>
2068 * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
2069 * doc/Makefile.in: Rebuild.
2071 Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com)
2073 * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
2074 for %lo expressions.
2075 (mips_ip, case 'u'): Move range check after code to mask
2076 off bits in %hi/%lo expressions. Mask off high bits for
2079 Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
2081 * doc/Makefile.am (gasver.texi): New target.
2082 (as.info, as.dvi): Depends upon gasver.texi.
2083 * doc/as.texinfo: Include gasver.texi. Mention version number on
2084 title page and in top node.
2085 * doc/Makefile.in: Rebuild.
2087 Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
2089 * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
2090 but not including the line containing the edict.
2091 * listing.h (LISTING_EOF): New.
2092 * input-scrub.c (input_scrub_next_buffer): Call it.
2094 Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2096 * config/tc-i386.c (i386_operand): Don't set the size of an
2097 immediate address based solely on the suffix and the mode.
2099 * config/tc-i386.c (md_assemble): Add assertion to make sure
2100 overlap2 does not set Imm.
2102 * config/tc-i386.c (space_chars): Remove. The scrubber converts
2103 sequences of whitespace to a single space.
2104 (is_space_chars): Just compare with space.
2105 (md_begin): Don't initialize space_chars.
2106 (md_assemble): Just skip a single whitespace character.
2107 (i386_operand): Rewrite base-index parsing to use new
2108 parse_register, and to skip white space. Skip white space in a
2109 number of other places too. Don't give error message if
2110 parse_register fails.
2111 (parse_register): Change reg_string parameter to be non-const.
2112 Add end_op parameter. Skip white space after the `%', and return
2113 end of register string. Give error message here rather than
2116 Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com>
2118 Based on patch from Matt Semersky <matts@scd.hp.com>:
2119 * expr.c (op_encoding): Make const.
2120 (expr_set_precedence): New function.
2121 (expr_begin): Don't set operator rankings, just call
2122 expr_set_precedence.
2123 * expr.h (expr_set_precedence): Declare.
2124 * read.c (s_mri): Call expr_set_precedence.
2126 Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com>
2128 * doc/as.texinfo (Statements): Remove paragraph discussing
2129 continuing lines with a backslash. This hasn't worked for years,
2132 Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
2134 * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
2136 (Ctors_Symbols, Dtors_Symbols): New symbol chains.
2137 (ps_CTORS, ps_DTORS): New section types.
2138 (vms_fixup_xtors_section): New function
2139 (Ctors_Psect, Dtors_Psect): Define.
2140 (IS_GXX_XTOR): Define
2141 (global_symbol_directory): Change check of gxx_bug_fixed to 0.
2142 Filter static constructors/destructors and add to
2143 Ctors_Symbols/Dtors_Symbols chain.
2144 (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
2145 appropriate section.
2147 * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
2148 * makefile.vms: Merge vax/vms support.
2150 Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com>
2152 * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
2153 (elf_pseudo_table): Add them.
2154 * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
2155 (md_apply_fix): Accept them.
2156 (mips_fix_adjustable): Don't adjust them.
2157 (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
2158 * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
2159 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
2160 (tc_fix_adjustable): Don't adjust them.
2162 Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com>
2164 * Makefile.am (CGEN_CPU_PREFIX): New variable.
2166 * Makefile.in: Regenerate.
2167 * configure.in: AC_SUBST cgen_cpu_prefix.
2168 * configure: Regenerate.
2170 Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2172 * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
2173 Changed all users of COND12_DELAY.
2175 Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
2177 * config/tc-mn10300.c (set_arch_mach): New function.
2178 (md_pseudo_table): Add pseudo-ops to set the current machine type.
2179 (md_begin): Default to mn10300 mode.
2180 (md_assemble): Only accept instructions for the core mn10300
2181 chip and the active machine type.
2183 Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com>
2185 * subsegs.h (segment_info_type): Give the struct a name.
2186 * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
2187 * config/tc-h8500.h (tc_reloc_mangle): Declare.
2188 * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
2189 * config/tc-w65.h (tc_reloc_mangle): Declare.
2190 * config/tc-z8k.h (tc_reloc_mangle): Declare.
2192 Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com>
2194 * config/tc-v850.c (v850_comm): Restore old section
2195 after common processing.
2197 Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
2199 * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
2201 Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com>
2203 * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
2204 char with code that explicitly sign-extends.
2206 Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
2208 * config/tc-v850.c (md_begin): Restore text section as the current
2209 section after creating call table sections.
2210 * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
2213 * config/obj-coff.c (c_symbol_merge): Replace complex expresion
2214 with call to macro SYM_AUXINFO.
2216 Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
2218 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
2219 with the program transform name.
2220 * Makefile.in: Rebuild.
2222 Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com>
2224 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
2227 Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com>
2229 * config/tc-i386.c (i386_operand): Be prepared for a space between
2230 the open parenthesis and the start of the register operand,
2231 because of the June 16 change.
2233 Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com>
2235 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
2238 Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com>
2240 * config/tc-d30v.c (d30v_align): Always perform alignment request,
2241 even if it is belived to be unnecessary.
2243 Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com>
2245 * write.c (adjust_reloc_syms): Never adjust relocs against weak
2247 * config/tc-mips.c (md_apply_fix): Adjust accordingly.
2249 Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com)
2251 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
2252 shift amount for a repeated operand. The shift amount for the
2253 repeated copy comes from the size of the operand.
2255 Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com)
2257 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
2259 Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
2261 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
2263 Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2265 * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
2266 characters in it as LEX_IS_SYMBOL_COMPONENT.
2267 * config/tc-i386.h (tc_symbol_chars): Define.
2268 (extra_symbol_chars): Declare.
2269 * config/tc-i386.c (extra_symbol_chars): Define.
2270 (comment_chars): Don't use '/' as comment start if TE_LINUX.
2271 (line_comment_chars): Set to '/' if TE_LINUX.
2272 * doc/c-i386.texi (i386-prefixes): Update.
2273 * doc/internals.texi (CPU backend): Document tc_symbol_chars.
2275 Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com>
2277 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
2278 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
2280 1998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
2282 * config/tc-d10v.c (md_apply_fix3): Checking displacement
2283 constraint in instructions REP & REPI.
2285 Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com>
2287 * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
2288 BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
2290 (check_range): If the operand is shifted, then shift the number
2291 before checking its range.
2293 * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
2295 * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
2298 Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com>
2300 * config/tc-v850.c (v850_comm): Create special sections as needed.
2302 1998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
2304 * config/tc-d10v.c (write_2_short): Addition of swapping
2305 instructions for sequential and reverse sequential order when
2306 given order is not possible.
2308 Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
2310 * Makefile.am: Rebuild dependencies.
2311 (DEP_INCLUDES): Fix reference to intl build directory.
2312 * Makefile.in: Rebuild.
2314 Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2316 * doc/c-i386.texi: Update 16 bit documentation.
2318 * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
2319 IgnoreDataSize to IgnoreSize as they are used for address size as
2321 * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
2322 32-bit mode, similarly addr16/data16 and variants.
2324 Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com>
2326 * config/tc-d30v.c (md_assemble): Fix handling of reverse
2327 sequential word multiply instructions.
2329 (do_assemble): Add extra command line argument, to allow mul32
2330 attribute to be preserved across parallel insns.
2331 (md_assemble): Insert NOPs between explicitly parallel insns which
2332 contain an 32 bit multiply and a 16 multiply.
2334 Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2336 * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
2339 * config/tc-i386.c (reloc): Add braces.
2341 * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
2342 consistent with Intel naming.
2343 * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
2344 use bitfields in sib_byte.
2345 (modrm_byte): Don't use bitfields here either.
2347 * config/tc-i386.c (current_templates): Add const.
2348 (parse_register): Add const to return, param, and char *s.
2349 (i386_operand): Add const to reg_entry *r.
2350 * config/tc-i386.h (templates): Add const to start, end.
2352 Inspired by code for 16 bit gas support from Martynas Kunigelis
2353 <martynas@nm3.ktu.lt>:
2354 * config/tc-i386.c (md_assemble): Add full support for 16 bit
2355 modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
2356 (uses_mem_addrmode): Remove.
2357 (md_estimate_size_before_relax): Add support here too.
2358 (md_relax_table): Rewrite interface to md_relax for 16 bit
2360 (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
2361 (opcode_suffix_to_type): Remove.
2362 (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
2363 (SIZE_FROM_RELAX_STATE): Modify to suit above.
2364 (md_convert_frag): Likewise.
2365 (i386_operand): Add support for 16 bit base/index regs,
2366 immediates, and displacements. Remove some unnecessary casts, and
2367 localise end_of_operand_string, displacement_string_start,
2368 displacement_string_end variables. Add GCC_ASM_O_HACK.
2369 * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
2371 * config/tc-i386.c (prefix_hash): Remove.
2372 (md_begin): Rewrite without obstacks. Remove prefix hash table
2373 handling. Rewrite lexical table handling.
2374 (i386_print_statistics): Don't print prefix statistics.
2375 (md_assemble): Rewrite instruction parser so that line is not
2376 converted to lower case. Don't do a hash_find for prefixes,
2377 instead recognise them via opcode modifier.
2378 (expecting_operand, paren_not_balanced): Localise variables.
2379 * config/tc-i386.h (IsPrefix): Define.
2380 (prefix_entry): Remove.
2382 * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
2383 * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
2384 '\\' in case where comment_chars contains '/'.
2386 * config/tc-i386.c (MATCH): Ensure given operand and template
2387 match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
2388 you must write `ljmp *table(%ebx)'.
2390 From H.J. Lu <hjl@gnu.org>:
2391 * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
2392 as 0 ifndef BFD_ASSEMBLER.
2393 (md_assemble): Allow immediate operands without suffix or
2394 other reg operand to default in size to the current code size.
2396 Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
2398 * config/tc-v850.c (md_begin): Restore creation of
2399 .call_table_text and .call_table_data sections.
2401 Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com>
2403 * config/tc-d30v.c (md_assemble): Set execution type to unknown
2404 after emitting a word of noops.
2406 Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2408 * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
2409 (i386_operand): Simplify checks for valid base/index combinations.
2410 Disallow `in 4(%dx),%al'.
2412 * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
2414 (add_prefix): Change parameter from char to int.
2416 * config/tc-i386.h (Ugh): Define opcode modifier.
2417 * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
2419 * config/tc-i386.c (md_assemble): Rewrite MATCH and
2420 CONSISTENT_REGISTER_MATCH macros to check register types more
2421 thoroughly. Check for illegal suffix/operand combinations
2422 when matching insns with operands. Handle new `s' suffix, and
2423 associated FloatMF opcode modifier for float insns with memory
2425 * config/tc-i386.h (FloatMF): Define new opcode modifier.
2426 (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
2427 (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
2428 * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
2429 DATA_PREFIX_OPCODE throughout.
2431 * config/tc-i386.c (REGISTER_WARNINGS): Define.
2432 (md_assemble): Rewrite suffix/register operand checking code to be
2433 more thorough. Remove Abs8,16,32. Change occurrences of Mem to
2434 AnyMem, the better to grep.
2436 (i386_operand): Don't set Mem bits in i.types[this_operand] when
2437 given a memory operand. Don't set Abs bits either.
2438 (type_names): Remove Mem*, Abs*.
2439 * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
2440 define opcode_modifiers as these cases are handled by Disp8,
2441 Disp16, Disp32 and suffix checks.
2442 (COMES_IN_BOTH_DIRECTIONS): Remove.
2443 (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
2445 * config/tc-i386.c (md_assemble): Don't emit operand size prefix
2446 if IgnoreDataSize modifier given. Remove ShortformW modifier
2447 test. Add test for ShortForm in W base_opcode modification.
2448 Merge Seg2ShortForm and Seg3ShortForm code.
2449 * config/tc-i386.h (ShortFormW): Remove.
2450 (IgnoreDataSize): Define.
2452 Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com>
2454 * config/tc-d30v.c (md_assemble): Store previous segment state
2455 with previous instruction.
2457 Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2459 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
2460 (ebp, esp): Remove static variables.
2461 (MATCH): Remove test for InOutPortReg.
2462 (i386_operand): Properly handle InOutPortReg here instead.
2463 Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
2464 (md_assemble): Simplify and correct modrm and sib generation.
2465 (i386_operand): Add warning for scale without index.
2466 Rewrite checks for valid base/index combinations.
2468 * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
2469 macros and enclose in do while(0).
2470 (RESTORE_END_STRING): Likewise.
2471 (md_assemble): Add one to printed operand number so we start
2472 from 1 not 0. Add some more gettext invocations.
2473 (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
2476 * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
2477 DATA_PREFIX, SEG_PREFIX): Define.
2478 * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
2479 (check_prefix): Remove function.
2480 (add_prefix): New function. Add prefix to i.prefix as well as
2482 (md_assemble): Changes for add_prefix. Remove hack for wait
2483 prefix, instead always output prefixes in fixed order. Test
2484 for jcxz/loop when selecting between word & dword operations,
2485 and add address size prefix rather than operand size prefix.
2486 Remove operand -> address size hack when emitting jcxz/loop.
2487 (i386_operand): Remove O_Absent check as it's done in expr.
2489 Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com>
2491 * configure.in: Recognize m5200 as a cpu_type of m68k.
2492 * aclocal.m4: Rebuild with current libtool.
2493 * configure: Rebuild.
2495 Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2497 * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
2498 to relaxable_symbol to prevent references to external symbol from
2501 Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com>
2503 * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
2504 symbols are relaxable.
2506 Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com>
2508 * config/tc-v850.c (md_begin): Don't create special
2509 sections by default.
2511 Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com)
2513 * config/tc-mips.c (macro): For div and udiv, close the
2514 reorder block as soon as possible.
2516 Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com>
2518 From Matt Semersky <matts@scd.hp.com>:
2519 * macro.c (macro_mri_mode): New function.
2520 * macro.h (macro_mri_mode): Declare.
2521 * read.c (s_mri): Call macro_mri_mode when switching in and out of
2524 Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
2526 * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
2529 * config/tc-alpha.c (s_alpha_comm): Defer restoring character
2530 until after xstrdup in OBJ_EVAX case.
2532 Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
2534 * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
2535 offset calculation. Also, use VAX_BRW from vax-inst.h instead
2536 of hardcoded magic number.
2537 (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
2539 Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com>
2541 * read.c (do_s_func): New function.
2543 * read.h (do_s_func): Add prototype.
2545 Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com>
2547 * config/tc-m32r.c (m32r_do_align): Only fill code sections with
2548 nops if fill pattern not specified.
2550 Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com>
2552 From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
2553 * config/te-go32.h (TE_GO32): Define.
2554 * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
2556 Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com>
2558 Implement .func/.endfunc pseudo-ops.
2559 * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
2561 * read.c (potable): Add .func,.endfunc.
2562 (s_func): New function.
2563 * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
2565 (in_doc_func_p,current_function_label): New static globals.
2566 (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
2568 Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com>
2570 * config/tc-a29k.h (WORKING_DOT_WORD): Define.
2571 * config/tc-alpha.h (WORKING_DOT_WORD): Define.
2572 * config/tc-arm.h (WORKING_DOT_WORD): Define.
2573 * config/tc-h8300.h (WORKING_DOT_WORD): Define.
2574 * config/tc-h8500.h (WORKING_DOT_WORD): Define.
2575 * config/tc-hppa.h (WORKING_DOT_WORD): Define.
2576 * config/tc-i860.h (WORKING_DOT_WORD): Define.
2577 * config/tc-i960.h (WORKING_DOT_WORD): Define.
2578 * config/tc-tic30.h (WORKING_DOT_WORD): Define.
2579 * config/tc-w65.h (WORKING_DOT_WORD): Define.
2580 * config/tc-z8k.h (WORKING_DOT_WORD): Define.
2581 * config/tc-a29k.c: Don't define md_short_jump_size,
2582 md_long_jump_size, md_create_short_jump or md_create_long_jump.
2583 * config/tc-alpha.c: Likewise.
2584 * config/tc-alpha.h: Likewise.
2585 * config/tc-arm.c: Likewise.
2586 * config/tc-h8300.c: Likewise.
2587 * config/tc-h8500.c: Likewise.
2588 * config/tc-hppa.c: Likewise.
2589 * config/tc-i860.c: Likewise.
2590 * config/tc-i960.c: Likewise.
2591 * config/tc-ppc.c: Likewise.
2592 * config/tc-sh.c: Likewise.
2593 * config/tc-sparc.h: Likewise.
2594 * config/tc-tic30.c: Likewise.
2595 * config/tc-w65.c: Likewise.
2596 * config/tc-z8k.c: Likewise.
2598 Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
2600 * config/tc-vax.c (_): Delete this macro used for placeholder
2601 values in vax_operand_width_size; it conflicts with the _() macro
2602 used for internationalization.
2604 Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com>
2606 * symbols.c (symbol_find_base): Fix case insensitive symbol name
2607 code. From Chris Moller <moller@bops.com>.
2609 Based on patch from Klaus Kaempf <kkaempf@progis.de>:
2610 * struc-symbol.h (struct broken_word): Add seg and subseg fields.
2611 * read.c (emit_expr): Initialize seg and subseg fields of a new
2613 * write.c (write_object_file): Switch to the appropriate segment
2614 and subsegment when processing a broken word.
2616 * config/tc-m68k.c (mri_assemble): New static function.
2617 (build_mri_control_operand): Call mri_assemble rather than
2619 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
2620 (s_mri_endf, s_mri_endw): Likewise.
2622 Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com>
2624 * read.c (s_org): Call md_flush_pending_output if it is defined.
2626 * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
2628 Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com>
2630 * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
2631 (md_parse_option): Add for same.
2632 (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
2633 (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
2634 (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
2636 * config/tc-sparc.h (cons_fix_new_sparc): Added.
2638 Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com>
2640 * config/tc-arm.c (find_real_start): Relax definition of local
2643 Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com>
2645 * config/tc-d30v.c (d30v_align): Apply address adjustment to all
2646 symbols at the given address, not just the last one specified.
2648 Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com>
2650 * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
2651 or number_to_chars_littleendian to write data.
2653 Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com>
2655 * config/tc-v850.c (md_assemble): Remove artificially created
2656 register name symbols.
2658 Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com>
2660 * write.c (fixup_segment): Change "segment" to "section" in
2663 Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com>
2665 * write.c (fixup_segment): Change sym1-sym2 message again.
2667 Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com>
2669 * write.c (fixup_segment): Improve error message for sym1-sym2
2670 errors when sym1 is in a different segment from sym2.
2672 Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
2674 * config/tc-m32r.c (warn_unmatched_high): New static local.
2675 (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
2676 (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
2677 (md_longopts): Recognize --{no-,}warn-unmatched-high.
2678 (md_parse_option): Likewise.
2679 (md_show_usage): Likewise.
2680 (m32r_frob_file): Likewise.
2682 * read.c (generate_file_debug,generate_lineno_debug): New functions.
2683 (read_a_source_file): Call them.
2684 * read.h (stabs_generate_asm_file): Declare.
2685 * stabs.c (stabs_generate_asm_file): New function.
2686 (generate_asm_file): New function.
2687 (stabs_generate_asm_lineno): Move file name handling into
2690 Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
2692 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
2693 (d30v_current_align, d30v_current_align_seg): New variables.
2694 (d30v_last_label): New variable.
2695 (d30v_align, s_d30v_align, s_d30v_text): New functions.
2696 (s_d30v_data, s_d30v_section): Likewise.
2697 (md_pseudo_table): Call them.
2698 (md_begin): Initialize d30v_current_align_seg.
2699 (md_assemble): Call d30v_align when needed by known current alignment.
2700 (d30v_frob_label, d30v_cons_align): New functions.
2701 * config/tc-d30v.h (md_do_align): Remove.
2702 (tc_frob_label): Call d30v_frob_label.
2703 (md_cons_align): New.
2705 * config/tc-d30v.c (find_format): Convert complex expressions to
2706 expression symbols before processing. Clean up code formatting.
2708 Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com)
2710 * po/Make-in (install-info): New target.
2712 Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com)
2714 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
2716 * config/tc-mn10300.c (md_assemble): Likewise.
2718 Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com>
2720 * Makefile.am: Update with `make dep-am'.
2721 (HFILES): Add cgen.h.
2722 (cgen.o): Depend on cgen.h.
2723 * Makefile.in: Regenerate.
2725 * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
2727 Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
2729 * gasp.c (grab_label): Permit a label to be a preprocessor
2730 variable by permitting a label to start with a backslash.
2732 Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
2734 * config/tc-mips.c (validate_mips_insn): Removed hack
2735 for previously inaccessible bitfields in some INSN_TRAP
2738 Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com>
2740 * config/tc-d30v.c (do_assemble): Abort with error message
2741 if opcode operands do not match.
2743 Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com>
2745 * config/tc-mips.c (macro_build, validate_mips_insn): Implement
2746 'q' operand format for 20-bit "break"/"sdbbp" instructions.
2747 (mips_ip): Truncate overflowed "break" 'c' operand. Implement
2748 similar new 'q' operand.
2750 Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com>
2752 * cgen.c (cgen_asm_finish_insn): Fix typo.
2754 Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com>
2757 * cgen.c: Include it.
2758 (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
2759 (cgen_asm_finish_insn): Result is now void. New arg `result'.
2760 All callers updated.
2761 * config/tc-m32r.c: Include cgen.h.
2762 (m23r_insn): New members num_fixups,fixups.
2764 Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com)
2766 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
2767 to avoid compiler warning.
2769 Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
2771 * makefile.vms: Run dec c with /nodebug. Pass CC value when
2774 * makefile.vms (OBJS): Add ehopt.obj
2776 Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
2778 * doc/c-vax.texi: Correct and extend vax/vms documentation.
2780 Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com>
2782 * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
2783 a short format insn.
2784 (md_assemble): Set it for explicitly packed insns.
2786 Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com>
2788 * config/obj-coff.c (c_symbol_merge): Do not take address of
2789 native fields when performing the memcpy.
2791 Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com>
2793 * config/tc-mips.c (macro,macro2): Implement
2794 M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
2796 Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2798 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
2799 relocations against globally visible symbols.
2800 * config/tc-m68k.c (relaxable_symbol): New macro.
2801 (m68k_ip, md_estimate_size_before_relax): Use it.
2802 (tc_m68k_fix_adjustable): Also handle weak symbols.
2804 Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com>
2806 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
2807 references to externally visible symbols.
2808 * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
2809 values in twice for a PC relative reloc if the symbol is
2812 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
2813 don't adjust a PC relative reloc against an externally visible
2815 * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
2816 for a PC relative fixup against an externally visible defined
2817 symbol, arrange to store object file and addend values as though
2818 the symbol were not defined.
2819 (tc_gen_reloc): Likewise.
2821 Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com>
2823 * read.c (sizeof_leb128): Referenced externally by write.c so
2826 Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com>
2828 * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
2829 and expand a 'debug' symbol associated with the next instruction
2830 that does not cause a short instruction to be filled with a NOP.
2831 (md_pseudo_table): Add support for .debugsym.
2832 (assemble_parallel_insn): Add calls to expand_debug_sym as
2834 (md_assemble): Ditto.
2836 Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
2838 * as.c (main): Conditionally call setlocale.
2839 * gasp.c (main): Likewise.
2840 * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
2841 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
2843 Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
2845 * config/tc-d30v.c (md_show_usage): Correct gettext typo.
2847 Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com>
2849 * config/tc-hppa.c: Change all calls to bzero to use memset.
2850 (pa_ip): Add cast to avoid warning.
2851 (tc_gen_reloc, md_apply_fix): Likewise.
2852 (pa_find_space_by_number): Likewise.
2853 (hppa_force_relocation): Likewise.
2854 (pa_block): Change i to unsigned int.
2855 * config/obj-som.h (obj_som_copyright): Declare.
2857 Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com>
2859 * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
2860 for line numbers for assembly source.
2862 Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com>
2864 * configure.in: Change version number to 2.9.4
2865 * configure: Rebuild.
2867 Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com>
2869 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
2871 Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com>
2873 * ecoff.h: Change symbolS in function declaration to struct
2876 Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com>
2878 * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
2879 (md_convert_frag): Fix i18n typo.
2881 Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com>
2883 * ecoff.c (ecoff_get_cur_proc_sym): New function.
2884 * ecoff.h: Protoype it.
2885 * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
2886 [EVAX] (s_alpha_prologue): Delete.
2887 (md_pseudo_table): Update.
2889 Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com>
2891 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
2892 array to local pointer.
2893 (get_args, parse_expr): Add casts to avoid warnings.
2895 Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
2897 * read.c (s_set): Cast xmalloc return value to fragS *.
2898 * config/tc-m68k.c (m68k_ip): Function made static to match
2899 previous forward declaration.
2900 (insert_reg, init_regtable, md_convert_frag_1): Likewise.
2902 Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com>
2904 * config/tc-v850.c: Add internationalisation macros to error
2907 * config/tc-m32r.c (can_make_parallel): Add internationalisation
2908 macros to error strings.
2910 Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com>
2912 * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
2913 reloc is in the TOC csect.
2914 (md_apply_fix3): Correct gettext typo.
2916 Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com>
2918 * config/tc-arm.c (find_real_start): Ignore symbols starting with
2919 .L - they are local labels and the branches are not really
2920 function calls but rather far jumps.
2922 Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com>
2924 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
2926 Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com>
2928 * config/tc-i386.c (md_assemble): Print operand number rather than
2929 using ordinal_names.
2930 (i386_operand): Likewise.
2932 Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com>
2934 * Makefile.am (INTLLIBS): Define to work around apparent automake
2936 All Makefiles: Regenerated.
2938 * Many files: Added gettext invocations around user-visible
2940 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
2941 HAVE_LC_MESSAGES): Define.
2942 * dep-in.sed: Added asintl.h.
2943 * po/Make-in: New file.
2944 * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
2946 * read.c (Z_): Renamed from `_'.
2947 * Makefile.am (SUBDIRS): Added po.
2948 (POTFILES): new macro.
2949 (po/POTFILES.in): New target.
2950 ($(OBJS)): Added asintl.h.
2952 (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
2953 (as_new_LDADD): Added $(INTLLIBS).
2954 (as_new_DEPENDENCIES): Added $(INTLDEPS).
2955 (gasp_new_LDADD): Added $(INTLLIBS).
2956 (gasp_new_DEPENDENCIES): New macro.
2957 * configure, aclocal.m4: Rebuilt.
2958 * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
2960 (ALL_LINGUAS): Define.
2961 * macro.c: Include "asintl.h".
2962 * as.c (main): Call setlocale, bindtextdomain, and textdomain.
2963 * as.h: Include "asintl.h".
2964 * config/tc-i386.c (ordinal_names): Removed.
2965 (md_assemble): Changed error text to avoid ordinal_names.
2966 (i386_operand): Likewise.
2967 (reloc): Added as_bad to avoid i18n problems.
2968 (tc_gen_reloc): Likewise.
2969 * config/tc-arm.c (bad_args): Now a #define.
2971 * config/obj-vms.c (VMS_stab_parse): Changed type of
2973 (global_symbol_directory): Unified strings to avoid i18n
2975 * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
2976 avoid i18n problems.
2977 * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
2978 * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
2980 * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
2982 * config/tc-v850.c (md_assemble): Changed C++ comment into C
2984 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
2986 * as.c (print_version_id): Added an fprintf to avoid i18n
2988 * cond.c (cond_finish_check): Added as_bad call to avoid i18n
2990 * expr.c (expr): Added as_warn call to avoid i18n problems.
2991 * messages.c (as_assert): Changed code to avoid i18n problems.
2992 (as_abort): Likewise.
2993 * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
2994 (s_space): Likewise.
2995 * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
2997 Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2999 * config/tc-i386.c (check_prefix): New static function, split out
3001 (struct _i386_insn): Add wait_prefix field.
3002 (md_assemble): Remove wait_prefix local variable. Use
3003 check_prefix when adding a prefix.
3005 * config/tc-i386.c (current_templates): New static variable.
3006 (md_assemble): Remove current_templates local variable.
3007 (md_assemble, i386_operand): Improve error and warning messages in
3008 many places. Add RESTORE_END_STRING in many places before error
3009 return. Clarify some comments.
3011 * config/tc-i386.c (struct _i386_insn): Change seg field to a two
3013 (md_assemble): Parse string instruction operands, looking for
3014 segment override prefixes. Check for invalid segment prefixes on
3016 (i386_operand): i.seg[] and max mem_operand changes for string
3018 * config/tc-i386.h (EsSeg): Define.
3020 * config/tc-i386.h (regKludge): Define.
3021 (iclrKludge, imulKludge): Don't define.
3022 * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
3023 code. Move ReverseRegRegmem fudges into Modrm case. Reorder
3024 opcode_modifier checks to look for more common cases first. Add
3025 default_seg for IsString case.
3027 Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com>
3029 * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
3031 * configure: Rebuild with new automake and libtool.
3032 * aclocal.m4, Makefile.in: Likewise.
3034 * doc/Makefile.am (as.dvi): New target.
3035 * doc/Makefile.in: Rebuild.
3037 Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
3039 * configure.in: Added sparc86x support.
3041 * configure: Rebuild.
3043 * config/tc-sparc.c (lookup_arch): Added arch_type to struct
3045 (md_parse_option): Warn if -EL is not supported for this architecture.
3047 * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
3049 Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com)
3051 * config/tc-mips.c (mips_ip): Note when we use get match on
3052 the full instruction name.
3054 Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com>
3056 * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
3057 back into the expression to handle add/sub simplification correctly.
3059 Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
3061 * config/tc-mips.c (hilo_interlocks): Remove 4300.
3063 Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com>
3065 * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
3068 Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com>
3070 * symbols.c (max_indent_level): New global.
3071 (print_symbol_value_1): Use it.
3072 * expr.h (expr_build_dot): Declare.
3073 * expr.c (expr_build_dot): New function.
3075 Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com>
3077 * symbols.c (print_binary): New function.
3078 (print_expr_1): Call it.
3080 Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3082 * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
3083 operand in the opcode.
3085 Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3087 * config/tc-i386.h: Reorder operand flags and opcode modifier
3088 flags for clarity. Remove unused definitions: Unknown,
3089 ImmUnknown, DispUnknown, NoModrm.
3090 * config/tc-i386.c (type_names): Add missing Debug type.
3091 (md_assemble): Better duplicate prefix checking. Quicker string
3092 instruction check via new opcode_modifier flag.
3094 Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com>
3096 * doc/as.texinfo (Invoking): Clarify -Wa example.
3098 Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com>
3100 * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
3101 (s_mips_weakext): Define.
3102 * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
3103 * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
3106 Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com)
3108 * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
3109 is an error if the value can not be computed at assembly time.
3110 * config/tc-mn10300.c (tc_gen-reloc): Likewise.
3112 Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
3114 * gasp.c (main): Set next field of new include_path structure to
3115 NULL. From Avery Pennarun <averyp@gdc.ca>.
3117 * read.c (s_mri_sect): Call as_bad rather than abort for an
3118 unsupported MRI target.
3120 Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
3122 * config/tc-arm.c (arm_validate_fix): New function. Determine if
3123 the destination of a branch instruction should be altered.
3124 (find_real_start): New function: Locate the real, Thumb coded
3125 start of a Thumb function.
3126 (do_t_branch23): Alter the destination of branches to Thumb
3129 * config/tc-arm.h: Define TC_VALIDATE_FIX.
3131 Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com>
3133 * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
3136 Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3138 * doc/as.texinfo: Use @itemx for a secondary item in a table.
3139 * doc/c-hppa.texi: Likewise.
3141 Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com>
3143 * Makefile.am: Rebuild dependencies.
3144 * Makefile.in: Rebuild.
3146 * Makefile.am (DEP_INCLUDES): New variable.
3147 (.dep1): Change to work when srcdir is not an absolute path.
3148 (.tcdep, .objdep, .dep2, dep.sed): Likewise.
3149 * Makefile.in: Rebuild.
3151 Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com>
3153 * config/tc-i386.h, config/tc-i386.c: Revert March 24
3154 LinearAddress patch.
3156 * configure.in: Set version to 2.9.1.
3157 * configure: Rebuild.
3159 * Branched binutils 2.9.
3161 Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3163 * config/tc-i386.h (FWait): Define.
3164 * config/tc-i386.c (md_assemble): Emit fwait prefix before any
3165 other prefixes. Check FWait flag in opcode table to see which
3166 instructions require an fwait prefix.
3168 Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3170 * stabs.c (get_stab_string_offset): Always create a stab string
3173 Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com>
3175 Fix some gcc -Wall warnings:
3176 * atof-generic.c (atof_generic): Add casts to avoid warnings.
3177 * ehopt.c (eh_frame_code_alignment): Likewise.
3178 * expr.c (integer_constant, operand): Likewise.
3179 * frags.c (frag_align): Likewise.
3180 * gasp.c (level_0, change_base, doinstr): Likewise.
3181 * hash.c (hash_ask): Likewise.
3182 * listing.c (listing_page, calc_hex, print_lines): Likewise.
3183 (debugging_pseudo): Likewise.
3184 * macro.c (define_macro, check_macro): Likewise.
3185 * read.c (read_a_source_file, s_align, s_float_space): Likewise.
3186 (ignore_rest_of_line, float_cons): Likewise.
3187 * symbols.c (decode_local_label_name): Likewise.
3188 * write.c (record_alignment, cvs_frag_to_fill): Likewise.
3189 (fixup_segment, number_to_chars_bigendian): Likewise.
3190 (number_to_chars_littleendian): Likewise.
3191 * config/atof-ieee.c (gen_to_words): Likewise.
3192 * config/tc-sparc.c (md_begin, md_assemble): Likewise.
3193 (sparc_ip, parse_keyword_arg, s_common): Likewise.
3194 * read.c (output_big_sleb128): Initialize locals to avoid
3196 (output_big_uleb128, equals): Likewise.
3197 * atof-generic.c (atof_generic): Change number_of_digits_* locals
3198 to unsigned int. Change zeros to unsigned int.
3199 * cond.c (s_if): Add return to default case.
3200 * frags.c (frag_now_fix): Change return type to addressT.
3201 * frags.h (frag_now_fix): Update declaration.
3202 * listing.c (file_info_struct): Change linenum to unsigned int.
3203 (struct list_info_struct): Change hll_line to unsigned int.
3204 (print_source): Update format string.
3205 * read.c (emit_expr): Change scan to unsigned int, and don't
3206 bother to initialize it.
3207 * symbols.c (dollar_label_count): Change to unsigned long.
3208 * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
3209 * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
3210 * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
3212 Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com>
3214 * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
3215 mcf5200 just as we do for m68000.
3216 (m68k_init_after_args): Likewise.
3217 (md_estimate_size_before_relax): Likewise.
3219 Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com>
3221 * config/tc-v850.c (md_assemble): Store relocation addend in
3222 fixup instead of instruction.
3224 Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3226 * config/tc-i386.c (md_assemble): Swap template arguments to
3227 CONSISTENT_REGISTER_MATCH macro in reverse direction test.
3228 This macro is currently symmetric, so passing them the wrong
3229 way didn't cause any problem, but may if the macro is changed
3231 After copying template to i.tm, use i.tm. rather than t-> to
3232 access fields, and make t a const*
3233 Move i.tm.operand_types[] swap to immediately after the copy.
3235 Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com>
3237 * expr.h (expr_build_uconstant): Add prototype.
3238 (expr_build_unary,expr_build_binary): Add prototypes.
3239 * expr.c (expr_build_uconstant): New function.
3240 (expr_build_unary,expr_build_binary): New functions.
3242 Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3244 * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
3245 * macro.c (macro_expand_body): Increase buffer size.
3246 * messages.c (as_warn): Likewise.
3247 (as_warn_where, as_bad, as_bad_where): Likewise.
3249 Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com>
3251 Based on patch from H.J. Lu <hjl@gnu.org>:
3252 * Makefile.am (DISTSTUFF): New variable.
3253 (diststuff): New target.
3254 * Makefile.in: Rebuild.
3256 Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com>
3258 * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
3259 m32r_elf_section_change_hook.
3261 * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
3262 emit a nop if a section ends with a 16 bit instruction.
3264 Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com>
3266 * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
3267 s_lcomm rather than obj_coff_lcomm.
3268 (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
3270 Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
3272 * config/tc-i386.h (LinearAddress): Define.
3273 * config/tc-i386.c (md_assemble): If LinearAddress is set for the
3274 instruction, don't use a default segment.
3276 Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
3278 * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
3279 * configure: Rebuild.
3281 Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com>
3283 * aclocal.m4, configure: Rebuild with libtool 1.2.
3285 Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com>
3287 * config/tc-arm.c (md_apply_fix3): fix code to test the range of
3288 PC relative branches. Patch courtesy of Jonathan Walton.
3291 Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com>
3293 * configure.in (emulations): Add thumb-pe target.
3295 * configure (emulations): Add thumb-pe target.
3297 1998-03-17 Ken Raeburn <raeburn@cygnus.com>
3299 * itbl-lex.l (yywrap): Don't define if already defined as a
3302 Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com>
3304 * depend.c (quote_string_for_make): New function.
3305 (wrap_output): Use it.
3307 Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com>
3309 * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
3310 structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
3312 Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com>
3314 * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
3315 Recognize -GN and -relax.
3316 (md_begin): Initialize gp size from -G switch.
3317 (alpha_force_relocation): Always force if -relax.
3318 (alpha_align): Take a new argument that will specify when to
3319 emit an R_ALPHA_ALIGN relocation (though we don't do that now).
3320 Change all callers. Emit nop alignment padding as nop+unop pair.
3322 Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com>
3324 * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
3325 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
3327 Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com>
3329 * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
3330 require padding to the next long word boundary.
3332 Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com>
3334 * cgen.c: #include symcat.h.
3335 * config/tc-m32r.c: Likewise.
3337 Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com)
3339 * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
3340 absolute expressions instead of '$' prefixed register names.
3342 Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com>
3344 * read.c (s_set): Record file and line info for symbols when -as.
3345 (pseudo_set): Don't overwrite that dummy fragment.
3347 Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com>
3349 * config/tc-ppc.c (md_pseudo_table): Add "section".
3350 (ppc_named_section): New static function.
3352 Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com>
3354 * tc-ppc.c (ppc_biei): Cache the last symbol we inserted
3355 so we don't have to scan the entire list.
3357 Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com>
3359 * config/tc-d30v.c (parallel_ok): For the explicitly parallel
3360 case, allow the parallel instructions to modify the same flag
3363 Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com>
3365 * listing.c (list_symbol_table): Categorize symbols by
3366 undefined_section rather than sy_frag->line == NULL.
3368 Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
3370 * Makefile.am (install-exec-local): Install properly when ln
3371 fails or tooldir == prefix.
3373 Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com>
3375 * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
3376 Test result of insert_operand for error.
3378 Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
3380 * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
3381 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
3382 * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
3383 * doc/Makefile.in: Rebuild.
3385 Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com>
3387 * config/tc-mips.c (macro_build): Handle operand type 'C'.
3388 (macro): Fix handling of M_COP[0-3].
3390 Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com>
3392 Based on patches from Ross Harvey <ross@teraflop.com>:
3393 * macro.c (ISSEP): Only treat '<' and '>' as separator characters
3394 if macro_alternate or macro_mri.
3395 (getstring): Remove support for byte constants between < and >.
3396 (get_any_string): '<' only starts a string if macro_alternate or
3398 (macro_expand_body): Permit keyword parameters following
3399 positional parameters.
3401 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
3402 * configure.in (alpha*-*-netbsd*): New target.
3403 * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
3404 * configure: Rebuild.
3406 * as.h (flag_warn_suppress_instructionswap): Move from here...
3407 * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
3408 here, and make static.
3410 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
3411 BFD_ASSEMBLER or MANY_SEGMENTS.
3413 * as.c (show_usage): Update bug-gnu-utils address.
3414 * gasp.c (show_usage): Likewise.
3415 * doc/as.texinfo (Bug Reporting): Likewise.
3417 Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com)
3419 * config/tc-mips.c (load_address): Don't use mips III or mips IV
3420 insns regardless of the size of a pointer if we're in mips I or
3422 (macro, macro2, s_cprestore, s_cpadd): Likewise.
3424 Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3426 Fix rac to accept only a0:
3427 * tc-d10v.c (parallel_ok, find_opcode):
3428 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
3429 Introduce OPERAND_GPR.
3431 Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com>
3433 * read.c (s_fill): Handle non-constant repeat counts by creating
3434 an rs_space fragment.
3436 Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
3438 * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
3439 from as_bad to as_warn.
3441 Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com>
3443 * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
3444 * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
3445 * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
3447 Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com>
3449 * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
3450 seg_fix_rotP rather than fix_root from seg_info.
3452 Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com>
3454 * expr.c: Add support for 0x1_2_3_4 bignums.
3456 Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
3458 * configure.in: Change -linux* to -linux-gnu*.
3459 * configure: Rebuild.
3461 * app.c (do_scrub_begin): Treat \r as whitespace.
3463 Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
3465 * Makefile.am: Update dependencies.
3466 * Makefile.in: Rebuild.
3468 Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
3470 * configure, aclocal.m4: Rebuild with new libtool.
3472 Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com)
3474 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
3475 the argument to bfd_set_arch_mach.
3476 (load_address): Use bfd_arch_bits_per_address to determine the
3477 bit size of an address instead of looking at the isa level.
3478 (macro, macro2, s_cprestore, s_cpadd): Likewise.
3480 Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com>
3482 * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
3484 Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com>
3486 * ehopt.c: New file.
3487 * as.h (enum _relax_state): Add rs_cfa.
3488 (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
3489 (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
3490 * read.c (emit_expr): Call check_eh_frame.
3491 * write.c (cvt_frag_to_fill): Handle rs_cfa.
3492 (relax_segment): Likewise.
3493 * Makefile.am: Rebuild dependencies.
3494 (GAS_CFILES): Add ehopt.c.
3495 (GENERIC_OBJS): Add ehopt.o.
3496 * doc/internals.texi (Frags): Document rs_cfa.
3498 * as.c (show_usage): Mention --traditional-format.
3499 (parse_args): Accept --traditional-format.
3500 * as.h (flag_traditional_format): Declare.
3501 * output-file.c (output_file_create): If flag_traditional_format,
3502 set BFD_TRADITIONAL_FORMAT on stdoutput.
3503 * doc/as.texinfo, doc/as.1: Document --traditional-format.
3505 * config/tc-mips.c (append_insn): Make sure that if we have a
3506 fixup for an unmatched %hi reloc, it does not associated with a
3509 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
3510 * doc/Makefile.in: Likewise.
3512 Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com>
3514 * config/tc-m32r.c (check_for_side_effects): New function.
3515 (can_make_parallel): Add checks for instruction side effects
3516 clashing with the other instruction.
3517 (assemble_parallel_insn): Improve warning messages. Return error
3518 message from non-swapped instruction order.
3520 Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk>
3522 * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
3524 * config/tc-arm.h: Replace md_after_pass_hook definition with a
3525 md_cleanup definition. This moves the forced literal output to
3526 the end of the source pass, and avoids macro's inserting literals
3527 into the code immediately after the macro expansion.
3529 Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com>
3531 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
3532 a gas internal symbol is adjustable.
3533 * config/tc-ppc.h (tc_fix_adjustable): Likewise.
3535 * as.h: If gcc version greater than 2.6, use `__format__' and
3536 `__printf__' in function attributes, rather than `format' and
3539 Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
3541 * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
3543 Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
3545 Add tms320c30 support:
3546 * config/tc-tic30.h: New file.
3547 * config/tc-tic30.c: New file.
3548 * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
3549 TARGET_FORMAT as "coff-tic30".
3550 * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
3551 * Makefile.am: Rebuild dependencies.
3552 (CPU_TYPES): Add tic30.
3553 (CPU_OBJ_VALID): tic30-aout is valid.
3554 (TARGET_CPU_CFILES): Add config/tc-tic30.c.
3555 (TARGET_CPU_HFILES): Add config/tc-tic30.h.
3556 * configure, Makefile.in: Rebuild.
3558 Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
3560 * config/tc-v850.c (md_assemble): Improvements to error messages.
3562 Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
3564 * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
3565 BFD_RELOC_HI16_S to store the high bits of any value.
3567 * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
3568 (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
3569 assembler calculate relocations to any external symbol at all.
3570 * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
3571 involving generation of pc-relative relocs.
3572 (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
3573 has been moved to md_apply_fix3.
3575 * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
3576 (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
3577 which actually means (the address of identifier's GOT entry) +
3578 constant, which is not particularly useful.
3580 Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com>
3582 * read.h (include_dirs): Declare.
3583 (include_dir_count,include_dir_maxlen): Declare.
3585 Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com>
3587 * configure.in: Correct check for shared opcodes library.
3588 * configure: Rebuild.
3590 * listing.c (buffer_line): If we can't open the file, set at_end.
3591 (listing_print): Remove unused local variable fi.
3593 * config/m68k-parse.y (reglistpair): Handle register list in
3596 * config/vms-conf.h: Don't undef VERSION.
3598 Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
3600 * Makefile.am (CONFIG_OBJS): New variable, containing part of old
3602 (GENERIC_OBJS): New variable, with the rest of the old OBJS
3604 (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
3605 ($(srcdir)/make-gas.com): Rename from make-gas.com.
3606 (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
3607 (EXTRA_DIST): Define.
3608 * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
3609 explicitly rather than via the list of object files.
3610 (gcc-as.opt): New file created when make-gas.com is run.
3611 * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
3612 itbl-cpu.h} to #include appropriate file rather than copying that
3614 * config/vms-conf.h: Synchronize with current config.in.
3615 * Makefile.in: Rebuild.
3617 Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com>
3619 * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
3620 (parallel_ok): Relaxed parallel subinstruction dependency check.
3622 Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
3624 * as.h (flag_warn_suppress_instructionswap): added new flag.
3625 * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
3626 command line argument.
3627 * tc-d10v.c (write_2_short): emit "Swapping instructions"
3628 warning only if flag_warn_suppress_instructionswap is false.
3630 Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
3632 * configure.in (i386-*-mingw32*): New target.
3633 * configure: Rebuild.
3635 Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com>
3637 * symbols.c (resolve_symbol_value): Don't set the segment if it
3638 hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
3640 * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
3643 Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
3645 as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
3646 depends upon HAVE_{UNLINK,REMOVE} values rather than host
3649 Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
3651 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
3653 Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com>
3655 * config/tc-v850.c (v850_insert_operand): Display instruction when
3656 an error is encountered.
3658 Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
3660 * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
3661 (i386-*-sco3.2v5*coff): New target.
3662 (i386-*-sco3.2*): New target.
3663 * configure: Rebuild.
3665 Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com>
3667 * config/tc-v850.c: Tidy error message production.
3669 Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com>
3671 * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
3672 validate_immediate return value in the right type for comparisons
3675 Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com>
3677 * listing.c (MAX_BYTES): Use listing variables not constants.
3678 (data_buffer): No longer an array, but a pointer.
3679 (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
3680 (listing_listing): Allocate data_buffer.
3682 Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com>
3684 * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
3685 --listing-rhs-width, --listing-cont-lines.
3686 (show_usage): Update.
3687 * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
3688 (listing_lhs_cont_lines, listing_rhs_width): New vars.
3689 (print_lines): Use the variables instead of the constants.
3690 (listing_listing): Likewise.
3691 * listing.h: Declare the new vars.
3693 Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com>
3695 * as.c (parse_args): Add --keep-locals alias for -L.
3696 Add --strip-local-absolute.
3697 (show_usage): Update.
3698 * as.h (flag_strip_local_absolute): New flag.
3699 * symbols.c (S_IS_LOCAL): Use it.
3700 * config/obj-aout.h (S_IS_LOCAL): Likewise.
3701 * config/obj-bout.h (S_IS_LOCAL): Likewise.
3702 * config/obj-coff.h (S_IS_LOCAL): Likewise.
3704 Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com>
3706 * config/tc-m32r.c: Detect if explicitly parallel instructions
3707 might have an io conflict and issue a warning message.
3709 Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com>
3711 * cgen.c (cgen_save_fixups, cgen_restore_fixups,
3712 cgen_swap_fixups): Functions to save, restore and swap the fixup
3713 chain with a backup copy.
3714 (cgen_asm_finish_insn): Returns address of constructed insn.
3716 Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com>
3718 * listing.c (file_info_struct): Remove FILE, add POS.
3719 (last_open_file_info, last_open_file): New; a one entry FILE* cache.
3720 (file_info): Don't open the file.
3721 (buffer_line): Check for the file in the last_open cache, updating
3723 (print_source): Don't reference file_info->file.
3724 (listing_listing): Likewise.
3725 (listing_print): Close the file in the cache, if any.
3727 Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com>
3729 * read.c (dwarf_file_string): New file static variable.
3730 (emit_expr): Look for constant sequence that leads up to a file
3731 name in DWARF debugging output.
3732 (stringer): Use dwarf_file_string to decide whether to accept a
3733 string as a file name.
3735 Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com>
3737 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
3738 (crack_operand): Add reg->reglst MRI hack.
3739 (r_seg): Put reglst symbols in reg_section.
3740 (m68k_frob_symbol): Frob reglst symbols into absolute_section.
3742 Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com>
3744 * tc-sh.c (get_specific): Handle SGR & DBR.
3746 Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com>
3748 * tc-h8300.c (parse_reg): Take the length of the symbol into
3749 account when attempting to match a register name.
3750 * tc-h8500.c (parse_reg): Likewise.
3752 Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com>
3754 * cgen.c: Formatting changes to improve readability.
3756 Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com)
3758 * config/tc-mips.c (macro): Rework division code to avoid unfilled
3761 Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com>
3763 Based on a patch from Jim Wilson
3764 * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
3765 (tc_gen_reloc): Handle cross section PC relative relocs
3768 Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
3770 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
3772 Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
3774 * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
3775 (expr_jmp_buf): New static local.
3776 (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
3777 (cgen_md_operand): New function.
3778 * tc-m32r.c: Clean up pass over `struct foo' usage.
3779 (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
3781 Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com>
3783 * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
3784 (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
3786 Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com>
3788 * config/tc-i386.c (i386_operand): Give an error if there are
3789 unrecognized characters after an expression.
3791 For older changes see ChangeLog-9697