2001-06-14 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
0b317b08
PB
12001-06-13 Philip Blundell <philb@gnu.org>
2
3 * config/tc-arm.c (thumb_shift): Improve wording of error message.
4 (do_t_arit): Likewise.
5
07a7a145
NC
62001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
7
2bc0a128
NC
8 * config/tc-sh.c (md_pseudo_table): Only intercept the .file and
9 .loc pseudos if the dfwarf2 functions are available.
10 (md_assemble): Only call dwarf2_emit_insn if it is available.
11
07a7a145
NC
12 * expr.c: Fix typo in comment.
13
b131d4dc
NC
142001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
15
16 * doc/as.texinfo (Infix Ops): Document that comparison and
17 combiner operators can be used as infix operators.
18
e1f44d10
NC
192001-06-12 Peter Jakubek <pjak@snafu.de>
20
21 * gas/config/tc-m68k.c (parse_mri_control_operand): Fix handling
22 of AND/OR.
23 (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
24 (reverse_mri_condition): Likewise.
25 (swap_mri_condition): Issue warning for conditions that can not be
26 swapped.
27 (build_mri_control_operand): Fix order of operands (swapped).
28 (build_mri_control_operand): Allow upper case extension in structured
29 control directives.
30 (s_mri_else): Likewise.
31 (s_mri_next): Likewise.
32 (s_mri_for): Likewise.
33 (s_mri_if): Fix handling comment ('*') in mri mode.
34 (s_mri_while): Likewise.
35 * gas/macro.c (macro_expand): Allow macro invocation with empty
36 extension.
37
3971ce95
NC
382001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
39
40 * config/tc-arm.c: Fix test for overlow of literal pool.
41
63486801
L
422001-06-11 H.J. Lu <hjl@gnu.org>
43
44 * NEWS: Updated for the new -n option for the MIPS assembler.
45
46 * config/tc-mips.c (md_show_usage): Add -n.
47
48 * doc/as.texinfo: Document the new -n option.
49 * doc/c-mips.texi: Likewise.
50 * doc/as.1: Regenerated.
51
5dd0794d
AM
522001-06-10 Alan Modra <amodra@bigpond.net.au>
53
54 * config/obj-coff.c (obj_coff_section): Formatting fix.
55
56 * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and
57 ",pn".
58
39c0a331
L
592001-06-08 H.J. Lu <hjl@gnu.org>
60
61 * config/tc-mips.c (warn_nops): New variable. Set to 0 to
62 disable warning about all NOPS that the assembler generates.
63 (macro): Warn NOPS generated only if warn_nops is not 0.
64 (md_shortopts): Add `n'.
65 (md_parse_option): Set warn_nops to 1 for `n'.
66
268f6bed
L
672001-06-08 H.J. Lu <hjl@gnu.org>
68
69 * config/tc-mips.c (mips_ip): Properly handle illegal operands.
70
ea4ff978
L
712001-06-08 H.J. Lu <hjl@gnu.org>
72
73 * config/tc-mips.c (md_apply_fix): Don't adjust common
74 extern/weak symbols for ELF.
75 (md_estimate_size_before_relax): Treat weak like extern for
76 ELF.
77 (mips_fix_adjustable): Don't adjust extern/weak symbols for
78 ELF.
79
98aa84af
AM
802001-06-08 Alan Modra <amodra@bigpond.net.au>
81
82 * Makefile.am: 'som' is not wrongly spelled 'some'.
83 * Makefile.in: Regenerate.
84
85 * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
86 S_GET_VALUE by using a temp.
c0037ab6 87 (append_insn): Likewise, and for S_SET_VALUE too.
98aa84af
AM
88 (mips_emit_delays): Likewise.
89 (my_getExpression): Likewise.
90 (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
91 (mips16_extended_frag): Remove code concerned with avoiding
92 locking in a frag address now that symbols are not finalized until
93 relaxation is complete. Cater for first relaxation pass having
94 bogus addresses. Use relax_marker to reliably determine whether a
95 symbol frag has been reached on the current pass.
96
f85f789b
L
972001-06-07 H.J. Lu <hjl@gnu.org>
98
99 * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
100 * configure: Regenerate.
101
df3bcd6f
L
1022001-06-07 H.J. Lu <hjl@gnu.org>
103
104 * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
105 ecoff emulation.
106 * configure: Regenerate.
107
add56521
L
1082001-06-07 H.J. Lu <hjl@gnu.org>
109
110 * config/tc-mips.c (mips_pseudo_table): Add "extern" if
111 MIPS_STABS_ELF is defined.
112
6da13e9a
NC
1132001-06-06 Nick Clifton <nickc@cambridge.redhat.com>
114
115 * as.c (show_usage): Remove L from listing options. It is not a
116 generic option.
117
879db8be
NC
1182001-06-06 Christian Groessler <cpg@aladdin.de>
119
c0037ab6 120 * config/tc-z8k.c: Removed many warnings by removing unused
879db8be
NC
121 variables and tagging unused parameters as such.
122 (md_begin): Fixed a typo (","instead of ";").
123 (struct ctrl_table): Add parentheses to initialize array
124 correctly.
125 (struct flag_table): Likewise.
126 (struct intr_table): Likewise.
127 (struct table): Likewise.
128 (check_operand): "#if 0"'ed since it doesn't seem to be used.
129
98b32482
NC
1302001-06-06 Peter Jakubek <pjak@snafu.de>
131
132 * gas/config/tc-m68k.c (md_show_usage): Add all supported ColdFire
133 options to list (e.g. m5206e, m5307, m5407).
134
6e139bf0
AM
1352001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
136
137 * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
138 BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
139
cb9401fc
AM
1402001-06-06 Alan Modra <amodra@bigpond.net.au>
141
142 * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
143 <JumpByte, JumpDword insn output>: Remove dead code.
144
3c5cdb54
AM
1452001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
146
147 * as.c (parse_args): Correct option name "listing-lhs-width2".
148
92ed29ef
NC
1492001-06-05 Nick Clifton <nickc@cambridge.redhat.com>
150
151 * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's
152 status.
153
371b7465
RH
1542001-05-30 Richard Henderson <rth@redhat.com>
155
156 * read.c (emit_leb128_expr): Call md_cons_align.
157
0f2712ed
NC
1582001-05-28 Jeff Sturm <jsturm@one-point.com>
159
160 * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16,
161 BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64.
162 (tc_gen_reloc): Likewise.
163 (sparc_cons_align): Don't clear sparc_no_align_cons.
c0037ab6 164 (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for
0f2712ed
NC
165 BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set.
166
fbe572f9
AM
1672001-05-27 Alan Modra <amodra@one.net.au>
168
9e40345d
AM
169 * write.c (relax_segment <rs_space>): Check the section of a
170 symbol to determine whether it is absolute rather than comparing
171 its frag against zero_address_frag as listings play tricks with
172 frags.
173
fbe572f9
AM
174 * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
175 allocated in the same chunk as the fixed part.
176
54d3cad9
AM
1772001-05-26 Alan Modra <amodra@one.net.au>
178
179 * write.c (relax_segment <rs_space>): Calculate growth using
180 addresses before stretch. Prevent repeated error messages.
181 From Peter Jakubek <pjak@snafu.de>
182 Use as_bad_where and as_warn_where to pinpoint errors.
183
766c03c9
AM
1842001-05-25 Alan Modra <amodra@one.net.au>
185
05bdb37e
AM
186 * symbols.c (resolve_symbol_value): Always set segment, even when
187 not finalizing symbol value.
188
1cd55018
AM
189 * config/obj-ieee.c (write_object_file): Set finalize_syms.
190 * config/obj-coff.c (write_object_file): Likewise.
191 * (size_section): Remove rs_space assert as fr_symbol is no longer
192 removed.
193 (fill_section): Likewise.
194
c709b096
AM
195 * configure.in: Replace linuxoldld with linux*oldld.
196 * configure: Regenerate.
197
b58c9faf
AM
198 From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
199 * config/tc-i386.c (md_convert_frag): Don't die on local symbols
200 that have been finalized.
201
c89c8534
AM
202 * symbols.c (resolve_symbol_value): Clear sy_resolving before
203 taking exit_dont_set_value.
204
54d3cad9
AM
205 * write.c (relax_segment <rs_space>): Don't zap fr_symbol when
206 relaxing.
766c03c9 207
6877bb43
TR
2082000-05-24 Tom Rix <trix@redhat.com>
209
5dd0794d 210 * config/obj-coff.c (add_lineno): xcoff allows negative line
6877bb43 211 numbers
5dd0794d 212 * config/tc-ppc.c (ppc_stabx): fix generated symbol
c0037ab6 213
e027f3e8
AM
2142001-05-24 Alan Modra <amodra@one.net.au>
215
216 * write.c (write_object_file): Set finalize_syms = 1 before
217 size_seg is called.
218
d1cf510e
NC
2192001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
220
221 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit
222 architecture, remove erraneous ISA_MIPS32.
223 (md_show_usage): Add MIPS r12k support.
224 (mips_cpu_info_table): Add MIPS r12k support.
c0037ab6 225
507c8a1a
AM
2262001-05-22 Alan Modra <amodra@one.net.au>
227
2d0441d9
AM
228 * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
229 testing for NULs.
230
6386f3a7
AM
231 * symbols.c (resolve_symbol_value): Remove "finalize" param,
232 instead use finalize_syms directly. Don't treat expressions
233 specially with regard to finalize_syms. Update calls to self.
234 (resolve_local_symbol): Update call to resolve_symbol_value.
235 (S_GET_VALUE): Likewise. Return resolve_symbol_value if
236 !finalize_syms.
237 * symbols.h (resolve_symbol_value): Update prototype.
238 * config/obj-aout.c (obj_crawl_symbol_chain): Update call
239 to resolve_symbol_value.
240 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
241 * config/obj-coff.c (do_relocs_for): Likewise.
242 (yank_symbols): Likewise.
243 (fixup_segment): Likewise.
244 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
245 * config/tc-mips.c (md_convert_frag): Likewise.
246 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
247 (ppc_fix_adjustable): Likewise.
248 * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
249 (dwarf2dbg_convert_frag): Likewise.
250 * ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
251 (eh_frame_convert_frag): Likewise.
252 * expr.c (make_expr_symbol): Likewise.
253 * write.c (adjust_reloc_syms): Likewise.
254 (write_object_file): Likewise.
255 (relax_segment): Likewise.
256 (fixup_segment): Likewise.
257 (finalize_syms): Init to zero, and update comment.
258 (write_object_file): Set finalize_syms to 1 rather than 2.
259 * doc/internals.texi (sy_value): Mention finalize_syms.
260 (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
261
c801568a
AM
262 * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
263 as relaxable if embedded system, make weak syms non-relaxable.
264 Move definition..
265 (tc_m68k_fix_adjustable): ..so it can be used here.
266 (md_apply_fix_2): Sign extend without conditional.
267
507c8a1a
AM
268 * config/tc-v850.c: Update copyright.
269
aaa4f6d9
JJ
2702001-05-16 Jeff Johnston <jjohnstn@redhat.com>
271
c0037ab6
AM
272 * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
273 howto entry is not found.
aaa4f6d9 274
7e8f4100
AO
2752001-05-15 Alexandre Oliva <aoliva@redhat.com>
276
277 * config/tc-mn10300.c (mn10300_force_relocation): Don't
278 optimize differences between symbols in code sections to
279 constants.
280 (mn10300_fix_adjustable): Don't adjust to section+offset
281 relocations pointing at symbols in code sections.
282
9fcc94b6
AM
2832001-05-16 Alan Modra <amodra@one.net.au>
284
285 * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param
286 for 8 byte insns.
287 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before
288 opcodes are output rather than after. Delete insn_size.
289 * config/tc-v850.c (md_assemble): Similarly, but delete
290 total_insn_size.
291
de1cb007
RH
2922001-05-14 Richard Henderson <rth@redhat.com>
293
294 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
295 last change.
296
67a659f6
RH
2972001-05-14 Richard Henderson <rth@redhat.com>
298
299 * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
300 also collect whether to expect an FDE augmentation.
301 (check_eh_frame): Rewrite as a state machine. Track where in
302 an FDE we are located, skip any augmentation.
303 (eh_frame_estimate_size_before_relax): Get code alignment from
304 the fragment subtype.
305 (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
306 * read.c (emit_leb128_expr): Call check_eh_frame.
307
076dc439
AO
3082001-05-14 Alexandre Oliva <aoliva@redhat.com>
309
310 * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
311 before a relaxable insns.
312
4e75439a
AO
3132001-05-13 Alexandre Oliva <aoliva@redhat.com>
314
315 * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
316 between symbols if the base symbol is in the current section;
317 emit a PC-relative relocation instead.
318
bcee8eb8
AM
3192001-05-12 Peter Targett <peter.targett@arccores.com>
320
321 * config/tc-arc.c: Update copyright and tidy source comments.
322 (md_pseudo_table): Add directive .cpu back as an alias for
323 .option. Add .file and .line for dwarf2 support.
324 (arc_mach_type): Make bfd_mach_arc_6 default.
325 (md_longopts): Add entry 'pre-v6' representing old command line
326 option when assembling for 'arc5' core versions.
327 (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new
328 default behaviour.
329 (arc_code_symbol): Make symbol value for @h30 fixup expression
330 equal to O_constant.
331 (md_assemble): Call dwarf2_emit_insn.
332 Include "dwarf2dbg2.h". Formatting fixes throughout file.
333 * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
bcee8eb8
AM
334 * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default.
335
579f31ac
JJ
3362001-05-11 Jakub Jelinek <jakub@redhat.com>
337
338 * config/tc-ia64.c (special_linkonce_name): New.
339 (make_unw_section): Map .gnu.linkonce.t.FOO text section into
340 .gnu.linkonce.ia64unw{,i}.FOO.
341 (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
342 (dot_endp): Add comment about it.
343
15f65ae4
NC
3442001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
345
c0037ab6 346 * config/tc-arm.c (arm_handle_align): When truncating an aligned
15f65ae4
NC
347 block, ensure that the low order bits of the alignment are
348 preserved.
349
606ab118
AM
3502001-05-10 Alan Modra <amodra@one.net.au>
351
352 * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of
353 symbol_next.
354
355 * config/tc-fr30.c (md_estimate_size_before_relax): Return size of
356 current variable part of frag.
357 * config/tc-m32r.c (md_estimate_size_before_relax): Likewise.
358 * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise.
359 * config/tc-m68hc11.c (RELAX_STATE): Define.
360 (RELAX_LENGTH): Define.
361 (md_estimate_size_before_relax): Handle non-relaxable cases
362 separately from relaxable cases for clarity, and return correct
363 size for multi-pass relaxation.
364 * config/tc-tahoe.c (RELAX_LENGTH): Correct.
365 (md_estimate_size_before_relax): As for tc-m68hc11.c.
366 (md_convert_frag): Remove "length_code".
367 * config/tc-vax.c (RELAX_STATE): Define.
368 (RELAX_LENGTH): Define.
369 (md_relax_table): Add missing entry.
370 (md_estimate_size_before_relax): As for tc-m68hc11.c.
371 (md_convert_frag): Remove "length_code".
372 * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and
373 don't bother setting fr_var. Return correct size for multi-pass
374 relaxation.
375 * config/tc-v850.c (md_estimate_size_before_relax): Rewrite.
376 (md_convert_frag): Don't bother clearing fr_var.
377 (md_pseudo_table): Correct initialization.
378 * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var.
379 (md_estimate_size_before_relax): No need to set fr_var.
380 * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var.
381 (md_estimate_size_before_relax): No need to set fr_var.
382
1f23ade4
RH
3832001-05-09 Richard Henderson <rth@redhat.com>
384
385 * config/tc-ia64.c (generate_unwind_image): Align the fragment
386 beginning a function's unwind info block.
387
96f37af6
AO
3882001-05-09 Alexandre Oliva <aoliva@redhat.com>
389
390 * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
391
8390138c
AS
3922001-05-08 Andreas Schwab <schwab@suse.de>
393
394 * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
395 fx_pcrel_adjust explicitly sign extend when reading it.
396
5c65dbc1
AM
3972001-05-08 Alan Modra <amodra@one.net.au>
398
399 * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
400 from md_relax_table, and combine some switch cases.
401
a7c92dae
AO
4022001-05-06 Alexandre Oliva <aoliva@redhat.com>
403
404 * config/tc-mn10300.c (md_assemble): Subtract operand->shift
405 from offset in non-pcrel operands too.
406
d8708f40
NC
4072001-05-06 Nick Clifton <nickc@cambridge.redhat.com>
408
409 * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
410 * config/tc-arm.c (arm_handle_align): Do not insert more than
411 MAX_MEM_FOR_RS_ALIGN_CODE bytes.
412 (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE.
413
3438adb3
AM
4142001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
415
416 * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h.
417 Run "make dep-am".
418 * Makefile.in: Regenerate.
419 * configure.in: Remove duplicate mips-*-ecoff* entry.
420 * configure: Regenerate.
421
422 * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry.
423 (n_names): Cast away type mismatch.
424 (ecoff_sec_sym_ok_for_reloc): Add unused attribute.
425 (obj_ecoff_frob_symbol): Likewise.
426 * ecoff.c: (add_file): Add unused attribute.
427 (ecoff_directive_begin): Likewise.
428 (ecoff_directive_bend): Likewise.
429 (ecoff_directive_def): Likewise.
430 (ecoff_directive_dim): Likewise.
431 (ecoff_directive_scl): Likewise.
432 (ecoff_directive_size): Likewise.
433 (ecoff_directive_type): Likewise.
434 (ecoff_directive_tag): Likewise.
435 (ecoff_directive_val): Likewise.
436 (ecoff_directive_endef): Likewise.
437 (ecoff_directive_end): Likewise.
438 (ecoff_directive_ent): Likewise.
439 (ecoff_directive_extern): Likewise.
440 (ecoff_directive_file): Likewise.
441 (ecoff_directive_fmask): Likewise.
442 (ecoff_directive_frame): Likewise.
443 (ecoff_directive_mask): Likewise.
444 (ecoff_directive_loc): Likewise.
445 (mark_stabs): Likewise.
446 (ecoff_stab): Likewise.
447 (ecoff_frob_symbol): Cast away type mismatch.
448 (ecoff_padding_adjust): Likewise.
449 (ecoff_build_symbols): Likewise.
450 (ecoff_build_procs): Likewise.
451 (ecoff_build_aux): Likewise.
452 (ecoff_build_strings): Likewise.
453 (ecoff_build_fdr): Likewise.
454 (ecoff_build_debug): Likewise.
455 * itbl-ops.c (itbl_assemble): Variable initialization.
456
636c26b0
AM
4572001-05-03 Alan Modra <amodra@one.net.au>
458
459 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
460 expressions rather than triggering an assert.
461
c7e40348
NC
4622001-05-02 Johan Rydberg <jrydberg@opencores.org>
463
3438adb3
AM
464 * config/tc-openrisc.c: New file.
465 * config/tc-openrisc.h: Likewise.
c7e40348 466
3438adb3
AM
467 * Makefile.am: Add OpenRISC target.
468 * Makefile.in: Regenerated.
c7e40348 469
3438adb3
AM
470 * configure.in (openrisc-*-*): Add target.
471 * configure: Regenerated.
c7e40348 472
5cb1517b
NC
4732001-05-02 Nick Clifton <nickc@cambridge.redhat.com>
474
475 * config/tc-arm.c (arm_frag_align_code): Change error message to
476 more explanatory version.
477
f4ddc5e6
L
4782001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
479
480 * config/tc-mips.c (md_parse_option): Also accept
481 elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
482
fa7fda74
L
4832001-04-27 David Mosberger <davidm@hpl.hp.com>
484
485 * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
486 argument passing order: predicate goes last, not first.
487
87748b32
NC
4882001-04-27 Sean McNeil <sean@mcneil.com>
489
490 * configure.in: Add arm-vxworks.
491 * configure: Regenerate.
492
16a0c2d4
NC
4932001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
494
495 * config/tc-arm.c (arm_handle_align): New Function: Generate
496 no-op filled alignment frags.
497 (arm_frag_align_code): New Function: Create a code alignment frag.
498 (arm_init_frag): New Function: Initialse the target dependent
499 parts of a frag.
500
501 * config/tc-arm.h (TC_FRAG_TYPE): Define.
502 (TC_FRAG_INIT): Define.
503 (HANDLE_ALIGN): Define.
504 (md_do_align): Define.
505
ea3b9044
NC
5062001-04-25 Nick Clifton <nickc@cambridge.redhat.com>
507
508 * config/obj-coff.c (do_linenos_for): Check to see if the filename
509 symbol has been initialised before extracting its symbol index.
510
d6d788bd
L
5112001-04-24 H.J. Lu <hjl@gnu.org>
512
513 * configure: Regenerated with the right version of autoconf.
514
6840198f
NC
5152001-04-24 Christian Groessler <cpg@aladdin.de>
516
517 * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now
518 generate R_CALLR and R_REL16 relocations
519
1c97d17b
JE
5202000-04-20 Jason Eckhardt <jle@redhat.com>
521
522 * config/tc-d10v.h (tc_frob_label): Update the symbol's frag
523 since frag_now can change after d10v_cleanup is called.
524
1c33f1da
DB
5252001-04-16 David O'Brien <obrien@FreeBSD.org>
526
527 * configure.in: Add the em type for FreeBSD targets.
528 * configure: Regenerate.
529
eb0dfd58
AO
5302001-04-14 Alexandre Oliva <aoliva@redhat.com>
531
8c5e1ccd
AO
532 * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
533 * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
534
eb0dfd58
AO
535 * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
536 pc-relative relocations not placed at the end of the instruction.
537
1deb8127
JW
5382001-04-13 Jim Wilson <wilson@redhat.com>
539
540 * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
541 excluding br.i.
542
f5fa8ca2
JJ
5432001-04-13 Jakub Jelinek <jakub@redhat.com>
544
545 * config/obj-elf.c (obj_elf_change_section): Add entsize argument,
546 handle SHF_MERGE and SHF_STRINGS.
547 (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
548 (obj_elf_section): Allow additional argument specifying entity size.
549 * write.c (adjust_reloc_syms): Keep relocations against local symbols
550 in SEC_MERGE sections.
551
fb81275c
JM
5522001-04-12 Jason Merrill <jason_merrill@redhat.com>
553
554 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
555
a8a22e33
AO
5562001-04-12 Alexandre Oliva <aoliva@redhat.com>
557
558 * expr.c (operand): Pass &c to md_parse_name().
559 * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
560
af9539e4
L
5612001-04-07 Steven J. Hill <sjhill@cotw.com>
562
563 * config/tc-mips.c: Support ELF64 for traditional MIPS targets.
564
565 * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
566 * Makefile.in: Regenerated.
567
568 * configure.in: Use traditional MIPS targets for Linux/MIPS.
569 * configure: Regenerated.
570
4dfea105
AO
5712001-04-06 Alexandre Oliva <aoliva@redhat.com>
572
573 * config/tc-mn10300.c (xr_registers): Added `pc'.
574
e66457fb
AM
5752001-04-05 Alan Modra <alan@linuxcare.com.au>
576
577 * configure.in: Add h8500-*-coff and h8500-*-rtems targets.
578 * configure: Regenerate.
579
580 * config/tc-h8500.c (md_estimate_size_before_relax): Add missing
581 cases, and always return size based on current fr_subtype.
582 (md_begin): Move initialization of md_relax_table..
583 (md_relax_table): ..to static initializer. Set rlx_length for
584 UNDEF_WORD_DISP cases.
585 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
586 (md_begin): Likewise.
587 (md_relax_table): Likewise.
588 * config/tc-mcore.c (md_estimate_size_before_relax): Likewise.
589 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
590 Set rlx_backward and rlx_forward to zero for unused states.
591 * config/tc-sh.c (md_estimate_size_before_relax): Likewise.
592 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
593 (UNCOND12, UNCOND32): Remove duplicate defines.
594
aacb5251
HPN
5952001-04-04 Hans-Peter Nilsson <hp@axis.com>
596
c335d394
HPN
597 * config/tc-cris.c (md_estimate_size_before_relax) <case
598 ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
599 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var.
600 <all cases>: Always set fragP->fr_var using md_cris_relax_table.
601 Add cases to cover all relax states.
ed67db7a
HPN
602 (cris_insn_first_word_frag): New.
603 (md_assemble): Call cris_insn_first_word_frag to get the first
604 frag in an insn, not frag_more. Don't call dwarf2_emit_insn at
605 end. Drop variable insn_size.
606 (gen_bdap): Call cris_insn_first_word_frag, not frag_more.
607 (cris_sym_leading_underscore): Wrap first as_bad parameter in _().
608 (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
c335d394 609
aacb5251
HPN
610 * write.c (write_object_file): Reset broken word state before
611 calling relax_seg.
612
cdbc6895
AM
6132001-03-31 Alan Modra <alan@linuxcare.com.au>
614
61b96bb4
AM
615 * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT
616 for one line if not already enabled.
617 * cond.c (s_elseif): Correct conditional assembly listing.
618 (s_else): Likewise.
619
cdbc6895
AM
620 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
621 Don't abort on NULL current_cframe.
622
93c2a809
AM
6232001-03-30 Alan Modra <alan@linuxcare.com.au>
624
0529cb87 625 * dwarf2dbg.c (dwarf2_directive_file): Fix warnings.
1a5447b8
AM
626 (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value.
627 * config/obj-aout.c (obj_crawl_symbol_chain): Likewise.
628 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
629 * config/obj-coff.c (do_relocs_for): Likewise.
630 (yank_symbols): Likewise.
631 (fixup_segment): Likewise.
632 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
633 (ppc_fix_adjustable): Likewise.
634 * config/tc-mips.c (md_convert_frag): Likewise.
635 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
636 * ehopt.c (eh_frame_convert_frag): Likewise.
637 * expr.c (make_expr_symbol): Likewise.
0529cb87 638
e46d99eb
AM
639 * frags.h (struct frag): Add last_fr_address. Reorder fields for
640 better packing.
641 * symbols.c (resolve_symbol_value): Don't fix expression values
642 until relaxation is complete.
643 (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value.
644 (S_GET_VALUE): Likewise, and return unresolved expression value.
645 * write.c (finalize_syms): New.
646 (relax_and_size_seg): Split into..
647 (relax_seg): New function, returns 1 if anything changed..
648 (size_seg): And the remainder of relax_and_size_seg.
649 (fixup_segment): Arrange for final resolution of sym values.
650 (adjust_reloc_syms): Likewise.
651 (write_object_file): Likewise, and repeatedly call relax_seg until
652 nothing more changes.
653 (relax_segment): Return 1 if anything changed. Use correct types
654 for rs_org `target' and `after'.
655 * write.h (finalize_syms): Declare.
656 (relax_segment): Update prototype.
657
93c2a809
AM
658 * config/tc-sh.c (md_estimate_size_before_relax): Add extra
659 do-nothing cases to switch to avoid abort on a second relaxation
660 pass, and tidy code a little.
661 * config/tc-cris.c (md_estimate_size_before_relax): Likewise.
662 * config/tc-h8500.c (md_estimate_size_before_relax): Likewise.
663 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
664 * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement.
665 (md_relax_table): Remove first four unused entries. Increment
666 rlx_length by one throughout table, and update comments to suit.
667 (md_estimate_size_before_relax): Return size of current variable
668 part of frag to reflect reality when relaxing more than once.
669 * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout.
670 (COND32, UNCD32): Rename to DISP32 throughout.
671 (UNDEF_WORD_DISP): Renumber to 3.
672 (md_estimate_size_before_relax): Add extra do-nothing cases.
673 * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite.
674 * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite.
675 * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to
676 handle word and dword branches.
677
d551a338
HPN
6782001-03-29 Hans-Peter Nilsson <hp@axis.com>
679
680 * config/tc-cris.h (tc_fix_adjustable): Allow only
681 BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
23ec5d03
HPN
682 * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in
683 example in comment to valid type.
d551a338 684
440ecb38
L
6852001-03-28 H.J. Lu <hjl@gnu.org>
686
687 * read.c (equals): Set to local for COFF only if it hasn't been
688 defined before.
689
8a238888
AM
6902001-03-28 Alan Modra <alan@linuxcare.com.au>
691
692 * config/tc-hppa.c (DEFAULT_LEVEL): Define.
693 (md_begin): Use it when setting default architecture.
694
775cf891
NC
6952001-03-27 Nick Papadonis <nick@coelacanth.com>
696
697 * read.c (equals): (for COFF) default symbols to being local.
698
f9c19112
HPN
6992001-03-27 Hans-Peter Nilsson <hp@axis.com>
700
701 * configure.in (cris-*-*): Change default emulation to criself.
702 (cris-*-*aout*): New rule.
703 * configure: Regenerate.
704
07855bec
NC
7052001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com>
706
707 * config/tc-s390.c (tc_s390_fix_adjustable): Add test for
708 BFD_RELOC_390_GOTENT.
709 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for
710 BFD_RELOC_390_GOTENT.
711
7122001-03-26 Nick Clifton <nickc@redhat.com>
713
714 * config/tc-s390.h (TC_FORCE_RELOCATION): Define.
715 * config/tc-s390.c (s390_force_relocation): New function: Force
716 relocations for VTINHERIT relocs.
717
0285c67d
NC
7182001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr>
719
720 * doc/as.texinfo: Put @c man begin to generate the as man page.
721 When generating man, define all the variables. Re-organize some
722 options to obtain better indentation of man page.
723 * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
724 (as.1): Build from as.texinfo.
725 * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am
726
551c1ca1
AM
7272001-03-25 Alan Modra <alan@linuxcare.com.au>
728
729 * config/tc-i386.c (i386_scale): Accept an absolute expression for
730 scale factor, and return the end of the expression.
731 (i386_operand): Modify for above.
732
c3a27914
NC
7332001-03-23 Nick Clifton <nickc@redhat.com>
734
735 * doc/as.texinfo: Document --listing-XXX command line switches.
736 Explain why listings behave differently when -pipe is used.
737
37006e43
NC
7382001-03-23 Richard Sandiford <rsandifo@redhat.com>
739
740 * write.c (fix_new_exp): Print an error if passed a register.
741
08caf3f8
HPN
7422001-03-23 Hans-Peter Nilsson <hp@axis.com>
743
744 * config/tc-cris.c: Tweak attribution. Fix typos. PIC support.
745 (PIC_SUFFIX_CHAR): New macro.
746 (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions.
747 (pic): New variable.
748 (md_longopts): New option --pic.
749 (OPTION_PIC): Define.
750 (md_estimate_size_before_relax): Tweak longish comment.
751 (md_create_long_jump): Make the long jumps generate ADD.D offset,PC.
752 (md_assemble): Handle a PIC relocation on prefix and normal
753 instruction operands.
754 <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle
755 "complex" operand expressions. Call frag_more outside
756 gen_cond_branch_32 parameter list.
757 (cris_process_instruction): Handle PIC relocs on parsed
758 operand expressions. Validize PIC reloc sizes.
759 (get_autoinc_prefix_or_indir_op): Handle PIC suffix.
760 (gen_bdap): Handle "complex" operand expressions.
761 (gen_cond_branch_32): Use as_warn_where, not as_warn. Use
762 ADD.D offset,PC as jump instruction if generating PIC. Generate
763 error instead of crashing on complex expressions.
764 (cris_number_to_imm): Add segT parameter. All callers changed.
765 Use segT parameter, not now_seg, for segment of fixup. Handle
766 PCREL relocations but check that they are fully resolved.
767 (md_parse_option): Handle OPTION_PIC.
768 (tc_gen_reloc): Handle PIC relocs.
769 (md_show_usage): Update for --pic.
770 (md_apply_fix3): Renamed from md_apply_fix.
771 (md_pcrel_from): Accept emitting PCREL relocs when ELF.
772 (md_cris_force_relocation): Force relocation for PIC relocs.
773
774 * config/tc-cris.h: Tweak attribution.
775 (MD_APPLY_FIX3): Define.
776 (IS_CRIS_PIC_RELOC): New macro.
777 (TC_RELOC_RTSYM_LOC_FIXUP): Define.
778 (tc_fix_adjustable): Don't adjust a globally visible symbol when
779 generating ELF.
8a238888 780 (tc_frob_symbol): Avoid emitting undefined symbols.
08caf3f8 781
38686296
AM
7822001-03-20 Alan Modra <alan@linuxcare.com.au>
783
784 * frags.h (struct frag): Add relax_marker.
785 * write.c (is_dnrange): Delete.
786 (relax_frag): Use correct types for `aim', `target', `address'.
787 Delete `offset', `was_address'. Test `relax_marker' instead of
788 using fragile (and slow) address test.
789 (relax_segment): Init and flip `relax_marker'.
790
2e98d2de
AM
7912001-03-19 Alan Modra <alan@linuxcare.com.au>
792
793 * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct
794 used register name.
795
e629c13f
SC
7962001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
797
798 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
799 with 'Motorola specification for assembly language input standard'.
800
249e3833
RH
8012001-03-17 Richard Henderson <rth@redhat.com>
802
803 * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
804 (dwarf2_directive_loc): Don't use them.
805 (dwarf2_directive_file): Reject duplicate file definitions.
806 (get_filenum): Zero allocated memory.
807 (out_file_list): Complain about missing file definitions.
808
2289f85d
AM
8092001-03-17 Alan Modra <alan@linuxcare.com.au>
810
811 * read.c (do_org): Handle complex expressions.
812 * cgen.c (gas_cgen_finish_insn): Likewise.
813
4d5a53ff
JW
8142001-03-15 David Mosberger <davidm@hpl.hp.com>
815
816 * config/tc-ia64.c (md): New member keep_pending_output.
817 (ia64_flush_pending_output): Flush only if md.keep_pending_output
818 is not set.
819 (dot_xdata): Turn on md.keep_pending_output for the duration of
820 this function.
821 (dot_xfloat_cons): Ditto.
822 (dot_xstringer): Ditto.
823 (dot_xdata_ua): Ditto.
824 (dot_xfloat_cons_ua): Ditto.
825
8262001-03-15 Jim Wilson <wilson@redhat.com>
827
828 * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
829 label support.
830
19c0258a
AO
8312001-03-15 Alexandre Oliva <aoliva@redhat.com>
832
833 * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
834
d68d4570
DD
8352001-03-15 DJ Delorie <dj@redhat.com>
836
837 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
838 blindly freeing string if it isn't at the top of the obstack.
839
f3c180ae
AM
8402001-03-13 Alan Modra <alan@linuxcare.com.au>
841
842 * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file.
843 (NUM_FLAG_CODE): Define.
844 (lex_got): New function.
845 (got_reloc): New global var.
846 (x86_cons_fix_new): New function.
847 (x86_cons): New function.
848 (i386_immediate): Use lex_got here, replacing inline code. Change
849 "ignoring junk.." error message to "junk.."
850 (i386_displacement): Likewise.
851 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
852 (x86_cons): Declare.
853 (TC_CONS_FIX_NEW): Define.
854 (x86_cons_fix_new): Declare.
855
83e7603d
NC
8562001-03-12 Nick Clifton <nickc@redhat.com>
857
858 * config/tc-arm.c (md_begin): Always set machine type based on
859 cpu_variant.
860
1ae12ab7
AM
8612001-03-07 Alan Modra <alan@linuxcare.com.au>
862
863 * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
f3c180ae 864 (md_assemble) <smallest displacement>: Use correct field of i.op[]
1ae12ab7 865 union.
f3c180ae
AM
866 <JumpInterSegment output>: Use correct i.disp_reloc[].
867 <immediate output>: Likewise.
1ae12ab7 868
4f3c3dbb
NC
8692001-03-06 Nick Clifton <nickc@redhat.com>
870
871 * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in
872 BLX(1) instruction.
873
dc84e067
NC
8742001-03-06 Igor Shevlyakov <igor@windriver.com>
875
876 * config/tc-m68k.c : Add 5407 to archs[] table.
877 (HAVE_LONG_BRANCH): Add mcf5407.
878 (select_control_regs): Recognize 5407.
879
a8150a88
DB
8802001-03-02 Dave Brolley <brolley@redhat.com>
881
1ae12ab7
AM
882 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather
883 than m32r_do_align.
a8150a88 884
e103941e
NC
8852001-03-02 Richard Sandiford <rsandifo@redhat.com>
886
887 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro.
888 (gen_to_words): Print warnings if NaNs are found and the target CPU
889 does not support them. Allow largest exponent to be used in normal
890 numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true.
891
7c44d1d3
AJ
8922001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
893
894 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
895 anymore since we use bfd_elf_generic_reloc now.
896 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
897
27b7e12d
AM
8982001-02-27 Alan Modra <alan@linuxcare.com.au>
899
900 * configure.in (BFD_VERSION): New.
901 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
902 * configure: Regenerate.
903 * Makefile.am: Run "make dep-am"
904 * Makefile.in: Regenerate.
905 * doc/Makefile.in: Regenerate.
906
1af96959
NC
9072001-02-26 Mark Elbrecht <snowball3@bigfoot.com>
908
909 * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set
910 SEC_NEVER_LOAD when the 'n' flag is used.
911 Add SEC_NEVER_LOAD to matchflags.
912
d95767bf
SC
9132001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
914
915 * symbols.c (decode_local_label_name): Initialize message_format
916 only when an error is reported (perf pb due to I18N).
917
3737d051
L
9182001-02-23 H.J. Lu <hjl@gnu.org>
919
920 * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
921 BFD_ASSEMBLER is not defined.
922
b653e7f9
NC
9232001-02-23 Richard Sandiford <rsandifo@redhat.com>
924
925 * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
926 done if it's against a symbol.
927
7463c317
TW
9282001-02-22 Timothy Wall <twall@cygnus.com>
929
930 * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific
931 target formats if applicable.
932 * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64.
933 * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h.
934 * Makefile.in: Regenerated.
935 * configure.in: Added configuration for ia64-*-aix*.
936 * configure: Regenerated.
7c44d1d3 937
87f8eb97
JW
9382001-02-21 David Mosberger <davidm@hpl.hp.com>
939
940 * config/tc-ia64.c (enum operand_match_result): New type.
941 (operand_match): Change return type to operand_match_result.
942 Fix all returns appropriately, adding support for returning the
943 out-of-range result.
944 (parse_operands): New locals result, error_pos, out_of_range_pos,
945 curr_out_of_range_pos. Rewrite operand matching loop to give better
946 error messages.
7c44d1d3 947
33d01f33
JW
9482001-02-21 David Mosberger <davidm@hpl.hp.com>
949
950 * config/tc-ia64.c (struct unwind): Add member "prologue_count".
951 (dot_proc): Clear unwind.prologue_count to zero.
952 (dot_prologue): Increment unwind.prologue_count.
953 (dot_restore): If second operand is omitted, use
954 unwind.prologue_count -1 for "ecount" (# of additional regions to
955 pop). Decrement unwind.prologue_count by number of regions
956 popped.
957
7e84d676
NC
9582001-02-21 Nick Clifton <nickc@redhat.com>
959
960 * doc/as.texinfo (Section): Note that some flags to the COFF
961 version of .section remove attributes rather than setting them.
962
5cd4edbe
KH
9632001-02-20 Kazu Hirata <kazu@hxi.com>
964
29184774
NC
965 * config/tc-pdp11.c: Fix formatting.
966 * config/tc-pdp11.h: Likewise.
5cd4edbe 967
80b3ee89
AJ
9682001-02-20 Bo Thorsen <bo@suse.de>
969
970 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
971 entry.
972
0fde8cc6 9732001-02-18 David O'Brien <obrien@FreeBSD.org>
cac5b87b
DB
974
975 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as
976 all FreeBSD platforms should look the same at this level.
977 * configure: Rebuilt.
978 * config/tc-i386.c: Add support for old FreeBSD a.out hosts.
979
e135f41b
NC
9802001-02-18 lars brinkhoff <lars@nocrew.org>
981
982 * Makefile.am: Add PDP-11 target.
983 * configure.in: Likewise.
984 * config/tc-pdp11.c: New file.
985 * config/tc-pdp11.h: New file.
986 * doc/Makefile.am: Add PDP-11 documentation.
987 * doc/all.texi: Likewise.
988 * doc/as.texinfo: Likewise.
989 * doc/c-pdp11.texi: New file.
990
363c574f
MG
9912001-02-16 matthew green <mrg@redhat.com>
992
5dd0794d 993 * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
363c574f 994
fa1cb89c
JW
9952001-02-13 Jim Wilson <wilson@redhat.com>
996
997 * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
998 reloc instead of a 0 reloc.
999 (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
1000 as done.
1001 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
1002
c842b53a
ILT
10032001-02-13 Ian Lance Taylor <ian@zembu.com>
1004
1005 * write.c (is_dnrange): Stop as soon as the address becomes
1006 larger.
1007 (relax_frag): Add segment parameter. Only call symbol_get_frag
1008 once. Only call is_dnrange if the symbol is in the same segment,
1009 and the symbol address is larger.
1010 (relax_segment): Pass segment to md_relax_frag and relax_frag.
1011 * write.h (relax_frag): Update declaration.
1012 * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
1013 it to relax_frag.
1014 * config/tc-m32r.c (m32r_relax_frag): Likewise.
1015 * config/tc-m32r.h (md_relax_frag): Add segment parameter.
1016 (m32r_relax_frag): Update declaration.
1017 * config/tc-mips.h (md_relax_frag): Add segment parameter.
1018 * config/tc-tic54x.h (md_relax_frag): Likewise.
1019 * doc/internals.texi (CPU backend): Update documentation for
1020 md_relax_frag.
1021
6fad6acb
AM
10222001-02-13 Alan Modra <alan@linuxcare.com.au>
1023
fddf5b5b
AM
1024 * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
1025 Mention effect of < 386 architectures on jump promotion.
1026 (i386-Jumps): xref above. Don't assume long disp is 32 bits.
1027
1028 * config/tc-i386.c (no_cond_jump_promotion): New.
1029 (set_cpu_arch): Parse "jumps" arch modifier.
1030 (insn_size): Modify usage comment.
1031 (ENCODE_RELAX_STATE): Reformat and protect macro arg.
1032 (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
1033 (TYPE_FROM_RELAX_STATE): New define.
1034 (UNCOND_JUMP, COND_JUMP): Renumber.
1035 (md_relax_table): Reorder to suit.
1036 (COND_JUMP86): New define.
1037 (md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
1038 (md_assemble): Create frag var for jumps of max size, encode relax
1039 state for COND_JUMP86.
1040 (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
1041 leave conditional jumps small if no_cond_jump_promotion.
1042 (md_convert_frag): Likewise.
1043
6fad6acb
AM
1044 * expr.c (operator): Don't bump input_line_pointer for two char
1045 operators. Instead return operator size via new param num_chars.
1046 (expr): Use above to parse multi-char operators correctly.
1047
23df1078
JH
1048Mon Feb 12 17:45:50 CET 2001 Jan Hubicka <jh@suse.cz>
1049
29184774 1050 * config/tc-i386.c (i386_displacement): Fix handling of
23df1078
JH
1051 BFD_RELOC_X86_64_GOTPCREL.
1052 (i386_validate_fix): Likewise.
1053
b1e2e654
PB
10542001-02-12 Philip Blundell <pb@futuretv.com>
1055
1056 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable
1057 ldrt/strt instructions.
1058
9117d219
NC
10592001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1060
1061 * config/tc-mips.c (macro): For M_LA_AB emit a
1062 BFD_RELOC_MIPS_CALL16 relocation or a
1063 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
1064 BFD_RELOC_MIPS_GOT16 and
1065 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
1066 loading the jump register when generating SVR4_PIC code.
1067
97238fbd
CD
10682001-02-10 Chris Demetriou <cgd@broadcom.com>
1069
1070 * configure.in: Make 'mipself' and 'mipsecoff' emulations
1071 map to MIPS-specific files, as they used to do before the
1072 change on 2000-05-21.
1073 * configure: Regerate.
1074
0f074f60
CD
10752001-02-10 Chris Demetriou <cgd@broadcom.com>
1076
1077 * config/tc-mips.c (md_parse_option): Don't try to compile
1078 ELF-only option code if not ELF.
1079
91a2ae2a
RH
10802001-02-08 David Mosberger <davidm@hpl.hp.com>
1081
1082 * config/tc-ia64.h (md_elf_section_type): New macro.
1083 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
1084 (they're now handled via ia64_elf_section_type.
1085
1086 * config/tc-ia64.c (unwind): New members saved_text_seg,
1087 saved_text_subseg, and force_unwind_entry.
1088 (optimize_unw_records): New function to optimize away unnecessary
1089 unwind directives.
1090 (ia64_elf_section_type): New function.
1091 (output_unw_records): Generate unwind info only if the size is
1092 non-zero or if it's forced for some other reason (e.g.,
1093 handlerdata or a personality routine).
1094 (generate_unwind_image): Don't switch back to previous
1095 section---stay inside the unwind info section instead so that
1096 handlerdata that may follow goes into the right place.
1097 (dot_handlerdata): Force generation of unwind entry and save the
1098 current active text segment before generating unwind image.
1099 (dot_unwentry): Force generation of unwind entry.
1100 (dot_personality): Ditto.
1101 (dot_endp): Generate unwind table entry only if there is
1102 some unwind info or the unwind entry was forced.
1103
1104 * config/tc-ia64.c (make_unw_section_name): New macro to form
1105 unwind section name.
1106 (generate_unwind_image): Add "text_name" argument. Use it to
1107 form unwind section name.
1108 (dot_handlerdata): Determine current segment (section) name and
1109 pass it to generate_unwind_image().
1110 (dot_endp): Determine current segment (section) name and use
1111 it to determine the appropriate unwind section name.
1112 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
1113 n, fill, and max arguments.
1114
a85d7ed0
NC
11152001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
1116
1117 * Makefile.am: Add linux target for S/390.
1118 * configure.in: Likewise.
1119 * config/tc-s390.c: New file.
1120 * config/tc-s390.h: New file.
1121
de68de20
AO
11222001-02-09 Alexandre Oliva <aoliva@redhat.com>
1123
1124 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
1125 2byte, 4byte and 8byte.
1126
8ea46bbd
AM
11272001-02-08 Alan Modra <alan@linuxcare.com.au>
1128
1129 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
1130 md_number_to_chars with size > sizeof (valueT).
1131
a99746f4
L
11322001-02-06 H.J. Lu <hjl@gnu.org>
1133
1134 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
1135 there is no relocation.
1136
f4e17b3d
L
11372001-02-06 H.J. Lu <hjl@gnu.org>
1138
1139 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
1140
1141 * config/tc-ia64.c (md_parse_option): Only accept the valid
1142 ia64 options on "-axxx".
1143
3557da92
JW
11442001-02-05 Jim Wilson <wilson@redhat.com>
1145
1146 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
1147 aborting for invalid operands.
1148
da6c73e0
AM
11492001-02-06 Alan Modra <alan@linuxcare.com.au>
1150
1151 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
1152 than via pointer. Update all callers.
1153 (UNWIND_LOW32): Define.
1154 (UNWIND_HIGH32): Define.
1155 (pa_build_unwind_subspace): Use the above macros instead of dumping
1156 bitfields directly. Call frag_more once rather than multiple times.
1157 (md_assemble): Use UNWIND_LOW32.
1158 (pa_entry): Likewise
1159 (pa_procend): Likewise.
1160 (process_exit): Use UNWIND_HIGH32.
1161
986c6f4b
SC
11622001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1163
1164 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
1165 function to select the header according to the cpu.
1166 (md_after_pass_hook, md_do_align): Remove.
1167 (md_cleanup, m68hc11_cleanup): Remove.
1168 (md_pcrel_from_section): Declare.
1169 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
1170 (build_jump_insn, build_insn): Likewise.
1171 (m68hc11_listing_header): New function.
1172 (m68hc11_cleanup): Remove.
1173
dbb8ad49
SC
11742001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1175
328dc123 1176 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
80b3ee89 1177 symbols because there is no support for shared libraries and these
328dc123 1178 symbols can't be overridden (unless they are weak).
dbb8ad49 1179
a987bfc9
RH
11802001-02-01 Momchil Velikov <velco@fadata.bg>
1181
1182 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
1183 for the compilation unit with a zero byte.
1184
22862cde
AM
11852001-01-30 Alan Modra <alan@linuxcare.com.au>
1186
1187 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
1188 destinations. Correct range check for 17 and 22 bit branches.
1189
8ec6253e
NC
11902001-01-25 Nick Clifton <nickc@redhat.com>
1191
1192 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
1193 still set. Issue an error message instead.
1194 (md_estimate_size_before_relax): Delete unused variable
1195 'buffer_address'. Fixup parentheses around if statement.
80b3ee89 1196
43ad3147
KH
11972001-01-23 Kazu Hirata <kazu@hxi.com>
1198
1199 * as.c: Fix formatting.
1200 * ehopt.c: Likewise.
1201 * messages.c: Likewise.
1202 * stabs.c: Likewise.
1203 * symbols.c: Likewise.
1204
015c05c1
AM
12052001-01-23 Ben Elliston <bje@redhat.com>
1206
1207 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
1208
66498417
KH
12092001-01-22 Kazu Hirata <kazu@hxi.com>
1210
1211 * config/tc-alpha.c: Fix formatting.
1212
1aad8cf8
KH
12132001-01-19 Kazu Hirata <kazu@hxi.com>
1214
1215 * config/tc-alpha.c: Fix formatting.
1216
32ff5c2e
KH
12172001-01-18 Kazu Hirata <kazu@hxi.com>
1218
1219 * config/tc-alpha.c: Fix formatting.
1220
cd17328a
NC
12212001-01-18 Nick Clifton <nickc@redhat.com>
1222
1223 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
1224 "da" flags.
1225 (stm_flags): Remove redundant bit from "ed" and "da" flags.
1226
81c425d1
AO
12272001-01-18 Alexandre Oliva <aoliva@redhat.com>
1228
1229 * configure.in (cpu_type, arch): Match i386 too.
1230 * configure: Rebuilt.
1231
e5cb08ac
KH
12322001-01-16 Kazu Hirata <kazu@hxi.com>
1233
1234 * config/tc-i386.c: Fix formatting.
1235
1d3d5051
AM
12362001-01-16 Alan Modra <alan@linuxcare.com.au>
1237
64afeba3
AM
1238 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
1239 relocs for .PARISC.unwind section.
1240
1d3d5051
AM
1241 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
1242 depending on section flags, not just for .text.
1243
b44b1b85
JW
12442001-01-15 Jim Wilson <wilson@redhat.com>
1245
1246 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
1247 not immediately followed by an instruction.
1248
098f2ec3
KH
12492001-01-15 Kazu Hirata <kazu@hxi.com>
1250
1251 * config/tc-m68hc11.c: Fix formatting.
1252
d4887adc
NC
12532001-01-15 Nick Clifton <nickc@redhat.com>
1254
1255 * symbols.c (colon): Change 'already defined symbol' from a
1256 fatal error to an ordinary error. There is no reason why this
1257 error should be fatal.
1258
1259 * message.c (as_fatal): Delete output file, if one has been
015c05c1 1260 created.
d4887adc 1261
fcfd4916
AM
12622001-01-14 Alan Modra <alan@linuxcare.com.au>
1263
1264 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
1265
bfb32b52
KH
12662001-01-14 Kazu Hirata <kazu@hxi.com>
1267
1268 * config/tc-alpha.c: Fix formatting.
1269 * config/tc-arc.c: Likewise.
1270 * config/tc-arc.h: Likewise.
1271 * config/tc-d10v.c: Likewise.
1272 * config/tc-i370.c: Likewise.
1273 * config/tc-i386.c: Likewise.
1274 * config/tc-i960.c: Likewise.
1275 * config/tc-m68k.c: Likewise.
1276 * config/tc-ppc.c: Likewise.
1277 * config/tc-sparc.c: Likewise.
1278 * config/tc-tahoe.c: Likewise.
1279 * config/tc-vax.c: Likewise.
1280
1e07b820
KH
1281 * config/tc-arc.c: Fix formatting.
1282
19203624
KH
1283 * config/tc-arc.c: Fix formatting.
1284
1328dc98
AM
12852001-01-14 Alan Modra <alan@linuxcare.com.au>
1286
c46b7515
AM
1287 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
1288 both 32 and 64 bit ELF.
1289
1328dc98
AM
1290 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
1291 and don't bother storing `m' for "ce" completer. Tidy handling of
1292 'J' and 'K' operands to suit. Handle '<' and '>' operands.
1293
b9d79e03
JH
1294Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz>
1295
29184774 1296 * config/tc-i386.h (TARGET_MACH): New macro.
b9d79e03 1297 (i386_mach): Declare.
29184774 1298 * config/tc-i386.c (i386_mach): New function.
b9d79e03 1299
a349d9dd
PB
13002001-01-13 Philip Blundell <philb@gnu.org>
1301
1302 * doc/as.texinfo: Fix spelling and cross-references.
1303
1304 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
1305 character for all systems, not just GNU/Linux. Make it explicit
1306 that `-k' doesn't affect code generation, just ELF flags.
1307
e2914f48
JH
1308Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz>
1309
1310 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
1311 instructions.
1312
272d76e0
FCE
13132001-01-12 Frank Ch. Eigler <fche@redhat.com>
1314
1315 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
1316
d0398d6a
NC
13172001-01-12 Nick Clifton <nickc@redhat.com>
1318
1319 * as.c (print_args): Update copyright date to 2001.
1320
2d73a4ca
NC
13212001-01-12 Peter Targett <peter.targett@arccores.com>
1322
1323 * doc/c-arc.texi: New file.
1324 Some sections to be expanded.
1325
6e0b89ee
AM
13262001-01-12 Alan Modra <alan@linuxcare.com.au>
1327
1328 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
1329 (md_parse_option): Always accept "--32".
1330
0d2bcfaf
NC
13312001-01-11 Peter Targett <peter.targett@arccores.com>
1332
1333 * as.h (TC_ARC): Ensure struc-symbol.h included.
1334 * as.c (dwarf2dbg.h): Include to remove implicit declaration
1335 warnings.
1336 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
1337 (TARGET_SYMBOL_FIELDS) added.
1338
1339 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
1340 * doc/c-arc.texi: New file.
1341 Some sections to be expanded.
1342 * doc/as.texinfo: Update command-line options.
1343 Removed outdated text for ARC dependant features, instead include
1344 text from above file.
1345
1346 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
1347 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
1348 (targ-cpu.h) header.
1349 * config/tc-arc.h:
1350 * config/tc-arc.c: New updated configuration for
1351 ARC, including selection of core variants, and extensibility of
1352 instructions, registers etc. through directives.
1353
1354 * config/tc-arc.c (arc_extinst): Minor corrections for
1355 error messages.
1356 (arc_common) Likewise. Make alignment argument optional for local
1357 symbols also, with default of zero.
1358
88051039
SC
13592001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1360
1361 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
1362 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
1363 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
1364 and fix_new_exp() instead.
1365 (md_convert_frag): For indexed post byte use the symbol value
1366 rather than the displacement.
1367 (md_relax_table): Fix indexed offset relax.
1368
d8273f3b
SC
13692001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1370
1371 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
1372 relax weak symbols.
015c05c1 1373 (relaxable_symbol): New function.
d8273f3b 1374
eea2ad45
AJ
13752001-01-11 Andreas Jaeger <aj@suse.de>
1376
1377 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
1378 not used anywhere.
1379
7a91e76a
NC
13802001-01-10 Nick Clifton <nickc@redhat.com>
1381
1382 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
1383 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
1384
aa257fcd
NC
13852001-01-10 Nick Clifton <nickc@redhat.com>
1386
1387 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
1388 character used to dollar local symbols.
1389 (LOCAL_LABEL_CHAR): New constant - the magic character used to
1390 local label symbols.
1391 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
1392 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
1393 if defined.
1394 Use LOCAL_LABEL_CHAR.
1395 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
1396 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
1397 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
1398
b77a7acd
AJ
13992001-01-08 Bo Thorsen <bo@suse.de>
1400
015c05c1
AM
1401 * config/tc-i386.c (i386_immediate, i386_displacement):
1402 GOTPCREL check fix.
b77a7acd 1403
5c2bd011
ILT
14042001-01-07 Ian Lance Taylor <ian@zembu.com>
1405
1406 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
1407 in last change.
1408
46a04e3a
PB
14092001-01-07 Philip Blundell <philb@gnu.org>
1410
1411 * doc/as.texinfo (Bug Reporting): Update email address for
1412 reports.
1413 * README: Likewise.
1414
b96d3a20
JH
1415Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz>
1416
1417 * configure.in: Define DEFAULT_ARCH for i386.
29184774 1418 * config/tc-i386.c (md_assemble): Return after the error message;
b96d3a20
JH
1419 move testing for 64bit operands to proper place.
1420
55b62671
AJ
14212001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
1422
1423 * doc/as.texinfo: Document '#' as comment character for i386 and
1424 x86_64. Add AMD x86-64 into menu of machine dependent information.
1425
1426 * doc/c-i386.texi: Document x86_64 extensions.
1427
7bc70a8e
JH
1428Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz>
1429
29184774 1430 * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
7bc70a8e 1431
a167610d
JH
1432Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz>
1433
29184774 1434 * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
a167610d
JH
1435 * NEWS: Add note about Pentium4 support.
1436
09f131f2
JH
1437Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz>
1438
29184774 1439 * config/tc-i387.c (pi, pte, pt): Update.
09f131f2
JH
1440 (type_names): Add new types.
1441
6f8c0c4c
JH
1442Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz>
1443
29184774 1444 * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
6f8c0c4c
JH
1445 CpuUnknown): Renumber
1446 (CpuP4, CpuSSE2): New.
1447 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
1448
b96ed59a
PB
14492001-01-03 Philip Blundell <pb@futuretv.com>
1450
1451 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
1452 relocs.
1453 (alpha_fix_adjustable): Likewise.
1454 (md_apply_fix): Likewise.
1455
a735d1cd
L
14562000-12-31 H.J. Lu <hjl@gnu.org>
1457
1458 * listing.c (listing_message): Allocate string only if it is
1459 used.
1460
1461 * configure: Rebuild.
1462
67db5ab4
HPN
14632000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
1464
1465 * doc/internals.texi (Relaxing with a table) <after relaxation>:
1466 Point out caveats with generating fixups for the opcode in a frag.
1467
c0d8940f
JH
1468Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz>
1469
1470 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
1471 * NEWS: Add x86_64.
1472
087f563c
L
14732000-12-29 H.J. Lu <hjl@gnu.org>
1474
1475 * listing.c (calc_hex): Print the variable part only if the
1476 fragment type is rs_fill.
1477
8108ad8e
HPN
14782000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
1479
1480 * doc/internals.texi (tc_conditional_pseudoop,
1481 TC_LINKRELAX_FIXUP): Fix typos.
1482
799051fc
RH
14832000-12-28 Richard Henderson <rth@redhat.com>
1484
1485 * write.c (subsegs_finish): Fix thinko last change -- don't
1486 "optimize" the alignment == 0 case.
1487
0a9ef439
RH
14882000-12-28 Richard Henderson <rth@redhat.com>
1489
1490 * as.h (rs_align_test): New.
1491 * frags.c (NOP_OPCODE): Move default from read.c.
1492 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
1493 (frag_align_code): New.
1494 * frags.h (frag_align_code): Declare.
1495 * read.c (NOP_OPCODE): Remove.
1496 (do_align): Use frag_align_code.
1497 * write.c (NOP_OPCODE): Remove.
1498 (get_recorded_alignment): New.
1499 (cvt_frag_to_fill): Handle rs_align_test.
1500 (relax_segment): Likewise.
1501 (subsegs_finish): Align last subseg in section to the
1502 section alignment. Use frag_align_code.
1503 * write.h (get_recorded_alignment): Declare.
1504 * config/obj-coff.c (size_section): Handle rs_align_test.
1505 (fill_section, fixup_mdeps): Likewise.
1506 (write_object_file): Use frag_align_code.
1507
1508 * config/tc-alpha.c (alpha_align): Use frag_align_code.
1509 (alpha_handle_align): New.
1510 * config/tc-alpha.h (HANDLE_ALIGN): New.
1511 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1512
1513 * config/tc-i386.h (md_do_align): Use frag_align_code.
1514 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1515
1516 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
1517 (ia64_handle_align): New.
1518 * config/tc-ia64.h (HANDLE_ALIGN): New.
1519 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1520
1521 * config/tc-m32r.c (m32r_do_align): Remove.
1522 (m32r_handle_align): New.
1523 (fill_insn): Use frag_align_code.
1524 * config/tc-m32r.h (md_do_align): Remove.
1525 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
1526 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
1527 * config/tc-mips.c, config/tc-mips.h: Similarly.
1528
1529 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
1530 (sh_handle_align): Likewise. Handle rs_align_code.
1531 (sh_do_align): Remove.
1532 * config/tc-sh.h (md_do_align): Remove.
1533 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1534
1535 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
1536 (sparc_handle_align): Likewise. Handle rs_align_code.
1537 * config/tc-sparc.h (md_do_align): Remove.
1538 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1539
3cd4dda7
DD
15402000-12-22 DJ Delorie <dj@redhat.com>
1541
1542 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
1543 when we assemble the first half of a pair.
1544
ec56dfb4
L
15452000-12-22 H.J. Lu <hjl@gnu.org>
1546
1547 * config/tc-i386.c (reloc): Update the macro for non-bfd
1548 assembler.
1549 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
1550
ad1172d4
L
15512000-12-22 H.J. Lu <hjl@gnu.org>
1552
1553 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
1554
3e73aa7c
JH
1555Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
1556
29184774 1557 * config/tc-i386.h (i386_target_format): Define even for ELFs.
3e73aa7c
JH
1558 (QWORD_MNEM_SUFFIX): New macro.
1559 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
1560 New macros
1561 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
1562 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
1563 ImmExt): Renumber.
1564 (Size64, No_qSuf, NoRex64, Rex64): New macros.
1565 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
1566 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
1567 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
1568 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
1569 Renumber.
1570 (Reg, WordReg): Add Reg64.
1571 (Imm): Add Imm32S and Imm64.
1572 (EncImm): New.
1573 (Disp): Add Disp64 and Disp32S.
1574 (AnyMem): Add Disp32S.
1575 (RegRex, RegRex64): New macros.
1576 (rex_byte): New type.
29184774 1577 * config/tc-i386.c (set_16bit_code_flag): Kill.
3e73aa7c
JH
1578 (fits_in_unsigned_long, fits_in_signed_long): New functions.
1579 (reloc): New parameter "signed"; support x86_64.
1580 (set_code_flag): New.
1581 (DEFAULT_ARCH): New macro; default to "i386".
1582 (default_arch): New static variable.
1583 (struct _i386_insn): New fields Operand_PCrel; rex.
1584 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
1585 (flag_code): New enum and static variable.
1586 (use_rela_relocations): New static variable.
1587 (flag_code_names): New static variable.
1588 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
1589 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
1590 K6 and Athlon.
1591 (i386_align_code): Return plain "nop" for x86_64.
1592 (mode_from_disp_size): Support Disp32S.
1593 (smallest_imm_type): Support Imm32S and Imm64.
1594 (offset_in_range): Support size of 8.
1595 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
1596 (md_pseudo_table): Add "code64"; use set_code_flat.
1597 (md_begin): Emit sane error message on hash failure.
1598 (tc_i386_fix_adjustable): Support x86_64 relocations.
1599 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
1600 instructions supported on particular arch just partially,
1601 output of 64bit immediates, handling of Imm32S and Disp32S type.
1602 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
1603 (i386_displacement): Likewise.
1604 (i386_index_check): Cleanup; support 64bit addresses.
1605 (md_apply_fix3): Support x86_64 relocation and rela.
1606 (md_longopts): Add "32" and "64".
1607 (md_parse_option): Add OPTION_32 and OPTION_64.
1608 (i386_target_format): Call even for ELFs; choose between
1609 elf64-x86-64 and elf32-i386.
1610 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
1611 (tc_gen_reloc): Support rela relocations and x86_64.
1612 (intel_e09_1): Support QWORD.
1613
21d6c4af
DN
16142000-12-15 Diego Novillo <dnovillo@redhat.com>
1615
1616 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
55b62671 1617 it's not an offset expression.
21d6c4af
DN
1618 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
1619 keep the braces '[' and ']' in the output string.
1620 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
1621 != FLAT. There is no such op_modifier.
1622
6717891c
NC
16232000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1624
1625 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
1626 if we have it.
1627
ee515fb7
KH
16282000-12-13 Kazu Hirata <kazu@hxi.com>
1629
1630 * as.h: Fix formatting.
1631 * cgen.h: Likewise.
1632 * dwarf2dbg.c: Likewise.
1633 * input-scrub.c: Likewise.
1634 * read.h: Likewise.
1635
349a994c
DD
16362000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
1637
1638 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
1639 configure: Regenerate.
1640
42dbf88c
NC
16412000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1642
1643 * dwarf2dbg.c: #include <limits.h> only if it exists.
1644
0485cba3
AM
16452000-12-13 Rodney Brown <RodneyBrown@mynd.com>
1646
1647 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
1648 (md_apply_fix): Here too.
1649
514829c3
JW
16502000-12-12 Jim Wilson <wilson@redhat.com>
1651
1652 * config/tc-ia64.h (ia64_init): Add prototype.
1653
92eb7b32
L
16542000-12-12 H.J. Lu <hjl@gnu.org>
1655
1656 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
1657
1658 * read.h (outputting_stabs_line_debug): Change it to int.
1659 * stabs.c (outputting_stabs_line_debug): Likewise.
1660
8141c27d
GK
16612000-12-12 Geoffrey Keating <geoffk@redhat.com>
1662
1663 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
1664 the address of a function result.
1665
5d6f4f16
GK
16662000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1667
1668 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
1669 (md_assemble): Call dwarf2_emit_insn.
1670 (shlib): Fix typo SHILB -> SHLIB.
1671 (md_parse_option): Likewise.
1672 (ppc_elf_validate_fix): Likewise:
1673 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
1674
d4c0c039
NC
16752000-12-12 Nick Clifton <nickc@redhat.com>
1676
1677 * cgen.h: Fix formatting.
1678 * input-scrub.c: Fix formatting.
1679 * macro.c: Fix formatting.
e972090a 1680 * config/tc-mips.c: Fix formatting.
584da044 1681 * doc/c-mips.texi: Fix formatting.
55b62671 1682
f16b83df
JH
1683Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
1684
29184774 1685 * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
f16b83df
JH
1686 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
1687 references.
1688 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
1689 otherwise.
29184774 1690 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
f16b83df
JH
1691 (No_dSuf): Kill.
1692
1693 * i386.h (*_Suf): Remove No_dSuf.
1694 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
1695 Remove.
1696 (i386_optab): Remove 'd' in the suffixes.
1697
50705ef4
AM
16982000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1699
1700 * config/tc-i386.c (T_SHORT): Undefine before defining.
1701
beae10d5
KH
17022000-12-05 Kazu Hirata <kazu@hxi.com>
1703
1704 * config/tc-mips.c: Fix formatting.
1705
bccba5f0 17062000-12-04 Matthew Hiller <hiller@redhat.com>
50705ef4
AM
1707
1708 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
1709 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
1710 (md_show_usage): Ditto.
1711 (md_parse_option): Ditto.
1712 (d10v_cleanup): Writes pending instruction only if
1713 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
bccba5f0 1714 Fix compile time warning messages.
50705ef4
AM
1715
1716 * doc/c-d10v.texi: Documents new options.
bccba5f0
NC
1717
17182000-12-04 Matthew Hiller <hiller@redhat.com>
1719
50705ef4 1720 * stabs.c (outputting_stabs_line_debug): New variable.
bccba5f0
NC
1721 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
1722 function entry and unset at function exit.
1723
50705ef4 1724 * read.h (outputting_stabs_line_debug): New extern declaration.
bccba5f0
NC
1725
1726 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
1727
1728 * dwarf2dbg.c: Fix compile time warning messages.
1729
bc805888
KH
17302000-12-03 Kazu Hirata <kazu@hxi.com>
1731
1732 * config/tc-a29k.c: Fix formatting.
1733 * config/tc-alpha.c: Likewise.
1734 * config/tc-arm.c: Likewise.
1735 * config/tc-cris.c: Likewise.
1736 * config/tc-hppa.c: Likewise.
1737 * config/tc-i370.c: Likewise.
1738 * config/tc-i386.c: Likewise.
1739 * config/tc-i860.c: Likewise.
1740 * config/tc-i960.c: Likewise.
1741 * config/tc-ia64.c: Likewise.
1742 * config/tc-m68hc11.c: Likewise.
1743 * config/tc-m68k.c: Likewise.
1744 * config/tc-m88k.c: Likewise.
1745 * config/tc-pj.c: Likewise.
1746 * config/tc-ppc.c: Likewise.
1747 * config/tc-sh.c: Likewise.
1748 * config/tc-sparc.c: Likewise.
1749 * config/tc-tahoe.c: Likewise.
1750 * config/tc-vax.c: Likewise.
1751
3dacdf2e
NC
17522000-12-01 Chris Demetriou <cgd@sibyte.com>
1753
50705ef4
AM
1754 * config/tc-mips.c (mips_ip): When calculating offsets,
1755 don't accept as constant the difference between the
1756 addresses of symbols in two different sections.
1757
1758 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
1759 specifiers.
1760 (validate_mips_insn): Likewise. Also, update 'B' operand
1761 specifier to use OP_*_CODE20 constants and delete 'm' operand
1762 specifier.
1763 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
1764 operand specifiers. Change warning generated by 'B' operand
1765 specifier to reflect its new multi-purpose usage.
1766
1767 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
1768 -1, and update comment.
1769 (file_mips_isa): Likewise.
1770 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
1771 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
1772 ISA_* constants rather than hard-coded numbers.
1773 (mips_cpu_info): New structure.
1774 (mips_cpu_info_table): New table describing CPU and ISA names
1775 and numbers.
1776 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
1777 mips_cpu_info_from_cpu): New functions.
1778 (mips_isa_to_str): New function to get string for ISA name.
1779 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
1780 return const char *.
1781 (md_begin): Redo CPU and ISA selection logic, using
1782 mips_cpu_info_from_*. Convert to use ISA_* constants rather
1783 than hard-coded numbers.
1784 (append_insn, mips_emit_delays, macro, macro2): Convert to use
1785 ISA_* constants rather than hard-coded numbers.
1786 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
1787 (md_longopts): Delete OPTION_NO_MIPS32.
1788 (md_parse_option): Convert to use ISA_* constants rather than
1789 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
1790 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
1791 to use strcasecmp to recognize "default" and to use
1792 mips_cpu_info_from_name to get CPU numbers from argument.
1793 (md_show_usage): Move -mips32 so it's with the rest of the ISA
1794 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
1795 mips32-4k.
1796 (s_mipsset): Accept ISA value 32.
1797 * doc/as.texinfo: Clean up MIPS options summary slightly,
1798 remove -no-mips32. Add note about -mips4 and -mips32
1799 specifying those ISA levels. Delete -mips32 and -no-mips32
1800 cpu flag descriptions.
1801 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
1802 up the supported CPU switch list, and replace 4Kc, 4Km, and
1803 4Kp entries with a single mips32-4k entry. Note that you can
1804 use ".set mips32".
1805
29184774 1806 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
50705ef4
AM
1807 ISA_MIPS64.
1808 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
1809 -mips5 and -mips64.
1810 (md_parse_option): Add cases for OPTION_MIPS5 and
1811 OPTION_MIPS64.
1812 (md_show_usage): Mention -mips5 and -mips64 arguments.
1813 (s_mipsset): Add cases for MIPS5 and MIPS64.
1814 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
1815 and pseudo-CPUs.
1816 * doc/as.texinfo: Mention -mips5 and -mips64 options
1817 and their meanings.
1818 * doc/c-mips.texi: Likewise. Also update introduction
1819 and ".set" usage information.
1820
1821 * config/tc-mips.c (md_show_usage): Add "sb1" to the
1822 CPU list.
1823 (mips_cpu_info_table): Add SB-1 entries.
1824 * doc/c-mips.texi: Add "sb1" to the list of CPUs
1825 known to the -mcpu option.
1826
1827 * doc/as.texinfo: Correct description of MIPS -mcpu
1828 option, by copying some of the text from doc/c-mips.texi.
c6c98b38 1829
5f68c319
NC
18302000-12-01 Joel Sherrill <joel@OARcorp.com>
1831
3dacdf2e
NC
1832 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
1833 New targets.
1834 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1835 (sparc*-*-rtems*): Switched from a.out to ELF.
5f68c319
NC
1836 * configure: Regenerate.
1837 * config.in: Regenerate.
1838 * Makefile.in: Regenerate.
1839 * aclocal.m4: Regenerate.
1840 * po/gas.pot: Regenerate.
50705ef4 1841
4ce3447c
PB
18422000-11-30 Philip Blundell <pb@futuretv.com>
1843
1844 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
1845 even in non BFD_ASSEMBLER case.
1846
76a0ddac
DN
18472000-11-30 Diego Novillo <dnovillo@redhat.com>
1848
29184774 1849 * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
76a0ddac
DN
1850 syntax.
1851
220e750f
RH
18522000-11-29 Richard Henderson <rth@redhat.com>
1853
1854 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
1855 until dwarf2_finish; use relaxation to get cross-fragment offsets;
1856 thread multiple subsegments properly; handle multiple code
1857 sections properly; emit proper compilation unit info for assembler
1858 generated debugging.
1859
1860 * as.h (enum _relax_state): Add rs_dwarf2dbg.
1861 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
1862 (dwarf2dbg_estimate_size_before_relax): Declare.
1863 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
1864 * write.c: Include dwarf2dbg.h.
1865 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
1866 (relax_segment): Likewise.
1867
99b222b4
HPN
18682000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1869
1870 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
1871 jump>: Use as_bad_where instead of as_bad. Tweak error message
1872 accordingly. Stabilize frag by updating fix part and resetting
1873 variant part.
1874 <undefined symbol, unconditional jump>: Ditto.
dda5ecfc
HPN
1875 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
1876 indexing is_end_of_line[].
1877 (md_assemble): Initialize size to 0.
1878 (md_section_align): Mark parameter seg as unused.
e46fee70 1879 (parse_reg): Parse names case-insensitively.
99b222b4 1880
814f6641
KH
18812000-11-28 Kazu Hirata <kazu@hxi.com>
1882
1883 * config/obj-aout.h: Fix formatting.
1884 * config/obj-bout.h: Likewise.
1885 * config/obj-coff.c: Likewise.
1886 * config/obj-coff.h: Likewise.
1887 * config/obj-elf.h: Likewise.
1888 * config/obj-som.h: Likewise.
1889 * config/obj-vms.c: Likewise.
1890 * config/obj-vms.h: Likewise.
1891 * config/tc-h8300.h: Likewise.
1892 * config/tc-ns32k.h: Likewise.
1893 * config/tc-sparc.h: Likewise.
1894 * config/tc-tic54x.h: Likewise.
1895 * config/tc-z8k.h: Likewise.
1896
e47b9e39
NC
18972000-11-28 Nick Clifton <nickc@redhat.com>
1898
1899 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
1900 License is present in the sources, but not the output, and
1901 also available from the GNU website.
1902 (GNU Free Documentation License): Comment out this section.
1903
fcdc20a4
HPN
19042000-11-28 Hans-Peter Nilsson <hp@axis.com>
1905
43c34dee
HPN
1906 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
1907 targets. Remove i860 from valid a.out targets.
1908 * Makefile.in: Regenerate.
1909
fcdc20a4 1910 * config/tc-cris.c: Include dwarf2dbg.h.
50705ef4 1911 (md_pseudo_table): Add .file and .loc.
fcdc20a4
HPN
1912 (md_assemble): Call dwarf2_emit_insn if generating ELF.
1913 (s_cris_file, s_cris_loc): New.
1914 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1915 * Makefile.am: Regenerate dependencies.
1916 * Makefile.in: Regenerate.
1917
16887944
AM
19182000-11-28 Alan Modra <alan@linuxcare.com.au>
1919
1920 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
1921 (MRI_MUL_PRECEDENCE): Likewise.
1922 (op_rank): Fix a comment typo.
1923
ae3e85dd
SC
19242000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1925
1926 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
1927 the error message.
1928 (get_operand): Fix analysis for movw/movb instructions.
1929
077b8428
NC
19302000-11-24 Nick Clifton <nickc@redhat.com>
1931
1932 * configure.in (xscale-elf): Add target.
1933 (xscale-coff): Add target.
1934 * configure: Regenerate.
1935
1936 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
1937 extenstion.
1938 (ARM_EXT_XSCALE): New ARM architecture extension.
1939 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
1940 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
1941 (ARM_THUMB): Rename to ARM_EXT_THUMB.
1942 (ARM_ARCH_V4): Remove processor from architecture.
1943 (ARM_ARCH_3M): New architecutre definition.
1944 (ARM_ARCH_V5TE): New architecutre definition.
1945 (ARM_ARCH_XSCALE): New architecutre definition.
1946 (CPU_DEFAULT): Allow to be defaulted to XScale.
1947 (atpcs): New boolean variable.
1948 (ldr_flags): Support 'd' flag for double word loads.
1949 (str_flags): Support 'd' flag for double word stored.
1950 (do_mia): New function.
1951 (do_mar): New function.
1952 (do_mra): New function.
1953 (do_pld): New function.
1954 (do_ldrd): New function.
1955 (do_blx): New function.
1956 (do_bkpt): New function.
1957 (do_clz): New function.
1958 (do_lstc2): New function.
1959 (do_cdp2): New function.
1960 (do_t_blx): New function.
1961 (do_t_bkpt): New function.
1962 (do_smla): New function.
1963 (do_smlal): New function.
1964 (do_smul): New function.
1965 (do_qadd): New function.
1966 (do_co_reg2c): New function.
1967 (LONGEST_INSN): Redefine to 7.
1968
1969 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
1970 command line switches.
1971
2434f565
JW
19722000-11-22 Jim Wilson <wilson@redhat.com>
1973
1974 * config/tc-ia64.c (pseudo_func): Add missing initializers.
1975 (struct rsrc): Make line unsigned.
1976 (gr_values): Add missing initializer.
1977 (SLOT_NUM_NOT_SET): Add unsigned cast.
1978 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
1979 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
1980 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
1981 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
1982 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
1983 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
1984 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
1985 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
1986 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
1987 Add ATTRIBUTE_UNUSED to unused parameters.
1988 (convert_expr_to_ab_reg): Add parens.
1989 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
1990 (dot_prologue): Initialize grsave when declared.
1991 (md_pseudo_table): Add missing initializers.
1992 (operand_match): Add casts to bfd_vma.
1993 (emit_one_bundle): Delete unused local prev. Make required_template
1994 unsigned.
1995 (specify_resource): Cast i to unsigned.
1996 (note_register_values): Use fprintf_vma.
1997 (print_dependency): Likewise.
1998
5a080f89
JW
19992000-11-21 Jim Wilson <wilson@redhat.com>
2000
5e7474a7
JW
2001 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
2002 for unwind info section.
2003 (dot_endp): Likewise for unwind section.
2004
5a080f89
JW
2005 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
2006 fix_new_exp.
2007
732d96b6
JJ
20082000-11-21 Jakub Jelinek <jakub@redhat.com>
2009
2010 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
2011 (output_insn): Call dwarf2_emit_insn.
b8e904dc 2012 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
732d96b6 2013
6d2cf69f
RH
20142000-11-17 Richard Henderson <rth@redhat.com>
2015
2016 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
2017 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
2018 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
2019
8179bd9b
NC
20202000-11-17 Nick Clifton <nickc@redhat.com>
2021
2022 * config/tc-arm.c (md_pseudo_table): Add support for .line and
2023 .file pseudo ops.
2024
316e2c05
RH
20252000-11-17 Richard Henderson <rth@redhat.com>
2026
2027 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
2028
a8316fe2
RH
20292000-11-17 Richard Henderson <rth@redhat.com>
2030
2031 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
50705ef4 2032 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
a8316fe2
RH
2033 tri-state definition of alpha_flag_mdebug.
2034 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
2035 (s_alpha_file): Store first .file directive.
2036 (s_alpha_stab): New.
2037 (md_pseudo_table): Add stabs and stabn.
2038
e346e481
RH
20392000-11-17 Richard Henderson <rth@redhat.com>
2040
2041 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
2042
4dc7ead9
RH
20432000-11-17 Richard Henderson <rth@redhat.com>
2044
2045 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
39bb5fe6 2046 (main): Call dwarf2_finish.
4dc7ead9
RH
2047 * as.h (debug_type): Clarify documentation of the meaning
2048 of this variable.
2049 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
2050 (print_stats): Fix parenthesis problem.
2051 (now_subseg_size): New.
2052 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
2053 (dwarf2_directive_file): Don't set debug_type.
2054 (dwarf2_where): Honor DEBUG_DWARF2 first.
2055 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
2056 do nothing if not emitting dwarf2 debug info, or no work.
2057 * dwarf2dbg.h (dwarf2_emit_insn): Update.
2058 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
2059 (ecoff_new_file): Likewise.
2060 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
2061 commentary wrt dwarf2.
2062
2063 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
2064 ATTRIBUTE_UNUSED as needed.
2065 (emit_insn): Call dwarf2_emit_insn.
2066 (s_alpha_file): New.
2067 (s_alpha_loc): New.
2068 (s_alpha_coff_wrapper): Don't handle them.
2069 (md_pseudo_table): Update for .file and .loc.
2070 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2071
2072 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
2073 don't protect with debug_type.
2074 * config/tc-hppa.c (md_assemble): Likewise.
2075 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
2076 * config/tc-mn10300.c (md_assemble): Likewise.
2077 * config/tc-sh.c (md_assemble): Likewise.
2078 * config/tc-v850.c (md_assemble): Likewise.
2079
2080 * config/tc-arm.c (arm_end_of_source): Remove.
2081 * config/tc-hppa.c (pa_end_of_source): Remove.
2082 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
2083 * config/tc-mn10300.c (mn10300_finalize): Remove.
2084 * config/tc-sh.c (sh_finalize): Remove.
2085 * config/tc-v850.c (sh_finalize): Remove.
2086
2087 * config/tc-arm.h (md_end): Remove.
2088 * config/tc-hppa.h (md_end): Remove.
2089 (DWARF2_LINE_MIN_INSN_LENGTH): New.
2090 * config/tc-m68hc11.h (md_end): Remove.
2091 * config/tc-mn10300.h (md_end): Remove.
2092 * config/tc-sh.h (md_end): Remove.
2093 * config/tc-v850.h (md_end): Remove.
2094
2095 * config/tc-ia64.c (emit_one_bundle): Don't protect
2096 dwarf2 bits with debug_type.
2097 (md_assemble): Likewise.
2098 (ia64_end_of_source): Don't call dwarf2_finish.
2099
ca683b78
JW
21002000-11-16 Jim Wilson <wilson@redhat.com>
2101
2102 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
2103 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
2104 > 16.
2105
6f620856
L
21062000-11-16 H.J. Lu <hjl@gnu.org>
2107
2108 * config/obj-elf.c (obj_elf_symver): Don't check the missing
2109 version name.
2110
19d63e5d
KH
21112000-11-15 Kazu Hirata <kazu@hxi.com>
2112
2113 * config/tc-tic30.c: Fix formatting.
2114 * config/tc-tic80.c: Likewise.
2115 * config/tc-v850.c: Likewise.
2116 * config/tc-vax.c: Likewise.
2117 * config/tc-w65.c: Likewise.
2118 * config/tc-z8k.c: Likewise.
2119
a8761a19
DD
21202000-11-14 DJ Delorie <dj@redhat.com>
2121
2122 * config/tc-v850.c: Support dwarf2.
2123 * config/tc-v850.h: Ditto.
2124
2125 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
2126 parse_cons_expression_v850 to initialize hold_cons_reloc.
50705ef4 2127
88be23ec
BS
21282000-11-15 Bernd Schmidt <bernds@redhat.com>
2129
29184774 2130 * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
88be23ec
BS
2131 (errata_nops_necessary_p): New function.
2132 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
2133 md.
2134
72a76794
JW
21352000-11-14 Jim Wilson <wilson@redhat.com>
2136
2137 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
2138 return little endian bfd formats.
2139
4a1805b1
KH
21402000-11-14 Kazu Hirata <kazu@hxi.com>
2141
2142 * config/aout_gnu.h: Fix formatting.
2143 * config/atof-vax.c: Likewise.
2144 * config/m68k-parse.h: Likewise.
2145 * config/m88k-opcode.h: Likewise.
2146 * config/obj-elf.c: Likewise.
2147 * config/tc-arm.c: Likewise.
2148 * config/tc-cris.c: Likewise.
2149 * config/tc-i386.c: Likewise.
2150 * config/tc-ia64.c: Likewise.
2151 * config/tc-mn10300.c: Likewise.
2152 * config/te-386bsd.h: Likewise.
2153 * config/te-hppa.h: Likewise.
2154 * config/te-nbsd.h: Likewise.
2155 * config/te-ppcnw.h: Likewise.
2156 * config/te-sparcaout.h: Likewise.
2157 * config/te-tmips.h: Likewise.
2158 * config/vax-inst.h: Likewise.
2159 * config/vms-conf.h: Likewise.
2160
c810873d
JJ
21612000-11-14 Jakub Jelinek <jakub@redhat.com>
2162
2163 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
2164
79082ff0
L
21652000-11-13 H.J. Lu <hjl@gnu.org>
2166
2167 * config/obj-elf.c (elf_frob_symbol): Support
2168 ".symver name,name2@@@nodename".
2169 (elf_frob_file_before_adjust): Likewise.
2170
2171 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
2172 and ".symver name,name2@@@nodename".
2173 Fix a typo.
2174
1da00eb4
L
21752000-11-12 H.J. Lu (hjl@gnu.org)
2176
2177 * config/obj-elf.c (obj_elf_symver): Check missing version
2178 name.
2179
f585997b
L
21802000-11-12 H.J. Lu (hjl@gnu.org)
2181
2182 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
2183 instead of bfd_vma for non-bfd assemblers.
2184
ef5c4bfc
KH
21852000-11-09 Kazu Hirata <kazu@hxi.com>
2186
2187 * itbl-ops.c: Fix comment typos.
2188
f5a30c2e
JW
21892000-11-08 Jim Wilson <wilson@redhat.com>
2190
2191 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
2192 (struct unwind): Add next_slot_frag field.
2193 (slot_index): New parameters slot_frag and first_frag. Add code
2194 to add in frag sizes when different. Add comments.
2195 (fixup_unw_records): New locals first_frag and last_frag. Pass new
2196 arguments to slot_index.
2197 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
2198 loop end. Set next_slot_frag field.
2199
339681c0
L
22002000-11-07 H.J. Lu <hjl@gnu.org>
2201
2202 * doc/as.texinfo (.symver): Updated for versioned symbol
2203 reference.
2204
2205 * obj.h (format_ops): Add the frob_file_before_adjust field.
2206
2207 * config/obj-aout.c (aout_format_ops): Set the
2208 frob_file_before_adjust field to 0.
2209 * config/obj-coff.c (coff_format_ops): Likewise.
2210 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
2211
2212 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
2213 name.
2214 (elf_frob_file_before_adjust): New function to remove unneeded
2215 versioned symbols from the symbol table.
2216 (elf_format_ops): Set the frob_file_before_adjust field to
2217 elf_frob_file_before_adjust.
2218
2219 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
2220 not defined.
2221
2222 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
2223
4a314ec8
NC
22242000-11-07 Peter Targett <peter.targett@arccores.com>
2225
2226 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
2227 BIG_ENDIAN macros.
2228 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
2229 Fix compile time warning messages.
50705ef4 2230
604d524f
NC
22312000-11-07 Nick Clifton <nickc@redhat.com>
2232
2233 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
2234 buffer in order to avoid buffer overflows.
2235
44f5c83a
JW
22362000-11-06 Steve Ellcey <sje@cup.hp.com>
2237
2238 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
2239 Change M to m for -milp32 or -mlp64 to match gcc.
2240 (dot_endp): Use bytes_per_address instead of 8.
2241 (emit_one_bundle): Use number_to_chars_littleendian instead of
2242 md_number_to_chars.
2243 (fix_insn): Likewise.
2244 (ia64_init): New function.
2245 (ia64_target_format): New function.
2246 (md_begin): Set endianness, arch, and machine as appropriate.
2247 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
2248 Make these macros depend on TE_HPUX macro.
2249 (TARGET_FORMAT): Define.
2250 (HOST_SPECIAL_INIT): Define.
2251 * config/te-hpux.h: New file.
2252 * configure.in: Add "ia64-*-hpux*" target to configure.
2253 * configure: Regenerate.
50705ef4 2254
7152f1dc
KH
22552000-11-06 Kazu Hirata <kazu@hxi.com>
2256
ef99799a
KH
2257 * as.c: Fix formatting.
2258 * dwarf2dbg.c: Likewise.
2259 * input-file.c: Likewise.
7152f1dc
KH
2260 * input-file.h: Likewise.
2261 * input-scrub.c: Likewise.
ef99799a
KH
2262 * itbl-ops.c: Likewise.
2263 * listing.c: Likewise.
2264 * macro.h: Likewise.
2265 * messages.c: Likewise.
2266 * read.c: Likewise.
2267 * subsegs.c: Likewise.
2268 * subsegs.h: Likewise.
2269 * write.c: Likewise.
7152f1dc 2270
cf055d54
NC
22712000-11-06 Nick Clifton <nickc@redhat.com>
2272
2273 * doc/as.texinfo: Add GNU Free Documentation License.
2274 * doc/gasp.texi: Add GNU Free Documentation License.
2275 * doc/as.1: Add GNU Free Documentation License.
2276
8d6b5c8e
NC
22772000-11-05 Nick Clifton <nickc@redhat.com>
2278
2279 * config/tc-arm.c: Add include of "dwarf2dbg.h"
2280
59ff2774
NC
22812000-11-02 Per Lundberg <plundis@chaosdev.org>
2282
2283 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
2284 * configure: Regenerate.
2285
37d8bb27
NC
22862000-11-01 Nick Clifton <nickc@redhat.com>
2287
2288 * read.c (original_case_string): New global variable.
2289 (read_a_source_file): Copy opcode string into
2290 original_case_string if clobbering the case of the opcode.
2291 * read.h: Export the definition of original_case_string.
2292 * config/tc-arm.c (md_assembler): When parsing a .req
2293 directive use the original opcode string, not the case
2294 clobbered version.
2295
d75bb8cf
NC
22962000-11-02 Nick Clifton <nickc@redhat.com>
2297
2298 * config/tc-mn10300.c (debug_line): Remove this static
37d8bb27 2299 variable.
d75bb8cf
NC
2300 (md_assemble): Call dwarf2_generate_asm_lineno instead of
2301 dwarf2_where and dwarf2_gen_line_info.
2302
6c17cfe4
PB
23032000-11-02 Theo Honohan <th@futuretv.com>
2304
50705ef4 2305 * config/tc-arm.c (do_msr): Improve error message.
6c17cfe4 2306
c51ce5f0
EC
23072000-10-31 Eric Christopher <echristo@redhat.com>
2308
2309 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
2310 or pc-relative, else use fx_offset.
2311
f1bcba5b
JW
23122000-10-31 Jim Wilson <wilson@redhat.com>
2313
2314 * config/tc-ia64.c (struct md): New field tag_fixups.
2315 (ia64_flush_insns): Handle tag_fixups. Error if dangling
2316 qualifying predicate.
2317 (emit_one_bundle): Delete spurious multiplication by one. Handle
2318 tag_fixups.
2319 (ia64_start_line): Error if dangling qualifying predicate.
2320 (defining_tag): New static variable.
2321 (ia64_unrecognized_line, case '['): Parse tags.
2322 (ia64_frob_label): Create tag_fixups.
2323 (md_assemble): Reset md.qp.X_op after using it.
c51ce5f0 2324
8637c045
AM
23252000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2326
2327 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
2328
ebeeafe6
BS
23292000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
2330
29184774 2331 * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
ebeeafe6 2332
b041f888
KH
23332000-10-30 Kazu Hirata <kazu@hxi.com>
2334
2335 * expr.c: Fix formatting.
2336 * flonum-copy.c: Likewise.
2337 * flonum.h: Likewise.
2338 * gasp.c: Likewise.
2339 * hash.c: Likewise.
2340
d8374dcd
HPN
23412000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2342
2343 * as.h (OPTION_MD_BASE): Bump to 190.
2344 * as.c (parse_args) <std_longopts>: Add comment about the need to
2345 check OPTION_MD_BASE in as.h.
2346
1308f14c
HPN
2347 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
2348 for weak symbols.
2349
6f6ef0fa
NC
23502000-10-27 Nick Clifton <nickc@redhat.com>
2351
2352 * configure.in (emulations): Add m68hc12.
2353 * configure: Regenerate.
2354 * po/gas.pot: Regenerate.
c51ce5f0 2355
bf1b5881
AH
23562000-10-27 Aldy Hernandez <aldyh@redhat.com>
2357
50705ef4
AM
2358 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
2359 cpsr*.
2360 (arm_psr_parse): Handle lowercase CPSR and SPSR.
bf1b5881 2361
85a39694
NC
23622000-10-25 Nick Clifton <nickc@redhat.com>
2363
2364 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
2365 a DWARF2 line number information sequence.
2366
2367 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
2368
2369 * read.c (generate_lineno_debug): Update comment describing why
2370 DWARF2 line number debug information is not generated
2371 automatically by this function.
2372
2373 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
2374 not all.
c51ce5f0 2375
85a39694
NC
2376 * config/tc-arm.h (md_end): Define.
2377 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
c51ce5f0 2378
85a39694
NC
2379 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
2380 if generating DWARF2 line numbers.
2381 (arm_end_of_source): New function. Call dwarf2_finish if
2382 necessary.
2383
2384 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
2385 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
2386 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
c51ce5f0 2387
cce0cbdc
DN
23882000-10-25 Diego Novillo <dnovillo@cygnus.com>
2389
29184774 2390 * config/tc-i386.c: Fix prototype declarations for functions taking no
cce0cbdc
DN
2391 arguments.
2392
64a0c779
DN
23932000-10-24 Diego Novillo <dnovillo@cygnus.com>
2394
29184774 2395 * config/tc-i386.c (i386_operand_modifier): Remove.
64a0c779
DN
2396 (build_displacement_string): Remove.
2397 (i386_parse_seg): Remove.
2398 (i386_intel_memory_operand): Remove.
2399 (i386_intel_operand): Re-write using recursive descent parser based
2400 on MASM documentation.
2401 (struct intel_parser_s): New structure.
2402 (intel_parser): New static variable.
2403 (struct intel_token): New structure.
2404 (cur_token, prev_token): New static variables.
2405 (T_NIL): Define.
2406 (T_CONST): Define.
2407 (T_REG): Define.
2408 (T_BYTE): Define.
2409 (T_WORD): Define.
2410 (T_DWORD): Define.
2411 (T_QWORD): Define.
2412 (T_XWORD): Define.
2413 (T_SHORT): Define.
2414 (T_OFFSET): Define.
2415 (T_PTR): Define.
2416 (T_ID): Define.
2417 (intel_match_token): New function.
2418 (intel_get_token): New function.
2419 (intel_putback_token): New function.
2420 (intel_expr): New function.
2421 (intel_e05): New function.
2422 (intel_e05_1): New function.
2423 (intel_e06): New function.
2424 (intel_e06_1): New function.
2425 (intel_e09): New function.
2426 (intel_e09_1): New function.
2427 (intel_e10): New function.
2428 (intel_e10_1): New function.
2429 (intel_e11): New function.
2430
19f7b010
JJ
24312000-10-20 Jakub Jelinek <jakub@redhat.com>
2432
2433 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
2434 instructions to loose any special insn->architecture mask.
2435
2436 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
2437 (sparc_md_end, sparc_arch_types, sparc_arch,
2438 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
2439 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
2440 request v9b architecture if they are used).
2441
3ae647a0
NC
24422000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2443
2444 * config/tc-m68k.c: Fix the previous misapplied patch.
2445
5cbdaa77
NC
24462000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2447
50705ef4
AM
2448 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
2449 BFD_ASSEMBLER and !BFD_ASSEMBLER.
2450 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
2451 BFD_RELOC_*.
5cbdaa77 2452
e6c774b4
KH
24532000-10-17 Kazu Hirata <kazu@hxi.com>
2454
2455 * debug.c: Fix formatting.
2456 * depend.c: Likewise.
2457 * dwarf2dbg.c: Likewise.
2458 * dwarf2dbg.h: Likewise.
2459 * ecoff.c: Likewise.
2460 * expr.c: Likewise.
2461 * expr.h: Likewise.
2462 * flonum-konst.c: Likewise.
2463 * frags.h: Likewise.
2464
ea20a7da
CC
24652000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2466
2467 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
2468 options.
2469 * doc/as.texinfo: Added notes about this new option.
2470
266cb5f1
HPN
24712000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
2472
2473 * config/tc-sh.c (JREG): Remove.
2474 (md_convert_frag): Remove #if 0:d code using JREG.
2475
6588847e
DN
24762000-10-15 Diego Novillo <dnovillo@cygnus.com>
2477
2478 * config/tc-i386.c (i386_operand_modifier): Only match
2479 modifiers SHORT and FLAT if they are followed by a space.
2480 (parse_register): When `allow_naked_reg' is set, do not confuse
2481 identifiers that start with a register name with a register.
2482
30a2b4ef
KH
24832000-10-12 Kazu Hirata <kazu@hxi.com>
2484
2485 * app.c: Fix formatting.
2486 * as.c: Likewise.
2487 * as.h: Likewise.
2488 * bit_fix.h: Likewise.
2489 * cgen.c: Likewise.
2490 * cgen.h: Likewise.
2491 * cond.c: Likewise.
2492
d01e2a23
AM
24932000-10-11 Alan Modra <alan@linuxcare.com.au>
2494
2495 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
2496
44852b19
AM
24972000-10-07 Alan Modra <alan@linuxcare.com.au>
2498
dc1fc56b
AM
2499 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
2500 Re-arrange function a little and improve error message.
2501
44852b19
AM
2502 * write.c (write_relocs): Fix a comment.
2503
2504 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
2505 link-once sections.
2506
afa680f8
JW
25072000-10-05 Jim Wilson <wilson@cygnus.com>
2508
2509 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
2510
ce8a8b2f
AM
25112000-10-05 Alan Modra <alan@linuxcare.com.au>
2512
2513 * config/tc-i386.c: Delete some useless comments, reformat others.
2514
2515 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
2516 non-global syms in linkonce sections.
2517
56d27c17
AM
25182000-10-04 Ralf Baechle <ralf@gnu.org>
2519
2520 * config/tc-ia64.c (operand_match): Don't use // style comments.
2521 * config/tc-i370.c: Likewise.
2522
7b15d668
HPN
25232000-09-29 Hans-Peter Nilsson <hp@axis.com>
2524
2525 Changes to handle varying register prefix and user symbol prefix.
2526 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
2527 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
2528 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
2529 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
2530 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
2531 (demand_register_prefix): New variable.
2532 (md_pseudo_table): New pseudo ".syntax".
2533 (md_longopts): New options --no-underscore and --underscore.
2534 (cris_target_format): Return elf32-us-cris or elf32-cris depending
2535 on symbols_have_leading_underscore.
2536 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
2537 (get_spec_reg): Ditto.
2538 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
2539 Fix formatting.
2540 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
2541 --help.
2542 <case OPTION_NO_US, case OPTION_US>: New.
2543 (md_show_usage): Be brief and reformat to match continuation of
2544 --help.
2545 * po/gas.pot: Regenerate.
2546
27df9f40
AM
25472000-09-28 Alan Modra <alan@linuxcare.com.au>
2548
2549 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
2550 force relocs for 12 bit branches.
2551 (md_apply_fix): Similarly, adjust logic here.
2552
5506e1a5
AM
25532000-09-28 Alan Modra <alan@linuxcare.com.au>
2554
2555 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
2556 adjust for external and weak syms as we will use a reloc. Allow
2557 for +8 offset when calculating limits of branches.
2558 (hppa_fix_adjustable): Undo 2000-09-23 change.
2559 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
2560 Correct distance calculation.
47d89dba
AM
2561 (tc_gen_reloc): Print the file name and line number if we can't
2562 handle a fixup.
5506e1a5
AM
2563
2564 From John David Anglin <dave@hiauly1.hia.nrc.ca>
2565 * config/tc-hppa.c (nonzero_dibits): Define.
2566 (arg_reloc_stub_needed): Check each arg and return value
2567 separately for zero case.
2568 (pa_align): Declare argument `bytes'.
2569
81d4177b
KH
25702000-09-25 Kazu Hirata <kazu@hxi.com>
2571
2572 * config/tc-cris.c: Fix formatting.
2573 * config/tc-d10v.h: Likewise.
2574 * config/tc-d30v.c: Likewise.
2575 * config/tc-d30v.h: Likewise.
2576 * config/tc-fr30.c: Likewise.
2577 * config/tc-fr30.h: Likewise.
2578 * config/tc-m68k.c: Likewise.
2579 * config/tc-m68k.h: Likewise.
2580 * config/tc-pj.h: Likewise.
2581 * config/tc-ppc.c: Likewise.
2582 * config/tc-ppc.h: Likewise.
2583 * config/tc-sh.c: Likewise.
2584 * config/tc-sh.h: Likewise.
2585 * config/tc-sparc.c: Likewise.
2586 * config/tc-v850.h: Likewise.
2587 * config/tc-vax.h: Likewise.
2588 * config/tc-w65.h: Likewise.
2589 * config/tc-z8k.h: Likewise.
2590
959ee541
AM
25912000-09-23 Alan Modra <alan@linuxcare.com.au>
2592
2593 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
2594 checks only for ELF.
2595 (hppa_force_relocation): Likewise.
2596
139368c9
JW
25972000-09-22 Jim Wilson <wilson@cygnus.com>
2598
2599 * config/tc-ia64.c (dv_sem): Add "stop".
2600 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
2601 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
2602 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
2603 match above.
2604 (mark_resources): Check IA64_RS_PRr.
2605
151337e8
NC
26062000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2607
56d27c17 2608 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
151337e8
NC
2609 md_estimate_size_before_relax): Redesign and clean up the
2610 relaxation mechanism.
2611
0b7410c4
KH
26122000-09-21 Kazu Hirata <kazu@hxi.com>
2613
2614 * config/tc-ns32k.c: Fix formatting.
2615 * config/tc-ns32k.h: Likewise.
2616
a4d24084
KH
26172000-09-20 Kazu Hirata <kazu@hxi.com>
2618
82efde3a
KH
2619 * config/tc-m32r.c: Fix formatting.
2620 * config/tc-m32r.h: Likewise.
2621 * config/tc-m68851.h: Likewise.
2622 * config/tc-m68hc11.c: Likewise.
2623 * config/tc-m68hc11.h: Likewise.
2624 * config/tc-m88k.c: Likewise.
2625 * config/tc-mcore.c: Likewise.
a75214e5 2626 * config/tc-mcore.h: Likewise.
82efde3a
KH
2627 * config/tc-mips.c: Likewise.
2628 * config/tc-mips.h: Likewise.
2629 * config/tc-mn10200.h: Likewise.
2630 * config/tc-mn10300.h: Likewise.
a75214e5 2631 * config/tc-tahoe.c: Likewise.
a4d24084
KH
2632 * config/tc-tahoe.h: Likewise.
2633
4844386e 26342000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
2635
2636 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
2637 Likewise in relaxation description comments.
2638
9e754211
AM
26392000-09-18 Alan Modra <alan@linuxcare.com.au>
2640
2641 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
2642 subtraction of two syms without emitting a relocation.
2643
2644 From David Huggins-Daines <dhd@linuxcare.com>
2645 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
2646 global or weak symbols.
2647
4a4f25cf
KH
26482000-09-15 Kazu Hirata <kazu@hxi.com>
2649
2650 * config/tc-h8300.h: Fix formatting.
2651 * config/tc-h8500.c: Likewise.
2652 * config/tc-h8500.h: Likewise.
2653 * config/tc-hppa.h: Likewise.
2654 * config/tc-i370.h: Likewise.
2655 * config/tc-i386.h: Likewise.
2656 * config/tc-i860.c: Likewise.
2657 * config/tc-i860.h: Likewise.
2658 * config/tc-i960.h: Likewise.
2659 * config/tc-ia64.c: Likewise.
2660 * config/tc-ia64.h: Likewise.
2661
1dab94dd
KH
26622000-09-14 Kazu Hirata <kazu@hxi.com>
2663
2664 * config/tc-a29k.c: Fix formatting.
2665 * config/tc-alpha.c: Likewise.
2666 * config/tc-arc.c: Likewise.
2667 * config/tc-arc.h: Likewise.
2668 * config/tc-arm.c: Likewise.
2669 * config/tc-arm.h: Likewise.
2670 * config/tc-avr.c: Likewise.
2671 * config/tc-avr.h: Likewise.
2672 * config/tc-tic30.c: Likewise.
2673 * config/tc-tic30.h: Likewise.
2674 * config/tc-tic54x.c: Likewise.
2675 * config/tc-tic54x.h: Likewise.
2676 * config/tc-tic80.c: Likewise.
2677 * config/tc-tic80.h: Likewise.
2678
7484b8e6
TW
26792000-09-14 Timothy Wall <twall@cygnus.com>
2680
2681 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
2682 parallel comparisons for later use.
2683 (struct rsrc): Add parallel comparison type.
2684 (resources_match): Skip special cases of PR usage (non-conflicting
2685 parallel compares).
56d27c17 2686
bf514e21
KH
26872000-09-13 Kazu Hirata <kazu@hxi.com>
2688
2689 * config/obj-ecoff.c: Fix formatting.
2690 * config/obj-elf.c: Likewise.
2691 * config/obj-elf.h: Likewise.
2692 * config/obj-evax.h: Likewise.
2693 * config/obj-generic.h: Likewise.
2694 * config/obj-hp300.c: Likewise.
2695 * config/obj-hp300.h: Likewise.
2696 * config/obj-ieee.h: Likewise.
2697 * config/obj-vms.c: Likewise.
2698 * config/obj-vms.h: Likewise.
2699
156c2f8b 27002000-09-13 Anders Norlander <anorland@acc.umu.se>
56d27c17 2701
50705ef4
AM
2702 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
2703 (md_parse_option): Ditto.
2704 (md_longopts): Add -mips32 option.
2705 (md_show_usage): Document new options.
2706 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
2707 (mips_ip): Assemble mfc0 with a sub-selection code.
2708 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
156c2f8b
NC
2709 (mips_cpu_to_str): New function.
2710 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
2711 Use CPU_* defines instead of hardcoded numbers.
2712
50705ef4
AM
2713 * doc/as.texinfo: Document new options.
2714 * doc/c-mips.texi: Ditto.
156c2f8b 2715
a01b9fa4
KH
27162000-09-12 Kazu Hirata <kazu@hxi.com>
2717
2718 * as.h: Fix formatting.
2719 * asintl.h: Likewise.
2720 * bit_fix.h: Likewise.
dcd619be
KH
2721 * config/obj-aout.c: Likewise.
2722 * config/obj-aout.h: Likewise.
2723 * config/obj-bout.c: Likewise.
2724 * config/obj-bout.h: Likewise.
2725 * config/obj-coff.c: Likewise.
2726 * config/obj-coff.h: Likewise.
a01b9fa4
KH
2727 * dwarf2dbg.h: Likewise.
2728 * expr.h: Likewise.
2729 * flonum.h: Likewise.
2730 * frags.h: Likewise.
2731 * itbl-ops.h: Likewise.
2732 * macro.h: Likewise.
2733 * read.h: Likewise.
2734 * sb.h: Likewise.
2735 * struc-symbol.h: Likewise.
2736 * subsegs.h: Likewise.
2737 * symbols.h: Likewise.
2738 * tc.h: Likewise.
2739 * write.h: Likewise.
2740
92774660
KH
27412000-09-11 Kazu Hirata <kazu@hxi.com>
2742
f0e652b4
KH
2743 * bignum-copy.c: Fix formatting.
2744 * config/tc-i370.c: Likewise.
92774660
KH
2745 * config/tc-i960.c: Likewise.
2746 * config/tc-m68k.c: Likewise.
f0e652b4
KH
2747 * ehopt.c: Likewise.
2748 * flonum-copy.c: Likewise.
2749 * flonum-konst.c: Likewise.
2750 * flonum-mult.c: Likewise.
2751 * literal.c: Likewise.
2752 * read.c: Likewise.
2753 * sb.c: Likewise.
2754 * stabs.c: Likewise.
2755 * subsegs.c: Likewise.
92774660 2756
222f8079
PB
27572000-09-09 Philip Blundell <philb@gnu.org>
2758
2759 * configure.in (arm*-*-uclinux*): New target.
2760 * configure: Regenerate.
2761
c488923f
KH
27622000-09-09 Kazu Hirata <kazu@hxi.com>
2763
2764 * input-file.c: Fix formatting.
2765 * itbl-ops.c: Likewise.
2766 * messages.c: Likewise.
2767
e0e3ecca
PB
27682000-09-08 Philip Blundell <philb@gnu.org>
2769
2770 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
2771 offset is negative.
2772
5d64ca4e
L
27732000-09-07 H.J. Lu <hjl@gnu.org>
2774
2775 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2776 * configure: Rebuild.
2777
bdaaa2e1
KH
27782000-09-07 Kazu Hirata <kazu@hxi.com>
2779
e49bc11e
KH
2780 * atof-generic.c: Fix formatting.
2781 * config/tc-mips.c: Likewise.
e13b337a
KH
2782 * config/tc-vax.c: Likewise.
2783 * input-scrub.c: Likewise.
bdaaa2e1 2784
d07ed2cd
AO
27852000-09-07 Alexandre Oliva <aoliva@redhat.com>
2786
2787 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
2788 * configure.in (sh-*-linux*): Added.
2789 * configure: Rebuilt.
2790
86905619
KH
27912000-09-06 Kazu Hirata <kazu@hxi.com>
2792
a28a3ccf
JL
2793 * config/tc-hppa.c: Fix formatting.
2794
86905619
KH
2795 * ecoff.c: Fix formatting.
2796
58cccadb
AO
27972000-09-06 Alexandre Oliva <aoliva@redhat.com>
2798
2799 * configure: Rebuilt with new libtool.m4.
2800
542d6675
KH
28012000-09-05 Kazu Hirata <kazu@hxi.com>
2802
2803 * cgen.c: Fix formatting.
2804 * config/tc-ia64.c: Likewise.
2805
5b343f5a
NC
28062000-09-05 Nick Clifton <nickc@redhat.com>
2807
2808 * aclocal.m4: Regenerate.
2809 * config.in: Regenerate.
2810 * configure: Regenerate.
2811 * po/gas.pot: Regenerate.
50bbae35 2812
07e90ad5
HPN
28132000-09-05 Hans-Peter Nilsson <hp@axis.com>
2814
2815 * config/tc-cris.c: Correct comment typos.
2816
1485d400
EC
28172000-09-05 Eric Christopher <echristo@cygnus.com>
2818
2819 * config/tc-mn10300.c: Cleanup.
2820 (md_pcrel_from): Enable.
2821
904a31bf
AM
28222000-09-05 Alan Modra <alan@linuxcare.com.au>
2823
927781e2
AM
2824 * expr.c (operand): Fix a comment typo.
2825 * write.c (write_relocs): Fix a signed/unsigned warning.
2826
ecacdc7a
AM
2827 * config/tc-hppa.c (fudge_reg_expressions): New
2828 (hppa_force_reg_syms_absolute): New.
2829 (pa_equ): Allow reg_section expressions.
2830 * config/tc-hppa.c (md_optimize_expr): Define.
2831 (hppa_force_reg_syms_absolute): Prototype.
2832
2833 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
2834 (pa_parse_number): Pass in arg to select fp reg parsing.
2835 Return 1 to indicate format checks pass. If strict, then only
2836 accept a register or register symbol. Return value in...
2837 (pa_number): New static for pa_parse_number.
2838 (FP_REG_BASE): Define.
2839 (FP_REG_RSEL): Define.
2840 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
2841 appropriate. White space changes.
2842 (need_pa11_opcode): Don't bother passing any params, get them from
2843 globals instead.
2844 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
2845 Remove extraneous check in case 'Q'.
2846 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
2847 reg, set section of resulting symbol to reg_section.
2848 (pa_parse_space_stmt): Modify call to pa_parse_number.
2849 (pa_space): Likewise.
2850
904a31bf
AM
2851 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
2852 (hppa_force_relocation): Handle vtable relocs.
2853 (pa_vtable_entry): New.
2854 (pa_vtable_inherit): New.
2855 (md_pseudo_table): Add entries for vtable pseudos.
2856 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
2857 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
2858 against weak syms.
2859 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
2860 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
2861 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
2862 millicode import.
2863 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
2864 specify a symbol type.
2865
2866 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
2867 dependent things together.
2868 (md_elf_symbol_type): Define.
2869
2870 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
2871 symbol.
2872 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
2873
2874 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
2875 (obj_elf_vtable_entry): Declare.
2876
2877 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
2878 and export function.
2879 (obj_elf_vtable_entry): Similarly.
2880 (elf_pseudo_table): Fix the damage with a cast.
2881
a47cf567 28822000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
2883
2884 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
2885 for template selection when a label is needed.
2886
197865e8
KH
28872000-09-02 Kazu Hirata <kazu@hxi.com>
2888
2889 * config/tc-ia64.c: Fix formatting.
2890
18e03609
NC
28912000-09-02 Nick Clifton <nickc@redhat.com>
2892
2893 * configure.in: Increase version number to 2.10.91.
2894 * configure: Regenerate.
2895 * aclocal.m4: Regenerate.
2896 * config.in: Regenerate.
2897 * po/gas.pot: Regenerate.
2898 * Makefile.in: Regenerate.
1485d400 2899
a1cc9221
AO
29002000-09-01 Alexandre Oliva <aoliva@redhat.com>
2901
2902 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
2903 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
2904 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
2905 similar relocs.
2906 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
2907 branches.
2908
29092000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
2910
2911 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
2912 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
2913 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
2914 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
2915 (GOT_symbol): New variable.
2916 (md_undefined_symbol): Set it.
2917
44576e1f
RH
29182000-09-01 Richard Henderson <rth@cygnus.com>
2919
2920 * config/tc-ia64.c (match): Don't inline.
2921 (extra_goodness): New.
2922 (md_begin): Prefer nop.f and nop.b for best_template.
2923
29f8404c
KH
29242000-08-31 Kazu Hirata <kazu@hxi.com>
2925
76b0a8c0
KH
2926 * as.c: Fix formatting.
2927 * cond.c: Likewise.
2928 * frags.c: Likewise.
29f8404c
KH
2929 * macro.c: Likewise.
2930
b4c1ea07
EC
29312000-08-31 Eric Christopher <echristo@cygnus.com>
2932
2933 * config/tc-mn10300.c: Cleanup and fix warnings.
2934 (md_pseudo_table): Add initializers.
2935 (md_show_usage): Cleanup.
2936 (md_parse_option): Fix warnings.
2937 (md_undefined_symbol): Fix warnings.
2938 (md_conver_frag): Fix warnings.
2939 (tc_gen_reloc): Fix warnings.
2940 (md_apply_fix3): Fix warnings.
2941 (check_operand): Fix warnings.
2942
ac48eca1
AO
29432000-08-31 Alexandre Oliva <aoliva@redhat.com>
2944
2945 * acinclude.m4: Include libtool and gettext macros from the
2946 top level.
2947 * aclocal.m4, configure: Rebuilt.
2948
e0c21649
GK
29492000-08-30 Mark Hatle <mhatle@mvista.com>
2950
2951 * config/tc-ppc.c (md_parse_option): Recognize -m405.
2952
cf39a089
KH
29532000-08-31 Kazu Hirata <kazu@hxi.com>
2954
2955 * listing.c: Fix formatting.
2956
3ee4defc
KH
29572000-08-29 Kazu Hirata <kazu@hxi.com>
2958
2959 * app.c: Fix a comment typo. Fix formatting.
2960
1e8d20f4
NC
29612000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2962
29184774 2963 * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative
50bbae35
AM
2964 offset of the target destination for jmp instructions.
2965 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 2966
5bcac8a4
HPN
29672000-08-24 Hans-Peter Nilsson <hp@axis.com>
2968
2969 * NEWS: Mention support for CRIS.
2970
46547ecc
DC
2971Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
2972
2973 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
2974 Sets `.lcomm' alignment to zero.
2975
4b853faa
AO
29762000-08-23 Alexandre Oliva <aoliva@redhat.com>
2977
29184774
NC
2978 * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF,
2979 TC_FIX_ADJUSTABLE): Define.
4b853faa 2980
efcc5914
JW
29812000-08-23 Jim Wilson <wilson@cygnus.com>
2982
2983 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
2984 unwind.personality_routine is set.
2985
aca719bf
AO
29862000-08-23 H.J. Lu <hjl@gnu.org>
2987
2988 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
2989
a3da4de1
AO
29902000-08-23 Alexandre Oliva <aoliva@redhat.com>
2991
2992 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
2993 environment is pe.
2994
56385375
L
29952000-08-22 H.J. Lu <hjl@gnu.org>
2996
2997 * config.in (STRICTCOFF): New for strict COFF.
2998
2999 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
3000 i386-*-go32* and i386-go32-rtems*.
3001 * configure: Rebuilt.
3002
3003 * config/obj-coff.c (obj_coff_endef): Follow the historical
3004 behavior if STRICTCOFF is not defined.
3005
3006 * doc/internals.texi: Document STRICTCOFF.
3007
8f36cd18
AO
30082000-08-22 Alexandre Oliva <aoliva@redhat.com>
3009
3010 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
3011 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
3012 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
3013 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
3014 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
3015 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
3016 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
3017 Likewise.
3018
58a77e41
EC
30192000-08-22 Eric Christopher <echristo@cygnus.com>
3020
3021 * config/tc-mn10300.c: (md_apply_fix): New function.
3022 (mn10300_force_relocation): New function.
3023 (mn10300_fix_adjustable): New function.
3024
3025 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
3026 (TC_HANDLES_FX_DONE): Define.
3027 (obj_fix_adjustable): Define.
3028 (MD_APPLY_FIX3): Define.
3029 (TC_LINKRELAX_FIXUP): Define.
3030
3031 * write.c: (TC_LINKRELAX_FIXUP): Define if not
3032 previously defined.
3033 (fixup_segment): Use TC_LINKRELAX_FIXUP.
3034
3035 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
3036
ded0649c
JE
30372000-08-21 Jason Eckhardt <jle@cygnus.com>
3038
3039 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
3040 if the fixup resulted in a relocation.
3041
66102fe2
NC
30422000-08-18 Nick Clifton <nickc@redhat.com>
3043
3044 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
3045 Make reference to first element of shift_names explicit.
3046
02198638
AO
30472000-08-18 Alexandre Oliva <aoliva@redhat.com>
3048
3049 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
3050 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
3051 add a symbol's address. Removed all target-specific #ifdefs that
3052 used to accomplished the same.
3053 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3054 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3055 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3056 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3057 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3058
353e2c69
KH
30592000-08-17 Kazu Hirata <kazu@hxi.com>
3060
3061 * dwarf2dbg.c: Fix formatting.
3062
4fb7971f
NC
30632000-08-17 Nick Clifton <nickc@redhat.com>
3064
3065 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
3066 to be recoded as logical shift lefts by zero.
3067
50b81f19
JW
30682000-08-16 Jim Wilson <wilson@cygnus.com>
3069
3070 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
3071 postincrement modified registers. Handle IA64_OPND_R3_2 addl
3072 source registers.
3073 (note_register_values): Handle IA64_OPND_R3_2 operands.
3074
f869cfc6
JE
30752000-08-16 Jason Eckhardt <jle@cygnus.com>
3076
50bbae35 3077 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 3078
8cb8bcba
NC
30792000-08-16 Nick Clifton <nickc@redhat.com>
3080
3081 * config/tc-arm.c (struct asm_shift): Delete.
3082 (shift[]): Delete.
3083 (enum asm_shift_index): New.
3084 (struct asm_shift_properties): New.
3085 (struct asm_shift_name): New.
3086 (shift_properties[]); New.
3087 (shift_names[]); New.
3088
3089 (decode_shift): Use new structures.
3090 Issue a warning is "ROR #0" is used.
3091 Issue a warning if "ASR #0" or "LSR #0" is used.
3092
3093 (md_begin): Initialise arm_shift_hsh table from new
3094 asm_shift_name array.
3095
c2158c24
JJ
30962000-08-16 Jakub Jelinek <jakub@redhat.com>
3097
3098 * config/tc-sparc.c: Kill all warnings.
3099 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
3100 in -xarch= as well.
3101 (md_show_usage): Update usage text.
3102
70485b5c
NC
31032000-08-16 Nick Clifton <nickc@redhat.com>
3104
c2158c24 3105 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
3106 useful.
3107
a47cf567 31082000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
3109
3110 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
3111
3112 * config/tc-sh.c (md_assemble): Changed so debug_type
3113 test performed for ppi_assemble
3114 * config/tc-sh.c: Included dwarf2dbg.h.
3115 (debug_line): Defined.
3116 (md_assemble): Generates dwarf2 line info.
3117 (sh_finalize): New function. Finalize dwarf2 info.
3118 (assemble_ppi): Returns size of code generated.
3119 (build_Mytes): Returns size of code generated.
3120 (md_pseudo_table): Added "file" and "loc" psuedo ops.
3121 * config/tc-sh.h (md_end): Defined.
3122 (sh_finalize): Declared.
3123
1db77c8e
AO
31242000-08-15 Alexandre Oliva <aoliva@redhat.com>
3125
3126 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
3127 md_number_to_chars.
3128
046b3b54
NC
31292000-08-14 Nick Clifton <nickc@redhat.com>
3130
3131 * config/tc-arm.c (do_bx): Allow "bx pc".
3132
c43c2cc5
JW
31332000-08-14 Jim Wilson <wilson@cygnus.com>
3134
3135 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
3136 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
3137 (md_begin): Change assignment to md.flag to OR in the new bit.
3138
d1d8ba22
NC
31392000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
3140
3141 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
50705ef4
AM
3142 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
3143 C_MOU, and C_EOS.
d1d8ba22 3144
22b36938
JE
31452000-08-14 Jason Eckhardt <jle@cygnus.com>
3146
3147 * NEWS: Mention i860 support.
3148
c0bd0db2
JL
3149Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
3150
3151 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3152
0ac658b8
AS
31532000-08-14 Andreas Schwab <schwab@suse.de>
3154
3155 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
3156
9fc2dda2
JE
31572000-08-11 Andreas Schwab <schwab@suse.de>
3158
3159 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
3160 argument.
3161
bc4466dc
KH
31622000-08-11 Kazu Hirata <kazu@hxi.com>
3163
3164 * expr.c: Fix formatting.
351aa9f6 3165 * config/obj-bout.c: Likewise.
bc4466dc 3166
a9c99419
JE
31672000-08-10 Jason Eckhardt <jle@cygnus.com>
3168
3169 * doc/c-i860.texi: Flesh out the i860 section more.
3170
7c743825
KH
31712000-08-10 Kazu Hirata <kazu@hxi.com>
3172
3173 * symbols.c: Fix formatting.
929b12bc 3174 * expr.c: Likewise.
7c743825 3175
fa2255cb
DN
3176Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
3177
29184774
NC
3178 * config/tc-i386.c (md_assemble): Skip suffix check if the opcode
3179 modifier has the IgnoreSize bit set.
fa2255cb 3180
fc997f4b
AM
31812000-08-09 Alan Modra <alan@linuxcare.com.au>
3182
3183 From Rodney Brown <RodneyBrown@mynd.com>
3184 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
3185 * configure: Regenerate.
3186
a47cf567
NC
31872000-08-09 Kazu Hirata <kazu@hxi.com>
3188
3189 * hash.c: Fix formatting.
3190 * gasp.c: Likewise.
3191
305d537e
JE
31922000-08-08 Jason Eckhardt <jle@cygnus.com>
3193
3194 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
3195 (i860_fix_info): New enum.
3196 (MD_APPLY_FIX3): Define.
3197 (WORKING_DOT_WORD): Define.
3198 (TC_HANDLES_FX_DONE): Define.
3199 (DIFF_EXPR_OK): Define.
3200 (LISTING_HEADER): Define.
3201 (TARGET_FORMAT): Select target format based on endian flag.
3202 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
3203 (target_big_endian): Add external declaration.
3204
3205 * config/tc-i860.c: All existing code reworked completely. Other
3206 new code shown below.
3207 (SYNTAX_SVR4): Define.
3208 (target_warn_expand): New variable.
3209 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
3210 (md_longopts): Declare and define with new options (-EL, -EB,
3211 and -mwarn-expand).
3212 (md_show_usage): New function.
3213 (md_operand): New function.
3214 (obtain_reloc_for_imm16): New function.
3215 (md_apply_fix3): New function.
3216 (tc_gen_reloc): New function.
3217
df86943d
NC
32182000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3219
3220 * config/tc-m68hc11.c (build_jump_insn): Make sure the
3221 2 bytes of the jump address are in the same frag.
3222 (find): Accept 68hc12 register indirect modes.
3223
3224 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 3225
30d25259
RH
32262000-08-07 Richard Henderson <rth@cygnus.com>
3227
3228 * config/tc-ia64.c (unwind): Add prologue_mask member.
3229 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
3230 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
3231 (dot_body): Clear unwind.prologue_mask.
3232 (dot_prologue): Set it. Accept a register second argument.
3233
2d484c7f
KH
32342000-08-07 Kazu Hirata <kazu@hxi.com>
3235
3236 * config/atof-ieee.c: Fix formatting.
3237 * config/atof-tahoe.c: Likewise.
3238
a47cf567 32392000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 3240
3d4ae3c0
NC
3241 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
3242 work.
3243
c91d2e08
NC
3244 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
3245 of .popsection, .previous, .pushsection, .subsection,
3246 .version, .vtable_entry, .vtable_inherit and .weak.
3247
47926f60
KH
32482000-08-05 Kazu Hirata <kazu@hxi.com>
3249
3250 * config/tc-cris.c: Fix formatting.
3251 * config/tc-i386.c: Likewise.
3252 * config/tc-sparc.c (sparc_ip): Simplify the code.
3253
ab3e48dc
KH
32542000-08-04 Kazu Hirata <kazu@hxi.com>
3255
3256 * config/tc-cris.c: Rearrange code for readability.
3257 * config/tc-d10v.c: Fix formatting.
3258 * config/tc-m32r.c: Likewise.
3259 * config/tc-sparc.c: Likewise.
3260
3d56ab85
JW
32612000-08-02 Jim Wilson <wilson@cygnus.com>
3262
3263 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
3264 before ia64_find_opcode.
3265 (md_assemble): Likewise.
3266
3f9dfb2c
NC
32672000-08-01 Nick Clifton <nickc@cygnus.com>
3268
a47cf567 3269 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 3270 Undo some formatting fixes.
3f9dfb2c 3271
28e4f854
KH
32722000-08-01 Kazu Hirata <kazu@hxi.com>
3273
3274 * config/obj-som.c: Fix formatting.
3275 * config/obj-ieee.c: Likewise.
3276 * config/tc-arm.c: Likewise.
3277 * config/tc-v850.c: Likewise.
3278
a570e639
NC
32792000-08-01 Nick Clifton <nickc@redhat.com>
3280
3281 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
3282 index by command line option.
58a77e41 3283
a570e639
NC
32842000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3285
3286 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
3287 (@node M68K-Branch): Rewrite to match the reality.
3288
e3308d0d
JE
32892000-07-31 Jason Eckhardt <jle@cygnus.com>
3290
3291 * doc/c-i860.texi: New file.
3292 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
3293 * doc/Makefile.in: Regenerate.
3294 * doc/all.texi: Add I860 as relevant architecture.
3295 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
3296
2fd5405a
NC
32972000-07-31 Kazu Hirata <kazu@hxi.com>
3298
3299 * config/tc-d30v.c: Fix formatting.
3300
28e7409f
NC
33012000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3302
50bbae35
AM
3303 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
3304 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
3305 long emit a long branch if available instead of an absolute jump, never
3306 emit absolute jumps for anything with --pcrel.
28e7409f
NC
3307
3308 * doc/c-m68k.texi: Document new command line option.
58a77e41 3309
a47cf567
NC
33102000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
3311
3312 * config/tc-avr.c: Use PARAMS macro in function declarations.
3313 Don't declare md_pcrel_from_section (already in tc-avr.h).
3314 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
3315 (avr_operand): Don't set (unsigned) op_mask to -1.
3316
534022ea
JE
33172000-07-28 Jason Eckhardt <jle@cygnus.com>
3318
50bbae35
AM
3319 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
3320 * configure: Regenerated.
3321 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
3322 of operand to the .type directive (.e.g, "type").
534022ea 3323
4c400d5e
AM
33242000-07-28 Alan Modra <alan@linuxcare.com.au>
3325
3326 * as.h (warn_comment, found_comment, found_comment_file): Declare.
3327 * app.c (do_scrub_chars): Record where first comment found.
3328 * read.c (read_a_source_file): Init found_comment on entry, and
3329 notify whether comments found on exit.
3330 * config/tc-hppa.c (md_shortopts): Add "c".
3331 (md_longopts): Add warn-comment.
3332 (md_parse_option): Handle it.
3333 (md_show_usage): Show available options.
3334 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
3335
0aa529cb
AC
3336Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
3337
3338 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
3339 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 3340 sym_ptr_ptr
0aa529cb
AC
3341 (md_estimate_size_before_relax): Don't fall off end of function.
3342
c6a7ab1f
NC
33432000-07-27 Kazu Hirata <kazu@hxi.com>
3344
3345 * config/tc-avr.c: Fix formatting.
3346 * config/tc-ns32k.c: Likewise.
3347
e0c6ed95
AM
33482000-07-27 Alan Modra <alan@linuxcare.com.au>
3349
3350 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
3351
33522000-07-27 Kazu Hirata <kazu@hxi.com>
3353
3354 * config/tc-d10v.c: Fix formatting.
3355 * config/tc-z8k.c: Likewise.
3356 * config/tc-sparc.c: Likewise.
3357
6883dc5e 33582000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
3359
3360 * cgen.c (queue_fixup): Declare opinfo.
3361 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
3362 (gas_cgen_md_operand): Ditto.
3363 (gas_cgen_md_apply_fix3): Ditto.
3364
39da8128
DD
33652000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
3366
3367 * config/obj-coff.c (obj_frob_symbol): Don't merge
3368 labels. Don't merge if the symbol isn't constant. Return
3369 immediately if a symbol is merged.
3370
65e68b04
AM
33712000-07-22 Alan Modra <alan@linuxcare.com.au>
3372
3373 * frags.c (frag_align): Correct absolute section alignment.
3374
5e0d736c
DD
33752000-07-20 DJ Delorie <dj@redhat.com>
3376
3377 * config/obj-coff.c (obj_frob_symbol): revert previous change,
3378 it breaks linking against DLLs.
3379
3bcbcc3d
HPN
33802000-07-20 Hans-Peter Nilsson <hp@axis.com>
3381
3382 * configure.in: Add CRIS support.
3383 * configure: Regenerate.
3384 * Makefile.am: (CPU_TYPES): Add cris.
3385 (CPU_OBJ_VALID) [aout]: Add cris.
3386 (MULTI_CPU_TYPES): Add cris.
3387 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 3388 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
3389 (TARGET_CPU_CFILES): Add config/tc-cris.c.
3390 (TARGET_CPU_HFILES): Add config/tc-cris.h.
3391 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
3392 Regenerate dependencies.
3393 * Makefile.in: Regenerate.
3394 * aclocal.m4: Regenerate.
3395 * as.c: Declare crisaout, criself.
3396 * config/tc-cris.h, config/tc-cris.c: New.
3397 * config/e-criself.c, config/e-crisaout.c: New.
3398 * po/POTFILES.in, po/gas.pot: Regenerate.
3399
041ff4dd 34002000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 3401
041ff4dd 3402 * read.c: Fix formatting.
efaf0ba4 3403 * write.c: Fix formatting.
041ff4dd 3404
f980ada0
L
34052000-07-19 H.J. Lu <hjl@gnu.org>
3406
3407 * sb.c: Include <stdlib.h> if exists for abort ().
3408
25a8b250
AM
34092000-07-19 Alan Modra <alan@linuxcare.com.au>
3410
3411 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
3412 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
3413 (pa_type_args): Same here.
3414
7a9aaf92
NC
34152000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
3416
3417 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
3418 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
3419 the storage class is already set.
3420
8098403c
NC
34212000-07-17 Kazu Hirata <kazu@hxi.com>
3422
fafb6d17 3423 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
3424 * config/tc-mn10200.c: Likewise.
3425 * config/tc-mn10300.c: Likewise.
3426 * config/tc-pj.c: Likewise.
3427 * config/tc-tic80.c: Likewise.
3428 * config/tc-w65.c: Likewise.
8098403c 3429
977e771a
FCE
34302000-07-17 Frank Ch. Eigler <fche@redhat.com>
3431
3432 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
3433 is defined.
3434
63bf5651
ILT
34352000-07-15 Ian Lance Taylor <ian@zembu.com>
3436
3437 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
3438 @code.
3439
1cd1c99b
AM
34402000-07-15 Alan Modra <alan@linuxcare.com.au>
3441
3442 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
3443 ELF as are used for SOM (except the 32-bit reloc one) to decide
3444 whether a symbol can be reduced to a section symbol. Expand on
3445 the comment for symbols involved in LR% and RR% expressions.
3446
119d663a
NC
34472000-07-14 Nick Clifton <nickc@cygnus.com>
3448
3449 * config/tc-mips.c (mips_disable_float_construction): New
3450 static variable. Set to true if doubles should not be
3451 constructed by loading two single width fp registers with
3452 halves of the value.
3453 (mips_ip): Test mips_disable_float_construction.
3454 (md_longopts): Add command line switches --construct-floats
3455 and --no-construct-floats.
3456 (md_parse_option): Parse new command line options.
3457 (md_show_usage): Describe new command line options.
3458
3459 * doc/c-mips.texi: Document new command line options.
3460
906fac54
AM
34612000-07-13 Koundinya K <kk@ddeorg.soft.net>
3462
3463 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
3464 * configure: Regenerate.
3465
34662000-07-13 Hans-Peter Nilsson <hp@axis.com>
3467
3468 * configure.in (DEFAULT_EMULATION setting): Revert part of
3469 2000-07-01 change that set te_multi=multi unless set to tmips.
3470 * configure: Regenerate.
3471
7f788821
NC
34722000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3473
3474 * config/obj-coff.c (coff_frob_section): Add padding to the last
50705ef4 3475 section when aligning it increases its size.
7f788821 3476
9a736b6b
NC
34772000-07-11 Kazu Hirata <kazu@hxi.com>
3478
3479 * config/tc-tic54x.c: Fix formatting.
3480
3dd5103b
NC
34812000-07-10 Kazu Hirata <kazu@hxi.com>
3482
3483 * config/tc-h8500.c: Fix formatting.
1aea3bb8 3484 * config/tc-tic54x.c: Fix formatting.
3dd5103b 3485
46b85d42
AM
34862000-07-10 Alan Modra <alan@linuxcare.com.au>
3487
3488 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
3489 displacements correctly.
3490
3491 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
3492
34932000-07-10 Ryan Bradetich <rbradetich@uswest.net>
3494
3495 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
3496 warning.
3497 (hash_jam): Ditto.
3498
ad1079af
AM
34992000-07-09 Alan Modra <alan@linuxcare.com.au>
3500
3501 From David Huggins-Daines <dhd@linuxcare.com>
3502 * config/te-hppalinux64.h: Add a new emulation.
3503 * configure.in (emulations): Add configure bits to support the
3504 64-bit Linux/parisc target.
3505 * configure: Regenerate.
3506
3507 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
3508 (md_shortopts): Add `V' for ELF.
3509
3510 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
3511 when SOM or ELF_ARG_RELOC are defined.
3512 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
3513 ELF_ARG_RELOC are defined.
3514 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
3515 (pa_stringer): ..Do it here instead. Fix comment typos.
3516 (hppa_force_relocation): Cast enums to int before comparing with
3517 ints.
3518
3519 From Ryan Bradetich <rbradetich@uswest.net>
3520 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
3521 redifinition warning.
3522 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
3523 (hppa_force_relocation): ditto
ad1079af
AM
3524 (md_apply_fix): Added cast to buf to fix warnings.
3525
3526 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
3527 cons_fix_new_hppa, hppa_force_relocation): Prototype.
3528
3529 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
3530 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
3531 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
3532 reloc_type** to avoid warnings in switch.
3533 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
3534 little earlier instead.
3535
3536 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
3537 and elf.
3538 (pa_type_args): Use symbol_arg_reloc_info.
3539 (struct pa_it): Make arg_reloc unsigned int.
3540 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
3541 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
3542 (pa_code): Delete. pa_text duplicates this function.
3543 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
3544 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
3545 int.
3546 (cons_fix_new_hppa): Actually change selector to e_fsel when
3547 warning about assuming so.
3548 (tc_gen_reloc): More example elf arg reloc code.
3549 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
3550 (hppa_force_relocation): Likewise.
3551
3552 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
3553 files.
3554 (pa_end_of_source): Prototype.
3555 (hppa_fix_adjustable): Prototype.
3556 (LABELS_WITHOUT_COLONS): Move it..
3557 * config/te-hppa.h: To here.
3558
3559 * config/te-hppa64.h: New file.
3560
3561 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
3562 type.
3563 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
3564 format -10, -16, 16 relocs.
3565 (hppa_elf_mark_end_of_function): Test for null
3566 last_call_info->start_symbol
3567
3568 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
3569 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
3570 re_assesmble_* functions. Delete extraneous statements. Fix
3571 typos in comments.
3572 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
3573 insn to re_assemble_*.
3574
623aa224
UC
35752000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
3576
3577 * doc/internals.texi (Expressions): Fix typo.
58a77e41 3578
c4aa876b
NC
35792000-07-08 Kazu Hirata <kazu@hxi.com>
3580
3581 * config/tc-sh.c: Fix formatting.
d0313fb7 3582 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
3583 * depend.c: Fix formatting.
3584 * flonum-konst.c: Likewise.
3585 * flonum-mult.c: Likewise.
c4aa876b 3586
6b31947e
NC
35872000-07-07 Kazu Hirata <kazu@hxi.com>
3588
a5bfe8c9 3589 * config/tc-sh.c: Fix comments.
bc0d738a
NC
3590 * config/obj-vms.c: Fix comments.
3591 * config/tc-a29k.c: Likewise.
3592 * config/tc-alpha.c: Likewise.
3593 * config/tc-h8300.c: Likewise.
3594 * config/tc-h8500.c: Likewise.
3595 * config/tc-i370.c: Likewise.
3596 * config/tc-ia64.c: Likewise.
3597 * config/tc-m68hc11.c: Likewise.
3598 * config/tc-m68k.c: Likewise.
3599 * config/tc-mips.c: Likewise.
3600 * config/tc-ns32k.c: Likewise.
3601 * config/tc-ppc.c: Likewise.
3602 * config/tc-z8k.c: Likewise.
6b31947e 3603
b8a9dcab
NC
36042000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
3605
3606 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
3607 Default to '(SEC_LOAD | SEC_DATA)'.
3608 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
3609
3610 * doc/internals.texi (CPU Backend): Describe
3611 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
3612
beb2de9b
AC
3613Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3614
3615 * as.c (parse_args): NULL terminate the long option list.
3616
24ddb296
AC
3617Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
3618
3619 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 3620 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 3621
1fe72011
NC
36222000-07-05 Nick Clifton <nickc@cygnus.com>
3623
3624 * config/tc-d30v.c (write_2_short): Further changes to warning
3625 messages produced when combining EITHER_BUT_PREFER_MU attributed
3626 opcodes.
3627
a5bfe8c9 36282000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
3629
3630 * MAINTAINERS: new
3631
8de8f17e
AO
36322000-07-04 Alexandre Oliva <aoliva@redhat.com>
3633
3634 * config/tc-arm.c (psrs): Accept combinations of flags.
3635
00d2865b
NC
36362000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
3637
3638 * config/tc-avr.c: Change _ () to _() around all strings marked
3639 for translation (exception from the usual coding style).
3640 (avr_opt): New struct variable, how the new switches are set.
3641 (OPTION_MMCU): Define as 'm' and actually use.
3642 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
3643 (show_mcu_list): New function, display the list of known MCUs.
3644 (md_show_usage): Document the new switches. Call show_mcu_list.
3645 (avr_set_arch): Change 'm' to OPTION_MMCU.
3646 (md_parse_option): Call show_mcu_list if unknown MCU specified.
3647 Handle the new switches.
3648 (avr_operands): Disable warnings for undefined combinations of
3649 operands if -mall-opcodes. Disable warnings for skipping two-word
3650 instructions if enhanced core or -mno-skip-bug.
3651 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
3652 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
3653 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
3654 (avr_ldi_expression): Warn about implicit lo8().
3655 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
3656
54588503
UC
36572000-07-01 Koundinya K <kk@ddeorg.soft.net>
3658
50bbae35
AM
3659 * configure.in: Add entry for mips-*-sysv4*MP*
3660 * configure: Rebuild
3661 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
3662 elf32-tradlittlemips for traditional mips targets.
3663 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
3664 test for Link Once sections as in adjust_reloc_syms.
3665 * config/te-tmips.h: New file for traditional mips targets. Define
3666 TE_TMIPS.
58a77e41 3667
c9900432
NC
36682000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
3669
3670 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
3671 flags argument is not present, don't change an existing section's
3672 section's attributes. If the flags argument is present, warn if the
3673 attributes don't match the section's current attributes. When
3674 long section names are supported, set SEC_LINK_ONCE and
3675 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
3676
9d87310a
HPN
3677Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
3678
3679 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
3680 symbols; create them.
3681
dbddefbf
NC
36822000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
3683
3684 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 3685 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 3686
2ae7e77b
AH
36872000-06-27 Aldy Hernandez <aldyh@redhat.com>
3688
3689 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
3690 expressions. Ignore the problem when handling 16 bit signed
3691 immediates, because the assembler will take care of the relocation
3692 later.
2ae7e77b 3693
6b2539e3
NC
36942000-06-27 Nick Clifton <nickc@cygnus.com>
3695
3696 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 3697 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
3698 sequential order, and emit warning messages if the input source
3699 code contains constructs like that, or parallel constructs
3700 containing such opcodes.
3701
65aa24b6
NC
37022000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
3703
3704 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
3705 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
3706 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
3707 (md_show_usage): Update usage message.
3708 (md_parse_option): Allow redefinition of MCU type within the
3709 same avr[1-5] bfd machine type. Show both old and new MCU type
3710 in the error message.
3711 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
3712 Simplify 8K wrap code.
3713
f0c56b90
NC
37142000-06-25 Kazu Hirata <kazu@hxi.com>
3715
50bbae35
AM
3716 * config/obj-aout.c: Remove all uses of DEFUN.
3717 * config/obj-ieee.c: Likewise.
3718 * config/tc-sh.c: Fix comment typos.
3719 * config/tc-tahoe.c: Likewise.
3720 * config/tc-vax.c: Likewise.
3721 * config/tc-w65.c: Likewise.
3722 * config/tc-z8k.c: Likewise.
f0c56b90
NC
3723 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
3724
6d249963
DD
37252000-06-24 DJ Delorie <dj@cygnus.com>
3726
3727 * config/tc-i386.c (md_estimate_size_before_relax): Revert
3728 more changes from Sept 1999
3729 (tc_i386_fix_adjustable): ditto
3730 (md_apply_fix3): ditto
3731
680d2857 37322000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 3733
680d2857
FCE
3734 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
3735 (gas_cgen_parse_operand): Set it around expression() call.
3736 (gas_cgen_md_operand): Test for it before longjmp().
3737
e7b305a2
AM
37382000-06-24 Kazu Hirata <kazu@hxi.com>
3739
c0fecd35
AM
3740 * config/tc-h8500.c: Remove all uses of DEFUN.
3741 * config/tc-sh.c: Likewise.
3742 * config/tc-w65.c: Likewise.
3743 * config/tc-z8k.c: Likewise.
3744
e7b305a2
AM
3745 * config/tc-h8500.c: Fix typos in comments.
3746
ed6d6fd3
FCE
37472000-06-23 Frank Ch. Eigler <fche@redhat.com>
3748
3749 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
3750 is defined.
3751
f7c88872
AM
37522000-06-23 matthew green <mrg@redhat.com>
3753
3754 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 3755 defined. Fix error message for `[' grouping.
f7c88872 3756
70d6ecf3
AM
37572000-06-22 Kazu Hirata <kazu@hxi.com>
3758
3759 * config/tc-h8300.c: Fix formatting and comment typos.
3760
e9718fe1
TW
37612000-06-22 Timothy Wall <twall@cygnus.com>
3762
3763 * config/tc-ia64.c (note_register_values): Move premature QP
3764 notation clearing into the appropriate place.
3765
45288df1
AM
37662000-06-22 Alan Modra <alan@linuxcare.com.au>
3767
1581f8c9
AM
3768 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
3769 first before anything else. Add bin-bugs.h, emul.h and progress.h
3770 Sort list of files as for $(OBJS) in Makefile.am.
3771
3772 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
3773 find one. Remake dependencies.
3774 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
3775 * Makefile.in: Regenerate.
3776 * doc/Makefile.in: Regenerate.
3777
45288df1
AM
3778 * config/tc-i386.c (i386_displacement): Don't assume a constant
3779 displacement is necessarily 16 bits when in 16 bit code mode.
3780 (md_assemble): Instead size the displacement here after we know
3781 for sure that a .code16gcc operand hasn't automatically added
3782 operand size prefixes.
3783
01580992
L
37842000-06-21 H.J. Lu <hjl@gnu.org>
3785
3786 * Makefile.am: Rebuild dependency.
3787 * Makefile.in: Rebuild.
3788
40f09f82
JL
37892000-06-21 Kazu Hirata <kazu@hxi.com>
3790
3791 * config/tc-h8300.c (parse_reg): Make the function static.
3792 (parse_exp): Likewise.
3793
78295804
DD
37942000-06-20 DJ Delorie <dj@cygnus.com>
3795
3796 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
3797 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
3798 for cygwin import libraries to work properly.
3799
45f85b08
L
38002000-06-20 H.J. Lu <hjl@gnu.org>
3801
3802 * Makefile.am: Rebuild dependency.
3803 * Makefile.in: Rebuild.
3804 * configure: Likewise.
3805 * doc/Makefile.in: Likewise.
3806
39bec121
TW
38072000-06-20 Timothy Wall <twall@cygnus.com>
3808
3809 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 3810 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
3811 * doc/c-tic54x.texi: New.
3812 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 3813 documentation file.
39bec121 3814 * doc/all.texi: Add C54X.
3e87a760 3815 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
3816 * doc/Makefile.in: Regenerate.
3817 * configure.in: Add tic54x and define LIBM for tic54x.
3818 * configure: Regenrate.
3819 * config/tc-tic54x.[ch]: New.
3820 * config/obj-coff.h: Add tic54x.
3821 * Makefile.am: (CPU_TYPES): Add tic54x.
3822 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
3823 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
3824 (as_new_LDADD): Add $(LIBM).
3825 * Makefile.in: Regenerate.
3e87a760 3826
60bcf0fa
NC
38272000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3828
3829 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
3830 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
3831 * doc/as.texinfo: Likewise.
3832
3833 * configure, Makefile.in: Regenerate.
3834 * configure.in (emulations): Recognize m6811 and m6812.
3835 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
3836 Added files for 68hc11 and 68hc12 assembler.
3837 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
3838 * config/tc-m68hc11.h: Header definition for that assembler.
3839
ec05f674
NC
38402000-06-18 Nick Clifton <nickc@redhat.com>
3841
24ef8152
NC
3842 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
3843 instead of OCTETS_PER_BYTE.
3844
ec05f674 3845 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 3846 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 3847
119caedd
L
38482000-06-18 H.J. Lu <hjl@gnu.org>
3849
3850 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
3851 * configure: Rebuild.
3852
607723e4
NC
38532000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
3854
3e87a760
AM
3855 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
3856 to BFD_ASSEMBLER.
607723e4 3857
b946ec34
NC
38582000-06-16 Nick Clifton <nickc@cygnus.com>
3859
3860 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
3861 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
3862
3863 * doc/c-mips.texi: Document newly accepted cpu variants.
3864
37ce37b1
UC
38652000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
3866
3867 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
3868
c06ae4f2
UC
38692000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
3870
3871 * macro.c (getstring): Make it possible to escape the quote
3872 character.
3873
20348649
JL
3874Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
3875
3876 * config/tc-hppa.c (pa_export): Weak symbols can be global.
3877
bcef29e6
L
38782000-06-13 H.J. Lu <hjl@gnu.org>
3879
3880 * configure: Regenerate.
3881
63a0b638
AM
38822000-06-09 Alan Modra <alan@linuxcare.com.au>
3883
3884 * app.c (do_scrub_begin): Don't default lex[';'] as a line
3885 separator.
3886 * doc/internals.texi (line_separator_chars): Semicolon is no
3887 longer a default. Mention null and newline as defaults.
3888
3889 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
3890
3891 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
3892 * config/tc-i860.h (line_separator_chars): Likewise.
3893 * config/tc-h8300.c (line_separator_chars): Likewise.
3894 * config/tc-i960.c (line_separator_chars): Likewise.
3895 * config/tc-m68k.c (line_separator_chars): Likewise.
3896 * config/tc-mips.c (line_separator_chars): Likewise.
3897 * config/tc-ns32k.c (line_separator_chars): Likewise.
3898 * config/tc-sparc.c (line_separator_chars): Likewise.
3899 * config/tc-vax.c (line_separator_chars): Likewise.
3900
3901 * config/tc-h8300.c (comment_chars): Use string initialiser.
3902 * config/tc-i960.c (line_comment_chars): Likewise.
3903 * config/tc-z8k.c (comment_chars, line_comment_chars,
3904 line_separator_chars): Likewise.
3905
3906 * config/tc-arm.c (line_separator_chars): Always use `;', not just
3907 for TE_LINUX.
3908
9bab9349
NC
39092000-06-08 Nick Clifton <nickc@cygnus.com>
3910
3911 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
3912 for size 1 fixes.
3913
946efd95
DB
39142000-06-08 David O'Brien <obrien@FreeBSD.org>
3915
3916 * configure.in (VERSION): Update to show this is the CVS mainline.
3917
6480b79a
DB
39182000-06-08 Matthew Jacob <mjacob@feral.com>
3919
3920 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
3921 $at is the integer register $r28, vs. both $r28 and the floating
3922 point register $f28.
3923
10850f29
JW
39242000-06-08 James E. Wilson <wilson@cygnus.com>
3925
3926 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
3927 (dot_endp): Don't call ia64_flush_insns.
3928 (emit_one_bundle): Don't delete prologue/body records from
3929 unwind_record list in first loop. Rewrite second loop to account for
3930 this.
3931
150f24a2
JW
39322000-06-07 David Mosberger <davidm@hpl.hp.com>
3933
3934 * config/tc-ia64.c: Add missing prototypes.
3935 (generate_unwind_image): Cast argument to output_unw_records call.
3936
e38c9cc2
DC
3937Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
3938
46b85d42 3939 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 3940
1188e082
DC
3941Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
3942
3943 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
3944 (REGISTER_P): likewise.
3945 (avr_opcodes): uses include/opcode/avr.h
3946 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 3947
ac743b2c
AM
39482000-06-04 Alan Modra <alan@linuxcare.com.au>
3949
0b545448
AM
3950 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
3951 initializers too.
ac743b2c 3952
969e1a7b
L
39532000-06-03 H.J. Lu <hjl@gnu.org>
3954
3955 * read.c (is_end_of_line): Put back `;'.
3956
65172ab8
AM
39572000-06-03 Alan Modra <alan@linuxcare.com.au>
3958
3959 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
3960
b75c0c92
AM
39612000-06-01 Alan Modra <alan@linuxcare.com.au>
3962
3963 * expr.c (operand): Test is_end_of_line outside switch to catch
3964 line separator chars that are also operators.
3965 (operator): Return O_illegal for line separator chars.
3966
3967 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
3968 entry (or `!' entry for TC_HPPA).
3969
3970 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
3971 before indexing is_end_of_line. Remove redundant check for '\0'.
3972 (fp_op2): Likewise.
3973 * config/tc-h8500.c (md_assemble): Likewise.
3974 * config/tc-mcore.c (md_assemble): Likewise.
3975 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3976 (md_atof): Likewise
3977
3978 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
3979 is_end_of_line.
3980 * config/tc-mcore.c (mcore_cons): Likewise.
3981 (mcore_float_cons): Likewise.
3982 (mcore_stringer): Likewise.
3983 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3984
a6836251
SB
39852000-06-01 Scott Bambrough <scottb@netwinder.org>
3986
3987 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
3988
43841e91
NC
39892000-05-29 Nick Clifton <nickc@cygnus.com>
3990
3991 * config/tc-sh.c: Fix compile time warning messages.
3992
3993 * config/tc-mips.c: Fix compile time warning messages.
3994
a057431b
PB
39952000-05-29 Philip Blundell <philb@gnu.org>
3996
3997 * doc/as.texinfo: Update copyright dates.
a81d9f0c 3998 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
3999 * NEWS: Mention ARM ELF support.
4000
3c07fb76
AO
40012000-05-27 Alexandre Oliva <aoliva@cygnus.com>
4002
4003 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
4004 it is modified, and use the real_size to compute the frag address
4005 for dwarf2 line info.
4006
ad4d6ccf
AM
40072000-05-27 Alan Modra <alan@linuxcare.com.au>
4008
4009 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
4010 line-matching scheme to cope with automake moving variables around.
4011 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
4012 * Makefile.in: Regenerate.
4013
6faf3d66
JJ
40142000-05-26 Jakub Jelinek <jakub@redhat.com>
4015
4016 * config/tc-sparc.c (sparc_relax): New.
4017 (md_longopts): Add -relax and -no-relax options.
4018 (md_parse_options, md_show_usage): Likewise.
4019 (md_apply_fix3): Optimize tail call into branch always if possible.
4020
0a44c2b1
DL
4021Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
4022
4023 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
4024 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
4025 rules, with warning when a GAS statement specifies a packing that
4026 will result in an instruction being squashed.
3e87a760
AM
4027 Added typdef packing_type and enumerals, changed various integer
4028 literals to use the enumerals.
0a44c2b1 4029
e0c9811a
JW
40302000-05-24 David Mosberger <davidm@hpl.hp.com>
4031
4032 * config/tc-ia64.c (dot_restorereg_p): New function.
4033 (md_pseudo_table): Add restorereg.p.
4034 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
4035 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
4036
4037 * config/tc-ia64.h (unw_record_type): Add unwabi.
4038 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
4039 called MASK with members for imask, and the masks produced by
4040 fr_mem, gr_mem, br_mem, and frgr_mem.
4041 (unw_p_record): Add members ABI and CONTEXT.
4042 (unw_x_record): Add member AB.
4043 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
4044 as pseudo-register for use during unwind info generation.
4045 (AR_PFS, AR_LC): New macros.
4046 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
4047 whose names start with an at sign (as in "@priunat").
4048 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
4049 register.
4050 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
4051 proc_end, unwind_info, personality_routine): Consolidate into
4052 "unwind" structure to reduce offset-table use. Add member
4053 NEXT_SLOT_NUMBER to track the slot number for the next instruction
4054 to be emitted.
4055 (output_R1_format, output_R3_format, output_P3_format,
4056 output_P6_format): Initialize R with zero to reduce compiler warnings.
4057 (output_P7_format): Ditto. Add `default' branch to switch
4058 statement to reduce compiler warnings.
4059 (output_P8_format, output_B1_format, output_B4_format): Ditto.
4060 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
4061 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
4062 into single argument.
4063 (output_X1_format, output_X3_format): Initialize R with zero to reduce
4064 compiler warnings. Merge A and B args into single argument.
4065 (output_X2_format, output_X4_format): Remove unused variable R. Merge
4066 A and B args into single argument.
4067 (free_record): Removed (wasn't used).
4068 (free_list_records): Also free imasks in prologue records.
4069 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
4070 (output_spill_mask): Remove.
4071 (output_unwabi): New function.
4072 (output_epilogue, output_label_state, output_copy_state): Call
4073 alloc_record.
4074 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
4075 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
4076 argument.
4077 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
4078 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
4079 as part of handling the prologue records. Emit region's imask if
4080 we have one. Handle unwabi, epilogue, label_state, copy_state,
4081 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
4082 spill_sprel_p, and spill_reg_p records.
4083 (set_imask, count_bits, slot_index): New function.
4084 (fixup_unw_records): Fix region size computation. Handle
4085 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
4086 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
4087 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
4088 set_imask accordingly. Update imask for gr_gr, and br_gr records.
4089 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
4090 (dot_save): Use manifest constants for applicaton registers.
4091 Handle REG_PR and REG_PRIUNAT.
4092 (dot_restore): Don't just ignore it.
4093 (dot_restorereg): New function..
4094 (generate_unwind_image): Ensure unwind info is a multiple of eight
4095 bytes, not just four bytes.
4096 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
4097 (dot_altrp): Don't just ignore it.
4098 (dot_savemem): New function. Replaces dot_savesp() and
4099 dot_savepsp(). Use manifest constants for applicaton registers.
4100 Handle REG_PR and REG_PRIUNAT.
4101 (dot_savef): Simplify.
4102 (dot_saveb): Support generation of br_gr.
4103 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
4104 dot_label_state, dot_copy_state): New function.
4105 (dot_unwabi): Don't just ignore it.
4106 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 4107 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
4108 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
4109 (emit_one_bundle): Set slot number for prologue/body records
4110 *before* emitting the first insn.
4111 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
4112 (md_begin): Declare "psp" pseudo-register.
4113 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
4114 so we don't get segfault.
4115 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
4116 counts as required per SW Conventions manual
4117 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
4118 output_preds_psprel, output_preds_sprel, output_spill_base,
4119 output_unat_psprel, output_unat_sprel, output_lc_psprel,
4120 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
4121 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
4122 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
4123 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
4124 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
4125 (dot_vframe): Implement.
4126 (dot_vframesp, dot_vframepsp): New function.
4127
f98fd99f
HPN
4128Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
4129
4130 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 4131 * configure: Regenerate.
f98fd99f 4132
ee7fcc42
AM
41332000-05-23 Alan Modra <alan@linuxcare.com.au>
4134
4135 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
4136 (md_estimate_size_before_relax): so we can use it here instead of
4137 old kludges. Localise vars to blocks. Comment.
4138
4139 * frags.c (frag_new): Update fr_var comments.
4140 * frags.h (struct frag): Ditto.
4141
c67e42c9
RH
41422000-05-22 Richard Henderson <rth@cygnus.com>
4143
4144 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
4145 (pseudo_func): Add pcrel.
4146 (operand_match): Handle IA64_OPND_TGT64.
4147 (build_insn): Likewise.
4148 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
4149 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
4150 (fix_insn): Handle all three 64-bit relocation types.
4151
5110c57e
HPN
4152Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
4153
4154 * obj.h (struct format_ops): New members begin, app_file,
4155 s_set_other, s_set_desc, s_get_type, s_set_type,
4156 separate_stab_sections, init_stab_section.
4157
4158 * config/obj-multi.h: Update GPL notice to v2.
4159 (obj_begin): New.
4160 (obj_app_file): New.
4161 (S_SET_SIZE): Test s_set_size for NULL before calling.
4162 (S_SET_ALIGN): Similar for s_set_align.
4163 (S_SET_OTHER): New.
4164 (S_SET_DESC): New.
4165 (S_GET_TYPE): New.
4166 (S_SET_TYPE): New.
4167 (SEPARATE_STAB_SECTIONS): New.
4168 (INIT_STAB_SECTION): New.
4169 (EMIT_SECTION_SYMBOLS): New.
4170 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
4171
4172 * config/obj-elf.h: Update GPL notice to v2.
4173 Mention that this file is included from obj-multi.h.
4174 (obj_begin): Wrap definition in ifndef.
4175 (elf_file_symbol): Constify declaration.
4176 (obj_app_file): Ditto.
4177 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
4178 Wrap in ifndef SEPARATE_STAB_SECTIONS.
4179
4180 * config/obj-elf.c (elf_s_set_other): New.
4181 (elf_file_symbol): Constify argument.
4182 (elf_separate_stab_sections): New.
4183 (elf_init_stab_section): New.
4184 (elf_format_ops): Add new members. Remove comma at end.
4185
4186 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
4187 (ecoff_format_ops): Add new fields. Remove comma at end.
4188 Mention inconsistency for emit_section_symbols.
4189
4190 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
4191
4192 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
4193 (coff_separate_stab_sections): New.
4194 (coff_format_ops): Add new members.
4195
4196 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
4197 (obj_aout_s_set_other): New.
4198 (obj_aout_s_set_desc): New.
4199 (obj_aout_s_get_type): New.
4200 (obj_aout_s_set_type): New.
4201 (obj_aout_separate_stab_sections): New.
4202 (aout_format_ops): New members added. Use obj_aout_process_stab,
4203 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
4204 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
4205 appropriate.
4206 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
4207
b98ef147
AM
42082000-05-22 Alan Modra <alan@linuxcare.com.au>
4209
4210 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
4211 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
4212 (md_estimate_size_before_relax): Ensure jumps to weak and
4213 externally visible symbols are relocatable.
4214
0aa5d426
HPN
4215Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
4216
4217 * stabs.c (aout_process_stab): Make global.
4218 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
4219 * read.h (aout_process_stab): Declare.
4220
4221 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
4222 Generalize to *aout, *coff *elf.
4223 * configure: Regenerated.
4224
4225 * doc/internals.texi (Object format backend): Say
4226 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
4227
4228 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
4229 * Makefile.in: Regenerated.
4230
7c3dc350
CM
42312000-05-19 Catherine Moore <clm@cygnus.com>
4232
4233 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
4234
b3b6a3fe
JL
42352000-05-18 Alan Modra <alan@linuxcare.com.au>
4236
4237 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
4238 instruction to reflect change in re_assemble_*.
4239
c9e10a08
JL
4240Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
4241
4242 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
4243 build PA64 ELF tools.
4244 * configure: Rebuilt.
4245
3043679f
AM
42462000-05-17 Alan Modra <alan@linuxcare.com.au>
4247
4248 * Makefile.am: Regenerate dependencies.
4249 * Makefile.in: Regenerate.
4250
322f2c45
NC
42512000-05-15 Nick Clifton <nickc@cygnus.com>
4252
4253 * config/tc-arm.c (struct asm_psr): Add boolean field
4254 distinguishing between CSPR and SPSR. Rename 'number' field
4255 to 'field'.
4256 (psrs): Rearrange contents to match new asm_psr structure.
4257 (arm_psr_parse): Move next to psr_required_here. Make it
4258 return an asm_psr structure.
4259 (psr_required_here): Use asm_psr structure returned by
4260 arm_psr_parse.
4261 (do_msr): Reorganise to allow psr_required_here to be called
4262 only once.
4263 (md_undefined_name): Mark 'name' parameter as unused, since
4264 the COFF target does not use it.
322f2c45 4265
5e6cbf41
PB
42662000-05-14 David O'Brien <obrien@FreeBSD.org>
4267
4268 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
4269 standards.
4270 * config/te-aux.h: Likewise.
4271 * config/te-dpx2.h: Likewise.
4272 * config/te-go32.h: Likewise.
4273 * config/te-hp300.h: Likewise.
4274 * config/te-hppa.h: Likewise.
4275 * config/te-i386aix.h: Likewise.
4276 * config/te-ic960.h: Likewise.
4277 * config/te-interix.h: Likewise.
4278 * config/te-nbsd532.h: Likewise.
4279 * config/te-pc532mach.h: Likewise.
4280 * config/te-ppcnw.h: Likewise.
4281 * config/te-psos.h: Likewise.
4282 * config/te-sparcaout.h: Likewise.
4283 * config/te-sun3.h: Likewise.
4284 * config/te-sysv32.h: Likewise.
4285
4132022d
AM
42862000-05-14 Alan Modra <alan@linuxcare.com.au>
4287
4288 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
4289 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
4290 and sign extend without an if statement.
4291 (build_bytes): Likewise.
4292
42932000-05-14 Kazu Hirata <kazu@hxi.com>
4294
4295 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
4296 X_add_symbol L_32 case.
4297
b4fd930a
AM
42982000-05-14 David O'Brien <obrien@FreeBSD.org>
4299
4300 * config/te-freebsd.h: New file.
4301
a38cf1db
AM
43022000-05-13 Alan Modra <alan@linuxcare.com.au>
4303
897083bd
AM
4304 * asintl.h (gettext, dgettext, dcgettext, textdomain,
4305 bindtextdomain): Replace defines with those from intl/libgettext.h
4306 to quieten gcc warnings.
4307
a38cf1db
AM
4308 * NEWS: Mention x86 .arch and -q.
4309
4310 * config/tc-i386.c (quiet_warnings): New.
4311 (md_assemble): Use quiet_warnings.
4312 (md_parse_option): Set quiet_warnings from -q.
4313 (md_show_usage): Mention -q, delete -m.
4314 (flag_do_long_jump): Delete.
4315 (md_parse_option): Remove -m.
4316 (md_show_usage): Remove -m.
4317 (md_create_long_jump): Remove useless flag_do_long_jump code.
4318
4319 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
4320 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
4321
e413e4e9
AM
43222000-05-13 Alan Modra <alan@linuxcare.com.au>
4323 Alexander Sokolov <robocop@netlink.ru>
4324
4325 * doc/c-i386.texi (i386-Arch): New section.
4326 (i386-Syntax): Mention .intel_syntax and .att_syntax.
4327
4328 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
4329 (smallest_imm_type): Use smallest opcode for shift by one if cpu
4330 architecture has been given and is not 486.
4331 (set_cpu_arch): New.
4332 (md_pseudo_table): Add .arch.
4333 (md_assemble): Warn if cpu architecture has been given and an
4334 unsupported instruction.
4335
4336 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
4337 Move operand_types bit defines after relevant template field.
4338 (template): Add cpu_flags.
4339 (Cpu*): Define.
4340 (arch_entry): New.
4341
e8b1cae5
AO
43422000-05-12 Alexandre Oliva <aoliva@cygnus.com>
4343
4344 * config/tc-mn10300.h (md_end): Define.
4345 (mn10300_finalize): Declare.
4346 * config/tc-mn10300.c: Include dwarf2dbg.h.
4347 (debug_line): Define.
4348 (md_assemble): Generate dwarf2 line info.
4349 (mn10300_finalize): New function. Finalize dwarf2 info.
4350
426b0403
AM
43512000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
4352
4353 * config/tc-mips.c (md_estimate_size_before_relax): Use the
4354 external version of the relocation for weak symbols.
4355
e4c58b25
JW
43562000-05-08 David Mosberger <davidm@hpl.hp.com>
4357
4358 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
4359 frame size in units of 16 bytes, as required per SW Conventions manual.
4360 (output_unw_records): Output info-block header as a dword to get
4361 byte-order right.
4362
8fce3f5e
AM
43632000-05-08 Alan Modra <alan@linuxcare.com.au>
4364
4365 * as.h: #include "file", not <file> on files from ../include.
4366 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
4367 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
4368 (md_convert_frag): Add ATTRIBUTE_UNUSED.
4369 (tc_coff_symbol_emit_hook): Ditto.
4370 (OPTCOUNT): Cast to int to avoid compiler warning.
4371 (md_begin): Fix signed/unsigned warnings.
4372
43732000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4374
4375 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
4376 ABRANCH LONG case for a conditional branch on a 68000.
4377 (md_estimate_size_before_relax): Likewise. Also handle
4378 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
4379 (m68k-ip: case ABSL): Relax absolute references to 16-bit
4380 PC-relative on all CPUs.
4381 (md_estimate_size_before_relax): Likewise.
4382
fb166ee3
AM
43832000-05-04 Alan Modra <alan@linuxcare.com.au>
4384
4385 * as.c (parse_args): Just mention current year in printed
4386 copyright message.
4387
7a899fff
C
43882000-05-03 J.T. Conklin <jtc@redback.com>
4389
4390 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 4391 unit registers.
7a899fff
C
4392 (md_parse_option): Recognize -m7400.
4393
44877466
ILT
43942000-05-03 Ian Lance Taylor <ian@zembu.com>
4395
4396 * config/atof-ieee.c (gen_to_words): When adding carry back in,
4397 don't permit lp to become less than the words array.
4398
eaa15ab8
NC
43992000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
4400
4401 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
4402 Fix little-endian case.
4403
7c4f6a03
AM
44042000-05-03 David O'Brien <obrien@NUXI.com>
4405
4406 * as.c (parse_args): Update copyright.
4407
da5d444c
AM
44082000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
4409
4410 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
4411 for the .bss section too.
4412
3f9b03b5
AM
44132000-05-02 Alan Modra <alan@linuxcare.com.au>
4414
4415 * configure.in: Set em=linux for hppa-*-linux.
4416 * configure: Regenerate.
4417 * doc/Makefile.in: Regenerate with correct automake.
4418
4419 * frags.c (frag_grow): Sanity check chunk_size.
4420
4421 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
4422 * config/obj-som.h: Likewise.
4423 * config/obj-ieee.h: Likewise.
4424
4425 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
4426
4427 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
4428 (md_pseudo_table): Fully initialise OBJ_ELF cases.
4429 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
4430 (pa_ip): low_sign_unext now returns via function value. Use
4431 re_assemble_* instead of dis_assemble_* and
4432 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
4433 unnecessarily.
4434 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
4435 (md_section_align, md_parse_option, md_show_usage,
4436 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
4437 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
4438 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
4439 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
4440 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
4441 pa_text): Likewise.
4442 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
4443 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
4444 outside of switch. Correct mask and shifting errors in case 10
4445 and case -11. In case 21, compare against signed range to suit
4446 hppa_field_adjust changes. In case 12, use re_assemble_12. In
4447 case 17 and case 22, use offsetT variable to properly check range.
4448 Use re_assemble_* here too.
4449 (evaluate_absolute): Change type of value to offsetT. Call
4450 hppa_field_adjust to do the work for us.
4451 (pa_parse_cmpb_64_cmpltr): Delete save_s.
4452 (pa_parse_cmpib_64_cmpltr): Ditto.
4453 (pa_build_unwind_subspace): Delete unused var subseg. Change type
4454 of i to unsigned int.
4455 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
4456 (pa_end_of_source): Return type is void.
4457
a2984248
CM
4458Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
4459
4460 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
4461
df136245
DC
4462Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
4463
4464 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
4465 More comments added.
4466 (md_begin): Removed "construct symbols for each register name".
4467 Because register names conflicts with GCC generated function
4468 names.
4469 (avr_operand): Now constant numbers can be used as a register
4470 identifiers (0 as r0, 31 as r31).
4471 (md_assemble): use skip_space () before parsing instruction
4472 operands.
4473
c1e73230
AM
44742000-05-01 Alan Modra <alan@linuxcare.com.au>
4475
4476 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
4477 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
4478 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
4479 * configure: Regenerate.
4480
a1934524
AM
44812000-04-29 Andreas Jaeger <aj@suse.de>
4482
4483 * as.h: Correctly check GCC version.
4484
d9b7d820
AM
44852000-04-26 David O'Brien <obrien@FreeBSD.org>
4486
4487 * doc/as.1: Fix unbalanced brackets.
4488
4489 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
4490 TE_FreeBSD.
4491 (line_comment_chars): Set to '/' if TE_FreeBSD.
4492
cea1ab94
JL
4493Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
4494
4495 * configure.in: Configury support for PA64 (currently disabled).
4496 * configure: Rebuilt.
4497
e799a695
AM
44982000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
4499
3e87a760 4500 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
4501 bfd_set_section_alignment.
4502
3b0ec529
AM
45032000-04-25 Alan Modra <alan@linuxcare.com.au>
4504
4505 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
4506 than 32.
4507
adcf07e6
NC
45082000-04-24 Nick Clifton <nickc@cygnus.com>
4509
4510 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
4511 * doc/as.texinfo (Align): Include arm and strongarm in list of
4512 targets that have the second form of the behaviour of the .align
3e87a760 4513 directive.
adcf07e6 4514
5047a41f
JL
45152000-04-24 Mark Klein <mklein@dis.com>
4516
29184774 4517 * config/obj-som.c: Terminate obj_pseudo_table.
5047a41f 4518
a47cf567
NC
4519Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
4520
4521 * as.c (parse_args): Allow md_parse_option to override -a listing
4522 option.
4523 * config/obj-coff.c (add_lineno): Change type of offset parameter
4524 from "int" to "bfd_vma."
4525 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
4526 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
4527 (ppc_change_csect): Align correctly for XCOFF64.
4528 (ppc_machine): New function, which discards "ppc_machine" line.
4529 (ppc_tc): Cons for 8 when code is 64 bit.
4530 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
4531 relocations.
4532 (md_parse_option): Handle -a64 and -a32.
4533 (ppc_xcoff64): New.
4534 * config/tc-ppc.h (TARGET_MACH): Define.
4535 (TARGET_FORMAT): Move to function.
4536 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
4537
4538Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
4539
4540 * config/tc-avr.c: New AVR_ISA_ defined.
4541 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
4542 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
4543 for `fmul', `movw' and `lpm R,Z' instructions.
4544 (avr_operands): Warn if current opcode is a two-word instruction
4545 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
4546 (avr_opcodes): New commands added.
4547 (REGISTER_P): Check 'a' and 'v' constraint letters.
4548 (mcu_types): New MCU added.
4549
bf3ca999
TW
45502000-04-22 Timothy Wall <twall@cygnus.com>
4551
4552 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
4553 to "natval".
4554 (operand_match): Conditionally insert default bit values for IMMU9.
4555
98e5953c
JL
45562000-04-14 Matthew Green <mrg@cygnus.com>
4557
4558 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
4559 * configure: Rebuilt.
4560
a02fab7e
JL
4561Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
4562 Jason Eckhardt <jle@cygnus.com>
4563
c67e42c9 4564 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
4565
4566 * config/tc-hppa.c (CHECK_ALIGN): New macro.
4567 Added handling of new operand types l,y,&,fe,fE,fx.
4568
800eeca4
JW
4569Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
4570 David Mosberger <davidm@hpl.hp.com>
4571 Timothy Wall <twall@cygnus.com>
4572 Andrew MacLeod <amacleod@cygnus.com>
4573 Jim Wilson <wilson@cygnus.com>
4574
4575 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 4576 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
4577 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
4578 * Makefile.in: Rebuild.
4579 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
4580 * configure: Rebuild.
4581 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
4582 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
4583 * expr.c (expr): Handle md_optimize_expr.
4584 * read.c (LEX_HASH): Add comment.
4585 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 4586
66778679
RH
45872000-04-21 Richard Henderson <rth@cygnus.com>
4588
4589 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
4590 bundling a non-delayed branch type instruction.
4591
aa15f6f7
AO
45922000-04-20 Alexandre Oliva <aoliva@cygnus.com>
4593
4594 * config/tc-mn10300.c (HAVE_AM30): Define.
4595 (md_assemble): Use it.
4596
16adf844
AM
45972000-04-19 Alan Modra <alan@linuxcare.com.au>
4598
742f45cf
AM
4599 * config/obj-elf.c (obj_elf_change_section): Check for changed
4600 section attributes.
4601
16adf844
AM
4602 * Makefile.am: (CPU_MULTI_VALID): Remove.
4603 (MULTI_CPU_TYPES): Define.
4604 (MULTI_CPU_OBJ_VALID): Define.
4605 (DEPTC): Use the above.
4606 (DEPOBJ): Same here.
4607 (DEP2): And here.
4608 Regenerate dependencies.
4609 * Makefile.in: Regenerate.
4610
9c46fb1b
AM
46112000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4612
742f45cf 4613 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 4614
508866be
L
46152000-04-18 H.J. Lu (hjl@gnu.org)
4616
4617 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 4618 bfd_vma for non-bfd assemblers.
508866be 4619
ba2adb93
AM
46202000-04-17 Alan Modra <alan@linuxcare.com.au>
4621
4622 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
4623 doesn't give spurious errors.
4624
12ff5d56
AM
46252000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4626
66778679 4627 * as.h (SEEK_SET): Define if undefined.
12ff5d56 4628
fc633e5b
AM
46292000-04-13 Alan Modra <alan@linuxcare.com.au>
4630
4631 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
4632 constants, and don't assume offsetT is 32 bits.
4633
1ed18ec1
NC
46342000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
4635
4636 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
4637 (md_pcrel_from_section): Add prototype.
4638 (d10v_fix_adjustable): Add prototype.
4639 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
4640
4641 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
4642
3db10f32
NC
46432000-04-12 Nick Clifton <nickc@cygnus.com>
4644
4645 * config/tc-d10v.c (find_opcode): Correctly calculate position of
4646 symbol in frag chain.
4647
847f7ad4
AM
46482000-04-10 Alan Modra <alan@linuxcare.com.au>
4649
4650 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
4651 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
4652 (fits_in_signed_word, smallest_imm_type): Ditto.
4653 (md_assemble): Use an offsetT var to hold offsetT values, not a
4654 long.
4655 (offset_in_range): New.
4656 (md_assemble): Use it.
4657 (md_convert_frag): Change type of target_address, opcode_address,
4658 and displacement_from_opcode_start to offsetT.
4659 (md_create_short_jump): Change type of offset to offsetT.
4660 (md_create_long_jump): Ditto.
4661 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
4662 (md_chars_to_number): Remove.
4663 (output_invalid): Remove duplicate prototype.
4664
ec694b89
NC
46652000-04-09 Nick Clifton <nickc@cygnus.com>
4666
4667 * Makefile.am (CPU_TYPES): Add 'avr'.
4668 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
4669 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
4670
16adf844 4671 * Makefile.in: Regenerate.
ec694b89
NC
4672
4673 * doc/as.texinfo: Add M32R documentation.
4674
a2d91340 4675Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 4676
a2d91340 4677 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 4678 --enable-build-warnings option.
a2d91340
AC
4679 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4680 * Makefile.in, configure: Re-generate.
4681
d92b1a8a
NC
46822000-04-07 Nick Clifton <nickc@cygnus.com>
4683
4684 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
4685 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
4686 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
4687 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
4688 (arm_force_relocation): Force relocations for
4689 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
4690
52ccafd0
JR
4691Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4692
4693 * config/tc-sh.c (get_operands): There's no third operand if the
4694 first operand is an immediate.
4695
015551fc
JR
4696Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4697
4698 * config/tc-sh.c (immediate): Delete.
4699 (sh_operand_info): Add immediate member.
4700 (parse_reg): Use A_PC for pc.
4701 (parse_exp): Add second argument 'op'. All callers changed.
4702 (parse_at): Expect pc to be coded as A_PC.
4703 Use immediate field in *op.
4704 (insert): Add fourth argument 'op'. All callers changed.
4705 (build_relax): Add second argument 'op'. All callers changed.
4706 (insert_loop_bounds): New function.
4707 (build_Mytes): Remove DISP_4.
4708 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
4709 (assemble_ppi): Use immediate field in *operand.
4710 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
4711 (md_apply_fix): Likewise.
4712 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
4713
79bd78be
AO
4714Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4715
4716 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
4717
e30e5a6a
HPN
4718Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
4719
4720 * internals.texi (CPU backend): Document
4721 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
4722
41b49281
AM
47232000-04-04 Alan Modra <alan@linuxcare.com.au>
4724
8ad3436c
AM
4725 * po/gas.pot: Regenerate.
4726
4727 * as.c (show_usage): Restore translated part of bug string.
4728 * gasp.c (show_usage): Likewise.
4729
41b49281
AM
4730 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
4731 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
4732 than move-if-change.
4733 (DEP1): Modify for "gcc -MM".
4734 (DEPTC): Likewise.
4735 (DEPOBJ): Likewise.
4736 (DEP2): Likewise.
4737 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
4738 Update dependencies.
4739 * Makefile.in: Regenerate.
4740
0a727238
AO
47412000-04-03 Alexandre Oliva <aoliva@cygnus.com>
4742
4743 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
4744 (md_begin): Likewise.
4745 (HAVE_AM33): New macro.
4746 (md_assemble): Use it. Match r_regs and xr_regs only if
4747 HAVE_AM33.
4748
c20f4f8c
AM
47492000-04-03 Alan Modra <alan@linuxcare.com.au>
4750
4751 * as.h: #include "bin-bugs.h"
4752 * as.c (show_usage): Use REPORT_BUGS_TO.
4753 * gasp.c: #include "bin-bugs.h"
4754 (show_usage): Use REPORT_BUGS_TO.
4755
4756 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
4757
753f6b12
HPN
4758Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
4759
4760 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
4761 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
4762 adjustments.
4763
726c5dcd
AM
47642000-04-03 Alan Modra <alan@linuxcare.com.au>
4765
4766 * config/tc-i386.c (i386_immediate): Don't assume a constant
4767 immediate is necessarily 16 bits when in 16 bit code mode.
4768 (md_assemble): Instead set guess_suffix here after we have checked
4769 registers.
4770
bf80011a
RH
47712000-04-02 Richard Henderson <rth@cygnus.com>
4772
4773 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
4774 quantities. Correct right shift sign extension.
4775 (build_insn): Make `number' unsigned long. Mask top 6 bits of
4776 32-bit value when shifting into place.
4777
92161534
ILT
47782000-04-01 Ian Lance Taylor <ian@zembu.com>
4779
4780 * app.c: Add ATTRIBUTE_UNUSED as needed.
4781 * config/tc-ppc.c: Likewise.
4782 (ppc_size): Make unsigned long.
4783 (ppc_insert_operand): Add casts to avoid warnings.
4784
447f3982
NC
47852000-03-31 Nick Clifton <nickc@cygnus.com>
4786
4787 * config/tc-d10v.h (md_flush_pending_output): Define.
4788
21d75ec2
NC
47892000-03-29 Nick Clifton <nickc@cygnus.com>
4790
4791 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
4792 segment. Works for both BFD_ASSEMBLER and others.
4793 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
4794
d1a1bf19
NC
47952000-03-29 Nick Clifton <nickc@cygnus.com
4796
4797 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
4798
224de7a5
AM
47992000-03-28 Alan Modra <alan@linuxcare.com.au>
4800
4801 * listing.c (LISTING_LHS_WIDTH): Default depends on
4802 LISTING_WORD_SIZE.
4803 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
4804
5b8274e3
ILT
48052000-03-27 Ian Lance Taylor <ian@zembu.com>
4806
4807 * config/tc-sh.c (md_show_usage): Use backslash before newline in
4808 string literal.
4809
224de7a5 48102000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
4811
4812 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
4813
4814 * config/tc-avr.c (mcu_types): Add missing initialiser.
4815 (md_pcrel_from_section): Add prototype.
4816 (avr_operand): Remove redundant test of unsigned < 0.
4817 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
4818
48192000-03-27 Denis Chertykov <denisc@overta.ru>
4820
4821 * config/tc-avr.c: New file for AVR support.
4822 * config/tc-avr.h: Likewise.
4823 * configure.in: Add AVR support.
4824 * configure: Regenerate.
4825
9f10757c
TW
48262000-03-26 Timothy Wall <twall@cygnus.com>
4827
4828 * gasp.c (macro_op): Add new argument to check_macro call.
4829 Macro structure definitions moved to macro.h
4830 * sb.h: Add argument to prototype for input_scrub_include_sb.
4831 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
4832 nesting checks with an additional flag.
4833 (struct input_save): Add flag to indicate whether current sb
4834 should be checked for proper macro/conditional nesting.
4835 (input_scrub_push/pop): Save/restore nest check flag.
4836 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 4837 defined.
9f10757c
TW
4838 * macro.c (check_macro): Allow caller to retrieve parsed macro
4839 information if a pointer is provided. This information may be
4840 used by the new macro hooks.
4841 * macro.h: Update prototype for check_macro. Macro struct
4842 definitions moved here from macro.c/gasp.c.
4843 * read.c (read_a_source_file): Add parameter to check_macro call,
4844 and pass macro info to the macro hook, if defined.
4845 (input_scrub_insert_line): New. Allow insertion of a line of
4846 characters into the input stream.
4847 (input_scrub_insert_file): New. Allow insertion of an arbitrary
4848 file into the input stream.
4849 (s_include): Use input_scrub_insert_file.
4850 * internals.texi: Document new macro hooks.
4851 * as.h: New prototypes added.
3e87a760 4852
224de7a5 48532000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
4854
4855 * config/tc-i386.c: Don't start any as_bad or as_warn message with
4856 an initial capital letter.
4857 (i386_index_check): Reindent.
4858
11424155
NC
48592000-03-19 Nick Clifton <nickc@cygnus.com>
4860
eaa15ab8 4861 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
4862 relative branches.
4863
43f05576
NC
48642000-03-17 Thomas de Lellis <tdel@windriver.com>
4865
66778679
RH
4866 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
4867 instruction operand bad if Rd > 7 when generating
4868 thumb instructions. Prevents for example,
4869 "adr r12,label" from silently failing and generating
4870 the wrong instruction.
3e87a760 4871
67231402
NC
48722000-03-17 Nick Clifton <nickc@cygnus.com>
4873
4874 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
4875 that have a destingation >= 0x400000.
3e87a760 4876 Fix compile time warning messages.
67231402 4877
a37c8f88
JR
4878Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4879
4880 * config/tc-sh.c (md_begin): When encountering insn that are
4881 not supported by the current arch, only change the name if
4882 its contents are the same as prev_name.
4883 (get_specific): If the the architecture doesn't match, fail.
4884
dead1419
JR
4885Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4886
4887 * config/tc-sh.c (IDENT_CHAR): Define.
4888 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
4889 matching back where it came from.
4890
182e89d3
JR
4891Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4892
4893 * config/tc-sh.c (md_show_usage): Add description of -dsp.
4894
84f73d89
NC
48952000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
4896
4897 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
4898 normal operands.
4899
dbbc7809
JL
49002000-03-15 Kazu Hirata <kazu@hxi.com>
4901
4902 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
4903
271bb601
HPN
4904Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
4905
4906 * expr.c (operand) [case 'f']: When testing if '0f' can start a
4907 floating-point-number, make sure 'f' is in FLT_CHARS.
4908
8684e216
HPN
4909Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
4910
4911 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
4912 (s_lcomm_internal): Use it.
4913 * doc/internals.texi (CPU backend): Document it.
4914 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
4915 bytes.
4916
bb2d6cd7
GK
49172000-03-10 Geoffrey Keating <geoffk@cygnus.com>
4918
4919 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
4920 when embedded-pic.
4921
4922 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
4923 implementation doesn't have special handling for switch
4924 statements.
bb2d6cd7
GK
4925 (macro_build): Allow for code in sections other than .text.
4926 (macro): Likewise.
4927 (mips_ip): Likewise.
4928 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 4929 Don't perform relocs if we will be outputting them.
bb2d6cd7 4930 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
4931 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
4932 embedded-pic.
bb2d6cd7 4933
5c86cbc7 49342000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 4935
66778679
RH
4936 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
4937 relocation type based on the entry in the fixup structure.
a47cf567 4938 Put S_IS_EXTERN processing back in.
5c86cbc7 4939
f8c827e9
L
49402000-03-08 H.J. Lu (hjl@gnu.org)
4941
4942 * Makefile.am (install-exec-tooldir): Depend on
4943 install-exec-bindir for parallel make.
4944 * Makefile.in: Regenerated.
4945
8ad9e709
NC
49462000-03-06 Nick Clifton <nickc@cygnus.com>
4947
4948 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
4949 switch.
4950 (md_parse_option): Parse -m32r command line switch - disable m32rx
4951 compatability.
ded0aeb7
NC
4952 (md_show_usage): Document new option.
4953
4954 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
4955 * doc/Makefile.in: Regenerate.
4956 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 4957
b7b8f327
MM
49582000-03-02 Michael Meissner <meissner@redhat.com>
4959
4960 * config/tc-d30v.c (check_range): Remove code that incorrectly
4961 sign extended values where bits < 32.
4962
15886821
L
49632000-03-02 H.J. Lu (hjl@gnu.org)
4964
4965 * configure.in: Support --enable-targets=all on ia32.
4966 * configure: Regenerated.
4967
8bf950bf
NC
49682000-03-01 Nick Clifton <nickc@cygnus.com>
4969
4970 * gasp.c (do_align): Remove bogus check of alignment value.
4971
c5e54cc2
ILT
49722000-02-27 Thomas de Lellis <tdel@windriver.com>
4973
4974 * config/obj-elf.c (elf_frob_symbol): Remove code which when
4975 TC_PPC was defined forced the type of a symbol with no other type
4976 to be BSF_OBJECT.
4977
65fd87bc
ILT
49782000-02-27 Hans-Peter Nilsson <hp@axis.com>
4979
4980 * doc/internals.texi (CPU backend): Mention that
4981 line_separator_chars do not break up comments. Fix typos for
4982 LEX_AT and LEX_NAME descriptions. Document operands for
4983 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
4984 description of md_create_short_jump usage. Document argument for
4985 md_undefined_symbol.
4986
a25fe906
ILT
49872000-02-27 Jakub Jelinek <jakub@redhat.com>
4988
4989 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
4990 (md_parse_option): Handle it.
4991 (md_show_usage): Document it.
4992
21b10511
ILT
49932000-02-27 Ian Lance Taylor <ian@zembu.com>
4994
4995 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
4996 opcode, for the instruction `pal19'. From Andrea Arcangeli
4997 <andrea@suse.de>.
4998
773f551c
AM
49992000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
5000
5001 * config/tc-i386.c (i386_immediate): Move constant operand sizing
5002 from here..
5003 (md_assemble): To here, before template operands are matched.
5004 Also ensure a constant immediate is sign extended when we know the
5005 size is at most 16 bits. This is to catch cases like "add
5006 $0xffc0,%ax" where we don't know the size, and thus that the
5007 immediate can be represented as Imm8S until after parsing the
5008 register operand.
5009 (i386_displacement): Similarly sign extend 16 bit constant
5010 displacements.
5011 (md_assemble): Relax 16-bit jump constant range check to suit sign
5012 extended displacements.
5013
28d33191
JL
50142000-02-26 Andreas Jaeger <aj@suse.de>
5015
5016 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
5017
cc5ca5ce
AM
50182000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
5019
5020 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
5021 call operands when intel_syntax.
5022 (intel_float_operand): Return 2 for "fi...".
5023 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
5024 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
5025 earlier "SHORT" change.
5026 (md_assemble): When determining suffix from Regs, exclude
5027 InOutPortReg.
5028
056350c6
NC
50292000-02-24 Nick Clifton <nickc@cygnus.com>
5030
5031 * configure: Add arm-wince, mips-pe and sh-pe targets.
5032 * configure: Regenerate.
5033
5034 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
5035 sh-pe targets.
5036 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
5037 "pe-mips" for the mips-pe target.
5038
5039 * config/tc-arm.c (insns): Change displacement encoded in BL
5040 and B instructions if the target port is arm-wince.
5041 (do_ldst): Do not bias the relocation offset if the target
5042 port is arm-wince.
5043 (md_pcrel_from): Add in missing relocation offset bias if the
5044 target os arm-wince.
5045
5046 * config/tc-mips.c (mips_target_format): Support COFF flavour.
5047 (md_begin): Disable -G support for mips-pe target.
5048 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
5049 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
5050 COFF flavour.
5051
5052 * config/tc-sh.c (md_begin): sh-pe target is little endian.
5053 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
5054 assembler, just set the alignment to 4.
5055
5056 * config/te-wince-pe.h: New file for WinCE targets. Define
5057 TE_WINCE.
5058
36bf8ab9
AM
50592000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
5060
5061 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
5062 string instructions.
5063 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
5064 (i386_intel_memory_operand): After finding a segment override,
5065 check again for no `[' before looking for a displacement. Bomb if
5066 more than one displacement rather than silently discarding the
5067 second and subsequent ones. Free strings malloc'd by
5068 build_displacement_string.
5069
f5795b08
CM
50702000-02-24 Catherine Moore <clm@cygnus.com>
5071
5072 * config/obj-som.c (obj_pseudo_table): Add "weak".
5073 (obj_som_weak): New routine.
5074
abd63a32
AM
50752000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
5076
520dc8e8
AM
5077 * config/tc-i386.c (union i386_op): New.
5078 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
5079 Throughout file replace occurences of disps[n], imms[n], regs[n]
5080 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
5081 intel mode operand swapping. Add assert in regKludge and
5082 fake_zero_displacement code. Test i.types[n] when outputting
5083 displacements and immediates. Combine output of Disp16 with
5084 Disp32.
7f3f1ea2
AM
5085 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
5086 when in intel mode by (not) reversing fsub and fdiv operands
5087 before the template search. This fails for single operand
5088 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
5089 undefined. Instead fix the base_opcode after we've found the
5090 template. Move base_opcode xor with found_reverse_match from
5091 opcode output code to before this fix so we test for the correct
5092 opcodes.
5093 (md_assemble): Don't use strcmp when deciding to ignore the suffix
5094 check in intel mode. Instead compare opcodes.
520dc8e8
AM
5095
5096 * config/tc-i386.h (TC_RELOC): Delete.
5097 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
5098 with equivalent call to reloc.
5099
abd63a32
AM
5100 * as.h (flag_m68k_mri): Move declaration after target include, and
5101 only declare when TC_M68K defined. Define as zero otherwise.
5102 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
5103 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
5104 Define as zero otherwise.
5105 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
5106 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
5107 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
5108 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
5109 testing whether defined.
5110 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
5111 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
5112 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
5113 rather than testing whether defined.
5114 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
5115 (parse_mri_cons): Declare and use only when TC_M68K.
5116 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
5117 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
5118 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
5119
5120 * NEWS: Mention IBM 370 support.
5121
7e052742
RH
51222000-02-23 Richard Henderson <rth@cygnus.com>
5123
5124 * config/tc-i386.c (md_assemble): When swapping operands for
5125 intel_syntax, assume everything that's not Imm or Disp is a
5126 register.
5127
5b93d8bb
AM
51282000-02-23 Linas Vepstas <linas@linas.org>
5129
5130 * config/tc-i370.c, config/tc-i370.h: New files.
5131 * Makefile.am: Add support for Linux/IBM 370.
5132 * configure.in: Likewise.
5133 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
5134 * config/obj-elf.c: Include elf/i370.h
5135 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
5136
5137 * Makefile.in: Regenerate.
5138 * configure: Regenerate.
5139
5140 * doc/c-i370.texi: New file.
5141 * doc/all.texi: Include it.
5142 * doc/as.texinfo: And here.
3e87a760 5143 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
5144 * doc/Makefile.in: Regenerate.
5145
25f2196d
CC
51462000-02-19 Michael Meissner <meissner@redhat.com>
5147
5148 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
5149 determine if an instruction can be used in parallel with an ADDppp
5150 or SUBppp instruction.
5151
6349b5f4
AH
51522000-02-22 Andrew Haley <aph@cygnus.com>
5153
5154 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
5155
2f6d2f85 51562000-02-22 Andrew Haley <aph@cygnus.com>
c97ef257
AH
5157
5158 * config/tc-mips.c (mips_gp32): New variable.
5159 (macro_build) Use mips_gp32.
5160 (mips_ip): Ditto.
5161 (md_longopts): Add "-mgp32" and "-mgp64".
5162 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 5163
a47cf567
NC
5164 (OPTION_M7900): Change offset
5165 (OPTION_NO_M7900): Ditto.
5166
b985eaa8
ILT
51672000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5168
5169 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
5170 warning, and bump it to 1.
5171
52454417
ILT
51722000-02-22 Ian Lance Taylor <ian@zembu.com>
5173
5174 From Brad Lucier <lucier@math.purdue.edu>:
5175 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
5176 match format.
5177
6b76fefe
CM
51782000-02-21 Catherine Moore <clm@cygnus.com>
5179
5180 * config/tc-mips.c (MF_HILO_INSN): Define.
5181 (mips_7000_hilo_fix): Declare.
5182 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
5183 (md_parse_option): Check for 7000_HILO_FIX options.
5184 (OPTION_M7000_HILO_FIX): Define.
5185 (OPTION_NO_M7000_HILO_FIX): Define.
5186 * doc/c-mips.texi (-mfix7000): Describe.
5187
f6af82bd
AM
51882000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
5189
5190 * listing.c (print_lines): Remove unused variable `end'.
5191
5192 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
5193 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 5194 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
5195 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
5196 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 5197 statement and quell signed vs. unsigned comparison warning.
f6af82bd 5198
8c8281f4
NC
51992000-02-18 Nick Clifton <nickc@cygnus.com>
5200
5201 * config/tc-d10v.c (find_opcode): Add a symbol's value to
5202 the computed frag offset, rather than overwriting it.
5203
d4845d57
JR
5204Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5205
5206 * config/tc-sh.c ("elf/sh.h"): Include.
5207 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
5208 (md.begin): Initialize target_arch.
5209 Only include opcodes in has table that match selected architecture.
5210 (parse_reg): Recognize register names for sh-dsp.
5211 (parse_at): Recognize post-modify addressing.
5212 (get_operands): The leading space is now optional.
5213 (get_specific): Remove FDREG_N support. Add support for sh-dsp
5214 arguments. Update valid_arch.
5215 (build_Mytes): Add support for SDT_REG_N.
5216 (find_cooked_opcode): New function, broken out of md_assemble.
5217 (assemble_ppi, sh_elf_final_processing): New functions.
5218 (md_assemble): Use find_cooked_opcode and assemble_ppi.
5219 (md_longopts, md_parse_option): New option: -dsp.
5220 * config/tc-sh.h (elf_tc_final_processing): Define.
5221 (sh_elf_final_processing): Declare.
5222
c97305a1
JL
5223Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
5224
5225 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
5226 the unwinder subspace. Save the current seg/subseg before creating
5227 the new seg/subseg.
5228
bec50466
NC
52292000-02-10 Nick Clifton <nickc@cygnus.com>
5230
5231 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 5232 little endian targets.
bec50466 5233 (INST_BYTE1): Redefine to handle big and little endian
66778679 5234 targets.
bec50466
NC
5235 (cpu_type): New type: Select between M340 and M210.
5236 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 5237 instructions of the M340.
bec50466 5238 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 5239 instructions.
bec50466
NC
5240 (md_atof): Add support for little endian targets.
5241 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 5242 line switches.
bec50466
NC
5243 (md_convert_frag): Add support for little endian targets.
5244 (md_apply_fix3): Add support for little endian targets.
5245 (md_number_to_chars): Add support for little endian targets.
5246
a25c045a
TW
52472000-02-10 Timothy Wall <twall@redhat.com>
5248
5249 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
5250 defined, use it to verify the symbol just read should be a label.
5251
f28e8eb3
TW
52522000-02-10 Timothy Wall <twall@redhat.com>
5253
5254 * app.c (do_scrub_chars): Handle "||" for parallel instructions
5255 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
5256 around colons when KEEP_WHITE_AROUND_COLON is defined.
5257 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
5258 and KEEP_WHITE_AROUND_COLON.
5259
6dc19fc4
TW
52602000-02-08 Timothy Wall <twall@redhat.com>
5261
5262 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 5263 logic.
6dc19fc4 5264 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 5265 implemented.
6dc19fc4
TW
5266 (end_repeat): New. Provide support for a "break" out of the
5267 repeat loop.
5268 * read.h: Add prototypes for new functions.
3e87a760 5269
f805106c
TW
52702000-02-08 Timothy Wall <twall@redhat.com>
5271
5272 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
5273 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
5274 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
5275 non-zero.
5276
4469be0f
TW
52772000-02-08 Timothy Wall <twall@redhat.com>
5278
5279 * read.c: Added elseif to directives table.
5280 * read.h: Added prototype for s_elseif.
5281 * doc/as.texinfo: Added description for elseif.
5282 * cond.c (s_elseif): New function
3e87a760 5283
24a17b6c
TW
52842000-02-04 Timothy Wall <twall@redhat.com>
5285
5286 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 5287 listings.
24a17b6c 5288
bea9907b 52892000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 5290
bea9907b
TW
5291 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
5292 default values.
5293 * frags.c (frag_new): Calculate fr_fix in octets
5294 (frag_now_fix) Return offset as target address offset (bytes).
5295 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 5296 quantities).
bea9907b
TW
5297 * frags.h: Added prototype for frag_now_fix_octets().
5298 Distinguish between octets and bytes in field descriptions.
5299 * listing.c (calc_hex): Account for octets vs bytes when
5300 printing addresses/offsets.
5301 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
5302 target is little-endian, print the octets in a word in big-endian
5303 order so that the display looks like a proper hexadecimal number,
5304 instead of having the octets reversed.
5305 * read.c (do_align): When recording alignment, alignment power
5306 should be in terms of target bytes (minimum addressible unit)
5307 instead of octets.
5308 (do_org) Convert ORG target address (byte) argument into an
5309 octet offset when generating a variable fragment.
5310 * symbols.c (resolve_symbol_value): Symbol final value
5311 converted to a target address offset (bytes) from its octet offset.
5312 * config/obj-coff.c (coff_frob_symbol): Symbol target address
5313 offset (bytes) is adjusted by the frag offset (octets) converted
5314 to bytes.
5315 (coff_frob_section) Section alignment power is in terms of bytes;
5316 convert it to an octet alignment power when calculating size (and
5317 size mask) in octets. Don't modify the section size in order to
5318 "align" it for TI COFF, since that format has a different method
5319 for storing alignment information.
3e87a760 5320
210dcc61
TW
53212000-02-01 Timothy Wall <twall@cygnus.com>
5322
5323 * stabs.c (generate_asm_file): Escape backslashes in stabs file
5324 entries, matching the way GCC generates them. If not escaped, the
5325 filename is encoded incorrectly.
5326
557537a5 53272000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 5328
557537a5
NC
5329 * config/tc-arm.c (reg_table): Add support for ATPCS register
5330 naming conventions.
2c1c4c62 5331
557537a5 53322000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 5333
2c1c4c62
GK
5334 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
5335 already defined.
3e87a760 5336 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
5337 New macro.
5338 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
5339 of a symbol when we really care about its value.
5340
53412000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
5342
5343 * config/tc-mcore.c (md_assemble): Give warning message if
5344 operands passes to instruction are more than the spec.
5345
2f0ca46a
NC
53462000-01-27 Thomas de Lellis <tdel@windriver.com>
5347
66778679 5348 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a
NC
5349 Thumb mode but the label seen was not declared as '.thumb_func'
5350 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 5351 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 5352
4c63da97
AM
53532000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
5354
5355 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
5356 Add dependencies for e-i386aout.o. Fix 2 comment lines.
5357
5358 * Makefile.in: Same here.
5359 Update copyright.
5360
5361 * configure.in: Set bfd_gas for i386-aout when primary target
5362 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
5363 we may need the primary te_file. Remove incorrect comment.
5364
5365 * configure: Regenerate.
5366
5367 * config/e-i386aout.c: New file.
5368
5369 * as.c (USE_EMULATIONS): Move to before print_version_id.
5370 (struct emulation): Add i386aout.
5371 (show_usage): Split text strings. Reformat -a text. Add --em
5372 help.
5373 Update copyright.
5374
5375 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
5376 (aout_format_ops): New.
5377 Update copyright.
5378
5379 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
5380 preprocessor conditional and add aout USE_EMULATIONS tests.
5381 (read_a_source_file): Don't pass error strings to printf as
5382 format arg.
5383 Update copyright.
5384
5385 * gasp.c (exp_get_abs): Don't pass error strings to printf as
5386 format arg.
5387 (do_data): Same here.
5388 (process_file): And here.
5389 Update copyright.
5390
5391 * symbols.c (colon): Rewrite "already defined" fatal message
5392 code for aout with USE_EMULATIONS.
5393 Update copyright.
5394
5395 * config/obj-aout.c (OBJ_HEADER): Define.
5396 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 5397 fields of sentinel.
4c63da97
AM
5398 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
5399 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
5400 forms here.
5401 (obj_aout_type): Expand S_SET_OTHER here too.
5402 (obj_read_begin_hook): Remove.
5403 (aout_pop_insert): New.
5404 (obj_aout_s_get_other): New.
5405 (obj_aout_s_get_desc): New.
5406 (aout_format_ops): New.
5407 Update copyright.
5408
5409 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
5410 gets aout_pseudo_table.
5411 (aout_pseudo_table): Declare.
5412 (obj_read_begin_hook): Define.
5413 Update copyright.
5414
5415 * config/obj-coff.c (obj_pseudo_table): Rename to
5416 coff_pseudo_table.
5417 (coff_pop_insert): Use coff_pseudo_table.
5418 (coff_sec_sym_ok_for_reloc): Remove.
5419 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
5420 and comment all zero entries and remove #if 0 code.
5421 Update copyright.
5422
5423 * config/obj-coff.h (obj_pop_insert): Define.
5424 (coff_pseudo_table): Declare.
5425 Update copyright.
5426
5427 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
5428 s_get_size, s_set_size. Comment all zero entries.
5429 Update copyright.
5430
5431 * config/obj-elf.c (elf_s_get_other): New function.
5432 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
5433 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
5434 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
5435 comment.
5436 (obj_elf_parse_section_letters): Don't pass error strings to
5437 printf as format arg.
5438 Update copyright.
5439
5440 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
5441 OBJ_MAYBE_ECOFF.
5442 (elf_s_get_other): Declare.
5443 (S_GET_OTHER) Define as elf_s_get_other if not already
5444 defined.
5445 (S_SET_OTHER): Only define when not already defined.
5446 (elf_obj_read_begin_hook): Declare.
5447 (obj_read_begin_hook): Define.
5448 (elf_obj_symbol_new_hook): Declare.
5449 (obj_symbol_new_hook): Define.
5450 Update copyright.
5451
5452 * config/obj-multi.h: Add copyright header and protect against
5453 multiple inclusion. Add * to all function pointers.
5454 (OBJ_HEADER): If defined, include it rather than other defines
5455 in this file.
5456 (obj_frob_file_after_relocs): Test for NULL.
5457 (obj_symbol_new_hook): Here too.
5458 (obj_sec_sym_ok_for_reloc): And here.
5459 (S_GET_OTHER): Define.
5460 (S_GET_DESC): Define.
5461 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
5462 (OBJ_MAYBE_ELF): Update comment.
5463
5464 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
5465 OBJ_AOUT preprocessor conditional and handle emulation by
5466 testing OUTPUT_FLAVOR.
5467 (i386_displacement): Here too.
5468 (md_section_align): Similarly here.
5469 (i386_target_format): Conditionally compile when more than one
5470 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
5471 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
5472 (i386_displacement): Here too.
5473 Update copyright.
5474
5475 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
5476 Define TARGET_FORMAT for aout only when not multi.
5477 Update copyright.
5478
5479 * config/te-multi.h: Delete file as it's identical to te-generic.h
5480
add0c677
AM
54812000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
5482
5483 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
5484 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
5485 LONG_MNEM_SUFFIX.
5486
5487 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
5488 DWORD_MNEM_SUFFIX.
5489 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
5490 comments.
5491
a19d8eb0
CP
54922000-01-13 Clinton Popetz <cpopetz@cygnus.com>
5493
66778679
RH
5494 * config/tc-mips.c (mips_do_align): New function.
5495 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 5496
550262c4
NC
54972000-01-10 Philip Blundell <philb@gnu.org>
5498
5499 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 5500 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
5501 line separator for Linux.
5502 * doc/as.texinfo (Comments): Mention the ARM.
5503
0decc840
NC
55042000-01-10 Philip Blundell <pb@futuretv.com>
5505
5506 * configure.in (arm*-*-conix*): New target.
5507 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
5508 armv*-*-linux-gnu.
5509 * configure: Regenerate.
5510
2e13b764
NC
55112000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
5512
5513 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
5514 (obj_elf_visibility): New function.
3e87a760 5515
2e13b764
NC
5516 * doc/as.texinfo (Visibility): New node: document visibility
5517 pseudo ops.
5518
2f6d2f85 5519For older changes see ChangeLog-9899
This page took 0.349856 seconds and 4 git commands to generate.