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