* blockframe.c (generic_get_saved_register): Spelling fix.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
d0398d6a
NC
12001-01-12 Nick Clifton <nickc@redhat.com>
2
3 * as.c (print_args): Update copyright date to 2001.
4
2d73a4ca
NC
52001-01-12 Peter Targett <peter.targett@arccores.com>
6
7 * doc/c-arc.texi: New file.
8 Some sections to be expanded.
9
6e0b89ee
AM
102001-01-12 Alan Modra <alan@linuxcare.com.au>
11
12 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
13 (md_parse_option): Always accept "--32".
14
0d2bcfaf
NC
152001-01-11 Peter Targett <peter.targett@arccores.com>
16
17 * as.h (TC_ARC): Ensure struc-symbol.h included.
18 * as.c (dwarf2dbg.h): Include to remove implicit declaration
19 warnings.
20 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
21 (TARGET_SYMBOL_FIELDS) added.
22
23 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
24 * doc/c-arc.texi: New file.
25 Some sections to be expanded.
26 * doc/as.texinfo: Update command-line options.
27 Removed outdated text for ARC dependant features, instead include
28 text from above file.
29
30 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
31 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
32 (targ-cpu.h) header.
33 * config/tc-arc.h:
34 * config/tc-arc.c: New updated configuration for
35 ARC, including selection of core variants, and extensibility of
36 instructions, registers etc. through directives.
37
38 * config/tc-arc.c (arc_extinst): Minor corrections for
39 error messages.
40 (arc_common) Likewise. Make alignment argument optional for local
41 symbols also, with default of zero.
42
88051039
SC
432001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
44
45 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
46 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
47 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
48 and fix_new_exp() instead.
49 (md_convert_frag): For indexed post byte use the symbol value
50 rather than the displacement.
51 (md_relax_table): Fix indexed offset relax.
52
d8273f3b
SC
532001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
54
55 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
56 relax weak symbols.
57 (relaxable_symbol): New function.
58
eea2ad45
AJ
592001-01-11 Andreas Jaeger <aj@suse.de>
60
61 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
62 not used anywhere.
63
7a91e76a
NC
642001-01-10 Nick Clifton <nickc@redhat.com>
65
66 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
67 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
68
aa257fcd
NC
692001-01-10 Nick Clifton <nickc@redhat.com>
70
71 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
72 character used to dollar local symbols.
73 (LOCAL_LABEL_CHAR): New constant - the magic character used to
74 local label symbols.
75 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
76 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
77 if defined.
78 Use LOCAL_LABEL_CHAR.
79 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
80 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
81 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
82
b77a7acd
AJ
832001-01-08 Bo Thorsen <bo@suse.de>
84
85 * config/tc-i386.c (i386_immediate, i386_displacement):
86 GOTPCREL check fix.
87
5c2bd011
ILT
882001-01-07 Ian Lance Taylor <ian@zembu.com>
89
90 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
91 in last change.
92
46a04e3a
PB
932001-01-07 Philip Blundell <philb@gnu.org>
94
95 * doc/as.texinfo (Bug Reporting): Update email address for
96 reports.
97 * README: Likewise.
98
b96d3a20
JH
99Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz>
100
101 * configure.in: Define DEFAULT_ARCH for i386.
102 * tc-i386.c (md_assemble): Return after the error message;
103 move testing for 64bit operands to proper place.
104
55b62671
AJ
1052001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
106
107 * doc/as.texinfo: Document '#' as comment character for i386 and
108 x86_64. Add AMD x86-64 into menu of machine dependent information.
109
110 * doc/c-i386.texi: Document x86_64 extensions.
111
7bc70a8e
JH
112Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz>
113
114 * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
115
a167610d
JH
116Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz>
117
118 * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
119 * NEWS: Add note about Pentium4 support.
120
09f131f2
JH
121Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz>
122
123 * tc-i387.c (pi, pte, pt): Update.
124 (type_names): Add new types.
125
6f8c0c4c
JH
126Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz>
127
128 * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
129 CpuUnknown): Renumber
130 (CpuP4, CpuSSE2): New.
131 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
132
b96ed59a
PB
1332001-01-03 Philip Blundell <pb@futuretv.com>
134
135 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
136 relocs.
137 (alpha_fix_adjustable): Likewise.
138 (md_apply_fix): Likewise.
139
a735d1cd
L
1402000-12-31 H.J. Lu <hjl@gnu.org>
141
142 * listing.c (listing_message): Allocate string only if it is
143 used.
144
145 * configure: Rebuild.
146
67db5ab4
HPN
1472000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
148
149 * doc/internals.texi (Relaxing with a table) <after relaxation>:
150 Point out caveats with generating fixups for the opcode in a frag.
151
c0d8940f
JH
152Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz>
153
154 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
155 * NEWS: Add x86_64.
156
087f563c
L
1572000-12-29 H.J. Lu <hjl@gnu.org>
158
159 * listing.c (calc_hex): Print the variable part only if the
160 fragment type is rs_fill.
161
8108ad8e
HPN
1622000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
163
164 * doc/internals.texi (tc_conditional_pseudoop,
165 TC_LINKRELAX_FIXUP): Fix typos.
166
799051fc
RH
1672000-12-28 Richard Henderson <rth@redhat.com>
168
169 * write.c (subsegs_finish): Fix thinko last change -- don't
170 "optimize" the alignment == 0 case.
171
0a9ef439
RH
1722000-12-28 Richard Henderson <rth@redhat.com>
173
174 * as.h (rs_align_test): New.
175 * frags.c (NOP_OPCODE): Move default from read.c.
176 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
177 (frag_align_code): New.
178 * frags.h (frag_align_code): Declare.
179 * read.c (NOP_OPCODE): Remove.
180 (do_align): Use frag_align_code.
181 * write.c (NOP_OPCODE): Remove.
182 (get_recorded_alignment): New.
183 (cvt_frag_to_fill): Handle rs_align_test.
184 (relax_segment): Likewise.
185 (subsegs_finish): Align last subseg in section to the
186 section alignment. Use frag_align_code.
187 * write.h (get_recorded_alignment): Declare.
188 * config/obj-coff.c (size_section): Handle rs_align_test.
189 (fill_section, fixup_mdeps): Likewise.
190 (write_object_file): Use frag_align_code.
191
192 * config/tc-alpha.c (alpha_align): Use frag_align_code.
193 (alpha_handle_align): New.
194 * config/tc-alpha.h (HANDLE_ALIGN): New.
195 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
196
197 * config/tc-i386.h (md_do_align): Use frag_align_code.
198 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
199
200 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
201 (ia64_handle_align): New.
202 * config/tc-ia64.h (HANDLE_ALIGN): New.
203 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
204
205 * config/tc-m32r.c (m32r_do_align): Remove.
206 (m32r_handle_align): New.
207 (fill_insn): Use frag_align_code.
208 * config/tc-m32r.h (md_do_align): Remove.
209 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
210 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
211 * config/tc-mips.c, config/tc-mips.h: Similarly.
212
213 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
214 (sh_handle_align): Likewise. Handle rs_align_code.
215 (sh_do_align): Remove.
216 * config/tc-sh.h (md_do_align): Remove.
217 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
218
219 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
220 (sparc_handle_align): Likewise. Handle rs_align_code.
221 * config/tc-sparc.h (md_do_align): Remove.
222 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
223
3cd4dda7
DD
2242000-12-22 DJ Delorie <dj@redhat.com>
225
226 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
227 when we assemble the first half of a pair.
228
ec56dfb4
L
2292000-12-22 H.J. Lu <hjl@gnu.org>
230
231 * config/tc-i386.c (reloc): Update the macro for non-bfd
232 assembler.
233 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
234
ad1172d4
L
2352000-12-22 H.J. Lu <hjl@gnu.org>
236
237 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
238
3e73aa7c
JH
239Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
240
241 * tc-i386.h (i386_target_format): Define even for ELFs.
242 (QWORD_MNEM_SUFFIX): New macro.
243 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
244 New macros
245 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
246 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
247 ImmExt): Renumber.
248 (Size64, No_qSuf, NoRex64, Rex64): New macros.
249 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
250 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
251 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
252 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
253 Renumber.
254 (Reg, WordReg): Add Reg64.
255 (Imm): Add Imm32S and Imm64.
256 (EncImm): New.
257 (Disp): Add Disp64 and Disp32S.
258 (AnyMem): Add Disp32S.
259 (RegRex, RegRex64): New macros.
260 (rex_byte): New type.
261 * tc-i386.c (set_16bit_code_flag): Kill.
262 (fits_in_unsigned_long, fits_in_signed_long): New functions.
263 (reloc): New parameter "signed"; support x86_64.
264 (set_code_flag): New.
265 (DEFAULT_ARCH): New macro; default to "i386".
266 (default_arch): New static variable.
267 (struct _i386_insn): New fields Operand_PCrel; rex.
268 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
269 (flag_code): New enum and static variable.
270 (use_rela_relocations): New static variable.
271 (flag_code_names): New static variable.
272 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
273 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
274 K6 and Athlon.
275 (i386_align_code): Return plain "nop" for x86_64.
276 (mode_from_disp_size): Support Disp32S.
277 (smallest_imm_type): Support Imm32S and Imm64.
278 (offset_in_range): Support size of 8.
279 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
280 (md_pseudo_table): Add "code64"; use set_code_flat.
281 (md_begin): Emit sane error message on hash failure.
282 (tc_i386_fix_adjustable): Support x86_64 relocations.
283 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
284 instructions supported on particular arch just partially,
285 output of 64bit immediates, handling of Imm32S and Disp32S type.
286 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
287 (i386_displacement): Likewise.
288 (i386_index_check): Cleanup; support 64bit addresses.
289 (md_apply_fix3): Support x86_64 relocation and rela.
290 (md_longopts): Add "32" and "64".
291 (md_parse_option): Add OPTION_32 and OPTION_64.
292 (i386_target_format): Call even for ELFs; choose between
293 elf64-x86-64 and elf32-i386.
294 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
295 (tc_gen_reloc): Support rela relocations and x86_64.
296 (intel_e09_1): Support QWORD.
297
21d6c4af
DN
2982000-12-15 Diego Novillo <dnovillo@redhat.com>
299
300 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
55b62671 301 it's not an offset expression.
21d6c4af
DN
302 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
303 keep the braces '[' and ']' in the output string.
304 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
305 != FLAT. There is no such op_modifier.
306
6717891c
NC
3072000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
308
309 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
310 if we have it.
311
ee515fb7
KH
3122000-12-13 Kazu Hirata <kazu@hxi.com>
313
314 * as.h: Fix formatting.
315 * cgen.h: Likewise.
316 * dwarf2dbg.c: Likewise.
317 * input-scrub.c: Likewise.
318 * read.h: Likewise.
319
349a994c
DD
3202000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
321
322 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
323 configure: Regenerate.
324
42dbf88c
NC
3252000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
326
327 * dwarf2dbg.c: #include <limits.h> only if it exists.
328
0485cba3
AM
3292000-12-13 Rodney Brown <RodneyBrown@mynd.com>
330
331 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
332 (md_apply_fix): Here too.
333
514829c3
JW
3342000-12-12 Jim Wilson <wilson@redhat.com>
335
336 * config/tc-ia64.h (ia64_init): Add prototype.
337
92eb7b32
L
3382000-12-12 H.J. Lu <hjl@gnu.org>
339
340 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
341
342 * read.h (outputting_stabs_line_debug): Change it to int.
343 * stabs.c (outputting_stabs_line_debug): Likewise.
344
8141c27d
GK
3452000-12-12 Geoffrey Keating <geoffk@redhat.com>
346
347 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
348 the address of a function result.
349
5d6f4f16
GK
3502000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
351
352 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
353 (md_assemble): Call dwarf2_emit_insn.
354 (shlib): Fix typo SHILB -> SHLIB.
355 (md_parse_option): Likewise.
356 (ppc_elf_validate_fix): Likewise:
357 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
358
d4c0c039
NC
3592000-12-12 Nick Clifton <nickc@redhat.com>
360
361 * cgen.h: Fix formatting.
362 * input-scrub.c: Fix formatting.
363 * macro.c: Fix formatting.
e972090a 364 * config/tc-mips.c: Fix formatting.
584da044 365 * doc/c-mips.texi: Fix formatting.
55b62671 366
f16b83df
JH
367Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
368
369 * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
370 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
371 references.
372 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
373 otherwise.
374 * tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
375 (No_dSuf): Kill.
376
377 * i386.h (*_Suf): Remove No_dSuf.
378 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
379 Remove.
380 (i386_optab): Remove 'd' in the suffixes.
381
50705ef4
AM
3822000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
383
384 * config/tc-i386.c (T_SHORT): Undefine before defining.
385
beae10d5
KH
3862000-12-05 Kazu Hirata <kazu@hxi.com>
387
388 * config/tc-mips.c: Fix formatting.
389
bccba5f0 3902000-12-04 Matthew Hiller <hiller@redhat.com>
50705ef4
AM
391
392 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
393 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
394 (md_show_usage): Ditto.
395 (md_parse_option): Ditto.
396 (d10v_cleanup): Writes pending instruction only if
397 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
bccba5f0 398 Fix compile time warning messages.
50705ef4
AM
399
400 * doc/c-d10v.texi: Documents new options.
bccba5f0
NC
401
4022000-12-04 Matthew Hiller <hiller@redhat.com>
403
50705ef4 404 * stabs.c (outputting_stabs_line_debug): New variable.
bccba5f0
NC
405 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
406 function entry and unset at function exit.
407
50705ef4 408 * read.h (outputting_stabs_line_debug): New extern declaration.
bccba5f0
NC
409
410 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
411
412 * dwarf2dbg.c: Fix compile time warning messages.
413
bc805888
KH
4142000-12-03 Kazu Hirata <kazu@hxi.com>
415
416 * config/tc-a29k.c: Fix formatting.
417 * config/tc-alpha.c: Likewise.
418 * config/tc-arm.c: Likewise.
419 * config/tc-cris.c: Likewise.
420 * config/tc-hppa.c: Likewise.
421 * config/tc-i370.c: Likewise.
422 * config/tc-i386.c: Likewise.
423 * config/tc-i860.c: Likewise.
424 * config/tc-i960.c: Likewise.
425 * config/tc-ia64.c: Likewise.
426 * config/tc-m68hc11.c: Likewise.
427 * config/tc-m68k.c: Likewise.
428 * config/tc-m88k.c: Likewise.
429 * config/tc-pj.c: Likewise.
430 * config/tc-ppc.c: Likewise.
431 * config/tc-sh.c: Likewise.
432 * config/tc-sparc.c: Likewise.
433 * config/tc-tahoe.c: Likewise.
434 * config/tc-vax.c: Likewise.
435
3dacdf2e
NC
4362000-12-01 Chris Demetriou <cgd@sibyte.com>
437
50705ef4
AM
438 * config/tc-mips.c (mips_ip): When calculating offsets,
439 don't accept as constant the difference between the
440 addresses of symbols in two different sections.
441
442 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
443 specifiers.
444 (validate_mips_insn): Likewise. Also, update 'B' operand
445 specifier to use OP_*_CODE20 constants and delete 'm' operand
446 specifier.
447 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
448 operand specifiers. Change warning generated by 'B' operand
449 specifier to reflect its new multi-purpose usage.
450
451 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
452 -1, and update comment.
453 (file_mips_isa): Likewise.
454 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
455 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
456 ISA_* constants rather than hard-coded numbers.
457 (mips_cpu_info): New structure.
458 (mips_cpu_info_table): New table describing CPU and ISA names
459 and numbers.
460 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
461 mips_cpu_info_from_cpu): New functions.
462 (mips_isa_to_str): New function to get string for ISA name.
463 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
464 return const char *.
465 (md_begin): Redo CPU and ISA selection logic, using
466 mips_cpu_info_from_*. Convert to use ISA_* constants rather
467 than hard-coded numbers.
468 (append_insn, mips_emit_delays, macro, macro2): Convert to use
469 ISA_* constants rather than hard-coded numbers.
470 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
471 (md_longopts): Delete OPTION_NO_MIPS32.
472 (md_parse_option): Convert to use ISA_* constants rather than
473 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
474 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
475 to use strcasecmp to recognize "default" and to use
476 mips_cpu_info_from_name to get CPU numbers from argument.
477 (md_show_usage): Move -mips32 so it's with the rest of the ISA
478 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
479 mips32-4k.
480 (s_mipsset): Accept ISA value 32.
481 * doc/as.texinfo: Clean up MIPS options summary slightly,
482 remove -no-mips32. Add note about -mips4 and -mips32
483 specifying those ISA levels. Delete -mips32 and -no-mips32
484 cpu flag descriptions.
485 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
486 up the supported CPU switch list, and replace 4Kc, 4Km, and
487 4Kp entries with a single mips32-4k entry. Note that you can
488 use ".set mips32".
489
490 * tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
491 ISA_MIPS64.
492 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
493 -mips5 and -mips64.
494 (md_parse_option): Add cases for OPTION_MIPS5 and
495 OPTION_MIPS64.
496 (md_show_usage): Mention -mips5 and -mips64 arguments.
497 (s_mipsset): Add cases for MIPS5 and MIPS64.
498 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
499 and pseudo-CPUs.
500 * doc/as.texinfo: Mention -mips5 and -mips64 options
501 and their meanings.
502 * doc/c-mips.texi: Likewise. Also update introduction
503 and ".set" usage information.
504
505 * config/tc-mips.c (md_show_usage): Add "sb1" to the
506 CPU list.
507 (mips_cpu_info_table): Add SB-1 entries.
508 * doc/c-mips.texi: Add "sb1" to the list of CPUs
509 known to the -mcpu option.
510
511 * doc/as.texinfo: Correct description of MIPS -mcpu
512 option, by copying some of the text from doc/c-mips.texi.
c6c98b38 513
5f68c319
NC
5142000-12-01 Joel Sherrill <joel@OARcorp.com>
515
3dacdf2e
NC
516 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
517 New targets.
518 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
519 (sparc*-*-rtems*): Switched from a.out to ELF.
5f68c319
NC
520 * configure: Regenerate.
521 * config.in: Regenerate.
522 * Makefile.in: Regenerate.
523 * aclocal.m4: Regenerate.
524 * po/gas.pot: Regenerate.
50705ef4 525
4ce3447c
PB
5262000-11-30 Philip Blundell <pb@futuretv.com>
527
528 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
529 even in non BFD_ASSEMBLER case.
530
76a0ddac
DN
5312000-11-30 Diego Novillo <dnovillo@redhat.com>
532
533 * tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
534 syntax.
535
220e750f
RH
5362000-11-29 Richard Henderson <rth@redhat.com>
537
538 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
539 until dwarf2_finish; use relaxation to get cross-fragment offsets;
540 thread multiple subsegments properly; handle multiple code
541 sections properly; emit proper compilation unit info for assembler
542 generated debugging.
543
544 * as.h (enum _relax_state): Add rs_dwarf2dbg.
545 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
546 (dwarf2dbg_estimate_size_before_relax): Declare.
547 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
548 * write.c: Include dwarf2dbg.h.
549 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
550 (relax_segment): Likewise.
551
99b222b4
HPN
5522000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
553
554 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
555 jump>: Use as_bad_where instead of as_bad. Tweak error message
556 accordingly. Stabilize frag by updating fix part and resetting
557 variant part.
558 <undefined symbol, unconditional jump>: Ditto.
dda5ecfc
HPN
559 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
560 indexing is_end_of_line[].
561 (md_assemble): Initialize size to 0.
562 (md_section_align): Mark parameter seg as unused.
e46fee70 563 (parse_reg): Parse names case-insensitively.
99b222b4 564
814f6641
KH
5652000-11-28 Kazu Hirata <kazu@hxi.com>
566
567 * config/obj-aout.h: Fix formatting.
568 * config/obj-bout.h: Likewise.
569 * config/obj-coff.c: Likewise.
570 * config/obj-coff.h: Likewise.
571 * config/obj-elf.h: Likewise.
572 * config/obj-som.h: Likewise.
573 * config/obj-vms.c: Likewise.
574 * config/obj-vms.h: Likewise.
575 * config/tc-h8300.h: Likewise.
576 * config/tc-ns32k.h: Likewise.
577 * config/tc-sparc.h: Likewise.
578 * config/tc-tic54x.h: Likewise.
579 * config/tc-z8k.h: Likewise.
580
e47b9e39
NC
5812000-11-28 Nick Clifton <nickc@redhat.com>
582
583 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
584 License is present in the sources, but not the output, and
585 also available from the GNU website.
586 (GNU Free Documentation License): Comment out this section.
587
fcdc20a4
HPN
5882000-11-28 Hans-Peter Nilsson <hp@axis.com>
589
43c34dee
HPN
590 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
591 targets. Remove i860 from valid a.out targets.
592 * Makefile.in: Regenerate.
593
fcdc20a4 594 * config/tc-cris.c: Include dwarf2dbg.h.
50705ef4 595 (md_pseudo_table): Add .file and .loc.
fcdc20a4
HPN
596 (md_assemble): Call dwarf2_emit_insn if generating ELF.
597 (s_cris_file, s_cris_loc): New.
598 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
599 * Makefile.am: Regenerate dependencies.
600 * Makefile.in: Regenerate.
601
16887944
AM
6022000-11-28 Alan Modra <alan@linuxcare.com.au>
603
604 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
605 (MRI_MUL_PRECEDENCE): Likewise.
606 (op_rank): Fix a comment typo.
607
ae3e85dd
SC
6082000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
609
610 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
611 the error message.
612 (get_operand): Fix analysis for movw/movb instructions.
613
077b8428
NC
6142000-11-24 Nick Clifton <nickc@redhat.com>
615
616 * configure.in (xscale-elf): Add target.
617 (xscale-coff): Add target.
618 * configure: Regenerate.
619
620 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
621 extenstion.
622 (ARM_EXT_XSCALE): New ARM architecture extension.
623 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
624 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
625 (ARM_THUMB): Rename to ARM_EXT_THUMB.
626 (ARM_ARCH_V4): Remove processor from architecture.
627 (ARM_ARCH_3M): New architecutre definition.
628 (ARM_ARCH_V5TE): New architecutre definition.
629 (ARM_ARCH_XSCALE): New architecutre definition.
630 (CPU_DEFAULT): Allow to be defaulted to XScale.
631 (atpcs): New boolean variable.
632 (ldr_flags): Support 'd' flag for double word loads.
633 (str_flags): Support 'd' flag for double word stored.
634 (do_mia): New function.
635 (do_mar): New function.
636 (do_mra): New function.
637 (do_pld): New function.
638 (do_ldrd): New function.
639 (do_blx): New function.
640 (do_bkpt): New function.
641 (do_clz): New function.
642 (do_lstc2): New function.
643 (do_cdp2): New function.
644 (do_t_blx): New function.
645 (do_t_bkpt): New function.
646 (do_smla): New function.
647 (do_smlal): New function.
648 (do_smul): New function.
649 (do_qadd): New function.
650 (do_co_reg2c): New function.
651 (LONGEST_INSN): Redefine to 7.
652
653 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
654 command line switches.
655
2434f565
JW
6562000-11-22 Jim Wilson <wilson@redhat.com>
657
658 * config/tc-ia64.c (pseudo_func): Add missing initializers.
659 (struct rsrc): Make line unsigned.
660 (gr_values): Add missing initializer.
661 (SLOT_NUM_NOT_SET): Add unsigned cast.
662 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
663 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
664 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
665 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
666 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
667 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
668 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
669 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
670 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
671 Add ATTRIBUTE_UNUSED to unused parameters.
672 (convert_expr_to_ab_reg): Add parens.
673 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
674 (dot_prologue): Initialize grsave when declared.
675 (md_pseudo_table): Add missing initializers.
676 (operand_match): Add casts to bfd_vma.
677 (emit_one_bundle): Delete unused local prev. Make required_template
678 unsigned.
679 (specify_resource): Cast i to unsigned.
680 (note_register_values): Use fprintf_vma.
681 (print_dependency): Likewise.
682
5a080f89
JW
6832000-11-21 Jim Wilson <wilson@redhat.com>
684
5e7474a7
JW
685 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
686 for unwind info section.
687 (dot_endp): Likewise for unwind section.
688
5a080f89
JW
689 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
690 fix_new_exp.
691
732d96b6
JJ
6922000-11-21 Jakub Jelinek <jakub@redhat.com>
693
694 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
695 (output_insn): Call dwarf2_emit_insn.
b8e904dc 696 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
732d96b6 697
6d2cf69f
RH
6982000-11-17 Richard Henderson <rth@redhat.com>
699
700 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
701 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
702 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
703
8179bd9b
NC
7042000-11-17 Nick Clifton <nickc@redhat.com>
705
706 * config/tc-arm.c (md_pseudo_table): Add support for .line and
707 .file pseudo ops.
708
316e2c05
RH
7092000-11-17 Richard Henderson <rth@redhat.com>
710
711 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
712
a8316fe2
RH
7132000-11-17 Richard Henderson <rth@redhat.com>
714
715 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
50705ef4 716 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
a8316fe2
RH
717 tri-state definition of alpha_flag_mdebug.
718 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
719 (s_alpha_file): Store first .file directive.
720 (s_alpha_stab): New.
721 (md_pseudo_table): Add stabs and stabn.
722
e346e481
RH
7232000-11-17 Richard Henderson <rth@redhat.com>
724
725 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
726
4dc7ead9
RH
7272000-11-17 Richard Henderson <rth@redhat.com>
728
729 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
39bb5fe6 730 (main): Call dwarf2_finish.
4dc7ead9
RH
731 * as.h (debug_type): Clarify documentation of the meaning
732 of this variable.
733 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
734 (print_stats): Fix parenthesis problem.
735 (now_subseg_size): New.
736 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
737 (dwarf2_directive_file): Don't set debug_type.
738 (dwarf2_where): Honor DEBUG_DWARF2 first.
739 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
740 do nothing if not emitting dwarf2 debug info, or no work.
741 * dwarf2dbg.h (dwarf2_emit_insn): Update.
742 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
743 (ecoff_new_file): Likewise.
744 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
745 commentary wrt dwarf2.
746
747 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
748 ATTRIBUTE_UNUSED as needed.
749 (emit_insn): Call dwarf2_emit_insn.
750 (s_alpha_file): New.
751 (s_alpha_loc): New.
752 (s_alpha_coff_wrapper): Don't handle them.
753 (md_pseudo_table): Update for .file and .loc.
754 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
755
756 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
757 don't protect with debug_type.
758 * config/tc-hppa.c (md_assemble): Likewise.
759 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
760 * config/tc-mn10300.c (md_assemble): Likewise.
761 * config/tc-sh.c (md_assemble): Likewise.
762 * config/tc-v850.c (md_assemble): Likewise.
763
764 * config/tc-arm.c (arm_end_of_source): Remove.
765 * config/tc-hppa.c (pa_end_of_source): Remove.
766 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
767 * config/tc-mn10300.c (mn10300_finalize): Remove.
768 * config/tc-sh.c (sh_finalize): Remove.
769 * config/tc-v850.c (sh_finalize): Remove.
770
771 * config/tc-arm.h (md_end): Remove.
772 * config/tc-hppa.h (md_end): Remove.
773 (DWARF2_LINE_MIN_INSN_LENGTH): New.
774 * config/tc-m68hc11.h (md_end): Remove.
775 * config/tc-mn10300.h (md_end): Remove.
776 * config/tc-sh.h (md_end): Remove.
777 * config/tc-v850.h (md_end): Remove.
778
779 * config/tc-ia64.c (emit_one_bundle): Don't protect
780 dwarf2 bits with debug_type.
781 (md_assemble): Likewise.
782 (ia64_end_of_source): Don't call dwarf2_finish.
783
ca683b78
JW
7842000-11-16 Jim Wilson <wilson@redhat.com>
785
786 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
787 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
788 > 16.
789
6f620856
L
7902000-11-16 H.J. Lu <hjl@gnu.org>
791
792 * config/obj-elf.c (obj_elf_symver): Don't check the missing
793 version name.
794
19d63e5d
KH
7952000-11-15 Kazu Hirata <kazu@hxi.com>
796
797 * config/tc-tic30.c: Fix formatting.
798 * config/tc-tic80.c: Likewise.
799 * config/tc-v850.c: Likewise.
800 * config/tc-vax.c: Likewise.
801 * config/tc-w65.c: Likewise.
802 * config/tc-z8k.c: Likewise.
803
a8761a19
DD
8042000-11-14 DJ Delorie <dj@redhat.com>
805
806 * config/tc-v850.c: Support dwarf2.
807 * config/tc-v850.h: Ditto.
808
809 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
810 parse_cons_expression_v850 to initialize hold_cons_reloc.
50705ef4 811
88be23ec
BS
8122000-11-15 Bernd Schmidt <bernds@redhat.com>
813
814 * tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
815 (errata_nops_necessary_p): New function.
816 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
817 md.
818
72a76794
JW
8192000-11-14 Jim Wilson <wilson@redhat.com>
820
821 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
822 return little endian bfd formats.
823
4a1805b1
KH
8242000-11-14 Kazu Hirata <kazu@hxi.com>
825
826 * config/aout_gnu.h: Fix formatting.
827 * config/atof-vax.c: Likewise.
828 * config/m68k-parse.h: Likewise.
829 * config/m88k-opcode.h: Likewise.
830 * config/obj-elf.c: Likewise.
831 * config/tc-arm.c: Likewise.
832 * config/tc-cris.c: Likewise.
833 * config/tc-i386.c: Likewise.
834 * config/tc-ia64.c: Likewise.
835 * config/tc-mn10300.c: Likewise.
836 * config/te-386bsd.h: Likewise.
837 * config/te-hppa.h: Likewise.
838 * config/te-nbsd.h: Likewise.
839 * config/te-ppcnw.h: Likewise.
840 * config/te-sparcaout.h: Likewise.
841 * config/te-tmips.h: Likewise.
842 * config/vax-inst.h: Likewise.
843 * config/vms-conf.h: Likewise.
844
c810873d
JJ
8452000-11-14 Jakub Jelinek <jakub@redhat.com>
846
847 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
848
79082ff0
L
8492000-11-13 H.J. Lu <hjl@gnu.org>
850
851 * config/obj-elf.c (elf_frob_symbol): Support
852 ".symver name,name2@@@nodename".
853 (elf_frob_file_before_adjust): Likewise.
854
855 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
856 and ".symver name,name2@@@nodename".
857 Fix a typo.
858
1da00eb4
L
8592000-11-12 H.J. Lu (hjl@gnu.org)
860
861 * config/obj-elf.c (obj_elf_symver): Check missing version
862 name.
863
f585997b
L
8642000-11-12 H.J. Lu (hjl@gnu.org)
865
866 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
867 instead of bfd_vma for non-bfd assemblers.
868
ef5c4bfc
KH
8692000-11-09 Kazu Hirata <kazu@hxi.com>
870
871 * itbl-ops.c: Fix comment typos.
872
f5a30c2e
JW
8732000-11-08 Jim Wilson <wilson@redhat.com>
874
875 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
876 (struct unwind): Add next_slot_frag field.
877 (slot_index): New parameters slot_frag and first_frag. Add code
878 to add in frag sizes when different. Add comments.
879 (fixup_unw_records): New locals first_frag and last_frag. Pass new
880 arguments to slot_index.
881 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
882 loop end. Set next_slot_frag field.
883
339681c0
L
8842000-11-07 H.J. Lu <hjl@gnu.org>
885
886 * doc/as.texinfo (.symver): Updated for versioned symbol
887 reference.
888
889 * obj.h (format_ops): Add the frob_file_before_adjust field.
890
891 * config/obj-aout.c (aout_format_ops): Set the
892 frob_file_before_adjust field to 0.
893 * config/obj-coff.c (coff_format_ops): Likewise.
894 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
895
896 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
897 name.
898 (elf_frob_file_before_adjust): New function to remove unneeded
899 versioned symbols from the symbol table.
900 (elf_format_ops): Set the frob_file_before_adjust field to
901 elf_frob_file_before_adjust.
902
903 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
904 not defined.
905
906 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
907
4a314ec8
NC
9082000-11-07 Peter Targett <peter.targett@arccores.com>
909
910 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
911 BIG_ENDIAN macros.
912 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
913 Fix compile time warning messages.
50705ef4 914
604d524f
NC
9152000-11-07 Nick Clifton <nickc@redhat.com>
916
917 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
918 buffer in order to avoid buffer overflows.
919
44f5c83a
JW
9202000-11-06 Steve Ellcey <sje@cup.hp.com>
921
922 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
923 Change M to m for -milp32 or -mlp64 to match gcc.
924 (dot_endp): Use bytes_per_address instead of 8.
925 (emit_one_bundle): Use number_to_chars_littleendian instead of
926 md_number_to_chars.
927 (fix_insn): Likewise.
928 (ia64_init): New function.
929 (ia64_target_format): New function.
930 (md_begin): Set endianness, arch, and machine as appropriate.
931 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
932 Make these macros depend on TE_HPUX macro.
933 (TARGET_FORMAT): Define.
934 (HOST_SPECIAL_INIT): Define.
935 * config/te-hpux.h: New file.
936 * configure.in: Add "ia64-*-hpux*" target to configure.
937 * configure: Regenerate.
50705ef4 938
7152f1dc
KH
9392000-11-06 Kazu Hirata <kazu@hxi.com>
940
ef99799a
KH
941 * as.c: Fix formatting.
942 * dwarf2dbg.c: Likewise.
943 * input-file.c: Likewise.
7152f1dc
KH
944 * input-file.h: Likewise.
945 * input-scrub.c: Likewise.
ef99799a
KH
946 * itbl-ops.c: Likewise.
947 * listing.c: Likewise.
948 * macro.h: Likewise.
949 * messages.c: Likewise.
950 * read.c: Likewise.
951 * subsegs.c: Likewise.
952 * subsegs.h: Likewise.
953 * write.c: Likewise.
7152f1dc 954
cf055d54
NC
9552000-11-06 Nick Clifton <nickc@redhat.com>
956
957 * doc/as.texinfo: Add GNU Free Documentation License.
958 * doc/gasp.texi: Add GNU Free Documentation License.
959 * doc/as.1: Add GNU Free Documentation License.
960
8d6b5c8e
NC
9612000-11-05 Nick Clifton <nickc@redhat.com>
962
963 * config/tc-arm.c: Add include of "dwarf2dbg.h"
964
59ff2774
NC
9652000-11-02 Per Lundberg <plundis@chaosdev.org>
966
967 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
968 * configure: Regenerate.
969
37d8bb27
NC
9702000-11-01 Nick Clifton <nickc@redhat.com>
971
972 * read.c (original_case_string): New global variable.
973 (read_a_source_file): Copy opcode string into
974 original_case_string if clobbering the case of the opcode.
975 * read.h: Export the definition of original_case_string.
976 * config/tc-arm.c (md_assembler): When parsing a .req
977 directive use the original opcode string, not the case
978 clobbered version.
979
d75bb8cf
NC
9802000-11-02 Nick Clifton <nickc@redhat.com>
981
982 * config/tc-mn10300.c (debug_line): Remove this static
37d8bb27 983 variable.
d75bb8cf
NC
984 (md_assemble): Call dwarf2_generate_asm_lineno instead of
985 dwarf2_where and dwarf2_gen_line_info.
986
6c17cfe4
PB
9872000-11-02 Theo Honohan <th@futuretv.com>
988
50705ef4 989 * config/tc-arm.c (do_msr): Improve error message.
6c17cfe4 990
c51ce5f0
EC
9912000-10-31 Eric Christopher <echristo@redhat.com>
992
993 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
994 or pc-relative, else use fx_offset.
995
f1bcba5b
JW
9962000-10-31 Jim Wilson <wilson@redhat.com>
997
998 * config/tc-ia64.c (struct md): New field tag_fixups.
999 (ia64_flush_insns): Handle tag_fixups. Error if dangling
1000 qualifying predicate.
1001 (emit_one_bundle): Delete spurious multiplication by one. Handle
1002 tag_fixups.
1003 (ia64_start_line): Error if dangling qualifying predicate.
1004 (defining_tag): New static variable.
1005 (ia64_unrecognized_line, case '['): Parse tags.
1006 (ia64_frob_label): Create tag_fixups.
1007 (md_assemble): Reset md.qp.X_op after using it.
c51ce5f0 1008
8637c045
AM
10092000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1010
1011 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
1012
ebeeafe6
BS
10132000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
1014
1015 * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
1016
b041f888
KH
10172000-10-30 Kazu Hirata <kazu@hxi.com>
1018
1019 * expr.c: Fix formatting.
1020 * flonum-copy.c: Likewise.
1021 * flonum.h: Likewise.
1022 * gasp.c: Likewise.
1023 * hash.c: Likewise.
1024
d8374dcd
HPN
10252000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1026
1027 * as.h (OPTION_MD_BASE): Bump to 190.
1028 * as.c (parse_args) <std_longopts>: Add comment about the need to
1029 check OPTION_MD_BASE in as.h.
1030
1308f14c
HPN
1031 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
1032 for weak symbols.
1033
6f6ef0fa
NC
10342000-10-27 Nick Clifton <nickc@redhat.com>
1035
1036 * configure.in (emulations): Add m68hc12.
1037 * configure: Regenerate.
1038 * po/gas.pot: Regenerate.
c51ce5f0 1039
bf1b5881
AH
10402000-10-27 Aldy Hernandez <aldyh@redhat.com>
1041
50705ef4
AM
1042 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
1043 cpsr*.
1044 (arm_psr_parse): Handle lowercase CPSR and SPSR.
bf1b5881 1045
85a39694
NC
10462000-10-25 Nick Clifton <nickc@redhat.com>
1047
1048 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
1049 a DWARF2 line number information sequence.
1050
1051 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
1052
1053 * read.c (generate_lineno_debug): Update comment describing why
1054 DWARF2 line number debug information is not generated
1055 automatically by this function.
1056
1057 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
1058 not all.
c51ce5f0 1059
85a39694
NC
1060 * config/tc-arm.h (md_end): Define.
1061 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
c51ce5f0 1062
85a39694
NC
1063 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
1064 if generating DWARF2 line numbers.
1065 (arm_end_of_source): New function. Call dwarf2_finish if
1066 necessary.
1067
1068 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
1069 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
1070 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
c51ce5f0 1071
cce0cbdc
DN
10722000-10-25 Diego Novillo <dnovillo@cygnus.com>
1073
1074 * tc-i386.c: Fix prototype declarations for functions taking no
1075 arguments.
1076
64a0c779
DN
10772000-10-24 Diego Novillo <dnovillo@cygnus.com>
1078
1079 * tc-i386.c (i386_operand_modifier): Remove.
1080 (build_displacement_string): Remove.
1081 (i386_parse_seg): Remove.
1082 (i386_intel_memory_operand): Remove.
1083 (i386_intel_operand): Re-write using recursive descent parser based
1084 on MASM documentation.
1085 (struct intel_parser_s): New structure.
1086 (intel_parser): New static variable.
1087 (struct intel_token): New structure.
1088 (cur_token, prev_token): New static variables.
1089 (T_NIL): Define.
1090 (T_CONST): Define.
1091 (T_REG): Define.
1092 (T_BYTE): Define.
1093 (T_WORD): Define.
1094 (T_DWORD): Define.
1095 (T_QWORD): Define.
1096 (T_XWORD): Define.
1097 (T_SHORT): Define.
1098 (T_OFFSET): Define.
1099 (T_PTR): Define.
1100 (T_ID): Define.
1101 (intel_match_token): New function.
1102 (intel_get_token): New function.
1103 (intel_putback_token): New function.
1104 (intel_expr): New function.
1105 (intel_e05): New function.
1106 (intel_e05_1): New function.
1107 (intel_e06): New function.
1108 (intel_e06_1): New function.
1109 (intel_e09): New function.
1110 (intel_e09_1): New function.
1111 (intel_e10): New function.
1112 (intel_e10_1): New function.
1113 (intel_e11): New function.
1114
19f7b010
JJ
11152000-10-20 Jakub Jelinek <jakub@redhat.com>
1116
1117 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
1118 instructions to loose any special insn->architecture mask.
1119
1120 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
1121 (sparc_md_end, sparc_arch_types, sparc_arch,
1122 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
1123 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
1124 request v9b architecture if they are used).
1125
3ae647a0
NC
11262000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1127
1128 * config/tc-m68k.c: Fix the previous misapplied patch.
1129
5cbdaa77
NC
11302000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1131
50705ef4
AM
1132 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
1133 BFD_ASSEMBLER and !BFD_ASSEMBLER.
1134 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
1135 BFD_RELOC_*.
5cbdaa77 1136
e6c774b4
KH
11372000-10-17 Kazu Hirata <kazu@hxi.com>
1138
1139 * debug.c: Fix formatting.
1140 * depend.c: Likewise.
1141 * dwarf2dbg.c: Likewise.
1142 * dwarf2dbg.h: Likewise.
1143 * ecoff.c: Likewise.
1144 * expr.c: Likewise.
1145 * expr.h: Likewise.
1146 * flonum-konst.c: Likewise.
1147 * frags.h: Likewise.
1148
ea20a7da
CC
11492000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1150
1151 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
1152 options.
1153 * doc/as.texinfo: Added notes about this new option.
1154
266cb5f1
HPN
11552000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
1156
1157 * config/tc-sh.c (JREG): Remove.
1158 (md_convert_frag): Remove #if 0:d code using JREG.
1159
6588847e
DN
11602000-10-15 Diego Novillo <dnovillo@cygnus.com>
1161
1162 * config/tc-i386.c (i386_operand_modifier): Only match
1163 modifiers SHORT and FLAT if they are followed by a space.
1164 (parse_register): When `allow_naked_reg' is set, do not confuse
1165 identifiers that start with a register name with a register.
1166
30a2b4ef
KH
11672000-10-12 Kazu Hirata <kazu@hxi.com>
1168
1169 * app.c: Fix formatting.
1170 * as.c: Likewise.
1171 * as.h: Likewise.
1172 * bit_fix.h: Likewise.
1173 * cgen.c: Likewise.
1174 * cgen.h: Likewise.
1175 * cond.c: Likewise.
1176
d01e2a23
AM
11772000-10-11 Alan Modra <alan@linuxcare.com.au>
1178
1179 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
1180
44852b19
AM
11812000-10-07 Alan Modra <alan@linuxcare.com.au>
1182
dc1fc56b
AM
1183 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
1184 Re-arrange function a little and improve error message.
1185
44852b19
AM
1186 * write.c (write_relocs): Fix a comment.
1187
1188 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
1189 link-once sections.
1190
afa680f8
JW
11912000-10-05 Jim Wilson <wilson@cygnus.com>
1192
1193 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
1194
ce8a8b2f
AM
11952000-10-05 Alan Modra <alan@linuxcare.com.au>
1196
1197 * config/tc-i386.c: Delete some useless comments, reformat others.
1198
1199 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
1200 non-global syms in linkonce sections.
1201
56d27c17
AM
12022000-10-04 Ralf Baechle <ralf@gnu.org>
1203
1204 * config/tc-ia64.c (operand_match): Don't use // style comments.
1205 * config/tc-i370.c: Likewise.
1206
7b15d668
HPN
12072000-09-29 Hans-Peter Nilsson <hp@axis.com>
1208
1209 Changes to handle varying register prefix and user symbol prefix.
1210 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
1211 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
1212 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
1213 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
1214 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
1215 (demand_register_prefix): New variable.
1216 (md_pseudo_table): New pseudo ".syntax".
1217 (md_longopts): New options --no-underscore and --underscore.
1218 (cris_target_format): Return elf32-us-cris or elf32-cris depending
1219 on symbols_have_leading_underscore.
1220 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
1221 (get_spec_reg): Ditto.
1222 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
1223 Fix formatting.
1224 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
1225 --help.
1226 <case OPTION_NO_US, case OPTION_US>: New.
1227 (md_show_usage): Be brief and reformat to match continuation of
1228 --help.
1229 * po/gas.pot: Regenerate.
1230
27df9f40
AM
12312000-09-28 Alan Modra <alan@linuxcare.com.au>
1232
1233 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
1234 force relocs for 12 bit branches.
1235 (md_apply_fix): Similarly, adjust logic here.
1236
5506e1a5
AM
12372000-09-28 Alan Modra <alan@linuxcare.com.au>
1238
1239 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
1240 adjust for external and weak syms as we will use a reloc. Allow
1241 for +8 offset when calculating limits of branches.
1242 (hppa_fix_adjustable): Undo 2000-09-23 change.
1243 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
1244 Correct distance calculation.
47d89dba
AM
1245 (tc_gen_reloc): Print the file name and line number if we can't
1246 handle a fixup.
5506e1a5
AM
1247
1248 From John David Anglin <dave@hiauly1.hia.nrc.ca>
1249 * config/tc-hppa.c (nonzero_dibits): Define.
1250 (arg_reloc_stub_needed): Check each arg and return value
1251 separately for zero case.
1252 (pa_align): Declare argument `bytes'.
1253
81d4177b
KH
12542000-09-25 Kazu Hirata <kazu@hxi.com>
1255
1256 * config/tc-cris.c: Fix formatting.
1257 * config/tc-d10v.h: Likewise.
1258 * config/tc-d30v.c: Likewise.
1259 * config/tc-d30v.h: Likewise.
1260 * config/tc-fr30.c: Likewise.
1261 * config/tc-fr30.h: Likewise.
1262 * config/tc-m68k.c: Likewise.
1263 * config/tc-m68k.h: Likewise.
1264 * config/tc-pj.h: Likewise.
1265 * config/tc-ppc.c: Likewise.
1266 * config/tc-ppc.h: Likewise.
1267 * config/tc-sh.c: Likewise.
1268 * config/tc-sh.h: Likewise.
1269 * config/tc-sparc.c: Likewise.
1270 * config/tc-v850.h: Likewise.
1271 * config/tc-vax.h: Likewise.
1272 * config/tc-w65.h: Likewise.
1273 * config/tc-z8k.h: Likewise.
1274
959ee541
AM
12752000-09-23 Alan Modra <alan@linuxcare.com.au>
1276
1277 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
1278 checks only for ELF.
1279 (hppa_force_relocation): Likewise.
1280
139368c9
JW
12812000-09-22 Jim Wilson <wilson@cygnus.com>
1282
1283 * config/tc-ia64.c (dv_sem): Add "stop".
1284 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
1285 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
1286 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
1287 match above.
1288 (mark_resources): Check IA64_RS_PRr.
1289
151337e8
NC
12902000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1291
56d27c17 1292 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
151337e8
NC
1293 md_estimate_size_before_relax): Redesign and clean up the
1294 relaxation mechanism.
1295
0b7410c4
KH
12962000-09-21 Kazu Hirata <kazu@hxi.com>
1297
1298 * config/tc-ns32k.c: Fix formatting.
1299 * config/tc-ns32k.h: Likewise.
1300
a4d24084
KH
13012000-09-20 Kazu Hirata <kazu@hxi.com>
1302
82efde3a
KH
1303 * config/tc-m32r.c: Fix formatting.
1304 * config/tc-m32r.h: Likewise.
1305 * config/tc-m68851.h: Likewise.
1306 * config/tc-m68hc11.c: Likewise.
1307 * config/tc-m68hc11.h: Likewise.
1308 * config/tc-m88k.c: Likewise.
1309 * config/tc-mcore.c: Likewise.
a75214e5 1310 * config/tc-mcore.h: Likewise.
82efde3a
KH
1311 * config/tc-mips.c: Likewise.
1312 * config/tc-mips.h: Likewise.
1313 * config/tc-mn10200.h: Likewise.
1314 * config/tc-mn10300.h: Likewise.
a75214e5 1315 * config/tc-tahoe.c: Likewise.
a4d24084
KH
1316 * config/tc-tahoe.h: Likewise.
1317
4844386e 13182000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
1319
1320 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
1321 Likewise in relaxation description comments.
1322
9e754211
AM
13232000-09-18 Alan Modra <alan@linuxcare.com.au>
1324
1325 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
1326 subtraction of two syms without emitting a relocation.
1327
1328 From David Huggins-Daines <dhd@linuxcare.com>
1329 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
1330 global or weak symbols.
1331
4a4f25cf
KH
13322000-09-15 Kazu Hirata <kazu@hxi.com>
1333
1334 * config/tc-h8300.h: Fix formatting.
1335 * config/tc-h8500.c: Likewise.
1336 * config/tc-h8500.h: Likewise.
1337 * config/tc-hppa.h: Likewise.
1338 * config/tc-i370.h: Likewise.
1339 * config/tc-i386.h: Likewise.
1340 * config/tc-i860.c: Likewise.
1341 * config/tc-i860.h: Likewise.
1342 * config/tc-i960.h: Likewise.
1343 * config/tc-ia64.c: Likewise.
1344 * config/tc-ia64.h: Likewise.
1345
1dab94dd
KH
13462000-09-14 Kazu Hirata <kazu@hxi.com>
1347
1348 * config/tc-a29k.c: Fix formatting.
1349 * config/tc-alpha.c: Likewise.
1350 * config/tc-arc.c: Likewise.
1351 * config/tc-arc.h: Likewise.
1352 * config/tc-arm.c: Likewise.
1353 * config/tc-arm.h: Likewise.
1354 * config/tc-avr.c: Likewise.
1355 * config/tc-avr.h: Likewise.
1356 * config/tc-tic30.c: Likewise.
1357 * config/tc-tic30.h: Likewise.
1358 * config/tc-tic54x.c: Likewise.
1359 * config/tc-tic54x.h: Likewise.
1360 * config/tc-tic80.c: Likewise.
1361 * config/tc-tic80.h: Likewise.
1362
7484b8e6
TW
13632000-09-14 Timothy Wall <twall@cygnus.com>
1364
1365 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
1366 parallel comparisons for later use.
1367 (struct rsrc): Add parallel comparison type.
1368 (resources_match): Skip special cases of PR usage (non-conflicting
1369 parallel compares).
56d27c17 1370
bf514e21
KH
13712000-09-13 Kazu Hirata <kazu@hxi.com>
1372
1373 * config/obj-ecoff.c: Fix formatting.
1374 * config/obj-elf.c: Likewise.
1375 * config/obj-elf.h: Likewise.
1376 * config/obj-evax.h: Likewise.
1377 * config/obj-generic.h: Likewise.
1378 * config/obj-hp300.c: Likewise.
1379 * config/obj-hp300.h: Likewise.
1380 * config/obj-ieee.h: Likewise.
1381 * config/obj-vms.c: Likewise.
1382 * config/obj-vms.h: Likewise.
1383
156c2f8b 13842000-09-13 Anders Norlander <anorland@acc.umu.se>
56d27c17 1385
50705ef4
AM
1386 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
1387 (md_parse_option): Ditto.
1388 (md_longopts): Add -mips32 option.
1389 (md_show_usage): Document new options.
1390 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
1391 (mips_ip): Assemble mfc0 with a sub-selection code.
1392 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
156c2f8b
NC
1393 (mips_cpu_to_str): New function.
1394 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
1395 Use CPU_* defines instead of hardcoded numbers.
1396
50705ef4
AM
1397 * doc/as.texinfo: Document new options.
1398 * doc/c-mips.texi: Ditto.
156c2f8b 1399
a01b9fa4
KH
14002000-09-12 Kazu Hirata <kazu@hxi.com>
1401
1402 * as.h: Fix formatting.
1403 * asintl.h: Likewise.
1404 * bit_fix.h: Likewise.
dcd619be
KH
1405 * config/obj-aout.c: Likewise.
1406 * config/obj-aout.h: Likewise.
1407 * config/obj-bout.c: Likewise.
1408 * config/obj-bout.h: Likewise.
1409 * config/obj-coff.c: Likewise.
1410 * config/obj-coff.h: Likewise.
a01b9fa4
KH
1411 * dwarf2dbg.h: Likewise.
1412 * expr.h: Likewise.
1413 * flonum.h: Likewise.
1414 * frags.h: Likewise.
1415 * itbl-ops.h: Likewise.
1416 * macro.h: Likewise.
1417 * read.h: Likewise.
1418 * sb.h: Likewise.
1419 * struc-symbol.h: Likewise.
1420 * subsegs.h: Likewise.
1421 * symbols.h: Likewise.
1422 * tc.h: Likewise.
1423 * write.h: Likewise.
1424
92774660
KH
14252000-09-11 Kazu Hirata <kazu@hxi.com>
1426
f0e652b4
KH
1427 * bignum-copy.c: Fix formatting.
1428 * config/tc-i370.c: Likewise.
92774660
KH
1429 * config/tc-i960.c: Likewise.
1430 * config/tc-m68k.c: Likewise.
f0e652b4
KH
1431 * ehopt.c: Likewise.
1432 * flonum-copy.c: Likewise.
1433 * flonum-konst.c: Likewise.
1434 * flonum-mult.c: Likewise.
1435 * literal.c: Likewise.
1436 * read.c: Likewise.
1437 * sb.c: Likewise.
1438 * stabs.c: Likewise.
1439 * subsegs.c: Likewise.
92774660 1440
222f8079
PB
14412000-09-09 Philip Blundell <philb@gnu.org>
1442
1443 * configure.in (arm*-*-uclinux*): New target.
1444 * configure: Regenerate.
1445
c488923f
KH
14462000-09-09 Kazu Hirata <kazu@hxi.com>
1447
1448 * input-file.c: Fix formatting.
1449 * itbl-ops.c: Likewise.
1450 * messages.c: Likewise.
1451
e0e3ecca
PB
14522000-09-08 Philip Blundell <philb@gnu.org>
1453
1454 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
1455 offset is negative.
1456
5d64ca4e
L
14572000-09-07 H.J. Lu <hjl@gnu.org>
1458
1459 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1460 * configure: Rebuild.
1461
bdaaa2e1
KH
14622000-09-07 Kazu Hirata <kazu@hxi.com>
1463
e49bc11e
KH
1464 * atof-generic.c: Fix formatting.
1465 * config/tc-mips.c: Likewise.
e13b337a
KH
1466 * config/tc-vax.c: Likewise.
1467 * input-scrub.c: Likewise.
bdaaa2e1 1468
d07ed2cd
AO
14692000-09-07 Alexandre Oliva <aoliva@redhat.com>
1470
1471 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
1472 * configure.in (sh-*-linux*): Added.
1473 * configure: Rebuilt.
1474
86905619
KH
14752000-09-06 Kazu Hirata <kazu@hxi.com>
1476
a28a3ccf
JL
1477 * config/tc-hppa.c: Fix formatting.
1478
86905619
KH
1479 * ecoff.c: Fix formatting.
1480
58cccadb
AO
14812000-09-06 Alexandre Oliva <aoliva@redhat.com>
1482
1483 * configure: Rebuilt with new libtool.m4.
1484
542d6675
KH
14852000-09-05 Kazu Hirata <kazu@hxi.com>
1486
1487 * cgen.c: Fix formatting.
1488 * config/tc-ia64.c: Likewise.
1489
5b343f5a
NC
14902000-09-05 Nick Clifton <nickc@redhat.com>
1491
1492 * aclocal.m4: Regenerate.
1493 * config.in: Regenerate.
1494 * configure: Regenerate.
1495 * po/gas.pot: Regenerate.
50bbae35 1496
07e90ad5
HPN
14972000-09-05 Hans-Peter Nilsson <hp@axis.com>
1498
1499 * config/tc-cris.c: Correct comment typos.
1500
1485d400
EC
15012000-09-05 Eric Christopher <echristo@cygnus.com>
1502
1503 * config/tc-mn10300.c: Cleanup.
1504 (md_pcrel_from): Enable.
1505
904a31bf
AM
15062000-09-05 Alan Modra <alan@linuxcare.com.au>
1507
927781e2
AM
1508 * expr.c (operand): Fix a comment typo.
1509 * write.c (write_relocs): Fix a signed/unsigned warning.
1510
ecacdc7a
AM
1511 * config/tc-hppa.c (fudge_reg_expressions): New
1512 (hppa_force_reg_syms_absolute): New.
1513 (pa_equ): Allow reg_section expressions.
1514 * config/tc-hppa.c (md_optimize_expr): Define.
1515 (hppa_force_reg_syms_absolute): Prototype.
1516
1517 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
1518 (pa_parse_number): Pass in arg to select fp reg parsing.
1519 Return 1 to indicate format checks pass. If strict, then only
1520 accept a register or register symbol. Return value in...
1521 (pa_number): New static for pa_parse_number.
1522 (FP_REG_BASE): Define.
1523 (FP_REG_RSEL): Define.
1524 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
1525 appropriate. White space changes.
1526 (need_pa11_opcode): Don't bother passing any params, get them from
1527 globals instead.
1528 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
1529 Remove extraneous check in case 'Q'.
1530 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
1531 reg, set section of resulting symbol to reg_section.
1532 (pa_parse_space_stmt): Modify call to pa_parse_number.
1533 (pa_space): Likewise.
1534
904a31bf
AM
1535 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
1536 (hppa_force_relocation): Handle vtable relocs.
1537 (pa_vtable_entry): New.
1538 (pa_vtable_inherit): New.
1539 (md_pseudo_table): Add entries for vtable pseudos.
1540 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
1541 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
1542 against weak syms.
1543 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
1544 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
1545 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
1546 millicode import.
1547 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
1548 specify a symbol type.
1549
1550 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
1551 dependent things together.
1552 (md_elf_symbol_type): Define.
1553
1554 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
1555 symbol.
1556 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
1557
1558 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
1559 (obj_elf_vtable_entry): Declare.
1560
1561 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
1562 and export function.
1563 (obj_elf_vtable_entry): Similarly.
1564 (elf_pseudo_table): Fix the damage with a cast.
1565
a47cf567 15662000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
1567
1568 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
1569 for template selection when a label is needed.
1570
197865e8
KH
15712000-09-02 Kazu Hirata <kazu@hxi.com>
1572
1573 * config/tc-ia64.c: Fix formatting.
1574
18e03609
NC
15752000-09-02 Nick Clifton <nickc@redhat.com>
1576
1577 * configure.in: Increase version number to 2.10.91.
1578 * configure: Regenerate.
1579 * aclocal.m4: Regenerate.
1580 * config.in: Regenerate.
1581 * po/gas.pot: Regenerate.
1582 * Makefile.in: Regenerate.
1485d400 1583
a1cc9221
AO
15842000-09-01 Alexandre Oliva <aoliva@redhat.com>
1585
1586 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
1587 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
1588 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
1589 similar relocs.
1590 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
1591 branches.
1592
15932000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1594
1595 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
1596 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
1597 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
1598 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
1599 (GOT_symbol): New variable.
1600 (md_undefined_symbol): Set it.
1601
44576e1f
RH
16022000-09-01 Richard Henderson <rth@cygnus.com>
1603
1604 * config/tc-ia64.c (match): Don't inline.
1605 (extra_goodness): New.
1606 (md_begin): Prefer nop.f and nop.b for best_template.
1607
29f8404c
KH
16082000-08-31 Kazu Hirata <kazu@hxi.com>
1609
76b0a8c0
KH
1610 * as.c: Fix formatting.
1611 * cond.c: Likewise.
1612 * frags.c: Likewise.
29f8404c
KH
1613 * macro.c: Likewise.
1614
b4c1ea07
EC
16152000-08-31 Eric Christopher <echristo@cygnus.com>
1616
1617 * config/tc-mn10300.c: Cleanup and fix warnings.
1618 (md_pseudo_table): Add initializers.
1619 (md_show_usage): Cleanup.
1620 (md_parse_option): Fix warnings.
1621 (md_undefined_symbol): Fix warnings.
1622 (md_conver_frag): Fix warnings.
1623 (tc_gen_reloc): Fix warnings.
1624 (md_apply_fix3): Fix warnings.
1625 (check_operand): Fix warnings.
1626
ac48eca1
AO
16272000-08-31 Alexandre Oliva <aoliva@redhat.com>
1628
1629 * acinclude.m4: Include libtool and gettext macros from the
1630 top level.
1631 * aclocal.m4, configure: Rebuilt.
1632
e0c21649
GK
16332000-08-30 Mark Hatle <mhatle@mvista.com>
1634
1635 * config/tc-ppc.c (md_parse_option): Recognize -m405.
1636
cf39a089
KH
16372000-08-31 Kazu Hirata <kazu@hxi.com>
1638
1639 * listing.c: Fix formatting.
1640
3ee4defc
KH
16412000-08-29 Kazu Hirata <kazu@hxi.com>
1642
1643 * app.c: Fix a comment typo. Fix formatting.
1644
1e8d20f4
NC
16452000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1646
50bbae35
AM
1647 * tc-vax.c (md_convert_frag): Correctly calculate the pc relative
1648 offset of the target destination for jmp instructions.
1649 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 1650
5bcac8a4
HPN
16512000-08-24 Hans-Peter Nilsson <hp@axis.com>
1652
1653 * NEWS: Mention support for CRIS.
1654
46547ecc
DC
1655Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
1656
1657 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
1658 Sets `.lcomm' alignment to zero.
1659
4b853faa
AO
16602000-08-23 Alexandre Oliva <aoliva@redhat.com>
1661
1662 * config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
1663 (TC_FIX_ADJUSTABLE): Define.
1664
efcc5914
JW
16652000-08-23 Jim Wilson <wilson@cygnus.com>
1666
1667 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
1668 unwind.personality_routine is set.
1669
aca719bf
AO
16702000-08-23 H.J. Lu <hjl@gnu.org>
1671
1672 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
1673
a3da4de1
AO
16742000-08-23 Alexandre Oliva <aoliva@redhat.com>
1675
1676 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
1677 environment is pe.
1678
56385375
L
16792000-08-22 H.J. Lu <hjl@gnu.org>
1680
1681 * config.in (STRICTCOFF): New for strict COFF.
1682
1683 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
1684 i386-*-go32* and i386-go32-rtems*.
1685 * configure: Rebuilt.
1686
1687 * config/obj-coff.c (obj_coff_endef): Follow the historical
1688 behavior if STRICTCOFF is not defined.
1689
1690 * doc/internals.texi: Document STRICTCOFF.
1691
8f36cd18
AO
16922000-08-22 Alexandre Oliva <aoliva@redhat.com>
1693
1694 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
1695 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
1696 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
1697 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
1698 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
1699 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
1700 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
1701 Likewise.
1702
58a77e41
EC
17032000-08-22 Eric Christopher <echristo@cygnus.com>
1704
1705 * config/tc-mn10300.c: (md_apply_fix): New function.
1706 (mn10300_force_relocation): New function.
1707 (mn10300_fix_adjustable): New function.
1708
1709 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
1710 (TC_HANDLES_FX_DONE): Define.
1711 (obj_fix_adjustable): Define.
1712 (MD_APPLY_FIX3): Define.
1713 (TC_LINKRELAX_FIXUP): Define.
1714
1715 * write.c: (TC_LINKRELAX_FIXUP): Define if not
1716 previously defined.
1717 (fixup_segment): Use TC_LINKRELAX_FIXUP.
1718
1719 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
1720
ded0649c
JE
17212000-08-21 Jason Eckhardt <jle@cygnus.com>
1722
1723 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
1724 if the fixup resulted in a relocation.
1725
66102fe2
NC
17262000-08-18 Nick Clifton <nickc@redhat.com>
1727
1728 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
1729 Make reference to first element of shift_names explicit.
1730
02198638
AO
17312000-08-18 Alexandre Oliva <aoliva@redhat.com>
1732
1733 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
1734 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
1735 add a symbol's address. Removed all target-specific #ifdefs that
1736 used to accomplished the same.
1737 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1738 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1739 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1740 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1741 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1742
353e2c69
KH
17432000-08-17 Kazu Hirata <kazu@hxi.com>
1744
1745 * dwarf2dbg.c: Fix formatting.
1746
4fb7971f
NC
17472000-08-17 Nick Clifton <nickc@redhat.com>
1748
1749 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
1750 to be recoded as logical shift lefts by zero.
1751
50b81f19
JW
17522000-08-16 Jim Wilson <wilson@cygnus.com>
1753
1754 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
1755 postincrement modified registers. Handle IA64_OPND_R3_2 addl
1756 source registers.
1757 (note_register_values): Handle IA64_OPND_R3_2 operands.
1758
f869cfc6
JE
17592000-08-16 Jason Eckhardt <jle@cygnus.com>
1760
50bbae35 1761 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 1762
8cb8bcba
NC
17632000-08-16 Nick Clifton <nickc@redhat.com>
1764
1765 * config/tc-arm.c (struct asm_shift): Delete.
1766 (shift[]): Delete.
1767 (enum asm_shift_index): New.
1768 (struct asm_shift_properties): New.
1769 (struct asm_shift_name): New.
1770 (shift_properties[]); New.
1771 (shift_names[]); New.
1772
1773 (decode_shift): Use new structures.
1774 Issue a warning is "ROR #0" is used.
1775 Issue a warning if "ASR #0" or "LSR #0" is used.
1776
1777 (md_begin): Initialise arm_shift_hsh table from new
1778 asm_shift_name array.
1779
c2158c24
JJ
17802000-08-16 Jakub Jelinek <jakub@redhat.com>
1781
1782 * config/tc-sparc.c: Kill all warnings.
1783 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
1784 in -xarch= as well.
1785 (md_show_usage): Update usage text.
1786
70485b5c
NC
17872000-08-16 Nick Clifton <nickc@redhat.com>
1788
c2158c24 1789 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
1790 useful.
1791
a47cf567 17922000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
1793
1794 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
1795
1796 * config/tc-sh.c (md_assemble): Changed so debug_type
1797 test performed for ppi_assemble
1798 * config/tc-sh.c: Included dwarf2dbg.h.
1799 (debug_line): Defined.
1800 (md_assemble): Generates dwarf2 line info.
1801 (sh_finalize): New function. Finalize dwarf2 info.
1802 (assemble_ppi): Returns size of code generated.
1803 (build_Mytes): Returns size of code generated.
1804 (md_pseudo_table): Added "file" and "loc" psuedo ops.
1805 * config/tc-sh.h (md_end): Defined.
1806 (sh_finalize): Declared.
1807
1db77c8e
AO
18082000-08-15 Alexandre Oliva <aoliva@redhat.com>
1809
1810 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
1811 md_number_to_chars.
1812
046b3b54
NC
18132000-08-14 Nick Clifton <nickc@redhat.com>
1814
1815 * config/tc-arm.c (do_bx): Allow "bx pc".
1816
c43c2cc5
JW
18172000-08-14 Jim Wilson <wilson@cygnus.com>
1818
1819 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
1820 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
1821 (md_begin): Change assignment to md.flag to OR in the new bit.
1822
d1d8ba22
NC
18232000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
1824
1825 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
50705ef4
AM
1826 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
1827 C_MOU, and C_EOS.
d1d8ba22 1828
22b36938
JE
18292000-08-14 Jason Eckhardt <jle@cygnus.com>
1830
1831 * NEWS: Mention i860 support.
1832
c0bd0db2
JL
1833Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
1834
1835 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1836
0ac658b8
AS
18372000-08-14 Andreas Schwab <schwab@suse.de>
1838
1839 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
1840
9fc2dda2
JE
18412000-08-11 Andreas Schwab <schwab@suse.de>
1842
1843 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
1844 argument.
1845
bc4466dc
KH
18462000-08-11 Kazu Hirata <kazu@hxi.com>
1847
1848 * expr.c: Fix formatting.
351aa9f6 1849 * config/obj-bout.c: Likewise.
bc4466dc 1850
a9c99419
JE
18512000-08-10 Jason Eckhardt <jle@cygnus.com>
1852
1853 * doc/c-i860.texi: Flesh out the i860 section more.
1854
7c743825
KH
18552000-08-10 Kazu Hirata <kazu@hxi.com>
1856
1857 * symbols.c: Fix formatting.
929b12bc 1858 * expr.c: Likewise.
7c743825 1859
fa2255cb
DN
1860Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
1861
1862 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
1863 has the IgnoreSize bit set.
1864
fc997f4b
AM
18652000-08-09 Alan Modra <alan@linuxcare.com.au>
1866
1867 From Rodney Brown <RodneyBrown@mynd.com>
1868 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
1869 * configure: Regenerate.
1870
a47cf567
NC
18712000-08-09 Kazu Hirata <kazu@hxi.com>
1872
1873 * hash.c: Fix formatting.
1874 * gasp.c: Likewise.
1875
305d537e
JE
18762000-08-08 Jason Eckhardt <jle@cygnus.com>
1877
1878 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
1879 (i860_fix_info): New enum.
1880 (MD_APPLY_FIX3): Define.
1881 (WORKING_DOT_WORD): Define.
1882 (TC_HANDLES_FX_DONE): Define.
1883 (DIFF_EXPR_OK): Define.
1884 (LISTING_HEADER): Define.
1885 (TARGET_FORMAT): Select target format based on endian flag.
1886 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
1887 (target_big_endian): Add external declaration.
1888
1889 * config/tc-i860.c: All existing code reworked completely. Other
1890 new code shown below.
1891 (SYNTAX_SVR4): Define.
1892 (target_warn_expand): New variable.
1893 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
1894 (md_longopts): Declare and define with new options (-EL, -EB,
1895 and -mwarn-expand).
1896 (md_show_usage): New function.
1897 (md_operand): New function.
1898 (obtain_reloc_for_imm16): New function.
1899 (md_apply_fix3): New function.
1900 (tc_gen_reloc): New function.
1901
df86943d
NC
19022000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1903
1904 * config/tc-m68hc11.c (build_jump_insn): Make sure the
1905 2 bytes of the jump address are in the same frag.
1906 (find): Accept 68hc12 register indirect modes.
1907
1908 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 1909
30d25259
RH
19102000-08-07 Richard Henderson <rth@cygnus.com>
1911
1912 * config/tc-ia64.c (unwind): Add prologue_mask member.
1913 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
1914 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
1915 (dot_body): Clear unwind.prologue_mask.
1916 (dot_prologue): Set it. Accept a register second argument.
1917
2d484c7f
KH
19182000-08-07 Kazu Hirata <kazu@hxi.com>
1919
1920 * config/atof-ieee.c: Fix formatting.
1921 * config/atof-tahoe.c: Likewise.
1922
a47cf567 19232000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 1924
3d4ae3c0
NC
1925 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
1926 work.
1927
c91d2e08
NC
1928 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
1929 of .popsection, .previous, .pushsection, .subsection,
1930 .version, .vtable_entry, .vtable_inherit and .weak.
1931
47926f60
KH
19322000-08-05 Kazu Hirata <kazu@hxi.com>
1933
1934 * config/tc-cris.c: Fix formatting.
1935 * config/tc-i386.c: Likewise.
1936 * config/tc-sparc.c (sparc_ip): Simplify the code.
1937
ab3e48dc
KH
19382000-08-04 Kazu Hirata <kazu@hxi.com>
1939
1940 * config/tc-cris.c: Rearrange code for readability.
1941 * config/tc-d10v.c: Fix formatting.
1942 * config/tc-m32r.c: Likewise.
1943 * config/tc-sparc.c: Likewise.
1944
3d56ab85
JW
19452000-08-02 Jim Wilson <wilson@cygnus.com>
1946
1947 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
1948 before ia64_find_opcode.
1949 (md_assemble): Likewise.
1950
3f9dfb2c
NC
19512000-08-01 Nick Clifton <nickc@cygnus.com>
1952
a47cf567 1953 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 1954 Undo some formatting fixes.
3f9dfb2c 1955
28e4f854
KH
19562000-08-01 Kazu Hirata <kazu@hxi.com>
1957
1958 * config/obj-som.c: Fix formatting.
1959 * config/obj-ieee.c: Likewise.
1960 * config/tc-arm.c: Likewise.
1961 * config/tc-v850.c: Likewise.
1962
a570e639
NC
19632000-08-01 Nick Clifton <nickc@redhat.com>
1964
1965 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
1966 index by command line option.
58a77e41 1967
a570e639
NC
19682000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1969
1970 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
1971 (@node M68K-Branch): Rewrite to match the reality.
1972
e3308d0d
JE
19732000-07-31 Jason Eckhardt <jle@cygnus.com>
1974
1975 * doc/c-i860.texi: New file.
1976 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
1977 * doc/Makefile.in: Regenerate.
1978 * doc/all.texi: Add I860 as relevant architecture.
1979 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
1980
2fd5405a
NC
19812000-07-31 Kazu Hirata <kazu@hxi.com>
1982
1983 * config/tc-d30v.c: Fix formatting.
1984
28e7409f
NC
19852000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1986
50bbae35
AM
1987 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
1988 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
1989 long emit a long branch if available instead of an absolute jump, never
1990 emit absolute jumps for anything with --pcrel.
28e7409f
NC
1991
1992 * doc/c-m68k.texi: Document new command line option.
58a77e41 1993
a47cf567
NC
19942000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
1995
1996 * config/tc-avr.c: Use PARAMS macro in function declarations.
1997 Don't declare md_pcrel_from_section (already in tc-avr.h).
1998 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
1999 (avr_operand): Don't set (unsigned) op_mask to -1.
2000
534022ea
JE
20012000-07-28 Jason Eckhardt <jle@cygnus.com>
2002
50bbae35
AM
2003 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
2004 * configure: Regenerated.
2005 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
2006 of operand to the .type directive (.e.g, "type").
534022ea 2007
4c400d5e
AM
20082000-07-28 Alan Modra <alan@linuxcare.com.au>
2009
2010 * as.h (warn_comment, found_comment, found_comment_file): Declare.
2011 * app.c (do_scrub_chars): Record where first comment found.
2012 * read.c (read_a_source_file): Init found_comment on entry, and
2013 notify whether comments found on exit.
2014 * config/tc-hppa.c (md_shortopts): Add "c".
2015 (md_longopts): Add warn-comment.
2016 (md_parse_option): Handle it.
2017 (md_show_usage): Show available options.
2018 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
2019
0aa529cb
AC
2020Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
2021
2022 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
2023 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 2024 sym_ptr_ptr
0aa529cb
AC
2025 (md_estimate_size_before_relax): Don't fall off end of function.
2026
c6a7ab1f
NC
20272000-07-27 Kazu Hirata <kazu@hxi.com>
2028
2029 * config/tc-avr.c: Fix formatting.
2030 * config/tc-ns32k.c: Likewise.
2031
e0c6ed95
AM
20322000-07-27 Alan Modra <alan@linuxcare.com.au>
2033
2034 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
2035
20362000-07-27 Kazu Hirata <kazu@hxi.com>
2037
2038 * config/tc-d10v.c: Fix formatting.
2039 * config/tc-z8k.c: Likewise.
2040 * config/tc-sparc.c: Likewise.
2041
6883dc5e 20422000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
2043
2044 * cgen.c (queue_fixup): Declare opinfo.
2045 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
2046 (gas_cgen_md_operand): Ditto.
2047 (gas_cgen_md_apply_fix3): Ditto.
2048
39da8128
DD
20492000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
2050
2051 * config/obj-coff.c (obj_frob_symbol): Don't merge
2052 labels. Don't merge if the symbol isn't constant. Return
2053 immediately if a symbol is merged.
2054
65e68b04
AM
20552000-07-22 Alan Modra <alan@linuxcare.com.au>
2056
2057 * frags.c (frag_align): Correct absolute section alignment.
2058
5e0d736c
DD
20592000-07-20 DJ Delorie <dj@redhat.com>
2060
2061 * config/obj-coff.c (obj_frob_symbol): revert previous change,
2062 it breaks linking against DLLs.
2063
3bcbcc3d
HPN
20642000-07-20 Hans-Peter Nilsson <hp@axis.com>
2065
2066 * configure.in: Add CRIS support.
2067 * configure: Regenerate.
2068 * Makefile.am: (CPU_TYPES): Add cris.
2069 (CPU_OBJ_VALID) [aout]: Add cris.
2070 (MULTI_CPU_TYPES): Add cris.
2071 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 2072 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
2073 (TARGET_CPU_CFILES): Add config/tc-cris.c.
2074 (TARGET_CPU_HFILES): Add config/tc-cris.h.
2075 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
2076 Regenerate dependencies.
2077 * Makefile.in: Regenerate.
2078 * aclocal.m4: Regenerate.
2079 * as.c: Declare crisaout, criself.
2080 * config/tc-cris.h, config/tc-cris.c: New.
2081 * config/e-criself.c, config/e-crisaout.c: New.
2082 * po/POTFILES.in, po/gas.pot: Regenerate.
2083
041ff4dd 20842000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 2085
041ff4dd 2086 * read.c: Fix formatting.
efaf0ba4 2087 * write.c: Fix formatting.
041ff4dd 2088
f980ada0
L
20892000-07-19 H.J. Lu <hjl@gnu.org>
2090
2091 * sb.c: Include <stdlib.h> if exists for abort ().
2092
25a8b250
AM
20932000-07-19 Alan Modra <alan@linuxcare.com.au>
2094
2095 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
2096 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
2097 (pa_type_args): Same here.
2098
7a9aaf92
NC
20992000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
2100
2101 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
2102 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
2103 the storage class is already set.
2104
8098403c
NC
21052000-07-17 Kazu Hirata <kazu@hxi.com>
2106
fafb6d17 2107 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
2108 * config/tc-mn10200.c: Likewise.
2109 * config/tc-mn10300.c: Likewise.
2110 * config/tc-pj.c: Likewise.
2111 * config/tc-tic80.c: Likewise.
2112 * config/tc-w65.c: Likewise.
8098403c 2113
977e771a
FCE
21142000-07-17 Frank Ch. Eigler <fche@redhat.com>
2115
2116 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
2117 is defined.
2118
63bf5651
ILT
21192000-07-15 Ian Lance Taylor <ian@zembu.com>
2120
2121 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
2122 @code.
2123
1cd1c99b
AM
21242000-07-15 Alan Modra <alan@linuxcare.com.au>
2125
2126 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
2127 ELF as are used for SOM (except the 32-bit reloc one) to decide
2128 whether a symbol can be reduced to a section symbol. Expand on
2129 the comment for symbols involved in LR% and RR% expressions.
2130
119d663a
NC
21312000-07-14 Nick Clifton <nickc@cygnus.com>
2132
2133 * config/tc-mips.c (mips_disable_float_construction): New
2134 static variable. Set to true if doubles should not be
2135 constructed by loading two single width fp registers with
2136 halves of the value.
2137 (mips_ip): Test mips_disable_float_construction.
2138 (md_longopts): Add command line switches --construct-floats
2139 and --no-construct-floats.
2140 (md_parse_option): Parse new command line options.
2141 (md_show_usage): Describe new command line options.
2142
2143 * doc/c-mips.texi: Document new command line options.
2144
906fac54
AM
21452000-07-13 Koundinya K <kk@ddeorg.soft.net>
2146
2147 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
2148 * configure: Regenerate.
2149
21502000-07-13 Hans-Peter Nilsson <hp@axis.com>
2151
2152 * configure.in (DEFAULT_EMULATION setting): Revert part of
2153 2000-07-01 change that set te_multi=multi unless set to tmips.
2154 * configure: Regenerate.
2155
7f788821
NC
21562000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2157
2158 * config/obj-coff.c (coff_frob_section): Add padding to the last
50705ef4 2159 section when aligning it increases its size.
7f788821 2160
9a736b6b
NC
21612000-07-11 Kazu Hirata <kazu@hxi.com>
2162
2163 * config/tc-tic54x.c: Fix formatting.
2164
3dd5103b
NC
21652000-07-10 Kazu Hirata <kazu@hxi.com>
2166
2167 * config/tc-h8500.c: Fix formatting.
1aea3bb8 2168 * config/tc-tic54x.c: Fix formatting.
3dd5103b 2169
46b85d42
AM
21702000-07-10 Alan Modra <alan@linuxcare.com.au>
2171
2172 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
2173 displacements correctly.
2174
2175 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
2176
21772000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2178
2179 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
2180 warning.
2181 (hash_jam): Ditto.
2182
ad1079af
AM
21832000-07-09 Alan Modra <alan@linuxcare.com.au>
2184
2185 From David Huggins-Daines <dhd@linuxcare.com>
2186 * config/te-hppalinux64.h: Add a new emulation.
2187 * configure.in (emulations): Add configure bits to support the
2188 64-bit Linux/parisc target.
2189 * configure: Regenerate.
2190
2191 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
2192 (md_shortopts): Add `V' for ELF.
2193
2194 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
2195 when SOM or ELF_ARG_RELOC are defined.
2196 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
2197 ELF_ARG_RELOC are defined.
2198 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
2199 (pa_stringer): ..Do it here instead. Fix comment typos.
2200 (hppa_force_relocation): Cast enums to int before comparing with
2201 ints.
2202
2203 From Ryan Bradetich <rbradetich@uswest.net>
2204 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
2205 redifinition warning.
2206 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
2207 (hppa_force_relocation): ditto
ad1079af
AM
2208 (md_apply_fix): Added cast to buf to fix warnings.
2209
2210 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
2211 cons_fix_new_hppa, hppa_force_relocation): Prototype.
2212
2213 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
2214 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
2215 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
2216 reloc_type** to avoid warnings in switch.
2217 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
2218 little earlier instead.
2219
2220 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
2221 and elf.
2222 (pa_type_args): Use symbol_arg_reloc_info.
2223 (struct pa_it): Make arg_reloc unsigned int.
2224 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
2225 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
2226 (pa_code): Delete. pa_text duplicates this function.
2227 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
2228 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
2229 int.
2230 (cons_fix_new_hppa): Actually change selector to e_fsel when
2231 warning about assuming so.
2232 (tc_gen_reloc): More example elf arg reloc code.
2233 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
2234 (hppa_force_relocation): Likewise.
2235
2236 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
2237 files.
2238 (pa_end_of_source): Prototype.
2239 (hppa_fix_adjustable): Prototype.
2240 (LABELS_WITHOUT_COLONS): Move it..
2241 * config/te-hppa.h: To here.
2242
2243 * config/te-hppa64.h: New file.
2244
2245 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
2246 type.
2247 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
2248 format -10, -16, 16 relocs.
2249 (hppa_elf_mark_end_of_function): Test for null
2250 last_call_info->start_symbol
2251
2252 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
2253 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
2254 re_assesmble_* functions. Delete extraneous statements. Fix
2255 typos in comments.
2256 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
2257 insn to re_assemble_*.
2258
623aa224
UC
22592000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
2260
2261 * doc/internals.texi (Expressions): Fix typo.
58a77e41 2262
c4aa876b
NC
22632000-07-08 Kazu Hirata <kazu@hxi.com>
2264
2265 * config/tc-sh.c: Fix formatting.
d0313fb7 2266 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
2267 * depend.c: Fix formatting.
2268 * flonum-konst.c: Likewise.
2269 * flonum-mult.c: Likewise.
c4aa876b 2270
6b31947e
NC
22712000-07-07 Kazu Hirata <kazu@hxi.com>
2272
a5bfe8c9 2273 * config/tc-sh.c: Fix comments.
bc0d738a
NC
2274 * config/obj-vms.c: Fix comments.
2275 * config/tc-a29k.c: Likewise.
2276 * config/tc-alpha.c: Likewise.
2277 * config/tc-h8300.c: Likewise.
2278 * config/tc-h8500.c: Likewise.
2279 * config/tc-i370.c: Likewise.
2280 * config/tc-ia64.c: Likewise.
2281 * config/tc-m68hc11.c: Likewise.
2282 * config/tc-m68k.c: Likewise.
2283 * config/tc-mips.c: Likewise.
2284 * config/tc-ns32k.c: Likewise.
2285 * config/tc-ppc.c: Likewise.
2286 * config/tc-z8k.c: Likewise.
6b31947e 2287
b8a9dcab
NC
22882000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
2289
2290 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
2291 Default to '(SEC_LOAD | SEC_DATA)'.
2292 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
2293
2294 * doc/internals.texi (CPU Backend): Describe
2295 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
2296
beb2de9b
AC
2297Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2298
2299 * as.c (parse_args): NULL terminate the long option list.
2300
24ddb296
AC
2301Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
2302
2303 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 2304 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 2305
1fe72011
NC
23062000-07-05 Nick Clifton <nickc@cygnus.com>
2307
2308 * config/tc-d30v.c (write_2_short): Further changes to warning
2309 messages produced when combining EITHER_BUT_PREFER_MU attributed
2310 opcodes.
2311
a5bfe8c9 23122000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2313
2314 * MAINTAINERS: new
2315
8de8f17e
AO
23162000-07-04 Alexandre Oliva <aoliva@redhat.com>
2317
2318 * config/tc-arm.c (psrs): Accept combinations of flags.
2319
00d2865b
NC
23202000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
2321
2322 * config/tc-avr.c: Change _ () to _() around all strings marked
2323 for translation (exception from the usual coding style).
2324 (avr_opt): New struct variable, how the new switches are set.
2325 (OPTION_MMCU): Define as 'm' and actually use.
2326 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
2327 (show_mcu_list): New function, display the list of known MCUs.
2328 (md_show_usage): Document the new switches. Call show_mcu_list.
2329 (avr_set_arch): Change 'm' to OPTION_MMCU.
2330 (md_parse_option): Call show_mcu_list if unknown MCU specified.
2331 Handle the new switches.
2332 (avr_operands): Disable warnings for undefined combinations of
2333 operands if -mall-opcodes. Disable warnings for skipping two-word
2334 instructions if enhanced core or -mno-skip-bug.
2335 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
2336 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
2337 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
2338 (avr_ldi_expression): Warn about implicit lo8().
2339 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
2340
54588503
UC
23412000-07-01 Koundinya K <kk@ddeorg.soft.net>
2342
50bbae35
AM
2343 * configure.in: Add entry for mips-*-sysv4*MP*
2344 * configure: Rebuild
2345 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
2346 elf32-tradlittlemips for traditional mips targets.
2347 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
2348 test for Link Once sections as in adjust_reloc_syms.
2349 * config/te-tmips.h: New file for traditional mips targets. Define
2350 TE_TMIPS.
58a77e41 2351
c9900432
NC
23522000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
2353
2354 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
2355 flags argument is not present, don't change an existing section's
2356 section's attributes. If the flags argument is present, warn if the
2357 attributes don't match the section's current attributes. When
2358 long section names are supported, set SEC_LINK_ONCE and
2359 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
2360
9d87310a
HPN
2361Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
2362
2363 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
2364 symbols; create them.
2365
dbddefbf
NC
23662000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
2367
2368 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 2369 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 2370
2ae7e77b
AH
23712000-06-27 Aldy Hernandez <aldyh@redhat.com>
2372
2373 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
2374 expressions. Ignore the problem when handling 16 bit signed
2375 immediates, because the assembler will take care of the relocation
2376 later.
2ae7e77b 2377
6b2539e3
NC
23782000-06-27 Nick Clifton <nickc@cygnus.com>
2379
2380 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 2381 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
2382 sequential order, and emit warning messages if the input source
2383 code contains constructs like that, or parallel constructs
2384 containing such opcodes.
2385
65aa24b6
NC
23862000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2387
2388 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
2389 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
2390 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
2391 (md_show_usage): Update usage message.
2392 (md_parse_option): Allow redefinition of MCU type within the
2393 same avr[1-5] bfd machine type. Show both old and new MCU type
2394 in the error message.
2395 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
2396 Simplify 8K wrap code.
2397
f0c56b90
NC
23982000-06-25 Kazu Hirata <kazu@hxi.com>
2399
50bbae35
AM
2400 * config/obj-aout.c: Remove all uses of DEFUN.
2401 * config/obj-ieee.c: Likewise.
2402 * config/tc-sh.c: Fix comment typos.
2403 * config/tc-tahoe.c: Likewise.
2404 * config/tc-vax.c: Likewise.
2405 * config/tc-w65.c: Likewise.
2406 * config/tc-z8k.c: Likewise.
f0c56b90
NC
2407 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
2408
6d249963
DD
24092000-06-24 DJ Delorie <dj@cygnus.com>
2410
2411 * config/tc-i386.c (md_estimate_size_before_relax): Revert
2412 more changes from Sept 1999
2413 (tc_i386_fix_adjustable): ditto
2414 (md_apply_fix3): ditto
2415
680d2857 24162000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 2417
680d2857
FCE
2418 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
2419 (gas_cgen_parse_operand): Set it around expression() call.
2420 (gas_cgen_md_operand): Test for it before longjmp().
2421
e7b305a2
AM
24222000-06-24 Kazu Hirata <kazu@hxi.com>
2423
c0fecd35
AM
2424 * config/tc-h8500.c: Remove all uses of DEFUN.
2425 * config/tc-sh.c: Likewise.
2426 * config/tc-w65.c: Likewise.
2427 * config/tc-z8k.c: Likewise.
2428
e7b305a2
AM
2429 * config/tc-h8500.c: Fix typos in comments.
2430
ed6d6fd3
FCE
24312000-06-23 Frank Ch. Eigler <fche@redhat.com>
2432
2433 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
2434 is defined.
2435
f7c88872
AM
24362000-06-23 matthew green <mrg@redhat.com>
2437
2438 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 2439 defined. Fix error message for `[' grouping.
f7c88872 2440
70d6ecf3
AM
24412000-06-22 Kazu Hirata <kazu@hxi.com>
2442
2443 * config/tc-h8300.c: Fix formatting and comment typos.
2444
e9718fe1
TW
24452000-06-22 Timothy Wall <twall@cygnus.com>
2446
2447 * config/tc-ia64.c (note_register_values): Move premature QP
2448 notation clearing into the appropriate place.
2449
45288df1
AM
24502000-06-22 Alan Modra <alan@linuxcare.com.au>
2451
1581f8c9
AM
2452 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
2453 first before anything else. Add bin-bugs.h, emul.h and progress.h
2454 Sort list of files as for $(OBJS) in Makefile.am.
2455
2456 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
2457 find one. Remake dependencies.
2458 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
2459 * Makefile.in: Regenerate.
2460 * doc/Makefile.in: Regenerate.
2461
45288df1
AM
2462 * config/tc-i386.c (i386_displacement): Don't assume a constant
2463 displacement is necessarily 16 bits when in 16 bit code mode.
2464 (md_assemble): Instead size the displacement here after we know
2465 for sure that a .code16gcc operand hasn't automatically added
2466 operand size prefixes.
2467
01580992
L
24682000-06-21 H.J. Lu <hjl@gnu.org>
2469
2470 * Makefile.am: Rebuild dependency.
2471 * Makefile.in: Rebuild.
2472
40f09f82
JL
24732000-06-21 Kazu Hirata <kazu@hxi.com>
2474
2475 * config/tc-h8300.c (parse_reg): Make the function static.
2476 (parse_exp): Likewise.
2477
78295804
DD
24782000-06-20 DJ Delorie <dj@cygnus.com>
2479
2480 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
2481 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
2482 for cygwin import libraries to work properly.
2483
45f85b08
L
24842000-06-20 H.J. Lu <hjl@gnu.org>
2485
2486 * Makefile.am: Rebuild dependency.
2487 * Makefile.in: Rebuild.
2488 * configure: Likewise.
2489 * doc/Makefile.in: Likewise.
2490
39bec121
TW
24912000-06-20 Timothy Wall <twall@cygnus.com>
2492
2493 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 2494 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
2495 * doc/c-tic54x.texi: New.
2496 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 2497 documentation file.
39bec121 2498 * doc/all.texi: Add C54X.
3e87a760 2499 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
2500 * doc/Makefile.in: Regenerate.
2501 * configure.in: Add tic54x and define LIBM for tic54x.
2502 * configure: Regenrate.
2503 * config/tc-tic54x.[ch]: New.
2504 * config/obj-coff.h: Add tic54x.
2505 * Makefile.am: (CPU_TYPES): Add tic54x.
2506 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
2507 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
2508 (as_new_LDADD): Add $(LIBM).
2509 * Makefile.in: Regenerate.
3e87a760 2510
60bcf0fa
NC
25112000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2512
2513 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
2514 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
2515 * doc/as.texinfo: Likewise.
2516
2517 * configure, Makefile.in: Regenerate.
2518 * configure.in (emulations): Recognize m6811 and m6812.
2519 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
2520 Added files for 68hc11 and 68hc12 assembler.
2521 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
2522 * config/tc-m68hc11.h: Header definition for that assembler.
2523
ec05f674
NC
25242000-06-18 Nick Clifton <nickc@redhat.com>
2525
24ef8152
NC
2526 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
2527 instead of OCTETS_PER_BYTE.
2528
ec05f674 2529 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 2530 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 2531
119caedd
L
25322000-06-18 H.J. Lu <hjl@gnu.org>
2533
2534 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
2535 * configure: Rebuild.
2536
607723e4
NC
25372000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
2538
3e87a760
AM
2539 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
2540 to BFD_ASSEMBLER.
607723e4 2541
b946ec34
NC
25422000-06-16 Nick Clifton <nickc@cygnus.com>
2543
2544 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
2545 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
2546
2547 * doc/c-mips.texi: Document newly accepted cpu variants.
2548
37ce37b1
UC
25492000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
2550
2551 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
2552
c06ae4f2
UC
25532000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
2554
2555 * macro.c (getstring): Make it possible to escape the quote
2556 character.
2557
20348649
JL
2558Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
2559
2560 * config/tc-hppa.c (pa_export): Weak symbols can be global.
2561
bcef29e6
L
25622000-06-13 H.J. Lu <hjl@gnu.org>
2563
2564 * configure: Regenerate.
2565
63a0b638
AM
25662000-06-09 Alan Modra <alan@linuxcare.com.au>
2567
2568 * app.c (do_scrub_begin): Don't default lex[';'] as a line
2569 separator.
2570 * doc/internals.texi (line_separator_chars): Semicolon is no
2571 longer a default. Mention null and newline as defaults.
2572
2573 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
2574
2575 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
2576 * config/tc-i860.h (line_separator_chars): Likewise.
2577 * config/tc-h8300.c (line_separator_chars): Likewise.
2578 * config/tc-i960.c (line_separator_chars): Likewise.
2579 * config/tc-m68k.c (line_separator_chars): Likewise.
2580 * config/tc-mips.c (line_separator_chars): Likewise.
2581 * config/tc-ns32k.c (line_separator_chars): Likewise.
2582 * config/tc-sparc.c (line_separator_chars): Likewise.
2583 * config/tc-vax.c (line_separator_chars): Likewise.
2584
2585 * config/tc-h8300.c (comment_chars): Use string initialiser.
2586 * config/tc-i960.c (line_comment_chars): Likewise.
2587 * config/tc-z8k.c (comment_chars, line_comment_chars,
2588 line_separator_chars): Likewise.
2589
2590 * config/tc-arm.c (line_separator_chars): Always use `;', not just
2591 for TE_LINUX.
2592
9bab9349
NC
25932000-06-08 Nick Clifton <nickc@cygnus.com>
2594
2595 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
2596 for size 1 fixes.
2597
946efd95
DB
25982000-06-08 David O'Brien <obrien@FreeBSD.org>
2599
2600 * configure.in (VERSION): Update to show this is the CVS mainline.
2601
6480b79a
DB
26022000-06-08 Matthew Jacob <mjacob@feral.com>
2603
2604 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
2605 $at is the integer register $r28, vs. both $r28 and the floating
2606 point register $f28.
2607
10850f29
JW
26082000-06-08 James E. Wilson <wilson@cygnus.com>
2609
2610 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
2611 (dot_endp): Don't call ia64_flush_insns.
2612 (emit_one_bundle): Don't delete prologue/body records from
2613 unwind_record list in first loop. Rewrite second loop to account for
2614 this.
2615
150f24a2
JW
26162000-06-07 David Mosberger <davidm@hpl.hp.com>
2617
2618 * config/tc-ia64.c: Add missing prototypes.
2619 (generate_unwind_image): Cast argument to output_unw_records call.
2620
e38c9cc2
DC
2621Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
2622
46b85d42 2623 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 2624
1188e082
DC
2625Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
2626
2627 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
2628 (REGISTER_P): likewise.
2629 (avr_opcodes): uses include/opcode/avr.h
2630 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 2631
ac743b2c
AM
26322000-06-04 Alan Modra <alan@linuxcare.com.au>
2633
0b545448
AM
2634 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
2635 initializers too.
ac743b2c 2636
969e1a7b
L
26372000-06-03 H.J. Lu <hjl@gnu.org>
2638
2639 * read.c (is_end_of_line): Put back `;'.
2640
65172ab8
AM
26412000-06-03 Alan Modra <alan@linuxcare.com.au>
2642
2643 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
2644
b75c0c92
AM
26452000-06-01 Alan Modra <alan@linuxcare.com.au>
2646
2647 * expr.c (operand): Test is_end_of_line outside switch to catch
2648 line separator chars that are also operators.
2649 (operator): Return O_illegal for line separator chars.
2650
2651 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
2652 entry (or `!' entry for TC_HPPA).
2653
2654 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
2655 before indexing is_end_of_line. Remove redundant check for '\0'.
2656 (fp_op2): Likewise.
2657 * config/tc-h8500.c (md_assemble): Likewise.
2658 * config/tc-mcore.c (md_assemble): Likewise.
2659 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2660 (md_atof): Likewise
2661
2662 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
2663 is_end_of_line.
2664 * config/tc-mcore.c (mcore_cons): Likewise.
2665 (mcore_float_cons): Likewise.
2666 (mcore_stringer): Likewise.
2667 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2668
a6836251
SB
26692000-06-01 Scott Bambrough <scottb@netwinder.org>
2670
2671 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
2672
43841e91
NC
26732000-05-29 Nick Clifton <nickc@cygnus.com>
2674
2675 * config/tc-sh.c: Fix compile time warning messages.
2676
2677 * config/tc-mips.c: Fix compile time warning messages.
2678
a057431b
PB
26792000-05-29 Philip Blundell <philb@gnu.org>
2680
2681 * doc/as.texinfo: Update copyright dates.
a81d9f0c 2682 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
2683 * NEWS: Mention ARM ELF support.
2684
3c07fb76
AO
26852000-05-27 Alexandre Oliva <aoliva@cygnus.com>
2686
2687 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
2688 it is modified, and use the real_size to compute the frag address
2689 for dwarf2 line info.
2690
ad4d6ccf
AM
26912000-05-27 Alan Modra <alan@linuxcare.com.au>
2692
2693 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
2694 line-matching scheme to cope with automake moving variables around.
2695 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
2696 * Makefile.in: Regenerate.
2697
6faf3d66
JJ
26982000-05-26 Jakub Jelinek <jakub@redhat.com>
2699
2700 * config/tc-sparc.c (sparc_relax): New.
2701 (md_longopts): Add -relax and -no-relax options.
2702 (md_parse_options, md_show_usage): Likewise.
2703 (md_apply_fix3): Optimize tail call into branch always if possible.
2704
0a44c2b1
DL
2705Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
2706
2707 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
2708 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
2709 rules, with warning when a GAS statement specifies a packing that
2710 will result in an instruction being squashed.
3e87a760
AM
2711 Added typdef packing_type and enumerals, changed various integer
2712 literals to use the enumerals.
0a44c2b1 2713
e0c9811a
JW
27142000-05-24 David Mosberger <davidm@hpl.hp.com>
2715
2716 * config/tc-ia64.c (dot_restorereg_p): New function.
2717 (md_pseudo_table): Add restorereg.p.
2718 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
2719 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
2720
2721 * config/tc-ia64.h (unw_record_type): Add unwabi.
2722 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
2723 called MASK with members for imask, and the masks produced by
2724 fr_mem, gr_mem, br_mem, and frgr_mem.
2725 (unw_p_record): Add members ABI and CONTEXT.
2726 (unw_x_record): Add member AB.
2727 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
2728 as pseudo-register for use during unwind info generation.
2729 (AR_PFS, AR_LC): New macros.
2730 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
2731 whose names start with an at sign (as in "@priunat").
2732 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
2733 register.
2734 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
2735 proc_end, unwind_info, personality_routine): Consolidate into
2736 "unwind" structure to reduce offset-table use. Add member
2737 NEXT_SLOT_NUMBER to track the slot number for the next instruction
2738 to be emitted.
2739 (output_R1_format, output_R3_format, output_P3_format,
2740 output_P6_format): Initialize R with zero to reduce compiler warnings.
2741 (output_P7_format): Ditto. Add `default' branch to switch
2742 statement to reduce compiler warnings.
2743 (output_P8_format, output_B1_format, output_B4_format): Ditto.
2744 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
2745 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
2746 into single argument.
2747 (output_X1_format, output_X3_format): Initialize R with zero to reduce
2748 compiler warnings. Merge A and B args into single argument.
2749 (output_X2_format, output_X4_format): Remove unused variable R. Merge
2750 A and B args into single argument.
2751 (free_record): Removed (wasn't used).
2752 (free_list_records): Also free imasks in prologue records.
2753 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
2754 (output_spill_mask): Remove.
2755 (output_unwabi): New function.
2756 (output_epilogue, output_label_state, output_copy_state): Call
2757 alloc_record.
2758 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
2759 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
2760 argument.
2761 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
2762 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
2763 as part of handling the prologue records. Emit region's imask if
2764 we have one. Handle unwabi, epilogue, label_state, copy_state,
2765 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
2766 spill_sprel_p, and spill_reg_p records.
2767 (set_imask, count_bits, slot_index): New function.
2768 (fixup_unw_records): Fix region size computation. Handle
2769 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
2770 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
2771 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
2772 set_imask accordingly. Update imask for gr_gr, and br_gr records.
2773 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
2774 (dot_save): Use manifest constants for applicaton registers.
2775 Handle REG_PR and REG_PRIUNAT.
2776 (dot_restore): Don't just ignore it.
2777 (dot_restorereg): New function..
2778 (generate_unwind_image): Ensure unwind info is a multiple of eight
2779 bytes, not just four bytes.
2780 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
2781 (dot_altrp): Don't just ignore it.
2782 (dot_savemem): New function. Replaces dot_savesp() and
2783 dot_savepsp(). Use manifest constants for applicaton registers.
2784 Handle REG_PR and REG_PRIUNAT.
2785 (dot_savef): Simplify.
2786 (dot_saveb): Support generation of br_gr.
2787 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
2788 dot_label_state, dot_copy_state): New function.
2789 (dot_unwabi): Don't just ignore it.
2790 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 2791 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
2792 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
2793 (emit_one_bundle): Set slot number for prologue/body records
2794 *before* emitting the first insn.
2795 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
2796 (md_begin): Declare "psp" pseudo-register.
2797 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
2798 so we don't get segfault.
2799 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
2800 counts as required per SW Conventions manual
2801 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
2802 output_preds_psprel, output_preds_sprel, output_spill_base,
2803 output_unat_psprel, output_unat_sprel, output_lc_psprel,
2804 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
2805 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
2806 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
2807 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
2808 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
2809 (dot_vframe): Implement.
2810 (dot_vframesp, dot_vframepsp): New function.
2811
f98fd99f
HPN
2812Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
2813
2814 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 2815 * configure: Regenerate.
f98fd99f 2816
ee7fcc42
AM
28172000-05-23 Alan Modra <alan@linuxcare.com.au>
2818
2819 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
2820 (md_estimate_size_before_relax): so we can use it here instead of
2821 old kludges. Localise vars to blocks. Comment.
2822
2823 * frags.c (frag_new): Update fr_var comments.
2824 * frags.h (struct frag): Ditto.
2825
c67e42c9
RH
28262000-05-22 Richard Henderson <rth@cygnus.com>
2827
2828 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
2829 (pseudo_func): Add pcrel.
2830 (operand_match): Handle IA64_OPND_TGT64.
2831 (build_insn): Likewise.
2832 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
2833 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
2834 (fix_insn): Handle all three 64-bit relocation types.
2835
5110c57e
HPN
2836Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
2837
2838 * obj.h (struct format_ops): New members begin, app_file,
2839 s_set_other, s_set_desc, s_get_type, s_set_type,
2840 separate_stab_sections, init_stab_section.
2841
2842 * config/obj-multi.h: Update GPL notice to v2.
2843 (obj_begin): New.
2844 (obj_app_file): New.
2845 (S_SET_SIZE): Test s_set_size for NULL before calling.
2846 (S_SET_ALIGN): Similar for s_set_align.
2847 (S_SET_OTHER): New.
2848 (S_SET_DESC): New.
2849 (S_GET_TYPE): New.
2850 (S_SET_TYPE): New.
2851 (SEPARATE_STAB_SECTIONS): New.
2852 (INIT_STAB_SECTION): New.
2853 (EMIT_SECTION_SYMBOLS): New.
2854 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
2855
2856 * config/obj-elf.h: Update GPL notice to v2.
2857 Mention that this file is included from obj-multi.h.
2858 (obj_begin): Wrap definition in ifndef.
2859 (elf_file_symbol): Constify declaration.
2860 (obj_app_file): Ditto.
2861 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
2862 Wrap in ifndef SEPARATE_STAB_SECTIONS.
2863
2864 * config/obj-elf.c (elf_s_set_other): New.
2865 (elf_file_symbol): Constify argument.
2866 (elf_separate_stab_sections): New.
2867 (elf_init_stab_section): New.
2868 (elf_format_ops): Add new members. Remove comma at end.
2869
2870 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
2871 (ecoff_format_ops): Add new fields. Remove comma at end.
2872 Mention inconsistency for emit_section_symbols.
2873
2874 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
2875
2876 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
2877 (coff_separate_stab_sections): New.
2878 (coff_format_ops): Add new members.
2879
2880 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
2881 (obj_aout_s_set_other): New.
2882 (obj_aout_s_set_desc): New.
2883 (obj_aout_s_get_type): New.
2884 (obj_aout_s_set_type): New.
2885 (obj_aout_separate_stab_sections): New.
2886 (aout_format_ops): New members added. Use obj_aout_process_stab,
2887 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
2888 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
2889 appropriate.
2890 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
2891
b98ef147
AM
28922000-05-22 Alan Modra <alan@linuxcare.com.au>
2893
2894 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
2895 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
2896 (md_estimate_size_before_relax): Ensure jumps to weak and
2897 externally visible symbols are relocatable.
2898
0aa5d426
HPN
2899Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
2900
2901 * stabs.c (aout_process_stab): Make global.
2902 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
2903 * read.h (aout_process_stab): Declare.
2904
2905 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
2906 Generalize to *aout, *coff *elf.
2907 * configure: Regenerated.
2908
2909 * doc/internals.texi (Object format backend): Say
2910 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
2911
2912 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
2913 * Makefile.in: Regenerated.
2914
7c3dc350
CM
29152000-05-19 Catherine Moore <clm@cygnus.com>
2916
2917 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
2918
b3b6a3fe
JL
29192000-05-18 Alan Modra <alan@linuxcare.com.au>
2920
2921 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
2922 instruction to reflect change in re_assemble_*.
2923
c9e10a08
JL
2924Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
2925
2926 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
2927 build PA64 ELF tools.
2928 * configure: Rebuilt.
2929
3043679f
AM
29302000-05-17 Alan Modra <alan@linuxcare.com.au>
2931
2932 * Makefile.am: Regenerate dependencies.
2933 * Makefile.in: Regenerate.
2934
322f2c45
NC
29352000-05-15 Nick Clifton <nickc@cygnus.com>
2936
2937 * config/tc-arm.c (struct asm_psr): Add boolean field
2938 distinguishing between CSPR and SPSR. Rename 'number' field
2939 to 'field'.
2940 (psrs): Rearrange contents to match new asm_psr structure.
2941 (arm_psr_parse): Move next to psr_required_here. Make it
2942 return an asm_psr structure.
2943 (psr_required_here): Use asm_psr structure returned by
2944 arm_psr_parse.
2945 (do_msr): Reorganise to allow psr_required_here to be called
2946 only once.
2947 (md_undefined_name): Mark 'name' parameter as unused, since
2948 the COFF target does not use it.
322f2c45 2949
5e6cbf41
PB
29502000-05-14 David O'Brien <obrien@FreeBSD.org>
2951
2952 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
2953 standards.
2954 * config/te-aux.h: Likewise.
2955 * config/te-dpx2.h: Likewise.
2956 * config/te-go32.h: Likewise.
2957 * config/te-hp300.h: Likewise.
2958 * config/te-hppa.h: Likewise.
2959 * config/te-i386aix.h: Likewise.
2960 * config/te-ic960.h: Likewise.
2961 * config/te-interix.h: Likewise.
2962 * config/te-nbsd532.h: Likewise.
2963 * config/te-pc532mach.h: Likewise.
2964 * config/te-ppcnw.h: Likewise.
2965 * config/te-psos.h: Likewise.
2966 * config/te-sparcaout.h: Likewise.
2967 * config/te-sun3.h: Likewise.
2968 * config/te-sysv32.h: Likewise.
2969
4132022d
AM
29702000-05-14 Alan Modra <alan@linuxcare.com.au>
2971
2972 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
2973 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
2974 and sign extend without an if statement.
2975 (build_bytes): Likewise.
2976
29772000-05-14 Kazu Hirata <kazu@hxi.com>
2978
2979 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
2980 X_add_symbol L_32 case.
2981
b4fd930a
AM
29822000-05-14 David O'Brien <obrien@FreeBSD.org>
2983
2984 * config/te-freebsd.h: New file.
2985
a38cf1db
AM
29862000-05-13 Alan Modra <alan@linuxcare.com.au>
2987
897083bd
AM
2988 * asintl.h (gettext, dgettext, dcgettext, textdomain,
2989 bindtextdomain): Replace defines with those from intl/libgettext.h
2990 to quieten gcc warnings.
2991
a38cf1db
AM
2992 * NEWS: Mention x86 .arch and -q.
2993
2994 * config/tc-i386.c (quiet_warnings): New.
2995 (md_assemble): Use quiet_warnings.
2996 (md_parse_option): Set quiet_warnings from -q.
2997 (md_show_usage): Mention -q, delete -m.
2998 (flag_do_long_jump): Delete.
2999 (md_parse_option): Remove -m.
3000 (md_show_usage): Remove -m.
3001 (md_create_long_jump): Remove useless flag_do_long_jump code.
3002
3003 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
3004 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
3005
e413e4e9
AM
30062000-05-13 Alan Modra <alan@linuxcare.com.au>
3007 Alexander Sokolov <robocop@netlink.ru>
3008
3009 * doc/c-i386.texi (i386-Arch): New section.
3010 (i386-Syntax): Mention .intel_syntax and .att_syntax.
3011
3012 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
3013 (smallest_imm_type): Use smallest opcode for shift by one if cpu
3014 architecture has been given and is not 486.
3015 (set_cpu_arch): New.
3016 (md_pseudo_table): Add .arch.
3017 (md_assemble): Warn if cpu architecture has been given and an
3018 unsupported instruction.
3019
3020 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
3021 Move operand_types bit defines after relevant template field.
3022 (template): Add cpu_flags.
3023 (Cpu*): Define.
3024 (arch_entry): New.
3025
e8b1cae5
AO
30262000-05-12 Alexandre Oliva <aoliva@cygnus.com>
3027
3028 * config/tc-mn10300.h (md_end): Define.
3029 (mn10300_finalize): Declare.
3030 * config/tc-mn10300.c: Include dwarf2dbg.h.
3031 (debug_line): Define.
3032 (md_assemble): Generate dwarf2 line info.
3033 (mn10300_finalize): New function. Finalize dwarf2 info.
3034
426b0403
AM
30352000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
3036
3037 * config/tc-mips.c (md_estimate_size_before_relax): Use the
3038 external version of the relocation for weak symbols.
3039
e4c58b25
JW
30402000-05-08 David Mosberger <davidm@hpl.hp.com>
3041
3042 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
3043 frame size in units of 16 bytes, as required per SW Conventions manual.
3044 (output_unw_records): Output info-block header as a dword to get
3045 byte-order right.
3046
8fce3f5e
AM
30472000-05-08 Alan Modra <alan@linuxcare.com.au>
3048
3049 * as.h: #include "file", not <file> on files from ../include.
3050 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
3051 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
3052 (md_convert_frag): Add ATTRIBUTE_UNUSED.
3053 (tc_coff_symbol_emit_hook): Ditto.
3054 (OPTCOUNT): Cast to int to avoid compiler warning.
3055 (md_begin): Fix signed/unsigned warnings.
3056
30572000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3058
3059 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
3060 ABRANCH LONG case for a conditional branch on a 68000.
3061 (md_estimate_size_before_relax): Likewise. Also handle
3062 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
3063 (m68k-ip: case ABSL): Relax absolute references to 16-bit
3064 PC-relative on all CPUs.
3065 (md_estimate_size_before_relax): Likewise.
3066
fb166ee3
AM
30672000-05-04 Alan Modra <alan@linuxcare.com.au>
3068
3069 * as.c (parse_args): Just mention current year in printed
3070 copyright message.
3071
7a899fff
C
30722000-05-03 J.T. Conklin <jtc@redback.com>
3073
3074 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 3075 unit registers.
7a899fff
C
3076 (md_parse_option): Recognize -m7400.
3077
44877466
ILT
30782000-05-03 Ian Lance Taylor <ian@zembu.com>
3079
3080 * config/atof-ieee.c (gen_to_words): When adding carry back in,
3081 don't permit lp to become less than the words array.
3082
eaa15ab8
NC
30832000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
3084
3085 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
3086 Fix little-endian case.
3087
7c4f6a03
AM
30882000-05-03 David O'Brien <obrien@NUXI.com>
3089
3090 * as.c (parse_args): Update copyright.
3091
da5d444c
AM
30922000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
3093
3094 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
3095 for the .bss section too.
3096
3f9b03b5
AM
30972000-05-02 Alan Modra <alan@linuxcare.com.au>
3098
3099 * configure.in: Set em=linux for hppa-*-linux.
3100 * configure: Regenerate.
3101 * doc/Makefile.in: Regenerate with correct automake.
3102
3103 * frags.c (frag_grow): Sanity check chunk_size.
3104
3105 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
3106 * config/obj-som.h: Likewise.
3107 * config/obj-ieee.h: Likewise.
3108
3109 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
3110
3111 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
3112 (md_pseudo_table): Fully initialise OBJ_ELF cases.
3113 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
3114 (pa_ip): low_sign_unext now returns via function value. Use
3115 re_assemble_* instead of dis_assemble_* and
3116 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
3117 unnecessarily.
3118 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
3119 (md_section_align, md_parse_option, md_show_usage,
3120 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
3121 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
3122 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
3123 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
3124 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
3125 pa_text): Likewise.
3126 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
3127 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
3128 outside of switch. Correct mask and shifting errors in case 10
3129 and case -11. In case 21, compare against signed range to suit
3130 hppa_field_adjust changes. In case 12, use re_assemble_12. In
3131 case 17 and case 22, use offsetT variable to properly check range.
3132 Use re_assemble_* here too.
3133 (evaluate_absolute): Change type of value to offsetT. Call
3134 hppa_field_adjust to do the work for us.
3135 (pa_parse_cmpb_64_cmpltr): Delete save_s.
3136 (pa_parse_cmpib_64_cmpltr): Ditto.
3137 (pa_build_unwind_subspace): Delete unused var subseg. Change type
3138 of i to unsigned int.
3139 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
3140 (pa_end_of_source): Return type is void.
3141
a2984248
CM
3142Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
3143
3144 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
3145
df136245
DC
3146Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
3147
3148 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
3149 More comments added.
3150 (md_begin): Removed "construct symbols for each register name".
3151 Because register names conflicts with GCC generated function
3152 names.
3153 (avr_operand): Now constant numbers can be used as a register
3154 identifiers (0 as r0, 31 as r31).
3155 (md_assemble): use skip_space () before parsing instruction
3156 operands.
3157
c1e73230
AM
31582000-05-01 Alan Modra <alan@linuxcare.com.au>
3159
3160 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
3161 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
3162 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
3163 * configure: Regenerate.
3164
a1934524
AM
31652000-04-29 Andreas Jaeger <aj@suse.de>
3166
3167 * as.h: Correctly check GCC version.
3168
d9b7d820
AM
31692000-04-26 David O'Brien <obrien@FreeBSD.org>
3170
3171 * doc/as.1: Fix unbalanced brackets.
3172
3173 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
3174 TE_FreeBSD.
3175 (line_comment_chars): Set to '/' if TE_FreeBSD.
3176
cea1ab94
JL
3177Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
3178
3179 * configure.in: Configury support for PA64 (currently disabled).
3180 * configure: Rebuilt.
3181
e799a695
AM
31822000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
3183
3e87a760 3184 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
3185 bfd_set_section_alignment.
3186
3b0ec529
AM
31872000-04-25 Alan Modra <alan@linuxcare.com.au>
3188
3189 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
3190 than 32.
3191
adcf07e6
NC
31922000-04-24 Nick Clifton <nickc@cygnus.com>
3193
3194 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
3195 * doc/as.texinfo (Align): Include arm and strongarm in list of
3196 targets that have the second form of the behaviour of the .align
3e87a760 3197 directive.
adcf07e6 3198
5047a41f
JL
31992000-04-24 Mark Klein <mklein@dis.com>
3200
50705ef4 3201 * obj-som.c: Terminate obj_pseudo_table.
5047a41f 3202
a47cf567
NC
3203Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
3204
3205 * as.c (parse_args): Allow md_parse_option to override -a listing
3206 option.
3207 * config/obj-coff.c (add_lineno): Change type of offset parameter
3208 from "int" to "bfd_vma."
3209 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
3210 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
3211 (ppc_change_csect): Align correctly for XCOFF64.
3212 (ppc_machine): New function, which discards "ppc_machine" line.
3213 (ppc_tc): Cons for 8 when code is 64 bit.
3214 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
3215 relocations.
3216 (md_parse_option): Handle -a64 and -a32.
3217 (ppc_xcoff64): New.
3218 * config/tc-ppc.h (TARGET_MACH): Define.
3219 (TARGET_FORMAT): Move to function.
3220 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
3221
3222Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
3223
3224 * config/tc-avr.c: New AVR_ISA_ defined.
3225 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
3226 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
3227 for `fmul', `movw' and `lpm R,Z' instructions.
3228 (avr_operands): Warn if current opcode is a two-word instruction
3229 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
3230 (avr_opcodes): New commands added.
3231 (REGISTER_P): Check 'a' and 'v' constraint letters.
3232 (mcu_types): New MCU added.
3233
bf3ca999
TW
32342000-04-22 Timothy Wall <twall@cygnus.com>
3235
3236 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
3237 to "natval".
3238 (operand_match): Conditionally insert default bit values for IMMU9.
3239
98e5953c
JL
32402000-04-14 Matthew Green <mrg@cygnus.com>
3241
3242 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
3243 * configure: Rebuilt.
3244
a02fab7e
JL
3245Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
3246 Jason Eckhardt <jle@cygnus.com>
3247
c67e42c9 3248 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
3249
3250 * config/tc-hppa.c (CHECK_ALIGN): New macro.
3251 Added handling of new operand types l,y,&,fe,fE,fx.
3252
800eeca4
JW
3253Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
3254 David Mosberger <davidm@hpl.hp.com>
3255 Timothy Wall <twall@cygnus.com>
3256 Andrew MacLeod <amacleod@cygnus.com>
3257 Jim Wilson <wilson@cygnus.com>
3258
3259 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 3260 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
3261 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
3262 * Makefile.in: Rebuild.
3263 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
3264 * configure: Rebuild.
3265 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
3266 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
3267 * expr.c (expr): Handle md_optimize_expr.
3268 * read.c (LEX_HASH): Add comment.
3269 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 3270
66778679
RH
32712000-04-21 Richard Henderson <rth@cygnus.com>
3272
3273 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
3274 bundling a non-delayed branch type instruction.
3275
aa15f6f7
AO
32762000-04-20 Alexandre Oliva <aoliva@cygnus.com>
3277
3278 * config/tc-mn10300.c (HAVE_AM30): Define.
3279 (md_assemble): Use it.
3280
16adf844
AM
32812000-04-19 Alan Modra <alan@linuxcare.com.au>
3282
742f45cf
AM
3283 * config/obj-elf.c (obj_elf_change_section): Check for changed
3284 section attributes.
3285
16adf844
AM
3286 * Makefile.am: (CPU_MULTI_VALID): Remove.
3287 (MULTI_CPU_TYPES): Define.
3288 (MULTI_CPU_OBJ_VALID): Define.
3289 (DEPTC): Use the above.
3290 (DEPOBJ): Same here.
3291 (DEP2): And here.
3292 Regenerate dependencies.
3293 * Makefile.in: Regenerate.
3294
9c46fb1b
AM
32952000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3296
742f45cf 3297 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 3298
508866be
L
32992000-04-18 H.J. Lu (hjl@gnu.org)
3300
3301 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 3302 bfd_vma for non-bfd assemblers.
508866be 3303
ba2adb93
AM
33042000-04-17 Alan Modra <alan@linuxcare.com.au>
3305
3306 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
3307 doesn't give spurious errors.
3308
12ff5d56
AM
33092000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3310
66778679 3311 * as.h (SEEK_SET): Define if undefined.
12ff5d56 3312
fc633e5b
AM
33132000-04-13 Alan Modra <alan@linuxcare.com.au>
3314
3315 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
3316 constants, and don't assume offsetT is 32 bits.
3317
1ed18ec1
NC
33182000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
3319
3320 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
3321 (md_pcrel_from_section): Add prototype.
3322 (d10v_fix_adjustable): Add prototype.
3323 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
3324
3325 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
3326
3db10f32
NC
33272000-04-12 Nick Clifton <nickc@cygnus.com>
3328
3329 * config/tc-d10v.c (find_opcode): Correctly calculate position of
3330 symbol in frag chain.
3331
847f7ad4
AM
33322000-04-10 Alan Modra <alan@linuxcare.com.au>
3333
3334 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
3335 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
3336 (fits_in_signed_word, smallest_imm_type): Ditto.
3337 (md_assemble): Use an offsetT var to hold offsetT values, not a
3338 long.
3339 (offset_in_range): New.
3340 (md_assemble): Use it.
3341 (md_convert_frag): Change type of target_address, opcode_address,
3342 and displacement_from_opcode_start to offsetT.
3343 (md_create_short_jump): Change type of offset to offsetT.
3344 (md_create_long_jump): Ditto.
3345 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
3346 (md_chars_to_number): Remove.
3347 (output_invalid): Remove duplicate prototype.
3348
ec694b89
NC
33492000-04-09 Nick Clifton <nickc@cygnus.com>
3350
3351 * Makefile.am (CPU_TYPES): Add 'avr'.
3352 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
3353 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
3354
16adf844 3355 * Makefile.in: Regenerate.
ec694b89
NC
3356
3357 * doc/as.texinfo: Add M32R documentation.
3358
a2d91340 3359Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 3360
a2d91340 3361 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 3362 --enable-build-warnings option.
a2d91340
AC
3363 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3364 * Makefile.in, configure: Re-generate.
3365
d92b1a8a
NC
33662000-04-07 Nick Clifton <nickc@cygnus.com>
3367
3368 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
3369 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
3370 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
3371 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
3372 (arm_force_relocation): Force relocations for
3373 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
3374
52ccafd0
JR
3375Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3376
3377 * config/tc-sh.c (get_operands): There's no third operand if the
3378 first operand is an immediate.
3379
015551fc
JR
3380Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3381
3382 * config/tc-sh.c (immediate): Delete.
3383 (sh_operand_info): Add immediate member.
3384 (parse_reg): Use A_PC for pc.
3385 (parse_exp): Add second argument 'op'. All callers changed.
3386 (parse_at): Expect pc to be coded as A_PC.
3387 Use immediate field in *op.
3388 (insert): Add fourth argument 'op'. All callers changed.
3389 (build_relax): Add second argument 'op'. All callers changed.
3390 (insert_loop_bounds): New function.
3391 (build_Mytes): Remove DISP_4.
3392 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
3393 (assemble_ppi): Use immediate field in *operand.
3394 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
3395 (md_apply_fix): Likewise.
3396 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
3397
79bd78be
AO
3398Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3399
3400 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
3401
e30e5a6a
HPN
3402Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
3403
3404 * internals.texi (CPU backend): Document
3405 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
3406
41b49281
AM
34072000-04-04 Alan Modra <alan@linuxcare.com.au>
3408
8ad3436c
AM
3409 * po/gas.pot: Regenerate.
3410
3411 * as.c (show_usage): Restore translated part of bug string.
3412 * gasp.c (show_usage): Likewise.
3413
41b49281
AM
3414 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
3415 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
3416 than move-if-change.
3417 (DEP1): Modify for "gcc -MM".
3418 (DEPTC): Likewise.
3419 (DEPOBJ): Likewise.
3420 (DEP2): Likewise.
3421 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
3422 Update dependencies.
3423 * Makefile.in: Regenerate.
3424
0a727238
AO
34252000-04-03 Alexandre Oliva <aoliva@cygnus.com>
3426
3427 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
3428 (md_begin): Likewise.
3429 (HAVE_AM33): New macro.
3430 (md_assemble): Use it. Match r_regs and xr_regs only if
3431 HAVE_AM33.
3432
c20f4f8c
AM
34332000-04-03 Alan Modra <alan@linuxcare.com.au>
3434
3435 * as.h: #include "bin-bugs.h"
3436 * as.c (show_usage): Use REPORT_BUGS_TO.
3437 * gasp.c: #include "bin-bugs.h"
3438 (show_usage): Use REPORT_BUGS_TO.
3439
3440 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
3441
753f6b12
HPN
3442Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
3443
3444 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
3445 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
3446 adjustments.
3447
726c5dcd
AM
34482000-04-03 Alan Modra <alan@linuxcare.com.au>
3449
3450 * config/tc-i386.c (i386_immediate): Don't assume a constant
3451 immediate is necessarily 16 bits when in 16 bit code mode.
3452 (md_assemble): Instead set guess_suffix here after we have checked
3453 registers.
3454
bf80011a
RH
34552000-04-02 Richard Henderson <rth@cygnus.com>
3456
3457 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
3458 quantities. Correct right shift sign extension.
3459 (build_insn): Make `number' unsigned long. Mask top 6 bits of
3460 32-bit value when shifting into place.
3461
92161534
ILT
34622000-04-01 Ian Lance Taylor <ian@zembu.com>
3463
3464 * app.c: Add ATTRIBUTE_UNUSED as needed.
3465 * config/tc-ppc.c: Likewise.
3466 (ppc_size): Make unsigned long.
3467 (ppc_insert_operand): Add casts to avoid warnings.
3468
447f3982
NC
34692000-03-31 Nick Clifton <nickc@cygnus.com>
3470
3471 * config/tc-d10v.h (md_flush_pending_output): Define.
3472
21d75ec2
NC
34732000-03-29 Nick Clifton <nickc@cygnus.com>
3474
3475 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
3476 segment. Works for both BFD_ASSEMBLER and others.
3477 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
3478
d1a1bf19
NC
34792000-03-29 Nick Clifton <nickc@cygnus.com
3480
3481 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
3482
224de7a5
AM
34832000-03-28 Alan Modra <alan@linuxcare.com.au>
3484
3485 * listing.c (LISTING_LHS_WIDTH): Default depends on
3486 LISTING_WORD_SIZE.
3487 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
3488
5b8274e3
ILT
34892000-03-27 Ian Lance Taylor <ian@zembu.com>
3490
3491 * config/tc-sh.c (md_show_usage): Use backslash before newline in
3492 string literal.
3493
224de7a5 34942000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
3495
3496 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
3497
3498 * config/tc-avr.c (mcu_types): Add missing initialiser.
3499 (md_pcrel_from_section): Add prototype.
3500 (avr_operand): Remove redundant test of unsigned < 0.
3501 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
3502
35032000-03-27 Denis Chertykov <denisc@overta.ru>
3504
3505 * config/tc-avr.c: New file for AVR support.
3506 * config/tc-avr.h: Likewise.
3507 * configure.in: Add AVR support.
3508 * configure: Regenerate.
3509
9f10757c
TW
35102000-03-26 Timothy Wall <twall@cygnus.com>
3511
3512 * gasp.c (macro_op): Add new argument to check_macro call.
3513 Macro structure definitions moved to macro.h
3514 * sb.h: Add argument to prototype for input_scrub_include_sb.
3515 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
3516 nesting checks with an additional flag.
3517 (struct input_save): Add flag to indicate whether current sb
3518 should be checked for proper macro/conditional nesting.
3519 (input_scrub_push/pop): Save/restore nest check flag.
3520 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 3521 defined.
9f10757c
TW
3522 * macro.c (check_macro): Allow caller to retrieve parsed macro
3523 information if a pointer is provided. This information may be
3524 used by the new macro hooks.
3525 * macro.h: Update prototype for check_macro. Macro struct
3526 definitions moved here from macro.c/gasp.c.
3527 * read.c (read_a_source_file): Add parameter to check_macro call,
3528 and pass macro info to the macro hook, if defined.
3529 (input_scrub_insert_line): New. Allow insertion of a line of
3530 characters into the input stream.
3531 (input_scrub_insert_file): New. Allow insertion of an arbitrary
3532 file into the input stream.
3533 (s_include): Use input_scrub_insert_file.
3534 * internals.texi: Document new macro hooks.
3535 * as.h: New prototypes added.
3e87a760 3536
224de7a5 35372000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
3538
3539 * config/tc-i386.c: Don't start any as_bad or as_warn message with
3540 an initial capital letter.
3541 (i386_index_check): Reindent.
3542
11424155
NC
35432000-03-19 Nick Clifton <nickc@cygnus.com>
3544
eaa15ab8 3545 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
3546 relative branches.
3547
43f05576
NC
35482000-03-17 Thomas de Lellis <tdel@windriver.com>
3549
66778679
RH
3550 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
3551 instruction operand bad if Rd > 7 when generating
3552 thumb instructions. Prevents for example,
3553 "adr r12,label" from silently failing and generating
3554 the wrong instruction.
3e87a760 3555
67231402
NC
35562000-03-17 Nick Clifton <nickc@cygnus.com>
3557
3558 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
3559 that have a destingation >= 0x400000.
3e87a760 3560 Fix compile time warning messages.
67231402 3561
a37c8f88
JR
3562Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3563
3564 * config/tc-sh.c (md_begin): When encountering insn that are
3565 not supported by the current arch, only change the name if
3566 its contents are the same as prev_name.
3567 (get_specific): If the the architecture doesn't match, fail.
3568
dead1419
JR
3569Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3570
3571 * config/tc-sh.c (IDENT_CHAR): Define.
3572 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
3573 matching back where it came from.
3574
182e89d3
JR
3575Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3576
3577 * config/tc-sh.c (md_show_usage): Add description of -dsp.
3578
84f73d89
NC
35792000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
3580
3581 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
3582 normal operands.
3583
dbbc7809
JL
35842000-03-15 Kazu Hirata <kazu@hxi.com>
3585
3586 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
3587
271bb601
HPN
3588Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
3589
3590 * expr.c (operand) [case 'f']: When testing if '0f' can start a
3591 floating-point-number, make sure 'f' is in FLT_CHARS.
3592
8684e216
HPN
3593Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
3594
3595 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
3596 (s_lcomm_internal): Use it.
3597 * doc/internals.texi (CPU backend): Document it.
3598 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
3599 bytes.
3600
bb2d6cd7
GK
36012000-03-10 Geoffrey Keating <geoffk@cygnus.com>
3602
3603 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
3604 when embedded-pic.
3605
3606 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
3607 implementation doesn't have special handling for switch
3608 statements.
bb2d6cd7
GK
3609 (macro_build): Allow for code in sections other than .text.
3610 (macro): Likewise.
3611 (mips_ip): Likewise.
3612 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 3613 Don't perform relocs if we will be outputting them.
bb2d6cd7 3614 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
3615 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
3616 embedded-pic.
bb2d6cd7 3617
5c86cbc7 36182000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 3619
66778679
RH
3620 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
3621 relocation type based on the entry in the fixup structure.
a47cf567 3622 Put S_IS_EXTERN processing back in.
5c86cbc7 3623
f8c827e9
L
36242000-03-08 H.J. Lu (hjl@gnu.org)
3625
3626 * Makefile.am (install-exec-tooldir): Depend on
3627 install-exec-bindir for parallel make.
3628 * Makefile.in: Regenerated.
3629
8ad9e709
NC
36302000-03-06 Nick Clifton <nickc@cygnus.com>
3631
3632 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
3633 switch.
3634 (md_parse_option): Parse -m32r command line switch - disable m32rx
3635 compatability.
ded0aeb7
NC
3636 (md_show_usage): Document new option.
3637
3638 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
3639 * doc/Makefile.in: Regenerate.
3640 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 3641
b7b8f327
MM
36422000-03-02 Michael Meissner <meissner@redhat.com>
3643
3644 * config/tc-d30v.c (check_range): Remove code that incorrectly
3645 sign extended values where bits < 32.
3646
15886821
L
36472000-03-02 H.J. Lu (hjl@gnu.org)
3648
3649 * configure.in: Support --enable-targets=all on ia32.
3650 * configure: Regenerated.
3651
8bf950bf
NC
36522000-03-01 Nick Clifton <nickc@cygnus.com>
3653
3654 * gasp.c (do_align): Remove bogus check of alignment value.
3655
c5e54cc2
ILT
36562000-02-27 Thomas de Lellis <tdel@windriver.com>
3657
3658 * config/obj-elf.c (elf_frob_symbol): Remove code which when
3659 TC_PPC was defined forced the type of a symbol with no other type
3660 to be BSF_OBJECT.
3661
65fd87bc
ILT
36622000-02-27 Hans-Peter Nilsson <hp@axis.com>
3663
3664 * doc/internals.texi (CPU backend): Mention that
3665 line_separator_chars do not break up comments. Fix typos for
3666 LEX_AT and LEX_NAME descriptions. Document operands for
3667 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
3668 description of md_create_short_jump usage. Document argument for
3669 md_undefined_symbol.
3670
a25fe906
ILT
36712000-02-27 Jakub Jelinek <jakub@redhat.com>
3672
3673 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
3674 (md_parse_option): Handle it.
3675 (md_show_usage): Document it.
3676
21b10511
ILT
36772000-02-27 Ian Lance Taylor <ian@zembu.com>
3678
3679 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
3680 opcode, for the instruction `pal19'. From Andrea Arcangeli
3681 <andrea@suse.de>.
3682
773f551c
AM
36832000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
3684
3685 * config/tc-i386.c (i386_immediate): Move constant operand sizing
3686 from here..
3687 (md_assemble): To here, before template operands are matched.
3688 Also ensure a constant immediate is sign extended when we know the
3689 size is at most 16 bits. This is to catch cases like "add
3690 $0xffc0,%ax" where we don't know the size, and thus that the
3691 immediate can be represented as Imm8S until after parsing the
3692 register operand.
3693 (i386_displacement): Similarly sign extend 16 bit constant
3694 displacements.
3695 (md_assemble): Relax 16-bit jump constant range check to suit sign
3696 extended displacements.
3697
28d33191
JL
36982000-02-26 Andreas Jaeger <aj@suse.de>
3699
3700 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
3701
cc5ca5ce
AM
37022000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
3703
3704 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
3705 call operands when intel_syntax.
3706 (intel_float_operand): Return 2 for "fi...".
3707 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
3708 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
3709 earlier "SHORT" change.
3710 (md_assemble): When determining suffix from Regs, exclude
3711 InOutPortReg.
3712
056350c6
NC
37132000-02-24 Nick Clifton <nickc@cygnus.com>
3714
3715 * configure: Add arm-wince, mips-pe and sh-pe targets.
3716 * configure: Regenerate.
3717
3718 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
3719 sh-pe targets.
3720 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
3721 "pe-mips" for the mips-pe target.
3722
3723 * config/tc-arm.c (insns): Change displacement encoded in BL
3724 and B instructions if the target port is arm-wince.
3725 (do_ldst): Do not bias the relocation offset if the target
3726 port is arm-wince.
3727 (md_pcrel_from): Add in missing relocation offset bias if the
3728 target os arm-wince.
3729
3730 * config/tc-mips.c (mips_target_format): Support COFF flavour.
3731 (md_begin): Disable -G support for mips-pe target.
3732 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
3733 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
3734 COFF flavour.
3735
3736 * config/tc-sh.c (md_begin): sh-pe target is little endian.
3737 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
3738 assembler, just set the alignment to 4.
3739
3740 * config/te-wince-pe.h: New file for WinCE targets. Define
3741 TE_WINCE.
3742
36bf8ab9
AM
37432000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
3744
3745 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
3746 string instructions.
3747 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
3748 (i386_intel_memory_operand): After finding a segment override,
3749 check again for no `[' before looking for a displacement. Bomb if
3750 more than one displacement rather than silently discarding the
3751 second and subsequent ones. Free strings malloc'd by
3752 build_displacement_string.
3753
f5795b08
CM
37542000-02-24 Catherine Moore <clm@cygnus.com>
3755
3756 * config/obj-som.c (obj_pseudo_table): Add "weak".
3757 (obj_som_weak): New routine.
3758
abd63a32
AM
37592000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
3760
520dc8e8
AM
3761 * config/tc-i386.c (union i386_op): New.
3762 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
3763 Throughout file replace occurences of disps[n], imms[n], regs[n]
3764 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
3765 intel mode operand swapping. Add assert in regKludge and
3766 fake_zero_displacement code. Test i.types[n] when outputting
3767 displacements and immediates. Combine output of Disp16 with
3768 Disp32.
7f3f1ea2
AM
3769 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
3770 when in intel mode by (not) reversing fsub and fdiv operands
3771 before the template search. This fails for single operand
3772 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
3773 undefined. Instead fix the base_opcode after we've found the
3774 template. Move base_opcode xor with found_reverse_match from
3775 opcode output code to before this fix so we test for the correct
3776 opcodes.
3777 (md_assemble): Don't use strcmp when deciding to ignore the suffix
3778 check in intel mode. Instead compare opcodes.
520dc8e8
AM
3779
3780 * config/tc-i386.h (TC_RELOC): Delete.
3781 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
3782 with equivalent call to reloc.
3783
abd63a32
AM
3784 * as.h (flag_m68k_mri): Move declaration after target include, and
3785 only declare when TC_M68K defined. Define as zero otherwise.
3786 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
3787 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
3788 Define as zero otherwise.
3789 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
3790 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
3791 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
3792 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
3793 testing whether defined.
3794 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
3795 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
3796 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
3797 rather than testing whether defined.
3798 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
3799 (parse_mri_cons): Declare and use only when TC_M68K.
3800 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
3801 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
3802 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
3803
3804 * NEWS: Mention IBM 370 support.
3805
7e052742
RH
38062000-02-23 Richard Henderson <rth@cygnus.com>
3807
3808 * config/tc-i386.c (md_assemble): When swapping operands for
3809 intel_syntax, assume everything that's not Imm or Disp is a
3810 register.
3811
5b93d8bb
AM
38122000-02-23 Linas Vepstas <linas@linas.org>
3813
3814 * config/tc-i370.c, config/tc-i370.h: New files.
3815 * Makefile.am: Add support for Linux/IBM 370.
3816 * configure.in: Likewise.
3817 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
3818 * config/obj-elf.c: Include elf/i370.h
3819 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
3820
3821 * Makefile.in: Regenerate.
3822 * configure: Regenerate.
3823
3824 * doc/c-i370.texi: New file.
3825 * doc/all.texi: Include it.
3826 * doc/as.texinfo: And here.
3e87a760 3827 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
3828 * doc/Makefile.in: Regenerate.
3829
25f2196d
CC
38302000-02-19 Michael Meissner <meissner@redhat.com>
3831
3832 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
3833 determine if an instruction can be used in parallel with an ADDppp
3834 or SUBppp instruction.
3835
6349b5f4
AH
38362000-02-22 Andrew Haley <aph@cygnus.com>
3837
3838 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
3839
2f6d2f85 38402000-02-22 Andrew Haley <aph@cygnus.com>
c97ef257
AH
3841
3842 * config/tc-mips.c (mips_gp32): New variable.
3843 (macro_build) Use mips_gp32.
3844 (mips_ip): Ditto.
3845 (md_longopts): Add "-mgp32" and "-mgp64".
3846 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 3847
a47cf567
NC
3848 (OPTION_M7900): Change offset
3849 (OPTION_NO_M7900): Ditto.
3850
b985eaa8
ILT
38512000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3852
3853 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
3854 warning, and bump it to 1.
3855
52454417
ILT
38562000-02-22 Ian Lance Taylor <ian@zembu.com>
3857
3858 From Brad Lucier <lucier@math.purdue.edu>:
3859 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
3860 match format.
3861
6b76fefe
CM
38622000-02-21 Catherine Moore <clm@cygnus.com>
3863
3864 * config/tc-mips.c (MF_HILO_INSN): Define.
3865 (mips_7000_hilo_fix): Declare.
3866 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
3867 (md_parse_option): Check for 7000_HILO_FIX options.
3868 (OPTION_M7000_HILO_FIX): Define.
3869 (OPTION_NO_M7000_HILO_FIX): Define.
3870 * doc/c-mips.texi (-mfix7000): Describe.
3871
f6af82bd
AM
38722000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3873
3874 * listing.c (print_lines): Remove unused variable `end'.
3875
3876 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
3877 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 3878 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
3879 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
3880 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 3881 statement and quell signed vs. unsigned comparison warning.
f6af82bd 3882
8c8281f4
NC
38832000-02-18 Nick Clifton <nickc@cygnus.com>
3884
3885 * config/tc-d10v.c (find_opcode): Add a symbol's value to
3886 the computed frag offset, rather than overwriting it.
3887
d4845d57
JR
3888Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3889
3890 * config/tc-sh.c ("elf/sh.h"): Include.
3891 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
3892 (md.begin): Initialize target_arch.
3893 Only include opcodes in has table that match selected architecture.
3894 (parse_reg): Recognize register names for sh-dsp.
3895 (parse_at): Recognize post-modify addressing.
3896 (get_operands): The leading space is now optional.
3897 (get_specific): Remove FDREG_N support. Add support for sh-dsp
3898 arguments. Update valid_arch.
3899 (build_Mytes): Add support for SDT_REG_N.
3900 (find_cooked_opcode): New function, broken out of md_assemble.
3901 (assemble_ppi, sh_elf_final_processing): New functions.
3902 (md_assemble): Use find_cooked_opcode and assemble_ppi.
3903 (md_longopts, md_parse_option): New option: -dsp.
3904 * config/tc-sh.h (elf_tc_final_processing): Define.
3905 (sh_elf_final_processing): Declare.
3906
c97305a1
JL
3907Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
3908
3909 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
3910 the unwinder subspace. Save the current seg/subseg before creating
3911 the new seg/subseg.
3912
bec50466
NC
39132000-02-10 Nick Clifton <nickc@cygnus.com>
3914
3915 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 3916 little endian targets.
bec50466 3917 (INST_BYTE1): Redefine to handle big and little endian
66778679 3918 targets.
bec50466
NC
3919 (cpu_type): New type: Select between M340 and M210.
3920 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 3921 instructions of the M340.
bec50466 3922 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 3923 instructions.
bec50466
NC
3924 (md_atof): Add support for little endian targets.
3925 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 3926 line switches.
bec50466
NC
3927 (md_convert_frag): Add support for little endian targets.
3928 (md_apply_fix3): Add support for little endian targets.
3929 (md_number_to_chars): Add support for little endian targets.
3930
a25c045a
TW
39312000-02-10 Timothy Wall <twall@redhat.com>
3932
3933 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
3934 defined, use it to verify the symbol just read should be a label.
3935
f28e8eb3
TW
39362000-02-10 Timothy Wall <twall@redhat.com>
3937
3938 * app.c (do_scrub_chars): Handle "||" for parallel instructions
3939 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
3940 around colons when KEEP_WHITE_AROUND_COLON is defined.
3941 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
3942 and KEEP_WHITE_AROUND_COLON.
3943
6dc19fc4
TW
39442000-02-08 Timothy Wall <twall@redhat.com>
3945
3946 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 3947 logic.
6dc19fc4 3948 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 3949 implemented.
6dc19fc4
TW
3950 (end_repeat): New. Provide support for a "break" out of the
3951 repeat loop.
3952 * read.h: Add prototypes for new functions.
3e87a760 3953
f805106c
TW
39542000-02-08 Timothy Wall <twall@redhat.com>
3955
3956 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
3957 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
3958 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
3959 non-zero.
3960
4469be0f
TW
39612000-02-08 Timothy Wall <twall@redhat.com>
3962
3963 * read.c: Added elseif to directives table.
3964 * read.h: Added prototype for s_elseif.
3965 * doc/as.texinfo: Added description for elseif.
3966 * cond.c (s_elseif): New function
3e87a760 3967
24a17b6c
TW
39682000-02-04 Timothy Wall <twall@redhat.com>
3969
3970 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 3971 listings.
24a17b6c 3972
bea9907b 39732000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 3974
bea9907b
TW
3975 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
3976 default values.
3977 * frags.c (frag_new): Calculate fr_fix in octets
3978 (frag_now_fix) Return offset as target address offset (bytes).
3979 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 3980 quantities).
bea9907b
TW
3981 * frags.h: Added prototype for frag_now_fix_octets().
3982 Distinguish between octets and bytes in field descriptions.
3983 * listing.c (calc_hex): Account for octets vs bytes when
3984 printing addresses/offsets.
3985 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
3986 target is little-endian, print the octets in a word in big-endian
3987 order so that the display looks like a proper hexadecimal number,
3988 instead of having the octets reversed.
3989 * read.c (do_align): When recording alignment, alignment power
3990 should be in terms of target bytes (minimum addressible unit)
3991 instead of octets.
3992 (do_org) Convert ORG target address (byte) argument into an
3993 octet offset when generating a variable fragment.
3994 * symbols.c (resolve_symbol_value): Symbol final value
3995 converted to a target address offset (bytes) from its octet offset.
3996 * config/obj-coff.c (coff_frob_symbol): Symbol target address
3997 offset (bytes) is adjusted by the frag offset (octets) converted
3998 to bytes.
3999 (coff_frob_section) Section alignment power is in terms of bytes;
4000 convert it to an octet alignment power when calculating size (and
4001 size mask) in octets. Don't modify the section size in order to
4002 "align" it for TI COFF, since that format has a different method
4003 for storing alignment information.
3e87a760 4004
210dcc61
TW
40052000-02-01 Timothy Wall <twall@cygnus.com>
4006
4007 * stabs.c (generate_asm_file): Escape backslashes in stabs file
4008 entries, matching the way GCC generates them. If not escaped, the
4009 filename is encoded incorrectly.
4010
557537a5 40112000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 4012
557537a5
NC
4013 * config/tc-arm.c (reg_table): Add support for ATPCS register
4014 naming conventions.
2c1c4c62 4015
557537a5 40162000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 4017
2c1c4c62
GK
4018 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
4019 already defined.
3e87a760 4020 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
4021 New macro.
4022 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
4023 of a symbol when we really care about its value.
4024
40252000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
4026
4027 * config/tc-mcore.c (md_assemble): Give warning message if
4028 operands passes to instruction are more than the spec.
4029
2f0ca46a
NC
40302000-01-27 Thomas de Lellis <tdel@windriver.com>
4031
66778679 4032 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a
NC
4033 Thumb mode but the label seen was not declared as '.thumb_func'
4034 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 4035 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 4036
4c63da97
AM
40372000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4038
4039 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
4040 Add dependencies for e-i386aout.o. Fix 2 comment lines.
4041
4042 * Makefile.in: Same here.
4043 Update copyright.
4044
4045 * configure.in: Set bfd_gas for i386-aout when primary target
4046 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
4047 we may need the primary te_file. Remove incorrect comment.
4048
4049 * configure: Regenerate.
4050
4051 * config/e-i386aout.c: New file.
4052
4053 * as.c (USE_EMULATIONS): Move to before print_version_id.
4054 (struct emulation): Add i386aout.
4055 (show_usage): Split text strings. Reformat -a text. Add --em
4056 help.
4057 Update copyright.
4058
4059 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
4060 (aout_format_ops): New.
4061 Update copyright.
4062
4063 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
4064 preprocessor conditional and add aout USE_EMULATIONS tests.
4065 (read_a_source_file): Don't pass error strings to printf as
4066 format arg.
4067 Update copyright.
4068
4069 * gasp.c (exp_get_abs): Don't pass error strings to printf as
4070 format arg.
4071 (do_data): Same here.
4072 (process_file): And here.
4073 Update copyright.
4074
4075 * symbols.c (colon): Rewrite "already defined" fatal message
4076 code for aout with USE_EMULATIONS.
4077 Update copyright.
4078
4079 * config/obj-aout.c (OBJ_HEADER): Define.
4080 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 4081 fields of sentinel.
4c63da97
AM
4082 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
4083 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
4084 forms here.
4085 (obj_aout_type): Expand S_SET_OTHER here too.
4086 (obj_read_begin_hook): Remove.
4087 (aout_pop_insert): New.
4088 (obj_aout_s_get_other): New.
4089 (obj_aout_s_get_desc): New.
4090 (aout_format_ops): New.
4091 Update copyright.
4092
4093 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
4094 gets aout_pseudo_table.
4095 (aout_pseudo_table): Declare.
4096 (obj_read_begin_hook): Define.
4097 Update copyright.
4098
4099 * config/obj-coff.c (obj_pseudo_table): Rename to
4100 coff_pseudo_table.
4101 (coff_pop_insert): Use coff_pseudo_table.
4102 (coff_sec_sym_ok_for_reloc): Remove.
4103 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
4104 and comment all zero entries and remove #if 0 code.
4105 Update copyright.
4106
4107 * config/obj-coff.h (obj_pop_insert): Define.
4108 (coff_pseudo_table): Declare.
4109 Update copyright.
4110
4111 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
4112 s_get_size, s_set_size. Comment all zero entries.
4113 Update copyright.
4114
4115 * config/obj-elf.c (elf_s_get_other): New function.
4116 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
4117 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
4118 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
4119 comment.
4120 (obj_elf_parse_section_letters): Don't pass error strings to
4121 printf as format arg.
4122 Update copyright.
4123
4124 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
4125 OBJ_MAYBE_ECOFF.
4126 (elf_s_get_other): Declare.
4127 (S_GET_OTHER) Define as elf_s_get_other if not already
4128 defined.
4129 (S_SET_OTHER): Only define when not already defined.
4130 (elf_obj_read_begin_hook): Declare.
4131 (obj_read_begin_hook): Define.
4132 (elf_obj_symbol_new_hook): Declare.
4133 (obj_symbol_new_hook): Define.
4134 Update copyright.
4135
4136 * config/obj-multi.h: Add copyright header and protect against
4137 multiple inclusion. Add * to all function pointers.
4138 (OBJ_HEADER): If defined, include it rather than other defines
4139 in this file.
4140 (obj_frob_file_after_relocs): Test for NULL.
4141 (obj_symbol_new_hook): Here too.
4142 (obj_sec_sym_ok_for_reloc): And here.
4143 (S_GET_OTHER): Define.
4144 (S_GET_DESC): Define.
4145 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
4146 (OBJ_MAYBE_ELF): Update comment.
4147
4148 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
4149 OBJ_AOUT preprocessor conditional and handle emulation by
4150 testing OUTPUT_FLAVOR.
4151 (i386_displacement): Here too.
4152 (md_section_align): Similarly here.
4153 (i386_target_format): Conditionally compile when more than one
4154 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
4155 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
4156 (i386_displacement): Here too.
4157 Update copyright.
4158
4159 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
4160 Define TARGET_FORMAT for aout only when not multi.
4161 Update copyright.
4162
4163 * config/te-multi.h: Delete file as it's identical to te-generic.h
4164
add0c677
AM
41652000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
4166
4167 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
4168 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
4169 LONG_MNEM_SUFFIX.
4170
4171 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
4172 DWORD_MNEM_SUFFIX.
4173 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
4174 comments.
4175
a19d8eb0
CP
41762000-01-13 Clinton Popetz <cpopetz@cygnus.com>
4177
66778679
RH
4178 * config/tc-mips.c (mips_do_align): New function.
4179 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 4180
550262c4
NC
41812000-01-10 Philip Blundell <philb@gnu.org>
4182
4183 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 4184 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
4185 line separator for Linux.
4186 * doc/as.texinfo (Comments): Mention the ARM.
4187
0decc840
NC
41882000-01-10 Philip Blundell <pb@futuretv.com>
4189
4190 * configure.in (arm*-*-conix*): New target.
4191 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
4192 armv*-*-linux-gnu.
4193 * configure: Regenerate.
4194
2e13b764
NC
41952000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
4196
4197 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
4198 (obj_elf_visibility): New function.
3e87a760 4199
2e13b764
NC
4200 * doc/as.texinfo (Visibility): New node: document visibility
4201 pseudo ops.
4202
2f6d2f85 4203For older changes see ChangeLog-9899
This page took 0.293918 seconds and 4 git commands to generate.