Define two bfd_targets for absence and presence of leading
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
27df9f40
AM
12000-09-28 Alan Modra <alan@linuxcare.com.au>
2
3 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
4 force relocs for 12 bit branches.
5 (md_apply_fix): Similarly, adjust logic here.
6
5506e1a5
AM
72000-09-28 Alan Modra <alan@linuxcare.com.au>
8
9 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
10 adjust for external and weak syms as we will use a reloc. Allow
11 for +8 offset when calculating limits of branches.
12 (hppa_fix_adjustable): Undo 2000-09-23 change.
13 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
14 Correct distance calculation.
47d89dba
AM
15 (tc_gen_reloc): Print the file name and line number if we can't
16 handle a fixup.
5506e1a5
AM
17
18 From John David Anglin <dave@hiauly1.hia.nrc.ca>
19 * config/tc-hppa.c (nonzero_dibits): Define.
20 (arg_reloc_stub_needed): Check each arg and return value
21 separately for zero case.
22 (pa_align): Declare argument `bytes'.
23
81d4177b
KH
242000-09-25 Kazu Hirata <kazu@hxi.com>
25
26 * config/tc-cris.c: Fix formatting.
27 * config/tc-d10v.h: Likewise.
28 * config/tc-d30v.c: Likewise.
29 * config/tc-d30v.h: Likewise.
30 * config/tc-fr30.c: Likewise.
31 * config/tc-fr30.h: Likewise.
32 * config/tc-m68k.c: Likewise.
33 * config/tc-m68k.h: Likewise.
34 * config/tc-pj.h: Likewise.
35 * config/tc-ppc.c: Likewise.
36 * config/tc-ppc.h: Likewise.
37 * config/tc-sh.c: Likewise.
38 * config/tc-sh.h: Likewise.
39 * config/tc-sparc.c: Likewise.
40 * config/tc-v850.h: Likewise.
41 * config/tc-vax.h: Likewise.
42 * config/tc-w65.h: Likewise.
43 * config/tc-z8k.h: Likewise.
44
959ee541
AM
452000-09-23 Alan Modra <alan@linuxcare.com.au>
46
47 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
48 checks only for ELF.
49 (hppa_force_relocation): Likewise.
50
139368c9
JW
512000-09-22 Jim Wilson <wilson@cygnus.com>
52
53 * config/tc-ia64.c (dv_sem): Add "stop".
54 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
55 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
56 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
57 match above.
58 (mark_resources): Check IA64_RS_PRr.
59
151337e8
NC
602000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
61
62 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
63 md_estimate_size_before_relax): Redesign and clean up the
64 relaxation mechanism.
65
0b7410c4
KH
662000-09-21 Kazu Hirata <kazu@hxi.com>
67
68 * config/tc-ns32k.c: Fix formatting.
69 * config/tc-ns32k.h: Likewise.
70
a4d24084
KH
712000-09-20 Kazu Hirata <kazu@hxi.com>
72
82efde3a
KH
73 * config/tc-m32r.c: Fix formatting.
74 * config/tc-m32r.h: Likewise.
75 * config/tc-m68851.h: Likewise.
76 * config/tc-m68hc11.c: Likewise.
77 * config/tc-m68hc11.h: Likewise.
78 * config/tc-m88k.c: Likewise.
79 * config/tc-mcore.c: Likewise.
a75214e5 80 * config/tc-mcore.h: Likewise.
82efde3a
KH
81 * config/tc-mips.c: Likewise.
82 * config/tc-mips.h: Likewise.
83 * config/tc-mn10200.h: Likewise.
84 * config/tc-mn10300.h: Likewise.
a75214e5 85 * config/tc-tahoe.c: Likewise.
a4d24084
KH
86 * config/tc-tahoe.h: Likewise.
87
4844386e 882000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
89
90 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
91 Likewise in relaxation description comments.
92
9e754211
AM
932000-09-18 Alan Modra <alan@linuxcare.com.au>
94
95 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
96 subtraction of two syms without emitting a relocation.
97
98 From David Huggins-Daines <dhd@linuxcare.com>
99 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
100 global or weak symbols.
101
4a4f25cf
KH
1022000-09-15 Kazu Hirata <kazu@hxi.com>
103
104 * config/tc-h8300.h: Fix formatting.
105 * config/tc-h8500.c: Likewise.
106 * config/tc-h8500.h: Likewise.
107 * config/tc-hppa.h: Likewise.
108 * config/tc-i370.h: Likewise.
109 * config/tc-i386.h: Likewise.
110 * config/tc-i860.c: Likewise.
111 * config/tc-i860.h: Likewise.
112 * config/tc-i960.h: Likewise.
113 * config/tc-ia64.c: Likewise.
114 * config/tc-ia64.h: Likewise.
115
1dab94dd
KH
1162000-09-14 Kazu Hirata <kazu@hxi.com>
117
118 * config/tc-a29k.c: Fix formatting.
119 * config/tc-alpha.c: Likewise.
120 * config/tc-arc.c: Likewise.
121 * config/tc-arc.h: Likewise.
122 * config/tc-arm.c: Likewise.
123 * config/tc-arm.h: Likewise.
124 * config/tc-avr.c: Likewise.
125 * config/tc-avr.h: Likewise.
126 * config/tc-tic30.c: Likewise.
127 * config/tc-tic30.h: Likewise.
128 * config/tc-tic54x.c: Likewise.
129 * config/tc-tic54x.h: Likewise.
130 * config/tc-tic80.c: Likewise.
131 * config/tc-tic80.h: Likewise.
132
7484b8e6
TW
1332000-09-14 Timothy Wall <twall@cygnus.com>
134
135 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
136 parallel comparisons for later use.
137 (struct rsrc): Add parallel comparison type.
138 (resources_match): Skip special cases of PR usage (non-conflicting
139 parallel compares).
140
bf514e21
KH
1412000-09-13 Kazu Hirata <kazu@hxi.com>
142
143 * config/obj-ecoff.c: Fix formatting.
144 * config/obj-elf.c: Likewise.
145 * config/obj-elf.h: Likewise.
146 * config/obj-evax.h: Likewise.
147 * config/obj-generic.h: Likewise.
148 * config/obj-hp300.c: Likewise.
149 * config/obj-hp300.h: Likewise.
150 * config/obj-ieee.h: Likewise.
151 * config/obj-vms.c: Likewise.
152 * config/obj-vms.h: Likewise.
153
156c2f8b
NC
1542000-09-13 Anders Norlander <anorland@acc.umu.se>
155
156 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
157 (md_parse_option): Ditto.
158 (md_longopts): Add -mips32 option.
159 (md_show_usage): Document new options.
160 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
161 (mips_ip): Assemble mfc0 with a sub-selection code.
162 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
163 (mips_cpu_to_str): New function.
164 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
165 Use CPU_* defines instead of hardcoded numbers.
166
167 * doc/as.texinfo: Document new options.
168 * doc/c-mips.texi: Ditto.
169
a01b9fa4
KH
1702000-09-12 Kazu Hirata <kazu@hxi.com>
171
172 * as.h: Fix formatting.
173 * asintl.h: Likewise.
174 * bit_fix.h: Likewise.
dcd619be
KH
175 * config/obj-aout.c: Likewise.
176 * config/obj-aout.h: Likewise.
177 * config/obj-bout.c: Likewise.
178 * config/obj-bout.h: Likewise.
179 * config/obj-coff.c: Likewise.
180 * config/obj-coff.h: Likewise.
a01b9fa4
KH
181 * dwarf2dbg.h: Likewise.
182 * expr.h: Likewise.
183 * flonum.h: Likewise.
184 * frags.h: Likewise.
185 * itbl-ops.h: Likewise.
186 * macro.h: Likewise.
187 * read.h: Likewise.
188 * sb.h: Likewise.
189 * struc-symbol.h: Likewise.
190 * subsegs.h: Likewise.
191 * symbols.h: Likewise.
192 * tc.h: Likewise.
193 * write.h: Likewise.
194
92774660
KH
1952000-09-11 Kazu Hirata <kazu@hxi.com>
196
f0e652b4
KH
197 * bignum-copy.c: Fix formatting.
198 * config/tc-i370.c: Likewise.
92774660
KH
199 * config/tc-i960.c: Likewise.
200 * config/tc-m68k.c: Likewise.
f0e652b4
KH
201 * ehopt.c: Likewise.
202 * flonum-copy.c: Likewise.
203 * flonum-konst.c: Likewise.
204 * flonum-mult.c: Likewise.
205 * literal.c: Likewise.
206 * read.c: Likewise.
207 * sb.c: Likewise.
208 * stabs.c: Likewise.
209 * subsegs.c: Likewise.
92774660 210
222f8079
PB
2112000-09-09 Philip Blundell <philb@gnu.org>
212
213 * configure.in (arm*-*-uclinux*): New target.
214 * configure: Regenerate.
215
c488923f
KH
2162000-09-09 Kazu Hirata <kazu@hxi.com>
217
218 * input-file.c: Fix formatting.
219 * itbl-ops.c: Likewise.
220 * messages.c: Likewise.
221
e0e3ecca
PB
2222000-09-08 Philip Blundell <philb@gnu.org>
223
224 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
225 offset is negative.
226
5d64ca4e
L
2272000-09-07 H.J. Lu <hjl@gnu.org>
228
229 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
230 * configure: Rebuild.
231
bdaaa2e1
KH
2322000-09-07 Kazu Hirata <kazu@hxi.com>
233
e49bc11e
KH
234 * atof-generic.c: Fix formatting.
235 * config/tc-mips.c: Likewise.
e13b337a
KH
236 * config/tc-vax.c: Likewise.
237 * input-scrub.c: Likewise.
bdaaa2e1 238
d07ed2cd
AO
2392000-09-07 Alexandre Oliva <aoliva@redhat.com>
240
241 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
242 * configure.in (sh-*-linux*): Added.
243 * configure: Rebuilt.
244
86905619
KH
2452000-09-06 Kazu Hirata <kazu@hxi.com>
246
a28a3ccf
JL
247 * config/tc-hppa.c: Fix formatting.
248
86905619
KH
249 * ecoff.c: Fix formatting.
250
58cccadb
AO
2512000-09-06 Alexandre Oliva <aoliva@redhat.com>
252
253 * configure: Rebuilt with new libtool.m4.
254
542d6675
KH
2552000-09-05 Kazu Hirata <kazu@hxi.com>
256
257 * cgen.c: Fix formatting.
258 * config/tc-ia64.c: Likewise.
259
5b343f5a
NC
2602000-09-05 Nick Clifton <nickc@redhat.com>
261
262 * aclocal.m4: Regenerate.
263 * config.in: Regenerate.
264 * configure: Regenerate.
265 * po/gas.pot: Regenerate.
50bbae35 266
07e90ad5
HPN
2672000-09-05 Hans-Peter Nilsson <hp@axis.com>
268
269 * config/tc-cris.c: Correct comment typos.
270
1485d400
EC
2712000-09-05 Eric Christopher <echristo@cygnus.com>
272
273 * config/tc-mn10300.c: Cleanup.
274 (md_pcrel_from): Enable.
275
904a31bf
AM
2762000-09-05 Alan Modra <alan@linuxcare.com.au>
277
927781e2
AM
278 * expr.c (operand): Fix a comment typo.
279 * write.c (write_relocs): Fix a signed/unsigned warning.
280
ecacdc7a
AM
281 * config/tc-hppa.c (fudge_reg_expressions): New
282 (hppa_force_reg_syms_absolute): New.
283 (pa_equ): Allow reg_section expressions.
284 * config/tc-hppa.c (md_optimize_expr): Define.
285 (hppa_force_reg_syms_absolute): Prototype.
286
287 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
288 (pa_parse_number): Pass in arg to select fp reg parsing.
289 Return 1 to indicate format checks pass. If strict, then only
290 accept a register or register symbol. Return value in...
291 (pa_number): New static for pa_parse_number.
292 (FP_REG_BASE): Define.
293 (FP_REG_RSEL): Define.
294 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
295 appropriate. White space changes.
296 (need_pa11_opcode): Don't bother passing any params, get them from
297 globals instead.
298 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
299 Remove extraneous check in case 'Q'.
300 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
301 reg, set section of resulting symbol to reg_section.
302 (pa_parse_space_stmt): Modify call to pa_parse_number.
303 (pa_space): Likewise.
304
904a31bf
AM
305 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
306 (hppa_force_relocation): Handle vtable relocs.
307 (pa_vtable_entry): New.
308 (pa_vtable_inherit): New.
309 (md_pseudo_table): Add entries for vtable pseudos.
310 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
311 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
312 against weak syms.
313 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
314 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
315 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
316 millicode import.
317 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
318 specify a symbol type.
319
320 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
321 dependent things together.
322 (md_elf_symbol_type): Define.
323
324 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
325 symbol.
326 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
327
328 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
329 (obj_elf_vtable_entry): Declare.
330
331 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
332 and export function.
333 (obj_elf_vtable_entry): Similarly.
334 (elf_pseudo_table): Fix the damage with a cast.
335
a47cf567 3362000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
337
338 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
339 for template selection when a label is needed.
340
197865e8
KH
3412000-09-02 Kazu Hirata <kazu@hxi.com>
342
343 * config/tc-ia64.c: Fix formatting.
344
18e03609
NC
3452000-09-02 Nick Clifton <nickc@redhat.com>
346
347 * configure.in: Increase version number to 2.10.91.
348 * configure: Regenerate.
349 * aclocal.m4: Regenerate.
350 * config.in: Regenerate.
351 * po/gas.pot: Regenerate.
352 * Makefile.in: Regenerate.
1485d400 353
a1cc9221
AO
3542000-09-01 Alexandre Oliva <aoliva@redhat.com>
355
356 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
357 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
358 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
359 similar relocs.
360 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
361 branches.
362
3632000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
364
365 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
366 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
367 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
368 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
369 (GOT_symbol): New variable.
370 (md_undefined_symbol): Set it.
371
44576e1f
RH
3722000-09-01 Richard Henderson <rth@cygnus.com>
373
374 * config/tc-ia64.c (match): Don't inline.
375 (extra_goodness): New.
376 (md_begin): Prefer nop.f and nop.b for best_template.
377
29f8404c
KH
3782000-08-31 Kazu Hirata <kazu@hxi.com>
379
76b0a8c0
KH
380 * as.c: Fix formatting.
381 * cond.c: Likewise.
382 * frags.c: Likewise.
29f8404c
KH
383 * macro.c: Likewise.
384
b4c1ea07
EC
3852000-08-31 Eric Christopher <echristo@cygnus.com>
386
387 * config/tc-mn10300.c: Cleanup and fix warnings.
388 (md_pseudo_table): Add initializers.
389 (md_show_usage): Cleanup.
390 (md_parse_option): Fix warnings.
391 (md_undefined_symbol): Fix warnings.
392 (md_conver_frag): Fix warnings.
393 (tc_gen_reloc): Fix warnings.
394 (md_apply_fix3): Fix warnings.
395 (check_operand): Fix warnings.
396
ac48eca1
AO
3972000-08-31 Alexandre Oliva <aoliva@redhat.com>
398
399 * acinclude.m4: Include libtool and gettext macros from the
400 top level.
401 * aclocal.m4, configure: Rebuilt.
402
e0c21649
GK
4032000-08-30 Mark Hatle <mhatle@mvista.com>
404
405 * config/tc-ppc.c (md_parse_option): Recognize -m405.
406
cf39a089
KH
4072000-08-31 Kazu Hirata <kazu@hxi.com>
408
409 * listing.c: Fix formatting.
410
3ee4defc
KH
4112000-08-29 Kazu Hirata <kazu@hxi.com>
412
413 * app.c: Fix a comment typo. Fix formatting.
414
1e8d20f4
NC
4152000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
416
50bbae35
AM
417 * tc-vax.c (md_convert_frag): Correctly calculate the pc relative
418 offset of the target destination for jmp instructions.
419 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 420
5bcac8a4
HPN
4212000-08-24 Hans-Peter Nilsson <hp@axis.com>
422
423 * NEWS: Mention support for CRIS.
424
46547ecc
DC
425Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
426
427 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
428 Sets `.lcomm' alignment to zero.
429
4b853faa
AO
4302000-08-23 Alexandre Oliva <aoliva@redhat.com>
431
432 * config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
433 (TC_FIX_ADJUSTABLE): Define.
434
efcc5914
JW
4352000-08-23 Jim Wilson <wilson@cygnus.com>
436
437 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
438 unwind.personality_routine is set.
439
aca719bf
AO
4402000-08-23 H.J. Lu <hjl@gnu.org>
441
442 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
443
a3da4de1
AO
4442000-08-23 Alexandre Oliva <aoliva@redhat.com>
445
446 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
447 environment is pe.
448
56385375
L
4492000-08-22 H.J. Lu <hjl@gnu.org>
450
451 * config.in (STRICTCOFF): New for strict COFF.
452
453 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
454 i386-*-go32* and i386-go32-rtems*.
455 * configure: Rebuilt.
456
457 * config/obj-coff.c (obj_coff_endef): Follow the historical
458 behavior if STRICTCOFF is not defined.
459
460 * doc/internals.texi: Document STRICTCOFF.
461
8f36cd18
AO
4622000-08-22 Alexandre Oliva <aoliva@redhat.com>
463
464 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
465 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
466 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
467 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
468 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
469 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
470 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
471 Likewise.
472
58a77e41
EC
4732000-08-22 Eric Christopher <echristo@cygnus.com>
474
475 * config/tc-mn10300.c: (md_apply_fix): New function.
476 (mn10300_force_relocation): New function.
477 (mn10300_fix_adjustable): New function.
478
479 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
480 (TC_HANDLES_FX_DONE): Define.
481 (obj_fix_adjustable): Define.
482 (MD_APPLY_FIX3): Define.
483 (TC_LINKRELAX_FIXUP): Define.
484
485 * write.c: (TC_LINKRELAX_FIXUP): Define if not
486 previously defined.
487 (fixup_segment): Use TC_LINKRELAX_FIXUP.
488
489 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
490
ded0649c
JE
4912000-08-21 Jason Eckhardt <jle@cygnus.com>
492
493 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
494 if the fixup resulted in a relocation.
495
66102fe2
NC
4962000-08-18 Nick Clifton <nickc@redhat.com>
497
498 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
499 Make reference to first element of shift_names explicit.
500
02198638
AO
5012000-08-18 Alexandre Oliva <aoliva@redhat.com>
502
503 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
504 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
505 add a symbol's address. Removed all target-specific #ifdefs that
506 used to accomplished the same.
507 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
508 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
509 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
510 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
511 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
512
353e2c69
KH
5132000-08-17 Kazu Hirata <kazu@hxi.com>
514
515 * dwarf2dbg.c: Fix formatting.
516
4fb7971f
NC
5172000-08-17 Nick Clifton <nickc@redhat.com>
518
519 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
520 to be recoded as logical shift lefts by zero.
521
50b81f19
JW
5222000-08-16 Jim Wilson <wilson@cygnus.com>
523
524 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
525 postincrement modified registers. Handle IA64_OPND_R3_2 addl
526 source registers.
527 (note_register_values): Handle IA64_OPND_R3_2 operands.
528
f869cfc6
JE
5292000-08-16 Jason Eckhardt <jle@cygnus.com>
530
50bbae35 531 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 532
8cb8bcba
NC
5332000-08-16 Nick Clifton <nickc@redhat.com>
534
535 * config/tc-arm.c (struct asm_shift): Delete.
536 (shift[]): Delete.
537 (enum asm_shift_index): New.
538 (struct asm_shift_properties): New.
539 (struct asm_shift_name): New.
540 (shift_properties[]); New.
541 (shift_names[]); New.
542
543 (decode_shift): Use new structures.
544 Issue a warning is "ROR #0" is used.
545 Issue a warning if "ASR #0" or "LSR #0" is used.
546
547 (md_begin): Initialise arm_shift_hsh table from new
548 asm_shift_name array.
549
c2158c24
JJ
5502000-08-16 Jakub Jelinek <jakub@redhat.com>
551
552 * config/tc-sparc.c: Kill all warnings.
553 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
554 in -xarch= as well.
555 (md_show_usage): Update usage text.
556
70485b5c
NC
5572000-08-16 Nick Clifton <nickc@redhat.com>
558
c2158c24 559 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
560 useful.
561
a47cf567 5622000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
563
564 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
565
566 * config/tc-sh.c (md_assemble): Changed so debug_type
567 test performed for ppi_assemble
568 * config/tc-sh.c: Included dwarf2dbg.h.
569 (debug_line): Defined.
570 (md_assemble): Generates dwarf2 line info.
571 (sh_finalize): New function. Finalize dwarf2 info.
572 (assemble_ppi): Returns size of code generated.
573 (build_Mytes): Returns size of code generated.
574 (md_pseudo_table): Added "file" and "loc" psuedo ops.
575 * config/tc-sh.h (md_end): Defined.
576 (sh_finalize): Declared.
577
1db77c8e
AO
5782000-08-15 Alexandre Oliva <aoliva@redhat.com>
579
580 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
581 md_number_to_chars.
582
046b3b54
NC
5832000-08-14 Nick Clifton <nickc@redhat.com>
584
585 * config/tc-arm.c (do_bx): Allow "bx pc".
586
c43c2cc5
JW
5872000-08-14 Jim Wilson <wilson@cygnus.com>
588
589 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
590 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
591 (md_begin): Change assignment to md.flag to OR in the new bit.
592
d1d8ba22
NC
5932000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
594
595 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
596 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
597 C_MOU, and C_EOS.
598
22b36938
JE
5992000-08-14 Jason Eckhardt <jle@cygnus.com>
600
601 * NEWS: Mention i860 support.
602
c0bd0db2
JL
603Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
604
605 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
606
0ac658b8
AS
6072000-08-14 Andreas Schwab <schwab@suse.de>
608
609 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
610
9fc2dda2
JE
6112000-08-11 Andreas Schwab <schwab@suse.de>
612
613 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
614 argument.
615
bc4466dc
KH
6162000-08-11 Kazu Hirata <kazu@hxi.com>
617
618 * expr.c: Fix formatting.
351aa9f6 619 * config/obj-bout.c: Likewise.
bc4466dc 620
a9c99419
JE
6212000-08-10 Jason Eckhardt <jle@cygnus.com>
622
623 * doc/c-i860.texi: Flesh out the i860 section more.
624
7c743825
KH
6252000-08-10 Kazu Hirata <kazu@hxi.com>
626
627 * symbols.c: Fix formatting.
929b12bc 628 * expr.c: Likewise.
7c743825 629
fa2255cb
DN
630Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
631
632 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
633 has the IgnoreSize bit set.
634
fc997f4b
AM
6352000-08-09 Alan Modra <alan@linuxcare.com.au>
636
637 From Rodney Brown <RodneyBrown@mynd.com>
638 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
639 * configure: Regenerate.
640
a47cf567
NC
6412000-08-09 Kazu Hirata <kazu@hxi.com>
642
643 * hash.c: Fix formatting.
644 * gasp.c: Likewise.
645
305d537e
JE
6462000-08-08 Jason Eckhardt <jle@cygnus.com>
647
648 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
649 (i860_fix_info): New enum.
650 (MD_APPLY_FIX3): Define.
651 (WORKING_DOT_WORD): Define.
652 (TC_HANDLES_FX_DONE): Define.
653 (DIFF_EXPR_OK): Define.
654 (LISTING_HEADER): Define.
655 (TARGET_FORMAT): Select target format based on endian flag.
656 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
657 (target_big_endian): Add external declaration.
658
659 * config/tc-i860.c: All existing code reworked completely. Other
660 new code shown below.
661 (SYNTAX_SVR4): Define.
662 (target_warn_expand): New variable.
663 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
664 (md_longopts): Declare and define with new options (-EL, -EB,
665 and -mwarn-expand).
666 (md_show_usage): New function.
667 (md_operand): New function.
668 (obtain_reloc_for_imm16): New function.
669 (md_apply_fix3): New function.
670 (tc_gen_reloc): New function.
671
df86943d
NC
6722000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
673
674 * config/tc-m68hc11.c (build_jump_insn): Make sure the
675 2 bytes of the jump address are in the same frag.
676 (find): Accept 68hc12 register indirect modes.
677
678 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 679
30d25259
RH
6802000-08-07 Richard Henderson <rth@cygnus.com>
681
682 * config/tc-ia64.c (unwind): Add prologue_mask member.
683 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
684 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
685 (dot_body): Clear unwind.prologue_mask.
686 (dot_prologue): Set it. Accept a register second argument.
687
2d484c7f
KH
6882000-08-07 Kazu Hirata <kazu@hxi.com>
689
690 * config/atof-ieee.c: Fix formatting.
691 * config/atof-tahoe.c: Likewise.
692
a47cf567 6932000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 694
3d4ae3c0
NC
695 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
696 work.
697
c91d2e08
NC
698 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
699 of .popsection, .previous, .pushsection, .subsection,
700 .version, .vtable_entry, .vtable_inherit and .weak.
701
47926f60
KH
7022000-08-05 Kazu Hirata <kazu@hxi.com>
703
704 * config/tc-cris.c: Fix formatting.
705 * config/tc-i386.c: Likewise.
706 * config/tc-sparc.c (sparc_ip): Simplify the code.
707
ab3e48dc
KH
7082000-08-04 Kazu Hirata <kazu@hxi.com>
709
710 * config/tc-cris.c: Rearrange code for readability.
711 * config/tc-d10v.c: Fix formatting.
712 * config/tc-m32r.c: Likewise.
713 * config/tc-sparc.c: Likewise.
714
3d56ab85
JW
7152000-08-02 Jim Wilson <wilson@cygnus.com>
716
717 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
718 before ia64_find_opcode.
719 (md_assemble): Likewise.
720
3f9dfb2c
NC
7212000-08-01 Nick Clifton <nickc@cygnus.com>
722
a47cf567 723 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 724 Undo some formatting fixes.
3f9dfb2c 725
28e4f854
KH
7262000-08-01 Kazu Hirata <kazu@hxi.com>
727
728 * config/obj-som.c: Fix formatting.
729 * config/obj-ieee.c: Likewise.
730 * config/tc-arm.c: Likewise.
731 * config/tc-v850.c: Likewise.
732
a570e639
NC
7332000-08-01 Nick Clifton <nickc@redhat.com>
734
735 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
736 index by command line option.
58a77e41 737
a570e639
NC
7382000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
739
740 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
741 (@node M68K-Branch): Rewrite to match the reality.
742
e3308d0d
JE
7432000-07-31 Jason Eckhardt <jle@cygnus.com>
744
745 * doc/c-i860.texi: New file.
746 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
747 * doc/Makefile.in: Regenerate.
748 * doc/all.texi: Add I860 as relevant architecture.
749 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
750
2fd5405a
NC
7512000-07-31 Kazu Hirata <kazu@hxi.com>
752
753 * config/tc-d30v.c: Fix formatting.
754
28e7409f
NC
7552000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
756
50bbae35
AM
757 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
758 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
759 long emit a long branch if available instead of an absolute jump, never
760 emit absolute jumps for anything with --pcrel.
28e7409f
NC
761
762 * doc/c-m68k.texi: Document new command line option.
58a77e41 763
a47cf567
NC
7642000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
765
766 * config/tc-avr.c: Use PARAMS macro in function declarations.
767 Don't declare md_pcrel_from_section (already in tc-avr.h).
768 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
769 (avr_operand): Don't set (unsigned) op_mask to -1.
770
534022ea
JE
7712000-07-28 Jason Eckhardt <jle@cygnus.com>
772
50bbae35
AM
773 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
774 * configure: Regenerated.
775 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
776 of operand to the .type directive (.e.g, "type").
534022ea 777
4c400d5e
AM
7782000-07-28 Alan Modra <alan@linuxcare.com.au>
779
780 * as.h (warn_comment, found_comment, found_comment_file): Declare.
781 * app.c (do_scrub_chars): Record where first comment found.
782 * read.c (read_a_source_file): Init found_comment on entry, and
783 notify whether comments found on exit.
784 * config/tc-hppa.c (md_shortopts): Add "c".
785 (md_longopts): Add warn-comment.
786 (md_parse_option): Handle it.
787 (md_show_usage): Show available options.
788 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
789
0aa529cb
AC
790Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
791
792 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
793 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 794 sym_ptr_ptr
0aa529cb
AC
795 (md_estimate_size_before_relax): Don't fall off end of function.
796
c6a7ab1f
NC
7972000-07-27 Kazu Hirata <kazu@hxi.com>
798
799 * config/tc-avr.c: Fix formatting.
800 * config/tc-ns32k.c: Likewise.
801
e0c6ed95
AM
8022000-07-27 Alan Modra <alan@linuxcare.com.au>
803
804 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
805
8062000-07-27 Kazu Hirata <kazu@hxi.com>
807
808 * config/tc-d10v.c: Fix formatting.
809 * config/tc-z8k.c: Likewise.
810 * config/tc-sparc.c: Likewise.
811
6883dc5e 8122000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
813
814 * cgen.c (queue_fixup): Declare opinfo.
815 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
816 (gas_cgen_md_operand): Ditto.
817 (gas_cgen_md_apply_fix3): Ditto.
818
39da8128
DD
8192000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
820
821 * config/obj-coff.c (obj_frob_symbol): Don't merge
822 labels. Don't merge if the symbol isn't constant. Return
823 immediately if a symbol is merged.
824
65e68b04
AM
8252000-07-22 Alan Modra <alan@linuxcare.com.au>
826
827 * frags.c (frag_align): Correct absolute section alignment.
828
5e0d736c
DD
8292000-07-20 DJ Delorie <dj@redhat.com>
830
831 * config/obj-coff.c (obj_frob_symbol): revert previous change,
832 it breaks linking against DLLs.
833
3bcbcc3d
HPN
8342000-07-20 Hans-Peter Nilsson <hp@axis.com>
835
836 * configure.in: Add CRIS support.
837 * configure: Regenerate.
838 * Makefile.am: (CPU_TYPES): Add cris.
839 (CPU_OBJ_VALID) [aout]: Add cris.
840 (MULTI_CPU_TYPES): Add cris.
841 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 842 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
843 (TARGET_CPU_CFILES): Add config/tc-cris.c.
844 (TARGET_CPU_HFILES): Add config/tc-cris.h.
845 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
846 Regenerate dependencies.
847 * Makefile.in: Regenerate.
848 * aclocal.m4: Regenerate.
849 * as.c: Declare crisaout, criself.
850 * config/tc-cris.h, config/tc-cris.c: New.
851 * config/e-criself.c, config/e-crisaout.c: New.
852 * po/POTFILES.in, po/gas.pot: Regenerate.
853
041ff4dd 8542000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 855
041ff4dd 856 * read.c: Fix formatting.
efaf0ba4 857 * write.c: Fix formatting.
041ff4dd 858
f980ada0
L
8592000-07-19 H.J. Lu <hjl@gnu.org>
860
861 * sb.c: Include <stdlib.h> if exists for abort ().
862
25a8b250
AM
8632000-07-19 Alan Modra <alan@linuxcare.com.au>
864
865 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
866 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
867 (pa_type_args): Same here.
868
7a9aaf92
NC
8692000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
870
871 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
872 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
873 the storage class is already set.
874
8098403c
NC
8752000-07-17 Kazu Hirata <kazu@hxi.com>
876
fafb6d17 877 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
878 * config/tc-mn10200.c: Likewise.
879 * config/tc-mn10300.c: Likewise.
880 * config/tc-pj.c: Likewise.
881 * config/tc-tic80.c: Likewise.
882 * config/tc-w65.c: Likewise.
8098403c 883
977e771a
FCE
8842000-07-17 Frank Ch. Eigler <fche@redhat.com>
885
886 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
887 is defined.
888
63bf5651
ILT
8892000-07-15 Ian Lance Taylor <ian@zembu.com>
890
891 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
892 @code.
893
1cd1c99b
AM
8942000-07-15 Alan Modra <alan@linuxcare.com.au>
895
896 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
897 ELF as are used for SOM (except the 32-bit reloc one) to decide
898 whether a symbol can be reduced to a section symbol. Expand on
899 the comment for symbols involved in LR% and RR% expressions.
900
119d663a
NC
9012000-07-14 Nick Clifton <nickc@cygnus.com>
902
903 * config/tc-mips.c (mips_disable_float_construction): New
904 static variable. Set to true if doubles should not be
905 constructed by loading two single width fp registers with
906 halves of the value.
907 (mips_ip): Test mips_disable_float_construction.
908 (md_longopts): Add command line switches --construct-floats
909 and --no-construct-floats.
910 (md_parse_option): Parse new command line options.
911 (md_show_usage): Describe new command line options.
912
913 * doc/c-mips.texi: Document new command line options.
914
906fac54
AM
9152000-07-13 Koundinya K <kk@ddeorg.soft.net>
916
917 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
918 * configure: Regenerate.
919
9202000-07-13 Hans-Peter Nilsson <hp@axis.com>
921
922 * configure.in (DEFAULT_EMULATION setting): Revert part of
923 2000-07-01 change that set te_multi=multi unless set to tmips.
924 * configure: Regenerate.
925
7f788821
NC
9262000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
927
928 * config/obj-coff.c (coff_frob_section): Add padding to the last
929 section when aligning it increases its size.
930
9a736b6b
NC
9312000-07-11 Kazu Hirata <kazu@hxi.com>
932
933 * config/tc-tic54x.c: Fix formatting.
934
3dd5103b
NC
9352000-07-10 Kazu Hirata <kazu@hxi.com>
936
937 * config/tc-h8500.c: Fix formatting.
1aea3bb8 938 * config/tc-tic54x.c: Fix formatting.
3dd5103b 939
46b85d42
AM
9402000-07-10 Alan Modra <alan@linuxcare.com.au>
941
942 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
943 displacements correctly.
944
945 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
946
9472000-07-10 Ryan Bradetich <rbradetich@uswest.net>
948
949 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
950 warning.
951 (hash_jam): Ditto.
952
ad1079af
AM
9532000-07-09 Alan Modra <alan@linuxcare.com.au>
954
955 From David Huggins-Daines <dhd@linuxcare.com>
956 * config/te-hppalinux64.h: Add a new emulation.
957 * configure.in (emulations): Add configure bits to support the
958 64-bit Linux/parisc target.
959 * configure: Regenerate.
960
961 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
962 (md_shortopts): Add `V' for ELF.
963
964 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
965 when SOM or ELF_ARG_RELOC are defined.
966 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
967 ELF_ARG_RELOC are defined.
968 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
969 (pa_stringer): ..Do it here instead. Fix comment typos.
970 (hppa_force_relocation): Cast enums to int before comparing with
971 ints.
972
973 From Ryan Bradetich <rbradetich@uswest.net>
974 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
975 redifinition warning.
976 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
977 (hppa_force_relocation): ditto
ad1079af
AM
978 (md_apply_fix): Added cast to buf to fix warnings.
979
980 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
981 cons_fix_new_hppa, hppa_force_relocation): Prototype.
982
983 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
984 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
985 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
986 reloc_type** to avoid warnings in switch.
987 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
988 little earlier instead.
989
990 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
991 and elf.
992 (pa_type_args): Use symbol_arg_reloc_info.
993 (struct pa_it): Make arg_reloc unsigned int.
994 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
995 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
996 (pa_code): Delete. pa_text duplicates this function.
997 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
998 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
999 int.
1000 (cons_fix_new_hppa): Actually change selector to e_fsel when
1001 warning about assuming so.
1002 (tc_gen_reloc): More example elf arg reloc code.
1003 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
1004 (hppa_force_relocation): Likewise.
1005
1006 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
1007 files.
1008 (pa_end_of_source): Prototype.
1009 (hppa_fix_adjustable): Prototype.
1010 (LABELS_WITHOUT_COLONS): Move it..
1011 * config/te-hppa.h: To here.
1012
1013 * config/te-hppa64.h: New file.
1014
1015 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
1016 type.
1017 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
1018 format -10, -16, 16 relocs.
1019 (hppa_elf_mark_end_of_function): Test for null
1020 last_call_info->start_symbol
1021
1022 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
1023 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
1024 re_assesmble_* functions. Delete extraneous statements. Fix
1025 typos in comments.
1026 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
1027 insn to re_assemble_*.
1028
623aa224
UC
10292000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
1030
1031 * doc/internals.texi (Expressions): Fix typo.
58a77e41 1032
c4aa876b
NC
10332000-07-08 Kazu Hirata <kazu@hxi.com>
1034
1035 * config/tc-sh.c: Fix formatting.
d0313fb7 1036 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
1037 * depend.c: Fix formatting.
1038 * flonum-konst.c: Likewise.
1039 * flonum-mult.c: Likewise.
c4aa876b 1040
6b31947e
NC
10412000-07-07 Kazu Hirata <kazu@hxi.com>
1042
a5bfe8c9 1043 * config/tc-sh.c: Fix comments.
bc0d738a
NC
1044 * config/obj-vms.c: Fix comments.
1045 * config/tc-a29k.c: Likewise.
1046 * config/tc-alpha.c: Likewise.
1047 * config/tc-h8300.c: Likewise.
1048 * config/tc-h8500.c: Likewise.
1049 * config/tc-i370.c: Likewise.
1050 * config/tc-ia64.c: Likewise.
1051 * config/tc-m68hc11.c: Likewise.
1052 * config/tc-m68k.c: Likewise.
1053 * config/tc-mips.c: Likewise.
1054 * config/tc-ns32k.c: Likewise.
1055 * config/tc-ppc.c: Likewise.
1056 * config/tc-z8k.c: Likewise.
6b31947e 1057
b8a9dcab
NC
10582000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
1059
1060 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
1061 Default to '(SEC_LOAD | SEC_DATA)'.
1062 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
1063
1064 * doc/internals.texi (CPU Backend): Describe
1065 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
1066
beb2de9b
AC
1067Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
1068
1069 * as.c (parse_args): NULL terminate the long option list.
1070
24ddb296
AC
1071Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
1072
1073 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 1074 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 1075
1fe72011
NC
10762000-07-05 Nick Clifton <nickc@cygnus.com>
1077
1078 * config/tc-d30v.c (write_2_short): Further changes to warning
1079 messages produced when combining EITHER_BUT_PREFER_MU attributed
1080 opcodes.
1081
a5bfe8c9 10822000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
1083
1084 * MAINTAINERS: new
1085
8de8f17e
AO
10862000-07-04 Alexandre Oliva <aoliva@redhat.com>
1087
1088 * config/tc-arm.c (psrs): Accept combinations of flags.
1089
00d2865b
NC
10902000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
1091
1092 * config/tc-avr.c: Change _ () to _() around all strings marked
1093 for translation (exception from the usual coding style).
1094 (avr_opt): New struct variable, how the new switches are set.
1095 (OPTION_MMCU): Define as 'm' and actually use.
1096 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
1097 (show_mcu_list): New function, display the list of known MCUs.
1098 (md_show_usage): Document the new switches. Call show_mcu_list.
1099 (avr_set_arch): Change 'm' to OPTION_MMCU.
1100 (md_parse_option): Call show_mcu_list if unknown MCU specified.
1101 Handle the new switches.
1102 (avr_operands): Disable warnings for undefined combinations of
1103 operands if -mall-opcodes. Disable warnings for skipping two-word
1104 instructions if enhanced core or -mno-skip-bug.
1105 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
1106 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
1107 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
1108 (avr_ldi_expression): Warn about implicit lo8().
1109 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
1110
54588503
UC
11112000-07-01 Koundinya K <kk@ddeorg.soft.net>
1112
50bbae35
AM
1113 * configure.in: Add entry for mips-*-sysv4*MP*
1114 * configure: Rebuild
1115 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
1116 elf32-tradlittlemips for traditional mips targets.
1117 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
1118 test for Link Once sections as in adjust_reloc_syms.
1119 * config/te-tmips.h: New file for traditional mips targets. Define
1120 TE_TMIPS.
58a77e41 1121
c9900432
NC
11222000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
1123
1124 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
1125 flags argument is not present, don't change an existing section's
1126 section's attributes. If the flags argument is present, warn if the
1127 attributes don't match the section's current attributes. When
1128 long section names are supported, set SEC_LINK_ONCE and
1129 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
1130
9d87310a
HPN
1131Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
1132
1133 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
1134 symbols; create them.
1135
dbddefbf
NC
11362000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
1137
1138 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 1139 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 1140
2ae7e77b
AH
11412000-06-27 Aldy Hernandez <aldyh@redhat.com>
1142
1143 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
1144 expressions. Ignore the problem when handling 16 bit signed
1145 immediates, because the assembler will take care of the relocation
1146 later.
2ae7e77b 1147
6b2539e3
NC
11482000-06-27 Nick Clifton <nickc@cygnus.com>
1149
1150 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 1151 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
1152 sequential order, and emit warning messages if the input source
1153 code contains constructs like that, or parallel constructs
1154 containing such opcodes.
1155
65aa24b6
NC
11562000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
1157
1158 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
1159 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
1160 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
1161 (md_show_usage): Update usage message.
1162 (md_parse_option): Allow redefinition of MCU type within the
1163 same avr[1-5] bfd machine type. Show both old and new MCU type
1164 in the error message.
1165 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
1166 Simplify 8K wrap code.
1167
f0c56b90
NC
11682000-06-25 Kazu Hirata <kazu@hxi.com>
1169
50bbae35
AM
1170 * config/obj-aout.c: Remove all uses of DEFUN.
1171 * config/obj-ieee.c: Likewise.
1172 * config/tc-sh.c: Fix comment typos.
1173 * config/tc-tahoe.c: Likewise.
1174 * config/tc-vax.c: Likewise.
1175 * config/tc-w65.c: Likewise.
1176 * config/tc-z8k.c: Likewise.
f0c56b90
NC
1177 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
1178
6d249963
DD
11792000-06-24 DJ Delorie <dj@cygnus.com>
1180
1181 * config/tc-i386.c (md_estimate_size_before_relax): Revert
1182 more changes from Sept 1999
1183 (tc_i386_fix_adjustable): ditto
1184 (md_apply_fix3): ditto
1185
680d2857 11862000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 1187
680d2857
FCE
1188 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
1189 (gas_cgen_parse_operand): Set it around expression() call.
1190 (gas_cgen_md_operand): Test for it before longjmp().
1191
e7b305a2
AM
11922000-06-24 Kazu Hirata <kazu@hxi.com>
1193
c0fecd35
AM
1194 * config/tc-h8500.c: Remove all uses of DEFUN.
1195 * config/tc-sh.c: Likewise.
1196 * config/tc-w65.c: Likewise.
1197 * config/tc-z8k.c: Likewise.
1198
e7b305a2
AM
1199 * config/tc-h8500.c: Fix typos in comments.
1200
ed6d6fd3
FCE
12012000-06-23 Frank Ch. Eigler <fche@redhat.com>
1202
1203 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
1204 is defined.
1205
f7c88872
AM
12062000-06-23 matthew green <mrg@redhat.com>
1207
1208 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 1209 defined. Fix error message for `[' grouping.
f7c88872 1210
70d6ecf3
AM
12112000-06-22 Kazu Hirata <kazu@hxi.com>
1212
1213 * config/tc-h8300.c: Fix formatting and comment typos.
1214
e9718fe1
TW
12152000-06-22 Timothy Wall <twall@cygnus.com>
1216
1217 * config/tc-ia64.c (note_register_values): Move premature QP
1218 notation clearing into the appropriate place.
1219
45288df1
AM
12202000-06-22 Alan Modra <alan@linuxcare.com.au>
1221
1581f8c9
AM
1222 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
1223 first before anything else. Add bin-bugs.h, emul.h and progress.h
1224 Sort list of files as for $(OBJS) in Makefile.am.
1225
1226 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
1227 find one. Remake dependencies.
1228 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
1229 * Makefile.in: Regenerate.
1230 * doc/Makefile.in: Regenerate.
1231
45288df1
AM
1232 * config/tc-i386.c (i386_displacement): Don't assume a constant
1233 displacement is necessarily 16 bits when in 16 bit code mode.
1234 (md_assemble): Instead size the displacement here after we know
1235 for sure that a .code16gcc operand hasn't automatically added
1236 operand size prefixes.
1237
01580992
L
12382000-06-21 H.J. Lu <hjl@gnu.org>
1239
1240 * Makefile.am: Rebuild dependency.
1241 * Makefile.in: Rebuild.
1242
40f09f82
JL
12432000-06-21 Kazu Hirata <kazu@hxi.com>
1244
1245 * config/tc-h8300.c (parse_reg): Make the function static.
1246 (parse_exp): Likewise.
1247
78295804
DD
12482000-06-20 DJ Delorie <dj@cygnus.com>
1249
1250 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
1251 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
1252 for cygwin import libraries to work properly.
1253
45f85b08
L
12542000-06-20 H.J. Lu <hjl@gnu.org>
1255
1256 * Makefile.am: Rebuild dependency.
1257 * Makefile.in: Rebuild.
1258 * configure: Likewise.
1259 * doc/Makefile.in: Likewise.
1260
39bec121
TW
12612000-06-20 Timothy Wall <twall@cygnus.com>
1262
1263 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 1264 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
1265 * doc/c-tic54x.texi: New.
1266 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 1267 documentation file.
39bec121 1268 * doc/all.texi: Add C54X.
3e87a760 1269 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
1270 * doc/Makefile.in: Regenerate.
1271 * configure.in: Add tic54x and define LIBM for tic54x.
1272 * configure: Regenrate.
1273 * config/tc-tic54x.[ch]: New.
1274 * config/obj-coff.h: Add tic54x.
1275 * Makefile.am: (CPU_TYPES): Add tic54x.
1276 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
1277 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
1278 (as_new_LDADD): Add $(LIBM).
1279 * Makefile.in: Regenerate.
3e87a760 1280
60bcf0fa
NC
12812000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1282
1283 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
1284 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
1285 * doc/as.texinfo: Likewise.
1286
1287 * configure, Makefile.in: Regenerate.
1288 * configure.in (emulations): Recognize m6811 and m6812.
1289 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
1290 Added files for 68hc11 and 68hc12 assembler.
1291 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
1292 * config/tc-m68hc11.h: Header definition for that assembler.
1293
ec05f674
NC
12942000-06-18 Nick Clifton <nickc@redhat.com>
1295
24ef8152
NC
1296 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
1297 instead of OCTETS_PER_BYTE.
1298
ec05f674 1299 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 1300 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 1301
119caedd
L
13022000-06-18 H.J. Lu <hjl@gnu.org>
1303
1304 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
1305 * configure: Rebuild.
1306
607723e4
NC
13072000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
1308
3e87a760
AM
1309 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
1310 to BFD_ASSEMBLER.
607723e4 1311
b946ec34
NC
13122000-06-16 Nick Clifton <nickc@cygnus.com>
1313
1314 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
1315 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
1316
1317 * doc/c-mips.texi: Document newly accepted cpu variants.
1318
37ce37b1
UC
13192000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
1320
1321 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
1322
c06ae4f2
UC
13232000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
1324
1325 * macro.c (getstring): Make it possible to escape the quote
1326 character.
1327
20348649
JL
1328Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
1329
1330 * config/tc-hppa.c (pa_export): Weak symbols can be global.
1331
bcef29e6
L
13322000-06-13 H.J. Lu <hjl@gnu.org>
1333
1334 * configure: Regenerate.
1335
63a0b638
AM
13362000-06-09 Alan Modra <alan@linuxcare.com.au>
1337
1338 * app.c (do_scrub_begin): Don't default lex[';'] as a line
1339 separator.
1340 * doc/internals.texi (line_separator_chars): Semicolon is no
1341 longer a default. Mention null and newline as defaults.
1342
1343 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
1344
1345 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
1346 * config/tc-i860.h (line_separator_chars): Likewise.
1347 * config/tc-h8300.c (line_separator_chars): Likewise.
1348 * config/tc-i960.c (line_separator_chars): Likewise.
1349 * config/tc-m68k.c (line_separator_chars): Likewise.
1350 * config/tc-mips.c (line_separator_chars): Likewise.
1351 * config/tc-ns32k.c (line_separator_chars): Likewise.
1352 * config/tc-sparc.c (line_separator_chars): Likewise.
1353 * config/tc-vax.c (line_separator_chars): Likewise.
1354
1355 * config/tc-h8300.c (comment_chars): Use string initialiser.
1356 * config/tc-i960.c (line_comment_chars): Likewise.
1357 * config/tc-z8k.c (comment_chars, line_comment_chars,
1358 line_separator_chars): Likewise.
1359
1360 * config/tc-arm.c (line_separator_chars): Always use `;', not just
1361 for TE_LINUX.
1362
9bab9349
NC
13632000-06-08 Nick Clifton <nickc@cygnus.com>
1364
1365 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
1366 for size 1 fixes.
1367
946efd95
DB
13682000-06-08 David O'Brien <obrien@FreeBSD.org>
1369
1370 * configure.in (VERSION): Update to show this is the CVS mainline.
1371
6480b79a
DB
13722000-06-08 Matthew Jacob <mjacob@feral.com>
1373
1374 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
1375 $at is the integer register $r28, vs. both $r28 and the floating
1376 point register $f28.
1377
10850f29
JW
13782000-06-08 James E. Wilson <wilson@cygnus.com>
1379
1380 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
1381 (dot_endp): Don't call ia64_flush_insns.
1382 (emit_one_bundle): Don't delete prologue/body records from
1383 unwind_record list in first loop. Rewrite second loop to account for
1384 this.
1385
150f24a2
JW
13862000-06-07 David Mosberger <davidm@hpl.hp.com>
1387
1388 * config/tc-ia64.c: Add missing prototypes.
1389 (generate_unwind_image): Cast argument to output_unw_records call.
1390
e38c9cc2
DC
1391Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
1392
46b85d42 1393 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 1394
1188e082
DC
1395Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
1396
1397 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
1398 (REGISTER_P): likewise.
1399 (avr_opcodes): uses include/opcode/avr.h
1400 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 1401
ac743b2c
AM
14022000-06-04 Alan Modra <alan@linuxcare.com.au>
1403
0b545448
AM
1404 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
1405 initializers too.
ac743b2c 1406
969e1a7b
L
14072000-06-03 H.J. Lu <hjl@gnu.org>
1408
1409 * read.c (is_end_of_line): Put back `;'.
1410
65172ab8
AM
14112000-06-03 Alan Modra <alan@linuxcare.com.au>
1412
1413 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
1414
b75c0c92
AM
14152000-06-01 Alan Modra <alan@linuxcare.com.au>
1416
1417 * expr.c (operand): Test is_end_of_line outside switch to catch
1418 line separator chars that are also operators.
1419 (operator): Return O_illegal for line separator chars.
1420
1421 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
1422 entry (or `!' entry for TC_HPPA).
1423
1424 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
1425 before indexing is_end_of_line. Remove redundant check for '\0'.
1426 (fp_op2): Likewise.
1427 * config/tc-h8500.c (md_assemble): Likewise.
1428 * config/tc-mcore.c (md_assemble): Likewise.
1429 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1430 (md_atof): Likewise
1431
1432 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
1433 is_end_of_line.
1434 * config/tc-mcore.c (mcore_cons): Likewise.
1435 (mcore_float_cons): Likewise.
1436 (mcore_stringer): Likewise.
1437 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1438
a6836251
SB
14392000-06-01 Scott Bambrough <scottb@netwinder.org>
1440
1441 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
1442
43841e91
NC
14432000-05-29 Nick Clifton <nickc@cygnus.com>
1444
1445 * config/tc-sh.c: Fix compile time warning messages.
1446
1447 * config/tc-mips.c: Fix compile time warning messages.
1448
a057431b
PB
14492000-05-29 Philip Blundell <philb@gnu.org>
1450
1451 * doc/as.texinfo: Update copyright dates.
a81d9f0c 1452 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
1453 * NEWS: Mention ARM ELF support.
1454
3c07fb76
AO
14552000-05-27 Alexandre Oliva <aoliva@cygnus.com>
1456
1457 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
1458 it is modified, and use the real_size to compute the frag address
1459 for dwarf2 line info.
1460
ad4d6ccf
AM
14612000-05-27 Alan Modra <alan@linuxcare.com.au>
1462
1463 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
1464 line-matching scheme to cope with automake moving variables around.
1465 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
1466 * Makefile.in: Regenerate.
1467
6faf3d66
JJ
14682000-05-26 Jakub Jelinek <jakub@redhat.com>
1469
1470 * config/tc-sparc.c (sparc_relax): New.
1471 (md_longopts): Add -relax and -no-relax options.
1472 (md_parse_options, md_show_usage): Likewise.
1473 (md_apply_fix3): Optimize tail call into branch always if possible.
1474
0a44c2b1
DL
1475Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
1476
1477 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
1478 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
1479 rules, with warning when a GAS statement specifies a packing that
1480 will result in an instruction being squashed.
3e87a760
AM
1481 Added typdef packing_type and enumerals, changed various integer
1482 literals to use the enumerals.
0a44c2b1 1483
e0c9811a
JW
14842000-05-24 David Mosberger <davidm@hpl.hp.com>
1485
1486 * config/tc-ia64.c (dot_restorereg_p): New function.
1487 (md_pseudo_table): Add restorereg.p.
1488 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
1489 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
1490
1491 * config/tc-ia64.h (unw_record_type): Add unwabi.
1492 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
1493 called MASK with members for imask, and the masks produced by
1494 fr_mem, gr_mem, br_mem, and frgr_mem.
1495 (unw_p_record): Add members ABI and CONTEXT.
1496 (unw_x_record): Add member AB.
1497 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
1498 as pseudo-register for use during unwind info generation.
1499 (AR_PFS, AR_LC): New macros.
1500 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
1501 whose names start with an at sign (as in "@priunat").
1502 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
1503 register.
1504 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
1505 proc_end, unwind_info, personality_routine): Consolidate into
1506 "unwind" structure to reduce offset-table use. Add member
1507 NEXT_SLOT_NUMBER to track the slot number for the next instruction
1508 to be emitted.
1509 (output_R1_format, output_R3_format, output_P3_format,
1510 output_P6_format): Initialize R with zero to reduce compiler warnings.
1511 (output_P7_format): Ditto. Add `default' branch to switch
1512 statement to reduce compiler warnings.
1513 (output_P8_format, output_B1_format, output_B4_format): Ditto.
1514 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
1515 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
1516 into single argument.
1517 (output_X1_format, output_X3_format): Initialize R with zero to reduce
1518 compiler warnings. Merge A and B args into single argument.
1519 (output_X2_format, output_X4_format): Remove unused variable R. Merge
1520 A and B args into single argument.
1521 (free_record): Removed (wasn't used).
1522 (free_list_records): Also free imasks in prologue records.
1523 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
1524 (output_spill_mask): Remove.
1525 (output_unwabi): New function.
1526 (output_epilogue, output_label_state, output_copy_state): Call
1527 alloc_record.
1528 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
1529 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
1530 argument.
1531 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
1532 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
1533 as part of handling the prologue records. Emit region's imask if
1534 we have one. Handle unwabi, epilogue, label_state, copy_state,
1535 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
1536 spill_sprel_p, and spill_reg_p records.
1537 (set_imask, count_bits, slot_index): New function.
1538 (fixup_unw_records): Fix region size computation. Handle
1539 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
1540 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
1541 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
1542 set_imask accordingly. Update imask for gr_gr, and br_gr records.
1543 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
1544 (dot_save): Use manifest constants for applicaton registers.
1545 Handle REG_PR and REG_PRIUNAT.
1546 (dot_restore): Don't just ignore it.
1547 (dot_restorereg): New function..
1548 (generate_unwind_image): Ensure unwind info is a multiple of eight
1549 bytes, not just four bytes.
1550 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
1551 (dot_altrp): Don't just ignore it.
1552 (dot_savemem): New function. Replaces dot_savesp() and
1553 dot_savepsp(). Use manifest constants for applicaton registers.
1554 Handle REG_PR and REG_PRIUNAT.
1555 (dot_savef): Simplify.
1556 (dot_saveb): Support generation of br_gr.
1557 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
1558 dot_label_state, dot_copy_state): New function.
1559 (dot_unwabi): Don't just ignore it.
1560 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 1561 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
1562 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
1563 (emit_one_bundle): Set slot number for prologue/body records
1564 *before* emitting the first insn.
1565 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
1566 (md_begin): Declare "psp" pseudo-register.
1567 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
1568 so we don't get segfault.
1569 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
1570 counts as required per SW Conventions manual
1571 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
1572 output_preds_psprel, output_preds_sprel, output_spill_base,
1573 output_unat_psprel, output_unat_sprel, output_lc_psprel,
1574 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
1575 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
1576 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
1577 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
1578 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
1579 (dot_vframe): Implement.
1580 (dot_vframesp, dot_vframepsp): New function.
1581
f98fd99f
HPN
1582Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
1583
1584 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 1585 * configure: Regenerate.
f98fd99f 1586
ee7fcc42
AM
15872000-05-23 Alan Modra <alan@linuxcare.com.au>
1588
1589 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
1590 (md_estimate_size_before_relax): so we can use it here instead of
1591 old kludges. Localise vars to blocks. Comment.
1592
1593 * frags.c (frag_new): Update fr_var comments.
1594 * frags.h (struct frag): Ditto.
1595
c67e42c9
RH
15962000-05-22 Richard Henderson <rth@cygnus.com>
1597
1598 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
1599 (pseudo_func): Add pcrel.
1600 (operand_match): Handle IA64_OPND_TGT64.
1601 (build_insn): Likewise.
1602 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
1603 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
1604 (fix_insn): Handle all three 64-bit relocation types.
1605
5110c57e
HPN
1606Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
1607
1608 * obj.h (struct format_ops): New members begin, app_file,
1609 s_set_other, s_set_desc, s_get_type, s_set_type,
1610 separate_stab_sections, init_stab_section.
1611
1612 * config/obj-multi.h: Update GPL notice to v2.
1613 (obj_begin): New.
1614 (obj_app_file): New.
1615 (S_SET_SIZE): Test s_set_size for NULL before calling.
1616 (S_SET_ALIGN): Similar for s_set_align.
1617 (S_SET_OTHER): New.
1618 (S_SET_DESC): New.
1619 (S_GET_TYPE): New.
1620 (S_SET_TYPE): New.
1621 (SEPARATE_STAB_SECTIONS): New.
1622 (INIT_STAB_SECTION): New.
1623 (EMIT_SECTION_SYMBOLS): New.
1624 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
1625
1626 * config/obj-elf.h: Update GPL notice to v2.
1627 Mention that this file is included from obj-multi.h.
1628 (obj_begin): Wrap definition in ifndef.
1629 (elf_file_symbol): Constify declaration.
1630 (obj_app_file): Ditto.
1631 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
1632 Wrap in ifndef SEPARATE_STAB_SECTIONS.
1633
1634 * config/obj-elf.c (elf_s_set_other): New.
1635 (elf_file_symbol): Constify argument.
1636 (elf_separate_stab_sections): New.
1637 (elf_init_stab_section): New.
1638 (elf_format_ops): Add new members. Remove comma at end.
1639
1640 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
1641 (ecoff_format_ops): Add new fields. Remove comma at end.
1642 Mention inconsistency for emit_section_symbols.
1643
1644 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
1645
1646 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
1647 (coff_separate_stab_sections): New.
1648 (coff_format_ops): Add new members.
1649
1650 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
1651 (obj_aout_s_set_other): New.
1652 (obj_aout_s_set_desc): New.
1653 (obj_aout_s_get_type): New.
1654 (obj_aout_s_set_type): New.
1655 (obj_aout_separate_stab_sections): New.
1656 (aout_format_ops): New members added. Use obj_aout_process_stab,
1657 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
1658 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
1659 appropriate.
1660 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
1661
b98ef147
AM
16622000-05-22 Alan Modra <alan@linuxcare.com.au>
1663
1664 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
1665 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
1666 (md_estimate_size_before_relax): Ensure jumps to weak and
1667 externally visible symbols are relocatable.
1668
0aa5d426
HPN
1669Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
1670
1671 * stabs.c (aout_process_stab): Make global.
1672 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
1673 * read.h (aout_process_stab): Declare.
1674
1675 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
1676 Generalize to *aout, *coff *elf.
1677 * configure: Regenerated.
1678
1679 * doc/internals.texi (Object format backend): Say
1680 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
1681
1682 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
1683 * Makefile.in: Regenerated.
1684
7c3dc350
CM
16852000-05-19 Catherine Moore <clm@cygnus.com>
1686
1687 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
1688
b3b6a3fe
JL
16892000-05-18 Alan Modra <alan@linuxcare.com.au>
1690
1691 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
1692 instruction to reflect change in re_assemble_*.
1693
c9e10a08
JL
1694Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
1695
1696 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
1697 build PA64 ELF tools.
1698 * configure: Rebuilt.
1699
3043679f
AM
17002000-05-17 Alan Modra <alan@linuxcare.com.au>
1701
1702 * Makefile.am: Regenerate dependencies.
1703 * Makefile.in: Regenerate.
1704
322f2c45
NC
17052000-05-15 Nick Clifton <nickc@cygnus.com>
1706
1707 * config/tc-arm.c (struct asm_psr): Add boolean field
1708 distinguishing between CSPR and SPSR. Rename 'number' field
1709 to 'field'.
1710 (psrs): Rearrange contents to match new asm_psr structure.
1711 (arm_psr_parse): Move next to psr_required_here. Make it
1712 return an asm_psr structure.
1713 (psr_required_here): Use asm_psr structure returned by
1714 arm_psr_parse.
1715 (do_msr): Reorganise to allow psr_required_here to be called
1716 only once.
1717 (md_undefined_name): Mark 'name' parameter as unused, since
1718 the COFF target does not use it.
322f2c45 1719
5e6cbf41
PB
17202000-05-14 David O'Brien <obrien@FreeBSD.org>
1721
1722 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
1723 standards.
1724 * config/te-aux.h: Likewise.
1725 * config/te-dpx2.h: Likewise.
1726 * config/te-go32.h: Likewise.
1727 * config/te-hp300.h: Likewise.
1728 * config/te-hppa.h: Likewise.
1729 * config/te-i386aix.h: Likewise.
1730 * config/te-ic960.h: Likewise.
1731 * config/te-interix.h: Likewise.
1732 * config/te-nbsd532.h: Likewise.
1733 * config/te-pc532mach.h: Likewise.
1734 * config/te-ppcnw.h: Likewise.
1735 * config/te-psos.h: Likewise.
1736 * config/te-sparcaout.h: Likewise.
1737 * config/te-sun3.h: Likewise.
1738 * config/te-sysv32.h: Likewise.
1739
4132022d
AM
17402000-05-14 Alan Modra <alan@linuxcare.com.au>
1741
1742 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
1743 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
1744 and sign extend without an if statement.
1745 (build_bytes): Likewise.
1746
17472000-05-14 Kazu Hirata <kazu@hxi.com>
1748
1749 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
1750 X_add_symbol L_32 case.
1751
b4fd930a
AM
17522000-05-14 David O'Brien <obrien@FreeBSD.org>
1753
1754 * config/te-freebsd.h: New file.
1755
a38cf1db
AM
17562000-05-13 Alan Modra <alan@linuxcare.com.au>
1757
897083bd
AM
1758 * asintl.h (gettext, dgettext, dcgettext, textdomain,
1759 bindtextdomain): Replace defines with those from intl/libgettext.h
1760 to quieten gcc warnings.
1761
a38cf1db
AM
1762 * NEWS: Mention x86 .arch and -q.
1763
1764 * config/tc-i386.c (quiet_warnings): New.
1765 (md_assemble): Use quiet_warnings.
1766 (md_parse_option): Set quiet_warnings from -q.
1767 (md_show_usage): Mention -q, delete -m.
1768 (flag_do_long_jump): Delete.
1769 (md_parse_option): Remove -m.
1770 (md_show_usage): Remove -m.
1771 (md_create_long_jump): Remove useless flag_do_long_jump code.
1772
1773 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
1774 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
1775
e413e4e9
AM
17762000-05-13 Alan Modra <alan@linuxcare.com.au>
1777 Alexander Sokolov <robocop@netlink.ru>
1778
1779 * doc/c-i386.texi (i386-Arch): New section.
1780 (i386-Syntax): Mention .intel_syntax and .att_syntax.
1781
1782 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
1783 (smallest_imm_type): Use smallest opcode for shift by one if cpu
1784 architecture has been given and is not 486.
1785 (set_cpu_arch): New.
1786 (md_pseudo_table): Add .arch.
1787 (md_assemble): Warn if cpu architecture has been given and an
1788 unsupported instruction.
1789
1790 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
1791 Move operand_types bit defines after relevant template field.
1792 (template): Add cpu_flags.
1793 (Cpu*): Define.
1794 (arch_entry): New.
1795
e8b1cae5
AO
17962000-05-12 Alexandre Oliva <aoliva@cygnus.com>
1797
1798 * config/tc-mn10300.h (md_end): Define.
1799 (mn10300_finalize): Declare.
1800 * config/tc-mn10300.c: Include dwarf2dbg.h.
1801 (debug_line): Define.
1802 (md_assemble): Generate dwarf2 line info.
1803 (mn10300_finalize): New function. Finalize dwarf2 info.
1804
426b0403
AM
18052000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
1806
1807 * config/tc-mips.c (md_estimate_size_before_relax): Use the
1808 external version of the relocation for weak symbols.
1809
e4c58b25
JW
18102000-05-08 David Mosberger <davidm@hpl.hp.com>
1811
1812 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
1813 frame size in units of 16 bytes, as required per SW Conventions manual.
1814 (output_unw_records): Output info-block header as a dword to get
1815 byte-order right.
1816
8fce3f5e
AM
18172000-05-08 Alan Modra <alan@linuxcare.com.au>
1818
1819 * as.h: #include "file", not <file> on files from ../include.
1820 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
1821 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
1822 (md_convert_frag): Add ATTRIBUTE_UNUSED.
1823 (tc_coff_symbol_emit_hook): Ditto.
1824 (OPTCOUNT): Cast to int to avoid compiler warning.
1825 (md_begin): Fix signed/unsigned warnings.
1826
18272000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1828
1829 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
1830 ABRANCH LONG case for a conditional branch on a 68000.
1831 (md_estimate_size_before_relax): Likewise. Also handle
1832 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
1833 (m68k-ip: case ABSL): Relax absolute references to 16-bit
1834 PC-relative on all CPUs.
1835 (md_estimate_size_before_relax): Likewise.
1836
fb166ee3
AM
18372000-05-04 Alan Modra <alan@linuxcare.com.au>
1838
1839 * as.c (parse_args): Just mention current year in printed
1840 copyright message.
1841
7a899fff
C
18422000-05-03 J.T. Conklin <jtc@redback.com>
1843
1844 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 1845 unit registers.
7a899fff
C
1846 (md_parse_option): Recognize -m7400.
1847
44877466
ILT
18482000-05-03 Ian Lance Taylor <ian@zembu.com>
1849
1850 * config/atof-ieee.c (gen_to_words): When adding carry back in,
1851 don't permit lp to become less than the words array.
1852
eaa15ab8
NC
18532000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
1854
1855 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
1856 Fix little-endian case.
1857
7c4f6a03
AM
18582000-05-03 David O'Brien <obrien@NUXI.com>
1859
1860 * as.c (parse_args): Update copyright.
1861
da5d444c
AM
18622000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
1863
1864 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
1865 for the .bss section too.
1866
3f9b03b5
AM
18672000-05-02 Alan Modra <alan@linuxcare.com.au>
1868
1869 * configure.in: Set em=linux for hppa-*-linux.
1870 * configure: Regenerate.
1871 * doc/Makefile.in: Regenerate with correct automake.
1872
1873 * frags.c (frag_grow): Sanity check chunk_size.
1874
1875 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
1876 * config/obj-som.h: Likewise.
1877 * config/obj-ieee.h: Likewise.
1878
1879 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
1880
1881 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
1882 (md_pseudo_table): Fully initialise OBJ_ELF cases.
1883 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
1884 (pa_ip): low_sign_unext now returns via function value. Use
1885 re_assemble_* instead of dis_assemble_* and
1886 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
1887 unnecessarily.
1888 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
1889 (md_section_align, md_parse_option, md_show_usage,
1890 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
1891 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
1892 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
1893 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
1894 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
1895 pa_text): Likewise.
1896 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
1897 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
1898 outside of switch. Correct mask and shifting errors in case 10
1899 and case -11. In case 21, compare against signed range to suit
1900 hppa_field_adjust changes. In case 12, use re_assemble_12. In
1901 case 17 and case 22, use offsetT variable to properly check range.
1902 Use re_assemble_* here too.
1903 (evaluate_absolute): Change type of value to offsetT. Call
1904 hppa_field_adjust to do the work for us.
1905 (pa_parse_cmpb_64_cmpltr): Delete save_s.
1906 (pa_parse_cmpib_64_cmpltr): Ditto.
1907 (pa_build_unwind_subspace): Delete unused var subseg. Change type
1908 of i to unsigned int.
1909 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
1910 (pa_end_of_source): Return type is void.
1911
a2984248
CM
1912Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
1913
1914 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
1915
df136245
DC
1916Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
1917
1918 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
1919 More comments added.
1920 (md_begin): Removed "construct symbols for each register name".
1921 Because register names conflicts with GCC generated function
1922 names.
1923 (avr_operand): Now constant numbers can be used as a register
1924 identifiers (0 as r0, 31 as r31).
1925 (md_assemble): use skip_space () before parsing instruction
1926 operands.
1927
c1e73230
AM
19282000-05-01 Alan Modra <alan@linuxcare.com.au>
1929
1930 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
1931 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
1932 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
1933 * configure: Regenerate.
1934
a1934524
AM
19352000-04-29 Andreas Jaeger <aj@suse.de>
1936
1937 * as.h: Correctly check GCC version.
1938
d9b7d820
AM
19392000-04-26 David O'Brien <obrien@FreeBSD.org>
1940
1941 * doc/as.1: Fix unbalanced brackets.
1942
1943 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
1944 TE_FreeBSD.
1945 (line_comment_chars): Set to '/' if TE_FreeBSD.
1946
cea1ab94
JL
1947Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
1948
1949 * configure.in: Configury support for PA64 (currently disabled).
1950 * configure: Rebuilt.
1951
e799a695
AM
19522000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
1953
3e87a760 1954 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
1955 bfd_set_section_alignment.
1956
3b0ec529
AM
19572000-04-25 Alan Modra <alan@linuxcare.com.au>
1958
1959 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
1960 than 32.
1961
adcf07e6
NC
19622000-04-24 Nick Clifton <nickc@cygnus.com>
1963
1964 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
1965 * doc/as.texinfo (Align): Include arm and strongarm in list of
1966 targets that have the second form of the behaviour of the .align
3e87a760 1967 directive.
adcf07e6 1968
5047a41f
JL
19692000-04-24 Mark Klein <mklein@dis.com>
1970
1971 * obj-som.c: Terminate obj_pseudo_table.
1972
a47cf567
NC
1973Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
1974
1975 * as.c (parse_args): Allow md_parse_option to override -a listing
1976 option.
1977 * config/obj-coff.c (add_lineno): Change type of offset parameter
1978 from "int" to "bfd_vma."
1979 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
1980 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
1981 (ppc_change_csect): Align correctly for XCOFF64.
1982 (ppc_machine): New function, which discards "ppc_machine" line.
1983 (ppc_tc): Cons for 8 when code is 64 bit.
1984 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
1985 relocations.
1986 (md_parse_option): Handle -a64 and -a32.
1987 (ppc_xcoff64): New.
1988 * config/tc-ppc.h (TARGET_MACH): Define.
1989 (TARGET_FORMAT): Move to function.
1990 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
1991
1992Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
1993
1994 * config/tc-avr.c: New AVR_ISA_ defined.
1995 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
1996 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
1997 for `fmul', `movw' and `lpm R,Z' instructions.
1998 (avr_operands): Warn if current opcode is a two-word instruction
1999 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
2000 (avr_opcodes): New commands added.
2001 (REGISTER_P): Check 'a' and 'v' constraint letters.
2002 (mcu_types): New MCU added.
2003
bf3ca999
TW
20042000-04-22 Timothy Wall <twall@cygnus.com>
2005
2006 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
2007 to "natval".
2008 (operand_match): Conditionally insert default bit values for IMMU9.
2009
98e5953c
JL
20102000-04-14 Matthew Green <mrg@cygnus.com>
2011
2012 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
2013 * configure: Rebuilt.
2014
a02fab7e
JL
2015Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
2016 Jason Eckhardt <jle@cygnus.com>
2017
c67e42c9 2018 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
2019
2020 * config/tc-hppa.c (CHECK_ALIGN): New macro.
2021 Added handling of new operand types l,y,&,fe,fE,fx.
2022
800eeca4
JW
2023Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
2024 David Mosberger <davidm@hpl.hp.com>
2025 Timothy Wall <twall@cygnus.com>
2026 Andrew MacLeod <amacleod@cygnus.com>
2027 Jim Wilson <wilson@cygnus.com>
2028
2029 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 2030 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
2031 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
2032 * Makefile.in: Rebuild.
2033 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
2034 * configure: Rebuild.
2035 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
2036 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
2037 * expr.c (expr): Handle md_optimize_expr.
2038 * read.c (LEX_HASH): Add comment.
2039 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 2040
66778679
RH
20412000-04-21 Richard Henderson <rth@cygnus.com>
2042
2043 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
2044 bundling a non-delayed branch type instruction.
2045
aa15f6f7
AO
20462000-04-20 Alexandre Oliva <aoliva@cygnus.com>
2047
2048 * config/tc-mn10300.c (HAVE_AM30): Define.
2049 (md_assemble): Use it.
2050
16adf844
AM
20512000-04-19 Alan Modra <alan@linuxcare.com.au>
2052
742f45cf
AM
2053 * config/obj-elf.c (obj_elf_change_section): Check for changed
2054 section attributes.
2055
16adf844
AM
2056 * Makefile.am: (CPU_MULTI_VALID): Remove.
2057 (MULTI_CPU_TYPES): Define.
2058 (MULTI_CPU_OBJ_VALID): Define.
2059 (DEPTC): Use the above.
2060 (DEPOBJ): Same here.
2061 (DEP2): And here.
2062 Regenerate dependencies.
2063 * Makefile.in: Regenerate.
2064
9c46fb1b
AM
20652000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2066
742f45cf 2067 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 2068
508866be
L
20692000-04-18 H.J. Lu (hjl@gnu.org)
2070
2071 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 2072 bfd_vma for non-bfd assemblers.
508866be 2073
ba2adb93
AM
20742000-04-17 Alan Modra <alan@linuxcare.com.au>
2075
2076 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
2077 doesn't give spurious errors.
2078
12ff5d56
AM
20792000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2080
66778679 2081 * as.h (SEEK_SET): Define if undefined.
12ff5d56 2082
fc633e5b
AM
20832000-04-13 Alan Modra <alan@linuxcare.com.au>
2084
2085 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
2086 constants, and don't assume offsetT is 32 bits.
2087
1ed18ec1
NC
20882000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
2089
2090 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
2091 (md_pcrel_from_section): Add prototype.
2092 (d10v_fix_adjustable): Add prototype.
2093 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
2094
2095 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
2096
3db10f32
NC
20972000-04-12 Nick Clifton <nickc@cygnus.com>
2098
2099 * config/tc-d10v.c (find_opcode): Correctly calculate position of
2100 symbol in frag chain.
2101
847f7ad4
AM
21022000-04-10 Alan Modra <alan@linuxcare.com.au>
2103
2104 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
2105 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
2106 (fits_in_signed_word, smallest_imm_type): Ditto.
2107 (md_assemble): Use an offsetT var to hold offsetT values, not a
2108 long.
2109 (offset_in_range): New.
2110 (md_assemble): Use it.
2111 (md_convert_frag): Change type of target_address, opcode_address,
2112 and displacement_from_opcode_start to offsetT.
2113 (md_create_short_jump): Change type of offset to offsetT.
2114 (md_create_long_jump): Ditto.
2115 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
2116 (md_chars_to_number): Remove.
2117 (output_invalid): Remove duplicate prototype.
2118
ec694b89
NC
21192000-04-09 Nick Clifton <nickc@cygnus.com>
2120
2121 * Makefile.am (CPU_TYPES): Add 'avr'.
2122 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
2123 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
2124
16adf844 2125 * Makefile.in: Regenerate.
ec694b89
NC
2126
2127 * doc/as.texinfo: Add M32R documentation.
2128
a2d91340 2129Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 2130
a2d91340 2131 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 2132 --enable-build-warnings option.
a2d91340
AC
2133 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2134 * Makefile.in, configure: Re-generate.
2135
d92b1a8a
NC
21362000-04-07 Nick Clifton <nickc@cygnus.com>
2137
2138 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
2139 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
2140 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
2141 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
2142 (arm_force_relocation): Force relocations for
2143 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
2144
52ccafd0
JR
2145Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2146
2147 * config/tc-sh.c (get_operands): There's no third operand if the
2148 first operand is an immediate.
2149
015551fc
JR
2150Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2151
2152 * config/tc-sh.c (immediate): Delete.
2153 (sh_operand_info): Add immediate member.
2154 (parse_reg): Use A_PC for pc.
2155 (parse_exp): Add second argument 'op'. All callers changed.
2156 (parse_at): Expect pc to be coded as A_PC.
2157 Use immediate field in *op.
2158 (insert): Add fourth argument 'op'. All callers changed.
2159 (build_relax): Add second argument 'op'. All callers changed.
2160 (insert_loop_bounds): New function.
2161 (build_Mytes): Remove DISP_4.
2162 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
2163 (assemble_ppi): Use immediate field in *operand.
2164 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
2165 (md_apply_fix): Likewise.
2166 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
2167
79bd78be
AO
2168Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2169
2170 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
2171
e30e5a6a
HPN
2172Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
2173
2174 * internals.texi (CPU backend): Document
2175 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
2176
41b49281
AM
21772000-04-04 Alan Modra <alan@linuxcare.com.au>
2178
8ad3436c
AM
2179 * po/gas.pot: Regenerate.
2180
2181 * as.c (show_usage): Restore translated part of bug string.
2182 * gasp.c (show_usage): Likewise.
2183
41b49281
AM
2184 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
2185 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
2186 than move-if-change.
2187 (DEP1): Modify for "gcc -MM".
2188 (DEPTC): Likewise.
2189 (DEPOBJ): Likewise.
2190 (DEP2): Likewise.
2191 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
2192 Update dependencies.
2193 * Makefile.in: Regenerate.
2194
0a727238
AO
21952000-04-03 Alexandre Oliva <aoliva@cygnus.com>
2196
2197 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
2198 (md_begin): Likewise.
2199 (HAVE_AM33): New macro.
2200 (md_assemble): Use it. Match r_regs and xr_regs only if
2201 HAVE_AM33.
2202
c20f4f8c
AM
22032000-04-03 Alan Modra <alan@linuxcare.com.au>
2204
2205 * as.h: #include "bin-bugs.h"
2206 * as.c (show_usage): Use REPORT_BUGS_TO.
2207 * gasp.c: #include "bin-bugs.h"
2208 (show_usage): Use REPORT_BUGS_TO.
2209
2210 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
2211
753f6b12
HPN
2212Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
2213
2214 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
2215 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
2216 adjustments.
2217
726c5dcd
AM
22182000-04-03 Alan Modra <alan@linuxcare.com.au>
2219
2220 * config/tc-i386.c (i386_immediate): Don't assume a constant
2221 immediate is necessarily 16 bits when in 16 bit code mode.
2222 (md_assemble): Instead set guess_suffix here after we have checked
2223 registers.
2224
bf80011a
RH
22252000-04-02 Richard Henderson <rth@cygnus.com>
2226
2227 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
2228 quantities. Correct right shift sign extension.
2229 (build_insn): Make `number' unsigned long. Mask top 6 bits of
2230 32-bit value when shifting into place.
2231
92161534
ILT
22322000-04-01 Ian Lance Taylor <ian@zembu.com>
2233
2234 * app.c: Add ATTRIBUTE_UNUSED as needed.
2235 * config/tc-ppc.c: Likewise.
2236 (ppc_size): Make unsigned long.
2237 (ppc_insert_operand): Add casts to avoid warnings.
2238
447f3982
NC
22392000-03-31 Nick Clifton <nickc@cygnus.com>
2240
2241 * config/tc-d10v.h (md_flush_pending_output): Define.
2242
21d75ec2
NC
22432000-03-29 Nick Clifton <nickc@cygnus.com>
2244
2245 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
2246 segment. Works for both BFD_ASSEMBLER and others.
2247 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
2248
d1a1bf19
NC
22492000-03-29 Nick Clifton <nickc@cygnus.com
2250
2251 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
2252
224de7a5
AM
22532000-03-28 Alan Modra <alan@linuxcare.com.au>
2254
2255 * listing.c (LISTING_LHS_WIDTH): Default depends on
2256 LISTING_WORD_SIZE.
2257 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
2258
5b8274e3
ILT
22592000-03-27 Ian Lance Taylor <ian@zembu.com>
2260
2261 * config/tc-sh.c (md_show_usage): Use backslash before newline in
2262 string literal.
2263
224de7a5 22642000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
2265
2266 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
2267
2268 * config/tc-avr.c (mcu_types): Add missing initialiser.
2269 (md_pcrel_from_section): Add prototype.
2270 (avr_operand): Remove redundant test of unsigned < 0.
2271 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
2272
22732000-03-27 Denis Chertykov <denisc@overta.ru>
2274
2275 * config/tc-avr.c: New file for AVR support.
2276 * config/tc-avr.h: Likewise.
2277 * configure.in: Add AVR support.
2278 * configure: Regenerate.
2279
9f10757c
TW
22802000-03-26 Timothy Wall <twall@cygnus.com>
2281
2282 * gasp.c (macro_op): Add new argument to check_macro call.
2283 Macro structure definitions moved to macro.h
2284 * sb.h: Add argument to prototype for input_scrub_include_sb.
2285 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
2286 nesting checks with an additional flag.
2287 (struct input_save): Add flag to indicate whether current sb
2288 should be checked for proper macro/conditional nesting.
2289 (input_scrub_push/pop): Save/restore nest check flag.
2290 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 2291 defined.
9f10757c
TW
2292 * macro.c (check_macro): Allow caller to retrieve parsed macro
2293 information if a pointer is provided. This information may be
2294 used by the new macro hooks.
2295 * macro.h: Update prototype for check_macro. Macro struct
2296 definitions moved here from macro.c/gasp.c.
2297 * read.c (read_a_source_file): Add parameter to check_macro call,
2298 and pass macro info to the macro hook, if defined.
2299 (input_scrub_insert_line): New. Allow insertion of a line of
2300 characters into the input stream.
2301 (input_scrub_insert_file): New. Allow insertion of an arbitrary
2302 file into the input stream.
2303 (s_include): Use input_scrub_insert_file.
2304 * internals.texi: Document new macro hooks.
2305 * as.h: New prototypes added.
3e87a760 2306
224de7a5 23072000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
2308
2309 * config/tc-i386.c: Don't start any as_bad or as_warn message with
2310 an initial capital letter.
2311 (i386_index_check): Reindent.
2312
11424155
NC
23132000-03-19 Nick Clifton <nickc@cygnus.com>
2314
eaa15ab8 2315 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
2316 relative branches.
2317
43f05576
NC
23182000-03-17 Thomas de Lellis <tdel@windriver.com>
2319
66778679
RH
2320 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
2321 instruction operand bad if Rd > 7 when generating
2322 thumb instructions. Prevents for example,
2323 "adr r12,label" from silently failing and generating
2324 the wrong instruction.
3e87a760 2325
67231402
NC
23262000-03-17 Nick Clifton <nickc@cygnus.com>
2327
2328 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
2329 that have a destingation >= 0x400000.
3e87a760 2330 Fix compile time warning messages.
67231402 2331
a37c8f88
JR
2332Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2333
2334 * config/tc-sh.c (md_begin): When encountering insn that are
2335 not supported by the current arch, only change the name if
2336 its contents are the same as prev_name.
2337 (get_specific): If the the architecture doesn't match, fail.
2338
dead1419
JR
2339Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2340
2341 * config/tc-sh.c (IDENT_CHAR): Define.
2342 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
2343 matching back where it came from.
2344
182e89d3
JR
2345Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2346
2347 * config/tc-sh.c (md_show_usage): Add description of -dsp.
2348
84f73d89
NC
23492000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
2350
2351 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
2352 normal operands.
2353
dbbc7809
JL
23542000-03-15 Kazu Hirata <kazu@hxi.com>
2355
2356 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
2357
271bb601
HPN
2358Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
2359
2360 * expr.c (operand) [case 'f']: When testing if '0f' can start a
2361 floating-point-number, make sure 'f' is in FLT_CHARS.
2362
8684e216
HPN
2363Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
2364
2365 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
2366 (s_lcomm_internal): Use it.
2367 * doc/internals.texi (CPU backend): Document it.
2368 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
2369 bytes.
2370
bb2d6cd7
GK
23712000-03-10 Geoffrey Keating <geoffk@cygnus.com>
2372
2373 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
2374 when embedded-pic.
2375
2376 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
2377 implementation doesn't have special handling for switch
2378 statements.
bb2d6cd7
GK
2379 (macro_build): Allow for code in sections other than .text.
2380 (macro): Likewise.
2381 (mips_ip): Likewise.
2382 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 2383 Don't perform relocs if we will be outputting them.
bb2d6cd7 2384 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
2385 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
2386 embedded-pic.
bb2d6cd7 2387
5c86cbc7 23882000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 2389
66778679
RH
2390 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
2391 relocation type based on the entry in the fixup structure.
a47cf567 2392 Put S_IS_EXTERN processing back in.
5c86cbc7 2393
f8c827e9
L
23942000-03-08 H.J. Lu (hjl@gnu.org)
2395
2396 * Makefile.am (install-exec-tooldir): Depend on
2397 install-exec-bindir for parallel make.
2398 * Makefile.in: Regenerated.
2399
8ad9e709
NC
24002000-03-06 Nick Clifton <nickc@cygnus.com>
2401
2402 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
2403 switch.
2404 (md_parse_option): Parse -m32r command line switch - disable m32rx
2405 compatability.
ded0aeb7
NC
2406 (md_show_usage): Document new option.
2407
2408 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
2409 * doc/Makefile.in: Regenerate.
2410 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 2411
b7b8f327
MM
24122000-03-02 Michael Meissner <meissner@redhat.com>
2413
2414 * config/tc-d30v.c (check_range): Remove code that incorrectly
2415 sign extended values where bits < 32.
2416
15886821
L
24172000-03-02 H.J. Lu (hjl@gnu.org)
2418
2419 * configure.in: Support --enable-targets=all on ia32.
2420 * configure: Regenerated.
2421
8bf950bf
NC
24222000-03-01 Nick Clifton <nickc@cygnus.com>
2423
2424 * gasp.c (do_align): Remove bogus check of alignment value.
2425
c5e54cc2
ILT
24262000-02-27 Thomas de Lellis <tdel@windriver.com>
2427
2428 * config/obj-elf.c (elf_frob_symbol): Remove code which when
2429 TC_PPC was defined forced the type of a symbol with no other type
2430 to be BSF_OBJECT.
2431
65fd87bc
ILT
24322000-02-27 Hans-Peter Nilsson <hp@axis.com>
2433
2434 * doc/internals.texi (CPU backend): Mention that
2435 line_separator_chars do not break up comments. Fix typos for
2436 LEX_AT and LEX_NAME descriptions. Document operands for
2437 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
2438 description of md_create_short_jump usage. Document argument for
2439 md_undefined_symbol.
2440
a25fe906
ILT
24412000-02-27 Jakub Jelinek <jakub@redhat.com>
2442
2443 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
2444 (md_parse_option): Handle it.
2445 (md_show_usage): Document it.
2446
21b10511
ILT
24472000-02-27 Ian Lance Taylor <ian@zembu.com>
2448
2449 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
2450 opcode, for the instruction `pal19'. From Andrea Arcangeli
2451 <andrea@suse.de>.
2452
773f551c
AM
24532000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
2454
2455 * config/tc-i386.c (i386_immediate): Move constant operand sizing
2456 from here..
2457 (md_assemble): To here, before template operands are matched.
2458 Also ensure a constant immediate is sign extended when we know the
2459 size is at most 16 bits. This is to catch cases like "add
2460 $0xffc0,%ax" where we don't know the size, and thus that the
2461 immediate can be represented as Imm8S until after parsing the
2462 register operand.
2463 (i386_displacement): Similarly sign extend 16 bit constant
2464 displacements.
2465 (md_assemble): Relax 16-bit jump constant range check to suit sign
2466 extended displacements.
2467
28d33191
JL
24682000-02-26 Andreas Jaeger <aj@suse.de>
2469
2470 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
2471
cc5ca5ce
AM
24722000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
2473
2474 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
2475 call operands when intel_syntax.
2476 (intel_float_operand): Return 2 for "fi...".
2477 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
2478 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
2479 earlier "SHORT" change.
2480 (md_assemble): When determining suffix from Regs, exclude
2481 InOutPortReg.
2482
056350c6
NC
24832000-02-24 Nick Clifton <nickc@cygnus.com>
2484
2485 * configure: Add arm-wince, mips-pe and sh-pe targets.
2486 * configure: Regenerate.
2487
2488 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
2489 sh-pe targets.
2490 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
2491 "pe-mips" for the mips-pe target.
2492
2493 * config/tc-arm.c (insns): Change displacement encoded in BL
2494 and B instructions if the target port is arm-wince.
2495 (do_ldst): Do not bias the relocation offset if the target
2496 port is arm-wince.
2497 (md_pcrel_from): Add in missing relocation offset bias if the
2498 target os arm-wince.
2499
2500 * config/tc-mips.c (mips_target_format): Support COFF flavour.
2501 (md_begin): Disable -G support for mips-pe target.
2502 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
2503 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
2504 COFF flavour.
2505
2506 * config/tc-sh.c (md_begin): sh-pe target is little endian.
2507 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
2508 assembler, just set the alignment to 4.
2509
2510 * config/te-wince-pe.h: New file for WinCE targets. Define
2511 TE_WINCE.
2512
36bf8ab9
AM
25132000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
2514
2515 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
2516 string instructions.
2517 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
2518 (i386_intel_memory_operand): After finding a segment override,
2519 check again for no `[' before looking for a displacement. Bomb if
2520 more than one displacement rather than silently discarding the
2521 second and subsequent ones. Free strings malloc'd by
2522 build_displacement_string.
2523
f5795b08
CM
25242000-02-24 Catherine Moore <clm@cygnus.com>
2525
2526 * config/obj-som.c (obj_pseudo_table): Add "weak".
2527 (obj_som_weak): New routine.
2528
abd63a32
AM
25292000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
2530
520dc8e8
AM
2531 * config/tc-i386.c (union i386_op): New.
2532 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
2533 Throughout file replace occurences of disps[n], imms[n], regs[n]
2534 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
2535 intel mode operand swapping. Add assert in regKludge and
2536 fake_zero_displacement code. Test i.types[n] when outputting
2537 displacements and immediates. Combine output of Disp16 with
2538 Disp32.
7f3f1ea2
AM
2539 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
2540 when in intel mode by (not) reversing fsub and fdiv operands
2541 before the template search. This fails for single operand
2542 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
2543 undefined. Instead fix the base_opcode after we've found the
2544 template. Move base_opcode xor with found_reverse_match from
2545 opcode output code to before this fix so we test for the correct
2546 opcodes.
2547 (md_assemble): Don't use strcmp when deciding to ignore the suffix
2548 check in intel mode. Instead compare opcodes.
520dc8e8
AM
2549
2550 * config/tc-i386.h (TC_RELOC): Delete.
2551 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
2552 with equivalent call to reloc.
2553
abd63a32
AM
2554 * as.h (flag_m68k_mri): Move declaration after target include, and
2555 only declare when TC_M68K defined. Define as zero otherwise.
2556 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
2557 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
2558 Define as zero otherwise.
2559 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
2560 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
2561 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
2562 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
2563 testing whether defined.
2564 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
2565 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
2566 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
2567 rather than testing whether defined.
2568 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
2569 (parse_mri_cons): Declare and use only when TC_M68K.
2570 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
2571 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
2572 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
2573
2574 * NEWS: Mention IBM 370 support.
2575
7e052742
RH
25762000-02-23 Richard Henderson <rth@cygnus.com>
2577
2578 * config/tc-i386.c (md_assemble): When swapping operands for
2579 intel_syntax, assume everything that's not Imm or Disp is a
2580 register.
2581
5b93d8bb
AM
25822000-02-23 Linas Vepstas <linas@linas.org>
2583
2584 * config/tc-i370.c, config/tc-i370.h: New files.
2585 * Makefile.am: Add support for Linux/IBM 370.
2586 * configure.in: Likewise.
2587 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
2588 * config/obj-elf.c: Include elf/i370.h
2589 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
2590
2591 * Makefile.in: Regenerate.
2592 * configure: Regenerate.
2593
2594 * doc/c-i370.texi: New file.
2595 * doc/all.texi: Include it.
2596 * doc/as.texinfo: And here.
3e87a760 2597 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
2598 * doc/Makefile.in: Regenerate.
2599
25f2196d
CC
26002000-02-19 Michael Meissner <meissner@redhat.com>
2601
2602 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
2603 determine if an instruction can be used in parallel with an ADDppp
2604 or SUBppp instruction.
2605
6349b5f4
AH
26062000-02-22 Andrew Haley <aph@cygnus.com>
2607
2608 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
2609
c97ef257
AH
26101999-12-30 Andrew Haley <aph@cygnus.com>
2611
2612 * config/tc-mips.c (mips_gp32): New variable.
2613 (macro_build) Use mips_gp32.
2614 (mips_ip): Ditto.
2615 (md_longopts): Add "-mgp32" and "-mgp64".
2616 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 2617
a47cf567
NC
2618 (OPTION_M7900): Change offset
2619 (OPTION_NO_M7900): Ditto.
2620
b985eaa8
ILT
26212000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2622
2623 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
2624 warning, and bump it to 1.
2625
52454417
ILT
26262000-02-22 Ian Lance Taylor <ian@zembu.com>
2627
2628 From Brad Lucier <lucier@math.purdue.edu>:
2629 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
2630 match format.
2631
6b76fefe
CM
26322000-02-21 Catherine Moore <clm@cygnus.com>
2633
2634 * config/tc-mips.c (MF_HILO_INSN): Define.
2635 (mips_7000_hilo_fix): Declare.
2636 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
2637 (md_parse_option): Check for 7000_HILO_FIX options.
2638 (OPTION_M7000_HILO_FIX): Define.
2639 (OPTION_NO_M7000_HILO_FIX): Define.
2640 * doc/c-mips.texi (-mfix7000): Describe.
2641
f6af82bd
AM
26422000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2643
2644 * listing.c (print_lines): Remove unused variable `end'.
2645
2646 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
2647 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 2648 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
2649 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
2650 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 2651 statement and quell signed vs. unsigned comparison warning.
f6af82bd 2652
8c8281f4
NC
26532000-02-18 Nick Clifton <nickc@cygnus.com>
2654
2655 * config/tc-d10v.c (find_opcode): Add a symbol's value to
2656 the computed frag offset, rather than overwriting it.
2657
d4845d57
JR
2658Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2659
2660 * config/tc-sh.c ("elf/sh.h"): Include.
2661 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
2662 (md.begin): Initialize target_arch.
2663 Only include opcodes in has table that match selected architecture.
2664 (parse_reg): Recognize register names for sh-dsp.
2665 (parse_at): Recognize post-modify addressing.
2666 (get_operands): The leading space is now optional.
2667 (get_specific): Remove FDREG_N support. Add support for sh-dsp
2668 arguments. Update valid_arch.
2669 (build_Mytes): Add support for SDT_REG_N.
2670 (find_cooked_opcode): New function, broken out of md_assemble.
2671 (assemble_ppi, sh_elf_final_processing): New functions.
2672 (md_assemble): Use find_cooked_opcode and assemble_ppi.
2673 (md_longopts, md_parse_option): New option: -dsp.
2674 * config/tc-sh.h (elf_tc_final_processing): Define.
2675 (sh_elf_final_processing): Declare.
2676
c97305a1
JL
2677Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
2678
2679 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
2680 the unwinder subspace. Save the current seg/subseg before creating
2681 the new seg/subseg.
2682
bec50466
NC
26832000-02-10 Nick Clifton <nickc@cygnus.com>
2684
2685 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 2686 little endian targets.
bec50466 2687 (INST_BYTE1): Redefine to handle big and little endian
66778679 2688 targets.
bec50466
NC
2689 (cpu_type): New type: Select between M340 and M210.
2690 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 2691 instructions of the M340.
bec50466 2692 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 2693 instructions.
bec50466
NC
2694 (md_atof): Add support for little endian targets.
2695 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 2696 line switches.
bec50466
NC
2697 (md_convert_frag): Add support for little endian targets.
2698 (md_apply_fix3): Add support for little endian targets.
2699 (md_number_to_chars): Add support for little endian targets.
2700
a25c045a
TW
27012000-02-10 Timothy Wall <twall@redhat.com>
2702
2703 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
2704 defined, use it to verify the symbol just read should be a label.
2705
f28e8eb3
TW
27062000-02-10 Timothy Wall <twall@redhat.com>
2707
2708 * app.c (do_scrub_chars): Handle "||" for parallel instructions
2709 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
2710 around colons when KEEP_WHITE_AROUND_COLON is defined.
2711 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
2712 and KEEP_WHITE_AROUND_COLON.
2713
6dc19fc4
TW
27142000-02-08 Timothy Wall <twall@redhat.com>
2715
2716 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 2717 logic.
6dc19fc4 2718 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 2719 implemented.
6dc19fc4
TW
2720 (end_repeat): New. Provide support for a "break" out of the
2721 repeat loop.
2722 * read.h: Add prototypes for new functions.
3e87a760 2723
f805106c
TW
27242000-02-08 Timothy Wall <twall@redhat.com>
2725
2726 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
2727 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
2728 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
2729 non-zero.
2730
4469be0f
TW
27312000-02-08 Timothy Wall <twall@redhat.com>
2732
2733 * read.c: Added elseif to directives table.
2734 * read.h: Added prototype for s_elseif.
2735 * doc/as.texinfo: Added description for elseif.
2736 * cond.c (s_elseif): New function
3e87a760 2737
24a17b6c
TW
27382000-02-04 Timothy Wall <twall@redhat.com>
2739
2740 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 2741 listings.
24a17b6c 2742
bea9907b 27432000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 2744
bea9907b
TW
2745 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
2746 default values.
2747 * frags.c (frag_new): Calculate fr_fix in octets
2748 (frag_now_fix) Return offset as target address offset (bytes).
2749 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 2750 quantities).
bea9907b
TW
2751 * frags.h: Added prototype for frag_now_fix_octets().
2752 Distinguish between octets and bytes in field descriptions.
2753 * listing.c (calc_hex): Account for octets vs bytes when
2754 printing addresses/offsets.
2755 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
2756 target is little-endian, print the octets in a word in big-endian
2757 order so that the display looks like a proper hexadecimal number,
2758 instead of having the octets reversed.
2759 * read.c (do_align): When recording alignment, alignment power
2760 should be in terms of target bytes (minimum addressible unit)
2761 instead of octets.
2762 (do_org) Convert ORG target address (byte) argument into an
2763 octet offset when generating a variable fragment.
2764 * symbols.c (resolve_symbol_value): Symbol final value
2765 converted to a target address offset (bytes) from its octet offset.
2766 * config/obj-coff.c (coff_frob_symbol): Symbol target address
2767 offset (bytes) is adjusted by the frag offset (octets) converted
2768 to bytes.
2769 (coff_frob_section) Section alignment power is in terms of bytes;
2770 convert it to an octet alignment power when calculating size (and
2771 size mask) in octets. Don't modify the section size in order to
2772 "align" it for TI COFF, since that format has a different method
2773 for storing alignment information.
3e87a760 2774
210dcc61
TW
27752000-02-01 Timothy Wall <twall@cygnus.com>
2776
2777 * stabs.c (generate_asm_file): Escape backslashes in stabs file
2778 entries, matching the way GCC generates them. If not escaped, the
2779 filename is encoded incorrectly.
2780
557537a5 27812000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 2782
557537a5
NC
2783 * config/tc-arm.c (reg_table): Add support for ATPCS register
2784 naming conventions.
2c1c4c62 2785
557537a5 27862000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 2787
2c1c4c62
GK
2788 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
2789 already defined.
3e87a760 2790 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
2791 New macro.
2792 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
2793 of a symbol when we really care about its value.
2794
27952000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
2796
2797 * config/tc-mcore.c (md_assemble): Give warning message if
2798 operands passes to instruction are more than the spec.
2799
2f0ca46a
NC
28002000-01-27 Thomas de Lellis <tdel@windriver.com>
2801
66778679 2802 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a
NC
2803 Thumb mode but the label seen was not declared as '.thumb_func'
2804 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 2805 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 2806
4c63da97
AM
28072000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2808
2809 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
2810 Add dependencies for e-i386aout.o. Fix 2 comment lines.
2811
2812 * Makefile.in: Same here.
2813 Update copyright.
2814
2815 * configure.in: Set bfd_gas for i386-aout when primary target
2816 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
2817 we may need the primary te_file. Remove incorrect comment.
2818
2819 * configure: Regenerate.
2820
2821 * config/e-i386aout.c: New file.
2822
2823 * as.c (USE_EMULATIONS): Move to before print_version_id.
2824 (struct emulation): Add i386aout.
2825 (show_usage): Split text strings. Reformat -a text. Add --em
2826 help.
2827 Update copyright.
2828
2829 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
2830 (aout_format_ops): New.
2831 Update copyright.
2832
2833 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
2834 preprocessor conditional and add aout USE_EMULATIONS tests.
2835 (read_a_source_file): Don't pass error strings to printf as
2836 format arg.
2837 Update copyright.
2838
2839 * gasp.c (exp_get_abs): Don't pass error strings to printf as
2840 format arg.
2841 (do_data): Same here.
2842 (process_file): And here.
2843 Update copyright.
2844
2845 * symbols.c (colon): Rewrite "already defined" fatal message
2846 code for aout with USE_EMULATIONS.
2847 Update copyright.
2848
2849 * config/obj-aout.c (OBJ_HEADER): Define.
2850 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 2851 fields of sentinel.
4c63da97
AM
2852 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
2853 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
2854 forms here.
2855 (obj_aout_type): Expand S_SET_OTHER here too.
2856 (obj_read_begin_hook): Remove.
2857 (aout_pop_insert): New.
2858 (obj_aout_s_get_other): New.
2859 (obj_aout_s_get_desc): New.
2860 (aout_format_ops): New.
2861 Update copyright.
2862
2863 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
2864 gets aout_pseudo_table.
2865 (aout_pseudo_table): Declare.
2866 (obj_read_begin_hook): Define.
2867 Update copyright.
2868
2869 * config/obj-coff.c (obj_pseudo_table): Rename to
2870 coff_pseudo_table.
2871 (coff_pop_insert): Use coff_pseudo_table.
2872 (coff_sec_sym_ok_for_reloc): Remove.
2873 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
2874 and comment all zero entries and remove #if 0 code.
2875 Update copyright.
2876
2877 * config/obj-coff.h (obj_pop_insert): Define.
2878 (coff_pseudo_table): Declare.
2879 Update copyright.
2880
2881 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
2882 s_get_size, s_set_size. Comment all zero entries.
2883 Update copyright.
2884
2885 * config/obj-elf.c (elf_s_get_other): New function.
2886 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
2887 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
2888 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
2889 comment.
2890 (obj_elf_parse_section_letters): Don't pass error strings to
2891 printf as format arg.
2892 Update copyright.
2893
2894 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
2895 OBJ_MAYBE_ECOFF.
2896 (elf_s_get_other): Declare.
2897 (S_GET_OTHER) Define as elf_s_get_other if not already
2898 defined.
2899 (S_SET_OTHER): Only define when not already defined.
2900 (elf_obj_read_begin_hook): Declare.
2901 (obj_read_begin_hook): Define.
2902 (elf_obj_symbol_new_hook): Declare.
2903 (obj_symbol_new_hook): Define.
2904 Update copyright.
2905
2906 * config/obj-multi.h: Add copyright header and protect against
2907 multiple inclusion. Add * to all function pointers.
2908 (OBJ_HEADER): If defined, include it rather than other defines
2909 in this file.
2910 (obj_frob_file_after_relocs): Test for NULL.
2911 (obj_symbol_new_hook): Here too.
2912 (obj_sec_sym_ok_for_reloc): And here.
2913 (S_GET_OTHER): Define.
2914 (S_GET_DESC): Define.
2915 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
2916 (OBJ_MAYBE_ELF): Update comment.
2917
2918 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
2919 OBJ_AOUT preprocessor conditional and handle emulation by
2920 testing OUTPUT_FLAVOR.
2921 (i386_displacement): Here too.
2922 (md_section_align): Similarly here.
2923 (i386_target_format): Conditionally compile when more than one
2924 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
2925 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
2926 (i386_displacement): Here too.
2927 Update copyright.
2928
2929 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
2930 Define TARGET_FORMAT for aout only when not multi.
2931 Update copyright.
2932
2933 * config/te-multi.h: Delete file as it's identical to te-generic.h
2934
add0c677
AM
29352000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2936
2937 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
2938 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
2939 LONG_MNEM_SUFFIX.
2940
2941 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
2942 DWORD_MNEM_SUFFIX.
2943 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
2944 comments.
2945
a19d8eb0
CP
29462000-01-13 Clinton Popetz <cpopetz@cygnus.com>
2947
66778679
RH
2948 * config/tc-mips.c (mips_do_align): New function.
2949 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 2950
550262c4
NC
29512000-01-10 Philip Blundell <philb@gnu.org>
2952
2953 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 2954 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
2955 line separator for Linux.
2956 * doc/as.texinfo (Comments): Mention the ARM.
2957
0decc840
NC
29582000-01-10 Philip Blundell <pb@futuretv.com>
2959
2960 * configure.in (arm*-*-conix*): New target.
2961 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
2962 armv*-*-linux-gnu.
2963 * configure: Regenerate.
2964
2e13b764
NC
29652000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
2966
2967 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
2968 (obj_elf_visibility): New function.
3e87a760 2969
2e13b764
NC
2970 * doc/as.texinfo (Visibility): New node: document visibility
2971 pseudo ops.
2972
3138f287
AM
29731999-12-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2974
2975 * config/tc-i386.c (MATCH): Relax JumpAbsolute check. Emit a
2976 warning for absolute jump/call without `*' in non-intel mode. No
2977 need to set i.types[0] JumpAbsolute in intel mode.
2978
df32bc61
NC
29791999-12-22 Philip Blundell <pb@futuretv.com>
2980
2981 * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
2982 hook function when changing sections.
2983 (arm_s_data): Likewise.
2984
b4d0b2b3
NC
29851999-12-14 Nick Clifton <nickc@cygnus.com>
2986
2987 * config/tc-arm.c (md_parse_option): Add support for -marm720
df32bc61 2988 command line switch.
b4d0b2b3 2989
85cb2cf9
JL
2990Tue Nov 30 22:59:00 1999 Jeffrey A Law (law@cygnus.com)
2991
2992 * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
2993 (r_registers, xr_registers): Define.
2994 (r_register_name, xr_register_name): New functions.
2995 (md_assemble): Handle new am33 operand types and instruction
2996 formats.
2997 (mn10300_insert_operand, check_operand): Likewise.
2998
a64bcdd8
NC
29991999-11-29 Nick Clifton <nickc@cygnus.com>
3000
3001 * config/tc-arm.c (thumb_mode): Turn into a tristate variable.
3002 (s_force_thumb): Set thumb_mode to 2.
3003 (md_assemble): Do not complain about thumb instructions on a
3004 non-thumb target if thumb_mode is set to 2.
3005
43b4c25e
MM
30061999-11-28 Michael Meissner <meissner@cygnus.com>
3007
3008 * config/tc-alpha.c (toplevel): Include struc-symbol.h.
3009 (alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases.
3010 (O_...): Add new machine dependent expressions if we are handling
3011 explicit relocations.
3012 (alpha_reloc_op): New static table holding the explicit relocation
3013 information.
3014 (alpha_literal_hash): New static to hold the hash table for
3015 explicit relocations.
3016 (alpha_macros): Add support for explicit relocations.
3017 (md_begin): If explicit relocations, initialize hash table.
3018 (md_assemble): Don't print a second error if tokenize_arguments
3019 already printed an error message.
3020 (md_apply_fix): Add support for explicit relocations.
3021 (alpha_force_relocation): Ditto.
3022 (alpha_fix_adjustable): Ditto.
3023 (alpha_adjust_symtab): New function to support explicit
3024 relocations.
3025 (alpha_adjust_symtab_relocs): Ditto.
3026 (debug_exp): Debug stub compiled if DEBUG_ALPHA is defined.
3027 (tokenize_arguments): Add debug code if DEBUG_ALPHA is defined.
3028 Add support for explicit relocations. Return -2 if an error
3029 message was already printed.
3030 (find_macro_match): Add support for explicit relocations. Comment
3031 each of the cases.
3032 (emit_insn): Add support for explicit relocations.
3033 (assemble_tokens): Ditto.
3034 (emit_ldgp): Ditto.
3035 (load_expression): Ditto.
3036 (emit_lda): Ditto.
3037 (emit_ldah): Ditto.
3038 (emit_ir_load): Ditto.
3039 (emit_loadstore): Ditto.
3040 (emit_ldXu): Ditto.
3041 (emit_ldil): Ditto.
3042 (emit_sextX): Ditto.
3043 (emit_division): Ditto.
3044 (emit_jsrjmp): Ditto.
3045 (emit_retjcr): Ditto.
3046
3047 * config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if
3048 ELF object format.
3049 (tc_adjust_symtab): If explicit relocations, call the function
3050 alpha_adjust_symtab.
3051 (TC_FIX_TYPE): Add fields to be able to move explicit lituse
3052 relocations next to the literal relocation they reference.
3053 (TC_INIT_FIX_DATA): Initialize the new fields.
3054 (TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined.
3055
afbf211f
JL
3056Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com)
3057
3058 * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
3059 'B' operand for PA2.0 bb instruction.
eaa15ab8 3060
f11900d0
NC
30611999-11-18 Nick Clifton <nickc@cygnus.com>
3062
3063 * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
3064 target.
3e87a760 3065
f11900d0
NC
3066 * config/tc-mcore.c (tc_gen_reloc): Support generation of RVA
3067 relocs.
3068 (mcore_force_relocation): Force relocations to be generated for
3069 RVA relocs.
3070
2daf4fd8
AM
30711999-11-16 Alan Modra <alan@spri.levels.unisa.edu.au>
3072
3073 * config/tc-i386.c (i386_immediate): Disallow O_big immediates.
3074 (i386_displacement): Disallow O_big displacements.
3075
eb726e5d
DL
3076Mon Nov 15 20:12:43 1999 Donald Lindsay <dlindsay@cygnus.com>
3077
3e87a760
AM
3078 * config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg):
3079 Small improvements in error checking.
eb726e5d
DL
3080 (md_assemble): Support for unconditional ARM instructions.
3081 (md_parse_option): Support for -m[arm]v5e flag.
3082
035349a4
NC
30831999-11-12 Nick Clifton <nickc@cygnus.com>
3084
3085 * macro.c (buffer_and_nest): Do not check beyond the end of the
3e87a760 3086 buffer.
035349a4 3087
c1eae114
NC
30881999-11-11 Nick Clifton <nickc@cygnus.com>
3089
3090 * macro.c (buffer_and_nest): Look for seperator after TO and
3091 FROM tokens.
3092
c5c834aa
AH
30931999-11-08 Andrew Haley <aph@cygnus.com>
3094
3095 * app.c (do_scrub_chars): When in State 10, treat backslash
3096 characters in the same way as as symbol characters.
3097
98007ce7
RH
30981999-11-07 Richard Henderson <rth@cygnus.com>
3099
3100 * config/tc-alpha.c (alpha_align): Check, don't assert, that
3101 the previous label was in the current section before playing
3102 with auto-alignment.
3103
d6c497c7
NC
31041999-11-06 Nick Clifton <nickc@cygnus.com>
3105
3106 * config/tc-v850.c (v850_force_relocation): Force relocation
66778679 3107 for weak symbols.
d6c497c7 3108 (v850_pcrel_from_selection): Do not compute a pcrel offset if
66778679 3109 the symbol is weak.
d6c497c7 3110
dd33dc0f
MM
31111999-11-05 Michael Meissner <meissner@cygnus.com>
3112
3113 * expr.h (operatorT): Increase machine dependent operators to 16.
3114 * expr.c (op_rank): Ditto.
3115
5f91fe03
ILT
31161999-11-03 Ian Lance Taylor <ian@zembu.com>
3117
53b0d397
ILT
3118 * read.c (pseudo_set): Reject attempts to set the value of a
3119 section symbol.
3120
5f91fe03
ILT
3121 * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
3122 if it is defined.
3123
3124 * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
3125
3126 * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
3127 to bfd_set_section_contents.
3128
829ce307
NC
31291999-11-03 Nick Clifton <nickc@cygnus.com>
3130
3131 * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
3132
2bd7f1f3
GRK
31331999-11-01 Gavin Romig-Koch <gavin@cygnus.com>
3134
3135 * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
3136 (mips_ip): Use OPCODE_IS_MEMBER.
3137
90ca882f
JL
3138Wed Oct 27 16:50:44 1999 Don Lindsay <dlindsay@cygnus.com>
3139
acb56623
JL
3140 * config/tc-arm.c (reg_required_here): Improve comments.
3141
66778679
RH
3142 * config/tc-arm.c (thumb_opcode): Add "variants" field.
3143 (tinsns): Initialize variants field.
b49cfa5d
JL
3144
3145 * config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and
3146 BAD_PC respectively.
90ca882f 3147
29c4c6b5
NC
31481999-10-27 Scott Bambrough <scottb@netwinder.org>
3149
3150 * config/tc-arm.c (reloc_map[]): Fix compiler warning.
3151 * config/tc-arm.h: Fix compile time warnings.
3152
d9fd9852
DN
3153Mon Oct 18 18:11:10 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
3154
3155 * tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
3156 form @abs16, @(abs16) and @(abs16 + imm).
3157
9ce8a5dd
GRK
31581999-10-21 Gavin Romig-Koch <gavin@cygnus.com>
3159
3160 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
3161 (ISA_HAS_64_BIT_REGS) New.
3162 (gpr_interlocks,md_begin,reg_needs_delay,append_insn,
3163 mips_emit_delays,macro_build,load_register,load_addresss,
3164 macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
3165 and/or use new ISA_xxx macros in expressions involving
3166 ISA, particularly mips_opts.isa.
3167
446a06c9
MM
31681999-10-18 Michael Meissner <meissner@cygnus.com>
3169
3170 * expr.h (operatorT): Add machine dependent operators md1..md8.
3171 (expressionS): Make X_op 8 bits instead of 7. Add a X_md field
3172 for the machine dependent operators to use.
3173
3174 * expr.c (op_rank): Add machine dependent operators.
3175
3176 * config/tc-alpha.c (O_pregister): Define as a machine dependent
3177 operator.
3178 (O_cpregister): Ditto.
3179 (md_begin): Change X_op test that field is wide enough to use
3180 O_max instead of O_alpha_max.
3181 (cpu_types): Fill in missing initializer.
3182 (alpha_num_macros): Make unsigned.
3183 (md_assemble): Make opnamelen be size_t.
3184 (md_apply_fix): Cast alpha_num_operands to int before testing.
3185 (alpha_force_relocation): Ditto.
3186 (alpha_fix_adjustable): Ditto.
3187 (alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED.
3188 (tc_gen_reloc): Ditto.
3189 (tc_get_register): Ditto.
3190 (emit_ldgp): Ditto.
3191 (emit_lda): Ditto.
3192 (emit_ldah): Ditto.
3193 (emit_ldil): Ditto.
3194 (s_alpha_ent): Ditto.
3195 (s_alpha_end): Ditto.
3196 (s_alpha_frame): Ditto.
3197 (s_alpha_prologue): Ditto.
3198 (s_alpha_file): Ditto.
3199 (s_alpha_gprel32): Ditto.
3200 (s_alpha_proc): Ditto.
3201 (s_alpha_set): Ditto.
3202 (s_alpha_base): Ditto.
3203 (s_alpha_align): Ditto.
3204 (s_alpha_arch): Ditto.
3205 (alpha_align): Ditto.
3206 (assemble_insn): Suppress unused variable warning.
3207 (emit_insn): Ditto.
3208 (assemble_insn): Don't assume X_op and X_unsigned are in a given
3209 order in the structure.
3210 (s_alpha_coff_wrapper): Avoid int/unsigned comparison.
3211
476cdcb8
JL
3212Sun Oct 17 17:15:58 1999 Jeffrey A Law (law@cygnus.com)
3213
3214 * config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
3215
c388dee8
AM
32161999-10-12 Alan Modra <alan@spri.levels.unisa.edu.au>
3217
3218 * config/tc-i386.c (i386_index_check): Correct #endif location.
3219
2bdd6cf5
GK
3220Mon Oct 11 14:02:40 1999 Geoffrey Keating <geoffk@cygnus.com>
3221
3222 * as.c (show_usage): Document new options.
3223 (parse_args): Add --no-warn, --warn, --fatal-warnings,
3224 which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
3225 (parse_args): Parse the new options.
3226 (main): If there were warnings, and --fatal-warnings
3227 was specified, print an error.
3228 * as.h: New variable, flag_fatal_warnings, for new option.
3229
d53d2751
JL
3230Sun Oct 10 01:47:23 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org>
3231
3232 * config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
3233 '@'. Change autoincrement completers to fall through to cache control
3234 completers.
3235
3236 * config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
eaa15ab8 3237 arg.
d53d2751
JL
3238 (pa_parse_addb_64_cmpltr): New function.
3239
3240 * config/tc-hppa.c (pa_ip): Change error message.
3241 (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
3242 '?Q' args to allow falling through.
3243
8fce3f5e 3244 * config/tc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
d53d2751
JL
3245 Remove unused conditional codes.
3246 (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
3247
ba09cd8d
DN
3248Thu Oct 7 00:23:53 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
3249
3250 * config/tc-d30v.c (CHAR_BIT): Define.
3251 (check_range): Fix bit operations to support integers bigger than
3252 32 bits.
3253
c43185de
DN
3254Thu Oct 7 00:11:50 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
3255
3256 * config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3
3257 operands.
3258
925c058e
DE
3259Mon Oct 4 17:24:23 1999 Nick Clifton <nickc@cygnus.com>
3260 Doug Evans <devans@cygnus.com>
3261
3262 Add support for m32rx.
3263 * config/tc-m32r.c (enable_m32rx): New static global.
3264 (enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
3265 (allow_m32rx): New function.
3266 (M32R_SHORTOPTS): Add `O'.
3267 (md_longopts): Add --m32rx plus several warning options.
3268 (md_parse_option): Handle new options.
3269 (md_show_usage): Print them.
3270 (md_begin): Enable m32rx.
3271 (OPERAND_IS_COND_BIT): New macro.
3272 (first_writes_to_seconds_operands): New function.
3273 (writes_to_pc,can_make_parallel,make_parallel): New functions.
3274 (target_make_parallel,assemble_two_insns): New functions.
3275 (md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
3276 If optimizing and m32rx, try to make consecutive insns parallel.
3277
fba2b7f9
GK
3278Tue Sep 28 14:06:44 1999 Geoffrey Keating <geoffk@cygnus.com>
3279
3280 * config/tc-mips.c (nopic_need_relax): Allow for the
3281 .sdata.foo sections generated by -fdata-sections,
3282 and for the .gnu.linkonce.s sections generated by C++.
3283
fd232ac8
JL
3284Thu Sep 23 07:13:45 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3285
ce674324
JL
3286 * config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
3287 with cleaner code using completer prefixes. Add 'Y'.
3288
fd232ac8
JL
3289 * config/tc-hppa.c (pa_ip): Add parens to silence compiler.
3290
b1039fc4
JL
3291Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com)
3292
66778679 3293 * config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
b1039fc4
JL
3294 (pa_ip, case 'm'): Failure to get a CBIT specifier just means the
3295 insn does not match and we should try the next insn in the table.
3296
913f265c
NC
32971999-09-22 Nick Clifton <nickc@cygnus.com>
3298
3299 * config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.
3300
54af6ff6
JL
3301Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com)
3302
3303 * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
3304 of PA2.0 support.
3305
4cc782b5
ILT
33061999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3307
3308 * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
3309 OBJ_ELF. If ELF, add "sq".
3310 (md_parse_option): If ELF, ignore -s and -q.
3311 (md_show_usage): Mention ELF options.
3312
6be78360
JL
3313Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
3314
eaa15ab8 3315 * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
65fab780
JL
3316 operands.
3317
71823da4
JL
3318 * config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
3319
61dd1d31
JL
3320 * config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
3321
1cf6ae67
JL
3322 * config/tc-hppa.c (struct pa_it): New field "trunc".
3323 (pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands.
3324 (pa_parse_ftest_gfx_completer): New function
3325 (pa_parse_fp_cnv_format): New function.
3326
77c02e18
JL
3327 * config/tc-hppa.c (pa_ip): Handle 'X' operand.
3328 (md_apply_fix): Handle 22bit pc-rel branches.
3329
629d9417
JL
3330 * config/tc-hppa.c (pa_ip): Handle 'B' operand.
3331
dbe2f9ee
JL
3332 * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
3333
3db6e6bd
JL
3334 * config/tc-hppa.c (pa_ip): Handle 'l' operand.
3335
6be78360
JL
3336 * config/tc-hppa.c (pa_ip): Handle 'g' operand.
3337
e061d86f
JL
3338Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
3339
66778679
RH
3340 * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
3341 (pa_ip): Handle 'fX'.
e061d86f 3342
7acbfc6b
JL
3343Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com)
3344
3345 * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
3346 unwinds unless the function is in the text space.
3347 (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
3348
2d93dcc4
JL
3349Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com)
3350
b52c78b8
JL
3351 * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
3352 (md_assemble): To here. Tweak address generation.
3353
2d93dcc4
JL
3354 * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
3355 debug_line.
3356 (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
3357 (md_assemble): Call dwarf2_where for OBJ_ELF.
3358 (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
3359 (pa_end_of_source): New function.
3360 * tc-hppa.h (md_end): Define for OBJ_ELF.
3361
6d83c84b
MM
33621999-09-14 Michael Meissner <meissner@cygnus.com>
3363
3364 * configure.in (Canonicalization of target names): Remove adding
3365 ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
3366 generates $ac_config_sub with a ${CONFIG_SHELL} already.
3367 * configure: Regenerate.
3368
41fd319a
ILT
33691999-09-14 Donn Terry <donn@interix.com>
3370
3371 * config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
3372
795a7704
AM
33731999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au>
3374
2f66722d
AM
3375 * config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a
3376 pc-relative jmp/call to an absolute symbol.
3377 (md_apply_fix3): When OBJ_ELF, don't add the values in twice for
3378 absolute section symbols.
3379
795a7704
AM
3380 * config/tc-i386.c (md_assemble): Correct frag_var size. Tidy
3381 jump handling code and comments.
3382
c0c949c7
ILT
33831999-09-12 Ian Lance Taylor <ian@zembu.com>
3384
3385 * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
3386 the value if TE_PE and a global defined symbol.
3387
e723ef7c
ILT
33881999-09-11 Ian Lance Taylor <ian@zembu.com>
3389
3390 * write.c (dump_section_relocs): Call print_symbol_value_1 to
3391 print the symbol, rather than printing it here.
3392
fa16d387
ILT
33931999-09-11 Donn Terry <donn@interix.com>
3394
d33e1d24
ILT
3395 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
3396 BFD_RELOC_RVA relocations.
3397
18dc2407
ILT
3398 * config/tc-i386.c (md_undefined_symbol): Compare the name against
3399 the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
3400 starts with "_G".
3401
945a1a6b
ILT
3402 * write.c (write_relocs): Call SET_SECTION_RELOCS if it is
3403 defined.
3404 * config/obj-coff.h (SET_SECTION_RELOCS): Define.
3405 * doc/internals.texi (Object format backend): Document
3406 SET_SECTION_RELOCS.
3407
79d292aa
ILT
3408 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
3409 relocations against global symbols if TE_PE.
3410
7a6284c4
ILT
3411 * config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
3412 (obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
3413
8828d862
ILT
3414 * config/obj-coff.c (coff_frob_symbol): Prohibit weak common
3415 symbols.
3416
9690c54d
ILT
3417 * config/obj-coff.c (obj_coff_endef): Don't merge labels, or
3418 symbols which do not have a constant value, or tags with
3419 non-tags. Remove the symbol from the list before adding it at the
3420 end.
3421
23dab925
ILT
3422 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
3423 C_FCN symbol differently if TE_PE.
3424 (obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
3425 appears in the pseudo-op, rather coff_line_base which is only set
3426 for a .bf symbol.
3427
28428223
ILT
3428 * config/obj-coff.c (obj_coff_loc): New static function.
3429 (obj_pseudo_table): Add "loc".
3430
e8a3ab75
ILT
3431 * config/obj-coff.c (add_lineno): Check that the line number is
3432 positive.
3433
2ab9b79e
ILT
3434 * config/atof-ieee.c (atof_ieee): Change what_kind to int.
3435 * config/atof-vax.c (flonum_gen2vax): Change format_letter to
3436 int.
3437 (md_atof): Return NULL rather than 0.
3438 * config/tc-i386.c (md_atof): Change type to int.
0561a208
ILT
3439 * expr.c (expr): Change first parameter to int.
3440 * config/obj-coff.c: Add declarations for static functions.
3441 (coff_frob_symbol): Use SYM_AUXENT.
3442 * config/tc-i386.h (flag_16bit_code): Don't declare.
2ab9b79e 3443
5881e4aa
ILT
3444 * config/obj-coff.c (obj_coff_section): Default to setting
3445 SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
3446
e723ef7c
ILT
3447 * write.c (adjust_reloc_syms): Print adjusted fixup.
3448
fa16d387
ILT
3449 * expr.c (integer_constant): Correct too_many_digits calculation
3450 in base 10 case.
3451
13a830b6
AS
34521999-09-09 Andreas Schwab <schwab@suse.de>
3453
3454 * doc/c-arm.texi: Fix arguments of @var to not contain
3455 punctuation.
3456
325188ec
NC
34571999-09-08 Philip Blundell <pb@nexus.co.uk>
3458
3e87a760 3459 * config/tc-arm.c (s_thumb_set): Only support interworking for ELF
325188ec
NC
3460 and COFF targets.
3461 (md_parse_option): Only support -k flag for ELF and COFF targets.
3462
e7c1f43c
JL
3463Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com)
3464
3465 * config/tc-hppa.c (pa_ip): Put strict register checks before
3466 call to pa_parse_number.
3467
4964086a
JL
3468 * config/tc-hppa.c (pa_ip): Support 'Z' argument.
3469
c4bf532f
ILT
34701999-09-06 Ian Lance Taylor <ian@zembu.com>
3471
3472 * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
3473 BFD_ASSEMBLER code.
3474
a33132fd
ILT
34751999-09-06 Donn Terry <donn@interix.com>
3476
3477 * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
3478
0f4f8b56
JL
3479Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com)
3480
3481 * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
3482 candidate instruction. Require registers for register arguments
3483 when in strict mode. Require assemble-time constants for
3484 constants when in strict mode.
3485 (pa_get_absolute_expression): Require a constant when in strict
3486 mode.
eaa15ab8 3487
d3388653
NC
34881999-09-06 Nick Clifton <nickc@cygnus.com>
3489
3490 * config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
3491
041dd5a9
ILT
34921999-09-04 Steve Chamberlain <sac@pobox.com>
3493
3494 * config/tc-pj.c: New file, supports picoJava in ELF.
3495 * config/tc-pj.h: Ditto.
3496 * configure.in (pjl*, pj*): New targets.
3497 * Makefile.am: Rebuild dependencies.
3498 (CPU_TYPES): Add pj.
3499 (TARGET_CPU_CFILES): Add config/tc-pj.c.
3500 (TARGET_CPU_HFILES): Add config/tc-pj.h.
3501 * doc/c-pj.texi: New file.
3502 * doc/as.texinfo: Add some PJ specifics.
3503 * doc/all.texi: Add PJ to the list of all architectures, sort them
3504 all alphabetically.
3505 * doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
3506 * configure, Makefile.in, doc/Makefile.in: Rebuild.
3507
4ca72d38
AM
35081999-09-02 Alan Modra <alan@spri.levels.unisa.edu.au>
3509
3510 * config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat.
3511 (obj_frob_file): Test for null pointer.
3512 (OBJ_COPY_SYMBOL_ATTRIBUTES): Here too.
3513 (OBJ_PROCESS_STAB): And here.
3514 (elf_obj_sy): Remove
3515
3516 * config/obj-elf.h: #ifndef everything defined in obj-multi.h,
3517 except OBJ_PROCESS_STAB, which we #undef for ecoff.
3518 (elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE.
3519
3520 * config/obj-coff.c (no_func): Remove.
3521 (coff_format_ops): Change occurrences of no_func to 0, as we test
3522 for 0 in obj-multi.h.
3523
3524 * configure.in: Enable bfd for i386-coff when primary target is
3525 bfd. Enable i386 elf,coff emulation support. Don't set
3526 USE_EMULATIONS=1 or te_file=multi unless there is more than one
3527 emulation to support.
3528 *configure: Regenerate.
3529
bcef92fa
NC
35301999-09-02 Nick Clifton <nickc@cygnus.com>
3531
3532 * config/tc-mcore.c (mcore_s_section): Do not dump literals if a
3533 .section .line directive is encountered.
3534
cdf82bcf
NC
35351999-09-01 Nick Clifton <nickc@cygnus.com>
3536
5856c19a 3537 * config/tc-arm.c (md_section_align): Do not align sections in ELF
3e87a760 3538 format.
5856c19a 3539
cdf82bcf
NC
3540 * as.c (show_usage): Add --gdwarf2 to list of options displayed.
3541 * as.texinfo: Document --gdwarf2 command line option.
3542 Add additional documentation of ARM command line switches.
3543
af6bdddf
AM
35441999-08-30 Alan Modra <alan@spri.levels.unisa.edu.au>
3545
3546 * config/tc-i386.c (i386_intel_memory_operand): Combine
3547 i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE
3548 and RESTORE_END_STRING around parse_register calls.
3549 (i386_operand): Here too.
3550 (i386_is_reg): Remove.
3551 (parse_register): Move as_bad calls from within this function to
3552 callers.
3553
5f47d35b
AM
35541999-08-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3555
3556 Based on a patch from H.J. Lu <hjl@gnu.org>
3557 * config/tc-i386.c (parse_register): Handle FP regs specially.
3558 (md_begin): Remove '(' and ')' from register_chars.
3559
1174497c
DE
35601999-08-29 Doug Evans <devans@casey.cygnus.com>
3561
3562 * config/tc-m32r.c (md_parse_option): Delete unrecognized option
3563 error message (done elsewhere).
3564
17d9105c
JL
3565Sat Aug 28 01:23:11 1999 Jeffrey A Law (law@cygnus.com)
3566
3567 * config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
3568
9ecc05f0
JL
3569Sat Aug 28 00:26:26 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3570
66778679 3571 * config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register
97e1581b
JL
3572 args by 'f'.
3573
9e4f2d3a
JL
3574 * config/tc-hppa.c (pa_ip): Add args q, %, and |.
3575
680ef6de
JL
3576 * config/tc-hppa.c (pa_ip): Absorb white space in instructions
3577 between args.
3578 Add new completers. Fix bug in 64 bit condition handling.
3579
413c94ba
JL
3580 * config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
3581 'cS', and 'c*'.
3582
28252e61
JL
3583 * config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
3584
a97685e9
JL
3585 * config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!'
3586
3e87a760 3587 * config/tc-hppa.c (pa_ip): Add case for 'I'.
9ecc05f0 3588
cb30237e
NC
35891999-08-27 Jim Wilson <wilson@cygnus.com>
3590
3591 * dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment.
3592 (struct ls): Add frag field. Initialize it to zero.
3593 (out_end_sequence): New local text_frag. Set it while in text section.
3594 Replace address check with frag check. Set ls.frag to text_frag if
3595 out_set_addr called.
3596 (dwarf2_gen_line_info): Add explanatory comment. New local saved_frag.
3597 Set it before switching sections. Replace address check with frag
3598 check. Set ls.frag to saved_frag if out_set_addr called.
3599
09a798ea
NC
36001999-08-26 David Mosberger <davidm@hpl.hp.com>
3601
66778679 3602 * dwarf2dbg.c (out_end_sequence): If address changed, directly
09a798ea
NC
3603 output "advance_pc" opcode instead of calling gen_addr_line().
3604 The latter has the undesired side-effect of creating a new row
3e87a760 3605 in the debug line info matrix.
09a798ea 3606
e1c05f12
NC
36071999-08-26 Jim Wilson <wilson@cygnus.com>
3608
3609 * dwarf2dbg.c (out_end_sequence): Correct comments. Set last to
3610 ls.last_filename if last is less than zero. Set ls.last_filename
3611 when allocating new entry.
3612 (dwarf2_gen_line_info): Save seg and subseg info before subseg_new
3613 call.
3614
b23bac36
AM
36151999-08-20 Alan Modra <alan@spri.levels.unisa.edu.au>
3616
3617 * config/tc-i386.c (i386_index_check): Fix the displacement size
3618 when INFER_ADDR_PREFIX.
3619
50f4163f
NC
36201999-08-18 Nick Clifton <nickc@cygnus.com>
3621
3622 * config/tc-arm.c (md_apply_fix3): If an offset is invalid,
3623 display its value.
3624
f589a541
ILT
36251999-08-17 Ian Lance Taylor <ian@zembu.com>
3626
3627 * config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
3628 handle 0xffffNNNN constants correctly.
3629
11450271
NC
36301999-08-16 Nick Clifton <nickc@cygnus.com>
3631
3632 * config/tc-arm.c (do_ldst): Look for register conflicts on stores
3633 as well as loads.
3634
276b1dc2
NC
36351999-08-13 Nick Clifton <nickc@cygnus.com>
3636
3637 * config/tc-arm.c (validate_offset_imm): Work on unsigned values.
3638 (md_apply_fix3): Always pass positive values to
3639 validate_offset_imm.
3640
ae5ad4ad
NC
36411999-08-12 Nick Clifton <nickc@cygnus.com>
3642
3643 * config/tc-arm.c (skip_whitespace): New macro.
3644 Formatting tidy ups.
3e87a760 3645
ae5ad4ad
NC
3646 (md_apply_fix3): Store relocation offset in addend for ELF based
3647 relocs.
3648 (arm_force_relocation): Always generate relocs for Thumb function
3e87a760
AM
3649 calls.
3650
bf6d3895
AM
36511999-08-11 Alan Modra <alan@spri.levels.unisa.edu.au>
3652
3653 * config/tc-i386.c (md_assemble): Remove dead code. intel_syntax
3654 LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h
3655
46031ca9
JL
3656Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com)
3657
b100be66
JL
3658 * config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
3659 flags for the unwind subspace.
3660
46031ca9
JL
3661 * config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
3662 (pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
3663 suitable relocation based on the size of the target's pointer.
3664 Always Use subsegment zero for the unwinders.
3665 (pa_level): Handle "2.0w".
3666
65172ab8 3667Mon Aug 9 20:02:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
0825afba
JR
3668
3669 * config/tc-d30v.c (write_2_short): Don't group repeat instructions
3670 with the following instruction unless this was specified.
3671
1a1ae23e
ILT
36721999-08-09 Ian Lance Taylor <ian@zembu.com>
3673
3674 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
3675 certain sections, to match BFD changes.
3676
81afc846
ILT
36771999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
3678
3679 * Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
3680 (EXTRA_SCRIPTS): Define to keep automake happy.
1a1ae23e 3681 * Makefile.in: Rebuild.
81afc846 3682
04ad1543
ILT
36831999-08-08 Ian Lance Taylor <ian@zembu.com>
3684
3685 * Makefile.am: Rename .dep* files to DEP*.
3686 (MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather
3687 than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP
3688 targets to DEPOBJ.
3689 * Makefile.in: Rebuild.
3690
1eb7027c
RH
36911999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
3692
3693 * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
3694
2dcc60be
ILT
36951999-08-08 Ian Lance Taylor <ian@zembu.com>
3696
46eec08e
ILT
3697 * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
3698 avoid problems on DOS filesystems.
3699 * Makefile.in: Rebuild.
3700
2dcc60be
ILT
3701 * doc/as.texinfo (Section): Document 's' flag for COFF version.
3702
37031999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
3704
3705 * config/obj-coff.c (obj_coff_section): Handle 's' (shared)
3706 section flag.
3707
76a27922
ILT
37081999-08-08 Ian Lance Taylor <ian@zembu.com>
3709
3710 * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
81afc846 3711 line to create ${GDBINIT} rather than .gdbinit.
76a27922
ILT
3712 * configure, Makefile.in, doc/Makefile.in: Rebuild.
3713
0741736b
JL
3714Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com)
3715
3716 * config/tc-hppa.c (pa_ip, case '?'): Add missing break.
3717
9a913dfb
JL
3718Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3719
3720 * config/tc-hppa.c (pa_ip): Add 64 bit condition completers.
3721
a1f2d742
ILT
37221999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
3723
3724 * config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
3725 non-adjustable symbols.
3726
55a914bc
JL
3727Thu Aug 5 16:52:51 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3728
3729 * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix.
3730
336f7c70 3731Thu Aug 5 23:05:56 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5fc44b2d
JR
3732
3733 * config/tc-sh.c (md_assemble): Call as_bad when there are excess
3734 operands.
3735
9750fcc5
ILT
37361999-08-05 Donn Terry <donn@interix.com>
3737
3738 * config/te-interix.h: New file.
3739 * configure.in (i386-*-interix*): New target.
3740 * configure: Rebuild.
3741
39ba5561
JL
3742Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
3743
3744 * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
3745 selectors for ELF too.
3746 (selector_table): Add "ltp" and "rtp" selectors.
3747
eecb386c
AM
37481999-08-04 Alan Modra <alan@spri.levels.unisa.edu.au>
3749
3750 * config/tc-i386.c (i386_operand): No need to change
3751 operand_string pointer in segment reg case before goto
3752 do_memory_reference. Initialise displacement_string_start and
3753 displacement_string_end after do_memory_reference label.
3754 (i386_index_check): Add operand_string param, and print error
3755 message on failure here.
3756 (i386_intel_memory_operand): Instead of here.
3757 (i386_operand): And here.
3758 (INFER_ADDR_PREFIX): Enable.
3759
3760 * doc/c-i386.texi (i386-16bit): Document .code16gcc.
3761
3762 * config/tc-i386.h (DefaultSize): Define. Renumber following
3763 opcode_modifier defines.
3764
3765 From Etienne Lorrain <etienne.lorrain@ibm.net>
3766 * config/tc-i386.c (stackop_size): New variable.
3767 (set_16bit_code_flag): Clear it here.
3768 (set_16bit_gcc_code_flag): New function.
3769 (md_pseudo_table): Add "code16gcc" entry.
3770 (md_assemble): Set i.suffix for insns with DefaultSize modifier.
3771
f173e82e
ILT
37721999-08-03 Ian Lance Taylor <ian@zembu.com>
3773
a04b544b
ILT
3774 * config/obj-coff.c (coff_frob_symbol): Always update set_end with
3775 next_set_end even if the end symbol is being discarded.
3776
3777 * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER.
3778 * output-file.c, symbols.c, config/tc-i386.c: Likewise.
3779 * config/obj-coff.c: Likewise.
3780 (seg_info_type): Remove.
3781 (seg_info_off_by_4): Change to array of segT.
3782 (s_get_segment): Adjust accordingly.
3783 (obj_pseudo_table): Fully initialize sentinel entry.
3784
f173e82e
ILT
3785 * config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
3786 Ralf Baechle <ralf@uni-koblenz.de>.
3787
c3332e24
AM
37881999-08-03 Etienne Lorrain <etienne.lorrain@ibm.net>
3789
3790 * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
3791
37921999-08-03 Alan Modra <alan@spri.levels.unisa.edu.au>
3793
24eab124
AM
3794 * config/tc-i386.c: Indentation and white space changes.
3795 (i386_index_check): New function. Add INFER_ADDR_PREFIX code, but
3796 don't enable it by default.
3797 (i386_intel_operand): Remove redundant prototype.
3798 Move check on number of memory operands, and i.mem_operands++
3799 (i386_intel_memory_operand): To here.
3800 Remove i386_immediate code from here. Remove special case code
3801 for input and output using (%dx). Remove base/index checks and
3802 call i386_index_check instead. Save initial operand_string
3803 argument for error message.
3804 (i386_operand): Remove redundant prototype. Move base/index
3805 checks to i386_index_check.
3806 (i386_displacement): Move intel mode check for non-zero
3807 i.disp_operand
3808 (i386_intel_memory_operand): To here.
c3332e24 3809
6d8809aa
RH
38101999-07-30 Jakub Jelinek <jj@ultra.linux.cz>
3811
3812 * config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
3813 (sparc_ip): Warn if %g2 or %g3 register is used and not covered
3814 by .register pseudo-op if -64 and --no-undeclared-regs.
3815 (s_register, sparc_adjust_symtab): New functions.
3816 * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
3817 Declare sparc_adjust_symtab as tc_adjust_symtab.
3818 * doc/c-sparc.texi: Add description of #ignore special literal
3819 for .register pseudo-op.
3820
c8d259f7
CM
38211999-07-30 Catherine Moore <clm@cygnus.com>
3822
eaa15ab8 3823 * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
c8d259f7
CM
3824 the relocation's section offset.
3825
b77ad1d4
AM
38261999-07-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3827
3828 * write.c (fixup_segment): Fix generic error check overflow test.
3829
3830 * config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast
3831 X_add_number to long.
3832
b53fcc20
JL
3833Wed Jul 28 02:04:24 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
3834
3835 * config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
3e87a760 3836 processing.
b53fcc20 3837
d2e71411
ILT
38381999-07-27 Ian Lance Taylor <ian@zembu.com>
3839
3840 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
3841 VTABLE relocations.
3842
e9f56b1d
ILT
38431999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
3844
3845 * config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
1a39f480 3846
1a39f480
ILT
3847 * configure.bat: Remove; obsolete.
3848 * config/go32.cfg: Likewise.
3849
29fe79d3
ILT
38501999-07-21 Brad M. Garcia <bgarcia@fore.com>
3851
3852 * configure.in (i386-*-vxworks*): New target.
3853 * configure: Rebuild.
3854
e06510e6
RH
38551999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
3856
3857 * doc/c-sparc.texi: Document .register and .nword pseudo-ops.
3858
dabe3bbc
RH
38591999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
3860
3861 * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
3862 on -64 and not pic.
3863 (output_insn): Put OLO10's secondary addend into tc_fix_data.
3864 (md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10.
3865 (tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13.
3866 * config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE,
3867 MAX_RELOC_EXPANSION): Define.
3868 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
3869
b4cac588
AM
38701999-07-16 Alan Modra <alan@spri.levels.unisa.edu.au>
3871
3872 * config/tc-i386.c (intel_float_operand): Add prototype, make static.
3873 (md_assemble): Localize *exp variable to if (fake_zero_displacement)
3874 block. Print a warning if an 8-bit or 16-bit constant
3875 displacement or immediate is truncated on output.
3876 (i386_immediate): Ensure Imm16 is always legal for a 16-bit mode
3877 immediate.
3878 (i386_operand): Disallow immediate jump absolute operand.
3879
966ed0b4
ILT
38801999-07-15 Ian Lance Taylor <ian@zembu.com>
3881
0ed15843
ILT
3882 * configure.in: Bump version number to 2.9.5.
3883 * configure: Rebuild.
3884
966ed0b4
ILT
3885 * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
3886 or %llx work.
3887
67f1cff0
JL
3888Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com)
3889
3890 * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
3891 (cons_fix_new_hppa): Derive size of fixup from size of the object.
3892
2f992c04
NC
38931999-07-14 Philip Blundell <pb@nexus.co.uk>
3894
3895 * symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it
3896 is defined.
3897 * config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF.
3898
3899 * config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file
3900 if -mno-fpu was given.
3901 (tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC
3902 relocs.
3903 (cons_fix_new_arm): Remove misleading comments.
3904
14ad458a
ILT
39051999-07-14 Ian Lance Taylor <ian@zembu.com>
3906
3907 * write.c (cvt_frag_to_fill): Use frag file and line in rs_org
3908 error message.
3909 (relax_segment): Likewise. After giving a rs_org error, convert
3910 the frag to rs_align to avoid cascading errors.
3911
36823076
AS
39121999-07-12 Andreas Schwab <schwab@suse.de>
3913
3914 * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED.
3915
ab9da554
ILT
39161999-07-11 Ian Lance Taylor <ian@zembu.com>
3917
3918 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
3919 as appropriate. Fill in structure initializations. Add variable
3920 initializations. Add casts.
3921 * dwarf2dbg.c (print_stats): Change i to size_t.
3922 * listing.c (listing_listing): Change list_line to unsigned int.
3923
e0accf0c
ILT
39241999-07-10 Ian Lance Taylor <ian@zembu.com>
3925
3926 * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
3927 rather than checking for \001 and \002 in symbol name.
3928 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
3929
7d4ce8a9
JL
3930Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
3931
3932 * configure.in (hppa*-linux-gnu*): New target.
3933 * configure: Rebuilt.
3934
5395a469
NC
39351999-07-08 Nick Clifton <nickc@cygnus.com>
3936
3e87a760 3937 * doc/c-arm.texi (ARM Directives): Document .thumb_set directive.
5395a469 3938
cac58fa6
NC
39391999-07-07 Nick Clifton <nickc@cygnus.com>
3940
5395a469 3941 * config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than
cac58fa6
NC
3942 accessing symbolP directly.
3943
03b36ee1
JL
3944Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com)
3945
3946 * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
3947 for ELF.
3948
49a5575c
NC
39491999-07-05 Nick Clifton <nickc@cygnus.com>
3950
3951 * config/tc-arm.c (ARM_EXT_V5): Define.
3952 (ARM_ARCH_V5, ARM_ARCH_V5T): Define.
3953 (md_begin): Detect ARM v5 architectures.
3954 (md_parse_option): Accept arm v5 specification.
3955 (md_show_usage): Documment -marmv5 switch.
3956
3957 * doc/c-arm.texi: Document -marmv5 command line option.
3e87a760 3958
49a5575c
NC
3959 * config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo
3960 op.
3961 (validate_immediate_twopart): New function. Determine if a
3962 constant can be computed by two ADD instructions.
3963 (output_inst): Remove its command line parameter - it was never
3964 used.
3965 (md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to
3966 implememt the ADRL pseudo op.
3967 (tc_gen_reloc): Generate a suitable error message if an ADRL
3968 instruction tries to generate a real reloc.
3969
3970 * doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops.
3971
09ecf0ba
JL
3972Thu Jul 1 15:33:10 1999 Jeffrey A Law (law@cygnus.com)
3973
3974 * config/tc-hppa.c (pa_ip): Convert the opcode and all completers
3975 into lower case.
3976
264d6861
ILT
39771999-06-27 H.J. Lu <hjl@gnu.org>
3978
3979 * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
3980 non BFD_ASSEMBLER case.
3981
827c0149
ILT
39821999-06-26 Mumit Khan <khan@xraylith.wisc.edu>
3983
3984 * config/obj-coff.c (obj_coff_section): Mark writable sections as
3985 data.
3986
a340d270
RH
39871999-06-26 David Mosberger <davidm@hpl.hp.com>
3988
3989 * dwarf2dbg.c (dwarf2_gen_line_info): Don't call
3990 out_end_sequence() when the address decreases due to a new frag.
3991 (gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file
3992 numbering starts with 1.
3993
16b93d88
NC
39941999-06-23 Nick Clifton <nickc@cygnus.com>
3995
3996 * config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow
3997 .section for COFF.
3998 (mcore_s_text): Call obj_elf_text for ELF target.
3999 (mcore_s_data): Call obj_elf_data for ELF target.
4000 (mcore_s_section): No longer ELF specific. Call obj_coff_section
4001 for COFF target.
4002 (mcore_s_bss): New function: Dump literal table before changing
4003 sections.
4004 (mcore_s_comm): New function: Dump literal table before changing
4005 sections.
3e87a760 4006
16b93d88
NC
4007 * config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text):
4008 No longer static functions.
4009 * config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text):
4010 Provide prototypes for these functions.
4011
fed9b18a
ILT
40121999-06-22 Ian Lance Taylor <ian@zembu.com>
4013
be2acf27
ILT
4014 * subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use
4015 a list of names, to try obj_segment_name, and to try abbreviated
4016 names when using COFF without long section names.
4017
7dcc9865
ILT
4018 * config/tc-alpha.c: More use of symbol accessor functions.
4019 * config/tc-arc.c: Likewise.
4020 * config/tc-d30v.c: Likewise.
4021 * config/tc-fr30.c: Likewise.
4022 * config/tc-i860.c: Likewise.
4023 * config/tc-m88k.c: Likewise.
4024 * config/tc-mcore.c: Likewise.
4025 * config/tc-ns32k.c: Likewise.
4026 * config/tc-sparc.c: Likewise.
4027 * config/tc-v850.c: Likewise.
4028
a77f5182
ILT
4029 * config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
4030 sy_value with appropriate accessor functions.
4031 * config/tc-arm.c (md_apply_fix3): Likewise.
4032 * config/tc-d10v.c (AT_WORD_P): Likewise.
4033 * config/tc-v850.c (reg_name_search): Likewise.
4034
fed9b18a
ILT
4035 * config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
4036 use symbol_get_bfdsym instead.
4037 * config/tc-ppc.c (md_assemble): Likewise.
4038 * config/tc-v850.c (v850_comm): Likewise.
4039
310b5aa2
ILT
40401999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
4041
4042 * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
4043 the symbol, rather than accessing the bsym member.
4044 * config/tc-d10v.c (tc_gen_reloc): Likewise.
4045 * config/tc-d30v.c (tc_gen_reloc): Likewise.
4046 * config/tc-mcore.c (tc_gen_reloc): Likewise.
4047 * config/tc-mn10200.c (tc_gen_reloc): Likewise.
4048 * config/tc-mn10300.c (tc_gen_reloc): Likewise.
4049 * config/tc-ns32k.c (tc_gen_reloc): Likewise.
4050 * config/tc-tic30.c (tc_gen_reloc): Likewise.
4051 * config/tc-v850.c (tc_gen_reloc): Likewise.
4052
9cb8e75e
JL
4053Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com)
4054
4055 * tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
4056 (hppa_gen_reloc_type): Conditionalize on BFD64.
4057 (tc_gen_reloc): Re-enable ELF relocations.
4058 * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
4059
3d103319
ILT
40601999-06-21 Ian Lance Taylor <ian@zembu.com>
4061
4062 * config/tc-arm.c (ldst_extend): Add parentheses to avoid
4063 warning.
4064 (do_ldst): Move assignment out of if condition.
4065 (md_apply_fix3): Add casts to avoid printf format warnings. Add
4066 parentheses to avoid warning.
4067
776b24b4
NC
40681999-06-21 Nick Clifton <nickc@cygnus.com>
4069
155f0fe7
NC
4070 * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
4071 macro to get at the BFD symbol associated with a GAS symbol.
776b24b4 4072
809ffe0d
ILT
40731999-06-19 Ian Lance Taylor <ian@zembu.com>
4074
4075 * config/tc-ppc.c: Update for symbol handling changes.
4076 * config/obj-coff.c: Likewise.
4077
49863f82
JL
4078Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com)
4079
4080 * tc-hppa.c: General cleanups of ELF support. No more spaces
4081 and subspaces for ELF.
4082 (GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
4083 (GDB_STRINGS_SUBSPACE_NAME): Likewise.
4084 (GDB_SYMBOLS_SUBSPACE_NAME): Likewise
4085 (UNWIND_SECTION_NAME): Likewise.
4086 (space/subspace related structures): Conditionalize definitions
4087 on OBJ_SOM.
4088 (space/subspace directives and support routines): Conditionalize
4089 definitions and references/uses on OBJ_SOM.
4090 (label_symbol_struct): For ELF, track the symbol's segment. For
4091 SOM track its space.
4092 (pa_define_label, pa_undefine_label, pa_get_label): Corresponding
4093 changes.
4094 (USE_ALIASES): Kill for both SOM & ELF.
4095 (pa_def_subspaces, pa_def_spaces): Corresponding changes.
4096 (pa_space, pa_subspace): Corresponding changes.
4097 (pa_spaces_begin): Corresponding chagnes.
4098 (md_begin): Do not muck around with space/subspace stuff for
4099 OBJ_ELF.
4100 (md_apply_fix): Temporarily disable argument relocation stuff
4101 for OBJ_ELF.
4102 (tc_gen_reloc): Temporarily disable relocation generation for
4103 OBJ_ELF
4104 (pa_build_unwind_subspace): Similarly.
4105
fed881b1
NC
41061999-06-16 Nick Clifton <nickc@cygnus.com>
4107
4108 * config/tc-arm.c (thumb_set): New pseudo op.
4109 (text, data, section): Override these pseudo ops with ARM
4110 specific versions.
4111 (s_thumb_set): New function: Perform the same as a .set pseudo
4112 op, but also mark the alias'ed symbol as being a Thumb
4113 function.
4114 (arm_s_text): New function: Perform the same as the .text
4115 pseudo op, but dump the literal pool before changing
3e87a760 4116 sections.
fed881b1
NC
4117 (arm_s_data): New function: Perform the same as the .data
4118 pseudo op, but dump the literal pool before changing
3e87a760 4119 sections.
fed881b1 4120 (arm_s_section): New function: Perform the same as the
3e87a760
AM
4121 .section pseudo op, but dump the literal pool before changing
4122 sections.
fed881b1
NC
4123 (arm_cleanup): Do not reset the current section before dumping
4124 the literal pool.
4125
0f94f4c8
NC
41261999-06-17 Nick Clifton <nickc@cygnus.com>
4127
2f3519a2
NC
4128 * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
4129 OPTION_NO_WARN_UNMATCHED entries.
4130 (md_parse_option): Generate a warning message if an unrecognised
4131 option is encountered.
4132
0f94f4c8
NC
4133 * config/tc-d10v.c (do_not_ignore_hash): New variable.
4134 (get_operands): When parsing an expression after an '@' symbol
4135 has been detected, do not ignore '#' symbols.
4136 (md_operand): Only ignore '#' symbols if do_not_ignore_hash is
3e87a760 4137 false.
0f94f4c8 4138
e4a86f6f
ILT
41391999-06-13 Ian Lance Taylor <ian@zembu.com>
4140
4141 From K. Richard Pixley <rich@noir.com>:
4142 * configure.in (ppc-*-vxworks*): New target.
4143 * configure: Rebuild.
4144
a8aed0fb
UD
41451999-06-12 Philip Blundell <philb@gnu.org>
4146
4147 * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
4148
7565ed77
ILT
41491999-06-13 Ian Lance Taylor <ian@zembu.com>
4150
4151 * write.c (adjust_reloc_syms): Rather than never reducing reloc
4152 which refer to symbols in linkonce sections, permit reducing the
4153 relocs if the symbol is local.
4154
b9e57a38
ILT
41551999-06-12 Ian Lance Taylor <ian@zembu.com>
4156
4157 * subsegs.c (subseg_text_p): New function.
4158 * as.h (subseg_text_p): Declare.
4159 * read.c (do_align): Use subseg_text_p to set the default fill.
4160 * write.c (subsegs_finish): Likewise.
4161 * config/obj-coff.c (write_object_file): Likewise.
4162 * config/tc-i386.h (md_maybe_text): Don't define.
4163 (md_do_align): Use subseg_text_p to set the default fill.
4164 * config/tc-m32r.c (m32r_do_align): Likewise.
4165 * config/tc-sh.c (sh_do_align): Likewise.
4166 * config/tc-sparc.h (md_do_align): Likewise.
4167
008960a5
ILT
41681999-06-12 David O'Brien <obrien@freebsd.org>
4169
4170 * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
4171 * configure: Rebuild.
4172
a1605869
ILT
41731999-06-12 Ian Lance Taylor <ian@zembu.com>
4174
d9ac5a3b
ILT
4175 * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
4176 * Makefile.am: Rebuild dependencies.
4177 * Makefile.in: Rebuild.
4178
a1605869
ILT
4179 * config/tc-i386.c (i386_immediate): Remove unused label
4180 seg_unimplemented.
4181
4182 * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
4183 * symbols.c: Likewise.
4184 * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
4185 sy_next field when taking address, rather than symbol_next.
4186
4187 * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
4188 offsetT.
4189 (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the
4190 value from the output file architecture.
4191 (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
4192 * dwarf2dbg.h: Change bfd_vma to addressT.
4193
a7cd1c22
ILT
41941999-06-11 Ian Lance Taylor <ian@zembu.com>
4195
4196 * dwarf2dbg.h: Use PARAMS in function declarations.
4197
76171f81
ILT
41981999-06-11 Martin Dorey <mdorey@madge.com>
4199
4200 * write.c (fixup_segment): Don't add symbol value for i960 ELF.
4201 * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
4202 OBJ_ELF.
4203 (md_apply_fix): Simplify BFD_ASSEMBLER handling.
4204
9b4d630b
ILT
42051999-06-11 Ian Lance Taylor <ian@zembu.com>
4206
5865bb77
ILT
4207 * config/tc-i386.c (md_apply_fix3): Add default case to switch.
4208
9e7c96d9
ILT
4209 * config/tc-sparc.c (md_pseudo_table): Remove pushsection and
4210 popsection.
4211
1b50c718
ILT
4212 * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
4213
1bf67e0d
ILT
4214 * read.c (read_a_source_file): Only declare inescape if
4215 QUOTES_IN_INSN.
4216
4217 * itbl-ops.c (itbl_disassemble): Change sprintf format strings to
4218 match parameters.
4219 (find_entry_byval): Add parens to avoid warning.
4220
4221 * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
4222
9b4d630b
ILT
4223 * symbols.c (resolve_symbol_value): Don't permit subtraction of
4224 undefined symbols.
4225
a22b281c
RH
42261999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
4227
66778679 4228 * config/tc-sparc.c (sparc_ip): Don't use side-effect expression
a22b281c
RH
4229 with isoctal.
4230
4231 * config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
4232 synthetize_setx): New functions.
4233 (md_assemble): Broken the special cases into the above
4234 functions. Make compiler happy if sizeof(bfd_vma)==4.
4235 Fix sethi generated from set/setuw. If instructions have a relloc,
4236 always clear the fields to be relocated in the opcode.
4237 (sparc_ip): Remove special_case global variable.
4238
7f2f689c
ILT
42391999-06-10 Ian Lance Taylor <ian@zembu.com>
4240
d7ba4a77
ILT
4241 Based on patches from John W. Woznack <jwoznack@concentric.net>:
4242 * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return
4243 indication of success rather than a value.
4244 (itbl_get_val): Likewise.
4245 (itbl_get_field): Use strcspn. Change delimiters to include
4246 parens.
4247 * itbl-ops.h (itbl_get_reg_val): Update declaration.
4248 (itbl_get_val): Likewise.
4249 * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
4250
7f2f689c
ILT
4251 * symbols.c (copy_symbol_attributes): Convert local symbols to
4252 regular symbols.
4253
c1d3c45e
NC
42541999-06-10 Nick Clifton <nickc@cygnus.com>
4255
4256 * config/tc-arm.c (md_parse_option): Add support for ARM920 and
3e87a760 4257 ARM920t.
c1d3c45e 4258
63fab58c
RH
42591999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
4260
4261 * config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
4262 Optimize set if sizeof(bfd_vma) == 64.
4263 (sparc_ip): Fix sethi - without %hi() it should generate
eb858bb4 4264 R_SPARC_22 reloc, not R_SPARC_HI22.
63fab58c
RH
4265 (tc_gen_reloc): Handle BFD_RELOC_SPARC22.
4266
cf9a1301
RH
42671999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
4268
4269 * config/tc-sparc.c (md_begin): Handle native wordsize aliases.
4270 (s_ncons): New function.
4271 (native_op_table): New table.
4272 (sparc_ip): Be more strict on %hi() etc.; prepare assembler for
4273 R_SPARC_OLO10 handling.
4274
bf29b231
RH
4275Mon Jun 7 10:22:16 1999 Richard Henderson <rth@cygnus.com>
4276
4277 * expr.h (struct expressionS): Revert last change; widen X_op.
4278 * config/tc-alpha.c (md_begin): Check the field is wide enough.
4279
9be1cda6
AS
4280Mon Jun 7 11:25:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4281
a4835b42
AS
4282 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
4283 (TARGET_CPU_HFILES): Add config/tc-fr30.h.
4284 (TARG_ENV_HFILES): Add config/te-epoc-pe.h.
4285 * Makefile.in: Regenerated.
4286
9be1cda6
AS
4287 * config/obj-elf.c (obj_elf_common): In MRI mode if called as
4288 `common' pass on to s_mri_common.
3e87a760 4289 (elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
9be1cda6 4290
62335629
RH
42911999-06-06 Richard Henderson <rth@cygnus.com>
4292
4293 * config/obj-elf.c (obj_elf_section): Don't free the return
4294 value of demand_copy_C_string.
4295
9de8d8f1
RH
42961999-06-05 Richard Henderson <rth@cygnus.com>
4297
4298 * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
4299 creation logic from obj_elf_create_section.
4300
4301 * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
4302 (section_stack): New.
4303 (special_sections): Make const.
4304 (obj_elf_section): Gut and rewrite parsing.
4305 (obj_elf_change_section): New function broken out of obj_elf_section.
4306 (obj_elf_parse_section_letters): Likewise.
4307 (obj_elf_section_word): Likewise.
4308 (obj_elf_section_type): Likewise.
4309 (obj_elf_previous): Treat as a toggle.
4310 (obj_elf_popsection): New.
4311 * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
4312 (ppc_section_type): Likewise.
4313 * config/tc-ppc.h: Likewise.
4314
4315 * expr.h (struct expressionS): Don't make X_op a bitfield.
4316 * config/tc-alpha.c: Update for symbol handling changes.
4317 (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
4318 (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
4319
58b5739a
RH
43201999-06-05 Richard Henderson <rth@cygnus.com>
4321
4322 * dwarf2dbg.c (*): Convert to K&R + prototypes.
4323 (dwarf2_gen_line_info): Kill unused variables.
4324 (dwarf2_finish): Likewise.
4325 (dwarf2_where): Likewise.
4326 (dwarf2_directive_file): If we've only got a string,
4327 hand off to s_app_file.
4328 * ecoff.c: Move the include of ecoff.h.
4329 * symbols.h (S_IS_FUNCTION): Prototype.
4330
4331 * read.c (LEX_HASH): Supply a default.
4332 (lex_type): Use it.
4333 (s_globl): Update `c' after skipping whitespace.
4334 * read.h (LEX_END_NAME, is_name_ender): New.
4335 * expr.c (get_symbol_end): Respect it.
4336
398e8c25
ILT
43371999-06-04 Mark Klein <mklein@dis.com>
4338
993142d5
ILT
4339 * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
4340 to real if OBJ_SOM
4341 (tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
4342
398e8c25
ILT
4343 * config/tc-hppa.c: Update for symbol handling changes.
4344
b4013713
ILT
43451999-06-03 Ian Lance Taylor <ian@zembu.com>
4346
080e41e6
ILT
4347 * cgen.c: Update for symbol handling changes.
4348 * config/tc-m32r.c: Likewise.
f412ead8 4349
a0f75b47
ILT
4350 * config/tc-hppa.h: Update for symbol handling changes.
4351 * config/tc-hppa.c: Likewise.
4352
174419c1
ILT
4353 * config/tc-arm.h: Update for symbol handling changes.
4354 * config/tc-arm.c: Likewise.
4355 (symbol_make_empty): Remove. Just use symbol_create.
4356
4357 * symbols.c (symbol_set_tc): Correct name.
4358
6104f0a0
ILT
4359 * Makefile.am: Rebuild dependencies.
4360 ($(OBJS)): Don't depend upon struc-symbol.h.
4361 (.dep1, .tcdep, .objdep): Create itbl-parse.h.
4362 * dep-in.sed: Don't remove struc-symbol.h.
4363 * Makefile.in: Rebuild.
4364
b4013713
ILT
4365 * doc/internals.texi (Symbols): Describe changes in symbol
4366 handling.
4367
6576f0b5
RH
43681999-06-03 Richard Henderson <rth@cygnus.com>
4369
4370 * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
4371 instead of doing the work by hand.
4372
fac0d250
RH
43731999-06-03 David Mosberger <davidm@hpl.hp.com>
4374
4375 * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
4376 state of line state-machine.
4377 (struct ls): Collect DWARF2 line state-machine state in new member
4378 SM. Add member EMPTY_SEQUENCE to keep track if a code sequence
4379 resulted in any DWARF2 directives.
4380 (reset_state_machine): New function.
4381 (out_end_sequence): Ditto.
4382 (dwarf2_gen_line_info): When switching sections or switching to a
4383 lower text address, call out_end_sequence() first to terminate the
4384 previous code sequence as code sequences MUST have monotonically
4385 increasing addresses.
4386 (dwarf2_finish): Call out_end_sequence() instead of open coding it.
4387
43881999-06-03 David Mosberger <davidm@hpl.hp.com>
4389
4390 * as.c (parse_args): Add option -gdwarf2 to allow requesting
4391 DWARF2 debug info (line information only, at this point).
4392 * as.h: Update comment about supported debug formats.
4393 * dwarf2dbg.c, dwarf2dbg.h: New files.
4394 * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
4395
4396 * expr.c (operand): Don't use [ for parens if we want an index op.
4397 (op_encoding): Switch [ into O_index, if desired.
4398 (op_rank): Renumber with O_index on bottom.
4399 (expr): If O_index, match closing bracket.
4400 * expr.h (O_index): New.
4401
4402 * read.c (read_a_source_file): Conditionally allow matched "
4403 in lines passed to md_assemble.
4404
4405 * config/obj-elf.c (elf_pseudo_table): Add `common'.
4406
49309057
ILT
44071999-06-03 Ian Lance Taylor <ian@zembu.com>
4408
4409 Add support for storing local symbols in a small structure to save
4410 memory when assembling large files.
4411 * as.h: Don't include struc-symbol.h.
4412 (symbolS): Add typedef.
4413 * symbols.c: Include struc-symbol.h.
4414 (local_hash): New static variable.
4415 (save_symbol_name): New static function, from symbol_create.
4416 (symbol_create): Call save_symbol_name.
4417 (local_symbol_count): New static variable.
4418 (local_symbol_conversion_count): Likewise.
4419 (LOCAL_SYMBOL_CHECK): Define.
4420 (local_symbol_make): New static function.
4421 (local_symbol_convert): New static function.
4422 (colon): Handle local symbols. Create local symbol for local
4423 label name.
4424 (symbol_table_insert): Handle local symbols.
4425 (symbol_find_or_make): Create local symbol for local label name.
4426 (symbol_find_base): Check for local symbol.
4427 (symbol_append, symbol_insert): Check for local symbols.
4428 (symbol_clear_list_pointers, symbol_remove): Likewise.
4429 (verify_symbol_chain): Likewise.
4430 (copy_symbol_attributes): Likewise.
4431 (resolve_symbol_value): Handle local symbols.
4432 (resolve_local_symbol): New static function.
4433 (resolve_local_symbol_values): New function.
4434 (S_GET_VALUE, S_SET_VALUE): Handle local symbols.
4435 (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
4436 (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
4437 (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
4438 (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
4439 (symbol_previous, symbol_next): New functions.
4440 (symbol_get_value_expression): Likewise.
4441 (symbol_set_value_expression): Likewise.
4442 (symbol_set_frag, symbol_get_frag): Likewise.
4443 (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
4444 (symbol_mark_used_in_reloc): Likewise.
4445 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
4446 (symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
4447 (symbol_mri_common_p): Likewise.
4448 (symbol_mark_written, symbol_clear_written): Likewise.
4449 (symbol_written_p): Likewise.
4450 (symbol_mark_resolved, symbol_resolved_p): Likewise.
4451 (symbol_section_p, symbol_equated_p): Likewise.
4452 (symbol_constant_p): Likewise.
4453 (symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
4454 (symbol_get_obj, symbol_set_obj): Likewise.
4455 (symbol_get_tc, symbol_set_tc): Likewise.
4456 (symbol_begin): Initialize local_hash.
4457 (print_symbol_value_1): Handle local symbols.
4458 (symbol_print_statistics): Print local symbol statistics.
4459 * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
4460 Declare new symbols.c functions. Move many declarations here from
4461 struc-symbol.h.
4462 (SYMBOLS_NEED_BACKPOINTERS): Define if needed.
4463 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
4464 (struct symbol): Move bsym to make it clearly the first field.
4465 Remove TARGET_SYMBOL_FIELDS.
4466 (symbolS): Don't typedef.
4467 (struct broken_word): Remove.
4468 (N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
4469 (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
4470 (symbol_clear_list_pointers): Likewise.
4471 (symbol_insert, symbol_remove): Likewise.
4472 (symbol_previous, symbol_append): Likewise.
4473 (verify_symbol_chain, verify_symbol_chain_2): Likewise.
4474 (struct local_symbol): Define.
4475 (local_symbol_converted_p, local_symbol_mark_converted): Define.
4476 (local_symbol_resolved_p, local_symbol_mark_resolved): Define.
4477 (local_symbol_get_frag, local_symbol_set_frag): Define.
4478 (local_symbol_get_real_symbol): Define.
4479 (local_symbol_set_real_symbol): Define.
4480 Define.
4481 * write.c (write_object_file): Call resolve_local_symbol_values.
4482 * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
4483 (TARGET_SYMBOL_FIELDS): Don't define.
4484 * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If
4485 ECOFF_DEBUGGING, add ECOFF fields.
4486 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
4487 * config/obj-multi.h (struct elf_obj_sy): Add local field. If
4488 ECOFF_DEBUGGING, add ECOFF fields.
4489 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
4490 (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
4491 * config/tc-mcore.h: Don't include struc-symbol.h.
4492 (TARGET_SYMBOL_FIELDS): Don't define.
4493 (struct mcore_tc_sy): Define.
4494 (TC_SYMFIELD_TYPE): Define.
4495 * Many files: Use symbolS instead of struct symbol. Use new
4496 accessor functions rather than referring to symbolS fields
4497 directly.
4498
4499 * read.c (s_mri_common): Don't add in value of line_label.
4500
4501 * config/tc-mips.c (md_apply_fix): Correct parenthesization when
4502 checking for SEC_LINK_ONCE.
4503
4504 * config/tc-sh.h (sh_fix_adjustable): Declare.
4505
4506 * app.c (input_buffer): New static variable.
4507 (app_push): Save saved_input in allocated buffer.
4508 (app_pop): Restored saved_input.
4509 (do_scrub_chars): Change get parameter to take char * and int as
4510 arguments. Change GET macro to pass input_buffer to get
4511 function. Don't save input into allocated buffer.
4512 * as.h (do_scrub_chars): Update declaration.
4513 * input-file.c (input_file_get): Change to take char * and int.
4514 Read data into passed in buffer. Remove static buffer.
4515 * read.c (scrub_from_string): Change to take char * and int. Copy
4516 data into passed in buffer.
4517
4518 * hash.h: Neaten. Declare hash_traverse.
4519 * hash.c: Complete rewrite based on BFD hashing code.
4520 * gasp.c (chunksize): New variable.
4521 * macro.c (macro_expand_body): Call hash_jam with NULL rather than
4522 hash_delete.
4523
661e4995
NC
45241999-05-28 Nick Clifton <nickc@cygnus.com>
4525
4526 * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
4527 addend unless the target uses an old ABI.
4528
d9a62219
DE
4529Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com>
4530
4531 -Wchar-subscripts cleanup
4532 * listing.c (listing_newline): Use unsigned char variable, so
3e87a760 4533 calls to isascii,iscntrl are correct.
d9a62219
DE
4534 * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
4535 (unsigned char).
4536 * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
4537 * config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
4538 * config/tc-mips.c (mips_ip,mips16_ip): Ditto.
4539 (my_getSmallExpression,get_number,s_mips_ent): Ditto.
4540
6da466c7
ILT
45411999-05-28 Torbjorn Granlund <tege@matematik.su.se>
4542
4543 * config/tc-m68k.c (m68k_ip): Check for disallowed index register
4544 width for Coldfire.
4545 (arch_coldfire_p): New #define.
4546 (m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
4547
45481999-05-28 Linus Nordberg <linus.nordberg@canit.se>
4549
4550 * config/tc-m68k.c (install_operand): Add places `n', `o'.
4551
4552 * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
4553 (install_operand): Add place `N'.
4554 (init_table): Add registers ACC, MACSR, MASK.
4555
4556 * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
4557
4558 * config/tc-m68k.c: Change mcf5200 --> mcf.
4559 (archs): Add mcf5206e, mcf5307.
4560 (m68k_ip): Add format `u'.
4561 (install_operand): Add place `m', `M', `h'.
4562 (init_table): Add upper/lower registers.
4563
4564 * config/m68k-parse.h (m68k_register): Add upper/lower registers.
4565
bedf545c
ILT
45661999-05-28 Martin Dorey <mdorey@madge.com>
4567
4568 * config/tc-i960.c: Several minor changes to add ELF and
4569 BFD_ASSEMBLER support.
4570 * config/tc-i960.h: Likewise.
4571 * configure.in (i960-*-elf*): New target.
4572 * aclocal.m4, configure: Rebuild.
4573
40c62b25
AM
45741999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au>
4575
4576 * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
4577 reloc changes when defined(BFD_ASSEMBLER).
4578
daa01f85
AM
45791999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au>
4580
4581 * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
4582
4583 * write.c (write_print_statistics): Output to file, not stderr.
4584
4585 * expr.c (generic_bignum_to_int32,64): Prototype.
4586
4587 * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
4588 output_sleb128, output_uleb128, output_big_sleb128,
4589 output_big_uleb128, output_big_leb128): Prototype.
4590 (output_big_sleb128, output_big_uleb128): Make inline.
4591 (output_big_leb128): Remove inline
4592
4593 From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4594 * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
4595 fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8.
4596 Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed
4597 value for correct overflow check in write.c:fixup_segment.
4598 * write.c (fixup_segment): Move bitfield overflow checks to after
4599 the md_apply_fix call.
4600 * config/obj-coff.c (fixup_segment): Likewise.
4601 * doc/internals.texi (CPU backend): Mention md_apply_fix modifying
4602 valueT *val argument.
4603
19b34177
AS
4604Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4605
4606 * config/atof-ieee.c (gen_to_words): Correctly round a
4607 denormalized number. Fix off-by-one in range checking for
3e87a760 4608 exponent in a denormal.
19b34177 4609
b8a40f53
NC
46101999-05-10 Nick Clifton <nickc@cygnus.com>
4611
4612 * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
3e87a760 4613 name.
b8a40f53 4614
53f3de98
RH
4615Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com)
4616
4617 * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
4618
578ec497
AM
46191999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au>
4620
4621 * config/tc-i386.h (InvMem): New flag. Add to AnyMem.
4622 (ReverseRegRegmem): Remove.
4623 (ImmExt): New flag. Renumber some of the opcode_modifier bits.
4624 * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
4625 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem
4626 kludge.
4627
4628 From Doug Ledford <dledford@redhat.com>
4629 * config/tc-i386.h (RegXMM): New for P/III.
4630 * config/tc-i386.c: Add support for P/III.
4631
d0e9a01c
RH
4632Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com>
4633
4634 * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
4635 (md_begin): Allow ppc32 insns in ppc64bridge mode.
4636 (ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
4637
83183c0c
RH
4638Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com>
4639
4640 * config/tc-i386.c (i386_immediate): Skip whitespace before
4641 complaining about junk after expression.
4642 (i386_displacement): Likewise.
4643
03987ced
RH
4644Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com>
4645
4646 * symbols.c (symbol_find_base): Use memcpy instead of strcpy.
4647 Don't copy before downcaseing.
4648
0d96863f 46491999-05-05 Catherine Moore <clm@cygnus.com>
3e87a760 4650
66778679
RH
4651 * tc-m68k.c: Include elf/m68k.h.
4652 (m68k_elf_final_processing): New routine.
4653 * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
4654 Define.
3e87a760 4655
90700a53
JL
4656Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com)
4657
4658 * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
4659 17 bit fmt insn.
4660
252b5132
RH
46611999-04-30 Nick Clifton <nickc@cygnus.com>
4662
4663 * config/tc-mcore.c (mcore_s_section): Dump literals before
4664 changing section.
4665
46661999-04-29 Nick Clifton <nickc@cygnus.com>
4667
4668 * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
4669 for COFF/PE port.
4670
4671Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com>
4672
4673 * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
4674 (TC_INIT_FIX_DATA): Delete.
4675 * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
4676 (TC_INIT_FIX_DATA): Delete.
4677 * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
4678 * write.c (fix_new_internal): Initialize fx_cgen member.
4679 * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
4680 (gas_cgen_md_apply_fix3): Update.
4681 * config/tc-m32r.c (md_cgen_lookup_reloc): Update.
4682 (md_cgen_record_fixup_exp): Update.
4683 (FX_OPINFO_R_TYPE): Update.
4684
4685 * frags.c (frag_var,frag_variant): Initialize fr_cgen here.
4686 * config/tc-fr30.h (TC_FRAG_INIT): Delete.
4687 * config/tc-m32r.h (TC_FRAG_INIT): Delete.
4688 * frags.h (struct frag): Make opindex, opinfo ints.
4689
4690 * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
4691
46921999-04-26 Tom Tromey <tromey@cygnus.com>
4693
4694 * aclocal.m4, configure: Updated for new version of libtool.
4695
46961999-04-22 Nick Clifton <nickc@cygnus.com>
4697
4698 * config/tc-mcore.c (md_apply_fix3): Renamed function from
3e87a760 4699 md_apply_fix.
252b5132
RH
4700 (md_apply_fix3): Do not fix up absolute relocations against
4701 symbolic values.
4702
4703 * config/tc-mcore.h (MD_APPLY_FIX3): Define.
4704
47051999-04-20 Nick Clifton <nickc@cygnus.com>
4706
4707 * config/tc-mcore.c (md_pseudo_table): Add intercepts for section
4708 changes and data-in-text directives.
4709 (mcore_cons): New function: intercept cons() operations.
4710 (mcore_float_cons): New function: intercept float_cons()
3e87a760 4711 operations.
252b5132
RH
4712 (mcore_stringer): New function: intercept stringer() operations.
4713
47141999-04-18 Ian Lance Taylor <ian@zembu.com>
4715
4716 * obj.h (struct format_ops): Change generate_asm_lineno field to
4717 take no parameters.
4718 * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
4719
4720 * config/tc-alpha.c (find_opcode_match): Add default case to
4721 switch.
4722 (find_macro_match): Likewise.
4723 (load_expression): Parenthesize && within ||.
4724
4725 * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
4726
47271999-04-17 Nick Clifton <nickc@cygnus.com>
4728
4729 * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
4730 .text .data .section pseudo ops.
3e87a760
AM
4731 (mcore_s_section): New function. Dump lits before changing secs.
4732 (mcore_s_text): New function. Dump lits before changing secs.
4733 (mcore_s_data): New function. Dump lits before changing secs.
252b5132
RH
4734
47351999-04-16 Gavin Romig-Koch <gavin@cygnus.com>
4736
4737 * config/tc-mips.c (mips_32bitmode): New.
4738 (md_begin): Set mips_32bitmode if needed.
4739 (mips_elf_final_processing): Don't set EF_MIPS_ARCH.
4740 Set EF_MIPS_32BITMODE.
4741
4742Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com>
4743
4744 * config/obj-coff.c (c_section_symbol): Fix typo in previous
4745 change.
4746
47471999-04-16 Nick Clifton <nickc@cygnus.com>
4748
4749 * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
4750
4751Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com)
4752
3e87a760 4753 * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
252b5132
RH
4754 expressions correctly.
4755
4756
47571999-04-15 Gavin Romig-Koch <gavin@cygnus.com>
4758
4759 * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
4760
4761Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com)
4762
4763 * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
4764 and fmpynfadd instructions.
4765
47661999-04-11 Richard Henderson <rth@cygnus.com>
4767
4768 * as.h (environ): Declare it, if needed.
4769 * as.c (dump_statistics): Don't declare environ.
4770 * configure.in (environ): Detect declaration.
4771 * configure, config.in: Rebuild
4772
4773 * config/tc-i386.c (i386_immediate): Accept @GOT relocations.
4774 (i386_displacement): Allocate enough space for replacement buffer.
4775 Clean up replacement buffer initialization.
4776
47771999-04-11 Bob Manson <manson@charmed.cygnus.com>:
4778
4779 * subsegs.c (section_symbol): Don't create a new symbol if one
4780 already exists; instead, use the existing one, but set its segment
4781 and frag data if it hasn't already been defined.
4782 * config/obj-coff.c (c_section_symbol): Likewise.
4783
4784Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com>
4785
4786 * tc-alpha.c (load_expression): Call as_bad instead of abort.
4787
47881999-04-08 Nick Clifton <nickc@cygnus.com>
4789
4790 * config/tc-mcore.c: New File: Support routines for MCore
4791 assembler.
3e87a760 4792 * config/tc-mcore.h: New File: Definitions for MCore assembler.
252b5132
RH
4793 * config/obj-coff.c: Add support for mcore-pe target.
4794
4795 * Makefile.am: Add support for MCore targets.
4796 * Makefile.in: Regenerate.
4797 * configure.in: Add support for MCore targets.
4798 * configure: Regenerate.
4799
4800 * doc/all.texi: Set MCORE.
4801 * doc/as.texinfo: Document MCore specific command line options.
3e87a760 4802
252b5132
RH
4803 * write.h: Prevent multiple inclusion.
4804
48051999-04-06 Ian Lance Taylor <ian@zembu.com>
4806
4807 * asintl.h (LC_MESSAGES): Never define.
4808 * as.c (main): Don't pass LC_MESSAGES to setlocale if the system
4809 does not define it.
4810 * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
4811 does not define it.
4812
4813 * Makefile.am (m68k-parse.c): If configuring in the source
4814 directory, copy m68k-parse.y into the local directory before
4815 running ylwrap, to remove spurious differences when generating
4816 snapshots.
4817 * Makefile.in: Rebuild.
4818
4819 * config/tc-sparc.h (md_do_align): Just allocate the number of
4820 bytes necessary, rather than always allocating 1024.
4821
48221999-04-04 Ian Lance Taylor <ian@zembu.com>
4823
4824 * listing.c (listing_newline): Add cast to avoid warning.
4825 * read.c (generate_lineno_debug): Add cases to switch. Reindent.
4826 * config/tc-i386.c (i386_scale): Add return value.
4827 (build_displacement_string): Remove unused local temp_disp2.
4828 (i386_intel_memory_operand): Add parentheses to avoid warning.
4829 (i386_intel_operand): Remove unused local end_of_operand_string.
4830 (i386_operand): Remove unused local operand_modifier.
4831 (i386_operand): Add parens to avoid warning.
4832
48331999-04-04 Don Bowman <don@pixsci.com>
4834
4835 * configure.in: Add mips*-*-vxworks* target; have it define
4836 MIPS_STABS_ELF.
4837 * configure, config.in: Rebuild.
4838
48391999-03-31 Nick Clifton <nickc@cygnus.com>
4840
4841 * configure.in (emulations): Add support for arm-epoc-pe.
4842 * configure: Regenerate.
4843 * config/te-epoc-pe.h: New file. Define macros specific to
4844 arm-epoc-pe target.
4845 * config/tc-arm.h: Select epoc-pe-arm target format if configured
4846 for arm-epoc-pe target.
4847
4848Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com>
4849
4850 * tc-mips.c (md_apply_fix): Adjust value for linkonce sections.
4851
4852Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com)
4853
4854 * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
4855 detect ",n" without a condition.
4856 (pa_parse_neg_cmpsub_cmpltr): Likewise.
4857
4858
4859Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com)
4860
4861 * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
4862 instruction is encoded with one bit.
4863
4864
48651999-03-23 Ian Lance Taylor <ian@zembu.com>
4866
4867 * doc/internals.texi (CPU backend): Mention that
4868 line_separator_chars should not include newline. From thi
4869 <ttn@mingle.glug.org>.
4870
48711999-03-22 Doug Evans <devans@casey.cygnus.com>
4872
4873 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
4874 * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
4875
4876Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com>
4877
4878 * tc-alpha.c (md_assemble): Allow '6' in an opcode.
4879
4880Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com)
4881
4882 * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
4883
4884
4885Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com)
4886
4887 * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
3e87a760 4888
252b5132
RH
48891999-03-15 Martin Hunt <hunt@cygnus.com>
4890
4891 * app.c (do_scrub_begin): Change '-' back to a symbol char
4892 so we can use multiple opcodes on a line again.
4893
4894 * config/tc-d30v.c: By default, warn if a symbol has
4895 the same name as a register. Plus some minor
4896 updates from the branch.
4897
48981999-03-13 Nick Clifton <nickc@cygnus.com>
4899
4900 * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
4901 BFD_RELOC_16 and BFD_RELOC_64.
4902
49031999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4904
4905 * expr.c (expr): Add missing else.
4906
49071999-03-12 Nick Clifton <nickc@cygnus.com>
4908
4909 * config/tc-arm.c (md_apply_fix3): Improve error message.
4910
49111999-03-11 Doug Evans <devans@casey.cygnus.com>
4912
4913 * Makefile.am (CPU_TYPES): Add fr30.
4914 (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
4915 (fr30,m32r dependencies): Update.
4916 * Makefile.in: Rebuild.
4917
4918 * cgen.c (gas_cgen_record_fixup): Update use of operand->type.
4919 (gas_cgen_record_fixup_exp): Ditto.
4920 (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
4921 (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand.
4922 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
4923 (md_cgen_lookup_reloc): Update use of operand->type.
4924 * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
4925 (md_convert_frag): Call cgen_operand_lookup_by_num.
4926 (md_cgen_lookup_reloc): Update use of operand->type.
4927 (m32r_cgen_record_fixup_exp): Ditto.
4928
49291999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
4930
4931 * config/tc-mips.c (md_show_usage): Fix message.
4932
49331999-03-03 Nick Clifton <nickc@cygnus.com>
4934
4935 * doc/c-arm.texi (ARM Syntax): Document new command line switches
4936 and LDR reg,=<expr> instruction.
4937
4938 * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
4939 -mcpu=arm9tdmi.
4940
4941Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com>
4942
4943 * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
4944
49451999-02-17 Nick Clifton <nickc@cygnus.com>
4946
4947 This patch was created by: Scott Bambrough
4948 <scottb@corelcomputer.com>
3e87a760
AM
4949
4950 * app.c:
252b5132 4951 Special cased '@' character. The '@' character is used as the
3e87a760 4952 ARM assembler comment character, as a special character
252b5132
RH
4953 and in ELF .symver pseudo-op's, and as a special character in
4954 .type and .section pseudo-ops.
4955 (symver_pseudo): New static variable.
4956 (symver_state): New static variable.
4957 (struct app_save): Add field 'symver_state'.
4958 (app_push): Save global symver_state int struct app_save.
4959 (app_pop): Restore global symver_state from struct app_save.
3e87a760
AM
4960 (do_scrub_chars): Special case handling of '@' character in
4961 .symver pseudo-ops.
252b5132
RH
4962
4963 * configure.in: Modified to recognize armv* uname syntax from ARM
4964 Linux kernel.
4965 * configure: Regenerated.
3e87a760 4966
252b5132
RH
4967 * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
4968 a prefix to the section's type.
4969 (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
4970 the type's typename.
4971
4972 * config/tc-arm.h: Add support for PIC generation:
4973 (pic_code): New boolean.
4974 (obj_relocate_extern): Define.
4975 (TC_RELOC_RTSYM_LOC_FIXUP): Define
4976 (TC_CONS_FIX_NEW): Define.
4977 (tc_fix_adjustable): Define.
4978 (GLOBAL_OFFSET_TABLE_NAME): Define.
3e87a760 4979
252b5132
RH
4980 * config/tc-arm.c: Add support for PIC generation:
4981 (line_seperator_chars): Allow ';' as a seperator for Linux.
4982 (is_immediate_prefix): New macro.
4983 (arm_parse_reloc): New function.
4984 (s_arm_elf_cons): New function.
4985 (do_branch): Special case for BFD_RELOC_ARM_PLT32.
4986 (md_undefined_symbol): Special case handling for the Global Offset
4987 Table's symbol.
4988 (md_apply_fix3): Handle PIC relocs.
4989 (tc_gen_reloc): Handle PIC relocs.
4990 (md_parse_option): Add support for '-k' command line switch to
4991 enable PIC generation.
4992 (cons_fix_new_arm): New function.
4993 (s_arm_elf_cons): New function.
4994
4995Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com>
4996
4997 * configure.in: Add comments for uses of AC_DEFINE.
4998 * acinclude.m4: Likewise.
4999 * acconfig.h: Remove.
5000 * aclocal.m4: Rebuild.
5001 * configure: Rebuild.
5002 * Makefile.in: Rebuild.
5003 * config.in: Rebuild.
5004
50051999-02-15 Jim Lemke <jlemke@cygnus.com>
5006
5007 * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
5008 non-constant offset from a base register.
5009
50101999-02-14 Ken Raeburn <raeburn@raeburn.org>
5011
5012 * config/tc-alpha.c (md_show_usage): Put \ before newline in
5013 strings always.
5014
5015Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com>
5016
5017 * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
5018 (emit_insn): Look for pc-relative and no-overflow specifiers on
5019 internal relocation types.
5020
50211999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5022
5023 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
5024 -mcpu=NNNN flags.
5025
5026 * config/tc-mips.c: Remove all the mips_NNNN variables; just use
5027 mips_cpu instead.
5028 (mips_4650, mips_4010, mips_4100): Variables removed.
5029 (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
5030 macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
5031 variables.
5032 (md_begin): Don't bother initializing the mips_NNNN variables;
5033 mips_cpu is set, and that's good enough now.
5034 (md_parse_option): Have the -mNNNN options set mips_cpu instead of
5035 the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
5036 (show): New function, to handle wrapping in the CPU lists.
5037 (md_show_usage): Update lists of -mcpu and -mNNNN switches.
5038
5039Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com>
5040
5041 * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
5042 than treat as an immediate specifier.
5043
5044Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com>
5045
5046 * config/tc-i386.c: Prototype many functions.
5047 (set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
5048 (i386_immediate): Remove unused second argument.
5049 (i386_intel_operand): Fix i386_is_reg typo.
5050 (i386_operand): Use allow_naked_reg.
5051 (output_invalid): Make operand int for K&R.
5052
5053Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com>
5054
5055 * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
5056 patch.
5057 * Makefile.in: Rebuild.
5058
50591999-02-09 Doug Evans <devans@casey.cygnus.com>
5060
5061 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
5062 (cgen.o): Ditto.
5063 (EXTRA_as_new_SOURCES): Comment out.
5064 (.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
5065 * Makefile.in: Rebuild.
5066 * doc/Makefile.in: Rebuild.
5067 * configure.in: Require autoconf 2.13. Redo using_cgen handling.
5068 Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
5069 (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
5070 * configure: Rebuild.
5071 * aclocal.m4: Rebuild.
5072 * config.in: Rebuild.
5073 * cgen.c: Include cgen-desc.h, not cgen-opc.h.
5074 (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
5075 (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
5076 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
5077 CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
5078 (gas_cgen_record_fixup): Remove unnecessary != 0 test.
5079 (gas_cgen_record_fixup_exp): Ditto.
5080 (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
5081 descriptor, not global variable.
5082 (gas_cgen_md_apply_fix3): Refer to operand_table via cpu
5083 descriptor, not global variable. Refer to insert_operand handler
5084 via cpu descriptor, not global function.
5085 * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
5086 * config/tc-fr30.c: Include opcodes/fr30-desc.h.
5087 (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
5088 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
5089 Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
5090 * config/tc-m32r.c: Ditto.
5091 (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
5092 (md_assemble): Ditto.
5093 (md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
5094
50951999-02-09 Nick Clifton <nickc@cygnus.com>
5096
5097 * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
5098 relocations for ELF targets.
5099
51001999-02-08 Nick Clifton <nickc@cygnus.com>
5101
5102 * configure.in: Add support for StrongARM target.
5103 * configure: Regenerate.
5104
51051999-02-05 Nick Clifton <nickc@cygnus.com>
5106
5107 * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
5108
5109 * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
5110 for COFF ports.
5111
5112Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com>
5113
5114 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
5115
5116Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com>
5117
66778679
RH
5118 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
5119 (INTEL_DWORD_MNEM_SUFFIX): Define.
5120 (BYTE_PTR): Define.
5121 (WORD_PTR): Define.
5122 (DWORD_PTR): Define.
5123 (XWORD_PTR): Define.
5124 (SHORT): Define.
5125 (OFFSET_FLAT): Define.
5126 (FLAT): Define.
5127 (NONE_FOUND): Define.
5128 (No_dSuf): Define.
5129 (No_xSuf): Define.
5130 * config/tc-i386.c (set_intel_syntax): New routine.
5131 (intel_syntax): Declare.
5132 (allow_naked_reg): Declare.
5133 (md_pseudo_table): Support .intel_syntax and .att_syntax.
5134 (intel_float_operand): New routine.
5135 (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
5136 Handle brackets as well as parens. Call i386_intel_operand for
5137 intel syntax. Reverse operands if appropriate. Handle new
5138 suffixes. Handle movzx and movsx.
5139 (i386_is_reg): New routine.
5140 (i386_immediate): New routine.
5141 (i386_scale): New routine.
5142 (i386_displacement): New routine.
5143 (i386_operand_modifier): New routine.
5144 (build_displacement_string): New routine.
5145 (i386_parse_seg): New routine.
5146 (i386_intel_memory_operand): New routine.
5147 (i386_intel_operand): New routine.
5148 (i386_operand): Call i386_displacement, i386_immediate,
5149 i386_scale, etc. instead of handling inline.
5150 (parse_register): Handle registers without prefix.
252b5132
RH
5151
5152Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com>
5153
66778679
RH
5154 * configure: Regenerate.
5155 * configure.in (arm-*-oabi): New.
5156 (thumb-*-oabi): New.
5157 * config/tc-arm.c (target_oabi): Declare.
5158 (md_apply_fix3): Support REL relocs.
5159 (md_parse_option): Handle -oabi.
5160 (elf32_arm_target_format): New routine.
5161 (md_longopts): Add OPTION_OABI.
5162 * config/tc-arm.h: Redefine TARGET_FORMAT.
252b5132
RH
5163
5164
51651999-01-28 Nick Clifton <nickc@cygnus.com>
5166
5167 * write.c (write_relocs): Handle out of range error.
5168
5169 * config/tc-fr30.c (fr30_fix_adjustable): New function.
5170 (fr30_force_relocation): Default to 0.
5171
5172 * config/tc-fr30.h (obj_fix_adjustable): Define.
5173 (TC_FORCE_RELOCATION): Define.
5174
5175 * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
3e87a760 5176 relocs.
252b5132
RH
5177
51781999-01-16 Nick Clifton <nickc@cygnus.com>
5179
5180 * config/tc-d30v.c (write_2_short): Do not generate a sequential
5181 merge of two instructions if the left instruciton kills the right.
5182
51831999-01-11 Doug Evans <devans@casey.cygnus.com>
5184
5185 * Makefile.in: Regenerate.
5186 * configure.in: Redo test for using cgen.
5187 * configure: Regenerate.
5188
51891999-01-09 Nick Clifton <nickc@cygnus.com>
5190
5191 * config/obj-coff.h (obj_adjust_symtab): Prevent accidental
5192 redefinition of this macro.
5193
5194Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com>
5195
5196 * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
5197 warning.
5198
51991998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
5200
5201 * config/tc-mips.c (append_insn): For mips16, insert a nop between
5202 a read of HI or LO and an immediatly following branch.
5203
52041998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
5205
5206 * config/tc-mips.c (md_begin): Another correction to the setting of
5207 mips_eabi64.
5208
52091998-12-23 Gavin Romig-Koch <gavin@cygnus.com>
5210
3e87a760
AM
5211 * config/tc-mips.c (md_begin): Correct type-o in setting of
5212 mips_eabi64.
252b5132
RH
5213
52141998-12-21 Nick Clifton <nickc@cygnus.com>
5215
5216 * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
5217 bit insn when optimizing, so that parallelised instructions will
5218 start on a 32 bit boundary.
5219
52201998-12-19 Gavin Romig-Koch <gavin@cygnus.com>
5221
5222 * config/tc-mips.c (mips_eabi64): New.
5223 (md_begin): Set mips_eabi64.
5224 (mips_elf_final_processing): Use it.
5225
52261998-12-18 Gavin Romig-Koch <gavin@cygnus.com>
5227
3e87a760 5228 * config/tc-mips.c (mips_elf_final_processing):
252b5132
RH
5229 Correct setting of ABI in e_flags.
5230
5231Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com>
5232
3e87a760
AM
5233 * config/tc-fr30.c (md_assemble): Warn about invalid instructions
5234 in delay slots.
252b5132
RH
5235
52361998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
5237
5238 * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
3e87a760 5239
252b5132
RH
52401998-12-15 Doug Evans <devans@casey.cygnus.com>
5241
5242 * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
5243 warning, values that don't fit in the field.
5244
52451998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
5246
5247 * config/tc-mips.c (mips_abi_string): New.
5248 (md_parse_option,md_longopts): Add mabi.
5249 (mips_elf_final_processing): Set e_flags based on mabi flag.
5250
52511998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
5252
3e87a760 5253 * config/tc-mips.c (md_parse_option): Handle vr4111.
252b5132
RH
5254
525598-12-11 Ken Raeburn <raeburn@cygnus.com>
5256
5257 * config/tc-h8300.c (build_bytes): Change message given if the
5258 instruction requires H8/300H mode and we're not in Hmode, to
5259 suggest that it may be the operand modes that are the problem, not
5260 necessarily the opcode.
5261
52621998-12-10 Nick Clifton <nickc@cygnus.com>
5263
5264 * config/tc-fr30.c: Add line separator character.
5265
5266Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
5267
5268 * configure.in (hppa-*-mpeix*): New target.
5269 * config/obj-som.h (obj_som_compiler): Declare.
5270 * config/obj-som.c (compiler_seen): New static variable.
5271 (obj_som_compiler): New function.
5272 * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
3e87a760 5273 (md_pseudo_table): Add "compiler" if OBJ_SOM.
252b5132
RH
5274 (pa_type_args): Set hppa_priv_level.
5275 (pa_compiler): New static function if OBJ_SOM.
5276 * configure: Rebuild.
5277
5278Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com>
5279
5280 * read.c (output_leb128): Don't mark as inline.
5281
52821998-12-08 Andrew MacLeod <amacleod@cygnus.com>
5283
3e87a760 5284 * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
252b5132
RH
5285 AIX .vbyte unaligned data support.
5286 (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
3e87a760 5287 (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
252b5132
RH
5288 sections.
5289
52901998-12-07 Nick Clifton <nickc@cygnus.com>
5291
5292 * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
3e87a760 5293 input handling.
252b5132
RH
5294
5295Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com>
5296
66778679
RH
5297 * config/tc-arm.c (elf32_arm_force_relocation): Check for
5298 BFD_RELOC_ARM_PCREL_BRANCH.
252b5132
RH
5299
5300Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com>
5301
5302 * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
5303 checking the target type.
5304 (mips-dec-bsd*): Set endian to little.
5305 * configure: Rebuild.
5306
5307 COFF weak symbol support, based on patches from Mark Elbrecht
5308 <snowball3@usa.net>:
5309 * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
5310 * config/obj-coff.c (obj_coff_weak): New static function.
5311 (obj_coff_endef) [both versions]: Handle weak symbols.
5312 (coff_frob_symbol): Likewise.
5313 (yank_symbols): Likewise.
5314 (obj_pseudo_table): Add "weak".
5315
5316 * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
5317 <aymeric.vincent@emi.u-bordeaux.fr>.
5318 * aclocal.m4: Rebuild with current tools.
5319 * configure: Rebuild.
5320
5321 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
5322 an assertion failure for a case we can't handle when OBJ_ECOFF.
5323
5324 * expr.c (operator): And with 0xff to avoid problems with signed
5325 char.
5326
53271998-12-03 Nick Clifton <nickc@cygnus.com>
5328
5329 * config/tc-fr30.c (md_cgen_lookup_reloc): Generate
5330 BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
5331
53321998-12-02 Nick Clifton <nickc@cygnus.com>
5333
5334 * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
5335 LDI:20 insn.
5336
5337Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
5338
3e87a760
AM
5339 * config/tc-fr30.c (md_pcrel_from_section): Restore previous
5340 calculation of pcrel point.
252b5132
RH
5341
5342Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com>
5343
5344 * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
5345 pcrel point.
5346
5347Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com>
5348
5349 * config/tc-d10v.c (md_assemble): Make static 'etype' have file
5350 scope.
5351 (d10v_cleanup): Only generate previous insn if a multiline insn is
5352 not pending.
5353
5354Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com>
5355
5356 * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
3e87a760 5357 FR30_OPERAND_I32.
252b5132
RH
5358
5359Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com>
5360
5361 * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
5362 -marm6xxx command line switches.
5363
53641998-11-18 Doug Evans <devans@casey.cygnus.com>
5365
5366 * Makefile.am (DEP): Use $(srcdir)/../mkdep.
5367 (itbl-ops.o): Delete duplicate dependencies.
5368 Rebuild dependencies.
5369 Add fr30 dependencies.
5370 * Makefile.in: Rebuild.
5371
5372Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com>
5373
5374 * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
5375 opcode list.
5376 * listing.c: Ignore line terminator characters found inside
3e87a760 5377 strings.
252b5132
RH
5378
5379Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com>
5380
5381 * po/gas.pot: Regenerated.
5382
5383Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com>
5384
5385 * config/tc-fr30.c (fr30_is_colon_insn): New name for
5386 fr30_is_label_start(). Also checks for delay slot insns.
5387
5388 * config/tc-fr30.c (fr30_is_label_start): New function: Handle
5389 FR30 instructions which contain a colon in the mnemonic.
5390
5391 * config/tc-fr30.h (TC_START_LABEL): Define this macro.
5392
5393Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com>
5394
5395 * config/tc-fr30.c: Removed currently superflous code.
5396
5397Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com>
5398
5399 * config/tc-fr30.h: New file.
5400 * config/tc-fr30.c: Tweaking so that it will compile.
5401
5402Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com>
5403
66778679
RH
5404 * config/tc-d10v.h (obj_fix_adjustable): Define.
5405 (TC_FORCE_RELOCATION): Define.
5406 (d10v_force_relocation): Declare.
5407 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
5408 (md_apply_fix3): Handle Vtable relocs.
5409 (d10v_fix_adjustable): New.
5410 (d10v_force_relocation): New.
252b5132
RH
5411
5412Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com>
5413
5414 * config/tc-d30v.c: Change default behaviour to ignore potential
5415 conflicts between register name and symbol names.
5416
5417Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
5418
5419 * configure.in: Add fr30-*-*.
5420 * config/tc-fr30.c: New file.
5421 * Makefile.in: Regenerated.
5422 * config.in: Regenerated.
5423 * configure: Regenerated.
5424 * doc/Makefile.in: Regenerated.
5425 * po/gas.pot: Regenerated.
5426
5427Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com>
5428
5429 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
5430 are 16 bit insns.
5431
5432Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
5433
5434 * app.c (do_scrub_begin): Set characters above 127 to be symbol
5435 characters.
5436 (do_scrub_chars): Add some casts to unsigned char to avoid
5437 unwanted sign extension.
5438 * read.c (lex_type): Set characters about 127 to be symbol
5439 characters.
5440 * config/tc-i386.c (md_begin): Set identifier_chars and
5441 operand_chars for values above 127.
5442
5443Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
5444
66778679
RH
5445 * configure.in: detect cygwin* instead of cygwin32*
5446 * configure: regenerate
252b5132
RH
5447
5448Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com>
5449
5450 * listing.c: Add support for producing a listing from piped
3e87a760 5451 input.
252b5132
RH
5452
5453Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
5454
5455 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
5456 (append_insn): Account for the tx39's multiply behavior.
5457
54581998-10-26 Michael Meissner <meissner@cygnus.com>
5459
5460 * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
5461 from assemble_parallel_insns. Add support for '->' to indicate
5462 explicitly serializing the instructions.
5463 (md_assemble): Ditto.
5464
5465Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com>
5466
66778679
RH
5467 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
5468 WEAK handling.
252b5132
RH
5469
5470Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com>
5471
66778679 5472 * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
252b5132
RH
5473
5474Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com>
5475
5476 * config/tc-mips.c : support frame and regmask/fregmask when
5477 MIPS_STABS_ELF is specified.
5478
5479Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com>
5480
66778679
RH
5481 * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
5482 (md_apply_fix): Don't return 1 for VTABLE relocs.
5483 * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
252b5132
RH
5484
5485Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
5486
5487 * doc/c-i386.texi: Replace occurences of "opcode" with
5488 "instruction mnemonic", "instruction", or "mnemonic" when
5489 referring to the name of an instruction. Use "opcode" when
5490 referring to the sequence of machine bytes.
5491
5492 * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
5493 (is_opcode_char): Rename to is_mnemonic_char.
5494 (md_assemble and i386_operand): Correct error messages from
66778679 5495 "opcode" to "instruction mnemonic"
252b5132
RH
5496 Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
5497 MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
5498 DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
5499 WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
5500 BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
5501 SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
5502 LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
5503
5504 * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
5505
5506 * config/tc-i386.c (i386_operand): Check for garbage after
5507 register name.
5508
5509Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com>
5510
5511 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
3e87a760 5512 for BFD_ASSEMBLER to only change value when COFF if TE_PE.
252b5132
RH
5513
5514Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com>
5515
66778679
RH
5516 * config/tc-sh.h (obj_fix_adjustable): Define.
5517 * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
5518 (md_apply_fix): Likewise.
5519 (tc_gen_reloc): Likewise.
5520 (sh_fix_adjustable): New.
252b5132
RH
5521
5522Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com>
5523
5524 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
5525 * cgen.h (gas_cgen_finish_insn): Update prototype.
5526 * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
5527 cgen_insn_t -> CGEN_INSN_INT.
5528 (make_parallel): Update handling of CGEN_INT_INSN_P.
5529 (assemble_parallel_insn): Ditto.
5530 (target_make_parallel): New function.
5531 (md_assemble): Use it.
5532
5533Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com>
5534
66778679 5535 * config/tc-m32r.c (m32r_force_relocation): Fix typo.
252b5132
RH
5536
5537Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com)
5538
5539 * config/tc-sh.c (md_assemble): Make sure the entire opcode is
5540 converted into lower case.
5541
5542Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com>
5543
66778679
RH
5544 * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
5545 (gas_cgen_tc_gen_reloc): Likewise.
5546 * config/tc-m32r.h (obj_fix_adjustable): Define.
5547 * config/tc-m32r.c (m32r_fix_adjustable): New.
5548 (m32r_force_relocation): Handle VTABLE relocs.
252b5132
RH
5549
5550Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com>
5551
5552 * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
5553
5554Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com>
5555
5556 * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
5557 to lower case before parsing.
5558
5559 * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
5560 parallel insns modift buts in the PSW as a side effect.
5561
5562Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
5563
5564 * config/tc-d30v.c (find_format): Test for missing flag and
5565 control registers.
3e87a760 5566
252b5132
RH
5567 (md_apply_fix3): Fix error messages to avoid
5568 assumption about presence of a symbol.
5569
5570 (parallel_ok): Disallow parallel instructions that both modify the
5571 same flag register.
5572
5573 (find_format): Generate a warning if an odd numbered register is
5574 used as the first register in a mutli-register instruction.
5575
5576Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
5577
5578 * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
5579 relocations are always associated with a symbol.
5580
5581Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com>
5582
66778679
RH
5583 * tc-sparc.h (TC_FORCE_RELOCATION): Define.
5584 (elf32_sparc_force_relocation): Declare.
5585 * tc-sparc.c (md_apply_fix3): Handle vtable relocs.
5586 (tc_gen_reloc): Handle vtable relocs.
5587 (elf32_sparc_force_relocation): New.
252b5132
RH
5588
5589Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com>
5590
66778679
RH
5591 * symbols.c (S_IS_FUNCTION): New.
5592 * config/tc-v850.h (obj_fix_adjustable): Define.
5593 (TC_FORCE_RELOCATION): Define.
5594 (v850_force_relocation): Declare.
5595 * config/tc-v850.c (tc_gen_reloc): Use offset instead
5596 of fx_addnumber for VTABLE reloc addends.
5597 (md_apply_fix3): Handle VTABLE relocs.
5598 (v850_fix_adjustable): New.
5599 (v850_force_relocation): New.
252b5132
RH
5600
5601Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com)
5602
5603 * tc-hppa.c (fp_operand_format): Add some additional formats.
5604 (pa_ip): Do not automatically promote into pa2.0 mode.
5605 (pa_level): Handle ".level 2.0".
5606
5607Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
5608
5609 * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
5610 * config/tc-i386.h (template.extension_opcode): Change to
66778679 5611 unsigned int to allow full range of 8-bit opcode suffixes.
252b5132
RH
5612 (None): Redefine as 0xffff.
5613
5614 From Jeff B Epler <jepler@usgs.gov>
5615 * doc/c-i386.texi (i386-SIMD): New section.
5616
5617Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com>
5618
5619 * read.c (discard_rest_of_line): New function.
5620 * read.h: Declare it.
5621 * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
5622
5623Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com>
5624
5625 * config/tc-d10v.c (find_symbol_matching_register): New function.
5626 (find_opcode): Cope with the case where a register name matches
5627 a symbol name.
5628
5629Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com>
5630
5631 * config/tc-v850.c (md_pcrel_from): Rename to
5632 v850_pcrel_from_section.
5633 (v850_pcrel_from_section): Do not resolves symbols in other
3e87a760 5634 sections.
252b5132
RH
5635
5636 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
5637
5638Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com>
5639
5640 * config/tc-d10v.c (find_opcode): Generate an error if a register
5641 is supplied for an operand that should not be a register.
5642
5643Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com>
5644
5645 * config/tc-d30v.c (write_2_short): But do allow delayed branch
5646 instructions to have another instruction in the right bin.
5647
5648Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com>
5649
5650 * config/tc-d30v.c (write_2_short): Do not allow instructions in
5651 the right container if the left container holds a branch
3e87a760 5652 instruction.
252b5132
RH
5653
5654Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
5655
5656 * config/tc-d30v.c (reg_name_search): Only warn if a name matches
5657 both a register name and symbol name.
5658 (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
5659
5660Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
5661
5662 * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
5663 execution unit class.
5664
5665 (reg_name_search): If a name matches a register and a symbol,
5666 prefer the register.
5667 (find_format): Disallow flag registers when a general purpose
5668 register is required.
5669 If a number is required, but a register has been given, check to
5670 see if a symbol with the same name as the register exists, and if
5671 so, use that symbol.
5672
5673Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com>
5674
5675 * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
5676
5677Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com>
5678
5679 * config/tc-d30v.c (find_format): Do not accept flag registers as
5680 general purpose registers.
5681 (find_format): If an immediate value is expected at a given place
5682 in a format, but a register name has been provided instead, check
5683 to see if that register name matches the name of a predefined
5684 symbol and if it does, then use the symbol instead.
5685 (reg_name_search): If a register name matches a symbol name,
5686 prefer the register name to the symbol name.
5687
5688Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com>
5689
5690 * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
5691 the previous insn to empty.
5692
56931998-09-20 Michael Meissner <meissner@cygnus.com>
5694
5695 * config/tc-ppc.c (md_apply_fix3): Do not break string into two
5696 pieces, forcing the use of an ANSI compiler.
5697
5698Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5699
5700 * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
5701 relocs.
5702 * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
5703
5704Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com>
3e87a760 5705
66778679
RH
5706 * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
5707 assembler syntax.
5708 (obj_elf_vtable_entry): Likewise.
5709 * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
5710 * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
5711 (tc_gen_reloc): Likewise.
5712 (arm_fix_adjustable): Likewise.
5713 (elf32_arm_force_relocation): New.
5714 (armelf_frob_symbol): Remove coff-style symbol support.
252b5132
RH
5715
5716Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com>
5717
5718 * config/tc-i386.c (i386_operand): Fix typo in last patch.
5719
5720Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
3e87a760 5721
66778679
RH
5722 * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
5723 OBJ_COFF so that routine is defined for a.out format.
252b5132
RH
5724
5725Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com>
5726
5727 * config/tc-i386.c (i386_operand): Detect non-segment registers
5728 used as segment prefixes.
5729
5730Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
5731
5732 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
5733 optimize across FDE boundaries.
5734
5735 * config/obj-coff.c (obj_coff_section): Preserve any link once
5736 flags when setting the section flags.
5737
5738Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com>
5739
5740 * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
5741 * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
5742
5743Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5744
5745 * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
5746 to the host width.
5747
5748Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com>
5749
5750 * frags.c (frag_grow): Include the size of the frag struct in the
5751 obstack chunk size.
5752
5753 * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
5754 if the new subseg comes before the old.
5755
5756Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5757
5758 * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
5759 to handle edge8 and edge16.
5760
5761Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com>
5762
5763 * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
5764 before we clobber the symbol involved.
5765
5766Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com>
5767
3e87a760 5768 * config/tc-arm.c: Remove OBJ_ELF definitions for
66778679
RH
5769 S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
5770 use arm_adjust_symtab for OBJ_COFF.
5771 (armelf_adjust_symtab): New Routine.
5772 * config/tc-arm.h: Define obj_adjust_symtab to
5773 armelf_adjust_symtab for OBJ_ELF.
3e87a760 5774
252b5132
RH
5775Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com>
5776
5777 * configure.in: Make all i386-elf targets use bfd_gas.
5778 * config/tc-i386.c (tc_i386_force_relocation): New.
5779 (tc_i386_fix_adjustable): Don't fix vtable relocs.
5780 (md_apply_fix3): Likewise.
5781 (tc_gen_reloc): Handle them.
5782 * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
5783 tc_i386_force_relocation.
5784
5785Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com>
5786
5787 * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
5788
5789Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com>
5790
5791 * config/tc-d30v.c (md_assemble): Copy previous opcode over
5792 current opcode after writing the first insturction of a reverse
3e87a760
AM
5793 sequential pair.
5794
252b5132
RH
5795Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com>
5796
5797 * read.h (generate_lineno_debug): Add prototype.
5798 * read.c (generate_lineno_debug): Make non-static.
5799
5800Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
5801
5802 * config/tc-i386.c (md_assemble): Only warn for address/data size
5803 prefixes.
5804
5805Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com>
5806
5807 * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
5808 against Thumb function names, as the linker needs this information.
5809
58101998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
5811
5812 * expr.c (operand): Check also that there is no advance in operand
5813 after atof_generic in order to decide "is it label 0f or floating
5814 point number?".
5815
5816Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com>
5817
5818 * config/tc-m32r.c: Replace double dash prefix to M32R specific
5819 command line options with a single dash.
5820 * doc/c-m32r.texi: Replace double dash prefix with a single dash.
5821
5822Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com>
5823
3e87a760
AM
5824 * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
5825 * tc-arm.c (arm_fix_adjustable): New routine.
252b5132
RH
5826
58271998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com>
5828
5829 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
5830 s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
5831 demand_empty_rest_of_line before mri_comment_end.
5832 (equals): Check garbage after expression before
5833 mri_comment_end in MRI mode.
5834
5835Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com>
5836
5837 * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
5838 small immediate constant to use the constant itself rather than
5839 always using 1.
5840
5841Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com>
5842
5843 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
5844 (pa_leave): Likewise.
5845
5846Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
5847
5848 * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
5849 prefixes.
5850 (i386_operand): Fix an error message.
5851
5852Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com>
5853
5854 * doc/c-arm.texi (ARM Directives): Document .req directive.
5855
5856 * config/tc-arm.c (reg_required_here): Display erroneous string if
5857 the register name could not be decoded.
5858 Do not set inst.instruction if the sift is -1.
5859
5860Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com>
5861
5862 * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
5863 we do for EXTERN.
5864
5865Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com>
5866
5867 * config/tc-d30v.c (d30v_align): Always perform alignment request,
5868 even if it is belived to be unnecessary.
5869
5870Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
5871
5872 config/tc-i386.c (i386_operand): Size immediate constants by
5873 suffix (erroneously removed as part of July 7 change).
5874
5875Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com>
5876
66778679
RH
5877 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
5878 * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
5879 (armelf_frob_symbol): New Routine.
5880 * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
252b5132
RH
5881
5882Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
5883
5884 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
5885
5886Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>
5887
5888 * config/tc-arm.c (md_begin): Set BFD private flags depending upon
5889 command line switches passed to assembler.
5890
5891Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com>
5892
5893 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
5894 (gas_cgen_opcode_desc): Declare.
5895 (gas_cgen_parse_operand): Declare.
5896 (*): Prepend gas_ to gas specific fns to denote them as such.
5897 All uses updated.
5898 * cgen.c (gas_cgen_opcode_desc): New global
5899 (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
5900 (queue_fixup): Renamed from cgen_queue_fixup.
5901 (*): Prepend gas_ to gas specific fns to denote them as such.
5902 All uses updated.
5903 (gas_cgen_md_apply_fix3): Update call to insert_operand.
5904 (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
5905 * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
5906 Open opcode table and initialize it.
5907 (make_parallel): Use gas_cgen_opcode_desc.
5908 (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
5909 (md_assemble): Ditto.
5910
5911Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com>
5912
5913 * as.h (debug_info_type): Add entries for unspecified and dwarf*.
5914 * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
5915 as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
5916 * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
5917 Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
5918 * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
5919 DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
5920 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
5921 (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
5922 (INIT_STAB_SECTION): Likewise.
5923 (OBJ_PROCESS_STAB): Likewise.
3e87a760 5924
252b5132
RH
5925 * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
5926 (md_parse_option): Watch for them.
5927 (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
5928 (md_begin): Kill neverdef code.
5929 (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
5930 (s_alpha_prologue): Watch alpha_cur_ent_sym.
5931 (s_alpha_coff_wrapper): New.
5932 (md_pseudo_table): Trap all ECOFF pseudos.
3e87a760 5933
252b5132
RH
5934Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com>
5935
5936 Start of changes to remove mdebug section from mips*-elf
5937 Based on MIPS_STAB_ELF definition
5938 * acconfig.h: undef if not configured
5939 * config.in: undef if not configured
5940 * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
5941 * config/tc-mips.c (s_ent): set BSF_FUNCTION
5942 * stabs.c (s_stab_generic): flush frag
5943
5944Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com>
5945
66778679
RH
5946 * configure.in: (arm-*-elf): Handle.
5947 (thumb-*-elf): Handle.
5948 * configure: Regenerate.
5949 * read.c (stringer): Fix typo in comment.
5950 * write.c (fixup_segment): Don't add symbol value to addend if
5951 TC_ARM and OBJ_ELF.
5952 * config/tc-arm.c (md_section_align): Don't align dwarf debug
5953 sections.
5954 (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
5955 for OBJ_ELF.
252b5132
RH
5956
5957Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com>
5958
5959 * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
5960 (write_2_short): Emit warning if new flag is set.
5961 (do_assemble): Set flags if left instruction is one of special
5962 "right-instruction-killer" type.
5963
5964Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com>
3e87a760 5965
252b5132
RH
5966 * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
5967 Always output words in debug_info section as big endian.
5968 (sparc_target_format): Choose correct bfd target.
5969 (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
3e87a760 5970
252b5132
RH
5971Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com)
5972
5973 * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
5974 to work with internationalization code. Issue an error when two
5975 operands match that are not allowed to match.
5976
5977Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com>
5978
5979 * configure.in (install_tooldir): Allow target to specify whether
5980 it wants to be installed in $(tooldir)/bin.
5981 * configure: Regenerate.
5982 * Makefile.am (install-exec-local): Set install-exec-tooldir
5983 dependency via configure.
5984 * Makefile.in: Regenerate.
5985
5986Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com>
5987
5988 * Makefile.am (install-exec-local): Split into two ...
5989 (install-exec-bindir,install-exec-tooldir): New rules.
5990 * Makefile.in: Regenerate.
5991
5992Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com>
5993
5994 * Makefile.am (install-exec-local): Don't remove the file before
5995 checking whether $(bindir) == $(tooldir)/bin. From Maciej
5996 W. Rozycki <macro@ds2.pg.gda.pl>.
5997 * Makefile.in: Rebuild.
5998
5999Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com>
6000
6001 * cgen.c: Include libiberty.h.
6002 (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
6003 (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
6004 * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
6005 (md_cgen_lookup_reloc)): Declare.
6006 (md_cgen_record_fixup_exp): Declare.
6007 * config/tc-m32r.h (md_pcrel_from_section): Declare.
6008 (m32r_relax_frag): Declare.
6009 (cgen_md_apply_fix3): Decls moved to cgen.h.
6010 (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
6011 (m32r_cgen_record_fixup_exp): Delete decl.
6012 * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
6013 (assemble_nop): Delete.
6014 (expand_debug_syms): Delete unused `exp'.
6015 (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
6016 Add default case for -Wall.
6017 (m32r_cgen_record_fixup_exp): Add default case for -Wall.
6018 (md_atof): Delete unused wordP.
6019
6020Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com)
6021
6022 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
6023 value.
6024
6025Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com>
6026
6027 * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
6028 .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
6029 .print, .purgem, and .struct. Remove documentation for
6030 .app-file.
6031
6032Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
6033
6034 * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
6035 Update call to insert_operand.
6036
6037Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
6038
6039 * config/tc-m32r.c (ms_show_usage): Formatting changes.
6040
6041Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com>
6042
6043 * config/tc-i386.c (md_assemble): Don't get confused by trailing
6044 whitespace after a prefix operator.
6045
6046Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com>
6047
6048 * configure.in (i386-*-beos{pe,elf,}*): Recognize.
6049
6050Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
6051
6052 * config/tc-sparc.c (log2): New static function.
6053 (s_reserve): Use log2 to convert alignment before calling
6054 record_alignment.
6055 (s_common): Use log2 to convert alignment before calling
6056 record_alignment and frag_align.
6057 (sparc_cons_align): Use log2.
6058
6059Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com>
6060
6061 * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
6062 (s_common): Likewise.
6063
6064 * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
6065 initialization of waddr.
6066 (sparc_elf_final_processing): Add default case to switch.
6067
6068Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6069
6070 * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
6071 than temporary real.
6072
6073Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com>
6074
6075 * write.c (subsegs_finish): Don't align the segments if there were
6076 any errors.
6077
6078 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
6079 copying aux information.
6080
6081 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
6082 expression into a symbol.
6083
6084Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6085
6086 * config/tc-i386.c (mode_from_disp_size): Change arg and return
6087 type to unsigned int.
6088 (md_assemble): Change type used to store offsets from unsigned
6089 long to long.
6090 (i386_operand): Switch error check to only call RESTORE_END_STRING
6091 once after parse_register.
6092
6093Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com>
6094
6095 * config/tc-v850.c (md_show_usage): Changed format to match that
6096 of gcc, ld, etc.
6097
6098 * as.c (show_usage): Changed format to match that of gcc, ld, etc.
6099
6100Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6101
6102 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
6103 relocs.
6104 (md_apply_fix_2): Force the symbol of the vtable reloc to be
6105 weak.
6106
6107Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com>
6108
6109 * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
6110 * doc/Makefile.in: Rebuild.
6111
6112Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com)
6113
66778679
RH
6114 * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
6115 for %lo expressions.
6116 (mips_ip, case 'u'): Move range check after code to mask
6117 off bits in %hi/%lo expressions. Mask off high bits for
6118 %lo expressions.
252b5132
RH
6119
6120Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
6121
6122 * doc/Makefile.am (gasver.texi): New target.
6123 (as.info, as.dvi): Depends upon gasver.texi.
6124 * doc/as.texinfo: Include gasver.texi. Mention version number on
6125 title page and in top node.
6126 * doc/Makefile.in: Rebuild.
6127
6128Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
6129
6130 * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
6131 but not including the line containing the edict.
6132 * listing.h (LISTING_EOF): New.
6133 * input-scrub.c (input_scrub_next_buffer): Call it.
6134
6135Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6136
6137 * config/tc-i386.c (i386_operand): Don't set the size of an
3e87a760 6138 immediate address based solely on the suffix and the mode.
252b5132
RH
6139
6140 * config/tc-i386.c (md_assemble): Add assertion to make sure
6141 overlap2 does not set Imm.
6142
6143 * config/tc-i386.c (space_chars): Remove. The scrubber converts
6144 sequences of whitespace to a single space.
6145 (is_space_chars): Just compare with space.
6146 (md_begin): Don't initialize space_chars.
6147 (md_assemble): Just skip a single whitespace character.
6148 (i386_operand): Rewrite base-index parsing to use new
6149 parse_register, and to skip white space. Skip white space in a
6150 number of other places too. Don't give error message if
6151 parse_register fails.
6152 (parse_register): Change reg_string parameter to be non-const.
6153 Add end_op parameter. Skip white space after the `%', and return
6154 end of register string. Give error message here rather than
6155 caller.
6156
6157Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com>
6158
6159 Based on patch from Matt Semersky <matts@scd.hp.com>:
6160 * expr.c (op_encoding): Make const.
6161 (expr_set_precedence): New function.
6162 (expr_begin): Don't set operator rankings, just call
6163 expr_set_precedence.
6164 * expr.h (expr_set_precedence): Declare.
6165 * read.c (s_mri): Call expr_set_precedence.
6166
6167Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com>
6168
6169 * doc/as.texinfo (Statements): Remove paragraph discussing
6170 continuing lines with a backslash. This hasn't worked for years,
6171 if it ever did.
6172
6173Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
6174
66778679 6175 * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
252b5132
RH
6176 symbol definitions.
6177 (Ctors_Symbols, Dtors_Symbols): New symbol chains.
6178 (ps_CTORS, ps_DTORS): New section types.
6179 (vms_fixup_xtors_section): New function
6180 (Ctors_Psect, Dtors_Psect): Define.
6181 (IS_GXX_XTOR): Define
6182 (global_symbol_directory): Change check of gxx_bug_fixed to 0.
6183 Filter static constructors/destructors and add to
6184 Ctors_Symbols/Dtors_Symbols chain.
6185 (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
6186 appropriate section.
6187
66778679 6188 * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
252b5132
RH
6189 * makefile.vms: Merge vax/vms support.
6190
6191Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com>
6192
6193 * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
6194 (elf_pseudo_table): Add them.
6195 * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
6196 (md_apply_fix): Accept them.
6197 (mips_fix_adjustable): Don't adjust them.
6198 (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
6199 * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
6200 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
6201 (tc_fix_adjustable): Don't adjust them.
6202
6203Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com>
6204
6205 * Makefile.am (CGEN_CPU_PREFIX): New variable.
6206 (cgen.o): Use it.
6207 * Makefile.in: Regenerate.
6208 * configure.in: AC_SUBST cgen_cpu_prefix.
6209 * configure: Regenerate.
6210
6211Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6212
6213 * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
6214 Changed all users of COND12_DELAY.
6215
6216Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
6217
6218 * config/tc-mn10300.c (set_arch_mach): New function.
6219 (md_pseudo_table): Add pseudo-ops to set the current machine type.
6220 (md_begin): Default to mn10300 mode.
6221 (md_assemble): Only accept instructions for the core mn10300
6222 chip and the active machine type.
6223
6224Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com>
6225
6226 * subsegs.h (segment_info_type): Give the struct a name.
6227 * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
6228 * config/tc-h8500.h (tc_reloc_mangle): Declare.
6229 * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
6230 * config/tc-w65.h (tc_reloc_mangle): Declare.
6231 * config/tc-z8k.h (tc_reloc_mangle): Declare.
6232
6233Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com>
6234
66778679
RH
6235 * config/tc-v850.c (v850_comm): Restore old section
6236 after common processing.
252b5132
RH
6237
6238Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
6239
6240 * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
6241
6242Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com>
6243
6244 * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
6245 char with code that explicitly sign-extends.
6246
6247Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
3e87a760 6248
252b5132
RH
6249 * config/tc-v850.c (md_begin): Restore text section as the current
6250 section after creating call table sections.
6251 * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
3e87a760 6252 code.
252b5132
RH
6253
6254 * config/obj-coff.c (c_symbol_merge): Replace complex expresion
6255 with call to macro SYM_AUXINFO.
6256
6257Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
6258
6259 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
6260 with the program transform name.
6261 * Makefile.in: Rebuild.
6262
6263Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com>
6264
6265 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
6266 information.
6267
6268Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com>
6269
6270 * config/tc-i386.c (i386_operand): Be prepared for a space between
6271 the open parenthesis and the start of the register operand,
6272 because of the June 16 change.
6273
6274Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com>
6275
6276 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
6277 BFD_ASSEMBLER.
6278
6279Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com>
6280
6281 * config/tc-d30v.c (d30v_align): Always perform alignment request,
6282 even if it is belived to be unnecessary.
6283
6284Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com>
6285
6286 * write.c (adjust_reloc_syms): Never adjust relocs against weak
6287 symbols.
6288 * config/tc-mips.c (md_apply_fix): Adjust accordingly.
6289
6290Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com)
6291
6292 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
6293 shift amount for a repeated operand. The shift amount for the
6294 repeated copy comes from the size of the operand.
6295
6296Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com)
6297
6298 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
6299
6300Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
6301
6302 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
6303
6304Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6305
6306 * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
6307 characters in it as LEX_IS_SYMBOL_COMPONENT.
6308 * config/tc-i386.h (tc_symbol_chars): Define.
6309 (extra_symbol_chars): Declare.
6310 * config/tc-i386.c (extra_symbol_chars): Define.
6311 (comment_chars): Don't use '/' as comment start if TE_LINUX.
6312 (line_comment_chars): Set to '/' if TE_LINUX.
6313 * doc/c-i386.texi (i386-prefixes): Update.
6314 * doc/internals.texi (CPU backend): Document tc_symbol_chars.
6315
6316Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com>
6317
6318 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
6319 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
6320
63211998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
6322
6323 * config/tc-d10v.c (md_apply_fix3): Checking displacement
6324 constraint in instructions REP & REPI.
6325
6326Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com>
6327
6328 * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
3e87a760 6329 BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
252b5132
RH
6330
6331 (check_range): If the operand is shifted, then shift the number
6332 before checking its range.
6333
3e87a760 6334 * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
252b5132
RH
6335
6336 * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
6337 common sections.
6338
6339Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com>
6340
6341 * config/tc-v850.c (v850_comm): Create special sections as needed.
6342
63431998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
6344
6345 * config/tc-d10v.c (write_2_short): Addition of swapping
6346 instructions for sequential and reverse sequential order when
6347 given order is not possible.
6348
6349Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
6350
6351 * Makefile.am: Rebuild dependencies.
3e87a760 6352 (DEP_INCLUDES): Fix reference to intl build directory.
252b5132
RH
6353 * Makefile.in: Rebuild.
6354
6355Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6356
6357 * doc/c-i386.texi: Update 16 bit documentation.
6358
6359 * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
6360 IgnoreDataSize to IgnoreSize as they are used for address size as
6361 well as data size.
6362 * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
6363 32-bit mode, similarly addr16/data16 and variants.
6364
6365Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com>
6366
6367 * config/tc-d30v.c (md_assemble): Fix handling of reverse
6368 sequential word multiply instructions.
3e87a760 6369
252b5132
RH
6370 (do_assemble): Add extra command line argument, to allow mul32
6371 attribute to be preserved across parallel insns.
6372 (md_assemble): Insert NOPs between explicitly parallel insns which
6373 contain an 32 bit multiply and a 16 multiply.
6374
6375Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6376
6377 * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
6378 likewise for REPE.
6379
6380 * config/tc-i386.c (reloc): Add braces.
6381
6382 * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
6383 consistent with Intel naming.
6384 * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
6385 use bitfields in sib_byte.
6386 (modrm_byte): Don't use bitfields here either.
6387
6388 * config/tc-i386.c (current_templates): Add const.
6389 (parse_register): Add const to return, param, and char *s.
6390 (i386_operand): Add const to reg_entry *r.
6391 * config/tc-i386.h (templates): Add const to start, end.
6392
6393 Inspired by code for 16 bit gas support from Martynas Kunigelis
6394 <martynas@nm3.ktu.lt>:
6395 * config/tc-i386.c (md_assemble): Add full support for 16 bit
6396 modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
6397 (uses_mem_addrmode): Remove.
6398 (md_estimate_size_before_relax): Add support here too.
6399 (md_relax_table): Rewrite interface to md_relax for 16 bit
6400 support.
6401 (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
6402 (opcode_suffix_to_type): Remove.
6403 (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
6404 (SIZE_FROM_RELAX_STATE): Modify to suit above.
6405 (md_convert_frag): Likewise.
6406 (i386_operand): Add support for 16 bit base/index regs,
6407 immediates, and displacements. Remove some unnecessary casts, and
6408 localise end_of_operand_string, displacement_string_start,
6409 displacement_string_end variables. Add GCC_ASM_O_HACK.
6410 * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
6411
6412 * config/tc-i386.c (prefix_hash): Remove.
6413 (md_begin): Rewrite without obstacks. Remove prefix hash table
6414 handling. Rewrite lexical table handling.
6415 (i386_print_statistics): Don't print prefix statistics.
6416 (md_assemble): Rewrite instruction parser so that line is not
6417 converted to lower case. Don't do a hash_find for prefixes,
6418 instead recognise them via opcode modifier.
6419 (expecting_operand, paren_not_balanced): Localise variables.
6420 * config/tc-i386.h (IsPrefix): Define.
6421 (prefix_entry): Remove.
6422
6423 * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
6424 * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
6425 '\\' in case where comment_chars contains '/'.
6426
6427 * config/tc-i386.c (MATCH): Ensure given operand and template
6428 match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
6429 you must write `ljmp *table(%ebx)'.
6430
6431 From H.J. Lu <hjl@gnu.org>:
6432 * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
6433 as 0 ifndef BFD_ASSEMBLER.
6434 (md_assemble): Allow immediate operands without suffix or
6435 other reg operand to default in size to the current code size.
6436
6437Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
3e87a760 6438
66778679
RH
6439 * config/tc-v850.c (md_begin): Restore creation of
6440 .call_table_text and .call_table_data sections.
252b5132
RH
6441
6442Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com>
6443
6444 * config/tc-d30v.c (md_assemble): Set execution type to unknown
6445 after emitting a word of noops.
6446
6447Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6448
6449 * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
6450 (i386_operand): Simplify checks for valid base/index combinations.
6451 Disallow `in 4(%dx),%al'.
6452
6453 * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
6454 index_reg const.
6455 (add_prefix): Change parameter from char to int.
6456
6457 * config/tc-i386.h (Ugh): Define opcode modifier.
6458 * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
6459
6460 * config/tc-i386.c (md_assemble): Rewrite MATCH and
6461 CONSISTENT_REGISTER_MATCH macros to check register types more
6462 thoroughly. Check for illegal suffix/operand combinations
6463 when matching insns with operands. Handle new `s' suffix, and
6464 associated FloatMF opcode modifier for float insns with memory
6465 operands.
6466 * config/tc-i386.h (FloatMF): Define new opcode modifier.
6467 (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
6468 (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
6469 * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
6470 DATA_PREFIX_OPCODE throughout.
6471
6472 * config/tc-i386.c (REGISTER_WARNINGS): Define.
6473 (md_assemble): Rewrite suffix/register operand checking code to be
6474 more thorough. Remove Abs8,16,32. Change occurrences of Mem to
6475 AnyMem, the better to grep.
6476 (pi): Remove Abs.
6477 (i386_operand): Don't set Mem bits in i.types[this_operand] when
6478 given a memory operand. Don't set Abs bits either.
6479 (type_names): Remove Mem*, Abs*.
6480 * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
6481 define opcode_modifiers as these cases are handled by Disp8,
6482 Disp16, Disp32 and suffix checks.
6483 (COMES_IN_BOTH_DIRECTIONS): Remove.
6484 (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
6485
6486 * config/tc-i386.c (md_assemble): Don't emit operand size prefix
6487 if IgnoreDataSize modifier given. Remove ShortformW modifier
6488 test. Add test for ShortForm in W base_opcode modification.
6489 Merge Seg2ShortForm and Seg3ShortForm code.
6490 * config/tc-i386.h (ShortFormW): Remove.
6491 (IgnoreDataSize): Define.
6492
6493Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com>
6494
6495 * config/tc-d30v.c (md_assemble): Store previous segment state
6496 with previous instruction.
6497
6498Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6499
6500 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
6501 (ebp, esp): Remove static variables.
6502 (MATCH): Remove test for InOutPortReg.
6503 (i386_operand): Properly handle InOutPortReg here instead.
6504 Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
6505 (md_assemble): Simplify and correct modrm and sib generation.
6506 (i386_operand): Add warning for scale without index.
6507 Rewrite checks for valid base/index combinations.
6508
6509 * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
6510 macros and enclose in do while(0).
6511 (RESTORE_END_STRING): Likewise.
6512 (md_assemble): Add one to printed operand number so we start
6513 from 1 not 0. Add some more gettext invocations.
6514 (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
6515 number here too.
6516
6517 * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
6518 DATA_PREFIX, SEG_PREFIX): Define.
6519 * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
6520 (check_prefix): Remove function.
6521 (add_prefix): New function. Add prefix to i.prefix as well as
6522 doing checks.
6523 (md_assemble): Changes for add_prefix. Remove hack for wait
6524 prefix, instead always output prefixes in fixed order. Test
6525 for jcxz/loop when selecting between word & dword operations,
6526 and add address size prefix rather than operand size prefix.
6527 Remove operand -> address size hack when emitting jcxz/loop.
6528 (i386_operand): Remove O_Absent check as it's done in expr.
6529
6530Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com>
6531
6532 * configure.in: Recognize m5200 as a cpu_type of m68k.
6533 * aclocal.m4: Rebuild with current libtool.
6534 * configure: Rebuild.
6535
6536Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6537
6538 * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
6539 to relaxable_symbol to prevent references to external symbol from
6540 being relaxed.
6541
6542Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com>
6543
6544 * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
6545 symbols are relaxable.
6546
6547Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com>
3e87a760 6548
66778679
RH
6549 * config/tc-v850.c (md_begin): Don't create special
6550 sections by default.
3e87a760 6551
252b5132
RH
6552Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com)
6553
6554 * config/tc-mips.c (macro): For div and udiv, close the
6555 reorder block as soon as possible.
6556
6557Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com>
6558
6559 From Matt Semersky <matts@scd.hp.com>:
6560 * macro.c (macro_mri_mode): New function.
6561 * macro.h (macro_mri_mode): Declare.
6562 * read.c (s_mri): Call macro_mri_mode when switching in and out of
6563 MRI mode.
6564
6565Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
6566
6567 * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
6568 OBJ_EVAX case.
6569
6570 * config/tc-alpha.c (s_alpha_comm): Defer restoring character
6571 until after xstrdup in OBJ_EVAX case.
6572
6573Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
6574
6575 * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
6576 offset calculation. Also, use VAX_BRW from vax-inst.h instead
6577 of hardcoded magic number.
6578 (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
6579
6580Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com>
6581
6582 * read.c (do_s_func): New function.
6583 (s_func): Call it.
6584 * read.h (do_s_func): Add prototype.
6585
6586Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com>
6587
6588 * config/tc-m32r.c (m32r_do_align): Only fill code sections with
6589 nops if fill pattern not specified.
6590
6591Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com>
6592
6593 From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
6594 * config/te-go32.h (TE_GO32): Define.
6595 * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
6596
6597Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com>
6598
6599 Implement .func/.endfunc pseudo-ops.
6600 * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
6601 (s_func): Declare.
6602 * read.c (potable): Add .func,.endfunc.
6603 (s_func): New function.
6604 * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
6605 functions.
6606 (in_doc_func_p,current_function_label): New static globals.
6607 (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
6608
6609Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com>
6610
6611 * config/tc-a29k.h (WORKING_DOT_WORD): Define.
6612 * config/tc-alpha.h (WORKING_DOT_WORD): Define.
6613 * config/tc-arm.h (WORKING_DOT_WORD): Define.
6614 * config/tc-h8300.h (WORKING_DOT_WORD): Define.
6615 * config/tc-h8500.h (WORKING_DOT_WORD): Define.
6616 * config/tc-hppa.h (WORKING_DOT_WORD): Define.
6617 * config/tc-i860.h (WORKING_DOT_WORD): Define.
6618 * config/tc-i960.h (WORKING_DOT_WORD): Define.
6619 * config/tc-tic30.h (WORKING_DOT_WORD): Define.
6620 * config/tc-w65.h (WORKING_DOT_WORD): Define.
6621 * config/tc-z8k.h (WORKING_DOT_WORD): Define.
6622 * config/tc-a29k.c: Don't define md_short_jump_size,
3e87a760 6623 md_long_jump_size, md_create_short_jump or md_create_long_jump.
252b5132
RH
6624 * config/tc-alpha.c: Likewise.
6625 * config/tc-alpha.h: Likewise.
6626 * config/tc-arm.c: Likewise.
6627 * config/tc-h8300.c: Likewise.
6628 * config/tc-h8500.c: Likewise.
6629 * config/tc-hppa.c: Likewise.
6630 * config/tc-i860.c: Likewise.
6631 * config/tc-i960.c: Likewise.
6632 * config/tc-ppc.c: Likewise.
6633 * config/tc-sh.c: Likewise.
6634 * config/tc-sparc.h: Likewise.
6635 * config/tc-tic30.c: Likewise.
6636 * config/tc-w65.c: Likewise.
6637 * config/tc-z8k.c: Likewise.
6638
6639Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
6640
6641 * config/tc-vax.c (_): Delete this macro used for placeholder
6642 values in vax_operand_width_size; it conflicts with the _() macro
6643 used for internationalization.
6644
6645Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com>
6646
6647 * symbols.c (symbol_find_base): Fix case insensitive symbol name
6648 code. From Chris Moller <moller@bops.com>.
6649
6650 Based on patch from Klaus Kaempf <kkaempf@progis.de>:
6651 * struc-symbol.h (struct broken_word): Add seg and subseg fields.
6652 * read.c (emit_expr): Initialize seg and subseg fields of a new
6653 broken word.
6654 * write.c (write_object_file): Switch to the appropriate segment
6655 and subsegment when processing a broken word.
6656
6657 * config/tc-m68k.c (mri_assemble): New static function.
6658 (build_mri_control_operand): Call mri_assemble rather than
6659 md_assemble.
6660 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
6661 (s_mri_endf, s_mri_endw): Likewise.
6662
6663Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com>
6664
6665 * read.c (s_org): Call md_flush_pending_output if it is defined.
6666
6667 * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
6668
6669Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com>
6670
6671 * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
6672 (md_parse_option): Add for same.
6673 (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
6674 (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
6675 (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
6676
6677 * config/tc-sparc.h (cons_fix_new_sparc): Added.
3e87a760 6678
252b5132
RH
6679Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com>
6680
6681 * config/tc-arm.c (find_real_start): Relax definition of local
6682 labels.
6683
6684Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com>
6685
6686 * config/tc-d30v.c (d30v_align): Apply address adjustment to all
6687 symbols at the given address, not just the last one specified.
6688
6689Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com>
6690
66778679
RH
6691 * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
6692 or number_to_chars_littleendian to write data.
252b5132
RH
6693
6694Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com>
6695
6696 * config/tc-v850.c (md_assemble): Remove artificially created
6697 register name symbols.
6698
6699Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com>
6700
6701 * write.c (fixup_segment): Change "segment" to "section" in
6702 error message.
6703
6704Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com>
6705
6706 * write.c (fixup_segment): Change sym1-sym2 message again.
6707
6708Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com>
6709
6710 * write.c (fixup_segment): Improve error message for sym1-sym2
6711 errors when sym1 is in a different segment from sym2.
6712
6713Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
6714
6715 * config/tc-m32r.c (warn_unmatched_high): New static local.
6716 (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
6717 (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
6718 (md_longopts): Recognize --{no-,}warn-unmatched-high.
6719 (md_parse_option): Likewise.
6720 (md_show_usage): Likewise.
6721 (m32r_frob_file): Likewise.
6722
6723 * read.c (generate_file_debug,generate_lineno_debug): New functions.
6724 (read_a_source_file): Call them.
6725 * read.h (stabs_generate_asm_file): Declare.
6726 * stabs.c (stabs_generate_asm_file): New function.
6727 (generate_asm_file): New function.
6728 (stabs_generate_asm_lineno): Move file name handling into
6729 generate_asm_file.
6730
6731Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
6732
6733 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
66778679
RH
6734 (d30v_current_align, d30v_current_align_seg): New variables.
6735 (d30v_last_label): New variable.
6736 (d30v_align, s_d30v_align, s_d30v_text): New functions.
6737 (s_d30v_data, s_d30v_section): Likewise.
6738 (md_pseudo_table): Call them.
6739 (md_begin): Initialize d30v_current_align_seg.
6740 (md_assemble): Call d30v_align when needed by known current alignment.
6741 (d30v_frob_label, d30v_cons_align): New functions.
6742 * config/tc-d30v.h (md_do_align): Remove.
6743 (tc_frob_label): Call d30v_frob_label.
6744 (md_cons_align): New.
252b5132 6745
3e87a760 6746 * config/tc-d30v.c (find_format): Convert complex expressions to
252b5132
RH
6747 expression symbols before processing. Clean up code formatting.
6748
6749Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com)
6750
6751 * po/Make-in (install-info): New target.
6752
6753Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com)
6754
6755 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
6756 instructions.
6757 * config/tc-mn10300.c (md_assemble): Likewise.
6758
6759Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com>
6760
6761 * Makefile.am: Update with `make dep-am'.
6762 (HFILES): Add cgen.h.
6763 (cgen.o): Depend on cgen.h.
6764 * Makefile.in: Regenerate.
6765
6766 * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
6767
6768Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
6769
6770 * gasp.c (grab_label): Permit a label to be a preprocessor
6771 variable by permitting a label to start with a backslash.
6772
6773Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
6774
6775 * config/tc-mips.c (validate_mips_insn): Removed hack
6776 for previously inaccessible bitfields in some INSN_TRAP
6777 instructions.
6778
6779Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com>
6780
6781 * config/tc-d30v.c (do_assemble): Abort with error message
6782 if opcode operands do not match.
3e87a760 6783
252b5132
RH
6784Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com>
6785
6786 * config/tc-mips.c (macro_build, validate_mips_insn): Implement
6787 'q' operand format for 20-bit "break"/"sdbbp" instructions.
6788 (mips_ip): Truncate overflowed "break" 'c' operand. Implement
6789 similar new 'q' operand.
6790
6791Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com>
6792
6793 * cgen.c (cgen_asm_finish_insn): Fix typo.
6794
6795Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com>
6796
6797 * cgen.h: New file.
6798 * cgen.c: Include it.
6799 (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
6800 (cgen_asm_finish_insn): Result is now void. New arg `result'.
6801 All callers updated.
6802 * config/tc-m32r.c: Include cgen.h.
6803 (m23r_insn): New members num_fixups,fixups.
6804
6805Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com)
6806
6807 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
6808 to avoid compiler warning.
6809
6810Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
6811
6812 * makefile.vms: Run dec c with /nodebug. Pass CC value when
6813 calling make.
6814
66778679 6815 * makefile.vms (OBJS): Add ehopt.obj
252b5132
RH
6816
6817Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
6818
6819 * doc/c-vax.texi: Correct and extend vax/vms documentation.
6820
6821Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com>
6822
6823 * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
6824 a short format insn.
6825 (md_assemble): Set it for explicitly packed insns.
3e87a760 6826
252b5132
RH
6827Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com>
6828
6829 * config/obj-coff.c (c_symbol_merge): Do not take address of
6830 native fields when performing the memcpy.
6831
6832Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com>
6833
3e87a760 6834 * config/tc-mips.c (macro,macro2): Implement
252b5132
RH
6835 M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
6836
6837Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6838
6839 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
6840 relocations against globally visible symbols.
6841 * config/tc-m68k.c (relaxable_symbol): New macro.
6842 (m68k_ip, md_estimate_size_before_relax): Use it.
6843 (tc_m68k_fix_adjustable): Also handle weak symbols.
6844
6845Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com>
6846
6847 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
6848 references to externally visible symbols.
6849 * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
3e87a760
AM
6850 values in twice for a PC relative reloc if the symbol is
6851 externally defined.
252b5132
RH
6852
6853 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
6854 don't adjust a PC relative reloc against an externally visible
6855 symbol.
6856 * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
6857 for a PC relative fixup against an externally visible defined
6858 symbol, arrange to store object file and addend values as though
6859 the symbol were not defined.
6860 (tc_gen_reloc): Likewise.
6861
6862Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com>
6863
6864 * read.c (sizeof_leb128): Referenced externally by write.c so
6865 don't inline.
6866
6867Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com>
6868
6869 * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
6870 and expand a 'debug' symbol associated with the next instruction
6871 that does not cause a short instruction to be filled with a NOP.
6872 (md_pseudo_table): Add support for .debugsym.
6873 (assemble_parallel_insn): Add calls to expand_debug_sym as
6874 appropriate.
6875 (md_assemble): Ditto.
6876
6877Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
6878
6879 * as.c (main): Conditionally call setlocale.
6880 * gasp.c (main): Likewise.
6881 * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
6882 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
6883
6884Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
6885
6886 * config/tc-d30v.c (md_show_usage): Correct gettext typo.
3e87a760 6887
252b5132
RH
6888Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com>
6889
6890 * config/tc-hppa.c: Change all calls to bzero to use memset.
6891 (pa_ip): Add cast to avoid warning.
6892 (tc_gen_reloc, md_apply_fix): Likewise.
6893 (pa_find_space_by_number): Likewise.
6894 (hppa_force_relocation): Likewise.
6895 (pa_block): Change i to unsigned int.
6896 * config/obj-som.h (obj_som_copyright): Declare.
6897
6898Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com>
6899
6900 * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
6901 for line numbers for assembly source.
6902
6903Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com>
6904
6905 * configure.in: Change version number to 2.9.4
6906 * configure: Rebuild.
6907
6908Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com>
6909
6910 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
6911
6912Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com>
6913
6914 * ecoff.h: Change symbolS in function declaration to struct
6915 symbol.
6916
6917Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com>
6918
6919 * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
6920 (md_convert_frag): Fix i18n typo.
6921
6922Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com>
6923
6924 * ecoff.c (ecoff_get_cur_proc_sym): New function.
6925 * ecoff.h: Protoype it.
6926 * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
6927 [EVAX] (s_alpha_prologue): Delete.
6928 (md_pseudo_table): Update.
6929
6930Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com>
6931
6932 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
6933 array to local pointer.
6934 (get_args, parse_expr): Add casts to avoid warnings.
6935
6936Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
6937
6938 * read.c (s_set): Cast xmalloc return value to fragS *.
6939 * config/tc-m68k.c (m68k_ip): Function made static to match
6940 previous forward declaration.
6941 (insert_reg, init_regtable, md_convert_frag_1): Likewise.
6942
6943Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com>
6944
6945 * config/tc-v850.c: Add internationalisation macros to error
3e87a760 6946 strings.
252b5132
RH
6947
6948 * config/tc-m32r.c (can_make_parallel): Add internationalisation
6949 macros to error strings.
6950
6951Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com>
6952
6953 * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
6954 reloc is in the TOC csect.
6955 (md_apply_fix3): Correct gettext typo.
6956
6957Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com>
6958
6959 * config/tc-arm.c (find_real_start): Ignore symbols starting with
6960 .L - they are local labels and the branches are not really
6961 function calls but rather far jumps.
6962
6963Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com>
6964
6965 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
6966
6967Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com>
6968
6969 * config/tc-i386.c (md_assemble): Print operand number rather than
6970 using ordinal_names.
6971 (i386_operand): Likewise.
6972
6973Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com>
6974
6975 * Makefile.am (INTLLIBS): Define to work around apparent automake
6976 bug.
6977 All Makefiles: Regenerated.
6978
6979 * Many files: Added gettext invocations around user-visible
6980 strings.
6981 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
6982 HAVE_LC_MESSAGES): Define.
6983 * dep-in.sed: Added asintl.h.
6984 * po/Make-in: New file.
6985 * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
6986 Include "asintl.h".
6987 * read.c (Z_): Renamed from `_'.
6988 * Makefile.am (SUBDIRS): Added po.
6989 (POTFILES): new macro.
6990 (po/POTFILES.in): New target.
6991 ($(OBJS)): Added asintl.h.
6992 (HFILES): Likewise.
6993 (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
6994 (as_new_LDADD): Added $(INTLLIBS).
6995 (as_new_DEPENDENCIES): Added $(INTLDEPS).
6996 (gasp_new_LDADD): Added $(INTLLIBS).
6997 (gasp_new_DEPENDENCIES): New macro.
6998 * configure, aclocal.m4: Rebuilt.
6999 * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
7000 po/Makefile.
7001 (ALL_LINGUAS): Define.
7002 * macro.c: Include "asintl.h".
7003 * as.c (main): Call setlocale, bindtextdomain, and textdomain.
7004 * as.h: Include "asintl.h".
7005 * config/tc-i386.c (ordinal_names): Removed.
7006 (md_assemble): Changed error text to avoid ordinal_names.
7007 (i386_operand): Likewise.
7008 (reloc): Added as_bad to avoid i18n problems.
7009 (tc_gen_reloc): Likewise.
7010 * config/tc-arm.c (bad_args): Now a #define.
7011 (bad_pc): Likewise.
7012 * config/obj-vms.c (VMS_stab_parse): Changed type of
7013 `long_const_msg'.
7014 (global_symbol_directory): Unified strings to avoid i18n
7015 problems.
7016 * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
7017 avoid i18n problems.
7018 * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
7019 * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
7020 i18n problems.
7021 * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
7022 problems.
7023 * config/tc-v850.c (md_assemble): Changed C++ comment into C
7024 comment.
7025 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
7026 problems.
7027 * as.c (print_version_id): Added an fprintf to avoid i18n
7028 problems.
7029 * cond.c (cond_finish_check): Added as_bad call to avoid i18n
7030 problems.
7031 * expr.c (expr): Added as_warn call to avoid i18n problems.
7032 * messages.c (as_assert): Changed code to avoid i18n problems.
7033 (as_abort): Likewise.
7034 * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
7035 (s_space): Likewise.
7036 * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
7037
7038Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7039
7040 * config/tc-i386.c (check_prefix): New static function, split out
7041 from md_assemble.
7042 (struct _i386_insn): Add wait_prefix field.
7043 (md_assemble): Remove wait_prefix local variable. Use
7044 check_prefix when adding a prefix.
7045
7046 * config/tc-i386.c (current_templates): New static variable.
7047 (md_assemble): Remove current_templates local variable.
7048 (md_assemble, i386_operand): Improve error and warning messages in
7049 many places. Add RESTORE_END_STRING in many places before error
7050 return. Clarify some comments.
7051
7052 * config/tc-i386.c (struct _i386_insn): Change seg field to a two
7053 element array.
7054 (md_assemble): Parse string instruction operands, looking for
7055 segment override prefixes. Check for invalid segment prefixes on
7056 string instruction.
7057 (i386_operand): i.seg[] and max mem_operand changes for string
7058 insns.
7059 * config/tc-i386.h (EsSeg): Define.
7060
7061 * config/tc-i386.h (regKludge): Define.
7062 (iclrKludge, imulKludge): Don't define.
7063 * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
7064 code. Move ReverseRegRegmem fudges into Modrm case. Reorder
7065 opcode_modifier checks to look for more common cases first. Add
7066 default_seg for IsString case.
7067
7068Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com>
7069
7070 * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
7071 AC_DECL_YYTEXT.
7072 * configure: Rebuild with new automake and libtool.
7073 * aclocal.m4, Makefile.in: Likewise.
7074
7075 * doc/Makefile.am (as.dvi): New target.
7076 * doc/Makefile.in: Rebuild.
7077
7078Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
7079
7080 * configure.in: Added sparc86x support.
3e87a760 7081
252b5132 7082 * configure: Rebuild.
3e87a760 7083
252b5132
RH
7084 * config/tc-sparc.c (lookup_arch): Added arch_type to struct
7085 sparc_arch.
7086 (md_parse_option): Warn if -EL is not supported for this architecture.
7087
7088 * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
3e87a760 7089
252b5132
RH
7090Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com)
7091
66778679
RH
7092 * config/tc-mips.c (mips_ip): Note when we use get match on
7093 the full instruction name.
252b5132
RH
7094
7095Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com>
7096
7097 * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
7098 back into the expression to handle add/sub simplification correctly.
7099
7100Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
7101
66778679 7102 * config/tc-mips.c (hilo_interlocks): Remove 4300.
252b5132
RH
7103
7104Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com>
7105
7106 * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
7107 #<n>' instruction.
7108
7109Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com>
7110
7111 * symbols.c (max_indent_level): New global.
7112 (print_symbol_value_1): Use it.
7113 * expr.h (expr_build_dot): Declare.
7114 * expr.c (expr_build_dot): New function.
7115
7116Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com>
7117
7118 * symbols.c (print_binary): New function.
7119 (print_expr_1): Call it.
7120
7121Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7122
7123 * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
7124 operand in the opcode.
7125
7126Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7127
7128 * config/tc-i386.h: Reorder operand flags and opcode modifier
7129 flags for clarity. Remove unused definitions: Unknown,
7130 ImmUnknown, DispUnknown, NoModrm.
7131 * config/tc-i386.c (type_names): Add missing Debug type.
7132 (md_assemble): Better duplicate prefix checking. Quicker string
7133 instruction check via new opcode_modifier flag.
7134
7135Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com>
7136
7137 * doc/as.texinfo (Invoking): Clarify -Wa example.
7138
7139Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com>
7140
3e87a760 7141 * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
252b5132
RH
7142 (s_mips_weakext): Define.
7143 * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
3e87a760
AM
7144 * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
7145 defined(TC_MIPS).
7146
252b5132
RH
7147Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com)
7148
7149 * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
7150 is an error if the value can not be computed at assembly time.
7151 * config/tc-mn10300.c (tc_gen-reloc): Likewise.
7152
7153Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
7154
7155 * gasp.c (main): Set next field of new include_path structure to
7156 NULL. From Avery Pennarun <averyp@gdc.ca>.
7157
7158 * read.c (s_mri_sect): Call as_bad rather than abort for an
7159 unsupported MRI target.
7160
7161Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
7162
7163 * config/tc-arm.c (arm_validate_fix): New function. Determine if
7164 the destination of a branch instruction should be altered.
7165 (find_real_start): New function: Locate the real, Thumb coded
7166 start of a Thumb function.
7167 (do_t_branch23): Alter the destination of branches to Thumb
3e87a760 7168 functions.
252b5132
RH
7169
7170 * config/tc-arm.h: Define TC_VALIDATE_FIX.
7171
7172Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com>
7173
7174 * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
7175 also.
7176
7177Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7178
7179 * doc/as.texinfo: Use @itemx for a secondary item in a table.
7180 * doc/c-hppa.texi: Likewise.
7181
7182Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com>
7183
7184 * Makefile.am: Rebuild dependencies.
7185 * Makefile.in: Rebuild.
7186
7187 * Makefile.am (DEP_INCLUDES): New variable.
7188 (.dep1): Change to work when srcdir is not an absolute path.
7189 (.tcdep, .objdep, .dep2, dep.sed): Likewise.
7190 * Makefile.in: Rebuild.
7191
7192Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com>
7193
7194 * config/tc-i386.h, config/tc-i386.c: Revert March 24
7195 LinearAddress patch.
7196
7197 * configure.in: Set version to 2.9.1.
7198 * configure: Rebuild.
7199
7200 * Branched binutils 2.9.
7201
7202Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7203
7204 * config/tc-i386.h (FWait): Define.
7205 * config/tc-i386.c (md_assemble): Emit fwait prefix before any
7206 other prefixes. Check FWait flag in opcode table to see which
7207 instructions require an fwait prefix.
7208
7209Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7210
7211 * stabs.c (get_stab_string_offset): Always create a stab string
7212 section.
7213
7214Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com>
7215
7216 Fix some gcc -Wall warnings:
7217 * atof-generic.c (atof_generic): Add casts to avoid warnings.
7218 * ehopt.c (eh_frame_code_alignment): Likewise.
7219 * expr.c (integer_constant, operand): Likewise.
7220 * frags.c (frag_align): Likewise.
7221 * gasp.c (level_0, change_base, doinstr): Likewise.
7222 * hash.c (hash_ask): Likewise.
7223 * listing.c (listing_page, calc_hex, print_lines): Likewise.
7224 (debugging_pseudo): Likewise.
7225 * macro.c (define_macro, check_macro): Likewise.
7226 * read.c (read_a_source_file, s_align, s_float_space): Likewise.
7227 (ignore_rest_of_line, float_cons): Likewise.
7228 * symbols.c (decode_local_label_name): Likewise.
7229 * write.c (record_alignment, cvs_frag_to_fill): Likewise.
7230 (fixup_segment, number_to_chars_bigendian): Likewise.
7231 (number_to_chars_littleendian): Likewise.
7232 * config/atof-ieee.c (gen_to_words): Likewise.
7233 * config/tc-sparc.c (md_begin, md_assemble): Likewise.
7234 (sparc_ip, parse_keyword_arg, s_common): Likewise.
7235 * read.c (output_big_sleb128): Initialize locals to avoid
7236 warnings.
7237 (output_big_uleb128, equals): Likewise.
7238 * atof-generic.c (atof_generic): Change number_of_digits_* locals
7239 to unsigned int. Change zeros to unsigned int.
7240 * cond.c (s_if): Add return to default case.
7241 * frags.c (frag_now_fix): Change return type to addressT.
7242 * frags.h (frag_now_fix): Update declaration.
7243 * listing.c (file_info_struct): Change linenum to unsigned int.
7244 (struct list_info_struct): Change hll_line to unsigned int.
7245 (print_source): Update format string.
7246 * read.c (emit_expr): Change scan to unsigned int, and don't
7247 bother to initialize it.
7248 * symbols.c (dollar_label_count): Change to unsigned long.
7249 * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
7250 * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
7251 * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
7252
7253Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com>
7254
7255 * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
3e87a760 7256 mcf5200 just as we do for m68000.
252b5132
RH
7257 (m68k_init_after_args): Likewise.
7258 (md_estimate_size_before_relax): Likewise.
7259
7260Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com>
7261
7262 * config/tc-v850.c (md_assemble): Store relocation addend in
7263 fixup instead of instruction.
7264
7265Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7266
7267 * config/tc-i386.c (md_assemble): Swap template arguments to
7268 CONSISTENT_REGISTER_MATCH macro in reverse direction test.
7269 This macro is currently symmetric, so passing them the wrong
7270 way didn't cause any problem, but may if the macro is changed
7271 in the future.
7272 After copying template to i.tm, use i.tm. rather than t-> to
7273 access fields, and make t a const*
7274 Move i.tm.operand_types[] swap to immediately after the copy.
7275
7276Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com>
7277
7278 * expr.h (expr_build_uconstant): Add prototype.
7279 (expr_build_unary,expr_build_binary): Add prototypes.
7280 * expr.c (expr_build_uconstant): New function.
7281 (expr_build_unary,expr_build_binary): New functions.
7282
7283Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
7284
66778679
RH
7285 * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
7286 * macro.c (macro_expand_body): Increase buffer size.
7287 * messages.c (as_warn): Likewise.
252b5132
RH
7288 (as_warn_where, as_bad, as_bad_where): Likewise.
7289
7290Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com>
7291
7292 Based on patch from H.J. Lu <hjl@gnu.org>:
7293 * Makefile.am (DISTSTUFF): New variable.
7294 (diststuff): New target.
7295 * Makefile.in: Rebuild.
7296
7297Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com>
7298
7299 * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
7300 m32r_elf_section_change_hook.
7301
7302 * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
7303 emit a nop if a section ends with a 16 bit instruction.
7304
7305Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com>
7306
7307 * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
7308 s_lcomm rather than obj_coff_lcomm.
7309 (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
7310
7311Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
7312
7313 * config/tc-i386.h (LinearAddress): Define.
7314 * config/tc-i386.c (md_assemble): If LinearAddress is set for the
7315 instruction, don't use a default segment.
7316
7317Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
7318
7319 * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
7320 * configure: Rebuild.
7321
7322Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com>
7323
7324 * aclocal.m4, configure: Rebuild with libtool 1.2.
7325
7326Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com>
7327
7328 * config/tc-arm.c (md_apply_fix3): fix code to test the range of
3e87a760
AM
7329 PC relative branches. Patch courtesy of Jonathan Walton.
7330
252b5132 7331
252b5132
RH
7332Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com>
7333
7334 * configure.in (emulations): Add thumb-pe target.
7335
7336 * configure (emulations): Add thumb-pe target.
7337
73381998-03-17 Ken Raeburn <raeburn@cygnus.com>
7339
7340 * itbl-lex.l (yywrap): Don't define if already defined as a
7341 macro.
7342
7343Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com>
7344
7345 * depend.c (quote_string_for_make): New function.
7346 (wrap_output): Use it.
7347
7348Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com>
7349
7350 * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
7351 structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
7352
7353Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com>
7354
7355 * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
7356 Recognize -GN and -relax.
7357 (md_begin): Initialize gp size from -G switch.
7358 (alpha_force_relocation): Always force if -relax.
3e87a760 7359 (alpha_align): Take a new argument that will specify when to
252b5132
RH
7360 emit an R_ALPHA_ALIGN relocation (though we don't do that now).
7361 Change all callers. Emit nop alignment padding as nop+unop pair.
7362
7363Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com>
7364
7365 * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
7366 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
7367
7368Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com>
7369
7370 * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
7371 require padding to the next long word boundary.
7372
7373Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com>
7374
7375 * cgen.c: #include symcat.h.
7376 * config/tc-m32r.c: Likewise.
7377
7378Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com)
7379
7380 * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
7381 absolute expressions instead of '$' prefixed register names.
7382
7383Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com>
7384
7385 * read.c (s_set): Record file and line info for symbols when -as.
7386 (pseudo_set): Don't overwrite that dummy fragment.
7387
7388Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com>
7389
7390 * config/tc-ppc.c (md_pseudo_table): Add "section".
7391 (ppc_named_section): New static function.
7392
7393Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com>
7394
7395 * tc-ppc.c (ppc_biei): Cache the last symbol we inserted
7396 so we don't have to scan the entire list.
7397
7398Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com>
7399
7400 * config/tc-d30v.c (parallel_ok): For the explicitly parallel
3e87a760
AM
7401 case, allow the parallel instructions to modify the same flag
7402 bits.
252b5132
RH
7403
7404Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com>
7405
7406 * listing.c (list_symbol_table): Categorize symbols by
7407 undefined_section rather than sy_frag->line == NULL.
7408
7409Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
7410
7411 * Makefile.am (install-exec-local): Install properly when ln
7412 fails or tooldir == prefix.
7413
7414Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com>
7415
7416 * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
7417 Test result of insert_operand for error.
7418
7419Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
7420
7421 * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
7422 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
7423 * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
7424 * doc/Makefile.in: Rebuild.
7425
7426Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com>
7427
7428 * config/tc-mips.c (macro_build): Handle operand type 'C'.
7429 (macro): Fix handling of M_COP[0-3].
7430
7431Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com>
7432
7433 Based on patches from Ross Harvey <ross@teraflop.com>:
7434 * macro.c (ISSEP): Only treat '<' and '>' as separator characters
7435 if macro_alternate or macro_mri.
7436 (getstring): Remove support for byte constants between < and >.
7437 (get_any_string): '<' only starts a string if macro_alternate or
7438 macro_mri.
7439 (macro_expand_body): Permit keyword parameters following
7440 positional parameters.
7441
7442 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
7443 * configure.in (alpha*-*-netbsd*): New target.
7444 * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
7445 * configure: Rebuild.
7446
7447 * as.h (flag_warn_suppress_instructionswap): Move from here...
7448 * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
7449 here, and make static.
7450
7451 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
7452 BFD_ASSEMBLER or MANY_SEGMENTS.
7453
7454 * as.c (show_usage): Update bug-gnu-utils address.
7455 * gasp.c (show_usage): Likewise.
7456 * doc/as.texinfo (Bug Reporting): Likewise.
7457
7458Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com)
7459
66778679 7460 * config/tc-mips.c (load_address): Don't use mips III or mips IV
252b5132
RH
7461 insns regardless of the size of a pointer if we're in mips I or
7462 MIPS II mode.
66778679 7463 (macro, macro2, s_cprestore, s_cpadd): Likewise.
252b5132
RH
7464
7465Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7466
3e87a760 7467 Fix rac to accept only a0:
252b5132
RH
7468 * tc-d10v.c (parallel_ok, find_opcode):
7469 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
7470 Introduce OPERAND_GPR.
7471
7472Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com>
7473
7474 * read.c (s_fill): Handle non-constant repeat counts by creating
7475 an rs_space fragment.
7476
7477Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
7478
7479 * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
7480 from as_bad to as_warn.
7481
7482Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com>
7483
7484 * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
7485 * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
7486 * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
7487
7488Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com>
7489
7490 * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
7491 seg_fix_rotP rather than fix_root from seg_info.
7492
7493Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com>
7494
7495 * expr.c: Add support for 0x1_2_3_4 bignums.
7496
7497Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
7498
7499 * configure.in: Change -linux* to -linux-gnu*.
7500 * configure: Rebuild.
7501
7502 * app.c (do_scrub_begin): Treat \r as whitespace.
7503
7504Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
7505
7506 * Makefile.am: Update dependencies.
7507 * Makefile.in: Rebuild.
7508
7509Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
7510
7511 * configure, aclocal.m4: Rebuild with new libtool.
7512
7513Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com)
7514
66778679
RH
7515 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
7516 the argument to bfd_set_arch_mach.
7517 (load_address): Use bfd_arch_bits_per_address to determine the
7518 bit size of an address instead of looking at the isa level.
7519 (macro, macro2, s_cprestore, s_cpadd): Likewise.
252b5132
RH
7520
7521Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com>
7522
7523 * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
7524
7525Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com>
7526
7527 * ehopt.c: New file.
7528 * as.h (enum _relax_state): Add rs_cfa.
7529 (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
7530 (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
7531 * read.c (emit_expr): Call check_eh_frame.
7532 * write.c (cvt_frag_to_fill): Handle rs_cfa.
7533 (relax_segment): Likewise.
7534 * Makefile.am: Rebuild dependencies.
3e87a760 7535 (GAS_CFILES): Add ehopt.c.
252b5132
RH
7536 (GENERIC_OBJS): Add ehopt.o.
7537 * doc/internals.texi (Frags): Document rs_cfa.
7538
7539 * as.c (show_usage): Mention --traditional-format.
7540 (parse_args): Accept --traditional-format.
7541 * as.h (flag_traditional_format): Declare.
7542 * output-file.c (output_file_create): If flag_traditional_format,
7543 set BFD_TRADITIONAL_FORMAT on stdoutput.
7544 * doc/as.texinfo, doc/as.1: Document --traditional-format.
7545
7546 * config/tc-mips.c (append_insn): Make sure that if we have a
7547 fixup for an unmatched %hi reloc, it does not associated with a
7548 variant frag.
7549
7550 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
7551 * doc/Makefile.in: Likewise.
7552
7553Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com>
7554
7555 * config/tc-m32r.c (check_for_side_effects): New function.
7556 (can_make_parallel): Add checks for instruction side effects
7557 clashing with the other instruction.
7558 (assemble_parallel_insn): Improve warning messages. Return error
7559 message from non-swapped instruction order.
7560
7561Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk>
7562
7563 * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
7564
7565 * config/tc-arm.h: Replace md_after_pass_hook definition with a
3e87a760
AM
7566 md_cleanup definition. This moves the forced literal output to
7567 the end of the source pass, and avoids macro's inserting literals
7568 into the code immediately after the macro expansion.
252b5132
RH
7569
7570Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com>
7571
7572 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
7573 a gas internal symbol is adjustable.
7574 * config/tc-ppc.h (tc_fix_adjustable): Likewise.
7575
7576 * as.h: If gcc version greater than 2.6, use `__format__' and
7577 `__printf__' in function attributes, rather than `format' and
7578 `printf'.
7579
7580Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
7581
7582 * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
7583
7584Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
7585
7586 Add tms320c30 support:
7587 * config/tc-tic30.h: New file.
7588 * config/tc-tic30.c: New file.
7589 * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
7590 TARGET_FORMAT as "coff-tic30".
7591 * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
7592 * Makefile.am: Rebuild dependencies.
7593 (CPU_TYPES): Add tic30.
7594 (CPU_OBJ_VALID): tic30-aout is valid.
7595 (TARGET_CPU_CFILES): Add config/tc-tic30.c.
7596 (TARGET_CPU_HFILES): Add config/tc-tic30.h.
7597 * configure, Makefile.in: Rebuild.
7598
7599Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
7600
7601 * config/tc-v850.c (md_assemble): Improvements to error messages.
7602
7603Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
7604
7605 * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
3e87a760 7606 BFD_RELOC_HI16_S to store the high bits of any value.
252b5132
RH
7607
7608 * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
7609 (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
7610 assembler calculate relocations to any external symbol at all.
7611 * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
7612 involving generation of pc-relative relocs.
7613 (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
7614 has been moved to md_apply_fix3.
7615
7616 * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
7617 (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
7618 which actually means (the address of identifier's GOT entry) +
7619 constant, which is not particularly useful.
7620
7621Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com>
7622
7623 * read.h (include_dirs): Declare.
7624 (include_dir_count,include_dir_maxlen): Declare.
7625
7626Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com>
7627
7628 * configure.in: Correct check for shared opcodes library.
7629 * configure: Rebuild.
7630
7631 * listing.c (buffer_line): If we can't open the file, set at_end.
7632 (listing_print): Remove unused local variable fi.
7633
7634 * config/m68k-parse.y (reglistpair): Handle register list in
7635 either order.
7636
7637 * config/vms-conf.h: Don't undef VERSION.
7638
7639Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
7640
7641 * Makefile.am (CONFIG_OBJS): New variable, containing part of old
7642 OBJS variable.
7643 (GENERIC_OBJS): New variable, with the rest of the old OBJS
7644 variable.
7645 (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
7646 ($(srcdir)/make-gas.com): Rename from make-gas.com.
7647 (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
7648 (EXTRA_DIST): Define.
7649 * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
7650 explicitly rather than via the list of object files.
7651 (gcc-as.opt): New file created when make-gas.com is run.
7652 * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
7653 itbl-cpu.h} to #include appropriate file rather than copying that
7654 file.
7655 * config/vms-conf.h: Synchronize with current config.in.
7656 * Makefile.in: Rebuild.
7657
7658Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com>
7659
7660 * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
7661 (parallel_ok): Relaxed parallel subinstruction dependency check.
7662
7663Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
7664
7665 * as.h (flag_warn_suppress_instructionswap): added new flag.
3e87a760 7666 * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
252b5132
RH
7667 command line argument.
7668 * tc-d10v.c (write_2_short): emit "Swapping instructions"
7669 warning only if flag_warn_suppress_instructionswap is false.
7670
7671Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
7672
7673 * configure.in (i386-*-mingw32*): New target.
7674 * configure: Rebuild.
7675
7676Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com>
7677
7678 * symbols.c (resolve_symbol_value): Don't set the segment if it
7679 hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
7680
7681 * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
7682 S_GET_SEGMENT.
7683
7684Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
7685
7686 as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
7687 depends upon HAVE_{UNLINK,REMOVE} values rather than host
7688 compiler.
7689
7690Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
7691
7692 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
7693
7694Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com>
7695
7696 * config/tc-v850.c (v850_insert_operand): Display instruction when
7697 an error is encountered.
7698
7699Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
7700
7701 * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
7702 (i386-*-sco3.2v5*coff): New target.
7703 (i386-*-sco3.2*): New target.
7704 * configure: Rebuild.
7705
7706Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com>
7707
7708 * config/tc-v850.c: Tidy error message production.
7709
7710Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com>
7711
7712 * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
7713 validate_immediate return value in the right type for comparisons
7714 to FAIL.
7715
7716Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com>
7717
7718 * listing.c (MAX_BYTES): Use listing variables not constants.
7719 (data_buffer): No longer an array, but a pointer.
7720 (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
7721 (listing_listing): Allocate data_buffer.
7722
7723Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com>
7724
7725 * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
7726 --listing-rhs-width, --listing-cont-lines.
7727 (show_usage): Update.
7728 * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
7729 (listing_lhs_cont_lines, listing_rhs_width): New vars.
7730 (print_lines): Use the variables instead of the constants.
3e87a760 7731 (listing_listing): Likewise.
252b5132 7732 * listing.h: Declare the new vars.
3e87a760 7733
252b5132
RH
7734Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com>
7735
7736 * as.c (parse_args): Add --keep-locals alias for -L.
7737 Add --strip-local-absolute.
7738 (show_usage): Update.
7739 * as.h (flag_strip_local_absolute): New flag.
7740 * symbols.c (S_IS_LOCAL): Use it.
7741 * config/obj-aout.h (S_IS_LOCAL): Likewise.
7742 * config/obj-bout.h (S_IS_LOCAL): Likewise.
7743 * config/obj-coff.h (S_IS_LOCAL): Likewise.
7744
7745Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com>
7746
7747 * config/tc-m32r.c: Detect if explicitly parallel instructions
3e87a760 7748 might have an io conflict and issue a warning message.
252b5132
RH
7749
7750Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com>
7751
7752 * cgen.c (cgen_save_fixups, cgen_restore_fixups,
7753 cgen_swap_fixups): Functions to save, restore and swap the fixup
7754 chain with a backup copy.
7755 (cgen_asm_finish_insn): Returns address of constructed insn.
7756
7757Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com>
7758
7759 * listing.c (file_info_struct): Remove FILE, add POS.
7760 (last_open_file_info, last_open_file): New; a one entry FILE* cache.
7761 (file_info): Don't open the file.
7762 (buffer_line): Check for the file in the last_open cache, updating
7763 as necessary.
7764 (print_source): Don't reference file_info->file.
7765 (listing_listing): Likewise.
7766 (listing_print): Close the file in the cache, if any.
7767
7768Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com>
7769
7770 * read.c (dwarf_file_string): New file static variable.
7771 (emit_expr): Look for constant sequence that leads up to a file
7772 name in DWARF debugging output.
7773 (stringer): Use dwarf_file_string to decide whether to accept a
7774 string as a file name.
7775
7776Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com>
7777
7778 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
7779 (crack_operand): Add reg->reglst MRI hack.
7780 (r_seg): Put reglst symbols in reg_section.
7781 (m68k_frob_symbol): Frob reglst symbols into absolute_section.
7782
7783Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com>
7784
7785 * tc-sh.c (get_specific): Handle SGR & DBR.
7786
7787Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com>
7788
7789 * tc-h8300.c (parse_reg): Take the length of the symbol into
7790 account when attempting to match a register name.
7791 * tc-h8500.c (parse_reg): Likewise.
7792
7793Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com>
7794
7795 * cgen.c: Formatting changes to improve readability.
7796
7797Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com)
7798
7799 * config/tc-mips.c (macro): Rework division code to avoid unfilled
7800 delay slot.
7801
7802Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com>
7803
7804 Based on a patch from Jim Wilson
7805 * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
7806 (tc_gen_reloc): Handle cross section PC relative relocs
7807 correctly.
7808
7809Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
7810
7811 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
7812
7813Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
7814
7815 * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
7816 (expr_jmp_buf): New static local.
7817 (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
7818 (cgen_md_operand): New function.
7819 * tc-m32r.c: Clean up pass over `struct foo' usage.
7820 (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
7821
7822Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com>
7823
7824 * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
7825 (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
7826
7827Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com>
7828
7829 * config/tc-i386.c (i386_operand): Give an error if there are
7830 unrecognized characters after an expression.
7831
7832For older changes see ChangeLog-9697
This page took 0.720489 seconds and 4 git commands to generate.