2000-12-22 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
ad1172d4
L
12000-12-22 H.J. Lu <hjl@gnu.org>
2
3 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
4
3e73aa7c
JH
5Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
6
7 * tc-i386.h (i386_target_format): Define even for ELFs.
8 (QWORD_MNEM_SUFFIX): New macro.
9 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
10 New macros
11 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
12 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
13 ImmExt): Renumber.
14 (Size64, No_qSuf, NoRex64, Rex64): New macros.
15 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
16 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
17 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
18 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
19 Renumber.
20 (Reg, WordReg): Add Reg64.
21 (Imm): Add Imm32S and Imm64.
22 (EncImm): New.
23 (Disp): Add Disp64 and Disp32S.
24 (AnyMem): Add Disp32S.
25 (RegRex, RegRex64): New macros.
26 (rex_byte): New type.
27 * tc-i386.c (set_16bit_code_flag): Kill.
28 (fits_in_unsigned_long, fits_in_signed_long): New functions.
29 (reloc): New parameter "signed"; support x86_64.
30 (set_code_flag): New.
31 (DEFAULT_ARCH): New macro; default to "i386".
32 (default_arch): New static variable.
33 (struct _i386_insn): New fields Operand_PCrel; rex.
34 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
35 (flag_code): New enum and static variable.
36 (use_rela_relocations): New static variable.
37 (flag_code_names): New static variable.
38 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
39 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
40 K6 and Athlon.
41 (i386_align_code): Return plain "nop" for x86_64.
42 (mode_from_disp_size): Support Disp32S.
43 (smallest_imm_type): Support Imm32S and Imm64.
44 (offset_in_range): Support size of 8.
45 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
46 (md_pseudo_table): Add "code64"; use set_code_flat.
47 (md_begin): Emit sane error message on hash failure.
48 (tc_i386_fix_adjustable): Support x86_64 relocations.
49 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
50 instructions supported on particular arch just partially,
51 output of 64bit immediates, handling of Imm32S and Disp32S type.
52 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
53 (i386_displacement): Likewise.
54 (i386_index_check): Cleanup; support 64bit addresses.
55 (md_apply_fix3): Support x86_64 relocation and rela.
56 (md_longopts): Add "32" and "64".
57 (md_parse_option): Add OPTION_32 and OPTION_64.
58 (i386_target_format): Call even for ELFs; choose between
59 elf64-x86-64 and elf32-i386.
60 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
61 (tc_gen_reloc): Support rela relocations and x86_64.
62 (intel_e09_1): Support QWORD.
63
21d6c4af
DN
642000-12-15 Diego Novillo <dnovillo@redhat.com>
65
66 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
67 it's not an offset expression.
68 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
69 keep the braces '[' and ']' in the output string.
70 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
71 != FLAT. There is no such op_modifier.
72
6717891c
NC
732000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
74
75 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
76 if we have it.
77
ee515fb7
KH
782000-12-13 Kazu Hirata <kazu@hxi.com>
79
80 * as.h: Fix formatting.
81 * cgen.h: Likewise.
82 * dwarf2dbg.c: Likewise.
83 * input-scrub.c: Likewise.
84 * read.h: Likewise.
85
349a994c
DD
862000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
87
88 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
89 configure: Regenerate.
90
42dbf88c
NC
912000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
92
93 * dwarf2dbg.c: #include <limits.h> only if it exists.
94
0485cba3
AM
952000-12-13 Rodney Brown <RodneyBrown@mynd.com>
96
97 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
98 (md_apply_fix): Here too.
99
514829c3
JW
1002000-12-12 Jim Wilson <wilson@redhat.com>
101
102 * config/tc-ia64.h (ia64_init): Add prototype.
103
92eb7b32
L
1042000-12-12 H.J. Lu <hjl@gnu.org>
105
106 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
107
108 * read.h (outputting_stabs_line_debug): Change it to int.
109 * stabs.c (outputting_stabs_line_debug): Likewise.
110
8141c27d
GK
1112000-12-12 Geoffrey Keating <geoffk@redhat.com>
112
113 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
114 the address of a function result.
115
5d6f4f16
GK
1162000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
117
118 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
119 (md_assemble): Call dwarf2_emit_insn.
120 (shlib): Fix typo SHILB -> SHLIB.
121 (md_parse_option): Likewise.
122 (ppc_elf_validate_fix): Likewise:
123 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
124
d4c0c039
NC
1252000-12-12 Nick Clifton <nickc@redhat.com>
126
127 * cgen.h: Fix formatting.
128 * input-scrub.c: Fix formatting.
129 * macro.c: Fix formatting.
e972090a 130 * config/tc-mips.c: Fix formatting.
584da044
NC
131 * doc/c-mips.texi: Fix formatting.
132
f16b83df
JH
133Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
134
135 * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
136 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
137 references.
138 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
139 otherwise.
140 * tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
141 (No_dSuf): Kill.
142
143 * i386.h (*_Suf): Remove No_dSuf.
144 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
145 Remove.
146 (i386_optab): Remove 'd' in the suffixes.
147
50705ef4
AM
1482000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
149
150 * config/tc-i386.c (T_SHORT): Undefine before defining.
151
beae10d5
KH
1522000-12-05 Kazu Hirata <kazu@hxi.com>
153
154 * config/tc-mips.c: Fix formatting.
155
bccba5f0 1562000-12-04 Matthew Hiller <hiller@redhat.com>
50705ef4
AM
157
158 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
159 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
160 (md_show_usage): Ditto.
161 (md_parse_option): Ditto.
162 (d10v_cleanup): Writes pending instruction only if
163 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
bccba5f0 164 Fix compile time warning messages.
50705ef4
AM
165
166 * doc/c-d10v.texi: Documents new options.
bccba5f0
NC
167
1682000-12-04 Matthew Hiller <hiller@redhat.com>
169
50705ef4 170 * stabs.c (outputting_stabs_line_debug): New variable.
bccba5f0
NC
171 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
172 function entry and unset at function exit.
173
50705ef4 174 * read.h (outputting_stabs_line_debug): New extern declaration.
bccba5f0
NC
175
176 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
177
178 * dwarf2dbg.c: Fix compile time warning messages.
179
bc805888
KH
1802000-12-03 Kazu Hirata <kazu@hxi.com>
181
182 * config/tc-a29k.c: Fix formatting.
183 * config/tc-alpha.c: Likewise.
184 * config/tc-arm.c: Likewise.
185 * config/tc-cris.c: Likewise.
186 * config/tc-hppa.c: Likewise.
187 * config/tc-i370.c: Likewise.
188 * config/tc-i386.c: Likewise.
189 * config/tc-i860.c: Likewise.
190 * config/tc-i960.c: Likewise.
191 * config/tc-ia64.c: Likewise.
192 * config/tc-m68hc11.c: Likewise.
193 * config/tc-m68k.c: Likewise.
194 * config/tc-m88k.c: Likewise.
195 * config/tc-pj.c: Likewise.
196 * config/tc-ppc.c: Likewise.
197 * config/tc-sh.c: Likewise.
198 * config/tc-sparc.c: Likewise.
199 * config/tc-tahoe.c: Likewise.
200 * config/tc-vax.c: Likewise.
201
3dacdf2e
NC
2022000-12-01 Chris Demetriou <cgd@sibyte.com>
203
50705ef4
AM
204 * config/tc-mips.c (mips_ip): When calculating offsets,
205 don't accept as constant the difference between the
206 addresses of symbols in two different sections.
207
208 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
209 specifiers.
210 (validate_mips_insn): Likewise. Also, update 'B' operand
211 specifier to use OP_*_CODE20 constants and delete 'm' operand
212 specifier.
213 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
214 operand specifiers. Change warning generated by 'B' operand
215 specifier to reflect its new multi-purpose usage.
216
217 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
218 -1, and update comment.
219 (file_mips_isa): Likewise.
220 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
221 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
222 ISA_* constants rather than hard-coded numbers.
223 (mips_cpu_info): New structure.
224 (mips_cpu_info_table): New table describing CPU and ISA names
225 and numbers.
226 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
227 mips_cpu_info_from_cpu): New functions.
228 (mips_isa_to_str): New function to get string for ISA name.
229 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
230 return const char *.
231 (md_begin): Redo CPU and ISA selection logic, using
232 mips_cpu_info_from_*. Convert to use ISA_* constants rather
233 than hard-coded numbers.
234 (append_insn, mips_emit_delays, macro, macro2): Convert to use
235 ISA_* constants rather than hard-coded numbers.
236 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
237 (md_longopts): Delete OPTION_NO_MIPS32.
238 (md_parse_option): Convert to use ISA_* constants rather than
239 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
240 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
241 to use strcasecmp to recognize "default" and to use
242 mips_cpu_info_from_name to get CPU numbers from argument.
243 (md_show_usage): Move -mips32 so it's with the rest of the ISA
244 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
245 mips32-4k.
246 (s_mipsset): Accept ISA value 32.
247 * doc/as.texinfo: Clean up MIPS options summary slightly,
248 remove -no-mips32. Add note about -mips4 and -mips32
249 specifying those ISA levels. Delete -mips32 and -no-mips32
250 cpu flag descriptions.
251 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
252 up the supported CPU switch list, and replace 4Kc, 4Km, and
253 4Kp entries with a single mips32-4k entry. Note that you can
254 use ".set mips32".
255
256 * tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
257 ISA_MIPS64.
258 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
259 -mips5 and -mips64.
260 (md_parse_option): Add cases for OPTION_MIPS5 and
261 OPTION_MIPS64.
262 (md_show_usage): Mention -mips5 and -mips64 arguments.
263 (s_mipsset): Add cases for MIPS5 and MIPS64.
264 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
265 and pseudo-CPUs.
266 * doc/as.texinfo: Mention -mips5 and -mips64 options
267 and their meanings.
268 * doc/c-mips.texi: Likewise. Also update introduction
269 and ".set" usage information.
270
271 * config/tc-mips.c (md_show_usage): Add "sb1" to the
272 CPU list.
273 (mips_cpu_info_table): Add SB-1 entries.
274 * doc/c-mips.texi: Add "sb1" to the list of CPUs
275 known to the -mcpu option.
276
277 * doc/as.texinfo: Correct description of MIPS -mcpu
278 option, by copying some of the text from doc/c-mips.texi.
c6c98b38 279
5f68c319
NC
2802000-12-01 Joel Sherrill <joel@OARcorp.com>
281
3dacdf2e
NC
282 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
283 New targets.
284 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
285 (sparc*-*-rtems*): Switched from a.out to ELF.
5f68c319
NC
286 * configure: Regenerate.
287 * config.in: Regenerate.
288 * Makefile.in: Regenerate.
289 * aclocal.m4: Regenerate.
290 * po/gas.pot: Regenerate.
50705ef4 291
4ce3447c
PB
2922000-11-30 Philip Blundell <pb@futuretv.com>
293
294 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
295 even in non BFD_ASSEMBLER case.
296
76a0ddac
DN
2972000-11-30 Diego Novillo <dnovillo@redhat.com>
298
299 * tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
300 syntax.
301
220e750f
RH
3022000-11-29 Richard Henderson <rth@redhat.com>
303
304 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
305 until dwarf2_finish; use relaxation to get cross-fragment offsets;
306 thread multiple subsegments properly; handle multiple code
307 sections properly; emit proper compilation unit info for assembler
308 generated debugging.
309
310 * as.h (enum _relax_state): Add rs_dwarf2dbg.
311 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
312 (dwarf2dbg_estimate_size_before_relax): Declare.
313 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
314 * write.c: Include dwarf2dbg.h.
315 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
316 (relax_segment): Likewise.
317
99b222b4
HPN
3182000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
319
320 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
321 jump>: Use as_bad_where instead of as_bad. Tweak error message
322 accordingly. Stabilize frag by updating fix part and resetting
323 variant part.
324 <undefined symbol, unconditional jump>: Ditto.
dda5ecfc
HPN
325 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
326 indexing is_end_of_line[].
327 (md_assemble): Initialize size to 0.
328 (md_section_align): Mark parameter seg as unused.
e46fee70 329 (parse_reg): Parse names case-insensitively.
99b222b4 330
814f6641
KH
3312000-11-28 Kazu Hirata <kazu@hxi.com>
332
333 * config/obj-aout.h: Fix formatting.
334 * config/obj-bout.h: Likewise.
335 * config/obj-coff.c: Likewise.
336 * config/obj-coff.h: Likewise.
337 * config/obj-elf.h: Likewise.
338 * config/obj-som.h: Likewise.
339 * config/obj-vms.c: Likewise.
340 * config/obj-vms.h: Likewise.
341 * config/tc-h8300.h: Likewise.
342 * config/tc-ns32k.h: Likewise.
343 * config/tc-sparc.h: Likewise.
344 * config/tc-tic54x.h: Likewise.
345 * config/tc-z8k.h: Likewise.
346
e47b9e39
NC
3472000-11-28 Nick Clifton <nickc@redhat.com>
348
349 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
350 License is present in the sources, but not the output, and
351 also available from the GNU website.
352 (GNU Free Documentation License): Comment out this section.
353
fcdc20a4
HPN
3542000-11-28 Hans-Peter Nilsson <hp@axis.com>
355
43c34dee
HPN
356 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
357 targets. Remove i860 from valid a.out targets.
358 * Makefile.in: Regenerate.
359
fcdc20a4 360 * config/tc-cris.c: Include dwarf2dbg.h.
50705ef4 361 (md_pseudo_table): Add .file and .loc.
fcdc20a4
HPN
362 (md_assemble): Call dwarf2_emit_insn if generating ELF.
363 (s_cris_file, s_cris_loc): New.
364 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
365 * Makefile.am: Regenerate dependencies.
366 * Makefile.in: Regenerate.
367
16887944
AM
3682000-11-28 Alan Modra <alan@linuxcare.com.au>
369
370 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
371 (MRI_MUL_PRECEDENCE): Likewise.
372 (op_rank): Fix a comment typo.
373
ae3e85dd
SC
3742000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
375
376 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
377 the error message.
378 (get_operand): Fix analysis for movw/movb instructions.
379
077b8428
NC
3802000-11-24 Nick Clifton <nickc@redhat.com>
381
382 * configure.in (xscale-elf): Add target.
383 (xscale-coff): Add target.
384 * configure: Regenerate.
385
386 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
387 extenstion.
388 (ARM_EXT_XSCALE): New ARM architecture extension.
389 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
390 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
391 (ARM_THUMB): Rename to ARM_EXT_THUMB.
392 (ARM_ARCH_V4): Remove processor from architecture.
393 (ARM_ARCH_3M): New architecutre definition.
394 (ARM_ARCH_V5TE): New architecutre definition.
395 (ARM_ARCH_XSCALE): New architecutre definition.
396 (CPU_DEFAULT): Allow to be defaulted to XScale.
397 (atpcs): New boolean variable.
398 (ldr_flags): Support 'd' flag for double word loads.
399 (str_flags): Support 'd' flag for double word stored.
400 (do_mia): New function.
401 (do_mar): New function.
402 (do_mra): New function.
403 (do_pld): New function.
404 (do_ldrd): New function.
405 (do_blx): New function.
406 (do_bkpt): New function.
407 (do_clz): New function.
408 (do_lstc2): New function.
409 (do_cdp2): New function.
410 (do_t_blx): New function.
411 (do_t_bkpt): New function.
412 (do_smla): New function.
413 (do_smlal): New function.
414 (do_smul): New function.
415 (do_qadd): New function.
416 (do_co_reg2c): New function.
417 (LONGEST_INSN): Redefine to 7.
418
419 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
420 command line switches.
421
2434f565
JW
4222000-11-22 Jim Wilson <wilson@redhat.com>
423
424 * config/tc-ia64.c (pseudo_func): Add missing initializers.
425 (struct rsrc): Make line unsigned.
426 (gr_values): Add missing initializer.
427 (SLOT_NUM_NOT_SET): Add unsigned cast.
428 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
429 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
430 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
431 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
432 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
433 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
434 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
435 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
436 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
437 Add ATTRIBUTE_UNUSED to unused parameters.
438 (convert_expr_to_ab_reg): Add parens.
439 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
440 (dot_prologue): Initialize grsave when declared.
441 (md_pseudo_table): Add missing initializers.
442 (operand_match): Add casts to bfd_vma.
443 (emit_one_bundle): Delete unused local prev. Make required_template
444 unsigned.
445 (specify_resource): Cast i to unsigned.
446 (note_register_values): Use fprintf_vma.
447 (print_dependency): Likewise.
448
5a080f89
JW
4492000-11-21 Jim Wilson <wilson@redhat.com>
450
5e7474a7
JW
451 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
452 for unwind info section.
453 (dot_endp): Likewise for unwind section.
454
5a080f89
JW
455 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
456 fix_new_exp.
457
732d96b6
JJ
4582000-11-21 Jakub Jelinek <jakub@redhat.com>
459
460 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
461 (output_insn): Call dwarf2_emit_insn.
b8e904dc 462 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
732d96b6 463
6d2cf69f
RH
4642000-11-17 Richard Henderson <rth@redhat.com>
465
466 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
467 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
468 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
469
8179bd9b
NC
4702000-11-17 Nick Clifton <nickc@redhat.com>
471
472 * config/tc-arm.c (md_pseudo_table): Add support for .line and
473 .file pseudo ops.
474
316e2c05
RH
4752000-11-17 Richard Henderson <rth@redhat.com>
476
477 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
478
a8316fe2
RH
4792000-11-17 Richard Henderson <rth@redhat.com>
480
481 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
50705ef4 482 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
a8316fe2
RH
483 tri-state definition of alpha_flag_mdebug.
484 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
485 (s_alpha_file): Store first .file directive.
486 (s_alpha_stab): New.
487 (md_pseudo_table): Add stabs and stabn.
488
e346e481
RH
4892000-11-17 Richard Henderson <rth@redhat.com>
490
491 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
492
4dc7ead9
RH
4932000-11-17 Richard Henderson <rth@redhat.com>
494
495 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
39bb5fe6 496 (main): Call dwarf2_finish.
4dc7ead9
RH
497 * as.h (debug_type): Clarify documentation of the meaning
498 of this variable.
499 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
500 (print_stats): Fix parenthesis problem.
501 (now_subseg_size): New.
502 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
503 (dwarf2_directive_file): Don't set debug_type.
504 (dwarf2_where): Honor DEBUG_DWARF2 first.
505 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
506 do nothing if not emitting dwarf2 debug info, or no work.
507 * dwarf2dbg.h (dwarf2_emit_insn): Update.
508 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
509 (ecoff_new_file): Likewise.
510 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
511 commentary wrt dwarf2.
512
513 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
514 ATTRIBUTE_UNUSED as needed.
515 (emit_insn): Call dwarf2_emit_insn.
516 (s_alpha_file): New.
517 (s_alpha_loc): New.
518 (s_alpha_coff_wrapper): Don't handle them.
519 (md_pseudo_table): Update for .file and .loc.
520 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
521
522 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
523 don't protect with debug_type.
524 * config/tc-hppa.c (md_assemble): Likewise.
525 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
526 * config/tc-mn10300.c (md_assemble): Likewise.
527 * config/tc-sh.c (md_assemble): Likewise.
528 * config/tc-v850.c (md_assemble): Likewise.
529
530 * config/tc-arm.c (arm_end_of_source): Remove.
531 * config/tc-hppa.c (pa_end_of_source): Remove.
532 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
533 * config/tc-mn10300.c (mn10300_finalize): Remove.
534 * config/tc-sh.c (sh_finalize): Remove.
535 * config/tc-v850.c (sh_finalize): Remove.
536
537 * config/tc-arm.h (md_end): Remove.
538 * config/tc-hppa.h (md_end): Remove.
539 (DWARF2_LINE_MIN_INSN_LENGTH): New.
540 * config/tc-m68hc11.h (md_end): Remove.
541 * config/tc-mn10300.h (md_end): Remove.
542 * config/tc-sh.h (md_end): Remove.
543 * config/tc-v850.h (md_end): Remove.
544
545 * config/tc-ia64.c (emit_one_bundle): Don't protect
546 dwarf2 bits with debug_type.
547 (md_assemble): Likewise.
548 (ia64_end_of_source): Don't call dwarf2_finish.
549
ca683b78
JW
5502000-11-16 Jim Wilson <wilson@redhat.com>
551
552 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
553 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
554 > 16.
555
6f620856
L
5562000-11-16 H.J. Lu <hjl@gnu.org>
557
558 * config/obj-elf.c (obj_elf_symver): Don't check the missing
559 version name.
560
19d63e5d
KH
5612000-11-15 Kazu Hirata <kazu@hxi.com>
562
563 * config/tc-tic30.c: Fix formatting.
564 * config/tc-tic80.c: Likewise.
565 * config/tc-v850.c: Likewise.
566 * config/tc-vax.c: Likewise.
567 * config/tc-w65.c: Likewise.
568 * config/tc-z8k.c: Likewise.
569
a8761a19
DD
5702000-11-14 DJ Delorie <dj@redhat.com>
571
572 * config/tc-v850.c: Support dwarf2.
573 * config/tc-v850.h: Ditto.
574
575 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
576 parse_cons_expression_v850 to initialize hold_cons_reloc.
50705ef4 577
88be23ec
BS
5782000-11-15 Bernd Schmidt <bernds@redhat.com>
579
580 * tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
581 (errata_nops_necessary_p): New function.
582 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
583 md.
584
72a76794
JW
5852000-11-14 Jim Wilson <wilson@redhat.com>
586
587 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
588 return little endian bfd formats.
589
4a1805b1
KH
5902000-11-14 Kazu Hirata <kazu@hxi.com>
591
592 * config/aout_gnu.h: Fix formatting.
593 * config/atof-vax.c: Likewise.
594 * config/m68k-parse.h: Likewise.
595 * config/m88k-opcode.h: Likewise.
596 * config/obj-elf.c: Likewise.
597 * config/tc-arm.c: Likewise.
598 * config/tc-cris.c: Likewise.
599 * config/tc-i386.c: Likewise.
600 * config/tc-ia64.c: Likewise.
601 * config/tc-mn10300.c: Likewise.
602 * config/te-386bsd.h: Likewise.
603 * config/te-hppa.h: Likewise.
604 * config/te-nbsd.h: Likewise.
605 * config/te-ppcnw.h: Likewise.
606 * config/te-sparcaout.h: Likewise.
607 * config/te-tmips.h: Likewise.
608 * config/vax-inst.h: Likewise.
609 * config/vms-conf.h: Likewise.
610
c810873d
JJ
6112000-11-14 Jakub Jelinek <jakub@redhat.com>
612
613 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
614
79082ff0
L
6152000-11-13 H.J. Lu <hjl@gnu.org>
616
617 * config/obj-elf.c (elf_frob_symbol): Support
618 ".symver name,name2@@@nodename".
619 (elf_frob_file_before_adjust): Likewise.
620
621 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
622 and ".symver name,name2@@@nodename".
623 Fix a typo.
624
1da00eb4
L
6252000-11-12 H.J. Lu (hjl@gnu.org)
626
627 * config/obj-elf.c (obj_elf_symver): Check missing version
628 name.
629
f585997b
L
6302000-11-12 H.J. Lu (hjl@gnu.org)
631
632 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
633 instead of bfd_vma for non-bfd assemblers.
634
ef5c4bfc
KH
6352000-11-09 Kazu Hirata <kazu@hxi.com>
636
637 * itbl-ops.c: Fix comment typos.
638
f5a30c2e
JW
6392000-11-08 Jim Wilson <wilson@redhat.com>
640
641 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
642 (struct unwind): Add next_slot_frag field.
643 (slot_index): New parameters slot_frag and first_frag. Add code
644 to add in frag sizes when different. Add comments.
645 (fixup_unw_records): New locals first_frag and last_frag. Pass new
646 arguments to slot_index.
647 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
648 loop end. Set next_slot_frag field.
649
339681c0
L
6502000-11-07 H.J. Lu <hjl@gnu.org>
651
652 * doc/as.texinfo (.symver): Updated for versioned symbol
653 reference.
654
655 * obj.h (format_ops): Add the frob_file_before_adjust field.
656
657 * config/obj-aout.c (aout_format_ops): Set the
658 frob_file_before_adjust field to 0.
659 * config/obj-coff.c (coff_format_ops): Likewise.
660 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
661
662 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
663 name.
664 (elf_frob_file_before_adjust): New function to remove unneeded
665 versioned symbols from the symbol table.
666 (elf_format_ops): Set the frob_file_before_adjust field to
667 elf_frob_file_before_adjust.
668
669 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
670 not defined.
671
672 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
673
4a314ec8
NC
6742000-11-07 Peter Targett <peter.targett@arccores.com>
675
676 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
677 BIG_ENDIAN macros.
678 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
679 Fix compile time warning messages.
50705ef4 680
604d524f
NC
6812000-11-07 Nick Clifton <nickc@redhat.com>
682
683 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
684 buffer in order to avoid buffer overflows.
685
44f5c83a
JW
6862000-11-06 Steve Ellcey <sje@cup.hp.com>
687
688 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
689 Change M to m for -milp32 or -mlp64 to match gcc.
690 (dot_endp): Use bytes_per_address instead of 8.
691 (emit_one_bundle): Use number_to_chars_littleendian instead of
692 md_number_to_chars.
693 (fix_insn): Likewise.
694 (ia64_init): New function.
695 (ia64_target_format): New function.
696 (md_begin): Set endianness, arch, and machine as appropriate.
697 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
698 Make these macros depend on TE_HPUX macro.
699 (TARGET_FORMAT): Define.
700 (HOST_SPECIAL_INIT): Define.
701 * config/te-hpux.h: New file.
702 * configure.in: Add "ia64-*-hpux*" target to configure.
703 * configure: Regenerate.
50705ef4 704
7152f1dc
KH
7052000-11-06 Kazu Hirata <kazu@hxi.com>
706
ef99799a
KH
707 * as.c: Fix formatting.
708 * dwarf2dbg.c: Likewise.
709 * input-file.c: Likewise.
7152f1dc
KH
710 * input-file.h: Likewise.
711 * input-scrub.c: Likewise.
ef99799a
KH
712 * itbl-ops.c: Likewise.
713 * listing.c: Likewise.
714 * macro.h: Likewise.
715 * messages.c: Likewise.
716 * read.c: Likewise.
717 * subsegs.c: Likewise.
718 * subsegs.h: Likewise.
719 * write.c: Likewise.
7152f1dc 720
cf055d54
NC
7212000-11-06 Nick Clifton <nickc@redhat.com>
722
723 * doc/as.texinfo: Add GNU Free Documentation License.
724 * doc/gasp.texi: Add GNU Free Documentation License.
725 * doc/as.1: Add GNU Free Documentation License.
726
8d6b5c8e
NC
7272000-11-05 Nick Clifton <nickc@redhat.com>
728
729 * config/tc-arm.c: Add include of "dwarf2dbg.h"
730
59ff2774
NC
7312000-11-02 Per Lundberg <plundis@chaosdev.org>
732
733 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
734 * configure: Regenerate.
735
37d8bb27
NC
7362000-11-01 Nick Clifton <nickc@redhat.com>
737
738 * read.c (original_case_string): New global variable.
739 (read_a_source_file): Copy opcode string into
740 original_case_string if clobbering the case of the opcode.
741 * read.h: Export the definition of original_case_string.
742 * config/tc-arm.c (md_assembler): When parsing a .req
743 directive use the original opcode string, not the case
744 clobbered version.
745
d75bb8cf
NC
7462000-11-02 Nick Clifton <nickc@redhat.com>
747
748 * config/tc-mn10300.c (debug_line): Remove this static
37d8bb27 749 variable.
d75bb8cf
NC
750 (md_assemble): Call dwarf2_generate_asm_lineno instead of
751 dwarf2_where and dwarf2_gen_line_info.
752
6c17cfe4
PB
7532000-11-02 Theo Honohan <th@futuretv.com>
754
50705ef4 755 * config/tc-arm.c (do_msr): Improve error message.
6c17cfe4 756
c51ce5f0
EC
7572000-10-31 Eric Christopher <echristo@redhat.com>
758
759 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
760 or pc-relative, else use fx_offset.
761
f1bcba5b
JW
7622000-10-31 Jim Wilson <wilson@redhat.com>
763
764 * config/tc-ia64.c (struct md): New field tag_fixups.
765 (ia64_flush_insns): Handle tag_fixups. Error if dangling
766 qualifying predicate.
767 (emit_one_bundle): Delete spurious multiplication by one. Handle
768 tag_fixups.
769 (ia64_start_line): Error if dangling qualifying predicate.
770 (defining_tag): New static variable.
771 (ia64_unrecognized_line, case '['): Parse tags.
772 (ia64_frob_label): Create tag_fixups.
773 (md_assemble): Reset md.qp.X_op after using it.
c51ce5f0 774
8637c045
AM
7752000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
776
777 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
778
ebeeafe6
BS
7792000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
780
781 * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
782
b041f888
KH
7832000-10-30 Kazu Hirata <kazu@hxi.com>
784
785 * expr.c: Fix formatting.
786 * flonum-copy.c: Likewise.
787 * flonum.h: Likewise.
788 * gasp.c: Likewise.
789 * hash.c: Likewise.
790
d8374dcd
HPN
7912000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
792
793 * as.h (OPTION_MD_BASE): Bump to 190.
794 * as.c (parse_args) <std_longopts>: Add comment about the need to
795 check OPTION_MD_BASE in as.h.
796
1308f14c
HPN
797 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
798 for weak symbols.
799
6f6ef0fa
NC
8002000-10-27 Nick Clifton <nickc@redhat.com>
801
802 * configure.in (emulations): Add m68hc12.
803 * configure: Regenerate.
804 * po/gas.pot: Regenerate.
c51ce5f0 805
bf1b5881
AH
8062000-10-27 Aldy Hernandez <aldyh@redhat.com>
807
50705ef4
AM
808 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
809 cpsr*.
810 (arm_psr_parse): Handle lowercase CPSR and SPSR.
bf1b5881 811
85a39694
NC
8122000-10-25 Nick Clifton <nickc@redhat.com>
813
814 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
815 a DWARF2 line number information sequence.
816
817 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
818
819 * read.c (generate_lineno_debug): Update comment describing why
820 DWARF2 line number debug information is not generated
821 automatically by this function.
822
823 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
824 not all.
c51ce5f0 825
85a39694
NC
826 * config/tc-arm.h (md_end): Define.
827 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
c51ce5f0 828
85a39694
NC
829 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
830 if generating DWARF2 line numbers.
831 (arm_end_of_source): New function. Call dwarf2_finish if
832 necessary.
833
834 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
835 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
836 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
c51ce5f0 837
cce0cbdc
DN
8382000-10-25 Diego Novillo <dnovillo@cygnus.com>
839
840 * tc-i386.c: Fix prototype declarations for functions taking no
841 arguments.
842
64a0c779
DN
8432000-10-24 Diego Novillo <dnovillo@cygnus.com>
844
845 * tc-i386.c (i386_operand_modifier): Remove.
846 (build_displacement_string): Remove.
847 (i386_parse_seg): Remove.
848 (i386_intel_memory_operand): Remove.
849 (i386_intel_operand): Re-write using recursive descent parser based
850 on MASM documentation.
851 (struct intel_parser_s): New structure.
852 (intel_parser): New static variable.
853 (struct intel_token): New structure.
854 (cur_token, prev_token): New static variables.
855 (T_NIL): Define.
856 (T_CONST): Define.
857 (T_REG): Define.
858 (T_BYTE): Define.
859 (T_WORD): Define.
860 (T_DWORD): Define.
861 (T_QWORD): Define.
862 (T_XWORD): Define.
863 (T_SHORT): Define.
864 (T_OFFSET): Define.
865 (T_PTR): Define.
866 (T_ID): Define.
867 (intel_match_token): New function.
868 (intel_get_token): New function.
869 (intel_putback_token): New function.
870 (intel_expr): New function.
871 (intel_e05): New function.
872 (intel_e05_1): New function.
873 (intel_e06): New function.
874 (intel_e06_1): New function.
875 (intel_e09): New function.
876 (intel_e09_1): New function.
877 (intel_e10): New function.
878 (intel_e10_1): New function.
879 (intel_e11): New function.
880
19f7b010
JJ
8812000-10-20 Jakub Jelinek <jakub@redhat.com>
882
883 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
884 instructions to loose any special insn->architecture mask.
885
886 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
887 (sparc_md_end, sparc_arch_types, sparc_arch,
888 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
889 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
890 request v9b architecture if they are used).
891
3ae647a0
NC
8922000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
893
894 * config/tc-m68k.c: Fix the previous misapplied patch.
895
5cbdaa77
NC
8962000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
897
50705ef4
AM
898 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
899 BFD_ASSEMBLER and !BFD_ASSEMBLER.
900 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
901 BFD_RELOC_*.
5cbdaa77 902
e6c774b4
KH
9032000-10-17 Kazu Hirata <kazu@hxi.com>
904
905 * debug.c: Fix formatting.
906 * depend.c: Likewise.
907 * dwarf2dbg.c: Likewise.
908 * dwarf2dbg.h: Likewise.
909 * ecoff.c: Likewise.
910 * expr.c: Likewise.
911 * expr.h: Likewise.
912 * flonum-konst.c: Likewise.
913 * frags.h: Likewise.
914
ea20a7da
CC
9152000-10-17 Chandrakala Chavva <cchavva@redhat.com>
916
917 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
918 options.
919 * doc/as.texinfo: Added notes about this new option.
920
266cb5f1
HPN
9212000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
922
923 * config/tc-sh.c (JREG): Remove.
924 (md_convert_frag): Remove #if 0:d code using JREG.
925
6588847e
DN
9262000-10-15 Diego Novillo <dnovillo@cygnus.com>
927
928 * config/tc-i386.c (i386_operand_modifier): Only match
929 modifiers SHORT and FLAT if they are followed by a space.
930 (parse_register): When `allow_naked_reg' is set, do not confuse
931 identifiers that start with a register name with a register.
932
30a2b4ef
KH
9332000-10-12 Kazu Hirata <kazu@hxi.com>
934
935 * app.c: Fix formatting.
936 * as.c: Likewise.
937 * as.h: Likewise.
938 * bit_fix.h: Likewise.
939 * cgen.c: Likewise.
940 * cgen.h: Likewise.
941 * cond.c: Likewise.
942
d01e2a23
AM
9432000-10-11 Alan Modra <alan@linuxcare.com.au>
944
945 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
946
44852b19
AM
9472000-10-07 Alan Modra <alan@linuxcare.com.au>
948
dc1fc56b
AM
949 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
950 Re-arrange function a little and improve error message.
951
44852b19
AM
952 * write.c (write_relocs): Fix a comment.
953
954 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
955 link-once sections.
956
afa680f8
JW
9572000-10-05 Jim Wilson <wilson@cygnus.com>
958
959 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
960
ce8a8b2f
AM
9612000-10-05 Alan Modra <alan@linuxcare.com.au>
962
963 * config/tc-i386.c: Delete some useless comments, reformat others.
964
965 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
966 non-global syms in linkonce sections.
967
56d27c17
AM
9682000-10-04 Ralf Baechle <ralf@gnu.org>
969
970 * config/tc-ia64.c (operand_match): Don't use // style comments.
971 * config/tc-i370.c: Likewise.
972
7b15d668
HPN
9732000-09-29 Hans-Peter Nilsson <hp@axis.com>
974
975 Changes to handle varying register prefix and user symbol prefix.
976 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
977 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
978 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
979 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
980 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
981 (demand_register_prefix): New variable.
982 (md_pseudo_table): New pseudo ".syntax".
983 (md_longopts): New options --no-underscore and --underscore.
984 (cris_target_format): Return elf32-us-cris or elf32-cris depending
985 on symbols_have_leading_underscore.
986 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
987 (get_spec_reg): Ditto.
988 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
989 Fix formatting.
990 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
991 --help.
992 <case OPTION_NO_US, case OPTION_US>: New.
993 (md_show_usage): Be brief and reformat to match continuation of
994 --help.
995 * po/gas.pot: Regenerate.
996
27df9f40
AM
9972000-09-28 Alan Modra <alan@linuxcare.com.au>
998
999 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
1000 force relocs for 12 bit branches.
1001 (md_apply_fix): Similarly, adjust logic here.
1002
5506e1a5
AM
10032000-09-28 Alan Modra <alan@linuxcare.com.au>
1004
1005 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
1006 adjust for external and weak syms as we will use a reloc. Allow
1007 for +8 offset when calculating limits of branches.
1008 (hppa_fix_adjustable): Undo 2000-09-23 change.
1009 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
1010 Correct distance calculation.
47d89dba
AM
1011 (tc_gen_reloc): Print the file name and line number if we can't
1012 handle a fixup.
5506e1a5
AM
1013
1014 From John David Anglin <dave@hiauly1.hia.nrc.ca>
1015 * config/tc-hppa.c (nonzero_dibits): Define.
1016 (arg_reloc_stub_needed): Check each arg and return value
1017 separately for zero case.
1018 (pa_align): Declare argument `bytes'.
1019
81d4177b
KH
10202000-09-25 Kazu Hirata <kazu@hxi.com>
1021
1022 * config/tc-cris.c: Fix formatting.
1023 * config/tc-d10v.h: Likewise.
1024 * config/tc-d30v.c: Likewise.
1025 * config/tc-d30v.h: Likewise.
1026 * config/tc-fr30.c: Likewise.
1027 * config/tc-fr30.h: Likewise.
1028 * config/tc-m68k.c: Likewise.
1029 * config/tc-m68k.h: Likewise.
1030 * config/tc-pj.h: Likewise.
1031 * config/tc-ppc.c: Likewise.
1032 * config/tc-ppc.h: Likewise.
1033 * config/tc-sh.c: Likewise.
1034 * config/tc-sh.h: Likewise.
1035 * config/tc-sparc.c: Likewise.
1036 * config/tc-v850.h: Likewise.
1037 * config/tc-vax.h: Likewise.
1038 * config/tc-w65.h: Likewise.
1039 * config/tc-z8k.h: Likewise.
1040
959ee541
AM
10412000-09-23 Alan Modra <alan@linuxcare.com.au>
1042
1043 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
1044 checks only for ELF.
1045 (hppa_force_relocation): Likewise.
1046
139368c9
JW
10472000-09-22 Jim Wilson <wilson@cygnus.com>
1048
1049 * config/tc-ia64.c (dv_sem): Add "stop".
1050 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
1051 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
1052 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
1053 match above.
1054 (mark_resources): Check IA64_RS_PRr.
1055
151337e8
NC
10562000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1057
56d27c17 1058 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
151337e8
NC
1059 md_estimate_size_before_relax): Redesign and clean up the
1060 relaxation mechanism.
1061
0b7410c4
KH
10622000-09-21 Kazu Hirata <kazu@hxi.com>
1063
1064 * config/tc-ns32k.c: Fix formatting.
1065 * config/tc-ns32k.h: Likewise.
1066
a4d24084
KH
10672000-09-20 Kazu Hirata <kazu@hxi.com>
1068
82efde3a
KH
1069 * config/tc-m32r.c: Fix formatting.
1070 * config/tc-m32r.h: Likewise.
1071 * config/tc-m68851.h: Likewise.
1072 * config/tc-m68hc11.c: Likewise.
1073 * config/tc-m68hc11.h: Likewise.
1074 * config/tc-m88k.c: Likewise.
1075 * config/tc-mcore.c: Likewise.
a75214e5 1076 * config/tc-mcore.h: Likewise.
82efde3a
KH
1077 * config/tc-mips.c: Likewise.
1078 * config/tc-mips.h: Likewise.
1079 * config/tc-mn10200.h: Likewise.
1080 * config/tc-mn10300.h: Likewise.
a75214e5 1081 * config/tc-tahoe.c: Likewise.
a4d24084
KH
1082 * config/tc-tahoe.h: Likewise.
1083
4844386e 10842000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
1085
1086 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
1087 Likewise in relaxation description comments.
1088
9e754211
AM
10892000-09-18 Alan Modra <alan@linuxcare.com.au>
1090
1091 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
1092 subtraction of two syms without emitting a relocation.
1093
1094 From David Huggins-Daines <dhd@linuxcare.com>
1095 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
1096 global or weak symbols.
1097
4a4f25cf
KH
10982000-09-15 Kazu Hirata <kazu@hxi.com>
1099
1100 * config/tc-h8300.h: Fix formatting.
1101 * config/tc-h8500.c: Likewise.
1102 * config/tc-h8500.h: Likewise.
1103 * config/tc-hppa.h: Likewise.
1104 * config/tc-i370.h: Likewise.
1105 * config/tc-i386.h: Likewise.
1106 * config/tc-i860.c: Likewise.
1107 * config/tc-i860.h: Likewise.
1108 * config/tc-i960.h: Likewise.
1109 * config/tc-ia64.c: Likewise.
1110 * config/tc-ia64.h: Likewise.
1111
1dab94dd
KH
11122000-09-14 Kazu Hirata <kazu@hxi.com>
1113
1114 * config/tc-a29k.c: Fix formatting.
1115 * config/tc-alpha.c: Likewise.
1116 * config/tc-arc.c: Likewise.
1117 * config/tc-arc.h: Likewise.
1118 * config/tc-arm.c: Likewise.
1119 * config/tc-arm.h: Likewise.
1120 * config/tc-avr.c: Likewise.
1121 * config/tc-avr.h: Likewise.
1122 * config/tc-tic30.c: Likewise.
1123 * config/tc-tic30.h: Likewise.
1124 * config/tc-tic54x.c: Likewise.
1125 * config/tc-tic54x.h: Likewise.
1126 * config/tc-tic80.c: Likewise.
1127 * config/tc-tic80.h: Likewise.
1128
7484b8e6
TW
11292000-09-14 Timothy Wall <twall@cygnus.com>
1130
1131 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
1132 parallel comparisons for later use.
1133 (struct rsrc): Add parallel comparison type.
1134 (resources_match): Skip special cases of PR usage (non-conflicting
1135 parallel compares).
56d27c17 1136
bf514e21
KH
11372000-09-13 Kazu Hirata <kazu@hxi.com>
1138
1139 * config/obj-ecoff.c: Fix formatting.
1140 * config/obj-elf.c: Likewise.
1141 * config/obj-elf.h: Likewise.
1142 * config/obj-evax.h: Likewise.
1143 * config/obj-generic.h: Likewise.
1144 * config/obj-hp300.c: Likewise.
1145 * config/obj-hp300.h: Likewise.
1146 * config/obj-ieee.h: Likewise.
1147 * config/obj-vms.c: Likewise.
1148 * config/obj-vms.h: Likewise.
1149
156c2f8b 11502000-09-13 Anders Norlander <anorland@acc.umu.se>
56d27c17 1151
50705ef4
AM
1152 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
1153 (md_parse_option): Ditto.
1154 (md_longopts): Add -mips32 option.
1155 (md_show_usage): Document new options.
1156 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
1157 (mips_ip): Assemble mfc0 with a sub-selection code.
1158 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
156c2f8b
NC
1159 (mips_cpu_to_str): New function.
1160 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
1161 Use CPU_* defines instead of hardcoded numbers.
1162
50705ef4
AM
1163 * doc/as.texinfo: Document new options.
1164 * doc/c-mips.texi: Ditto.
156c2f8b 1165
a01b9fa4
KH
11662000-09-12 Kazu Hirata <kazu@hxi.com>
1167
1168 * as.h: Fix formatting.
1169 * asintl.h: Likewise.
1170 * bit_fix.h: Likewise.
dcd619be
KH
1171 * config/obj-aout.c: Likewise.
1172 * config/obj-aout.h: Likewise.
1173 * config/obj-bout.c: Likewise.
1174 * config/obj-bout.h: Likewise.
1175 * config/obj-coff.c: Likewise.
1176 * config/obj-coff.h: Likewise.
a01b9fa4
KH
1177 * dwarf2dbg.h: Likewise.
1178 * expr.h: Likewise.
1179 * flonum.h: Likewise.
1180 * frags.h: Likewise.
1181 * itbl-ops.h: Likewise.
1182 * macro.h: Likewise.
1183 * read.h: Likewise.
1184 * sb.h: Likewise.
1185 * struc-symbol.h: Likewise.
1186 * subsegs.h: Likewise.
1187 * symbols.h: Likewise.
1188 * tc.h: Likewise.
1189 * write.h: Likewise.
1190
92774660
KH
11912000-09-11 Kazu Hirata <kazu@hxi.com>
1192
f0e652b4
KH
1193 * bignum-copy.c: Fix formatting.
1194 * config/tc-i370.c: Likewise.
92774660
KH
1195 * config/tc-i960.c: Likewise.
1196 * config/tc-m68k.c: Likewise.
f0e652b4
KH
1197 * ehopt.c: Likewise.
1198 * flonum-copy.c: Likewise.
1199 * flonum-konst.c: Likewise.
1200 * flonum-mult.c: Likewise.
1201 * literal.c: Likewise.
1202 * read.c: Likewise.
1203 * sb.c: Likewise.
1204 * stabs.c: Likewise.
1205 * subsegs.c: Likewise.
92774660 1206
222f8079
PB
12072000-09-09 Philip Blundell <philb@gnu.org>
1208
1209 * configure.in (arm*-*-uclinux*): New target.
1210 * configure: Regenerate.
1211
c488923f
KH
12122000-09-09 Kazu Hirata <kazu@hxi.com>
1213
1214 * input-file.c: Fix formatting.
1215 * itbl-ops.c: Likewise.
1216 * messages.c: Likewise.
1217
e0e3ecca
PB
12182000-09-08 Philip Blundell <philb@gnu.org>
1219
1220 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
1221 offset is negative.
1222
5d64ca4e
L
12232000-09-07 H.J. Lu <hjl@gnu.org>
1224
1225 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1226 * configure: Rebuild.
1227
bdaaa2e1
KH
12282000-09-07 Kazu Hirata <kazu@hxi.com>
1229
e49bc11e
KH
1230 * atof-generic.c: Fix formatting.
1231 * config/tc-mips.c: Likewise.
e13b337a
KH
1232 * config/tc-vax.c: Likewise.
1233 * input-scrub.c: Likewise.
bdaaa2e1 1234
d07ed2cd
AO
12352000-09-07 Alexandre Oliva <aoliva@redhat.com>
1236
1237 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
1238 * configure.in (sh-*-linux*): Added.
1239 * configure: Rebuilt.
1240
86905619
KH
12412000-09-06 Kazu Hirata <kazu@hxi.com>
1242
a28a3ccf
JL
1243 * config/tc-hppa.c: Fix formatting.
1244
86905619
KH
1245 * ecoff.c: Fix formatting.
1246
58cccadb
AO
12472000-09-06 Alexandre Oliva <aoliva@redhat.com>
1248
1249 * configure: Rebuilt with new libtool.m4.
1250
542d6675
KH
12512000-09-05 Kazu Hirata <kazu@hxi.com>
1252
1253 * cgen.c: Fix formatting.
1254 * config/tc-ia64.c: Likewise.
1255
5b343f5a
NC
12562000-09-05 Nick Clifton <nickc@redhat.com>
1257
1258 * aclocal.m4: Regenerate.
1259 * config.in: Regenerate.
1260 * configure: Regenerate.
1261 * po/gas.pot: Regenerate.
50bbae35 1262
07e90ad5
HPN
12632000-09-05 Hans-Peter Nilsson <hp@axis.com>
1264
1265 * config/tc-cris.c: Correct comment typos.
1266
1485d400
EC
12672000-09-05 Eric Christopher <echristo@cygnus.com>
1268
1269 * config/tc-mn10300.c: Cleanup.
1270 (md_pcrel_from): Enable.
1271
904a31bf
AM
12722000-09-05 Alan Modra <alan@linuxcare.com.au>
1273
927781e2
AM
1274 * expr.c (operand): Fix a comment typo.
1275 * write.c (write_relocs): Fix a signed/unsigned warning.
1276
ecacdc7a
AM
1277 * config/tc-hppa.c (fudge_reg_expressions): New
1278 (hppa_force_reg_syms_absolute): New.
1279 (pa_equ): Allow reg_section expressions.
1280 * config/tc-hppa.c (md_optimize_expr): Define.
1281 (hppa_force_reg_syms_absolute): Prototype.
1282
1283 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
1284 (pa_parse_number): Pass in arg to select fp reg parsing.
1285 Return 1 to indicate format checks pass. If strict, then only
1286 accept a register or register symbol. Return value in...
1287 (pa_number): New static for pa_parse_number.
1288 (FP_REG_BASE): Define.
1289 (FP_REG_RSEL): Define.
1290 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
1291 appropriate. White space changes.
1292 (need_pa11_opcode): Don't bother passing any params, get them from
1293 globals instead.
1294 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
1295 Remove extraneous check in case 'Q'.
1296 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
1297 reg, set section of resulting symbol to reg_section.
1298 (pa_parse_space_stmt): Modify call to pa_parse_number.
1299 (pa_space): Likewise.
1300
904a31bf
AM
1301 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
1302 (hppa_force_relocation): Handle vtable relocs.
1303 (pa_vtable_entry): New.
1304 (pa_vtable_inherit): New.
1305 (md_pseudo_table): Add entries for vtable pseudos.
1306 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
1307 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
1308 against weak syms.
1309 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
1310 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
1311 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
1312 millicode import.
1313 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
1314 specify a symbol type.
1315
1316 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
1317 dependent things together.
1318 (md_elf_symbol_type): Define.
1319
1320 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
1321 symbol.
1322 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
1323
1324 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
1325 (obj_elf_vtable_entry): Declare.
1326
1327 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
1328 and export function.
1329 (obj_elf_vtable_entry): Similarly.
1330 (elf_pseudo_table): Fix the damage with a cast.
1331
a47cf567 13322000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
1333
1334 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
1335 for template selection when a label is needed.
1336
197865e8
KH
13372000-09-02 Kazu Hirata <kazu@hxi.com>
1338
1339 * config/tc-ia64.c: Fix formatting.
1340
18e03609
NC
13412000-09-02 Nick Clifton <nickc@redhat.com>
1342
1343 * configure.in: Increase version number to 2.10.91.
1344 * configure: Regenerate.
1345 * aclocal.m4: Regenerate.
1346 * config.in: Regenerate.
1347 * po/gas.pot: Regenerate.
1348 * Makefile.in: Regenerate.
1485d400 1349
a1cc9221
AO
13502000-09-01 Alexandre Oliva <aoliva@redhat.com>
1351
1352 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
1353 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
1354 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
1355 similar relocs.
1356 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
1357 branches.
1358
13592000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1360
1361 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
1362 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
1363 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
1364 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
1365 (GOT_symbol): New variable.
1366 (md_undefined_symbol): Set it.
1367
44576e1f
RH
13682000-09-01 Richard Henderson <rth@cygnus.com>
1369
1370 * config/tc-ia64.c (match): Don't inline.
1371 (extra_goodness): New.
1372 (md_begin): Prefer nop.f and nop.b for best_template.
1373
29f8404c
KH
13742000-08-31 Kazu Hirata <kazu@hxi.com>
1375
76b0a8c0
KH
1376 * as.c: Fix formatting.
1377 * cond.c: Likewise.
1378 * frags.c: Likewise.
29f8404c
KH
1379 * macro.c: Likewise.
1380
b4c1ea07
EC
13812000-08-31 Eric Christopher <echristo@cygnus.com>
1382
1383 * config/tc-mn10300.c: Cleanup and fix warnings.
1384 (md_pseudo_table): Add initializers.
1385 (md_show_usage): Cleanup.
1386 (md_parse_option): Fix warnings.
1387 (md_undefined_symbol): Fix warnings.
1388 (md_conver_frag): Fix warnings.
1389 (tc_gen_reloc): Fix warnings.
1390 (md_apply_fix3): Fix warnings.
1391 (check_operand): Fix warnings.
1392
ac48eca1
AO
13932000-08-31 Alexandre Oliva <aoliva@redhat.com>
1394
1395 * acinclude.m4: Include libtool and gettext macros from the
1396 top level.
1397 * aclocal.m4, configure: Rebuilt.
1398
e0c21649
GK
13992000-08-30 Mark Hatle <mhatle@mvista.com>
1400
1401 * config/tc-ppc.c (md_parse_option): Recognize -m405.
1402
cf39a089
KH
14032000-08-31 Kazu Hirata <kazu@hxi.com>
1404
1405 * listing.c: Fix formatting.
1406
3ee4defc
KH
14072000-08-29 Kazu Hirata <kazu@hxi.com>
1408
1409 * app.c: Fix a comment typo. Fix formatting.
1410
1e8d20f4
NC
14112000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1412
50bbae35
AM
1413 * tc-vax.c (md_convert_frag): Correctly calculate the pc relative
1414 offset of the target destination for jmp instructions.
1415 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 1416
5bcac8a4
HPN
14172000-08-24 Hans-Peter Nilsson <hp@axis.com>
1418
1419 * NEWS: Mention support for CRIS.
1420
46547ecc
DC
1421Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
1422
1423 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
1424 Sets `.lcomm' alignment to zero.
1425
4b853faa
AO
14262000-08-23 Alexandre Oliva <aoliva@redhat.com>
1427
1428 * config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
1429 (TC_FIX_ADJUSTABLE): Define.
1430
efcc5914
JW
14312000-08-23 Jim Wilson <wilson@cygnus.com>
1432
1433 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
1434 unwind.personality_routine is set.
1435
aca719bf
AO
14362000-08-23 H.J. Lu <hjl@gnu.org>
1437
1438 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
1439
a3da4de1
AO
14402000-08-23 Alexandre Oliva <aoliva@redhat.com>
1441
1442 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
1443 environment is pe.
1444
56385375
L
14452000-08-22 H.J. Lu <hjl@gnu.org>
1446
1447 * config.in (STRICTCOFF): New for strict COFF.
1448
1449 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
1450 i386-*-go32* and i386-go32-rtems*.
1451 * configure: Rebuilt.
1452
1453 * config/obj-coff.c (obj_coff_endef): Follow the historical
1454 behavior if STRICTCOFF is not defined.
1455
1456 * doc/internals.texi: Document STRICTCOFF.
1457
8f36cd18
AO
14582000-08-22 Alexandre Oliva <aoliva@redhat.com>
1459
1460 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
1461 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
1462 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
1463 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
1464 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
1465 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
1466 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
1467 Likewise.
1468
58a77e41
EC
14692000-08-22 Eric Christopher <echristo@cygnus.com>
1470
1471 * config/tc-mn10300.c: (md_apply_fix): New function.
1472 (mn10300_force_relocation): New function.
1473 (mn10300_fix_adjustable): New function.
1474
1475 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
1476 (TC_HANDLES_FX_DONE): Define.
1477 (obj_fix_adjustable): Define.
1478 (MD_APPLY_FIX3): Define.
1479 (TC_LINKRELAX_FIXUP): Define.
1480
1481 * write.c: (TC_LINKRELAX_FIXUP): Define if not
1482 previously defined.
1483 (fixup_segment): Use TC_LINKRELAX_FIXUP.
1484
1485 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
1486
ded0649c
JE
14872000-08-21 Jason Eckhardt <jle@cygnus.com>
1488
1489 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
1490 if the fixup resulted in a relocation.
1491
66102fe2
NC
14922000-08-18 Nick Clifton <nickc@redhat.com>
1493
1494 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
1495 Make reference to first element of shift_names explicit.
1496
02198638
AO
14972000-08-18 Alexandre Oliva <aoliva@redhat.com>
1498
1499 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
1500 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
1501 add a symbol's address. Removed all target-specific #ifdefs that
1502 used to accomplished the same.
1503 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1504 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1505 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1506 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1507 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1508
353e2c69
KH
15092000-08-17 Kazu Hirata <kazu@hxi.com>
1510
1511 * dwarf2dbg.c: Fix formatting.
1512
4fb7971f
NC
15132000-08-17 Nick Clifton <nickc@redhat.com>
1514
1515 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
1516 to be recoded as logical shift lefts by zero.
1517
50b81f19
JW
15182000-08-16 Jim Wilson <wilson@cygnus.com>
1519
1520 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
1521 postincrement modified registers. Handle IA64_OPND_R3_2 addl
1522 source registers.
1523 (note_register_values): Handle IA64_OPND_R3_2 operands.
1524
f869cfc6
JE
15252000-08-16 Jason Eckhardt <jle@cygnus.com>
1526
50bbae35 1527 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 1528
8cb8bcba
NC
15292000-08-16 Nick Clifton <nickc@redhat.com>
1530
1531 * config/tc-arm.c (struct asm_shift): Delete.
1532 (shift[]): Delete.
1533 (enum asm_shift_index): New.
1534 (struct asm_shift_properties): New.
1535 (struct asm_shift_name): New.
1536 (shift_properties[]); New.
1537 (shift_names[]); New.
1538
1539 (decode_shift): Use new structures.
1540 Issue a warning is "ROR #0" is used.
1541 Issue a warning if "ASR #0" or "LSR #0" is used.
1542
1543 (md_begin): Initialise arm_shift_hsh table from new
1544 asm_shift_name array.
1545
c2158c24
JJ
15462000-08-16 Jakub Jelinek <jakub@redhat.com>
1547
1548 * config/tc-sparc.c: Kill all warnings.
1549 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
1550 in -xarch= as well.
1551 (md_show_usage): Update usage text.
1552
70485b5c
NC
15532000-08-16 Nick Clifton <nickc@redhat.com>
1554
c2158c24 1555 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
1556 useful.
1557
a47cf567 15582000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
1559
1560 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
1561
1562 * config/tc-sh.c (md_assemble): Changed so debug_type
1563 test performed for ppi_assemble
1564 * config/tc-sh.c: Included dwarf2dbg.h.
1565 (debug_line): Defined.
1566 (md_assemble): Generates dwarf2 line info.
1567 (sh_finalize): New function. Finalize dwarf2 info.
1568 (assemble_ppi): Returns size of code generated.
1569 (build_Mytes): Returns size of code generated.
1570 (md_pseudo_table): Added "file" and "loc" psuedo ops.
1571 * config/tc-sh.h (md_end): Defined.
1572 (sh_finalize): Declared.
1573
1db77c8e
AO
15742000-08-15 Alexandre Oliva <aoliva@redhat.com>
1575
1576 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
1577 md_number_to_chars.
1578
046b3b54
NC
15792000-08-14 Nick Clifton <nickc@redhat.com>
1580
1581 * config/tc-arm.c (do_bx): Allow "bx pc".
1582
c43c2cc5
JW
15832000-08-14 Jim Wilson <wilson@cygnus.com>
1584
1585 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
1586 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
1587 (md_begin): Change assignment to md.flag to OR in the new bit.
1588
d1d8ba22
NC
15892000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
1590
1591 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
50705ef4
AM
1592 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
1593 C_MOU, and C_EOS.
d1d8ba22 1594
22b36938
JE
15952000-08-14 Jason Eckhardt <jle@cygnus.com>
1596
1597 * NEWS: Mention i860 support.
1598
c0bd0db2
JL
1599Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
1600
1601 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1602
0ac658b8
AS
16032000-08-14 Andreas Schwab <schwab@suse.de>
1604
1605 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
1606
9fc2dda2
JE
16072000-08-11 Andreas Schwab <schwab@suse.de>
1608
1609 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
1610 argument.
1611
bc4466dc
KH
16122000-08-11 Kazu Hirata <kazu@hxi.com>
1613
1614 * expr.c: Fix formatting.
351aa9f6 1615 * config/obj-bout.c: Likewise.
bc4466dc 1616
a9c99419
JE
16172000-08-10 Jason Eckhardt <jle@cygnus.com>
1618
1619 * doc/c-i860.texi: Flesh out the i860 section more.
1620
7c743825
KH
16212000-08-10 Kazu Hirata <kazu@hxi.com>
1622
1623 * symbols.c: Fix formatting.
929b12bc 1624 * expr.c: Likewise.
7c743825 1625
fa2255cb
DN
1626Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
1627
1628 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
1629 has the IgnoreSize bit set.
1630
fc997f4b
AM
16312000-08-09 Alan Modra <alan@linuxcare.com.au>
1632
1633 From Rodney Brown <RodneyBrown@mynd.com>
1634 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
1635 * configure: Regenerate.
1636
a47cf567
NC
16372000-08-09 Kazu Hirata <kazu@hxi.com>
1638
1639 * hash.c: Fix formatting.
1640 * gasp.c: Likewise.
1641
305d537e
JE
16422000-08-08 Jason Eckhardt <jle@cygnus.com>
1643
1644 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
1645 (i860_fix_info): New enum.
1646 (MD_APPLY_FIX3): Define.
1647 (WORKING_DOT_WORD): Define.
1648 (TC_HANDLES_FX_DONE): Define.
1649 (DIFF_EXPR_OK): Define.
1650 (LISTING_HEADER): Define.
1651 (TARGET_FORMAT): Select target format based on endian flag.
1652 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
1653 (target_big_endian): Add external declaration.
1654
1655 * config/tc-i860.c: All existing code reworked completely. Other
1656 new code shown below.
1657 (SYNTAX_SVR4): Define.
1658 (target_warn_expand): New variable.
1659 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
1660 (md_longopts): Declare and define with new options (-EL, -EB,
1661 and -mwarn-expand).
1662 (md_show_usage): New function.
1663 (md_operand): New function.
1664 (obtain_reloc_for_imm16): New function.
1665 (md_apply_fix3): New function.
1666 (tc_gen_reloc): New function.
1667
df86943d
NC
16682000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1669
1670 * config/tc-m68hc11.c (build_jump_insn): Make sure the
1671 2 bytes of the jump address are in the same frag.
1672 (find): Accept 68hc12 register indirect modes.
1673
1674 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 1675
30d25259
RH
16762000-08-07 Richard Henderson <rth@cygnus.com>
1677
1678 * config/tc-ia64.c (unwind): Add prologue_mask member.
1679 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
1680 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
1681 (dot_body): Clear unwind.prologue_mask.
1682 (dot_prologue): Set it. Accept a register second argument.
1683
2d484c7f
KH
16842000-08-07 Kazu Hirata <kazu@hxi.com>
1685
1686 * config/atof-ieee.c: Fix formatting.
1687 * config/atof-tahoe.c: Likewise.
1688
a47cf567 16892000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 1690
3d4ae3c0
NC
1691 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
1692 work.
1693
c91d2e08
NC
1694 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
1695 of .popsection, .previous, .pushsection, .subsection,
1696 .version, .vtable_entry, .vtable_inherit and .weak.
1697
47926f60
KH
16982000-08-05 Kazu Hirata <kazu@hxi.com>
1699
1700 * config/tc-cris.c: Fix formatting.
1701 * config/tc-i386.c: Likewise.
1702 * config/tc-sparc.c (sparc_ip): Simplify the code.
1703
ab3e48dc
KH
17042000-08-04 Kazu Hirata <kazu@hxi.com>
1705
1706 * config/tc-cris.c: Rearrange code for readability.
1707 * config/tc-d10v.c: Fix formatting.
1708 * config/tc-m32r.c: Likewise.
1709 * config/tc-sparc.c: Likewise.
1710
3d56ab85
JW
17112000-08-02 Jim Wilson <wilson@cygnus.com>
1712
1713 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
1714 before ia64_find_opcode.
1715 (md_assemble): Likewise.
1716
3f9dfb2c
NC
17172000-08-01 Nick Clifton <nickc@cygnus.com>
1718
a47cf567 1719 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 1720 Undo some formatting fixes.
3f9dfb2c 1721
28e4f854
KH
17222000-08-01 Kazu Hirata <kazu@hxi.com>
1723
1724 * config/obj-som.c: Fix formatting.
1725 * config/obj-ieee.c: Likewise.
1726 * config/tc-arm.c: Likewise.
1727 * config/tc-v850.c: Likewise.
1728
a570e639
NC
17292000-08-01 Nick Clifton <nickc@redhat.com>
1730
1731 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
1732 index by command line option.
58a77e41 1733
a570e639
NC
17342000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1735
1736 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
1737 (@node M68K-Branch): Rewrite to match the reality.
1738
e3308d0d
JE
17392000-07-31 Jason Eckhardt <jle@cygnus.com>
1740
1741 * doc/c-i860.texi: New file.
1742 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
1743 * doc/Makefile.in: Regenerate.
1744 * doc/all.texi: Add I860 as relevant architecture.
1745 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
1746
2fd5405a
NC
17472000-07-31 Kazu Hirata <kazu@hxi.com>
1748
1749 * config/tc-d30v.c: Fix formatting.
1750
28e7409f
NC
17512000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1752
50bbae35
AM
1753 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
1754 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
1755 long emit a long branch if available instead of an absolute jump, never
1756 emit absolute jumps for anything with --pcrel.
28e7409f
NC
1757
1758 * doc/c-m68k.texi: Document new command line option.
58a77e41 1759
a47cf567
NC
17602000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
1761
1762 * config/tc-avr.c: Use PARAMS macro in function declarations.
1763 Don't declare md_pcrel_from_section (already in tc-avr.h).
1764 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
1765 (avr_operand): Don't set (unsigned) op_mask to -1.
1766
534022ea
JE
17672000-07-28 Jason Eckhardt <jle@cygnus.com>
1768
50bbae35
AM
1769 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
1770 * configure: Regenerated.
1771 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
1772 of operand to the .type directive (.e.g, "type").
534022ea 1773
4c400d5e
AM
17742000-07-28 Alan Modra <alan@linuxcare.com.au>
1775
1776 * as.h (warn_comment, found_comment, found_comment_file): Declare.
1777 * app.c (do_scrub_chars): Record where first comment found.
1778 * read.c (read_a_source_file): Init found_comment on entry, and
1779 notify whether comments found on exit.
1780 * config/tc-hppa.c (md_shortopts): Add "c".
1781 (md_longopts): Add warn-comment.
1782 (md_parse_option): Handle it.
1783 (md_show_usage): Show available options.
1784 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
1785
0aa529cb
AC
1786Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
1787
1788 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
1789 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 1790 sym_ptr_ptr
0aa529cb
AC
1791 (md_estimate_size_before_relax): Don't fall off end of function.
1792
c6a7ab1f
NC
17932000-07-27 Kazu Hirata <kazu@hxi.com>
1794
1795 * config/tc-avr.c: Fix formatting.
1796 * config/tc-ns32k.c: Likewise.
1797
e0c6ed95
AM
17982000-07-27 Alan Modra <alan@linuxcare.com.au>
1799
1800 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
1801
18022000-07-27 Kazu Hirata <kazu@hxi.com>
1803
1804 * config/tc-d10v.c: Fix formatting.
1805 * config/tc-z8k.c: Likewise.
1806 * config/tc-sparc.c: Likewise.
1807
6883dc5e 18082000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
1809
1810 * cgen.c (queue_fixup): Declare opinfo.
1811 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
1812 (gas_cgen_md_operand): Ditto.
1813 (gas_cgen_md_apply_fix3): Ditto.
1814
39da8128
DD
18152000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
1816
1817 * config/obj-coff.c (obj_frob_symbol): Don't merge
1818 labels. Don't merge if the symbol isn't constant. Return
1819 immediately if a symbol is merged.
1820
65e68b04
AM
18212000-07-22 Alan Modra <alan@linuxcare.com.au>
1822
1823 * frags.c (frag_align): Correct absolute section alignment.
1824
5e0d736c
DD
18252000-07-20 DJ Delorie <dj@redhat.com>
1826
1827 * config/obj-coff.c (obj_frob_symbol): revert previous change,
1828 it breaks linking against DLLs.
1829
3bcbcc3d
HPN
18302000-07-20 Hans-Peter Nilsson <hp@axis.com>
1831
1832 * configure.in: Add CRIS support.
1833 * configure: Regenerate.
1834 * Makefile.am: (CPU_TYPES): Add cris.
1835 (CPU_OBJ_VALID) [aout]: Add cris.
1836 (MULTI_CPU_TYPES): Add cris.
1837 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 1838 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
1839 (TARGET_CPU_CFILES): Add config/tc-cris.c.
1840 (TARGET_CPU_HFILES): Add config/tc-cris.h.
1841 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
1842 Regenerate dependencies.
1843 * Makefile.in: Regenerate.
1844 * aclocal.m4: Regenerate.
1845 * as.c: Declare crisaout, criself.
1846 * config/tc-cris.h, config/tc-cris.c: New.
1847 * config/e-criself.c, config/e-crisaout.c: New.
1848 * po/POTFILES.in, po/gas.pot: Regenerate.
1849
041ff4dd 18502000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 1851
041ff4dd 1852 * read.c: Fix formatting.
efaf0ba4 1853 * write.c: Fix formatting.
041ff4dd 1854
f980ada0
L
18552000-07-19 H.J. Lu <hjl@gnu.org>
1856
1857 * sb.c: Include <stdlib.h> if exists for abort ().
1858
25a8b250
AM
18592000-07-19 Alan Modra <alan@linuxcare.com.au>
1860
1861 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
1862 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
1863 (pa_type_args): Same here.
1864
7a9aaf92
NC
18652000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
1866
1867 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
1868 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
1869 the storage class is already set.
1870
8098403c
NC
18712000-07-17 Kazu Hirata <kazu@hxi.com>
1872
fafb6d17 1873 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
1874 * config/tc-mn10200.c: Likewise.
1875 * config/tc-mn10300.c: Likewise.
1876 * config/tc-pj.c: Likewise.
1877 * config/tc-tic80.c: Likewise.
1878 * config/tc-w65.c: Likewise.
8098403c 1879
977e771a
FCE
18802000-07-17 Frank Ch. Eigler <fche@redhat.com>
1881
1882 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
1883 is defined.
1884
63bf5651
ILT
18852000-07-15 Ian Lance Taylor <ian@zembu.com>
1886
1887 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
1888 @code.
1889
1cd1c99b
AM
18902000-07-15 Alan Modra <alan@linuxcare.com.au>
1891
1892 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
1893 ELF as are used for SOM (except the 32-bit reloc one) to decide
1894 whether a symbol can be reduced to a section symbol. Expand on
1895 the comment for symbols involved in LR% and RR% expressions.
1896
119d663a
NC
18972000-07-14 Nick Clifton <nickc@cygnus.com>
1898
1899 * config/tc-mips.c (mips_disable_float_construction): New
1900 static variable. Set to true if doubles should not be
1901 constructed by loading two single width fp registers with
1902 halves of the value.
1903 (mips_ip): Test mips_disable_float_construction.
1904 (md_longopts): Add command line switches --construct-floats
1905 and --no-construct-floats.
1906 (md_parse_option): Parse new command line options.
1907 (md_show_usage): Describe new command line options.
1908
1909 * doc/c-mips.texi: Document new command line options.
1910
906fac54
AM
19112000-07-13 Koundinya K <kk@ddeorg.soft.net>
1912
1913 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
1914 * configure: Regenerate.
1915
19162000-07-13 Hans-Peter Nilsson <hp@axis.com>
1917
1918 * configure.in (DEFAULT_EMULATION setting): Revert part of
1919 2000-07-01 change that set te_multi=multi unless set to tmips.
1920 * configure: Regenerate.
1921
7f788821
NC
19222000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1923
1924 * config/obj-coff.c (coff_frob_section): Add padding to the last
50705ef4 1925 section when aligning it increases its size.
7f788821 1926
9a736b6b
NC
19272000-07-11 Kazu Hirata <kazu@hxi.com>
1928
1929 * config/tc-tic54x.c: Fix formatting.
1930
3dd5103b
NC
19312000-07-10 Kazu Hirata <kazu@hxi.com>
1932
1933 * config/tc-h8500.c: Fix formatting.
1aea3bb8 1934 * config/tc-tic54x.c: Fix formatting.
3dd5103b 1935
46b85d42
AM
19362000-07-10 Alan Modra <alan@linuxcare.com.au>
1937
1938 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
1939 displacements correctly.
1940
1941 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
1942
19432000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1944
1945 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
1946 warning.
1947 (hash_jam): Ditto.
1948
ad1079af
AM
19492000-07-09 Alan Modra <alan@linuxcare.com.au>
1950
1951 From David Huggins-Daines <dhd@linuxcare.com>
1952 * config/te-hppalinux64.h: Add a new emulation.
1953 * configure.in (emulations): Add configure bits to support the
1954 64-bit Linux/parisc target.
1955 * configure: Regenerate.
1956
1957 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
1958 (md_shortopts): Add `V' for ELF.
1959
1960 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
1961 when SOM or ELF_ARG_RELOC are defined.
1962 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
1963 ELF_ARG_RELOC are defined.
1964 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
1965 (pa_stringer): ..Do it here instead. Fix comment typos.
1966 (hppa_force_relocation): Cast enums to int before comparing with
1967 ints.
1968
1969 From Ryan Bradetich <rbradetich@uswest.net>
1970 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
1971 redifinition warning.
1972 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
1973 (hppa_force_relocation): ditto
ad1079af
AM
1974 (md_apply_fix): Added cast to buf to fix warnings.
1975
1976 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
1977 cons_fix_new_hppa, hppa_force_relocation): Prototype.
1978
1979 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
1980 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
1981 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
1982 reloc_type** to avoid warnings in switch.
1983 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
1984 little earlier instead.
1985
1986 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
1987 and elf.
1988 (pa_type_args): Use symbol_arg_reloc_info.
1989 (struct pa_it): Make arg_reloc unsigned int.
1990 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
1991 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
1992 (pa_code): Delete. pa_text duplicates this function.
1993 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
1994 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
1995 int.
1996 (cons_fix_new_hppa): Actually change selector to e_fsel when
1997 warning about assuming so.
1998 (tc_gen_reloc): More example elf arg reloc code.
1999 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
2000 (hppa_force_relocation): Likewise.
2001
2002 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
2003 files.
2004 (pa_end_of_source): Prototype.
2005 (hppa_fix_adjustable): Prototype.
2006 (LABELS_WITHOUT_COLONS): Move it..
2007 * config/te-hppa.h: To here.
2008
2009 * config/te-hppa64.h: New file.
2010
2011 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
2012 type.
2013 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
2014 format -10, -16, 16 relocs.
2015 (hppa_elf_mark_end_of_function): Test for null
2016 last_call_info->start_symbol
2017
2018 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
2019 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
2020 re_assesmble_* functions. Delete extraneous statements. Fix
2021 typos in comments.
2022 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
2023 insn to re_assemble_*.
2024
623aa224
UC
20252000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
2026
2027 * doc/internals.texi (Expressions): Fix typo.
58a77e41 2028
c4aa876b
NC
20292000-07-08 Kazu Hirata <kazu@hxi.com>
2030
2031 * config/tc-sh.c: Fix formatting.
d0313fb7 2032 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
2033 * depend.c: Fix formatting.
2034 * flonum-konst.c: Likewise.
2035 * flonum-mult.c: Likewise.
c4aa876b 2036
6b31947e
NC
20372000-07-07 Kazu Hirata <kazu@hxi.com>
2038
a5bfe8c9 2039 * config/tc-sh.c: Fix comments.
bc0d738a
NC
2040 * config/obj-vms.c: Fix comments.
2041 * config/tc-a29k.c: Likewise.
2042 * config/tc-alpha.c: Likewise.
2043 * config/tc-h8300.c: Likewise.
2044 * config/tc-h8500.c: Likewise.
2045 * config/tc-i370.c: Likewise.
2046 * config/tc-ia64.c: Likewise.
2047 * config/tc-m68hc11.c: Likewise.
2048 * config/tc-m68k.c: Likewise.
2049 * config/tc-mips.c: Likewise.
2050 * config/tc-ns32k.c: Likewise.
2051 * config/tc-ppc.c: Likewise.
2052 * config/tc-z8k.c: Likewise.
6b31947e 2053
b8a9dcab
NC
20542000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
2055
2056 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
2057 Default to '(SEC_LOAD | SEC_DATA)'.
2058 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
2059
2060 * doc/internals.texi (CPU Backend): Describe
2061 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
2062
beb2de9b
AC
2063Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2064
2065 * as.c (parse_args): NULL terminate the long option list.
2066
24ddb296
AC
2067Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
2068
2069 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 2070 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 2071
1fe72011
NC
20722000-07-05 Nick Clifton <nickc@cygnus.com>
2073
2074 * config/tc-d30v.c (write_2_short): Further changes to warning
2075 messages produced when combining EITHER_BUT_PREFER_MU attributed
2076 opcodes.
2077
a5bfe8c9 20782000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2079
2080 * MAINTAINERS: new
2081
8de8f17e
AO
20822000-07-04 Alexandre Oliva <aoliva@redhat.com>
2083
2084 * config/tc-arm.c (psrs): Accept combinations of flags.
2085
00d2865b
NC
20862000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
2087
2088 * config/tc-avr.c: Change _ () to _() around all strings marked
2089 for translation (exception from the usual coding style).
2090 (avr_opt): New struct variable, how the new switches are set.
2091 (OPTION_MMCU): Define as 'm' and actually use.
2092 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
2093 (show_mcu_list): New function, display the list of known MCUs.
2094 (md_show_usage): Document the new switches. Call show_mcu_list.
2095 (avr_set_arch): Change 'm' to OPTION_MMCU.
2096 (md_parse_option): Call show_mcu_list if unknown MCU specified.
2097 Handle the new switches.
2098 (avr_operands): Disable warnings for undefined combinations of
2099 operands if -mall-opcodes. Disable warnings for skipping two-word
2100 instructions if enhanced core or -mno-skip-bug.
2101 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
2102 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
2103 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
2104 (avr_ldi_expression): Warn about implicit lo8().
2105 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
2106
54588503
UC
21072000-07-01 Koundinya K <kk@ddeorg.soft.net>
2108
50bbae35
AM
2109 * configure.in: Add entry for mips-*-sysv4*MP*
2110 * configure: Rebuild
2111 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
2112 elf32-tradlittlemips for traditional mips targets.
2113 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
2114 test for Link Once sections as in adjust_reloc_syms.
2115 * config/te-tmips.h: New file for traditional mips targets. Define
2116 TE_TMIPS.
58a77e41 2117
c9900432
NC
21182000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
2119
2120 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
2121 flags argument is not present, don't change an existing section's
2122 section's attributes. If the flags argument is present, warn if the
2123 attributes don't match the section's current attributes. When
2124 long section names are supported, set SEC_LINK_ONCE and
2125 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
2126
9d87310a
HPN
2127Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
2128
2129 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
2130 symbols; create them.
2131
dbddefbf
NC
21322000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
2133
2134 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 2135 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 2136
2ae7e77b
AH
21372000-06-27 Aldy Hernandez <aldyh@redhat.com>
2138
2139 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
2140 expressions. Ignore the problem when handling 16 bit signed
2141 immediates, because the assembler will take care of the relocation
2142 later.
2ae7e77b 2143
6b2539e3
NC
21442000-06-27 Nick Clifton <nickc@cygnus.com>
2145
2146 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 2147 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
2148 sequential order, and emit warning messages if the input source
2149 code contains constructs like that, or parallel constructs
2150 containing such opcodes.
2151
65aa24b6
NC
21522000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2153
2154 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
2155 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
2156 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
2157 (md_show_usage): Update usage message.
2158 (md_parse_option): Allow redefinition of MCU type within the
2159 same avr[1-5] bfd machine type. Show both old and new MCU type
2160 in the error message.
2161 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
2162 Simplify 8K wrap code.
2163
f0c56b90
NC
21642000-06-25 Kazu Hirata <kazu@hxi.com>
2165
50bbae35
AM
2166 * config/obj-aout.c: Remove all uses of DEFUN.
2167 * config/obj-ieee.c: Likewise.
2168 * config/tc-sh.c: Fix comment typos.
2169 * config/tc-tahoe.c: Likewise.
2170 * config/tc-vax.c: Likewise.
2171 * config/tc-w65.c: Likewise.
2172 * config/tc-z8k.c: Likewise.
f0c56b90
NC
2173 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
2174
6d249963
DD
21752000-06-24 DJ Delorie <dj@cygnus.com>
2176
2177 * config/tc-i386.c (md_estimate_size_before_relax): Revert
2178 more changes from Sept 1999
2179 (tc_i386_fix_adjustable): ditto
2180 (md_apply_fix3): ditto
2181
680d2857 21822000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 2183
680d2857
FCE
2184 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
2185 (gas_cgen_parse_operand): Set it around expression() call.
2186 (gas_cgen_md_operand): Test for it before longjmp().
2187
e7b305a2
AM
21882000-06-24 Kazu Hirata <kazu@hxi.com>
2189
c0fecd35
AM
2190 * config/tc-h8500.c: Remove all uses of DEFUN.
2191 * config/tc-sh.c: Likewise.
2192 * config/tc-w65.c: Likewise.
2193 * config/tc-z8k.c: Likewise.
2194
e7b305a2
AM
2195 * config/tc-h8500.c: Fix typos in comments.
2196
ed6d6fd3
FCE
21972000-06-23 Frank Ch. Eigler <fche@redhat.com>
2198
2199 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
2200 is defined.
2201
f7c88872
AM
22022000-06-23 matthew green <mrg@redhat.com>
2203
2204 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 2205 defined. Fix error message for `[' grouping.
f7c88872 2206
70d6ecf3
AM
22072000-06-22 Kazu Hirata <kazu@hxi.com>
2208
2209 * config/tc-h8300.c: Fix formatting and comment typos.
2210
e9718fe1
TW
22112000-06-22 Timothy Wall <twall@cygnus.com>
2212
2213 * config/tc-ia64.c (note_register_values): Move premature QP
2214 notation clearing into the appropriate place.
2215
45288df1
AM
22162000-06-22 Alan Modra <alan@linuxcare.com.au>
2217
1581f8c9
AM
2218 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
2219 first before anything else. Add bin-bugs.h, emul.h and progress.h
2220 Sort list of files as for $(OBJS) in Makefile.am.
2221
2222 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
2223 find one. Remake dependencies.
2224 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
2225 * Makefile.in: Regenerate.
2226 * doc/Makefile.in: Regenerate.
2227
45288df1
AM
2228 * config/tc-i386.c (i386_displacement): Don't assume a constant
2229 displacement is necessarily 16 bits when in 16 bit code mode.
2230 (md_assemble): Instead size the displacement here after we know
2231 for sure that a .code16gcc operand hasn't automatically added
2232 operand size prefixes.
2233
01580992
L
22342000-06-21 H.J. Lu <hjl@gnu.org>
2235
2236 * Makefile.am: Rebuild dependency.
2237 * Makefile.in: Rebuild.
2238
40f09f82
JL
22392000-06-21 Kazu Hirata <kazu@hxi.com>
2240
2241 * config/tc-h8300.c (parse_reg): Make the function static.
2242 (parse_exp): Likewise.
2243
78295804
DD
22442000-06-20 DJ Delorie <dj@cygnus.com>
2245
2246 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
2247 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
2248 for cygwin import libraries to work properly.
2249
45f85b08
L
22502000-06-20 H.J. Lu <hjl@gnu.org>
2251
2252 * Makefile.am: Rebuild dependency.
2253 * Makefile.in: Rebuild.
2254 * configure: Likewise.
2255 * doc/Makefile.in: Likewise.
2256
39bec121
TW
22572000-06-20 Timothy Wall <twall@cygnus.com>
2258
2259 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 2260 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
2261 * doc/c-tic54x.texi: New.
2262 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 2263 documentation file.
39bec121 2264 * doc/all.texi: Add C54X.
3e87a760 2265 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
2266 * doc/Makefile.in: Regenerate.
2267 * configure.in: Add tic54x and define LIBM for tic54x.
2268 * configure: Regenrate.
2269 * config/tc-tic54x.[ch]: New.
2270 * config/obj-coff.h: Add tic54x.
2271 * Makefile.am: (CPU_TYPES): Add tic54x.
2272 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
2273 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
2274 (as_new_LDADD): Add $(LIBM).
2275 * Makefile.in: Regenerate.
3e87a760 2276
60bcf0fa
NC
22772000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2278
2279 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
2280 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
2281 * doc/as.texinfo: Likewise.
2282
2283 * configure, Makefile.in: Regenerate.
2284 * configure.in (emulations): Recognize m6811 and m6812.
2285 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
2286 Added files for 68hc11 and 68hc12 assembler.
2287 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
2288 * config/tc-m68hc11.h: Header definition for that assembler.
2289
ec05f674
NC
22902000-06-18 Nick Clifton <nickc@redhat.com>
2291
24ef8152
NC
2292 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
2293 instead of OCTETS_PER_BYTE.
2294
ec05f674 2295 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 2296 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 2297
119caedd
L
22982000-06-18 H.J. Lu <hjl@gnu.org>
2299
2300 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
2301 * configure: Rebuild.
2302
607723e4
NC
23032000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
2304
3e87a760
AM
2305 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
2306 to BFD_ASSEMBLER.
607723e4 2307
b946ec34
NC
23082000-06-16 Nick Clifton <nickc@cygnus.com>
2309
2310 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
2311 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
2312
2313 * doc/c-mips.texi: Document newly accepted cpu variants.
2314
37ce37b1
UC
23152000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
2316
2317 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
2318
c06ae4f2
UC
23192000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
2320
2321 * macro.c (getstring): Make it possible to escape the quote
2322 character.
2323
20348649
JL
2324Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
2325
2326 * config/tc-hppa.c (pa_export): Weak symbols can be global.
2327
bcef29e6
L
23282000-06-13 H.J. Lu <hjl@gnu.org>
2329
2330 * configure: Regenerate.
2331
63a0b638
AM
23322000-06-09 Alan Modra <alan@linuxcare.com.au>
2333
2334 * app.c (do_scrub_begin): Don't default lex[';'] as a line
2335 separator.
2336 * doc/internals.texi (line_separator_chars): Semicolon is no
2337 longer a default. Mention null and newline as defaults.
2338
2339 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
2340
2341 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
2342 * config/tc-i860.h (line_separator_chars): Likewise.
2343 * config/tc-h8300.c (line_separator_chars): Likewise.
2344 * config/tc-i960.c (line_separator_chars): Likewise.
2345 * config/tc-m68k.c (line_separator_chars): Likewise.
2346 * config/tc-mips.c (line_separator_chars): Likewise.
2347 * config/tc-ns32k.c (line_separator_chars): Likewise.
2348 * config/tc-sparc.c (line_separator_chars): Likewise.
2349 * config/tc-vax.c (line_separator_chars): Likewise.
2350
2351 * config/tc-h8300.c (comment_chars): Use string initialiser.
2352 * config/tc-i960.c (line_comment_chars): Likewise.
2353 * config/tc-z8k.c (comment_chars, line_comment_chars,
2354 line_separator_chars): Likewise.
2355
2356 * config/tc-arm.c (line_separator_chars): Always use `;', not just
2357 for TE_LINUX.
2358
9bab9349
NC
23592000-06-08 Nick Clifton <nickc@cygnus.com>
2360
2361 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
2362 for size 1 fixes.
2363
946efd95
DB
23642000-06-08 David O'Brien <obrien@FreeBSD.org>
2365
2366 * configure.in (VERSION): Update to show this is the CVS mainline.
2367
6480b79a
DB
23682000-06-08 Matthew Jacob <mjacob@feral.com>
2369
2370 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
2371 $at is the integer register $r28, vs. both $r28 and the floating
2372 point register $f28.
2373
10850f29
JW
23742000-06-08 James E. Wilson <wilson@cygnus.com>
2375
2376 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
2377 (dot_endp): Don't call ia64_flush_insns.
2378 (emit_one_bundle): Don't delete prologue/body records from
2379 unwind_record list in first loop. Rewrite second loop to account for
2380 this.
2381
150f24a2
JW
23822000-06-07 David Mosberger <davidm@hpl.hp.com>
2383
2384 * config/tc-ia64.c: Add missing prototypes.
2385 (generate_unwind_image): Cast argument to output_unw_records call.
2386
e38c9cc2
DC
2387Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
2388
46b85d42 2389 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 2390
1188e082
DC
2391Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
2392
2393 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
2394 (REGISTER_P): likewise.
2395 (avr_opcodes): uses include/opcode/avr.h
2396 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 2397
ac743b2c
AM
23982000-06-04 Alan Modra <alan@linuxcare.com.au>
2399
0b545448
AM
2400 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
2401 initializers too.
ac743b2c 2402
969e1a7b
L
24032000-06-03 H.J. Lu <hjl@gnu.org>
2404
2405 * read.c (is_end_of_line): Put back `;'.
2406
65172ab8
AM
24072000-06-03 Alan Modra <alan@linuxcare.com.au>
2408
2409 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
2410
b75c0c92
AM
24112000-06-01 Alan Modra <alan@linuxcare.com.au>
2412
2413 * expr.c (operand): Test is_end_of_line outside switch to catch
2414 line separator chars that are also operators.
2415 (operator): Return O_illegal for line separator chars.
2416
2417 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
2418 entry (or `!' entry for TC_HPPA).
2419
2420 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
2421 before indexing is_end_of_line. Remove redundant check for '\0'.
2422 (fp_op2): Likewise.
2423 * config/tc-h8500.c (md_assemble): Likewise.
2424 * config/tc-mcore.c (md_assemble): Likewise.
2425 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2426 (md_atof): Likewise
2427
2428 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
2429 is_end_of_line.
2430 * config/tc-mcore.c (mcore_cons): Likewise.
2431 (mcore_float_cons): Likewise.
2432 (mcore_stringer): Likewise.
2433 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2434
a6836251
SB
24352000-06-01 Scott Bambrough <scottb@netwinder.org>
2436
2437 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
2438
43841e91
NC
24392000-05-29 Nick Clifton <nickc@cygnus.com>
2440
2441 * config/tc-sh.c: Fix compile time warning messages.
2442
2443 * config/tc-mips.c: Fix compile time warning messages.
2444
a057431b
PB
24452000-05-29 Philip Blundell <philb@gnu.org>
2446
2447 * doc/as.texinfo: Update copyright dates.
a81d9f0c 2448 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
2449 * NEWS: Mention ARM ELF support.
2450
3c07fb76
AO
24512000-05-27 Alexandre Oliva <aoliva@cygnus.com>
2452
2453 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
2454 it is modified, and use the real_size to compute the frag address
2455 for dwarf2 line info.
2456
ad4d6ccf
AM
24572000-05-27 Alan Modra <alan@linuxcare.com.au>
2458
2459 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
2460 line-matching scheme to cope with automake moving variables around.
2461 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
2462 * Makefile.in: Regenerate.
2463
6faf3d66
JJ
24642000-05-26 Jakub Jelinek <jakub@redhat.com>
2465
2466 * config/tc-sparc.c (sparc_relax): New.
2467 (md_longopts): Add -relax and -no-relax options.
2468 (md_parse_options, md_show_usage): Likewise.
2469 (md_apply_fix3): Optimize tail call into branch always if possible.
2470
0a44c2b1
DL
2471Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
2472
2473 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
2474 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
2475 rules, with warning when a GAS statement specifies a packing that
2476 will result in an instruction being squashed.
3e87a760
AM
2477 Added typdef packing_type and enumerals, changed various integer
2478 literals to use the enumerals.
0a44c2b1 2479
e0c9811a
JW
24802000-05-24 David Mosberger <davidm@hpl.hp.com>
2481
2482 * config/tc-ia64.c (dot_restorereg_p): New function.
2483 (md_pseudo_table): Add restorereg.p.
2484 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
2485 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
2486
2487 * config/tc-ia64.h (unw_record_type): Add unwabi.
2488 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
2489 called MASK with members for imask, and the masks produced by
2490 fr_mem, gr_mem, br_mem, and frgr_mem.
2491 (unw_p_record): Add members ABI and CONTEXT.
2492 (unw_x_record): Add member AB.
2493 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
2494 as pseudo-register for use during unwind info generation.
2495 (AR_PFS, AR_LC): New macros.
2496 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
2497 whose names start with an at sign (as in "@priunat").
2498 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
2499 register.
2500 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
2501 proc_end, unwind_info, personality_routine): Consolidate into
2502 "unwind" structure to reduce offset-table use. Add member
2503 NEXT_SLOT_NUMBER to track the slot number for the next instruction
2504 to be emitted.
2505 (output_R1_format, output_R3_format, output_P3_format,
2506 output_P6_format): Initialize R with zero to reduce compiler warnings.
2507 (output_P7_format): Ditto. Add `default' branch to switch
2508 statement to reduce compiler warnings.
2509 (output_P8_format, output_B1_format, output_B4_format): Ditto.
2510 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
2511 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
2512 into single argument.
2513 (output_X1_format, output_X3_format): Initialize R with zero to reduce
2514 compiler warnings. Merge A and B args into single argument.
2515 (output_X2_format, output_X4_format): Remove unused variable R. Merge
2516 A and B args into single argument.
2517 (free_record): Removed (wasn't used).
2518 (free_list_records): Also free imasks in prologue records.
2519 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
2520 (output_spill_mask): Remove.
2521 (output_unwabi): New function.
2522 (output_epilogue, output_label_state, output_copy_state): Call
2523 alloc_record.
2524 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
2525 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
2526 argument.
2527 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
2528 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
2529 as part of handling the prologue records. Emit region's imask if
2530 we have one. Handle unwabi, epilogue, label_state, copy_state,
2531 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
2532 spill_sprel_p, and spill_reg_p records.
2533 (set_imask, count_bits, slot_index): New function.
2534 (fixup_unw_records): Fix region size computation. Handle
2535 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
2536 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
2537 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
2538 set_imask accordingly. Update imask for gr_gr, and br_gr records.
2539 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
2540 (dot_save): Use manifest constants for applicaton registers.
2541 Handle REG_PR and REG_PRIUNAT.
2542 (dot_restore): Don't just ignore it.
2543 (dot_restorereg): New function..
2544 (generate_unwind_image): Ensure unwind info is a multiple of eight
2545 bytes, not just four bytes.
2546 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
2547 (dot_altrp): Don't just ignore it.
2548 (dot_savemem): New function. Replaces dot_savesp() and
2549 dot_savepsp(). Use manifest constants for applicaton registers.
2550 Handle REG_PR and REG_PRIUNAT.
2551 (dot_savef): Simplify.
2552 (dot_saveb): Support generation of br_gr.
2553 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
2554 dot_label_state, dot_copy_state): New function.
2555 (dot_unwabi): Don't just ignore it.
2556 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 2557 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
2558 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
2559 (emit_one_bundle): Set slot number for prologue/body records
2560 *before* emitting the first insn.
2561 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
2562 (md_begin): Declare "psp" pseudo-register.
2563 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
2564 so we don't get segfault.
2565 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
2566 counts as required per SW Conventions manual
2567 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
2568 output_preds_psprel, output_preds_sprel, output_spill_base,
2569 output_unat_psprel, output_unat_sprel, output_lc_psprel,
2570 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
2571 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
2572 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
2573 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
2574 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
2575 (dot_vframe): Implement.
2576 (dot_vframesp, dot_vframepsp): New function.
2577
f98fd99f
HPN
2578Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
2579
2580 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 2581 * configure: Regenerate.
f98fd99f 2582
ee7fcc42
AM
25832000-05-23 Alan Modra <alan@linuxcare.com.au>
2584
2585 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
2586 (md_estimate_size_before_relax): so we can use it here instead of
2587 old kludges. Localise vars to blocks. Comment.
2588
2589 * frags.c (frag_new): Update fr_var comments.
2590 * frags.h (struct frag): Ditto.
2591
c67e42c9
RH
25922000-05-22 Richard Henderson <rth@cygnus.com>
2593
2594 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
2595 (pseudo_func): Add pcrel.
2596 (operand_match): Handle IA64_OPND_TGT64.
2597 (build_insn): Likewise.
2598 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
2599 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
2600 (fix_insn): Handle all three 64-bit relocation types.
2601
5110c57e
HPN
2602Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
2603
2604 * obj.h (struct format_ops): New members begin, app_file,
2605 s_set_other, s_set_desc, s_get_type, s_set_type,
2606 separate_stab_sections, init_stab_section.
2607
2608 * config/obj-multi.h: Update GPL notice to v2.
2609 (obj_begin): New.
2610 (obj_app_file): New.
2611 (S_SET_SIZE): Test s_set_size for NULL before calling.
2612 (S_SET_ALIGN): Similar for s_set_align.
2613 (S_SET_OTHER): New.
2614 (S_SET_DESC): New.
2615 (S_GET_TYPE): New.
2616 (S_SET_TYPE): New.
2617 (SEPARATE_STAB_SECTIONS): New.
2618 (INIT_STAB_SECTION): New.
2619 (EMIT_SECTION_SYMBOLS): New.
2620 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
2621
2622 * config/obj-elf.h: Update GPL notice to v2.
2623 Mention that this file is included from obj-multi.h.
2624 (obj_begin): Wrap definition in ifndef.
2625 (elf_file_symbol): Constify declaration.
2626 (obj_app_file): Ditto.
2627 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
2628 Wrap in ifndef SEPARATE_STAB_SECTIONS.
2629
2630 * config/obj-elf.c (elf_s_set_other): New.
2631 (elf_file_symbol): Constify argument.
2632 (elf_separate_stab_sections): New.
2633 (elf_init_stab_section): New.
2634 (elf_format_ops): Add new members. Remove comma at end.
2635
2636 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
2637 (ecoff_format_ops): Add new fields. Remove comma at end.
2638 Mention inconsistency for emit_section_symbols.
2639
2640 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
2641
2642 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
2643 (coff_separate_stab_sections): New.
2644 (coff_format_ops): Add new members.
2645
2646 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
2647 (obj_aout_s_set_other): New.
2648 (obj_aout_s_set_desc): New.
2649 (obj_aout_s_get_type): New.
2650 (obj_aout_s_set_type): New.
2651 (obj_aout_separate_stab_sections): New.
2652 (aout_format_ops): New members added. Use obj_aout_process_stab,
2653 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
2654 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
2655 appropriate.
2656 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
2657
b98ef147
AM
26582000-05-22 Alan Modra <alan@linuxcare.com.au>
2659
2660 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
2661 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
2662 (md_estimate_size_before_relax): Ensure jumps to weak and
2663 externally visible symbols are relocatable.
2664
0aa5d426
HPN
2665Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
2666
2667 * stabs.c (aout_process_stab): Make global.
2668 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
2669 * read.h (aout_process_stab): Declare.
2670
2671 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
2672 Generalize to *aout, *coff *elf.
2673 * configure: Regenerated.
2674
2675 * doc/internals.texi (Object format backend): Say
2676 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
2677
2678 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
2679 * Makefile.in: Regenerated.
2680
7c3dc350
CM
26812000-05-19 Catherine Moore <clm@cygnus.com>
2682
2683 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
2684
b3b6a3fe
JL
26852000-05-18 Alan Modra <alan@linuxcare.com.au>
2686
2687 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
2688 instruction to reflect change in re_assemble_*.
2689
c9e10a08
JL
2690Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
2691
2692 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
2693 build PA64 ELF tools.
2694 * configure: Rebuilt.
2695
3043679f
AM
26962000-05-17 Alan Modra <alan@linuxcare.com.au>
2697
2698 * Makefile.am: Regenerate dependencies.
2699 * Makefile.in: Regenerate.
2700
322f2c45
NC
27012000-05-15 Nick Clifton <nickc@cygnus.com>
2702
2703 * config/tc-arm.c (struct asm_psr): Add boolean field
2704 distinguishing between CSPR and SPSR. Rename 'number' field
2705 to 'field'.
2706 (psrs): Rearrange contents to match new asm_psr structure.
2707 (arm_psr_parse): Move next to psr_required_here. Make it
2708 return an asm_psr structure.
2709 (psr_required_here): Use asm_psr structure returned by
2710 arm_psr_parse.
2711 (do_msr): Reorganise to allow psr_required_here to be called
2712 only once.
2713 (md_undefined_name): Mark 'name' parameter as unused, since
2714 the COFF target does not use it.
322f2c45 2715
5e6cbf41
PB
27162000-05-14 David O'Brien <obrien@FreeBSD.org>
2717
2718 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
2719 standards.
2720 * config/te-aux.h: Likewise.
2721 * config/te-dpx2.h: Likewise.
2722 * config/te-go32.h: Likewise.
2723 * config/te-hp300.h: Likewise.
2724 * config/te-hppa.h: Likewise.
2725 * config/te-i386aix.h: Likewise.
2726 * config/te-ic960.h: Likewise.
2727 * config/te-interix.h: Likewise.
2728 * config/te-nbsd532.h: Likewise.
2729 * config/te-pc532mach.h: Likewise.
2730 * config/te-ppcnw.h: Likewise.
2731 * config/te-psos.h: Likewise.
2732 * config/te-sparcaout.h: Likewise.
2733 * config/te-sun3.h: Likewise.
2734 * config/te-sysv32.h: Likewise.
2735
4132022d
AM
27362000-05-14 Alan Modra <alan@linuxcare.com.au>
2737
2738 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
2739 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
2740 and sign extend without an if statement.
2741 (build_bytes): Likewise.
2742
27432000-05-14 Kazu Hirata <kazu@hxi.com>
2744
2745 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
2746 X_add_symbol L_32 case.
2747
b4fd930a
AM
27482000-05-14 David O'Brien <obrien@FreeBSD.org>
2749
2750 * config/te-freebsd.h: New file.
2751
a38cf1db
AM
27522000-05-13 Alan Modra <alan@linuxcare.com.au>
2753
897083bd
AM
2754 * asintl.h (gettext, dgettext, dcgettext, textdomain,
2755 bindtextdomain): Replace defines with those from intl/libgettext.h
2756 to quieten gcc warnings.
2757
a38cf1db
AM
2758 * NEWS: Mention x86 .arch and -q.
2759
2760 * config/tc-i386.c (quiet_warnings): New.
2761 (md_assemble): Use quiet_warnings.
2762 (md_parse_option): Set quiet_warnings from -q.
2763 (md_show_usage): Mention -q, delete -m.
2764 (flag_do_long_jump): Delete.
2765 (md_parse_option): Remove -m.
2766 (md_show_usage): Remove -m.
2767 (md_create_long_jump): Remove useless flag_do_long_jump code.
2768
2769 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
2770 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
2771
e413e4e9
AM
27722000-05-13 Alan Modra <alan@linuxcare.com.au>
2773 Alexander Sokolov <robocop@netlink.ru>
2774
2775 * doc/c-i386.texi (i386-Arch): New section.
2776 (i386-Syntax): Mention .intel_syntax and .att_syntax.
2777
2778 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
2779 (smallest_imm_type): Use smallest opcode for shift by one if cpu
2780 architecture has been given and is not 486.
2781 (set_cpu_arch): New.
2782 (md_pseudo_table): Add .arch.
2783 (md_assemble): Warn if cpu architecture has been given and an
2784 unsupported instruction.
2785
2786 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
2787 Move operand_types bit defines after relevant template field.
2788 (template): Add cpu_flags.
2789 (Cpu*): Define.
2790 (arch_entry): New.
2791
e8b1cae5
AO
27922000-05-12 Alexandre Oliva <aoliva@cygnus.com>
2793
2794 * config/tc-mn10300.h (md_end): Define.
2795 (mn10300_finalize): Declare.
2796 * config/tc-mn10300.c: Include dwarf2dbg.h.
2797 (debug_line): Define.
2798 (md_assemble): Generate dwarf2 line info.
2799 (mn10300_finalize): New function. Finalize dwarf2 info.
2800
426b0403
AM
28012000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
2802
2803 * config/tc-mips.c (md_estimate_size_before_relax): Use the
2804 external version of the relocation for weak symbols.
2805
e4c58b25
JW
28062000-05-08 David Mosberger <davidm@hpl.hp.com>
2807
2808 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
2809 frame size in units of 16 bytes, as required per SW Conventions manual.
2810 (output_unw_records): Output info-block header as a dword to get
2811 byte-order right.
2812
8fce3f5e
AM
28132000-05-08 Alan Modra <alan@linuxcare.com.au>
2814
2815 * as.h: #include "file", not <file> on files from ../include.
2816 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
2817 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
2818 (md_convert_frag): Add ATTRIBUTE_UNUSED.
2819 (tc_coff_symbol_emit_hook): Ditto.
2820 (OPTCOUNT): Cast to int to avoid compiler warning.
2821 (md_begin): Fix signed/unsigned warnings.
2822
28232000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2824
2825 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
2826 ABRANCH LONG case for a conditional branch on a 68000.
2827 (md_estimate_size_before_relax): Likewise. Also handle
2828 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
2829 (m68k-ip: case ABSL): Relax absolute references to 16-bit
2830 PC-relative on all CPUs.
2831 (md_estimate_size_before_relax): Likewise.
2832
fb166ee3
AM
28332000-05-04 Alan Modra <alan@linuxcare.com.au>
2834
2835 * as.c (parse_args): Just mention current year in printed
2836 copyright message.
2837
7a899fff
C
28382000-05-03 J.T. Conklin <jtc@redback.com>
2839
2840 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 2841 unit registers.
7a899fff
C
2842 (md_parse_option): Recognize -m7400.
2843
44877466
ILT
28442000-05-03 Ian Lance Taylor <ian@zembu.com>
2845
2846 * config/atof-ieee.c (gen_to_words): When adding carry back in,
2847 don't permit lp to become less than the words array.
2848
eaa15ab8
NC
28492000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
2850
2851 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
2852 Fix little-endian case.
2853
7c4f6a03
AM
28542000-05-03 David O'Brien <obrien@NUXI.com>
2855
2856 * as.c (parse_args): Update copyright.
2857
da5d444c
AM
28582000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
2859
2860 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
2861 for the .bss section too.
2862
3f9b03b5
AM
28632000-05-02 Alan Modra <alan@linuxcare.com.au>
2864
2865 * configure.in: Set em=linux for hppa-*-linux.
2866 * configure: Regenerate.
2867 * doc/Makefile.in: Regenerate with correct automake.
2868
2869 * frags.c (frag_grow): Sanity check chunk_size.
2870
2871 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
2872 * config/obj-som.h: Likewise.
2873 * config/obj-ieee.h: Likewise.
2874
2875 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
2876
2877 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
2878 (md_pseudo_table): Fully initialise OBJ_ELF cases.
2879 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
2880 (pa_ip): low_sign_unext now returns via function value. Use
2881 re_assemble_* instead of dis_assemble_* and
2882 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
2883 unnecessarily.
2884 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
2885 (md_section_align, md_parse_option, md_show_usage,
2886 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
2887 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
2888 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
2889 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
2890 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
2891 pa_text): Likewise.
2892 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
2893 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
2894 outside of switch. Correct mask and shifting errors in case 10
2895 and case -11. In case 21, compare against signed range to suit
2896 hppa_field_adjust changes. In case 12, use re_assemble_12. In
2897 case 17 and case 22, use offsetT variable to properly check range.
2898 Use re_assemble_* here too.
2899 (evaluate_absolute): Change type of value to offsetT. Call
2900 hppa_field_adjust to do the work for us.
2901 (pa_parse_cmpb_64_cmpltr): Delete save_s.
2902 (pa_parse_cmpib_64_cmpltr): Ditto.
2903 (pa_build_unwind_subspace): Delete unused var subseg. Change type
2904 of i to unsigned int.
2905 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
2906 (pa_end_of_source): Return type is void.
2907
a2984248
CM
2908Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
2909
2910 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
2911
df136245
DC
2912Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
2913
2914 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
2915 More comments added.
2916 (md_begin): Removed "construct symbols for each register name".
2917 Because register names conflicts with GCC generated function
2918 names.
2919 (avr_operand): Now constant numbers can be used as a register
2920 identifiers (0 as r0, 31 as r31).
2921 (md_assemble): use skip_space () before parsing instruction
2922 operands.
2923
c1e73230
AM
29242000-05-01 Alan Modra <alan@linuxcare.com.au>
2925
2926 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
2927 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
2928 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
2929 * configure: Regenerate.
2930
a1934524
AM
29312000-04-29 Andreas Jaeger <aj@suse.de>
2932
2933 * as.h: Correctly check GCC version.
2934
d9b7d820
AM
29352000-04-26 David O'Brien <obrien@FreeBSD.org>
2936
2937 * doc/as.1: Fix unbalanced brackets.
2938
2939 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
2940 TE_FreeBSD.
2941 (line_comment_chars): Set to '/' if TE_FreeBSD.
2942
cea1ab94
JL
2943Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
2944
2945 * configure.in: Configury support for PA64 (currently disabled).
2946 * configure: Rebuilt.
2947
e799a695
AM
29482000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
2949
3e87a760 2950 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
2951 bfd_set_section_alignment.
2952
3b0ec529
AM
29532000-04-25 Alan Modra <alan@linuxcare.com.au>
2954
2955 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
2956 than 32.
2957
adcf07e6
NC
29582000-04-24 Nick Clifton <nickc@cygnus.com>
2959
2960 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
2961 * doc/as.texinfo (Align): Include arm and strongarm in list of
2962 targets that have the second form of the behaviour of the .align
3e87a760 2963 directive.
adcf07e6 2964
5047a41f
JL
29652000-04-24 Mark Klein <mklein@dis.com>
2966
50705ef4 2967 * obj-som.c: Terminate obj_pseudo_table.
5047a41f 2968
a47cf567
NC
2969Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
2970
2971 * as.c (parse_args): Allow md_parse_option to override -a listing
2972 option.
2973 * config/obj-coff.c (add_lineno): Change type of offset parameter
2974 from "int" to "bfd_vma."
2975 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
2976 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
2977 (ppc_change_csect): Align correctly for XCOFF64.
2978 (ppc_machine): New function, which discards "ppc_machine" line.
2979 (ppc_tc): Cons for 8 when code is 64 bit.
2980 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
2981 relocations.
2982 (md_parse_option): Handle -a64 and -a32.
2983 (ppc_xcoff64): New.
2984 * config/tc-ppc.h (TARGET_MACH): Define.
2985 (TARGET_FORMAT): Move to function.
2986 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
2987
2988Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
2989
2990 * config/tc-avr.c: New AVR_ISA_ defined.
2991 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
2992 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
2993 for `fmul', `movw' and `lpm R,Z' instructions.
2994 (avr_operands): Warn if current opcode is a two-word instruction
2995 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
2996 (avr_opcodes): New commands added.
2997 (REGISTER_P): Check 'a' and 'v' constraint letters.
2998 (mcu_types): New MCU added.
2999
bf3ca999
TW
30002000-04-22 Timothy Wall <twall@cygnus.com>
3001
3002 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
3003 to "natval".
3004 (operand_match): Conditionally insert default bit values for IMMU9.
3005
98e5953c
JL
30062000-04-14 Matthew Green <mrg@cygnus.com>
3007
3008 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
3009 * configure: Rebuilt.
3010
a02fab7e
JL
3011Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
3012 Jason Eckhardt <jle@cygnus.com>
3013
c67e42c9 3014 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
3015
3016 * config/tc-hppa.c (CHECK_ALIGN): New macro.
3017 Added handling of new operand types l,y,&,fe,fE,fx.
3018
800eeca4
JW
3019Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
3020 David Mosberger <davidm@hpl.hp.com>
3021 Timothy Wall <twall@cygnus.com>
3022 Andrew MacLeod <amacleod@cygnus.com>
3023 Jim Wilson <wilson@cygnus.com>
3024
3025 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 3026 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
3027 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
3028 * Makefile.in: Rebuild.
3029 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
3030 * configure: Rebuild.
3031 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
3032 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
3033 * expr.c (expr): Handle md_optimize_expr.
3034 * read.c (LEX_HASH): Add comment.
3035 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 3036
66778679
RH
30372000-04-21 Richard Henderson <rth@cygnus.com>
3038
3039 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
3040 bundling a non-delayed branch type instruction.
3041
aa15f6f7
AO
30422000-04-20 Alexandre Oliva <aoliva@cygnus.com>
3043
3044 * config/tc-mn10300.c (HAVE_AM30): Define.
3045 (md_assemble): Use it.
3046
16adf844
AM
30472000-04-19 Alan Modra <alan@linuxcare.com.au>
3048
742f45cf
AM
3049 * config/obj-elf.c (obj_elf_change_section): Check for changed
3050 section attributes.
3051
16adf844
AM
3052 * Makefile.am: (CPU_MULTI_VALID): Remove.
3053 (MULTI_CPU_TYPES): Define.
3054 (MULTI_CPU_OBJ_VALID): Define.
3055 (DEPTC): Use the above.
3056 (DEPOBJ): Same here.
3057 (DEP2): And here.
3058 Regenerate dependencies.
3059 * Makefile.in: Regenerate.
3060
9c46fb1b
AM
30612000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3062
742f45cf 3063 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 3064
508866be
L
30652000-04-18 H.J. Lu (hjl@gnu.org)
3066
3067 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 3068 bfd_vma for non-bfd assemblers.
508866be 3069
ba2adb93
AM
30702000-04-17 Alan Modra <alan@linuxcare.com.au>
3071
3072 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
3073 doesn't give spurious errors.
3074
12ff5d56
AM
30752000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3076
66778679 3077 * as.h (SEEK_SET): Define if undefined.
12ff5d56 3078
fc633e5b
AM
30792000-04-13 Alan Modra <alan@linuxcare.com.au>
3080
3081 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
3082 constants, and don't assume offsetT is 32 bits.
3083
1ed18ec1
NC
30842000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
3085
3086 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
3087 (md_pcrel_from_section): Add prototype.
3088 (d10v_fix_adjustable): Add prototype.
3089 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
3090
3091 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
3092
3db10f32
NC
30932000-04-12 Nick Clifton <nickc@cygnus.com>
3094
3095 * config/tc-d10v.c (find_opcode): Correctly calculate position of
3096 symbol in frag chain.
3097
847f7ad4
AM
30982000-04-10 Alan Modra <alan@linuxcare.com.au>
3099
3100 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
3101 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
3102 (fits_in_signed_word, smallest_imm_type): Ditto.
3103 (md_assemble): Use an offsetT var to hold offsetT values, not a
3104 long.
3105 (offset_in_range): New.
3106 (md_assemble): Use it.
3107 (md_convert_frag): Change type of target_address, opcode_address,
3108 and displacement_from_opcode_start to offsetT.
3109 (md_create_short_jump): Change type of offset to offsetT.
3110 (md_create_long_jump): Ditto.
3111 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
3112 (md_chars_to_number): Remove.
3113 (output_invalid): Remove duplicate prototype.
3114
ec694b89
NC
31152000-04-09 Nick Clifton <nickc@cygnus.com>
3116
3117 * Makefile.am (CPU_TYPES): Add 'avr'.
3118 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
3119 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
3120
16adf844 3121 * Makefile.in: Regenerate.
ec694b89
NC
3122
3123 * doc/as.texinfo: Add M32R documentation.
3124
a2d91340 3125Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 3126
a2d91340 3127 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 3128 --enable-build-warnings option.
a2d91340
AC
3129 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3130 * Makefile.in, configure: Re-generate.
3131
d92b1a8a
NC
31322000-04-07 Nick Clifton <nickc@cygnus.com>
3133
3134 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
3135 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
3136 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
3137 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
3138 (arm_force_relocation): Force relocations for
3139 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
3140
52ccafd0
JR
3141Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3142
3143 * config/tc-sh.c (get_operands): There's no third operand if the
3144 first operand is an immediate.
3145
015551fc
JR
3146Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3147
3148 * config/tc-sh.c (immediate): Delete.
3149 (sh_operand_info): Add immediate member.
3150 (parse_reg): Use A_PC for pc.
3151 (parse_exp): Add second argument 'op'. All callers changed.
3152 (parse_at): Expect pc to be coded as A_PC.
3153 Use immediate field in *op.
3154 (insert): Add fourth argument 'op'. All callers changed.
3155 (build_relax): Add second argument 'op'. All callers changed.
3156 (insert_loop_bounds): New function.
3157 (build_Mytes): Remove DISP_4.
3158 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
3159 (assemble_ppi): Use immediate field in *operand.
3160 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
3161 (md_apply_fix): Likewise.
3162 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
3163
79bd78be
AO
3164Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3165
3166 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
3167
e30e5a6a
HPN
3168Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
3169
3170 * internals.texi (CPU backend): Document
3171 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
3172
41b49281
AM
31732000-04-04 Alan Modra <alan@linuxcare.com.au>
3174
8ad3436c
AM
3175 * po/gas.pot: Regenerate.
3176
3177 * as.c (show_usage): Restore translated part of bug string.
3178 * gasp.c (show_usage): Likewise.
3179
41b49281
AM
3180 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
3181 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
3182 than move-if-change.
3183 (DEP1): Modify for "gcc -MM".
3184 (DEPTC): Likewise.
3185 (DEPOBJ): Likewise.
3186 (DEP2): Likewise.
3187 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
3188 Update dependencies.
3189 * Makefile.in: Regenerate.
3190
0a727238
AO
31912000-04-03 Alexandre Oliva <aoliva@cygnus.com>
3192
3193 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
3194 (md_begin): Likewise.
3195 (HAVE_AM33): New macro.
3196 (md_assemble): Use it. Match r_regs and xr_regs only if
3197 HAVE_AM33.
3198
c20f4f8c
AM
31992000-04-03 Alan Modra <alan@linuxcare.com.au>
3200
3201 * as.h: #include "bin-bugs.h"
3202 * as.c (show_usage): Use REPORT_BUGS_TO.
3203 * gasp.c: #include "bin-bugs.h"
3204 (show_usage): Use REPORT_BUGS_TO.
3205
3206 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
3207
753f6b12
HPN
3208Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
3209
3210 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
3211 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
3212 adjustments.
3213
726c5dcd
AM
32142000-04-03 Alan Modra <alan@linuxcare.com.au>
3215
3216 * config/tc-i386.c (i386_immediate): Don't assume a constant
3217 immediate is necessarily 16 bits when in 16 bit code mode.
3218 (md_assemble): Instead set guess_suffix here after we have checked
3219 registers.
3220
bf80011a
RH
32212000-04-02 Richard Henderson <rth@cygnus.com>
3222
3223 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
3224 quantities. Correct right shift sign extension.
3225 (build_insn): Make `number' unsigned long. Mask top 6 bits of
3226 32-bit value when shifting into place.
3227
92161534
ILT
32282000-04-01 Ian Lance Taylor <ian@zembu.com>
3229
3230 * app.c: Add ATTRIBUTE_UNUSED as needed.
3231 * config/tc-ppc.c: Likewise.
3232 (ppc_size): Make unsigned long.
3233 (ppc_insert_operand): Add casts to avoid warnings.
3234
447f3982
NC
32352000-03-31 Nick Clifton <nickc@cygnus.com>
3236
3237 * config/tc-d10v.h (md_flush_pending_output): Define.
3238
21d75ec2
NC
32392000-03-29 Nick Clifton <nickc@cygnus.com>
3240
3241 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
3242 segment. Works for both BFD_ASSEMBLER and others.
3243 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
3244
d1a1bf19
NC
32452000-03-29 Nick Clifton <nickc@cygnus.com
3246
3247 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
3248
224de7a5
AM
32492000-03-28 Alan Modra <alan@linuxcare.com.au>
3250
3251 * listing.c (LISTING_LHS_WIDTH): Default depends on
3252 LISTING_WORD_SIZE.
3253 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
3254
5b8274e3
ILT
32552000-03-27 Ian Lance Taylor <ian@zembu.com>
3256
3257 * config/tc-sh.c (md_show_usage): Use backslash before newline in
3258 string literal.
3259
224de7a5 32602000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
3261
3262 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
3263
3264 * config/tc-avr.c (mcu_types): Add missing initialiser.
3265 (md_pcrel_from_section): Add prototype.
3266 (avr_operand): Remove redundant test of unsigned < 0.
3267 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
3268
32692000-03-27 Denis Chertykov <denisc@overta.ru>
3270
3271 * config/tc-avr.c: New file for AVR support.
3272 * config/tc-avr.h: Likewise.
3273 * configure.in: Add AVR support.
3274 * configure: Regenerate.
3275
9f10757c
TW
32762000-03-26 Timothy Wall <twall@cygnus.com>
3277
3278 * gasp.c (macro_op): Add new argument to check_macro call.
3279 Macro structure definitions moved to macro.h
3280 * sb.h: Add argument to prototype for input_scrub_include_sb.
3281 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
3282 nesting checks with an additional flag.
3283 (struct input_save): Add flag to indicate whether current sb
3284 should be checked for proper macro/conditional nesting.
3285 (input_scrub_push/pop): Save/restore nest check flag.
3286 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 3287 defined.
9f10757c
TW
3288 * macro.c (check_macro): Allow caller to retrieve parsed macro
3289 information if a pointer is provided. This information may be
3290 used by the new macro hooks.
3291 * macro.h: Update prototype for check_macro. Macro struct
3292 definitions moved here from macro.c/gasp.c.
3293 * read.c (read_a_source_file): Add parameter to check_macro call,
3294 and pass macro info to the macro hook, if defined.
3295 (input_scrub_insert_line): New. Allow insertion of a line of
3296 characters into the input stream.
3297 (input_scrub_insert_file): New. Allow insertion of an arbitrary
3298 file into the input stream.
3299 (s_include): Use input_scrub_insert_file.
3300 * internals.texi: Document new macro hooks.
3301 * as.h: New prototypes added.
3e87a760 3302
224de7a5 33032000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
3304
3305 * config/tc-i386.c: Don't start any as_bad or as_warn message with
3306 an initial capital letter.
3307 (i386_index_check): Reindent.
3308
11424155
NC
33092000-03-19 Nick Clifton <nickc@cygnus.com>
3310
eaa15ab8 3311 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
3312 relative branches.
3313
43f05576
NC
33142000-03-17 Thomas de Lellis <tdel@windriver.com>
3315
66778679
RH
3316 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
3317 instruction operand bad if Rd > 7 when generating
3318 thumb instructions. Prevents for example,
3319 "adr r12,label" from silently failing and generating
3320 the wrong instruction.
3e87a760 3321
67231402
NC
33222000-03-17 Nick Clifton <nickc@cygnus.com>
3323
3324 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
3325 that have a destingation >= 0x400000.
3e87a760 3326 Fix compile time warning messages.
67231402 3327
a37c8f88
JR
3328Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3329
3330 * config/tc-sh.c (md_begin): When encountering insn that are
3331 not supported by the current arch, only change the name if
3332 its contents are the same as prev_name.
3333 (get_specific): If the the architecture doesn't match, fail.
3334
dead1419
JR
3335Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3336
3337 * config/tc-sh.c (IDENT_CHAR): Define.
3338 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
3339 matching back where it came from.
3340
182e89d3
JR
3341Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3342
3343 * config/tc-sh.c (md_show_usage): Add description of -dsp.
3344
84f73d89
NC
33452000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
3346
3347 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
3348 normal operands.
3349
dbbc7809
JL
33502000-03-15 Kazu Hirata <kazu@hxi.com>
3351
3352 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
3353
271bb601
HPN
3354Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
3355
3356 * expr.c (operand) [case 'f']: When testing if '0f' can start a
3357 floating-point-number, make sure 'f' is in FLT_CHARS.
3358
8684e216
HPN
3359Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
3360
3361 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
3362 (s_lcomm_internal): Use it.
3363 * doc/internals.texi (CPU backend): Document it.
3364 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
3365 bytes.
3366
bb2d6cd7
GK
33672000-03-10 Geoffrey Keating <geoffk@cygnus.com>
3368
3369 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
3370 when embedded-pic.
3371
3372 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
3373 implementation doesn't have special handling for switch
3374 statements.
bb2d6cd7
GK
3375 (macro_build): Allow for code in sections other than .text.
3376 (macro): Likewise.
3377 (mips_ip): Likewise.
3378 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 3379 Don't perform relocs if we will be outputting them.
bb2d6cd7 3380 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
3381 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
3382 embedded-pic.
bb2d6cd7 3383
5c86cbc7 33842000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 3385
66778679
RH
3386 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
3387 relocation type based on the entry in the fixup structure.
a47cf567 3388 Put S_IS_EXTERN processing back in.
5c86cbc7 3389
f8c827e9
L
33902000-03-08 H.J. Lu (hjl@gnu.org)
3391
3392 * Makefile.am (install-exec-tooldir): Depend on
3393 install-exec-bindir for parallel make.
3394 * Makefile.in: Regenerated.
3395
8ad9e709
NC
33962000-03-06 Nick Clifton <nickc@cygnus.com>
3397
3398 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
3399 switch.
3400 (md_parse_option): Parse -m32r command line switch - disable m32rx
3401 compatability.
ded0aeb7
NC
3402 (md_show_usage): Document new option.
3403
3404 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
3405 * doc/Makefile.in: Regenerate.
3406 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 3407
b7b8f327
MM
34082000-03-02 Michael Meissner <meissner@redhat.com>
3409
3410 * config/tc-d30v.c (check_range): Remove code that incorrectly
3411 sign extended values where bits < 32.
3412
15886821
L
34132000-03-02 H.J. Lu (hjl@gnu.org)
3414
3415 * configure.in: Support --enable-targets=all on ia32.
3416 * configure: Regenerated.
3417
8bf950bf
NC
34182000-03-01 Nick Clifton <nickc@cygnus.com>
3419
3420 * gasp.c (do_align): Remove bogus check of alignment value.
3421
c5e54cc2
ILT
34222000-02-27 Thomas de Lellis <tdel@windriver.com>
3423
3424 * config/obj-elf.c (elf_frob_symbol): Remove code which when
3425 TC_PPC was defined forced the type of a symbol with no other type
3426 to be BSF_OBJECT.
3427
65fd87bc
ILT
34282000-02-27 Hans-Peter Nilsson <hp@axis.com>
3429
3430 * doc/internals.texi (CPU backend): Mention that
3431 line_separator_chars do not break up comments. Fix typos for
3432 LEX_AT and LEX_NAME descriptions. Document operands for
3433 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
3434 description of md_create_short_jump usage. Document argument for
3435 md_undefined_symbol.
3436
a25fe906
ILT
34372000-02-27 Jakub Jelinek <jakub@redhat.com>
3438
3439 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
3440 (md_parse_option): Handle it.
3441 (md_show_usage): Document it.
3442
21b10511
ILT
34432000-02-27 Ian Lance Taylor <ian@zembu.com>
3444
3445 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
3446 opcode, for the instruction `pal19'. From Andrea Arcangeli
3447 <andrea@suse.de>.
3448
773f551c
AM
34492000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
3450
3451 * config/tc-i386.c (i386_immediate): Move constant operand sizing
3452 from here..
3453 (md_assemble): To here, before template operands are matched.
3454 Also ensure a constant immediate is sign extended when we know the
3455 size is at most 16 bits. This is to catch cases like "add
3456 $0xffc0,%ax" where we don't know the size, and thus that the
3457 immediate can be represented as Imm8S until after parsing the
3458 register operand.
3459 (i386_displacement): Similarly sign extend 16 bit constant
3460 displacements.
3461 (md_assemble): Relax 16-bit jump constant range check to suit sign
3462 extended displacements.
3463
28d33191
JL
34642000-02-26 Andreas Jaeger <aj@suse.de>
3465
3466 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
3467
cc5ca5ce
AM
34682000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
3469
3470 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
3471 call operands when intel_syntax.
3472 (intel_float_operand): Return 2 for "fi...".
3473 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
3474 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
3475 earlier "SHORT" change.
3476 (md_assemble): When determining suffix from Regs, exclude
3477 InOutPortReg.
3478
056350c6
NC
34792000-02-24 Nick Clifton <nickc@cygnus.com>
3480
3481 * configure: Add arm-wince, mips-pe and sh-pe targets.
3482 * configure: Regenerate.
3483
3484 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
3485 sh-pe targets.
3486 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
3487 "pe-mips" for the mips-pe target.
3488
3489 * config/tc-arm.c (insns): Change displacement encoded in BL
3490 and B instructions if the target port is arm-wince.
3491 (do_ldst): Do not bias the relocation offset if the target
3492 port is arm-wince.
3493 (md_pcrel_from): Add in missing relocation offset bias if the
3494 target os arm-wince.
3495
3496 * config/tc-mips.c (mips_target_format): Support COFF flavour.
3497 (md_begin): Disable -G support for mips-pe target.
3498 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
3499 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
3500 COFF flavour.
3501
3502 * config/tc-sh.c (md_begin): sh-pe target is little endian.
3503 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
3504 assembler, just set the alignment to 4.
3505
3506 * config/te-wince-pe.h: New file for WinCE targets. Define
3507 TE_WINCE.
3508
36bf8ab9
AM
35092000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
3510
3511 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
3512 string instructions.
3513 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
3514 (i386_intel_memory_operand): After finding a segment override,
3515 check again for no `[' before looking for a displacement. Bomb if
3516 more than one displacement rather than silently discarding the
3517 second and subsequent ones. Free strings malloc'd by
3518 build_displacement_string.
3519
f5795b08
CM
35202000-02-24 Catherine Moore <clm@cygnus.com>
3521
3522 * config/obj-som.c (obj_pseudo_table): Add "weak".
3523 (obj_som_weak): New routine.
3524
abd63a32
AM
35252000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
3526
520dc8e8
AM
3527 * config/tc-i386.c (union i386_op): New.
3528 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
3529 Throughout file replace occurences of disps[n], imms[n], regs[n]
3530 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
3531 intel mode operand swapping. Add assert in regKludge and
3532 fake_zero_displacement code. Test i.types[n] when outputting
3533 displacements and immediates. Combine output of Disp16 with
3534 Disp32.
7f3f1ea2
AM
3535 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
3536 when in intel mode by (not) reversing fsub and fdiv operands
3537 before the template search. This fails for single operand
3538 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
3539 undefined. Instead fix the base_opcode after we've found the
3540 template. Move base_opcode xor with found_reverse_match from
3541 opcode output code to before this fix so we test for the correct
3542 opcodes.
3543 (md_assemble): Don't use strcmp when deciding to ignore the suffix
3544 check in intel mode. Instead compare opcodes.
520dc8e8
AM
3545
3546 * config/tc-i386.h (TC_RELOC): Delete.
3547 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
3548 with equivalent call to reloc.
3549
abd63a32
AM
3550 * as.h (flag_m68k_mri): Move declaration after target include, and
3551 only declare when TC_M68K defined. Define as zero otherwise.
3552 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
3553 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
3554 Define as zero otherwise.
3555 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
3556 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
3557 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
3558 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
3559 testing whether defined.
3560 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
3561 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
3562 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
3563 rather than testing whether defined.
3564 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
3565 (parse_mri_cons): Declare and use only when TC_M68K.
3566 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
3567 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
3568 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
3569
3570 * NEWS: Mention IBM 370 support.
3571
7e052742
RH
35722000-02-23 Richard Henderson <rth@cygnus.com>
3573
3574 * config/tc-i386.c (md_assemble): When swapping operands for
3575 intel_syntax, assume everything that's not Imm or Disp is a
3576 register.
3577
5b93d8bb
AM
35782000-02-23 Linas Vepstas <linas@linas.org>
3579
3580 * config/tc-i370.c, config/tc-i370.h: New files.
3581 * Makefile.am: Add support for Linux/IBM 370.
3582 * configure.in: Likewise.
3583 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
3584 * config/obj-elf.c: Include elf/i370.h
3585 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
3586
3587 * Makefile.in: Regenerate.
3588 * configure: Regenerate.
3589
3590 * doc/c-i370.texi: New file.
3591 * doc/all.texi: Include it.
3592 * doc/as.texinfo: And here.
3e87a760 3593 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
3594 * doc/Makefile.in: Regenerate.
3595
25f2196d
CC
35962000-02-19 Michael Meissner <meissner@redhat.com>
3597
3598 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
3599 determine if an instruction can be used in parallel with an ADDppp
3600 or SUBppp instruction.
3601
6349b5f4
AH
36022000-02-22 Andrew Haley <aph@cygnus.com>
3603
3604 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
3605
c97ef257
AH
36061999-12-30 Andrew Haley <aph@cygnus.com>
3607
3608 * config/tc-mips.c (mips_gp32): New variable.
3609 (macro_build) Use mips_gp32.
3610 (mips_ip): Ditto.
3611 (md_longopts): Add "-mgp32" and "-mgp64".
3612 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 3613
a47cf567
NC
3614 (OPTION_M7900): Change offset
3615 (OPTION_NO_M7900): Ditto.
3616
b985eaa8
ILT
36172000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3618
3619 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
3620 warning, and bump it to 1.
3621
52454417
ILT
36222000-02-22 Ian Lance Taylor <ian@zembu.com>
3623
3624 From Brad Lucier <lucier@math.purdue.edu>:
3625 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
3626 match format.
3627
6b76fefe
CM
36282000-02-21 Catherine Moore <clm@cygnus.com>
3629
3630 * config/tc-mips.c (MF_HILO_INSN): Define.
3631 (mips_7000_hilo_fix): Declare.
3632 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
3633 (md_parse_option): Check for 7000_HILO_FIX options.
3634 (OPTION_M7000_HILO_FIX): Define.
3635 (OPTION_NO_M7000_HILO_FIX): Define.
3636 * doc/c-mips.texi (-mfix7000): Describe.
3637
f6af82bd
AM
36382000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3639
3640 * listing.c (print_lines): Remove unused variable `end'.
3641
3642 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
3643 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 3644 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
3645 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
3646 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 3647 statement and quell signed vs. unsigned comparison warning.
f6af82bd 3648
8c8281f4
NC
36492000-02-18 Nick Clifton <nickc@cygnus.com>
3650
3651 * config/tc-d10v.c (find_opcode): Add a symbol's value to
3652 the computed frag offset, rather than overwriting it.
3653
d4845d57
JR
3654Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3655
3656 * config/tc-sh.c ("elf/sh.h"): Include.
3657 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
3658 (md.begin): Initialize target_arch.
3659 Only include opcodes in has table that match selected architecture.
3660 (parse_reg): Recognize register names for sh-dsp.
3661 (parse_at): Recognize post-modify addressing.
3662 (get_operands): The leading space is now optional.
3663 (get_specific): Remove FDREG_N support. Add support for sh-dsp
3664 arguments. Update valid_arch.
3665 (build_Mytes): Add support for SDT_REG_N.
3666 (find_cooked_opcode): New function, broken out of md_assemble.
3667 (assemble_ppi, sh_elf_final_processing): New functions.
3668 (md_assemble): Use find_cooked_opcode and assemble_ppi.
3669 (md_longopts, md_parse_option): New option: -dsp.
3670 * config/tc-sh.h (elf_tc_final_processing): Define.
3671 (sh_elf_final_processing): Declare.
3672
c97305a1
JL
3673Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
3674
3675 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
3676 the unwinder subspace. Save the current seg/subseg before creating
3677 the new seg/subseg.
3678
bec50466
NC
36792000-02-10 Nick Clifton <nickc@cygnus.com>
3680
3681 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 3682 little endian targets.
bec50466 3683 (INST_BYTE1): Redefine to handle big and little endian
66778679 3684 targets.
bec50466
NC
3685 (cpu_type): New type: Select between M340 and M210.
3686 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 3687 instructions of the M340.
bec50466 3688 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 3689 instructions.
bec50466
NC
3690 (md_atof): Add support for little endian targets.
3691 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 3692 line switches.
bec50466
NC
3693 (md_convert_frag): Add support for little endian targets.
3694 (md_apply_fix3): Add support for little endian targets.
3695 (md_number_to_chars): Add support for little endian targets.
3696
a25c045a
TW
36972000-02-10 Timothy Wall <twall@redhat.com>
3698
3699 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
3700 defined, use it to verify the symbol just read should be a label.
3701
f28e8eb3
TW
37022000-02-10 Timothy Wall <twall@redhat.com>
3703
3704 * app.c (do_scrub_chars): Handle "||" for parallel instructions
3705 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
3706 around colons when KEEP_WHITE_AROUND_COLON is defined.
3707 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
3708 and KEEP_WHITE_AROUND_COLON.
3709
6dc19fc4
TW
37102000-02-08 Timothy Wall <twall@redhat.com>
3711
3712 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 3713 logic.
6dc19fc4 3714 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 3715 implemented.
6dc19fc4
TW
3716 (end_repeat): New. Provide support for a "break" out of the
3717 repeat loop.
3718 * read.h: Add prototypes for new functions.
3e87a760 3719
f805106c
TW
37202000-02-08 Timothy Wall <twall@redhat.com>
3721
3722 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
3723 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
3724 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
3725 non-zero.
3726
4469be0f
TW
37272000-02-08 Timothy Wall <twall@redhat.com>
3728
3729 * read.c: Added elseif to directives table.
3730 * read.h: Added prototype for s_elseif.
3731 * doc/as.texinfo: Added description for elseif.
3732 * cond.c (s_elseif): New function
3e87a760 3733
24a17b6c
TW
37342000-02-04 Timothy Wall <twall@redhat.com>
3735
3736 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 3737 listings.
24a17b6c 3738
bea9907b 37392000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 3740
bea9907b
TW
3741 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
3742 default values.
3743 * frags.c (frag_new): Calculate fr_fix in octets
3744 (frag_now_fix) Return offset as target address offset (bytes).
3745 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 3746 quantities).
bea9907b
TW
3747 * frags.h: Added prototype for frag_now_fix_octets().
3748 Distinguish between octets and bytes in field descriptions.
3749 * listing.c (calc_hex): Account for octets vs bytes when
3750 printing addresses/offsets.
3751 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
3752 target is little-endian, print the octets in a word in big-endian
3753 order so that the display looks like a proper hexadecimal number,
3754 instead of having the octets reversed.
3755 * read.c (do_align): When recording alignment, alignment power
3756 should be in terms of target bytes (minimum addressible unit)
3757 instead of octets.
3758 (do_org) Convert ORG target address (byte) argument into an
3759 octet offset when generating a variable fragment.
3760 * symbols.c (resolve_symbol_value): Symbol final value
3761 converted to a target address offset (bytes) from its octet offset.
3762 * config/obj-coff.c (coff_frob_symbol): Symbol target address
3763 offset (bytes) is adjusted by the frag offset (octets) converted
3764 to bytes.
3765 (coff_frob_section) Section alignment power is in terms of bytes;
3766 convert it to an octet alignment power when calculating size (and
3767 size mask) in octets. Don't modify the section size in order to
3768 "align" it for TI COFF, since that format has a different method
3769 for storing alignment information.
3e87a760 3770
210dcc61
TW
37712000-02-01 Timothy Wall <twall@cygnus.com>
3772
3773 * stabs.c (generate_asm_file): Escape backslashes in stabs file
3774 entries, matching the way GCC generates them. If not escaped, the
3775 filename is encoded incorrectly.
3776
557537a5 37772000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 3778
557537a5
NC
3779 * config/tc-arm.c (reg_table): Add support for ATPCS register
3780 naming conventions.
2c1c4c62 3781
557537a5 37822000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 3783
2c1c4c62
GK
3784 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
3785 already defined.
3e87a760 3786 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
3787 New macro.
3788 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
3789 of a symbol when we really care about its value.
3790
37912000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
3792
3793 * config/tc-mcore.c (md_assemble): Give warning message if
3794 operands passes to instruction are more than the spec.
3795
2f0ca46a
NC
37962000-01-27 Thomas de Lellis <tdel@windriver.com>
3797
66778679 3798 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a
NC
3799 Thumb mode but the label seen was not declared as '.thumb_func'
3800 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 3801 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 3802
4c63da97
AM
38032000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3804
3805 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
3806 Add dependencies for e-i386aout.o. Fix 2 comment lines.
3807
3808 * Makefile.in: Same here.
3809 Update copyright.
3810
3811 * configure.in: Set bfd_gas for i386-aout when primary target
3812 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
3813 we may need the primary te_file. Remove incorrect comment.
3814
3815 * configure: Regenerate.
3816
3817 * config/e-i386aout.c: New file.
3818
3819 * as.c (USE_EMULATIONS): Move to before print_version_id.
3820 (struct emulation): Add i386aout.
3821 (show_usage): Split text strings. Reformat -a text. Add --em
3822 help.
3823 Update copyright.
3824
3825 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
3826 (aout_format_ops): New.
3827 Update copyright.
3828
3829 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
3830 preprocessor conditional and add aout USE_EMULATIONS tests.
3831 (read_a_source_file): Don't pass error strings to printf as
3832 format arg.
3833 Update copyright.
3834
3835 * gasp.c (exp_get_abs): Don't pass error strings to printf as
3836 format arg.
3837 (do_data): Same here.
3838 (process_file): And here.
3839 Update copyright.
3840
3841 * symbols.c (colon): Rewrite "already defined" fatal message
3842 code for aout with USE_EMULATIONS.
3843 Update copyright.
3844
3845 * config/obj-aout.c (OBJ_HEADER): Define.
3846 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 3847 fields of sentinel.
4c63da97
AM
3848 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
3849 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
3850 forms here.
3851 (obj_aout_type): Expand S_SET_OTHER here too.
3852 (obj_read_begin_hook): Remove.
3853 (aout_pop_insert): New.
3854 (obj_aout_s_get_other): New.
3855 (obj_aout_s_get_desc): New.
3856 (aout_format_ops): New.
3857 Update copyright.
3858
3859 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
3860 gets aout_pseudo_table.
3861 (aout_pseudo_table): Declare.
3862 (obj_read_begin_hook): Define.
3863 Update copyright.
3864
3865 * config/obj-coff.c (obj_pseudo_table): Rename to
3866 coff_pseudo_table.
3867 (coff_pop_insert): Use coff_pseudo_table.
3868 (coff_sec_sym_ok_for_reloc): Remove.
3869 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
3870 and comment all zero entries and remove #if 0 code.
3871 Update copyright.
3872
3873 * config/obj-coff.h (obj_pop_insert): Define.
3874 (coff_pseudo_table): Declare.
3875 Update copyright.
3876
3877 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
3878 s_get_size, s_set_size. Comment all zero entries.
3879 Update copyright.
3880
3881 * config/obj-elf.c (elf_s_get_other): New function.
3882 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
3883 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
3884 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
3885 comment.
3886 (obj_elf_parse_section_letters): Don't pass error strings to
3887 printf as format arg.
3888 Update copyright.
3889
3890 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
3891 OBJ_MAYBE_ECOFF.
3892 (elf_s_get_other): Declare.
3893 (S_GET_OTHER) Define as elf_s_get_other if not already
3894 defined.
3895 (S_SET_OTHER): Only define when not already defined.
3896 (elf_obj_read_begin_hook): Declare.
3897 (obj_read_begin_hook): Define.
3898 (elf_obj_symbol_new_hook): Declare.
3899 (obj_symbol_new_hook): Define.
3900 Update copyright.
3901
3902 * config/obj-multi.h: Add copyright header and protect against
3903 multiple inclusion. Add * to all function pointers.
3904 (OBJ_HEADER): If defined, include it rather than other defines
3905 in this file.
3906 (obj_frob_file_after_relocs): Test for NULL.
3907 (obj_symbol_new_hook): Here too.
3908 (obj_sec_sym_ok_for_reloc): And here.
3909 (S_GET_OTHER): Define.
3910 (S_GET_DESC): Define.
3911 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
3912 (OBJ_MAYBE_ELF): Update comment.
3913
3914 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
3915 OBJ_AOUT preprocessor conditional and handle emulation by
3916 testing OUTPUT_FLAVOR.
3917 (i386_displacement): Here too.
3918 (md_section_align): Similarly here.
3919 (i386_target_format): Conditionally compile when more than one
3920 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
3921 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
3922 (i386_displacement): Here too.
3923 Update copyright.
3924
3925 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
3926 Define TARGET_FORMAT for aout only when not multi.
3927 Update copyright.
3928
3929 * config/te-multi.h: Delete file as it's identical to te-generic.h
3930
add0c677
AM
39312000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3932
3933 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
3934 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
3935 LONG_MNEM_SUFFIX.
3936
3937 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
3938 DWORD_MNEM_SUFFIX.
3939 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
3940 comments.
3941
a19d8eb0
CP
39422000-01-13 Clinton Popetz <cpopetz@cygnus.com>
3943
66778679
RH
3944 * config/tc-mips.c (mips_do_align): New function.
3945 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 3946
550262c4
NC
39472000-01-10 Philip Blundell <philb@gnu.org>
3948
3949 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 3950 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
3951 line separator for Linux.
3952 * doc/as.texinfo (Comments): Mention the ARM.
3953
0decc840
NC
39542000-01-10 Philip Blundell <pb@futuretv.com>
3955
3956 * configure.in (arm*-*-conix*): New target.
3957 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
3958 armv*-*-linux-gnu.
3959 * configure: Regenerate.
3960
2e13b764
NC
39612000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
3962
3963 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
3964 (obj_elf_visibility): New function.
3e87a760 3965
2e13b764
NC
3966 * doc/as.texinfo (Visibility): New node: document visibility
3967 pseudo ops.
3968
3138f287
AM
39691999-12-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3970
3971 * config/tc-i386.c (MATCH): Relax JumpAbsolute check. Emit a
3972 warning for absolute jump/call without `*' in non-intel mode. No
3973 need to set i.types[0] JumpAbsolute in intel mode.
3974
df32bc61
NC
39751999-12-22 Philip Blundell <pb@futuretv.com>
3976
3977 * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
3978 hook function when changing sections.
3979 (arm_s_data): Likewise.
3980
b4d0b2b3
NC
39811999-12-14 Nick Clifton <nickc@cygnus.com>
3982
3983 * config/tc-arm.c (md_parse_option): Add support for -marm720
df32bc61 3984 command line switch.
b4d0b2b3 3985
85cb2cf9
JL
3986Tue Nov 30 22:59:00 1999 Jeffrey A Law (law@cygnus.com)
3987
3988 * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
3989 (r_registers, xr_registers): Define.
3990 (r_register_name, xr_register_name): New functions.
3991 (md_assemble): Handle new am33 operand types and instruction
3992 formats.
3993 (mn10300_insert_operand, check_operand): Likewise.
3994
a64bcdd8
NC
39951999-11-29 Nick Clifton <nickc@cygnus.com>
3996
3997 * config/tc-arm.c (thumb_mode): Turn into a tristate variable.
3998 (s_force_thumb): Set thumb_mode to 2.
3999 (md_assemble): Do not complain about thumb instructions on a
4000 non-thumb target if thumb_mode is set to 2.
4001
43b4c25e
MM
40021999-11-28 Michael Meissner <meissner@cygnus.com>
4003
4004 * config/tc-alpha.c (toplevel): Include struc-symbol.h.
4005 (alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases.
4006 (O_...): Add new machine dependent expressions if we are handling
4007 explicit relocations.
4008 (alpha_reloc_op): New static table holding the explicit relocation
4009 information.
4010 (alpha_literal_hash): New static to hold the hash table for
4011 explicit relocations.
4012 (alpha_macros): Add support for explicit relocations.
4013 (md_begin): If explicit relocations, initialize hash table.
4014 (md_assemble): Don't print a second error if tokenize_arguments
4015 already printed an error message.
4016 (md_apply_fix): Add support for explicit relocations.
4017 (alpha_force_relocation): Ditto.
4018 (alpha_fix_adjustable): Ditto.
4019 (alpha_adjust_symtab): New function to support explicit
4020 relocations.
4021 (alpha_adjust_symtab_relocs): Ditto.
4022 (debug_exp): Debug stub compiled if DEBUG_ALPHA is defined.
4023 (tokenize_arguments): Add debug code if DEBUG_ALPHA is defined.
4024 Add support for explicit relocations. Return -2 if an error
4025 message was already printed.
4026 (find_macro_match): Add support for explicit relocations. Comment
4027 each of the cases.
4028 (emit_insn): Add support for explicit relocations.
4029 (assemble_tokens): Ditto.
4030 (emit_ldgp): Ditto.
4031 (load_expression): Ditto.
4032 (emit_lda): Ditto.
4033 (emit_ldah): Ditto.
4034 (emit_ir_load): Ditto.
4035 (emit_loadstore): Ditto.
4036 (emit_ldXu): Ditto.
4037 (emit_ldil): Ditto.
4038 (emit_sextX): Ditto.
4039 (emit_division): Ditto.
4040 (emit_jsrjmp): Ditto.
4041 (emit_retjcr): Ditto.
4042
4043 * config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if
4044 ELF object format.
4045 (tc_adjust_symtab): If explicit relocations, call the function
4046 alpha_adjust_symtab.
4047 (TC_FIX_TYPE): Add fields to be able to move explicit lituse
4048 relocations next to the literal relocation they reference.
4049 (TC_INIT_FIX_DATA): Initialize the new fields.
4050 (TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined.
4051
afbf211f
JL
4052Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com)
4053
4054 * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
4055 'B' operand for PA2.0 bb instruction.
eaa15ab8 4056
f11900d0
NC
40571999-11-18 Nick Clifton <nickc@cygnus.com>
4058
4059 * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
4060 target.
3e87a760 4061
f11900d0
NC
4062 * config/tc-mcore.c (tc_gen_reloc): Support generation of RVA
4063 relocs.
4064 (mcore_force_relocation): Force relocations to be generated for
4065 RVA relocs.
4066
2daf4fd8
AM
40671999-11-16 Alan Modra <alan@spri.levels.unisa.edu.au>
4068
4069 * config/tc-i386.c (i386_immediate): Disallow O_big immediates.
4070 (i386_displacement): Disallow O_big displacements.
4071
eb726e5d
DL
4072Mon Nov 15 20:12:43 1999 Donald Lindsay <dlindsay@cygnus.com>
4073
3e87a760
AM
4074 * config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg):
4075 Small improvements in error checking.
eb726e5d
DL
4076 (md_assemble): Support for unconditional ARM instructions.
4077 (md_parse_option): Support for -m[arm]v5e flag.
4078
035349a4
NC
40791999-11-12 Nick Clifton <nickc@cygnus.com>
4080
4081 * macro.c (buffer_and_nest): Do not check beyond the end of the
3e87a760 4082 buffer.
035349a4 4083
c1eae114
NC
40841999-11-11 Nick Clifton <nickc@cygnus.com>
4085
4086 * macro.c (buffer_and_nest): Look for seperator after TO and
4087 FROM tokens.
4088
c5c834aa
AH
40891999-11-08 Andrew Haley <aph@cygnus.com>
4090
4091 * app.c (do_scrub_chars): When in State 10, treat backslash
4092 characters in the same way as as symbol characters.
4093
98007ce7
RH
40941999-11-07 Richard Henderson <rth@cygnus.com>
4095
4096 * config/tc-alpha.c (alpha_align): Check, don't assert, that
4097 the previous label was in the current section before playing
4098 with auto-alignment.
4099
d6c497c7
NC
41001999-11-06 Nick Clifton <nickc@cygnus.com>
4101
4102 * config/tc-v850.c (v850_force_relocation): Force relocation
66778679 4103 for weak symbols.
d6c497c7 4104 (v850_pcrel_from_selection): Do not compute a pcrel offset if
66778679 4105 the symbol is weak.
d6c497c7 4106
dd33dc0f
MM
41071999-11-05 Michael Meissner <meissner@cygnus.com>
4108
4109 * expr.h (operatorT): Increase machine dependent operators to 16.
4110 * expr.c (op_rank): Ditto.
4111
5f91fe03
ILT
41121999-11-03 Ian Lance Taylor <ian@zembu.com>
4113
53b0d397
ILT
4114 * read.c (pseudo_set): Reject attempts to set the value of a
4115 section symbol.
4116
5f91fe03
ILT
4117 * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
4118 if it is defined.
4119
4120 * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
4121
4122 * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
4123 to bfd_set_section_contents.
4124
829ce307
NC
41251999-11-03 Nick Clifton <nickc@cygnus.com>
4126
4127 * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
4128
2bd7f1f3
GRK
41291999-11-01 Gavin Romig-Koch <gavin@cygnus.com>
4130
4131 * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
4132 (mips_ip): Use OPCODE_IS_MEMBER.
4133
90ca882f
JL
4134Wed Oct 27 16:50:44 1999 Don Lindsay <dlindsay@cygnus.com>
4135
acb56623
JL
4136 * config/tc-arm.c (reg_required_here): Improve comments.
4137
66778679
RH
4138 * config/tc-arm.c (thumb_opcode): Add "variants" field.
4139 (tinsns): Initialize variants field.
b49cfa5d
JL
4140
4141 * config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and
4142 BAD_PC respectively.
90ca882f 4143
29c4c6b5
NC
41441999-10-27 Scott Bambrough <scottb@netwinder.org>
4145
4146 * config/tc-arm.c (reloc_map[]): Fix compiler warning.
4147 * config/tc-arm.h: Fix compile time warnings.
4148
d9fd9852
DN
4149Mon Oct 18 18:11:10 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
4150
4151 * tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
4152 form @abs16, @(abs16) and @(abs16 + imm).
4153
9ce8a5dd
GRK
41541999-10-21 Gavin Romig-Koch <gavin@cygnus.com>
4155
4156 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
4157 (ISA_HAS_64_BIT_REGS) New.
4158 (gpr_interlocks,md_begin,reg_needs_delay,append_insn,
4159 mips_emit_delays,macro_build,load_register,load_addresss,
4160 macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
4161 and/or use new ISA_xxx macros in expressions involving
4162 ISA, particularly mips_opts.isa.
4163
446a06c9
MM
41641999-10-18 Michael Meissner <meissner@cygnus.com>
4165
4166 * expr.h (operatorT): Add machine dependent operators md1..md8.
4167 (expressionS): Make X_op 8 bits instead of 7. Add a X_md field
4168 for the machine dependent operators to use.
4169
4170 * expr.c (op_rank): Add machine dependent operators.
4171
4172 * config/tc-alpha.c (O_pregister): Define as a machine dependent
4173 operator.
4174 (O_cpregister): Ditto.
4175 (md_begin): Change X_op test that field is wide enough to use
4176 O_max instead of O_alpha_max.
4177 (cpu_types): Fill in missing initializer.
4178 (alpha_num_macros): Make unsigned.
4179 (md_assemble): Make opnamelen be size_t.
4180 (md_apply_fix): Cast alpha_num_operands to int before testing.
4181 (alpha_force_relocation): Ditto.
4182 (alpha_fix_adjustable): Ditto.
4183 (alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED.
4184 (tc_gen_reloc): Ditto.
4185 (tc_get_register): Ditto.
4186 (emit_ldgp): Ditto.
4187 (emit_lda): Ditto.
4188 (emit_ldah): Ditto.
4189 (emit_ldil): Ditto.
4190 (s_alpha_ent): Ditto.
4191 (s_alpha_end): Ditto.
4192 (s_alpha_frame): Ditto.
4193 (s_alpha_prologue): Ditto.
4194 (s_alpha_file): Ditto.
4195 (s_alpha_gprel32): Ditto.
4196 (s_alpha_proc): Ditto.
4197 (s_alpha_set): Ditto.
4198 (s_alpha_base): Ditto.
4199 (s_alpha_align): Ditto.
4200 (s_alpha_arch): Ditto.
4201 (alpha_align): Ditto.
4202 (assemble_insn): Suppress unused variable warning.
4203 (emit_insn): Ditto.
4204 (assemble_insn): Don't assume X_op and X_unsigned are in a given
4205 order in the structure.
4206 (s_alpha_coff_wrapper): Avoid int/unsigned comparison.
4207
476cdcb8
JL
4208Sun Oct 17 17:15:58 1999 Jeffrey A Law (law@cygnus.com)
4209
4210 * config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
4211
c388dee8
AM
42121999-10-12 Alan Modra <alan@spri.levels.unisa.edu.au>
4213
4214 * config/tc-i386.c (i386_index_check): Correct #endif location.
4215
2bdd6cf5
GK
4216Mon Oct 11 14:02:40 1999 Geoffrey Keating <geoffk@cygnus.com>
4217
4218 * as.c (show_usage): Document new options.
4219 (parse_args): Add --no-warn, --warn, --fatal-warnings,
4220 which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
4221 (parse_args): Parse the new options.
4222 (main): If there were warnings, and --fatal-warnings
4223 was specified, print an error.
4224 * as.h: New variable, flag_fatal_warnings, for new option.
4225
d53d2751
JL
4226Sun Oct 10 01:47:23 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org>
4227
4228 * config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
4229 '@'. Change autoincrement completers to fall through to cache control
4230 completers.
4231
4232 * config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
eaa15ab8 4233 arg.
d53d2751
JL
4234 (pa_parse_addb_64_cmpltr): New function.
4235
4236 * config/tc-hppa.c (pa_ip): Change error message.
4237 (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
4238 '?Q' args to allow falling through.
4239
8fce3f5e 4240 * config/tc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
d53d2751
JL
4241 Remove unused conditional codes.
4242 (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
4243
ba09cd8d
DN
4244Thu Oct 7 00:23:53 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
4245
4246 * config/tc-d30v.c (CHAR_BIT): Define.
4247 (check_range): Fix bit operations to support integers bigger than
4248 32 bits.
4249
c43185de
DN
4250Thu Oct 7 00:11:50 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
4251
4252 * config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3
4253 operands.
4254
925c058e
DE
4255Mon Oct 4 17:24:23 1999 Nick Clifton <nickc@cygnus.com>
4256 Doug Evans <devans@cygnus.com>
4257
4258 Add support for m32rx.
4259 * config/tc-m32r.c (enable_m32rx): New static global.
4260 (enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
4261 (allow_m32rx): New function.
4262 (M32R_SHORTOPTS): Add `O'.
4263 (md_longopts): Add --m32rx plus several warning options.
4264 (md_parse_option): Handle new options.
4265 (md_show_usage): Print them.
4266 (md_begin): Enable m32rx.
4267 (OPERAND_IS_COND_BIT): New macro.
4268 (first_writes_to_seconds_operands): New function.
4269 (writes_to_pc,can_make_parallel,make_parallel): New functions.
4270 (target_make_parallel,assemble_two_insns): New functions.
4271 (md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
4272 If optimizing and m32rx, try to make consecutive insns parallel.
4273
fba2b7f9
GK
4274Tue Sep 28 14:06:44 1999 Geoffrey Keating <geoffk@cygnus.com>
4275
4276 * config/tc-mips.c (nopic_need_relax): Allow for the
4277 .sdata.foo sections generated by -fdata-sections,
4278 and for the .gnu.linkonce.s sections generated by C++.
4279
fd232ac8
JL
4280Thu Sep 23 07:13:45 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4281
ce674324
JL
4282 * config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
4283 with cleaner code using completer prefixes. Add 'Y'.
4284
fd232ac8
JL
4285 * config/tc-hppa.c (pa_ip): Add parens to silence compiler.
4286
b1039fc4
JL
4287Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com)
4288
66778679 4289 * config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
b1039fc4
JL
4290 (pa_ip, case 'm'): Failure to get a CBIT specifier just means the
4291 insn does not match and we should try the next insn in the table.
4292
913f265c
NC
42931999-09-22 Nick Clifton <nickc@cygnus.com>
4294
4295 * config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.
4296
54af6ff6
JL
4297Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com)
4298
4299 * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
4300 of PA2.0 support.
4301
4cc782b5
ILT
43021999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4303
4304 * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
4305 OBJ_ELF. If ELF, add "sq".
4306 (md_parse_option): If ELF, ignore -s and -q.
4307 (md_show_usage): Mention ELF options.
4308
6be78360
JL
4309Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
4310
eaa15ab8 4311 * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
65fab780
JL
4312 operands.
4313
71823da4
JL
4314 * config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
4315
61dd1d31
JL
4316 * config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
4317
1cf6ae67
JL
4318 * config/tc-hppa.c (struct pa_it): New field "trunc".
4319 (pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands.
4320 (pa_parse_ftest_gfx_completer): New function
4321 (pa_parse_fp_cnv_format): New function.
4322
77c02e18
JL
4323 * config/tc-hppa.c (pa_ip): Handle 'X' operand.
4324 (md_apply_fix): Handle 22bit pc-rel branches.
4325
629d9417
JL
4326 * config/tc-hppa.c (pa_ip): Handle 'B' operand.
4327
dbe2f9ee
JL
4328 * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
4329
3db6e6bd
JL
4330 * config/tc-hppa.c (pa_ip): Handle 'l' operand.
4331
6be78360
JL
4332 * config/tc-hppa.c (pa_ip): Handle 'g' operand.
4333
e061d86f
JL
4334Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
4335
66778679
RH
4336 * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
4337 (pa_ip): Handle 'fX'.
e061d86f 4338
7acbfc6b
JL
4339Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com)
4340
4341 * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
4342 unwinds unless the function is in the text space.
4343 (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
4344
2d93dcc4
JL
4345Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com)
4346
b52c78b8
JL
4347 * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
4348 (md_assemble): To here. Tweak address generation.
4349
2d93dcc4
JL
4350 * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
4351 debug_line.
4352 (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
4353 (md_assemble): Call dwarf2_where for OBJ_ELF.
4354 (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
4355 (pa_end_of_source): New function.
4356 * tc-hppa.h (md_end): Define for OBJ_ELF.
4357
6d83c84b
MM
43581999-09-14 Michael Meissner <meissner@cygnus.com>
4359
4360 * configure.in (Canonicalization of target names): Remove adding
4361 ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
4362 generates $ac_config_sub with a ${CONFIG_SHELL} already.
4363 * configure: Regenerate.
4364
41fd319a
ILT
43651999-09-14 Donn Terry <donn@interix.com>
4366
4367 * config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
4368
795a7704
AM
43691999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au>
4370
2f66722d
AM
4371 * config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a
4372 pc-relative jmp/call to an absolute symbol.
4373 (md_apply_fix3): When OBJ_ELF, don't add the values in twice for
4374 absolute section symbols.
4375
795a7704
AM
4376 * config/tc-i386.c (md_assemble): Correct frag_var size. Tidy
4377 jump handling code and comments.
4378
c0c949c7
ILT
43791999-09-12 Ian Lance Taylor <ian@zembu.com>
4380
4381 * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
4382 the value if TE_PE and a global defined symbol.
4383
e723ef7c
ILT
43841999-09-11 Ian Lance Taylor <ian@zembu.com>
4385
4386 * write.c (dump_section_relocs): Call print_symbol_value_1 to
4387 print the symbol, rather than printing it here.
4388
fa16d387
ILT
43891999-09-11 Donn Terry <donn@interix.com>
4390
d33e1d24
ILT
4391 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
4392 BFD_RELOC_RVA relocations.
4393
18dc2407
ILT
4394 * config/tc-i386.c (md_undefined_symbol): Compare the name against
4395 the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
4396 starts with "_G".
4397
945a1a6b
ILT
4398 * write.c (write_relocs): Call SET_SECTION_RELOCS if it is
4399 defined.
4400 * config/obj-coff.h (SET_SECTION_RELOCS): Define.
4401 * doc/internals.texi (Object format backend): Document
4402 SET_SECTION_RELOCS.
4403
79d292aa
ILT
4404 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
4405 relocations against global symbols if TE_PE.
4406
7a6284c4
ILT
4407 * config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
4408 (obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
4409
8828d862
ILT
4410 * config/obj-coff.c (coff_frob_symbol): Prohibit weak common
4411 symbols.
4412
9690c54d
ILT
4413 * config/obj-coff.c (obj_coff_endef): Don't merge labels, or
4414 symbols which do not have a constant value, or tags with
4415 non-tags. Remove the symbol from the list before adding it at the
4416 end.
4417
23dab925
ILT
4418 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
4419 C_FCN symbol differently if TE_PE.
4420 (obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
4421 appears in the pseudo-op, rather coff_line_base which is only set
4422 for a .bf symbol.
4423
28428223
ILT
4424 * config/obj-coff.c (obj_coff_loc): New static function.
4425 (obj_pseudo_table): Add "loc".
4426
e8a3ab75
ILT
4427 * config/obj-coff.c (add_lineno): Check that the line number is
4428 positive.
4429
2ab9b79e
ILT
4430 * config/atof-ieee.c (atof_ieee): Change what_kind to int.
4431 * config/atof-vax.c (flonum_gen2vax): Change format_letter to
4432 int.
4433 (md_atof): Return NULL rather than 0.
4434 * config/tc-i386.c (md_atof): Change type to int.
0561a208
ILT
4435 * expr.c (expr): Change first parameter to int.
4436 * config/obj-coff.c: Add declarations for static functions.
4437 (coff_frob_symbol): Use SYM_AUXENT.
4438 * config/tc-i386.h (flag_16bit_code): Don't declare.
2ab9b79e 4439
5881e4aa
ILT
4440 * config/obj-coff.c (obj_coff_section): Default to setting
4441 SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
4442
e723ef7c
ILT
4443 * write.c (adjust_reloc_syms): Print adjusted fixup.
4444
fa16d387
ILT
4445 * expr.c (integer_constant): Correct too_many_digits calculation
4446 in base 10 case.
4447
13a830b6
AS
44481999-09-09 Andreas Schwab <schwab@suse.de>
4449
4450 * doc/c-arm.texi: Fix arguments of @var to not contain
4451 punctuation.
4452
325188ec
NC
44531999-09-08 Philip Blundell <pb@nexus.co.uk>
4454
3e87a760 4455 * config/tc-arm.c (s_thumb_set): Only support interworking for ELF
325188ec
NC
4456 and COFF targets.
4457 (md_parse_option): Only support -k flag for ELF and COFF targets.
4458
e7c1f43c
JL
4459Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com)
4460
4461 * config/tc-hppa.c (pa_ip): Put strict register checks before
4462 call to pa_parse_number.
4463
4964086a
JL
4464 * config/tc-hppa.c (pa_ip): Support 'Z' argument.
4465
c4bf532f
ILT
44661999-09-06 Ian Lance Taylor <ian@zembu.com>
4467
4468 * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
4469 BFD_ASSEMBLER code.
4470
a33132fd
ILT
44711999-09-06 Donn Terry <donn@interix.com>
4472
4473 * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
4474
0f4f8b56
JL
4475Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com)
4476
4477 * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
4478 candidate instruction. Require registers for register arguments
4479 when in strict mode. Require assemble-time constants for
4480 constants when in strict mode.
4481 (pa_get_absolute_expression): Require a constant when in strict
4482 mode.
eaa15ab8 4483
d3388653
NC
44841999-09-06 Nick Clifton <nickc@cygnus.com>
4485
4486 * config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
4487
041dd5a9
ILT
44881999-09-04 Steve Chamberlain <sac@pobox.com>
4489
4490 * config/tc-pj.c: New file, supports picoJava in ELF.
4491 * config/tc-pj.h: Ditto.
4492 * configure.in (pjl*, pj*): New targets.
4493 * Makefile.am: Rebuild dependencies.
4494 (CPU_TYPES): Add pj.
4495 (TARGET_CPU_CFILES): Add config/tc-pj.c.
4496 (TARGET_CPU_HFILES): Add config/tc-pj.h.
4497 * doc/c-pj.texi: New file.
4498 * doc/as.texinfo: Add some PJ specifics.
4499 * doc/all.texi: Add PJ to the list of all architectures, sort them
4500 all alphabetically.
4501 * doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
4502 * configure, Makefile.in, doc/Makefile.in: Rebuild.
4503
4ca72d38
AM
45041999-09-02 Alan Modra <alan@spri.levels.unisa.edu.au>
4505
4506 * config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat.
4507 (obj_frob_file): Test for null pointer.
4508 (OBJ_COPY_SYMBOL_ATTRIBUTES): Here too.
4509 (OBJ_PROCESS_STAB): And here.
4510 (elf_obj_sy): Remove
4511
4512 * config/obj-elf.h: #ifndef everything defined in obj-multi.h,
4513 except OBJ_PROCESS_STAB, which we #undef for ecoff.
4514 (elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE.
4515
4516 * config/obj-coff.c (no_func): Remove.
4517 (coff_format_ops): Change occurrences of no_func to 0, as we test
4518 for 0 in obj-multi.h.
4519
4520 * configure.in: Enable bfd for i386-coff when primary target is
4521 bfd. Enable i386 elf,coff emulation support. Don't set
4522 USE_EMULATIONS=1 or te_file=multi unless there is more than one
4523 emulation to support.
4524 *configure: Regenerate.
4525
bcef92fa
NC
45261999-09-02 Nick Clifton <nickc@cygnus.com>
4527
4528 * config/tc-mcore.c (mcore_s_section): Do not dump literals if a
4529 .section .line directive is encountered.
4530
cdf82bcf
NC
45311999-09-01 Nick Clifton <nickc@cygnus.com>
4532
5856c19a 4533 * config/tc-arm.c (md_section_align): Do not align sections in ELF
3e87a760 4534 format.
5856c19a 4535
cdf82bcf
NC
4536 * as.c (show_usage): Add --gdwarf2 to list of options displayed.
4537 * as.texinfo: Document --gdwarf2 command line option.
4538 Add additional documentation of ARM command line switches.
4539
af6bdddf
AM
45401999-08-30 Alan Modra <alan@spri.levels.unisa.edu.au>
4541
4542 * config/tc-i386.c (i386_intel_memory_operand): Combine
4543 i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE
4544 and RESTORE_END_STRING around parse_register calls.
4545 (i386_operand): Here too.
4546 (i386_is_reg): Remove.
4547 (parse_register): Move as_bad calls from within this function to
4548 callers.
4549
5f47d35b
AM
45501999-08-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4551
4552 Based on a patch from H.J. Lu <hjl@gnu.org>
4553 * config/tc-i386.c (parse_register): Handle FP regs specially.
4554 (md_begin): Remove '(' and ')' from register_chars.
4555
1174497c
DE
45561999-08-29 Doug Evans <devans@casey.cygnus.com>
4557
4558 * config/tc-m32r.c (md_parse_option): Delete unrecognized option
4559 error message (done elsewhere).
4560
17d9105c
JL
4561Sat Aug 28 01:23:11 1999 Jeffrey A Law (law@cygnus.com)
4562
4563 * config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
4564
9ecc05f0
JL
4565Sat Aug 28 00:26:26 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4566
66778679 4567 * config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register
97e1581b
JL
4568 args by 'f'.
4569
9e4f2d3a
JL
4570 * config/tc-hppa.c (pa_ip): Add args q, %, and |.
4571
680ef6de
JL
4572 * config/tc-hppa.c (pa_ip): Absorb white space in instructions
4573 between args.
4574 Add new completers. Fix bug in 64 bit condition handling.
4575
413c94ba
JL
4576 * config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
4577 'cS', and 'c*'.
4578
28252e61
JL
4579 * config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
4580
a97685e9
JL
4581 * config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!'
4582
3e87a760 4583 * config/tc-hppa.c (pa_ip): Add case for 'I'.
9ecc05f0 4584
cb30237e
NC
45851999-08-27 Jim Wilson <wilson@cygnus.com>
4586
4587 * dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment.
4588 (struct ls): Add frag field. Initialize it to zero.
4589 (out_end_sequence): New local text_frag. Set it while in text section.
4590 Replace address check with frag check. Set ls.frag to text_frag if
4591 out_set_addr called.
4592 (dwarf2_gen_line_info): Add explanatory comment. New local saved_frag.
4593 Set it before switching sections. Replace address check with frag
4594 check. Set ls.frag to saved_frag if out_set_addr called.
4595
09a798ea
NC
45961999-08-26 David Mosberger <davidm@hpl.hp.com>
4597
66778679 4598 * dwarf2dbg.c (out_end_sequence): If address changed, directly
09a798ea
NC
4599 output "advance_pc" opcode instead of calling gen_addr_line().
4600 The latter has the undesired side-effect of creating a new row
3e87a760 4601 in the debug line info matrix.
09a798ea 4602
e1c05f12
NC
46031999-08-26 Jim Wilson <wilson@cygnus.com>
4604
4605 * dwarf2dbg.c (out_end_sequence): Correct comments. Set last to
4606 ls.last_filename if last is less than zero. Set ls.last_filename
4607 when allocating new entry.
4608 (dwarf2_gen_line_info): Save seg and subseg info before subseg_new
4609 call.
4610
b23bac36
AM
46111999-08-20 Alan Modra <alan@spri.levels.unisa.edu.au>
4612
4613 * config/tc-i386.c (i386_index_check): Fix the displacement size
4614 when INFER_ADDR_PREFIX.
4615
50f4163f
NC
46161999-08-18 Nick Clifton <nickc@cygnus.com>
4617
4618 * config/tc-arm.c (md_apply_fix3): If an offset is invalid,
4619 display its value.
4620
f589a541
ILT
46211999-08-17 Ian Lance Taylor <ian@zembu.com>
4622
4623 * config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
4624 handle 0xffffNNNN constants correctly.
4625
11450271
NC
46261999-08-16 Nick Clifton <nickc@cygnus.com>
4627
4628 * config/tc-arm.c (do_ldst): Look for register conflicts on stores
4629 as well as loads.
4630
276b1dc2
NC
46311999-08-13 Nick Clifton <nickc@cygnus.com>
4632
4633 * config/tc-arm.c (validate_offset_imm): Work on unsigned values.
4634 (md_apply_fix3): Always pass positive values to
4635 validate_offset_imm.
4636
ae5ad4ad
NC
46371999-08-12 Nick Clifton <nickc@cygnus.com>
4638
4639 * config/tc-arm.c (skip_whitespace): New macro.
4640 Formatting tidy ups.
3e87a760 4641
ae5ad4ad
NC
4642 (md_apply_fix3): Store relocation offset in addend for ELF based
4643 relocs.
4644 (arm_force_relocation): Always generate relocs for Thumb function
3e87a760
AM
4645 calls.
4646
bf6d3895
AM
46471999-08-11 Alan Modra <alan@spri.levels.unisa.edu.au>
4648
4649 * config/tc-i386.c (md_assemble): Remove dead code. intel_syntax
4650 LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h
4651
46031ca9
JL
4652Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com)
4653
b100be66
JL
4654 * config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
4655 flags for the unwind subspace.
4656
46031ca9
JL
4657 * config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
4658 (pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
4659 suitable relocation based on the size of the target's pointer.
4660 Always Use subsegment zero for the unwinders.
4661 (pa_level): Handle "2.0w".
4662
65172ab8 4663Mon Aug 9 20:02:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
0825afba
JR
4664
4665 * config/tc-d30v.c (write_2_short): Don't group repeat instructions
4666 with the following instruction unless this was specified.
4667
1a1ae23e
ILT
46681999-08-09 Ian Lance Taylor <ian@zembu.com>
4669
4670 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
4671 certain sections, to match BFD changes.
4672
81afc846
ILT
46731999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
4674
4675 * Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
4676 (EXTRA_SCRIPTS): Define to keep automake happy.
1a1ae23e 4677 * Makefile.in: Rebuild.
81afc846 4678
04ad1543
ILT
46791999-08-08 Ian Lance Taylor <ian@zembu.com>
4680
4681 * Makefile.am: Rename .dep* files to DEP*.
4682 (MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather
4683 than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP
4684 targets to DEPOBJ.
4685 * Makefile.in: Rebuild.
4686
1eb7027c
RH
46871999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
4688
4689 * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
4690
2dcc60be
ILT
46911999-08-08 Ian Lance Taylor <ian@zembu.com>
4692
46eec08e
ILT
4693 * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
4694 avoid problems on DOS filesystems.
4695 * Makefile.in: Rebuild.
4696
2dcc60be
ILT
4697 * doc/as.texinfo (Section): Document 's' flag for COFF version.
4698
46991999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
4700
4701 * config/obj-coff.c (obj_coff_section): Handle 's' (shared)
4702 section flag.
4703
76a27922
ILT
47041999-08-08 Ian Lance Taylor <ian@zembu.com>
4705
4706 * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
81afc846 4707 line to create ${GDBINIT} rather than .gdbinit.
76a27922
ILT
4708 * configure, Makefile.in, doc/Makefile.in: Rebuild.
4709
0741736b
JL
4710Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com)
4711
4712 * config/tc-hppa.c (pa_ip, case '?'): Add missing break.
4713
9a913dfb
JL
4714Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4715
4716 * config/tc-hppa.c (pa_ip): Add 64 bit condition completers.
4717
a1f2d742
ILT
47181999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
4719
4720 * config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
4721 non-adjustable symbols.
4722
55a914bc
JL
4723Thu Aug 5 16:52:51 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4724
4725 * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix.
4726
336f7c70 4727Thu Aug 5 23:05:56 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5fc44b2d
JR
4728
4729 * config/tc-sh.c (md_assemble): Call as_bad when there are excess
4730 operands.
4731
9750fcc5
ILT
47321999-08-05 Donn Terry <donn@interix.com>
4733
4734 * config/te-interix.h: New file.
4735 * configure.in (i386-*-interix*): New target.
4736 * configure: Rebuild.
4737
39ba5561
JL
4738Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
4739
4740 * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
4741 selectors for ELF too.
4742 (selector_table): Add "ltp" and "rtp" selectors.
4743
eecb386c
AM
47441999-08-04 Alan Modra <alan@spri.levels.unisa.edu.au>
4745
4746 * config/tc-i386.c (i386_operand): No need to change
4747 operand_string pointer in segment reg case before goto
4748 do_memory_reference. Initialise displacement_string_start and
4749 displacement_string_end after do_memory_reference label.
4750 (i386_index_check): Add operand_string param, and print error
4751 message on failure here.
4752 (i386_intel_memory_operand): Instead of here.
4753 (i386_operand): And here.
4754 (INFER_ADDR_PREFIX): Enable.
4755
4756 * doc/c-i386.texi (i386-16bit): Document .code16gcc.
4757
4758 * config/tc-i386.h (DefaultSize): Define. Renumber following
4759 opcode_modifier defines.
4760
4761 From Etienne Lorrain <etienne.lorrain@ibm.net>
4762 * config/tc-i386.c (stackop_size): New variable.
4763 (set_16bit_code_flag): Clear it here.
4764 (set_16bit_gcc_code_flag): New function.
4765 (md_pseudo_table): Add "code16gcc" entry.
4766 (md_assemble): Set i.suffix for insns with DefaultSize modifier.
4767
f173e82e
ILT
47681999-08-03 Ian Lance Taylor <ian@zembu.com>
4769
a04b544b
ILT
4770 * config/obj-coff.c (coff_frob_symbol): Always update set_end with
4771 next_set_end even if the end symbol is being discarded.
4772
4773 * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER.
4774 * output-file.c, symbols.c, config/tc-i386.c: Likewise.
4775 * config/obj-coff.c: Likewise.
4776 (seg_info_type): Remove.
4777 (seg_info_off_by_4): Change to array of segT.
4778 (s_get_segment): Adjust accordingly.
4779 (obj_pseudo_table): Fully initialize sentinel entry.
4780
f173e82e
ILT
4781 * config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
4782 Ralf Baechle <ralf@uni-koblenz.de>.
4783
c3332e24
AM
47841999-08-03 Etienne Lorrain <etienne.lorrain@ibm.net>
4785
4786 * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
4787
47881999-08-03 Alan Modra <alan@spri.levels.unisa.edu.au>
4789
24eab124
AM
4790 * config/tc-i386.c: Indentation and white space changes.
4791 (i386_index_check): New function. Add INFER_ADDR_PREFIX code, but
4792 don't enable it by default.
4793 (i386_intel_operand): Remove redundant prototype.
4794 Move check on number of memory operands, and i.mem_operands++
4795 (i386_intel_memory_operand): To here.
4796 Remove i386_immediate code from here. Remove special case code
4797 for input and output using (%dx). Remove base/index checks and
4798 call i386_index_check instead. Save initial operand_string
4799 argument for error message.
4800 (i386_operand): Remove redundant prototype. Move base/index
4801 checks to i386_index_check.
4802 (i386_displacement): Move intel mode check for non-zero
4803 i.disp_operand
4804 (i386_intel_memory_operand): To here.
c3332e24 4805
6d8809aa
RH
48061999-07-30 Jakub Jelinek <jj@ultra.linux.cz>
4807
4808 * config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
4809 (sparc_ip): Warn if %g2 or %g3 register is used and not covered
4810 by .register pseudo-op if -64 and --no-undeclared-regs.
4811 (s_register, sparc_adjust_symtab): New functions.
4812 * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
4813 Declare sparc_adjust_symtab as tc_adjust_symtab.
4814 * doc/c-sparc.texi: Add description of #ignore special literal
4815 for .register pseudo-op.
4816
c8d259f7
CM
48171999-07-30 Catherine Moore <clm@cygnus.com>
4818
eaa15ab8 4819 * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
c8d259f7
CM
4820 the relocation's section offset.
4821
b77ad1d4
AM
48221999-07-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4823
4824 * write.c (fixup_segment): Fix generic error check overflow test.
4825
4826 * config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast
4827 X_add_number to long.
4828
b53fcc20
JL
4829Wed Jul 28 02:04:24 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
4830
4831 * config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
3e87a760 4832 processing.
b53fcc20 4833
d2e71411
ILT
48341999-07-27 Ian Lance Taylor <ian@zembu.com>
4835
4836 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
4837 VTABLE relocations.
4838
e9f56b1d
ILT
48391999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
4840
4841 * config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
1a39f480 4842
1a39f480
ILT
4843 * configure.bat: Remove; obsolete.
4844 * config/go32.cfg: Likewise.
4845
29fe79d3
ILT
48461999-07-21 Brad M. Garcia <bgarcia@fore.com>
4847
4848 * configure.in (i386-*-vxworks*): New target.
4849 * configure: Rebuild.
4850
e06510e6
RH
48511999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
4852
4853 * doc/c-sparc.texi: Document .register and .nword pseudo-ops.
4854
dabe3bbc
RH
48551999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
4856
4857 * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
4858 on -64 and not pic.
4859 (output_insn): Put OLO10's secondary addend into tc_fix_data.
4860 (md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10.
4861 (tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13.
4862 * config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE,
4863 MAX_RELOC_EXPANSION): Define.
4864 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
4865
b4cac588
AM
48661999-07-16 Alan Modra <alan@spri.levels.unisa.edu.au>
4867
4868 * config/tc-i386.c (intel_float_operand): Add prototype, make static.
4869 (md_assemble): Localize *exp variable to if (fake_zero_displacement)
4870 block. Print a warning if an 8-bit or 16-bit constant
4871 displacement or immediate is truncated on output.
4872 (i386_immediate): Ensure Imm16 is always legal for a 16-bit mode
4873 immediate.
4874 (i386_operand): Disallow immediate jump absolute operand.
4875
966ed0b4
ILT
48761999-07-15 Ian Lance Taylor <ian@zembu.com>
4877
0ed15843
ILT
4878 * configure.in: Bump version number to 2.9.5.
4879 * configure: Rebuild.
4880
966ed0b4
ILT
4881 * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
4882 or %llx work.
4883
67f1cff0
JL
4884Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com)
4885
4886 * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
4887 (cons_fix_new_hppa): Derive size of fixup from size of the object.
4888
2f992c04
NC
48891999-07-14 Philip Blundell <pb@nexus.co.uk>
4890
4891 * symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it
4892 is defined.
4893 * config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF.
4894
4895 * config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file
4896 if -mno-fpu was given.
4897 (tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC
4898 relocs.
4899 (cons_fix_new_arm): Remove misleading comments.
4900
14ad458a
ILT
49011999-07-14 Ian Lance Taylor <ian@zembu.com>
4902
4903 * write.c (cvt_frag_to_fill): Use frag file and line in rs_org
4904 error message.
4905 (relax_segment): Likewise. After giving a rs_org error, convert
4906 the frag to rs_align to avoid cascading errors.
4907
36823076
AS
49081999-07-12 Andreas Schwab <schwab@suse.de>
4909
4910 * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED.
4911
ab9da554
ILT
49121999-07-11 Ian Lance Taylor <ian@zembu.com>
4913
4914 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
4915 as appropriate. Fill in structure initializations. Add variable
4916 initializations. Add casts.
4917 * dwarf2dbg.c (print_stats): Change i to size_t.
4918 * listing.c (listing_listing): Change list_line to unsigned int.
4919
e0accf0c
ILT
49201999-07-10 Ian Lance Taylor <ian@zembu.com>
4921
4922 * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
4923 rather than checking for \001 and \002 in symbol name.
4924 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
4925
7d4ce8a9
JL
4926Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
4927
4928 * configure.in (hppa*-linux-gnu*): New target.
4929 * configure: Rebuilt.
4930
5395a469
NC
49311999-07-08 Nick Clifton <nickc@cygnus.com>
4932
3e87a760 4933 * doc/c-arm.texi (ARM Directives): Document .thumb_set directive.
5395a469 4934
cac58fa6
NC
49351999-07-07 Nick Clifton <nickc@cygnus.com>
4936
5395a469 4937 * config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than
cac58fa6
NC
4938 accessing symbolP directly.
4939
03b36ee1
JL
4940Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com)
4941
4942 * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
4943 for ELF.
4944
49a5575c
NC
49451999-07-05 Nick Clifton <nickc@cygnus.com>
4946
4947 * config/tc-arm.c (ARM_EXT_V5): Define.
4948 (ARM_ARCH_V5, ARM_ARCH_V5T): Define.
4949 (md_begin): Detect ARM v5 architectures.
4950 (md_parse_option): Accept arm v5 specification.
4951 (md_show_usage): Documment -marmv5 switch.
4952
4953 * doc/c-arm.texi: Document -marmv5 command line option.
3e87a760 4954
49a5575c
NC
4955 * config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo
4956 op.
4957 (validate_immediate_twopart): New function. Determine if a
4958 constant can be computed by two ADD instructions.
4959 (output_inst): Remove its command line parameter - it was never
4960 used.
4961 (md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to
4962 implememt the ADRL pseudo op.
4963 (tc_gen_reloc): Generate a suitable error message if an ADRL
4964 instruction tries to generate a real reloc.
4965
4966 * doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops.
4967
09ecf0ba
JL
4968Thu Jul 1 15:33:10 1999 Jeffrey A Law (law@cygnus.com)
4969
4970 * config/tc-hppa.c (pa_ip): Convert the opcode and all completers
4971 into lower case.
4972
264d6861
ILT
49731999-06-27 H.J. Lu <hjl@gnu.org>
4974
4975 * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
4976 non BFD_ASSEMBLER case.
4977
827c0149
ILT
49781999-06-26 Mumit Khan <khan@xraylith.wisc.edu>
4979
4980 * config/obj-coff.c (obj_coff_section): Mark writable sections as
4981 data.
4982
a340d270
RH
49831999-06-26 David Mosberger <davidm@hpl.hp.com>
4984
4985 * dwarf2dbg.c (dwarf2_gen_line_info): Don't call
4986 out_end_sequence() when the address decreases due to a new frag.
4987 (gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file
4988 numbering starts with 1.
4989
16b93d88
NC
49901999-06-23 Nick Clifton <nickc@cygnus.com>
4991
4992 * config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow
4993 .section for COFF.
4994 (mcore_s_text): Call obj_elf_text for ELF target.
4995 (mcore_s_data): Call obj_elf_data for ELF target.
4996 (mcore_s_section): No longer ELF specific. Call obj_coff_section
4997 for COFF target.
4998 (mcore_s_bss): New function: Dump literal table before changing
4999 sections.
5000 (mcore_s_comm): New function: Dump literal table before changing
5001 sections.
3e87a760 5002
16b93d88
NC
5003 * config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text):
5004 No longer static functions.
5005 * config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text):
5006 Provide prototypes for these functions.
5007
fed9b18a
ILT
50081999-06-22 Ian Lance Taylor <ian@zembu.com>
5009
be2acf27
ILT
5010 * subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use
5011 a list of names, to try obj_segment_name, and to try abbreviated
5012 names when using COFF without long section names.
5013
7dcc9865
ILT
5014 * config/tc-alpha.c: More use of symbol accessor functions.
5015 * config/tc-arc.c: Likewise.
5016 * config/tc-d30v.c: Likewise.
5017 * config/tc-fr30.c: Likewise.
5018 * config/tc-i860.c: Likewise.
5019 * config/tc-m88k.c: Likewise.
5020 * config/tc-mcore.c: Likewise.
5021 * config/tc-ns32k.c: Likewise.
5022 * config/tc-sparc.c: Likewise.
5023 * config/tc-v850.c: Likewise.
5024
a77f5182
ILT
5025 * config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
5026 sy_value with appropriate accessor functions.
5027 * config/tc-arm.c (md_apply_fix3): Likewise.
5028 * config/tc-d10v.c (AT_WORD_P): Likewise.
5029 * config/tc-v850.c (reg_name_search): Likewise.
5030
fed9b18a
ILT
5031 * config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
5032 use symbol_get_bfdsym instead.
5033 * config/tc-ppc.c (md_assemble): Likewise.
5034 * config/tc-v850.c (v850_comm): Likewise.
5035
310b5aa2
ILT
50361999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
5037
5038 * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
5039 the symbol, rather than accessing the bsym member.
5040 * config/tc-d10v.c (tc_gen_reloc): Likewise.
5041 * config/tc-d30v.c (tc_gen_reloc): Likewise.
5042 * config/tc-mcore.c (tc_gen_reloc): Likewise.
5043 * config/tc-mn10200.c (tc_gen_reloc): Likewise.
5044 * config/tc-mn10300.c (tc_gen_reloc): Likewise.
5045 * config/tc-ns32k.c (tc_gen_reloc): Likewise.
5046 * config/tc-tic30.c (tc_gen_reloc): Likewise.
5047 * config/tc-v850.c (tc_gen_reloc): Likewise.
5048
9cb8e75e
JL
5049Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com)
5050
5051 * tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
5052 (hppa_gen_reloc_type): Conditionalize on BFD64.
5053 (tc_gen_reloc): Re-enable ELF relocations.
5054 * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
5055
3d103319
ILT
50561999-06-21 Ian Lance Taylor <ian@zembu.com>
5057
5058 * config/tc-arm.c (ldst_extend): Add parentheses to avoid
5059 warning.
5060 (do_ldst): Move assignment out of if condition.
5061 (md_apply_fix3): Add casts to avoid printf format warnings. Add
5062 parentheses to avoid warning.
5063
776b24b4
NC
50641999-06-21 Nick Clifton <nickc@cygnus.com>
5065
155f0fe7
NC
5066 * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
5067 macro to get at the BFD symbol associated with a GAS symbol.
776b24b4 5068
809ffe0d
ILT
50691999-06-19 Ian Lance Taylor <ian@zembu.com>
5070
5071 * config/tc-ppc.c: Update for symbol handling changes.
5072 * config/obj-coff.c: Likewise.
5073
49863f82
JL
5074Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com)
5075
5076 * tc-hppa.c: General cleanups of ELF support. No more spaces
5077 and subspaces for ELF.
5078 (GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
5079 (GDB_STRINGS_SUBSPACE_NAME): Likewise.
5080 (GDB_SYMBOLS_SUBSPACE_NAME): Likewise
5081 (UNWIND_SECTION_NAME): Likewise.
5082 (space/subspace related structures): Conditionalize definitions
5083 on OBJ_SOM.
5084 (space/subspace directives and support routines): Conditionalize
5085 definitions and references/uses on OBJ_SOM.
5086 (label_symbol_struct): For ELF, track the symbol's segment. For
5087 SOM track its space.
5088 (pa_define_label, pa_undefine_label, pa_get_label): Corresponding
5089 changes.
5090 (USE_ALIASES): Kill for both SOM & ELF.
5091 (pa_def_subspaces, pa_def_spaces): Corresponding changes.
5092 (pa_space, pa_subspace): Corresponding changes.
5093 (pa_spaces_begin): Corresponding chagnes.
5094 (md_begin): Do not muck around with space/subspace stuff for
5095 OBJ_ELF.
5096 (md_apply_fix): Temporarily disable argument relocation stuff
5097 for OBJ_ELF.
5098 (tc_gen_reloc): Temporarily disable relocation generation for
5099 OBJ_ELF
5100 (pa_build_unwind_subspace): Similarly.
5101
fed881b1
NC
51021999-06-16 Nick Clifton <nickc@cygnus.com>
5103
5104 * config/tc-arm.c (thumb_set): New pseudo op.
5105 (text, data, section): Override these pseudo ops with ARM
5106 specific versions.
5107 (s_thumb_set): New function: Perform the same as a .set pseudo
5108 op, but also mark the alias'ed symbol as being a Thumb
5109 function.
5110 (arm_s_text): New function: Perform the same as the .text
5111 pseudo op, but dump the literal pool before changing
3e87a760 5112 sections.
fed881b1
NC
5113 (arm_s_data): New function: Perform the same as the .data
5114 pseudo op, but dump the literal pool before changing
3e87a760 5115 sections.
fed881b1 5116 (arm_s_section): New function: Perform the same as the
3e87a760
AM
5117 .section pseudo op, but dump the literal pool before changing
5118 sections.
fed881b1
NC
5119 (arm_cleanup): Do not reset the current section before dumping
5120 the literal pool.
5121
0f94f4c8
NC
51221999-06-17 Nick Clifton <nickc@cygnus.com>
5123
2f3519a2
NC
5124 * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
5125 OPTION_NO_WARN_UNMATCHED entries.
5126 (md_parse_option): Generate a warning message if an unrecognised
5127 option is encountered.
5128
0f94f4c8
NC
5129 * config/tc-d10v.c (do_not_ignore_hash): New variable.
5130 (get_operands): When parsing an expression after an '@' symbol
5131 has been detected, do not ignore '#' symbols.
5132 (md_operand): Only ignore '#' symbols if do_not_ignore_hash is
3e87a760 5133 false.
0f94f4c8 5134
e4a86f6f
ILT
51351999-06-13 Ian Lance Taylor <ian@zembu.com>
5136
5137 From K. Richard Pixley <rich@noir.com>:
5138 * configure.in (ppc-*-vxworks*): New target.
5139 * configure: Rebuild.
5140
a8aed0fb
UD
51411999-06-12 Philip Blundell <philb@gnu.org>
5142
5143 * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
5144
7565ed77
ILT
51451999-06-13 Ian Lance Taylor <ian@zembu.com>
5146
5147 * write.c (adjust_reloc_syms): Rather than never reducing reloc
5148 which refer to symbols in linkonce sections, permit reducing the
5149 relocs if the symbol is local.
5150
b9e57a38
ILT
51511999-06-12 Ian Lance Taylor <ian@zembu.com>
5152
5153 * subsegs.c (subseg_text_p): New function.
5154 * as.h (subseg_text_p): Declare.
5155 * read.c (do_align): Use subseg_text_p to set the default fill.
5156 * write.c (subsegs_finish): Likewise.
5157 * config/obj-coff.c (write_object_file): Likewise.
5158 * config/tc-i386.h (md_maybe_text): Don't define.
5159 (md_do_align): Use subseg_text_p to set the default fill.
5160 * config/tc-m32r.c (m32r_do_align): Likewise.
5161 * config/tc-sh.c (sh_do_align): Likewise.
5162 * config/tc-sparc.h (md_do_align): Likewise.
5163
008960a5
ILT
51641999-06-12 David O'Brien <obrien@freebsd.org>
5165
5166 * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
5167 * configure: Rebuild.
5168
a1605869
ILT
51691999-06-12 Ian Lance Taylor <ian@zembu.com>
5170
d9ac5a3b
ILT
5171 * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
5172 * Makefile.am: Rebuild dependencies.
5173 * Makefile.in: Rebuild.
5174
a1605869
ILT
5175 * config/tc-i386.c (i386_immediate): Remove unused label
5176 seg_unimplemented.
5177
5178 * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
5179 * symbols.c: Likewise.
5180 * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
5181 sy_next field when taking address, rather than symbol_next.
5182
5183 * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
5184 offsetT.
5185 (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the
5186 value from the output file architecture.
5187 (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
5188 * dwarf2dbg.h: Change bfd_vma to addressT.
5189
a7cd1c22
ILT
51901999-06-11 Ian Lance Taylor <ian@zembu.com>
5191
5192 * dwarf2dbg.h: Use PARAMS in function declarations.
5193
76171f81
ILT
51941999-06-11 Martin Dorey <mdorey@madge.com>
5195
5196 * write.c (fixup_segment): Don't add symbol value for i960 ELF.
5197 * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
5198 OBJ_ELF.
5199 (md_apply_fix): Simplify BFD_ASSEMBLER handling.
5200
9b4d630b
ILT
52011999-06-11 Ian Lance Taylor <ian@zembu.com>
5202
5865bb77
ILT
5203 * config/tc-i386.c (md_apply_fix3): Add default case to switch.
5204
9e7c96d9
ILT
5205 * config/tc-sparc.c (md_pseudo_table): Remove pushsection and
5206 popsection.
5207
1b50c718
ILT
5208 * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
5209
1bf67e0d
ILT
5210 * read.c (read_a_source_file): Only declare inescape if
5211 QUOTES_IN_INSN.
5212
5213 * itbl-ops.c (itbl_disassemble): Change sprintf format strings to
5214 match parameters.
5215 (find_entry_byval): Add parens to avoid warning.
5216
5217 * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
5218
9b4d630b
ILT
5219 * symbols.c (resolve_symbol_value): Don't permit subtraction of
5220 undefined symbols.
5221
a22b281c
RH
52221999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
5223
66778679 5224 * config/tc-sparc.c (sparc_ip): Don't use side-effect expression
a22b281c
RH
5225 with isoctal.
5226
5227 * config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
5228 synthetize_setx): New functions.
5229 (md_assemble): Broken the special cases into the above
5230 functions. Make compiler happy if sizeof(bfd_vma)==4.
5231 Fix sethi generated from set/setuw. If instructions have a relloc,
5232 always clear the fields to be relocated in the opcode.
5233 (sparc_ip): Remove special_case global variable.
5234
7f2f689c
ILT
52351999-06-10 Ian Lance Taylor <ian@zembu.com>
5236
d7ba4a77
ILT
5237 Based on patches from John W. Woznack <jwoznack@concentric.net>:
5238 * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return
5239 indication of success rather than a value.
5240 (itbl_get_val): Likewise.
5241 (itbl_get_field): Use strcspn. Change delimiters to include
5242 parens.
5243 * itbl-ops.h (itbl_get_reg_val): Update declaration.
5244 (itbl_get_val): Likewise.
5245 * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
5246
7f2f689c
ILT
5247 * symbols.c (copy_symbol_attributes): Convert local symbols to
5248 regular symbols.
5249
c1d3c45e
NC
52501999-06-10 Nick Clifton <nickc@cygnus.com>
5251
5252 * config/tc-arm.c (md_parse_option): Add support for ARM920 and
3e87a760 5253 ARM920t.
c1d3c45e 5254
63fab58c
RH
52551999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
5256
5257 * config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
5258 Optimize set if sizeof(bfd_vma) == 64.
5259 (sparc_ip): Fix sethi - without %hi() it should generate
eb858bb4 5260 R_SPARC_22 reloc, not R_SPARC_HI22.
63fab58c
RH
5261 (tc_gen_reloc): Handle BFD_RELOC_SPARC22.
5262
cf9a1301
RH
52631999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
5264
5265 * config/tc-sparc.c (md_begin): Handle native wordsize aliases.
5266 (s_ncons): New function.
5267 (native_op_table): New table.
5268 (sparc_ip): Be more strict on %hi() etc.; prepare assembler for
5269 R_SPARC_OLO10 handling.
5270
bf29b231
RH
5271Mon Jun 7 10:22:16 1999 Richard Henderson <rth@cygnus.com>
5272
5273 * expr.h (struct expressionS): Revert last change; widen X_op.
5274 * config/tc-alpha.c (md_begin): Check the field is wide enough.
5275
9be1cda6
AS
5276Mon Jun 7 11:25:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5277
a4835b42
AS
5278 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
5279 (TARGET_CPU_HFILES): Add config/tc-fr30.h.
5280 (TARG_ENV_HFILES): Add config/te-epoc-pe.h.
5281 * Makefile.in: Regenerated.
5282
9be1cda6
AS
5283 * config/obj-elf.c (obj_elf_common): In MRI mode if called as
5284 `common' pass on to s_mri_common.
3e87a760 5285 (elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
9be1cda6 5286
62335629
RH
52871999-06-06 Richard Henderson <rth@cygnus.com>
5288
5289 * config/obj-elf.c (obj_elf_section): Don't free the return
5290 value of demand_copy_C_string.
5291
9de8d8f1
RH
52921999-06-05 Richard Henderson <rth@cygnus.com>
5293
5294 * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
5295 creation logic from obj_elf_create_section.
5296
5297 * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
5298 (section_stack): New.
5299 (special_sections): Make const.
5300 (obj_elf_section): Gut and rewrite parsing.
5301 (obj_elf_change_section): New function broken out of obj_elf_section.
5302 (obj_elf_parse_section_letters): Likewise.
5303 (obj_elf_section_word): Likewise.
5304 (obj_elf_section_type): Likewise.
5305 (obj_elf_previous): Treat as a toggle.
5306 (obj_elf_popsection): New.
5307 * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
5308 (ppc_section_type): Likewise.
5309 * config/tc-ppc.h: Likewise.
5310
5311 * expr.h (struct expressionS): Don't make X_op a bitfield.
5312 * config/tc-alpha.c: Update for symbol handling changes.
5313 (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
5314 (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
5315
58b5739a
RH
53161999-06-05 Richard Henderson <rth@cygnus.com>
5317
5318 * dwarf2dbg.c (*): Convert to K&R + prototypes.
5319 (dwarf2_gen_line_info): Kill unused variables.
5320 (dwarf2_finish): Likewise.
5321 (dwarf2_where): Likewise.
5322 (dwarf2_directive_file): If we've only got a string,
5323 hand off to s_app_file.
5324 * ecoff.c: Move the include of ecoff.h.
5325 * symbols.h (S_IS_FUNCTION): Prototype.
5326
5327 * read.c (LEX_HASH): Supply a default.
5328 (lex_type): Use it.
5329 (s_globl): Update `c' after skipping whitespace.
5330 * read.h (LEX_END_NAME, is_name_ender): New.
5331 * expr.c (get_symbol_end): Respect it.
5332
398e8c25
ILT
53331999-06-04 Mark Klein <mklein@dis.com>
5334
993142d5
ILT
5335 * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
5336 to real if OBJ_SOM
5337 (tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
5338
398e8c25
ILT
5339 * config/tc-hppa.c: Update for symbol handling changes.
5340
b4013713
ILT
53411999-06-03 Ian Lance Taylor <ian@zembu.com>
5342
080e41e6
ILT
5343 * cgen.c: Update for symbol handling changes.
5344 * config/tc-m32r.c: Likewise.
f412ead8 5345
a0f75b47
ILT
5346 * config/tc-hppa.h: Update for symbol handling changes.
5347 * config/tc-hppa.c: Likewise.
5348
174419c1
ILT
5349 * config/tc-arm.h: Update for symbol handling changes.
5350 * config/tc-arm.c: Likewise.
5351 (symbol_make_empty): Remove. Just use symbol_create.
5352
5353 * symbols.c (symbol_set_tc): Correct name.
5354
6104f0a0
ILT
5355 * Makefile.am: Rebuild dependencies.
5356 ($(OBJS)): Don't depend upon struc-symbol.h.
5357 (.dep1, .tcdep, .objdep): Create itbl-parse.h.
5358 * dep-in.sed: Don't remove struc-symbol.h.
5359 * Makefile.in: Rebuild.
5360
b4013713
ILT
5361 * doc/internals.texi (Symbols): Describe changes in symbol
5362 handling.
5363
6576f0b5
RH
53641999-06-03 Richard Henderson <rth@cygnus.com>
5365
5366 * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
5367 instead of doing the work by hand.
5368
fac0d250
RH
53691999-06-03 David Mosberger <davidm@hpl.hp.com>
5370
5371 * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
5372 state of line state-machine.
5373 (struct ls): Collect DWARF2 line state-machine state in new member
5374 SM. Add member EMPTY_SEQUENCE to keep track if a code sequence
5375 resulted in any DWARF2 directives.
5376 (reset_state_machine): New function.
5377 (out_end_sequence): Ditto.
5378 (dwarf2_gen_line_info): When switching sections or switching to a
5379 lower text address, call out_end_sequence() first to terminate the
5380 previous code sequence as code sequences MUST have monotonically
5381 increasing addresses.
5382 (dwarf2_finish): Call out_end_sequence() instead of open coding it.
5383
53841999-06-03 David Mosberger <davidm@hpl.hp.com>
5385
5386 * as.c (parse_args): Add option -gdwarf2 to allow requesting
5387 DWARF2 debug info (line information only, at this point).
5388 * as.h: Update comment about supported debug formats.
5389 * dwarf2dbg.c, dwarf2dbg.h: New files.
5390 * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
5391
5392 * expr.c (operand): Don't use [ for parens if we want an index op.
5393 (op_encoding): Switch [ into O_index, if desired.
5394 (op_rank): Renumber with O_index on bottom.
5395 (expr): If O_index, match closing bracket.
5396 * expr.h (O_index): New.
5397
5398 * read.c (read_a_source_file): Conditionally allow matched "
5399 in lines passed to md_assemble.
5400
5401 * config/obj-elf.c (elf_pseudo_table): Add `common'.
5402
49309057
ILT
54031999-06-03 Ian Lance Taylor <ian@zembu.com>
5404
5405 Add support for storing local symbols in a small structure to save
5406 memory when assembling large files.
5407 * as.h: Don't include struc-symbol.h.
5408 (symbolS): Add typedef.
5409 * symbols.c: Include struc-symbol.h.
5410 (local_hash): New static variable.
5411 (save_symbol_name): New static function, from symbol_create.
5412 (symbol_create): Call save_symbol_name.
5413 (local_symbol_count): New static variable.
5414 (local_symbol_conversion_count): Likewise.
5415 (LOCAL_SYMBOL_CHECK): Define.
5416 (local_symbol_make): New static function.
5417 (local_symbol_convert): New static function.
5418 (colon): Handle local symbols. Create local symbol for local
5419 label name.
5420 (symbol_table_insert): Handle local symbols.
5421 (symbol_find_or_make): Create local symbol for local label name.
5422 (symbol_find_base): Check for local symbol.
5423 (symbol_append, symbol_insert): Check for local symbols.
5424 (symbol_clear_list_pointers, symbol_remove): Likewise.
5425 (verify_symbol_chain): Likewise.
5426 (copy_symbol_attributes): Likewise.
5427 (resolve_symbol_value): Handle local symbols.
5428 (resolve_local_symbol): New static function.
5429 (resolve_local_symbol_values): New function.
5430 (S_GET_VALUE, S_SET_VALUE): Handle local symbols.
5431 (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
5432 (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
5433 (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
5434 (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
5435 (symbol_previous, symbol_next): New functions.
5436 (symbol_get_value_expression): Likewise.
5437 (symbol_set_value_expression): Likewise.
5438 (symbol_set_frag, symbol_get_frag): Likewise.
5439 (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
5440 (symbol_mark_used_in_reloc): Likewise.
5441 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
5442 (symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
5443 (symbol_mri_common_p): Likewise.
5444 (symbol_mark_written, symbol_clear_written): Likewise.
5445 (symbol_written_p): Likewise.
5446 (symbol_mark_resolved, symbol_resolved_p): Likewise.
5447 (symbol_section_p, symbol_equated_p): Likewise.
5448 (symbol_constant_p): Likewise.
5449 (symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
5450 (symbol_get_obj, symbol_set_obj): Likewise.
5451 (symbol_get_tc, symbol_set_tc): Likewise.
5452 (symbol_begin): Initialize local_hash.
5453 (print_symbol_value_1): Handle local symbols.
5454 (symbol_print_statistics): Print local symbol statistics.
5455 * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
5456 Declare new symbols.c functions. Move many declarations here from
5457 struc-symbol.h.
5458 (SYMBOLS_NEED_BACKPOINTERS): Define if needed.
5459 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
5460 (struct symbol): Move bsym to make it clearly the first field.
5461 Remove TARGET_SYMBOL_FIELDS.
5462 (symbolS): Don't typedef.
5463 (struct broken_word): Remove.
5464 (N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
5465 (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
5466 (symbol_clear_list_pointers): Likewise.
5467 (symbol_insert, symbol_remove): Likewise.
5468 (symbol_previous, symbol_append): Likewise.
5469 (verify_symbol_chain, verify_symbol_chain_2): Likewise.
5470 (struct local_symbol): Define.
5471 (local_symbol_converted_p, local_symbol_mark_converted): Define.
5472 (local_symbol_resolved_p, local_symbol_mark_resolved): Define.
5473 (local_symbol_get_frag, local_symbol_set_frag): Define.
5474 (local_symbol_get_real_symbol): Define.
5475 (local_symbol_set_real_symbol): Define.
5476 Define.
5477 * write.c (write_object_file): Call resolve_local_symbol_values.
5478 * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
5479 (TARGET_SYMBOL_FIELDS): Don't define.
5480 * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If
5481 ECOFF_DEBUGGING, add ECOFF fields.
5482 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
5483 * config/obj-multi.h (struct elf_obj_sy): Add local field. If
5484 ECOFF_DEBUGGING, add ECOFF fields.
5485 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
5486 (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
5487 * config/tc-mcore.h: Don't include struc-symbol.h.
5488 (TARGET_SYMBOL_FIELDS): Don't define.
5489 (struct mcore_tc_sy): Define.
5490 (TC_SYMFIELD_TYPE): Define.
5491 * Many files: Use symbolS instead of struct symbol. Use new
5492 accessor functions rather than referring to symbolS fields
5493 directly.
5494
5495 * read.c (s_mri_common): Don't add in value of line_label.
5496
5497 * config/tc-mips.c (md_apply_fix): Correct parenthesization when
5498 checking for SEC_LINK_ONCE.
5499
5500 * config/tc-sh.h (sh_fix_adjustable): Declare.
5501
5502 * app.c (input_buffer): New static variable.
5503 (app_push): Save saved_input in allocated buffer.
5504 (app_pop): Restored saved_input.
5505 (do_scrub_chars): Change get parameter to take char * and int as
5506 arguments. Change GET macro to pass input_buffer to get
5507 function. Don't save input into allocated buffer.
5508 * as.h (do_scrub_chars): Update declaration.
5509 * input-file.c (input_file_get): Change to take char * and int.
5510 Read data into passed in buffer. Remove static buffer.
5511 * read.c (scrub_from_string): Change to take char * and int. Copy
5512 data into passed in buffer.
5513
5514 * hash.h: Neaten. Declare hash_traverse.
5515 * hash.c: Complete rewrite based on BFD hashing code.
5516 * gasp.c (chunksize): New variable.
5517 * macro.c (macro_expand_body): Call hash_jam with NULL rather than
5518 hash_delete.
5519
661e4995
NC
55201999-05-28 Nick Clifton <nickc@cygnus.com>
5521
5522 * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
5523 addend unless the target uses an old ABI.
5524
d9a62219
DE
5525Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com>
5526
5527 -Wchar-subscripts cleanup
5528 * listing.c (listing_newline): Use unsigned char variable, so
3e87a760 5529 calls to isascii,iscntrl are correct.
d9a62219
DE
5530 * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
5531 (unsigned char).
5532 * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
5533 * config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
5534 * config/tc-mips.c (mips_ip,mips16_ip): Ditto.
5535 (my_getSmallExpression,get_number,s_mips_ent): Ditto.
5536
6da466c7
ILT
55371999-05-28 Torbjorn Granlund <tege@matematik.su.se>
5538
5539 * config/tc-m68k.c (m68k_ip): Check for disallowed index register
5540 width for Coldfire.
5541 (arch_coldfire_p): New #define.
5542 (m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
5543
55441999-05-28 Linus Nordberg <linus.nordberg@canit.se>
5545
5546 * config/tc-m68k.c (install_operand): Add places `n', `o'.
5547
5548 * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
5549 (install_operand): Add place `N'.
5550 (init_table): Add registers ACC, MACSR, MASK.
5551
5552 * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
5553
5554 * config/tc-m68k.c: Change mcf5200 --> mcf.
5555 (archs): Add mcf5206e, mcf5307.
5556 (m68k_ip): Add format `u'.
5557 (install_operand): Add place `m', `M', `h'.
5558 (init_table): Add upper/lower registers.
5559
5560 * config/m68k-parse.h (m68k_register): Add upper/lower registers.
5561
bedf545c
ILT
55621999-05-28 Martin Dorey <mdorey@madge.com>
5563
5564 * config/tc-i960.c: Several minor changes to add ELF and
5565 BFD_ASSEMBLER support.
5566 * config/tc-i960.h: Likewise.
5567 * configure.in (i960-*-elf*): New target.
5568 * aclocal.m4, configure: Rebuild.
5569
40c62b25
AM
55701999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au>
5571
5572 * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
5573 reloc changes when defined(BFD_ASSEMBLER).
5574
daa01f85
AM
55751999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au>
5576
5577 * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
5578
5579 * write.c (write_print_statistics): Output to file, not stderr.
5580
5581 * expr.c (generic_bignum_to_int32,64): Prototype.
5582
5583 * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
5584 output_sleb128, output_uleb128, output_big_sleb128,
5585 output_big_uleb128, output_big_leb128): Prototype.
5586 (output_big_sleb128, output_big_uleb128): Make inline.
5587 (output_big_leb128): Remove inline
5588
5589 From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5590 * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
5591 fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8.
5592 Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed
5593 value for correct overflow check in write.c:fixup_segment.
5594 * write.c (fixup_segment): Move bitfield overflow checks to after
5595 the md_apply_fix call.
5596 * config/obj-coff.c (fixup_segment): Likewise.
5597 * doc/internals.texi (CPU backend): Mention md_apply_fix modifying
5598 valueT *val argument.
5599
19b34177
AS
5600Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5601
5602 * config/atof-ieee.c (gen_to_words): Correctly round a
5603 denormalized number. Fix off-by-one in range checking for
3e87a760 5604 exponent in a denormal.
19b34177 5605
b8a40f53
NC
56061999-05-10 Nick Clifton <nickc@cygnus.com>
5607
5608 * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
3e87a760 5609 name.
b8a40f53 5610
53f3de98
RH
5611Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com)
5612
5613 * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
5614
578ec497
AM
56151999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au>
5616
5617 * config/tc-i386.h (InvMem): New flag. Add to AnyMem.
5618 (ReverseRegRegmem): Remove.
5619 (ImmExt): New flag. Renumber some of the opcode_modifier bits.
5620 * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
5621 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem
5622 kludge.
5623
5624 From Doug Ledford <dledford@redhat.com>
5625 * config/tc-i386.h (RegXMM): New for P/III.
5626 * config/tc-i386.c: Add support for P/III.
5627
d0e9a01c
RH
5628Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com>
5629
5630 * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
5631 (md_begin): Allow ppc32 insns in ppc64bridge mode.
5632 (ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
5633
83183c0c
RH
5634Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com>
5635
5636 * config/tc-i386.c (i386_immediate): Skip whitespace before
5637 complaining about junk after expression.
5638 (i386_displacement): Likewise.
5639
03987ced
RH
5640Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com>
5641
5642 * symbols.c (symbol_find_base): Use memcpy instead of strcpy.
5643 Don't copy before downcaseing.
5644
0d96863f 56451999-05-05 Catherine Moore <clm@cygnus.com>
3e87a760 5646
66778679
RH
5647 * tc-m68k.c: Include elf/m68k.h.
5648 (m68k_elf_final_processing): New routine.
5649 * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
5650 Define.
3e87a760 5651
90700a53
JL
5652Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com)
5653
5654 * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
5655 17 bit fmt insn.
5656
252b5132
RH
56571999-04-30 Nick Clifton <nickc@cygnus.com>
5658
5659 * config/tc-mcore.c (mcore_s_section): Dump literals before
5660 changing section.
5661
56621999-04-29 Nick Clifton <nickc@cygnus.com>
5663
5664 * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
5665 for COFF/PE port.
5666
5667Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com>
5668
5669 * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
5670 (TC_INIT_FIX_DATA): Delete.
5671 * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
5672 (TC_INIT_FIX_DATA): Delete.
5673 * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
5674 * write.c (fix_new_internal): Initialize fx_cgen member.
5675 * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
5676 (gas_cgen_md_apply_fix3): Update.
5677 * config/tc-m32r.c (md_cgen_lookup_reloc): Update.
5678 (md_cgen_record_fixup_exp): Update.
5679 (FX_OPINFO_R_TYPE): Update.
5680
5681 * frags.c (frag_var,frag_variant): Initialize fr_cgen here.
5682 * config/tc-fr30.h (TC_FRAG_INIT): Delete.
5683 * config/tc-m32r.h (TC_FRAG_INIT): Delete.
5684 * frags.h (struct frag): Make opindex, opinfo ints.
5685
5686 * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
5687
56881999-04-26 Tom Tromey <tromey@cygnus.com>
5689
5690 * aclocal.m4, configure: Updated for new version of libtool.
5691
56921999-04-22 Nick Clifton <nickc@cygnus.com>
5693
5694 * config/tc-mcore.c (md_apply_fix3): Renamed function from
3e87a760 5695 md_apply_fix.
252b5132
RH
5696 (md_apply_fix3): Do not fix up absolute relocations against
5697 symbolic values.
5698
5699 * config/tc-mcore.h (MD_APPLY_FIX3): Define.
5700
57011999-04-20 Nick Clifton <nickc@cygnus.com>
5702
5703 * config/tc-mcore.c (md_pseudo_table): Add intercepts for section
5704 changes and data-in-text directives.
5705 (mcore_cons): New function: intercept cons() operations.
5706 (mcore_float_cons): New function: intercept float_cons()
3e87a760 5707 operations.
252b5132
RH
5708 (mcore_stringer): New function: intercept stringer() operations.
5709
57101999-04-18 Ian Lance Taylor <ian@zembu.com>
5711
5712 * obj.h (struct format_ops): Change generate_asm_lineno field to
5713 take no parameters.
5714 * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
5715
5716 * config/tc-alpha.c (find_opcode_match): Add default case to
5717 switch.
5718 (find_macro_match): Likewise.
5719 (load_expression): Parenthesize && within ||.
5720
5721 * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
5722
57231999-04-17 Nick Clifton <nickc@cygnus.com>
5724
5725 * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
5726 .text .data .section pseudo ops.
3e87a760
AM
5727 (mcore_s_section): New function. Dump lits before changing secs.
5728 (mcore_s_text): New function. Dump lits before changing secs.
5729 (mcore_s_data): New function. Dump lits before changing secs.
252b5132
RH
5730
57311999-04-16 Gavin Romig-Koch <gavin@cygnus.com>
5732
5733 * config/tc-mips.c (mips_32bitmode): New.
5734 (md_begin): Set mips_32bitmode if needed.
5735 (mips_elf_final_processing): Don't set EF_MIPS_ARCH.
5736 Set EF_MIPS_32BITMODE.
5737
5738Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com>
5739
5740 * config/obj-coff.c (c_section_symbol): Fix typo in previous
5741 change.
5742
57431999-04-16 Nick Clifton <nickc@cygnus.com>
5744
5745 * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
5746
5747Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com)
5748
3e87a760 5749 * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
252b5132
RH
5750 expressions correctly.
5751
5752
57531999-04-15 Gavin Romig-Koch <gavin@cygnus.com>
5754
5755 * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
5756
5757Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com)
5758
5759 * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
5760 and fmpynfadd instructions.
5761
57621999-04-11 Richard Henderson <rth@cygnus.com>
5763
5764 * as.h (environ): Declare it, if needed.
5765 * as.c (dump_statistics): Don't declare environ.
5766 * configure.in (environ): Detect declaration.
5767 * configure, config.in: Rebuild
5768
5769 * config/tc-i386.c (i386_immediate): Accept @GOT relocations.
5770 (i386_displacement): Allocate enough space for replacement buffer.
5771 Clean up replacement buffer initialization.
5772
57731999-04-11 Bob Manson <manson@charmed.cygnus.com>:
5774
5775 * subsegs.c (section_symbol): Don't create a new symbol if one
5776 already exists; instead, use the existing one, but set its segment
5777 and frag data if it hasn't already been defined.
5778 * config/obj-coff.c (c_section_symbol): Likewise.
5779
5780Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com>
5781
5782 * tc-alpha.c (load_expression): Call as_bad instead of abort.
5783
57841999-04-08 Nick Clifton <nickc@cygnus.com>
5785
5786 * config/tc-mcore.c: New File: Support routines for MCore
5787 assembler.
3e87a760 5788 * config/tc-mcore.h: New File: Definitions for MCore assembler.
252b5132
RH
5789 * config/obj-coff.c: Add support for mcore-pe target.
5790
5791 * Makefile.am: Add support for MCore targets.
5792 * Makefile.in: Regenerate.
5793 * configure.in: Add support for MCore targets.
5794 * configure: Regenerate.
5795
5796 * doc/all.texi: Set MCORE.
5797 * doc/as.texinfo: Document MCore specific command line options.
3e87a760 5798
252b5132
RH
5799 * write.h: Prevent multiple inclusion.
5800
58011999-04-06 Ian Lance Taylor <ian@zembu.com>
5802
5803 * asintl.h (LC_MESSAGES): Never define.
5804 * as.c (main): Don't pass LC_MESSAGES to setlocale if the system
5805 does not define it.
5806 * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
5807 does not define it.
5808
5809 * Makefile.am (m68k-parse.c): If configuring in the source
5810 directory, copy m68k-parse.y into the local directory before
5811 running ylwrap, to remove spurious differences when generating
5812 snapshots.
5813 * Makefile.in: Rebuild.
5814
5815 * config/tc-sparc.h (md_do_align): Just allocate the number of
5816 bytes necessary, rather than always allocating 1024.
5817
58181999-04-04 Ian Lance Taylor <ian@zembu.com>
5819
5820 * listing.c (listing_newline): Add cast to avoid warning.
5821 * read.c (generate_lineno_debug): Add cases to switch. Reindent.
5822 * config/tc-i386.c (i386_scale): Add return value.
5823 (build_displacement_string): Remove unused local temp_disp2.
5824 (i386_intel_memory_operand): Add parentheses to avoid warning.
5825 (i386_intel_operand): Remove unused local end_of_operand_string.
5826 (i386_operand): Remove unused local operand_modifier.
5827 (i386_operand): Add parens to avoid warning.
5828
58291999-04-04 Don Bowman <don@pixsci.com>
5830
5831 * configure.in: Add mips*-*-vxworks* target; have it define
5832 MIPS_STABS_ELF.
5833 * configure, config.in: Rebuild.
5834
58351999-03-31 Nick Clifton <nickc@cygnus.com>
5836
5837 * configure.in (emulations): Add support for arm-epoc-pe.
5838 * configure: Regenerate.
5839 * config/te-epoc-pe.h: New file. Define macros specific to
5840 arm-epoc-pe target.
5841 * config/tc-arm.h: Select epoc-pe-arm target format if configured
5842 for arm-epoc-pe target.
5843
5844Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com>
5845
5846 * tc-mips.c (md_apply_fix): Adjust value for linkonce sections.
5847
5848Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com)
5849
5850 * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
5851 detect ",n" without a condition.
5852 (pa_parse_neg_cmpsub_cmpltr): Likewise.
5853
5854
5855Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com)
5856
5857 * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
5858 instruction is encoded with one bit.
5859
5860
58611999-03-23 Ian Lance Taylor <ian@zembu.com>
5862
5863 * doc/internals.texi (CPU backend): Mention that
5864 line_separator_chars should not include newline. From thi
5865 <ttn@mingle.glug.org>.
5866
58671999-03-22 Doug Evans <devans@casey.cygnus.com>
5868
5869 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
5870 * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
5871
5872Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com>
5873
5874 * tc-alpha.c (md_assemble): Allow '6' in an opcode.
5875
5876Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com)
5877
5878 * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
5879
5880
5881Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com)
5882
5883 * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
3e87a760 5884
252b5132
RH
58851999-03-15 Martin Hunt <hunt@cygnus.com>
5886
5887 * app.c (do_scrub_begin): Change '-' back to a symbol char
5888 so we can use multiple opcodes on a line again.
5889
5890 * config/tc-d30v.c: By default, warn if a symbol has
5891 the same name as a register. Plus some minor
5892 updates from the branch.
5893
58941999-03-13 Nick Clifton <nickc@cygnus.com>
5895
5896 * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
5897 BFD_RELOC_16 and BFD_RELOC_64.
5898
58991999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5900
5901 * expr.c (expr): Add missing else.
5902
59031999-03-12 Nick Clifton <nickc@cygnus.com>
5904
5905 * config/tc-arm.c (md_apply_fix3): Improve error message.
5906
59071999-03-11 Doug Evans <devans@casey.cygnus.com>
5908
5909 * Makefile.am (CPU_TYPES): Add fr30.
5910 (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
5911 (fr30,m32r dependencies): Update.
5912 * Makefile.in: Rebuild.
5913
5914 * cgen.c (gas_cgen_record_fixup): Update use of operand->type.
5915 (gas_cgen_record_fixup_exp): Ditto.
5916 (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
5917 (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand.
5918 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
5919 (md_cgen_lookup_reloc): Update use of operand->type.
5920 * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
5921 (md_convert_frag): Call cgen_operand_lookup_by_num.
5922 (md_cgen_lookup_reloc): Update use of operand->type.
5923 (m32r_cgen_record_fixup_exp): Ditto.
5924
59251999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
5926
5927 * config/tc-mips.c (md_show_usage): Fix message.
5928
59291999-03-03 Nick Clifton <nickc@cygnus.com>
5930
5931 * doc/c-arm.texi (ARM Syntax): Document new command line switches
5932 and LDR reg,=<expr> instruction.
5933
5934 * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
5935 -mcpu=arm9tdmi.
5936
5937Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com>
5938
5939 * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
5940
59411999-02-17 Nick Clifton <nickc@cygnus.com>
5942
5943 This patch was created by: Scott Bambrough
5944 <scottb@corelcomputer.com>
3e87a760
AM
5945
5946 * app.c:
252b5132 5947 Special cased '@' character. The '@' character is used as the
3e87a760 5948 ARM assembler comment character, as a special character
252b5132
RH
5949 and in ELF .symver pseudo-op's, and as a special character in
5950 .type and .section pseudo-ops.
5951 (symver_pseudo): New static variable.
5952 (symver_state): New static variable.
5953 (struct app_save): Add field 'symver_state'.
5954 (app_push): Save global symver_state int struct app_save.
5955 (app_pop): Restore global symver_state from struct app_save.
3e87a760
AM
5956 (do_scrub_chars): Special case handling of '@' character in
5957 .symver pseudo-ops.
252b5132
RH
5958
5959 * configure.in: Modified to recognize armv* uname syntax from ARM
5960 Linux kernel.
5961 * configure: Regenerated.
3e87a760 5962
252b5132
RH
5963 * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
5964 a prefix to the section's type.
5965 (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
5966 the type's typename.
5967
5968 * config/tc-arm.h: Add support for PIC generation:
5969 (pic_code): New boolean.
5970 (obj_relocate_extern): Define.
5971 (TC_RELOC_RTSYM_LOC_FIXUP): Define
5972 (TC_CONS_FIX_NEW): Define.
5973 (tc_fix_adjustable): Define.
5974 (GLOBAL_OFFSET_TABLE_NAME): Define.
3e87a760 5975
252b5132
RH
5976 * config/tc-arm.c: Add support for PIC generation:
5977 (line_seperator_chars): Allow ';' as a seperator for Linux.
5978 (is_immediate_prefix): New macro.
5979 (arm_parse_reloc): New function.
5980 (s_arm_elf_cons): New function.
5981 (do_branch): Special case for BFD_RELOC_ARM_PLT32.
5982 (md_undefined_symbol): Special case handling for the Global Offset
5983 Table's symbol.
5984 (md_apply_fix3): Handle PIC relocs.
5985 (tc_gen_reloc): Handle PIC relocs.
5986 (md_parse_option): Add support for '-k' command line switch to
5987 enable PIC generation.
5988 (cons_fix_new_arm): New function.
5989 (s_arm_elf_cons): New function.
5990
5991Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com>
5992
5993 * configure.in: Add comments for uses of AC_DEFINE.
5994 * acinclude.m4: Likewise.
5995 * acconfig.h: Remove.
5996 * aclocal.m4: Rebuild.
5997 * configure: Rebuild.
5998 * Makefile.in: Rebuild.
5999 * config.in: Rebuild.
6000
60011999-02-15 Jim Lemke <jlemke@cygnus.com>
6002
6003 * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
6004 non-constant offset from a base register.
6005
60061999-02-14 Ken Raeburn <raeburn@raeburn.org>
6007
6008 * config/tc-alpha.c (md_show_usage): Put \ before newline in
6009 strings always.
6010
6011Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com>
6012
6013 * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
6014 (emit_insn): Look for pc-relative and no-overflow specifiers on
6015 internal relocation types.
6016
60171999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6018
6019 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
6020 -mcpu=NNNN flags.
6021
6022 * config/tc-mips.c: Remove all the mips_NNNN variables; just use
6023 mips_cpu instead.
6024 (mips_4650, mips_4010, mips_4100): Variables removed.
6025 (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
6026 macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
6027 variables.
6028 (md_begin): Don't bother initializing the mips_NNNN variables;
6029 mips_cpu is set, and that's good enough now.
6030 (md_parse_option): Have the -mNNNN options set mips_cpu instead of
6031 the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
6032 (show): New function, to handle wrapping in the CPU lists.
6033 (md_show_usage): Update lists of -mcpu and -mNNNN switches.
6034
6035Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com>
6036
6037 * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
6038 than treat as an immediate specifier.
6039
6040Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com>
6041
6042 * config/tc-i386.c: Prototype many functions.
6043 (set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
6044 (i386_immediate): Remove unused second argument.
6045 (i386_intel_operand): Fix i386_is_reg typo.
6046 (i386_operand): Use allow_naked_reg.
6047 (output_invalid): Make operand int for K&R.
6048
6049Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com>
6050
6051 * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
6052 patch.
6053 * Makefile.in: Rebuild.
6054
60551999-02-09 Doug Evans <devans@casey.cygnus.com>
6056
6057 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
6058 (cgen.o): Ditto.
6059 (EXTRA_as_new_SOURCES): Comment out.
6060 (.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
6061 * Makefile.in: Rebuild.
6062 * doc/Makefile.in: Rebuild.
6063 * configure.in: Require autoconf 2.13. Redo using_cgen handling.
6064 Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
6065 (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
6066 * configure: Rebuild.
6067 * aclocal.m4: Rebuild.
6068 * config.in: Rebuild.
6069 * cgen.c: Include cgen-desc.h, not cgen-opc.h.
6070 (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
6071 (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
6072 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
6073 CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
6074 (gas_cgen_record_fixup): Remove unnecessary != 0 test.
6075 (gas_cgen_record_fixup_exp): Ditto.
6076 (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
6077 descriptor, not global variable.
6078 (gas_cgen_md_apply_fix3): Refer to operand_table via cpu
6079 descriptor, not global variable. Refer to insert_operand handler
6080 via cpu descriptor, not global function.
6081 * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
6082 * config/tc-fr30.c: Include opcodes/fr30-desc.h.
6083 (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
6084 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
6085 Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
6086 * config/tc-m32r.c: Ditto.
6087 (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
6088 (md_assemble): Ditto.
6089 (md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
6090
60911999-02-09 Nick Clifton <nickc@cygnus.com>
6092
6093 * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
6094 relocations for ELF targets.
6095
60961999-02-08 Nick Clifton <nickc@cygnus.com>
6097
6098 * configure.in: Add support for StrongARM target.
6099 * configure: Regenerate.
6100
61011999-02-05 Nick Clifton <nickc@cygnus.com>
6102
6103 * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
6104
6105 * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
6106 for COFF ports.
6107
6108Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com>
6109
6110 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
6111
6112Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com>
6113
66778679
RH
6114 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
6115 (INTEL_DWORD_MNEM_SUFFIX): Define.
6116 (BYTE_PTR): Define.
6117 (WORD_PTR): Define.
6118 (DWORD_PTR): Define.
6119 (XWORD_PTR): Define.
6120 (SHORT): Define.
6121 (OFFSET_FLAT): Define.
6122 (FLAT): Define.
6123 (NONE_FOUND): Define.
6124 (No_dSuf): Define.
6125 (No_xSuf): Define.
6126 * config/tc-i386.c (set_intel_syntax): New routine.
6127 (intel_syntax): Declare.
6128 (allow_naked_reg): Declare.
6129 (md_pseudo_table): Support .intel_syntax and .att_syntax.
6130 (intel_float_operand): New routine.
6131 (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
6132 Handle brackets as well as parens. Call i386_intel_operand for
6133 intel syntax. Reverse operands if appropriate. Handle new
6134 suffixes. Handle movzx and movsx.
6135 (i386_is_reg): New routine.
6136 (i386_immediate): New routine.
6137 (i386_scale): New routine.
6138 (i386_displacement): New routine.
6139 (i386_operand_modifier): New routine.
6140 (build_displacement_string): New routine.
6141 (i386_parse_seg): New routine.
6142 (i386_intel_memory_operand): New routine.
6143 (i386_intel_operand): New routine.
6144 (i386_operand): Call i386_displacement, i386_immediate,
6145 i386_scale, etc. instead of handling inline.
6146 (parse_register): Handle registers without prefix.
252b5132
RH
6147
6148Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com>
6149
66778679
RH
6150 * configure: Regenerate.
6151 * configure.in (arm-*-oabi): New.
6152 (thumb-*-oabi): New.
6153 * config/tc-arm.c (target_oabi): Declare.
6154 (md_apply_fix3): Support REL relocs.
6155 (md_parse_option): Handle -oabi.
6156 (elf32_arm_target_format): New routine.
6157 (md_longopts): Add OPTION_OABI.
6158 * config/tc-arm.h: Redefine TARGET_FORMAT.
252b5132
RH
6159
6160
61611999-01-28 Nick Clifton <nickc@cygnus.com>
6162
6163 * write.c (write_relocs): Handle out of range error.
6164
6165 * config/tc-fr30.c (fr30_fix_adjustable): New function.
6166 (fr30_force_relocation): Default to 0.
6167
6168 * config/tc-fr30.h (obj_fix_adjustable): Define.
6169 (TC_FORCE_RELOCATION): Define.
6170
6171 * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
3e87a760 6172 relocs.
252b5132
RH
6173
61741999-01-16 Nick Clifton <nickc@cygnus.com>
6175
6176 * config/tc-d30v.c (write_2_short): Do not generate a sequential
6177 merge of two instructions if the left instruciton kills the right.
6178
61791999-01-11 Doug Evans <devans@casey.cygnus.com>
6180
6181 * Makefile.in: Regenerate.
6182 * configure.in: Redo test for using cgen.
6183 * configure: Regenerate.
6184
61851999-01-09 Nick Clifton <nickc@cygnus.com>
6186
6187 * config/obj-coff.h (obj_adjust_symtab): Prevent accidental
6188 redefinition of this macro.
6189
6190Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com>
6191
6192 * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
6193 warning.
6194
61951998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
6196
6197 * config/tc-mips.c (append_insn): For mips16, insert a nop between
6198 a read of HI or LO and an immediatly following branch.
6199
62001998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
6201
6202 * config/tc-mips.c (md_begin): Another correction to the setting of
6203 mips_eabi64.
6204
62051998-12-23 Gavin Romig-Koch <gavin@cygnus.com>
6206
3e87a760
AM
6207 * config/tc-mips.c (md_begin): Correct type-o in setting of
6208 mips_eabi64.
252b5132
RH
6209
62101998-12-21 Nick Clifton <nickc@cygnus.com>
6211
6212 * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
6213 bit insn when optimizing, so that parallelised instructions will
6214 start on a 32 bit boundary.
6215
62161998-12-19 Gavin Romig-Koch <gavin@cygnus.com>
6217
6218 * config/tc-mips.c (mips_eabi64): New.
6219 (md_begin): Set mips_eabi64.
6220 (mips_elf_final_processing): Use it.
6221
62221998-12-18 Gavin Romig-Koch <gavin@cygnus.com>
6223
3e87a760 6224 * config/tc-mips.c (mips_elf_final_processing):
252b5132
RH
6225 Correct setting of ABI in e_flags.
6226
6227Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com>
6228
3e87a760
AM
6229 * config/tc-fr30.c (md_assemble): Warn about invalid instructions
6230 in delay slots.
252b5132
RH
6231
62321998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
6233
6234 * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
3e87a760 6235
252b5132
RH
62361998-12-15 Doug Evans <devans@casey.cygnus.com>
6237
6238 * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
6239 warning, values that don't fit in the field.
6240
62411998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
6242
6243 * config/tc-mips.c (mips_abi_string): New.
6244 (md_parse_option,md_longopts): Add mabi.
6245 (mips_elf_final_processing): Set e_flags based on mabi flag.
6246
62471998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
6248
3e87a760 6249 * config/tc-mips.c (md_parse_option): Handle vr4111.
252b5132
RH
6250
625198-12-11 Ken Raeburn <raeburn@cygnus.com>
6252
6253 * config/tc-h8300.c (build_bytes): Change message given if the
6254 instruction requires H8/300H mode and we're not in Hmode, to
6255 suggest that it may be the operand modes that are the problem, not
6256 necessarily the opcode.
6257
62581998-12-10 Nick Clifton <nickc@cygnus.com>
6259
6260 * config/tc-fr30.c: Add line separator character.
6261
6262Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
6263
6264 * configure.in (hppa-*-mpeix*): New target.
6265 * config/obj-som.h (obj_som_compiler): Declare.
6266 * config/obj-som.c (compiler_seen): New static variable.
6267 (obj_som_compiler): New function.
6268 * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
3e87a760 6269 (md_pseudo_table): Add "compiler" if OBJ_SOM.
252b5132
RH
6270 (pa_type_args): Set hppa_priv_level.
6271 (pa_compiler): New static function if OBJ_SOM.
6272 * configure: Rebuild.
6273
6274Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com>
6275
6276 * read.c (output_leb128): Don't mark as inline.
6277
62781998-12-08 Andrew MacLeod <amacleod@cygnus.com>
6279
3e87a760 6280 * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
252b5132
RH
6281 AIX .vbyte unaligned data support.
6282 (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
3e87a760 6283 (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
252b5132
RH
6284 sections.
6285
62861998-12-07 Nick Clifton <nickc@cygnus.com>
6287
6288 * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
3e87a760 6289 input handling.
252b5132
RH
6290
6291Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com>
6292
66778679
RH
6293 * config/tc-arm.c (elf32_arm_force_relocation): Check for
6294 BFD_RELOC_ARM_PCREL_BRANCH.
252b5132
RH
6295
6296Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com>
6297
6298 * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
6299 checking the target type.
6300 (mips-dec-bsd*): Set endian to little.
6301 * configure: Rebuild.
6302
6303 COFF weak symbol support, based on patches from Mark Elbrecht
6304 <snowball3@usa.net>:
6305 * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
6306 * config/obj-coff.c (obj_coff_weak): New static function.
6307 (obj_coff_endef) [both versions]: Handle weak symbols.
6308 (coff_frob_symbol): Likewise.
6309 (yank_symbols): Likewise.
6310 (obj_pseudo_table): Add "weak".
6311
6312 * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
6313 <aymeric.vincent@emi.u-bordeaux.fr>.
6314 * aclocal.m4: Rebuild with current tools.
6315 * configure: Rebuild.
6316
6317 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
6318 an assertion failure for a case we can't handle when OBJ_ECOFF.
6319
6320 * expr.c (operator): And with 0xff to avoid problems with signed
6321 char.
6322
63231998-12-03 Nick Clifton <nickc@cygnus.com>
6324
6325 * config/tc-fr30.c (md_cgen_lookup_reloc): Generate
6326 BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
6327
63281998-12-02 Nick Clifton <nickc@cygnus.com>
6329
6330 * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
6331 LDI:20 insn.
6332
6333Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
6334
3e87a760
AM
6335 * config/tc-fr30.c (md_pcrel_from_section): Restore previous
6336 calculation of pcrel point.
252b5132
RH
6337
6338Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com>
6339
6340 * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
6341 pcrel point.
6342
6343Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com>
6344
6345 * config/tc-d10v.c (md_assemble): Make static 'etype' have file
6346 scope.
6347 (d10v_cleanup): Only generate previous insn if a multiline insn is
6348 not pending.
6349
6350Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com>
6351
6352 * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
3e87a760 6353 FR30_OPERAND_I32.
252b5132
RH
6354
6355Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com>
6356
6357 * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
6358 -marm6xxx command line switches.
6359
63601998-11-18 Doug Evans <devans@casey.cygnus.com>
6361
6362 * Makefile.am (DEP): Use $(srcdir)/../mkdep.
6363 (itbl-ops.o): Delete duplicate dependencies.
6364 Rebuild dependencies.
6365 Add fr30 dependencies.
6366 * Makefile.in: Rebuild.
6367
6368Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com>
6369
6370 * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
6371 opcode list.
6372 * listing.c: Ignore line terminator characters found inside
3e87a760 6373 strings.
252b5132
RH
6374
6375Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com>
6376
6377 * po/gas.pot: Regenerated.
6378
6379Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com>
6380
6381 * config/tc-fr30.c (fr30_is_colon_insn): New name for
6382 fr30_is_label_start(). Also checks for delay slot insns.
6383
6384 * config/tc-fr30.c (fr30_is_label_start): New function: Handle
6385 FR30 instructions which contain a colon in the mnemonic.
6386
6387 * config/tc-fr30.h (TC_START_LABEL): Define this macro.
6388
6389Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com>
6390
6391 * config/tc-fr30.c: Removed currently superflous code.
6392
6393Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com>
6394
6395 * config/tc-fr30.h: New file.
6396 * config/tc-fr30.c: Tweaking so that it will compile.
6397
6398Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com>
6399
66778679
RH
6400 * config/tc-d10v.h (obj_fix_adjustable): Define.
6401 (TC_FORCE_RELOCATION): Define.
6402 (d10v_force_relocation): Declare.
6403 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
6404 (md_apply_fix3): Handle Vtable relocs.
6405 (d10v_fix_adjustable): New.
6406 (d10v_force_relocation): New.
252b5132
RH
6407
6408Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com>
6409
6410 * config/tc-d30v.c: Change default behaviour to ignore potential
6411 conflicts between register name and symbol names.
6412
6413Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
6414
6415 * configure.in: Add fr30-*-*.
6416 * config/tc-fr30.c: New file.
6417 * Makefile.in: Regenerated.
6418 * config.in: Regenerated.
6419 * configure: Regenerated.
6420 * doc/Makefile.in: Regenerated.
6421 * po/gas.pot: Regenerated.
6422
6423Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com>
6424
6425 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
6426 are 16 bit insns.
6427
6428Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
6429
6430 * app.c (do_scrub_begin): Set characters above 127 to be symbol
6431 characters.
6432 (do_scrub_chars): Add some casts to unsigned char to avoid
6433 unwanted sign extension.
6434 * read.c (lex_type): Set characters about 127 to be symbol
6435 characters.
6436 * config/tc-i386.c (md_begin): Set identifier_chars and
6437 operand_chars for values above 127.
6438
6439Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
6440
66778679
RH
6441 * configure.in: detect cygwin* instead of cygwin32*
6442 * configure: regenerate
252b5132
RH
6443
6444Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com>
6445
6446 * listing.c: Add support for producing a listing from piped
3e87a760 6447 input.
252b5132
RH
6448
6449Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
6450
6451 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
6452 (append_insn): Account for the tx39's multiply behavior.
6453
64541998-10-26 Michael Meissner <meissner@cygnus.com>
6455
6456 * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
6457 from assemble_parallel_insns. Add support for '->' to indicate
6458 explicitly serializing the instructions.
6459 (md_assemble): Ditto.
6460
6461Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com>
6462
66778679
RH
6463 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
6464 WEAK handling.
252b5132
RH
6465
6466Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com>
6467
66778679 6468 * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
252b5132
RH
6469
6470Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com>
6471
6472 * config/tc-mips.c : support frame and regmask/fregmask when
6473 MIPS_STABS_ELF is specified.
6474
6475Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com>
6476
66778679
RH
6477 * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
6478 (md_apply_fix): Don't return 1 for VTABLE relocs.
6479 * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
252b5132
RH
6480
6481Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6482
6483 * doc/c-i386.texi: Replace occurences of "opcode" with
6484 "instruction mnemonic", "instruction", or "mnemonic" when
6485 referring to the name of an instruction. Use "opcode" when
6486 referring to the sequence of machine bytes.
6487
6488 * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
6489 (is_opcode_char): Rename to is_mnemonic_char.
6490 (md_assemble and i386_operand): Correct error messages from
66778679 6491 "opcode" to "instruction mnemonic"
252b5132
RH
6492 Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
6493 MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
6494 DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
6495 WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
6496 BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
6497 SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
6498 LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
6499
6500 * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
6501
6502 * config/tc-i386.c (i386_operand): Check for garbage after
6503 register name.
6504
6505Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com>
6506
6507 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
3e87a760 6508 for BFD_ASSEMBLER to only change value when COFF if TE_PE.
252b5132
RH
6509
6510Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com>
6511
66778679
RH
6512 * config/tc-sh.h (obj_fix_adjustable): Define.
6513 * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
6514 (md_apply_fix): Likewise.
6515 (tc_gen_reloc): Likewise.
6516 (sh_fix_adjustable): New.
252b5132
RH
6517
6518Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com>
6519
6520 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
6521 * cgen.h (gas_cgen_finish_insn): Update prototype.
6522 * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
6523 cgen_insn_t -> CGEN_INSN_INT.
6524 (make_parallel): Update handling of CGEN_INT_INSN_P.
6525 (assemble_parallel_insn): Ditto.
6526 (target_make_parallel): New function.
6527 (md_assemble): Use it.
6528
6529Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com>
6530
66778679 6531 * config/tc-m32r.c (m32r_force_relocation): Fix typo.
252b5132
RH
6532
6533Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com)
6534
6535 * config/tc-sh.c (md_assemble): Make sure the entire opcode is
6536 converted into lower case.
6537
6538Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com>
6539
66778679
RH
6540 * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
6541 (gas_cgen_tc_gen_reloc): Likewise.
6542 * config/tc-m32r.h (obj_fix_adjustable): Define.
6543 * config/tc-m32r.c (m32r_fix_adjustable): New.
6544 (m32r_force_relocation): Handle VTABLE relocs.
252b5132
RH
6545
6546Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com>
6547
6548 * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
6549
6550Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com>
6551
6552 * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
6553 to lower case before parsing.
6554
6555 * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
6556 parallel insns modift buts in the PSW as a side effect.
6557
6558Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
6559
6560 * config/tc-d30v.c (find_format): Test for missing flag and
6561 control registers.
3e87a760 6562
252b5132
RH
6563 (md_apply_fix3): Fix error messages to avoid
6564 assumption about presence of a symbol.
6565
6566 (parallel_ok): Disallow parallel instructions that both modify the
6567 same flag register.
6568
6569 (find_format): Generate a warning if an odd numbered register is
6570 used as the first register in a mutli-register instruction.
6571
6572Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
6573
6574 * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
6575 relocations are always associated with a symbol.
6576
6577Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com>
6578
66778679
RH
6579 * tc-sparc.h (TC_FORCE_RELOCATION): Define.
6580 (elf32_sparc_force_relocation): Declare.
6581 * tc-sparc.c (md_apply_fix3): Handle vtable relocs.
6582 (tc_gen_reloc): Handle vtable relocs.
6583 (elf32_sparc_force_relocation): New.
252b5132
RH
6584
6585Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com>
6586
66778679
RH
6587 * symbols.c (S_IS_FUNCTION): New.
6588 * config/tc-v850.h (obj_fix_adjustable): Define.
6589 (TC_FORCE_RELOCATION): Define.
6590 (v850_force_relocation): Declare.
6591 * config/tc-v850.c (tc_gen_reloc): Use offset instead
6592 of fx_addnumber for VTABLE reloc addends.
6593 (md_apply_fix3): Handle VTABLE relocs.
6594 (v850_fix_adjustable): New.
6595 (v850_force_relocation): New.
252b5132
RH
6596
6597Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com)
6598
6599 * tc-hppa.c (fp_operand_format): Add some additional formats.
6600 (pa_ip): Do not automatically promote into pa2.0 mode.
6601 (pa_level): Handle ".level 2.0".
6602
6603Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6604
6605 * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
6606 * config/tc-i386.h (template.extension_opcode): Change to
66778679 6607 unsigned int to allow full range of 8-bit opcode suffixes.
252b5132
RH
6608 (None): Redefine as 0xffff.
6609
6610 From Jeff B Epler <jepler@usgs.gov>
6611 * doc/c-i386.texi (i386-SIMD): New section.
6612
6613Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com>
6614
6615 * read.c (discard_rest_of_line): New function.
6616 * read.h: Declare it.
6617 * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
6618
6619Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com>
6620
6621 * config/tc-d10v.c (find_symbol_matching_register): New function.
6622 (find_opcode): Cope with the case where a register name matches
6623 a symbol name.
6624
6625Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com>
6626
6627 * config/tc-v850.c (md_pcrel_from): Rename to
6628 v850_pcrel_from_section.
6629 (v850_pcrel_from_section): Do not resolves symbols in other
3e87a760 6630 sections.
252b5132
RH
6631
6632 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
6633
6634Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com>
6635
6636 * config/tc-d10v.c (find_opcode): Generate an error if a register
6637 is supplied for an operand that should not be a register.
6638
6639Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com>
6640
6641 * config/tc-d30v.c (write_2_short): But do allow delayed branch
6642 instructions to have another instruction in the right bin.
6643
6644Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com>
6645
6646 * config/tc-d30v.c (write_2_short): Do not allow instructions in
6647 the right container if the left container holds a branch
3e87a760 6648 instruction.
252b5132
RH
6649
6650Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
6651
6652 * config/tc-d30v.c (reg_name_search): Only warn if a name matches
6653 both a register name and symbol name.
6654 (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
6655
6656Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
6657
6658 * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
6659 execution unit class.
6660
6661 (reg_name_search): If a name matches a register and a symbol,
6662 prefer the register.
6663 (find_format): Disallow flag registers when a general purpose
6664 register is required.
6665 If a number is required, but a register has been given, check to
6666 see if a symbol with the same name as the register exists, and if
6667 so, use that symbol.
6668
6669Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com>
6670
6671 * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
6672
6673Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com>
6674
6675 * config/tc-d30v.c (find_format): Do not accept flag registers as
6676 general purpose registers.
6677 (find_format): If an immediate value is expected at a given place
6678 in a format, but a register name has been provided instead, check
6679 to see if that register name matches the name of a predefined
6680 symbol and if it does, then use the symbol instead.
6681 (reg_name_search): If a register name matches a symbol name,
6682 prefer the register name to the symbol name.
6683
6684Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com>
6685
6686 * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
6687 the previous insn to empty.
6688
66891998-09-20 Michael Meissner <meissner@cygnus.com>
6690
6691 * config/tc-ppc.c (md_apply_fix3): Do not break string into two
6692 pieces, forcing the use of an ANSI compiler.
6693
6694Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6695
6696 * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
6697 relocs.
6698 * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
6699
6700Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com>
3e87a760 6701
66778679
RH
6702 * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
6703 assembler syntax.
6704 (obj_elf_vtable_entry): Likewise.
6705 * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
6706 * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
6707 (tc_gen_reloc): Likewise.
6708 (arm_fix_adjustable): Likewise.
6709 (elf32_arm_force_relocation): New.
6710 (armelf_frob_symbol): Remove coff-style symbol support.
252b5132
RH
6711
6712Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com>
6713
6714 * config/tc-i386.c (i386_operand): Fix typo in last patch.
6715
6716Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
3e87a760 6717
66778679
RH
6718 * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
6719 OBJ_COFF so that routine is defined for a.out format.
252b5132
RH
6720
6721Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com>
6722
6723 * config/tc-i386.c (i386_operand): Detect non-segment registers
6724 used as segment prefixes.
6725
6726Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
6727
6728 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
6729 optimize across FDE boundaries.
6730
6731 * config/obj-coff.c (obj_coff_section): Preserve any link once
6732 flags when setting the section flags.
6733
6734Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com>
6735
6736 * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
6737 * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
6738
6739Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
6740
6741 * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
6742 to the host width.
6743
6744Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com>
6745
6746 * frags.c (frag_grow): Include the size of the frag struct in the
6747 obstack chunk size.
6748
6749 * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
6750 if the new subseg comes before the old.
6751
6752Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
6753
6754 * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
6755 to handle edge8 and edge16.
6756
6757Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com>
6758
6759 * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
6760 before we clobber the symbol involved.
6761
6762Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com>
6763
3e87a760 6764 * config/tc-arm.c: Remove OBJ_ELF definitions for
66778679
RH
6765 S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
6766 use arm_adjust_symtab for OBJ_COFF.
6767 (armelf_adjust_symtab): New Routine.
6768 * config/tc-arm.h: Define obj_adjust_symtab to
6769 armelf_adjust_symtab for OBJ_ELF.
3e87a760 6770
252b5132
RH
6771Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com>
6772
6773 * configure.in: Make all i386-elf targets use bfd_gas.
6774 * config/tc-i386.c (tc_i386_force_relocation): New.
6775 (tc_i386_fix_adjustable): Don't fix vtable relocs.
6776 (md_apply_fix3): Likewise.
6777 (tc_gen_reloc): Handle them.
6778 * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
6779 tc_i386_force_relocation.
6780
6781Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com>
6782
6783 * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
6784
6785Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com>
6786
6787 * config/tc-d30v.c (md_assemble): Copy previous opcode over
6788 current opcode after writing the first insturction of a reverse
3e87a760
AM
6789 sequential pair.
6790
252b5132
RH
6791Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com>
6792
6793 * read.h (generate_lineno_debug): Add prototype.
6794 * read.c (generate_lineno_debug): Make non-static.
6795
6796Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6797
6798 * config/tc-i386.c (md_assemble): Only warn for address/data size
6799 prefixes.
6800
6801Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com>
6802
6803 * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
6804 against Thumb function names, as the linker needs this information.
6805
68061998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
6807
6808 * expr.c (operand): Check also that there is no advance in operand
6809 after atof_generic in order to decide "is it label 0f or floating
6810 point number?".
6811
6812Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com>
6813
6814 * config/tc-m32r.c: Replace double dash prefix to M32R specific
6815 command line options with a single dash.
6816 * doc/c-m32r.texi: Replace double dash prefix with a single dash.
6817
6818Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com>
6819
3e87a760
AM
6820 * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
6821 * tc-arm.c (arm_fix_adjustable): New routine.
252b5132
RH
6822
68231998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com>
6824
6825 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
6826 s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
6827 demand_empty_rest_of_line before mri_comment_end.
6828 (equals): Check garbage after expression before
6829 mri_comment_end in MRI mode.
6830
6831Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com>
6832
6833 * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
6834 small immediate constant to use the constant itself rather than
6835 always using 1.
6836
6837Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com>
6838
6839 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
6840 (pa_leave): Likewise.
6841
6842Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6843
6844 * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
6845 prefixes.
6846 (i386_operand): Fix an error message.
6847
6848Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com>
6849
6850 * doc/c-arm.texi (ARM Directives): Document .req directive.
6851
6852 * config/tc-arm.c (reg_required_here): Display erroneous string if
6853 the register name could not be decoded.
6854 Do not set inst.instruction if the sift is -1.
6855
6856Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com>
6857
6858 * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
6859 we do for EXTERN.
6860
6861Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com>
6862
6863 * config/tc-d30v.c (d30v_align): Always perform alignment request,
6864 even if it is belived to be unnecessary.
6865
6866Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6867
6868 config/tc-i386.c (i386_operand): Size immediate constants by
6869 suffix (erroneously removed as part of July 7 change).
6870
6871Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com>
6872
66778679
RH
6873 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
6874 * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
6875 (armelf_frob_symbol): New Routine.
6876 * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
252b5132
RH
6877
6878Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
6879
6880 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
6881
6882Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>
6883
6884 * config/tc-arm.c (md_begin): Set BFD private flags depending upon
6885 command line switches passed to assembler.
6886
6887Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com>
6888
6889 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
6890 (gas_cgen_opcode_desc): Declare.
6891 (gas_cgen_parse_operand): Declare.
6892 (*): Prepend gas_ to gas specific fns to denote them as such.
6893 All uses updated.
6894 * cgen.c (gas_cgen_opcode_desc): New global
6895 (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
6896 (queue_fixup): Renamed from cgen_queue_fixup.
6897 (*): Prepend gas_ to gas specific fns to denote them as such.
6898 All uses updated.
6899 (gas_cgen_md_apply_fix3): Update call to insert_operand.
6900 (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
6901 * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
6902 Open opcode table and initialize it.
6903 (make_parallel): Use gas_cgen_opcode_desc.
6904 (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
6905 (md_assemble): Ditto.
6906
6907Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com>
6908
6909 * as.h (debug_info_type): Add entries for unspecified and dwarf*.
6910 * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
6911 as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
6912 * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
6913 Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
6914 * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
6915 DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
6916 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
6917 (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
6918 (INIT_STAB_SECTION): Likewise.
6919 (OBJ_PROCESS_STAB): Likewise.
3e87a760 6920
252b5132
RH
6921 * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
6922 (md_parse_option): Watch for them.
6923 (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
6924 (md_begin): Kill neverdef code.
6925 (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
6926 (s_alpha_prologue): Watch alpha_cur_ent_sym.
6927 (s_alpha_coff_wrapper): New.
6928 (md_pseudo_table): Trap all ECOFF pseudos.
3e87a760 6929
252b5132
RH
6930Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com>
6931
6932 Start of changes to remove mdebug section from mips*-elf
6933 Based on MIPS_STAB_ELF definition
6934 * acconfig.h: undef if not configured
6935 * config.in: undef if not configured
6936 * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
6937 * config/tc-mips.c (s_ent): set BSF_FUNCTION
6938 * stabs.c (s_stab_generic): flush frag
6939
6940Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com>
6941
66778679
RH
6942 * configure.in: (arm-*-elf): Handle.
6943 (thumb-*-elf): Handle.
6944 * configure: Regenerate.
6945 * read.c (stringer): Fix typo in comment.
6946 * write.c (fixup_segment): Don't add symbol value to addend if
6947 TC_ARM and OBJ_ELF.
6948 * config/tc-arm.c (md_section_align): Don't align dwarf debug
6949 sections.
6950 (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
6951 for OBJ_ELF.
252b5132
RH
6952
6953Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com>
6954
6955 * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
6956 (write_2_short): Emit warning if new flag is set.
6957 (do_assemble): Set flags if left instruction is one of special
6958 "right-instruction-killer" type.
6959
6960Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com>
3e87a760 6961
252b5132
RH
6962 * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
6963 Always output words in debug_info section as big endian.
6964 (sparc_target_format): Choose correct bfd target.
6965 (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
3e87a760 6966
252b5132
RH
6967Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com)
6968
6969 * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
6970 to work with internationalization code. Issue an error when two
6971 operands match that are not allowed to match.
6972
6973Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com>
6974
6975 * configure.in (install_tooldir): Allow target to specify whether
6976 it wants to be installed in $(tooldir)/bin.
6977 * configure: Regenerate.
6978 * Makefile.am (install-exec-local): Set install-exec-tooldir
6979 dependency via configure.
6980 * Makefile.in: Regenerate.
6981
6982Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com>
6983
6984 * Makefile.am (install-exec-local): Split into two ...
6985 (install-exec-bindir,install-exec-tooldir): New rules.
6986 * Makefile.in: Regenerate.
6987
6988Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com>
6989
6990 * Makefile.am (install-exec-local): Don't remove the file before
6991 checking whether $(bindir) == $(tooldir)/bin. From Maciej
6992 W. Rozycki <macro@ds2.pg.gda.pl>.
6993 * Makefile.in: Rebuild.
6994
6995Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com>
6996
6997 * cgen.c: Include libiberty.h.
6998 (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
6999 (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
7000 * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
7001 (md_cgen_lookup_reloc)): Declare.
7002 (md_cgen_record_fixup_exp): Declare.
7003 * config/tc-m32r.h (md_pcrel_from_section): Declare.
7004 (m32r_relax_frag): Declare.
7005 (cgen_md_apply_fix3): Decls moved to cgen.h.
7006 (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
7007 (m32r_cgen_record_fixup_exp): Delete decl.
7008 * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
7009 (assemble_nop): Delete.
7010 (expand_debug_syms): Delete unused `exp'.
7011 (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
7012 Add default case for -Wall.
7013 (m32r_cgen_record_fixup_exp): Add default case for -Wall.
7014 (md_atof): Delete unused wordP.
7015
7016Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com)
7017
7018 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
7019 value.
7020
7021Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com>
7022
7023 * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
7024 .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
7025 .print, .purgem, and .struct. Remove documentation for
7026 .app-file.
7027
7028Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
7029
7030 * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
7031 Update call to insert_operand.
7032
7033Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
7034
7035 * config/tc-m32r.c (ms_show_usage): Formatting changes.
7036
7037Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com>
7038
7039 * config/tc-i386.c (md_assemble): Don't get confused by trailing
7040 whitespace after a prefix operator.
7041
7042Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com>
7043
7044 * configure.in (i386-*-beos{pe,elf,}*): Recognize.
7045
7046Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
7047
7048 * config/tc-sparc.c (log2): New static function.
7049 (s_reserve): Use log2 to convert alignment before calling
7050 record_alignment.
7051 (s_common): Use log2 to convert alignment before calling
7052 record_alignment and frag_align.
7053 (sparc_cons_align): Use log2.
7054
7055Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com>
7056
7057 * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
7058 (s_common): Likewise.
7059
7060 * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
7061 initialization of waddr.
7062 (sparc_elf_final_processing): Add default case to switch.
7063
7064Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7065
7066 * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
7067 than temporary real.
7068
7069Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com>
7070
7071 * write.c (subsegs_finish): Don't align the segments if there were
7072 any errors.
7073
7074 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
7075 copying aux information.
7076
7077 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
7078 expression into a symbol.
7079
7080Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7081
7082 * config/tc-i386.c (mode_from_disp_size): Change arg and return
7083 type to unsigned int.
7084 (md_assemble): Change type used to store offsets from unsigned
7085 long to long.
7086 (i386_operand): Switch error check to only call RESTORE_END_STRING
7087 once after parse_register.
7088
7089Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com>
7090
7091 * config/tc-v850.c (md_show_usage): Changed format to match that
7092 of gcc, ld, etc.
7093
7094 * as.c (show_usage): Changed format to match that of gcc, ld, etc.
7095
7096Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7097
7098 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
7099 relocs.
7100 (md_apply_fix_2): Force the symbol of the vtable reloc to be
7101 weak.
7102
7103Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com>
7104
7105 * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
7106 * doc/Makefile.in: Rebuild.
7107
7108Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com)
7109
66778679
RH
7110 * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
7111 for %lo expressions.
7112 (mips_ip, case 'u'): Move range check after code to mask
7113 off bits in %hi/%lo expressions. Mask off high bits for
7114 %lo expressions.
252b5132
RH
7115
7116Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
7117
7118 * doc/Makefile.am (gasver.texi): New target.
7119 (as.info, as.dvi): Depends upon gasver.texi.
7120 * doc/as.texinfo: Include gasver.texi. Mention version number on
7121 title page and in top node.
7122 * doc/Makefile.in: Rebuild.
7123
7124Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
7125
7126 * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
7127 but not including the line containing the edict.
7128 * listing.h (LISTING_EOF): New.
7129 * input-scrub.c (input_scrub_next_buffer): Call it.
7130
7131Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7132
7133 * config/tc-i386.c (i386_operand): Don't set the size of an
3e87a760 7134 immediate address based solely on the suffix and the mode.
252b5132
RH
7135
7136 * config/tc-i386.c (md_assemble): Add assertion to make sure
7137 overlap2 does not set Imm.
7138
7139 * config/tc-i386.c (space_chars): Remove. The scrubber converts
7140 sequences of whitespace to a single space.
7141 (is_space_chars): Just compare with space.
7142 (md_begin): Don't initialize space_chars.
7143 (md_assemble): Just skip a single whitespace character.
7144 (i386_operand): Rewrite base-index parsing to use new
7145 parse_register, and to skip white space. Skip white space in a
7146 number of other places too. Don't give error message if
7147 parse_register fails.
7148 (parse_register): Change reg_string parameter to be non-const.
7149 Add end_op parameter. Skip white space after the `%', and return
7150 end of register string. Give error message here rather than
7151 caller.
7152
7153Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com>
7154
7155 Based on patch from Matt Semersky <matts@scd.hp.com>:
7156 * expr.c (op_encoding): Make const.
7157 (expr_set_precedence): New function.
7158 (expr_begin): Don't set operator rankings, just call
7159 expr_set_precedence.
7160 * expr.h (expr_set_precedence): Declare.
7161 * read.c (s_mri): Call expr_set_precedence.
7162
7163Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com>
7164
7165 * doc/as.texinfo (Statements): Remove paragraph discussing
7166 continuing lines with a backslash. This hasn't worked for years,
7167 if it ever did.
7168
7169Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
7170
66778679 7171 * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
252b5132
RH
7172 symbol definitions.
7173 (Ctors_Symbols, Dtors_Symbols): New symbol chains.
7174 (ps_CTORS, ps_DTORS): New section types.
7175 (vms_fixup_xtors_section): New function
7176 (Ctors_Psect, Dtors_Psect): Define.
7177 (IS_GXX_XTOR): Define
7178 (global_symbol_directory): Change check of gxx_bug_fixed to 0.
7179 Filter static constructors/destructors and add to
7180 Ctors_Symbols/Dtors_Symbols chain.
7181 (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
7182 appropriate section.
7183
66778679 7184 * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
252b5132
RH
7185 * makefile.vms: Merge vax/vms support.
7186
7187Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com>
7188
7189 * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
7190 (elf_pseudo_table): Add them.
7191 * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
7192 (md_apply_fix): Accept them.
7193 (mips_fix_adjustable): Don't adjust them.
7194 (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
7195 * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
7196 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
7197 (tc_fix_adjustable): Don't adjust them.
7198
7199Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com>
7200
7201 * Makefile.am (CGEN_CPU_PREFIX): New variable.
7202 (cgen.o): Use it.
7203 * Makefile.in: Regenerate.
7204 * configure.in: AC_SUBST cgen_cpu_prefix.
7205 * configure: Regenerate.
7206
7207Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7208
7209 * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
7210 Changed all users of COND12_DELAY.
7211
7212Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
7213
7214 * config/tc-mn10300.c (set_arch_mach): New function.
7215 (md_pseudo_table): Add pseudo-ops to set the current machine type.
7216 (md_begin): Default to mn10300 mode.
7217 (md_assemble): Only accept instructions for the core mn10300
7218 chip and the active machine type.
7219
7220Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com>
7221
7222 * subsegs.h (segment_info_type): Give the struct a name.
7223 * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
7224 * config/tc-h8500.h (tc_reloc_mangle): Declare.
7225 * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
7226 * config/tc-w65.h (tc_reloc_mangle): Declare.
7227 * config/tc-z8k.h (tc_reloc_mangle): Declare.
7228
7229Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com>
7230
66778679
RH
7231 * config/tc-v850.c (v850_comm): Restore old section
7232 after common processing.
252b5132
RH
7233
7234Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
7235
7236 * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
7237
7238Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com>
7239
7240 * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
7241 char with code that explicitly sign-extends.
7242
7243Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
3e87a760 7244
252b5132
RH
7245 * config/tc-v850.c (md_begin): Restore text section as the current
7246 section after creating call table sections.
7247 * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
3e87a760 7248 code.
252b5132
RH
7249
7250 * config/obj-coff.c (c_symbol_merge): Replace complex expresion
7251 with call to macro SYM_AUXINFO.
7252
7253Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
7254
7255 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
7256 with the program transform name.
7257 * Makefile.in: Rebuild.
7258
7259Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com>
7260
7261 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
7262 information.
7263
7264Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com>
7265
7266 * config/tc-i386.c (i386_operand): Be prepared for a space between
7267 the open parenthesis and the start of the register operand,
7268 because of the June 16 change.
7269
7270Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com>
7271
7272 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
7273 BFD_ASSEMBLER.
7274
7275Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com>
7276
7277 * config/tc-d30v.c (d30v_align): Always perform alignment request,
7278 even if it is belived to be unnecessary.
7279
7280Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com>
7281
7282 * write.c (adjust_reloc_syms): Never adjust relocs against weak
7283 symbols.
7284 * config/tc-mips.c (md_apply_fix): Adjust accordingly.
7285
7286Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com)
7287
7288 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
7289 shift amount for a repeated operand. The shift amount for the
7290 repeated copy comes from the size of the operand.
7291
7292Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com)
7293
7294 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
7295
7296Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
7297
7298 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
7299
7300Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7301
7302 * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
7303 characters in it as LEX_IS_SYMBOL_COMPONENT.
7304 * config/tc-i386.h (tc_symbol_chars): Define.
7305 (extra_symbol_chars): Declare.
7306 * config/tc-i386.c (extra_symbol_chars): Define.
7307 (comment_chars): Don't use '/' as comment start if TE_LINUX.
7308 (line_comment_chars): Set to '/' if TE_LINUX.
7309 * doc/c-i386.texi (i386-prefixes): Update.
7310 * doc/internals.texi (CPU backend): Document tc_symbol_chars.
7311
7312Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com>
7313
7314 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
7315 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
7316
73171998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
7318
7319 * config/tc-d10v.c (md_apply_fix3): Checking displacement
7320 constraint in instructions REP & REPI.
7321
7322Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com>
7323
7324 * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
3e87a760 7325 BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
252b5132
RH
7326
7327 (check_range): If the operand is shifted, then shift the number
7328 before checking its range.
7329
3e87a760 7330 * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
252b5132
RH
7331
7332 * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
7333 common sections.
7334
7335Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com>
7336
7337 * config/tc-v850.c (v850_comm): Create special sections as needed.
7338
73391998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
7340
7341 * config/tc-d10v.c (write_2_short): Addition of swapping
7342 instructions for sequential and reverse sequential order when
7343 given order is not possible.
7344
7345Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
7346
7347 * Makefile.am: Rebuild dependencies.
3e87a760 7348 (DEP_INCLUDES): Fix reference to intl build directory.
252b5132
RH
7349 * Makefile.in: Rebuild.
7350
7351Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7352
7353 * doc/c-i386.texi: Update 16 bit documentation.
7354
7355 * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
7356 IgnoreDataSize to IgnoreSize as they are used for address size as
7357 well as data size.
7358 * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
7359 32-bit mode, similarly addr16/data16 and variants.
7360
7361Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com>
7362
7363 * config/tc-d30v.c (md_assemble): Fix handling of reverse
7364 sequential word multiply instructions.
3e87a760 7365
252b5132
RH
7366 (do_assemble): Add extra command line argument, to allow mul32
7367 attribute to be preserved across parallel insns.
7368 (md_assemble): Insert NOPs between explicitly parallel insns which
7369 contain an 32 bit multiply and a 16 multiply.
7370
7371Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7372
7373 * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
7374 likewise for REPE.
7375
7376 * config/tc-i386.c (reloc): Add braces.
7377
7378 * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
7379 consistent with Intel naming.
7380 * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
7381 use bitfields in sib_byte.
7382 (modrm_byte): Don't use bitfields here either.
7383
7384 * config/tc-i386.c (current_templates): Add const.
7385 (parse_register): Add const to return, param, and char *s.
7386 (i386_operand): Add const to reg_entry *r.
7387 * config/tc-i386.h (templates): Add const to start, end.
7388
7389 Inspired by code for 16 bit gas support from Martynas Kunigelis
7390 <martynas@nm3.ktu.lt>:
7391 * config/tc-i386.c (md_assemble): Add full support for 16 bit
7392 modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
7393 (uses_mem_addrmode): Remove.
7394 (md_estimate_size_before_relax): Add support here too.
7395 (md_relax_table): Rewrite interface to md_relax for 16 bit
7396 support.
7397 (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
7398 (opcode_suffix_to_type): Remove.
7399 (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
7400 (SIZE_FROM_RELAX_STATE): Modify to suit above.
7401 (md_convert_frag): Likewise.
7402 (i386_operand): Add support for 16 bit base/index regs,
7403 immediates, and displacements. Remove some unnecessary casts, and
7404 localise end_of_operand_string, displacement_string_start,
7405 displacement_string_end variables. Add GCC_ASM_O_HACK.
7406 * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
7407
7408 * config/tc-i386.c (prefix_hash): Remove.
7409 (md_begin): Rewrite without obstacks. Remove prefix hash table
7410 handling. Rewrite lexical table handling.
7411 (i386_print_statistics): Don't print prefix statistics.
7412 (md_assemble): Rewrite instruction parser so that line is not
7413 converted to lower case. Don't do a hash_find for prefixes,
7414 instead recognise them via opcode modifier.
7415 (expecting_operand, paren_not_balanced): Localise variables.
7416 * config/tc-i386.h (IsPrefix): Define.
7417 (prefix_entry): Remove.
7418
7419 * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
7420 * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
7421 '\\' in case where comment_chars contains '/'.
7422
7423 * config/tc-i386.c (MATCH): Ensure given operand and template
7424 match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
7425 you must write `ljmp *table(%ebx)'.
7426
7427 From H.J. Lu <hjl@gnu.org>:
7428 * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
7429 as 0 ifndef BFD_ASSEMBLER.
7430 (md_assemble): Allow immediate operands without suffix or
7431 other reg operand to default in size to the current code size.
7432
7433Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
3e87a760 7434
66778679
RH
7435 * config/tc-v850.c (md_begin): Restore creation of
7436 .call_table_text and .call_table_data sections.
252b5132
RH
7437
7438Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com>
7439
7440 * config/tc-d30v.c (md_assemble): Set execution type to unknown
7441 after emitting a word of noops.
7442
7443Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7444
7445 * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
7446 (i386_operand): Simplify checks for valid base/index combinations.
7447 Disallow `in 4(%dx),%al'.
7448
7449 * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
7450 index_reg const.
7451 (add_prefix): Change parameter from char to int.
7452
7453 * config/tc-i386.h (Ugh): Define opcode modifier.
7454 * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
7455
7456 * config/tc-i386.c (md_assemble): Rewrite MATCH and
7457 CONSISTENT_REGISTER_MATCH macros to check register types more
7458 thoroughly. Check for illegal suffix/operand combinations
7459 when matching insns with operands. Handle new `s' suffix, and
7460 associated FloatMF opcode modifier for float insns with memory
7461 operands.
7462 * config/tc-i386.h (FloatMF): Define new opcode modifier.
7463 (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
7464 (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
7465 * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
7466 DATA_PREFIX_OPCODE throughout.
7467
7468 * config/tc-i386.c (REGISTER_WARNINGS): Define.
7469 (md_assemble): Rewrite suffix/register operand checking code to be
7470 more thorough. Remove Abs8,16,32. Change occurrences of Mem to
7471 AnyMem, the better to grep.
7472 (pi): Remove Abs.
7473 (i386_operand): Don't set Mem bits in i.types[this_operand] when
7474 given a memory operand. Don't set Abs bits either.
7475 (type_names): Remove Mem*, Abs*.
7476 * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
7477 define opcode_modifiers as these cases are handled by Disp8,
7478 Disp16, Disp32 and suffix checks.
7479 (COMES_IN_BOTH_DIRECTIONS): Remove.
7480 (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
7481
7482 * config/tc-i386.c (md_assemble): Don't emit operand size prefix
7483 if IgnoreDataSize modifier given. Remove ShortformW modifier
7484 test. Add test for ShortForm in W base_opcode modification.
7485 Merge Seg2ShortForm and Seg3ShortForm code.
7486 * config/tc-i386.h (ShortFormW): Remove.
7487 (IgnoreDataSize): Define.
7488
7489Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com>
7490
7491 * config/tc-d30v.c (md_assemble): Store previous segment state
7492 with previous instruction.
7493
50705ef4 7494Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
252b5132
RH
7495
7496 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
7497 (ebp, esp): Remove static variables.
7498 (MATCH): Remove test for InOutPortReg.
7499 (i386_operand): Properly handle InOutPortReg here instead.
7500 Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
7501 (md_assemble): Simplify and correct modrm and sib generation.
7502 (i386_operand): Add warning for scale without index.
7503 Rewrite checks for valid base/index combinations.
7504
7505 * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
7506 macros and enclose in do while(0).
7507 (RESTORE_END_STRING): Likewise.
7508 (md_assemble): Add one to printed operand number so we start
7509 from 1 not 0. Add some more gettext invocations.
7510 (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
7511 number here too.
7512
7513 * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
7514 DATA_PREFIX, SEG_PREFIX): Define.
7515 * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
7516 (check_prefix): Remove function.
7517 (add_prefix): New function. Add prefix to i.prefix as well as
7518 doing checks.
7519 (md_assemble): Changes for add_prefix. Remove hack for wait
7520 prefix, instead always output prefixes in fixed order. Test
7521 for jcxz/loop when selecting between word & dword operations,
7522 and add address size prefix rather than operand size prefix.
7523 Remove operand -> address size hack when emitting jcxz/loop.
7524 (i386_operand): Remove O_Absent check as it's done in expr.
7525
7526Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com>
7527
7528 * configure.in: Recognize m5200 as a cpu_type of m68k.
7529 * aclocal.m4: Rebuild with current libtool.
7530 * configure: Rebuild.
7531
7532Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7533
7534 * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
7535 to relaxable_symbol to prevent references to external symbol from
7536 being relaxed.
7537
7538Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com>
7539
7540 * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
7541 symbols are relaxable.
7542
7543Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com>
3e87a760 7544
66778679
RH
7545 * config/tc-v850.c (md_begin): Don't create special
7546 sections by default.
3e87a760 7547
252b5132
RH
7548Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com)
7549
7550 * config/tc-mips.c (macro): For div and udiv, close the
7551 reorder block as soon as possible.
7552
7553Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com>
7554
7555 From Matt Semersky <matts@scd.hp.com>:
7556 * macro.c (macro_mri_mode): New function.
7557 * macro.h (macro_mri_mode): Declare.
7558 * read.c (s_mri): Call macro_mri_mode when switching in and out of
7559 MRI mode.
7560
7561Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
7562
7563 * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
7564 OBJ_EVAX case.
7565
7566 * config/tc-alpha.c (s_alpha_comm): Defer restoring character
7567 until after xstrdup in OBJ_EVAX case.
7568
7569Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
7570
7571 * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
7572 offset calculation. Also, use VAX_BRW from vax-inst.h instead
7573 of hardcoded magic number.
7574 (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
7575
7576Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com>
7577
7578 * read.c (do_s_func): New function.
7579 (s_func): Call it.
7580 * read.h (do_s_func): Add prototype.
7581
7582Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com>
7583
7584 * config/tc-m32r.c (m32r_do_align): Only fill code sections with
7585 nops if fill pattern not specified.
7586
7587Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com>
7588
7589 From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
7590 * config/te-go32.h (TE_GO32): Define.
7591 * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
7592
7593Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com>
7594
7595 Implement .func/.endfunc pseudo-ops.
7596 * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
7597 (s_func): Declare.
7598 * read.c (potable): Add .func,.endfunc.
7599 (s_func): New function.
7600 * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
7601 functions.
7602 (in_doc_func_p,current_function_label): New static globals.
7603 (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
7604
7605Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com>
7606
7607 * config/tc-a29k.h (WORKING_DOT_WORD): Define.
7608 * config/tc-alpha.h (WORKING_DOT_WORD): Define.
7609 * config/tc-arm.h (WORKING_DOT_WORD): Define.
7610 * config/tc-h8300.h (WORKING_DOT_WORD): Define.
7611 * config/tc-h8500.h (WORKING_DOT_WORD): Define.
7612 * config/tc-hppa.h (WORKING_DOT_WORD): Define.
7613 * config/tc-i860.h (WORKING_DOT_WORD): Define.
7614 * config/tc-i960.h (WORKING_DOT_WORD): Define.
7615 * config/tc-tic30.h (WORKING_DOT_WORD): Define.
7616 * config/tc-w65.h (WORKING_DOT_WORD): Define.
7617 * config/tc-z8k.h (WORKING_DOT_WORD): Define.
7618 * config/tc-a29k.c: Don't define md_short_jump_size,
3e87a760 7619 md_long_jump_size, md_create_short_jump or md_create_long_jump.
252b5132
RH
7620 * config/tc-alpha.c: Likewise.
7621 * config/tc-alpha.h: Likewise.
7622 * config/tc-arm.c: Likewise.
7623 * config/tc-h8300.c: Likewise.
7624 * config/tc-h8500.c: Likewise.
7625 * config/tc-hppa.c: Likewise.
7626 * config/tc-i860.c: Likewise.
7627 * config/tc-i960.c: Likewise.
7628 * config/tc-ppc.c: Likewise.
7629 * config/tc-sh.c: Likewise.
7630 * config/tc-sparc.h: Likewise.
7631 * config/tc-tic30.c: Likewise.
7632 * config/tc-w65.c: Likewise.
7633 * config/tc-z8k.c: Likewise.
7634
7635Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
7636
7637 * config/tc-vax.c (_): Delete this macro used for placeholder
7638 values in vax_operand_width_size; it conflicts with the _() macro
7639 used for internationalization.
7640
7641Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com>
7642
7643 * symbols.c (symbol_find_base): Fix case insensitive symbol name
7644 code. From Chris Moller <moller@bops.com>.
7645
7646 Based on patch from Klaus Kaempf <kkaempf@progis.de>:
7647 * struc-symbol.h (struct broken_word): Add seg and subseg fields.
7648 * read.c (emit_expr): Initialize seg and subseg fields of a new
7649 broken word.
7650 * write.c (write_object_file): Switch to the appropriate segment
7651 and subsegment when processing a broken word.
7652
7653 * config/tc-m68k.c (mri_assemble): New static function.
7654 (build_mri_control_operand): Call mri_assemble rather than
7655 md_assemble.
7656 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
7657 (s_mri_endf, s_mri_endw): Likewise.
7658
7659Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com>
7660
7661 * read.c (s_org): Call md_flush_pending_output if it is defined.
7662
7663 * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
7664
7665Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com>
7666
7667 * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
7668 (md_parse_option): Add for same.
7669 (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
7670 (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
7671 (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
7672
7673 * config/tc-sparc.h (cons_fix_new_sparc): Added.
3e87a760 7674
252b5132
RH
7675Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com>
7676
7677 * config/tc-arm.c (find_real_start): Relax definition of local
7678 labels.
7679
7680Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com>
7681
7682 * config/tc-d30v.c (d30v_align): Apply address adjustment to all
7683 symbols at the given address, not just the last one specified.
7684
7685Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com>
7686
66778679
RH
7687 * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
7688 or number_to_chars_littleendian to write data.
252b5132
RH
7689
7690Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com>
7691
7692 * config/tc-v850.c (md_assemble): Remove artificially created
7693 register name symbols.
7694
7695Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com>
7696
7697 * write.c (fixup_segment): Change "segment" to "section" in
7698 error message.
7699
7700Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com>
7701
7702 * write.c (fixup_segment): Change sym1-sym2 message again.
7703
7704Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com>
7705
7706 * write.c (fixup_segment): Improve error message for sym1-sym2
7707 errors when sym1 is in a different segment from sym2.
7708
7709Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
7710
7711 * config/tc-m32r.c (warn_unmatched_high): New static local.
7712 (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
7713 (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
7714 (md_longopts): Recognize --{no-,}warn-unmatched-high.
7715 (md_parse_option): Likewise.
7716 (md_show_usage): Likewise.
7717 (m32r_frob_file): Likewise.
7718
7719 * read.c (generate_file_debug,generate_lineno_debug): New functions.
7720 (read_a_source_file): Call them.
7721 * read.h (stabs_generate_asm_file): Declare.
7722 * stabs.c (stabs_generate_asm_file): New function.
7723 (generate_asm_file): New function.
7724 (stabs_generate_asm_lineno): Move file name handling into
7725 generate_asm_file.
7726
7727Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
7728
7729 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
66778679
RH
7730 (d30v_current_align, d30v_current_align_seg): New variables.
7731 (d30v_last_label): New variable.
7732 (d30v_align, s_d30v_align, s_d30v_text): New functions.
7733 (s_d30v_data, s_d30v_section): Likewise.
7734 (md_pseudo_table): Call them.
7735 (md_begin): Initialize d30v_current_align_seg.
7736 (md_assemble): Call d30v_align when needed by known current alignment.
7737 (d30v_frob_label, d30v_cons_align): New functions.
7738 * config/tc-d30v.h (md_do_align): Remove.
7739 (tc_frob_label): Call d30v_frob_label.
7740 (md_cons_align): New.
252b5132 7741
3e87a760 7742 * config/tc-d30v.c (find_format): Convert complex expressions to
252b5132
RH
7743 expression symbols before processing. Clean up code formatting.
7744
7745Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com)
7746
7747 * po/Make-in (install-info): New target.
7748
7749Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com)
7750
7751 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
7752 instructions.
7753 * config/tc-mn10300.c (md_assemble): Likewise.
7754
7755Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com>
7756
7757 * Makefile.am: Update with `make dep-am'.
7758 (HFILES): Add cgen.h.
7759 (cgen.o): Depend on cgen.h.
7760 * Makefile.in: Regenerate.
7761
7762 * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
7763
7764Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
7765
7766 * gasp.c (grab_label): Permit a label to be a preprocessor
7767 variable by permitting a label to start with a backslash.
7768
7769Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
7770
7771 * config/tc-mips.c (validate_mips_insn): Removed hack
7772 for previously inaccessible bitfields in some INSN_TRAP
7773 instructions.
7774
7775Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com>
7776
7777 * config/tc-d30v.c (do_assemble): Abort with error message
7778 if opcode operands do not match.
3e87a760 7779
252b5132
RH
7780Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com>
7781
7782 * config/tc-mips.c (macro_build, validate_mips_insn): Implement
7783 'q' operand format for 20-bit "break"/"sdbbp" instructions.
7784 (mips_ip): Truncate overflowed "break" 'c' operand. Implement
7785 similar new 'q' operand.
7786
7787Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com>
7788
7789 * cgen.c (cgen_asm_finish_insn): Fix typo.
7790
7791Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com>
7792
7793 * cgen.h: New file.
7794 * cgen.c: Include it.
7795 (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
7796 (cgen_asm_finish_insn): Result is now void. New arg `result'.
7797 All callers updated.
7798 * config/tc-m32r.c: Include cgen.h.
7799 (m23r_insn): New members num_fixups,fixups.
7800
7801Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com)
7802
7803 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
7804 to avoid compiler warning.
7805
7806Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
7807
7808 * makefile.vms: Run dec c with /nodebug. Pass CC value when
7809 calling make.
7810
66778679 7811 * makefile.vms (OBJS): Add ehopt.obj
252b5132
RH
7812
7813Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
7814
7815 * doc/c-vax.texi: Correct and extend vax/vms documentation.
7816
7817Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com>
7818
7819 * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
7820 a short format insn.
7821 (md_assemble): Set it for explicitly packed insns.
3e87a760 7822
252b5132
RH
7823Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com>
7824
7825 * config/obj-coff.c (c_symbol_merge): Do not take address of
7826 native fields when performing the memcpy.
7827
7828Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com>
7829
3e87a760 7830 * config/tc-mips.c (macro,macro2): Implement
252b5132
RH
7831 M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
7832
7833Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7834
7835 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
7836 relocations against globally visible symbols.
7837 * config/tc-m68k.c (relaxable_symbol): New macro.
7838 (m68k_ip, md_estimate_size_before_relax): Use it.
7839 (tc_m68k_fix_adjustable): Also handle weak symbols.
7840
7841Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com>
7842
7843 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
7844 references to externally visible symbols.
7845 * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
3e87a760
AM
7846 values in twice for a PC relative reloc if the symbol is
7847 externally defined.
252b5132
RH
7848
7849 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
7850 don't adjust a PC relative reloc against an externally visible
7851 symbol.
7852 * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
7853 for a PC relative fixup against an externally visible defined
7854 symbol, arrange to store object file and addend values as though
7855 the symbol were not defined.
7856 (tc_gen_reloc): Likewise.
7857
7858Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com>
7859
7860 * read.c (sizeof_leb128): Referenced externally by write.c so
7861 don't inline.
7862
7863Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com>
7864
7865 * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
7866 and expand a 'debug' symbol associated with the next instruction
7867 that does not cause a short instruction to be filled with a NOP.
7868 (md_pseudo_table): Add support for .debugsym.
7869 (assemble_parallel_insn): Add calls to expand_debug_sym as
7870 appropriate.
7871 (md_assemble): Ditto.
7872
7873Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
7874
7875 * as.c (main): Conditionally call setlocale.
7876 * gasp.c (main): Likewise.
7877 * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
7878 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
7879
7880Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
7881
7882 * config/tc-d30v.c (md_show_usage): Correct gettext typo.
3e87a760 7883
252b5132
RH
7884Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com>
7885
7886 * config/tc-hppa.c: Change all calls to bzero to use memset.
7887 (pa_ip): Add cast to avoid warning.
7888 (tc_gen_reloc, md_apply_fix): Likewise.
7889 (pa_find_space_by_number): Likewise.
7890 (hppa_force_relocation): Likewise.
7891 (pa_block): Change i to unsigned int.
7892 * config/obj-som.h (obj_som_copyright): Declare.
7893
7894Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com>
7895
7896 * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
7897 for line numbers for assembly source.
7898
7899Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com>
7900
7901 * configure.in: Change version number to 2.9.4
7902 * configure: Rebuild.
7903
7904Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com>
7905
7906 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
7907
7908Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com>
7909
7910 * ecoff.h: Change symbolS in function declaration to struct
7911 symbol.
7912
7913Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com>
7914
7915 * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
7916 (md_convert_frag): Fix i18n typo.
7917
7918Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com>
7919
7920 * ecoff.c (ecoff_get_cur_proc_sym): New function.
7921 * ecoff.h: Protoype it.
7922 * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
7923 [EVAX] (s_alpha_prologue): Delete.
7924 (md_pseudo_table): Update.
7925
7926Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com>
7927
7928 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
7929 array to local pointer.
7930 (get_args, parse_expr): Add casts to avoid warnings.
7931
7932Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
7933
7934 * read.c (s_set): Cast xmalloc return value to fragS *.
7935 * config/tc-m68k.c (m68k_ip): Function made static to match
7936 previous forward declaration.
7937 (insert_reg, init_regtable, md_convert_frag_1): Likewise.
7938
7939Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com>
7940
7941 * config/tc-v850.c: Add internationalisation macros to error
3e87a760 7942 strings.
252b5132
RH
7943
7944 * config/tc-m32r.c (can_make_parallel): Add internationalisation
7945 macros to error strings.
7946
7947Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com>
7948
7949 * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
7950 reloc is in the TOC csect.
7951 (md_apply_fix3): Correct gettext typo.
7952
7953Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com>
7954
7955 * config/tc-arm.c (find_real_start): Ignore symbols starting with
7956 .L - they are local labels and the branches are not really
7957 function calls but rather far jumps.
7958
7959Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com>
7960
7961 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
7962
7963Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com>
7964
7965 * config/tc-i386.c (md_assemble): Print operand number rather than
7966 using ordinal_names.
7967 (i386_operand): Likewise.
7968
7969Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com>
7970
7971 * Makefile.am (INTLLIBS): Define to work around apparent automake
7972 bug.
7973 All Makefiles: Regenerated.
7974
7975 * Many files: Added gettext invocations around user-visible
7976 strings.
7977 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
7978 HAVE_LC_MESSAGES): Define.
7979 * dep-in.sed: Added asintl.h.
7980 * po/Make-in: New file.
7981 * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
7982 Include "asintl.h".
7983 * read.c (Z_): Renamed from `_'.
7984 * Makefile.am (SUBDIRS): Added po.
7985 (POTFILES): new macro.
7986 (po/POTFILES.in): New target.
7987 ($(OBJS)): Added asintl.h.
7988 (HFILES): Likewise.
7989 (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
7990 (as_new_LDADD): Added $(INTLLIBS).
7991 (as_new_DEPENDENCIES): Added $(INTLDEPS).
7992 (gasp_new_LDADD): Added $(INTLLIBS).
7993 (gasp_new_DEPENDENCIES): New macro.
7994 * configure, aclocal.m4: Rebuilt.
7995 * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
7996 po/Makefile.
7997 (ALL_LINGUAS): Define.
7998 * macro.c: Include "asintl.h".
7999 * as.c (main): Call setlocale, bindtextdomain, and textdomain.
8000 * as.h: Include "asintl.h".
8001 * config/tc-i386.c (ordinal_names): Removed.
8002 (md_assemble): Changed error text to avoid ordinal_names.
8003 (i386_operand): Likewise.
8004 (reloc): Added as_bad to avoid i18n problems.
8005 (tc_gen_reloc): Likewise.
8006 * config/tc-arm.c (bad_args): Now a #define.
8007 (bad_pc): Likewise.
8008 * config/obj-vms.c (VMS_stab_parse): Changed type of
8009 `long_const_msg'.
8010 (global_symbol_directory): Unified strings to avoid i18n
8011 problems.
8012 * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
8013 avoid i18n problems.
8014 * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
8015 * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
8016 i18n problems.
8017 * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
8018 problems.
8019 * config/tc-v850.c (md_assemble): Changed C++ comment into C
8020 comment.
8021 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
8022 problems.
8023 * as.c (print_version_id): Added an fprintf to avoid i18n
8024 problems.
8025 * cond.c (cond_finish_check): Added as_bad call to avoid i18n
8026 problems.
8027 * expr.c (expr): Added as_warn call to avoid i18n problems.
8028 * messages.c (as_assert): Changed code to avoid i18n problems.
8029 (as_abort): Likewise.
8030 * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
8031 (s_space): Likewise.
8032 * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
8033
8034Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
8035
8036 * config/tc-i386.c (check_prefix): New static function, split out
8037 from md_assemble.
8038 (struct _i386_insn): Add wait_prefix field.
8039 (md_assemble): Remove wait_prefix local variable. Use
8040 check_prefix when adding a prefix.
8041
8042 * config/tc-i386.c (current_templates): New static variable.
8043 (md_assemble): Remove current_templates local variable.
8044 (md_assemble, i386_operand): Improve error and warning messages in
8045 many places. Add RESTORE_END_STRING in many places before error
8046 return. Clarify some comments.
8047
8048 * config/tc-i386.c (struct _i386_insn): Change seg field to a two
8049 element array.
8050 (md_assemble): Parse string instruction operands, looking for
8051 segment override prefixes. Check for invalid segment prefixes on
8052 string instruction.
8053 (i386_operand): i.seg[] and max mem_operand changes for string
8054 insns.
8055 * config/tc-i386.h (EsSeg): Define.
8056
8057 * config/tc-i386.h (regKludge): Define.
8058 (iclrKludge, imulKludge): Don't define.
8059 * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
8060 code. Move ReverseRegRegmem fudges into Modrm case. Reorder
8061 opcode_modifier checks to look for more common cases first. Add
8062 default_seg for IsString case.
8063
8064Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com>
8065
8066 * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
8067 AC_DECL_YYTEXT.
8068 * configure: Rebuild with new automake and libtool.
8069 * aclocal.m4, Makefile.in: Likewise.
8070
8071 * doc/Makefile.am (as.dvi): New target.
8072 * doc/Makefile.in: Rebuild.
8073
8074Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
8075
8076 * configure.in: Added sparc86x support.
3e87a760 8077
252b5132 8078 * configure: Rebuild.
3e87a760 8079
252b5132
RH
8080 * config/tc-sparc.c (lookup_arch): Added arch_type to struct
8081 sparc_arch.
8082 (md_parse_option): Warn if -EL is not supported for this architecture.
8083
8084 * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
3e87a760 8085
252b5132
RH
8086Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com)
8087
66778679
RH
8088 * config/tc-mips.c (mips_ip): Note when we use get match on
8089 the full instruction name.
252b5132
RH
8090
8091Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com>
8092
8093 * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
8094 back into the expression to handle add/sub simplification correctly.
8095
8096Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
8097
66778679 8098 * config/tc-mips.c (hilo_interlocks): Remove 4300.
252b5132
RH
8099
8100Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com>
8101
8102 * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
8103 #<n>' instruction.
8104
8105Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com>
8106
8107 * symbols.c (max_indent_level): New global.
8108 (print_symbol_value_1): Use it.
8109 * expr.h (expr_build_dot): Declare.
8110 * expr.c (expr_build_dot): New function.
8111
8112Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com>
8113
8114 * symbols.c (print_binary): New function.
8115 (print_expr_1): Call it.
8116
8117Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8118
8119 * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
8120 operand in the opcode.
8121
8122Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
8123
8124 * config/tc-i386.h: Reorder operand flags and opcode modifier
8125 flags for clarity. Remove unused definitions: Unknown,
8126 ImmUnknown, DispUnknown, NoModrm.
8127 * config/tc-i386.c (type_names): Add missing Debug type.
8128 (md_assemble): Better duplicate prefix checking. Quicker string
8129 instruction check via new opcode_modifier flag.
8130
8131Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com>
8132
8133 * doc/as.texinfo (Invoking): Clarify -Wa example.
8134
8135Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com>
8136
3e87a760 8137 * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
252b5132
RH
8138 (s_mips_weakext): Define.
8139 * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
3e87a760
AM
8140 * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
8141 defined(TC_MIPS).
8142
252b5132
RH
8143Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com)
8144
8145 * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
8146 is an error if the value can not be computed at assembly time.
8147 * config/tc-mn10300.c (tc_gen-reloc): Likewise.
8148
8149Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
8150
8151 * gasp.c (main): Set next field of new include_path structure to
8152 NULL. From Avery Pennarun <averyp@gdc.ca>.
8153
8154 * read.c (s_mri_sect): Call as_bad rather than abort for an
8155 unsupported MRI target.
8156
8157Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
8158
8159 * config/tc-arm.c (arm_validate_fix): New function. Determine if
8160 the destination of a branch instruction should be altered.
8161 (find_real_start): New function: Locate the real, Thumb coded
8162 start of a Thumb function.
8163 (do_t_branch23): Alter the destination of branches to Thumb
3e87a760 8164 functions.
252b5132
RH
8165
8166 * config/tc-arm.h: Define TC_VALIDATE_FIX.
8167
8168Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com>
8169
8170 * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
8171 also.
8172
8173Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8174
8175 * doc/as.texinfo: Use @itemx for a secondary item in a table.
8176 * doc/c-hppa.texi: Likewise.
8177
8178Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com>
8179
8180 * Makefile.am: Rebuild dependencies.
8181 * Makefile.in: Rebuild.
8182
8183 * Makefile.am (DEP_INCLUDES): New variable.
8184 (.dep1): Change to work when srcdir is not an absolute path.
8185 (.tcdep, .objdep, .dep2, dep.sed): Likewise.
8186 * Makefile.in: Rebuild.
8187
8188Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com>
8189
8190 * config/tc-i386.h, config/tc-i386.c: Revert March 24
8191 LinearAddress patch.
8192
8193 * configure.in: Set version to 2.9.1.
8194 * configure: Rebuild.
8195
8196 * Branched binutils 2.9.
8197
8198Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
8199
8200 * config/tc-i386.h (FWait): Define.
8201 * config/tc-i386.c (md_assemble): Emit fwait prefix before any
8202 other prefixes. Check FWait flag in opcode table to see which
8203 instructions require an fwait prefix.
8204
8205Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8206
8207 * stabs.c (get_stab_string_offset): Always create a stab string
8208 section.
8209
8210Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com>
8211
8212 Fix some gcc -Wall warnings:
8213 * atof-generic.c (atof_generic): Add casts to avoid warnings.
8214 * ehopt.c (eh_frame_code_alignment): Likewise.
8215 * expr.c (integer_constant, operand): Likewise.
8216 * frags.c (frag_align): Likewise.
8217 * gasp.c (level_0, change_base, doinstr): Likewise.
8218 * hash.c (hash_ask): Likewise.
8219 * listing.c (listing_page, calc_hex, print_lines): Likewise.
8220 (debugging_pseudo): Likewise.
8221 * macro.c (define_macro, check_macro): Likewise.
8222 * read.c (read_a_source_file, s_align, s_float_space): Likewise.
8223 (ignore_rest_of_line, float_cons): Likewise.
8224 * symbols.c (decode_local_label_name): Likewise.
8225 * write.c (record_alignment, cvs_frag_to_fill): Likewise.
8226 (fixup_segment, number_to_chars_bigendian): Likewise.
8227 (number_to_chars_littleendian): Likewise.
8228 * config/atof-ieee.c (gen_to_words): Likewise.
8229 * config/tc-sparc.c (md_begin, md_assemble): Likewise.
8230 (sparc_ip, parse_keyword_arg, s_common): Likewise.
8231 * read.c (output_big_sleb128): Initialize locals to avoid
8232 warnings.
8233 (output_big_uleb128, equals): Likewise.
8234 * atof-generic.c (atof_generic): Change number_of_digits_* locals
8235 to unsigned int. Change zeros to unsigned int.
8236 * cond.c (s_if): Add return to default case.
8237 * frags.c (frag_now_fix): Change return type to addressT.
8238 * frags.h (frag_now_fix): Update declaration.
8239 * listing.c (file_info_struct): Change linenum to unsigned int.
8240 (struct list_info_struct): Change hll_line to unsigned int.
8241 (print_source): Update format string.
8242 * read.c (emit_expr): Change scan to unsigned int, and don't
8243 bother to initialize it.
8244 * symbols.c (dollar_label_count): Change to unsigned long.
8245 * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
8246 * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
8247 * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
8248
8249Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com>
8250
8251 * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
3e87a760 8252 mcf5200 just as we do for m68000.
252b5132
RH
8253 (m68k_init_after_args): Likewise.
8254 (md_estimate_size_before_relax): Likewise.
8255
8256Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com>
8257
8258 * config/tc-v850.c (md_assemble): Store relocation addend in
8259 fixup instead of instruction.
8260
8261Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
8262
8263 * config/tc-i386.c (md_assemble): Swap template arguments to
8264 CONSISTENT_REGISTER_MATCH macro in reverse direction test.
8265 This macro is currently symmetric, so passing them the wrong
8266 way didn't cause any problem, but may if the macro is changed
8267 in the future.
8268 After copying template to i.tm, use i.tm. rather than t-> to
8269 access fields, and make t a const*
8270 Move i.tm.operand_types[] swap to immediately after the copy.
8271
8272Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com>
8273
8274 * expr.h (expr_build_uconstant): Add prototype.
8275 (expr_build_unary,expr_build_binary): Add prototypes.
8276 * expr.c (expr_build_uconstant): New function.
8277 (expr_build_unary,expr_build_binary): New functions.
8278
8279Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
8280
66778679
RH
8281 * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
8282 * macro.c (macro_expand_body): Increase buffer size.
8283 * messages.c (as_warn): Likewise.
252b5132
RH
8284 (as_warn_where, as_bad, as_bad_where): Likewise.
8285
8286Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com>
8287
8288 Based on patch from H.J. Lu <hjl@gnu.org>:
8289 * Makefile.am (DISTSTUFF): New variable.
8290 (diststuff): New target.
8291 * Makefile.in: Rebuild.
8292
8293Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com>
8294
8295 * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
8296 m32r_elf_section_change_hook.
8297
8298 * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
8299 emit a nop if a section ends with a 16 bit instruction.
8300
8301Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com>
8302
8303 * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
8304 s_lcomm rather than obj_coff_lcomm.
8305 (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
8306
8307Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
8308
8309 * config/tc-i386.h (LinearAddress): Define.
8310 * config/tc-i386.c (md_assemble): If LinearAddress is set for the
8311 instruction, don't use a default segment.
8312
8313Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
8314
8315 * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
8316 * configure: Rebuild.
8317
8318Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com>
8319
8320 * aclocal.m4, configure: Rebuild with libtool 1.2.
8321
8322Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com>
8323
8324 * config/tc-arm.c (md_apply_fix3): fix code to test the range of
3e87a760
AM
8325 PC relative branches. Patch courtesy of Jonathan Walton.
8326
252b5132 8327
252b5132
RH
8328Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com>
8329
8330 * configure.in (emulations): Add thumb-pe target.
8331
8332 * configure (emulations): Add thumb-pe target.
8333
83341998-03-17 Ken Raeburn <raeburn@cygnus.com>
8335
8336 * itbl-lex.l (yywrap): Don't define if already defined as a
8337 macro.
8338
8339Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com>
8340
8341 * depend.c (quote_string_for_make): New function.
8342 (wrap_output): Use it.
8343
8344Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com>
8345
8346 * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
8347 structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
8348
8349Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com>
8350
8351 * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
8352 Recognize -GN and -relax.
8353 (md_begin): Initialize gp size from -G switch.
8354 (alpha_force_relocation): Always force if -relax.
3e87a760 8355 (alpha_align): Take a new argument that will specify when to
252b5132
RH
8356 emit an R_ALPHA_ALIGN relocation (though we don't do that now).
8357 Change all callers. Emit nop alignment padding as nop+unop pair.
8358
8359Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com>
8360
8361 * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
8362 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
8363
8364Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com>
8365
8366 * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
8367 require padding to the next long word boundary.
8368
8369Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com>
8370
8371 * cgen.c: #include symcat.h.
8372 * config/tc-m32r.c: Likewise.
8373
8374Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com)
8375
8376 * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
8377 absolute expressions instead of '$' prefixed register names.
8378
8379Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com>
8380
8381 * read.c (s_set): Record file and line info for symbols when -as.
8382 (pseudo_set): Don't overwrite that dummy fragment.
8383
8384Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com>
8385
8386 * config/tc-ppc.c (md_pseudo_table): Add "section".
8387 (ppc_named_section): New static function.
8388
8389Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com>
8390
8391 * tc-ppc.c (ppc_biei): Cache the last symbol we inserted
8392 so we don't have to scan the entire list.
8393
8394Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com>
8395
8396 * config/tc-d30v.c (parallel_ok): For the explicitly parallel
3e87a760
AM
8397 case, allow the parallel instructions to modify the same flag
8398 bits.
252b5132
RH
8399
8400Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com>
8401
8402 * listing.c (list_symbol_table): Categorize symbols by
8403 undefined_section rather than sy_frag->line == NULL.
8404
8405Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
8406
8407 * Makefile.am (install-exec-local): Install properly when ln
8408 fails or tooldir == prefix.
8409
8410Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com>
8411
8412 * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
8413 Test result of insert_operand for error.
8414
8415Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
8416
8417 * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
8418 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
8419 * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
8420 * doc/Makefile.in: Rebuild.
8421
8422Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com>
8423
8424 * config/tc-mips.c (macro_build): Handle operand type 'C'.
8425 (macro): Fix handling of M_COP[0-3].
8426
8427Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com>
8428
8429 Based on patches from Ross Harvey <ross@teraflop.com>:
8430 * macro.c (ISSEP): Only treat '<' and '>' as separator characters
8431 if macro_alternate or macro_mri.
8432 (getstring): Remove support for byte constants between < and >.
8433 (get_any_string): '<' only starts a string if macro_alternate or
8434 macro_mri.
8435 (macro_expand_body): Permit keyword parameters following
8436 positional parameters.
8437
8438 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
8439 * configure.in (alpha*-*-netbsd*): New target.
8440 * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
8441 * configure: Rebuild.
8442
8443 * as.h (flag_warn_suppress_instructionswap): Move from here...
8444 * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
8445 here, and make static.
8446
8447 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
8448 BFD_ASSEMBLER or MANY_SEGMENTS.
8449
8450 * as.c (show_usage): Update bug-gnu-utils address.
8451 * gasp.c (show_usage): Likewise.
8452 * doc/as.texinfo (Bug Reporting): Likewise.
8453
8454Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com)
8455
66778679 8456 * config/tc-mips.c (load_address): Don't use mips III or mips IV
252b5132
RH
8457 insns regardless of the size of a pointer if we're in mips I or
8458 MIPS II mode.
66778679 8459 (macro, macro2, s_cprestore, s_cpadd): Likewise.
252b5132
RH
8460
8461Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8462
3e87a760 8463 Fix rac to accept only a0:
252b5132
RH
8464 * tc-d10v.c (parallel_ok, find_opcode):
8465 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
8466 Introduce OPERAND_GPR.
8467
8468Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com>
8469
8470 * read.c (s_fill): Handle non-constant repeat counts by creating
8471 an rs_space fragment.
8472
8473Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
8474
8475 * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
8476 from as_bad to as_warn.
8477
8478Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com>
8479
8480 * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
8481 * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
8482 * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
8483
8484Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com>
8485
8486 * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
8487 seg_fix_rotP rather than fix_root from seg_info.
8488
8489Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com>
8490
8491 * expr.c: Add support for 0x1_2_3_4 bignums.
8492
8493Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
8494
8495 * configure.in: Change -linux* to -linux-gnu*.
8496 * configure: Rebuild.
8497
8498 * app.c (do_scrub_begin): Treat \r as whitespace.
8499
8500Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
8501
8502 * Makefile.am: Update dependencies.
8503 * Makefile.in: Rebuild.
8504
8505Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
8506
8507 * configure, aclocal.m4: Rebuild with new libtool.
8508
8509Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com)
8510
66778679
RH
8511 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
8512 the argument to bfd_set_arch_mach.
8513 (load_address): Use bfd_arch_bits_per_address to determine the
8514 bit size of an address instead of looking at the isa level.
8515 (macro, macro2, s_cprestore, s_cpadd): Likewise.
252b5132
RH
8516
8517Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com>
8518
8519 * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
8520
8521Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com>
8522
8523 * ehopt.c: New file.
8524 * as.h (enum _relax_state): Add rs_cfa.
8525 (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
8526 (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
8527 * read.c (emit_expr): Call check_eh_frame.
8528 * write.c (cvt_frag_to_fill): Handle rs_cfa.
8529 (relax_segment): Likewise.
8530 * Makefile.am: Rebuild dependencies.
3e87a760 8531 (GAS_CFILES): Add ehopt.c.
252b5132
RH
8532 (GENERIC_OBJS): Add ehopt.o.
8533 * doc/internals.texi (Frags): Document rs_cfa.
8534
8535 * as.c (show_usage): Mention --traditional-format.
8536 (parse_args): Accept --traditional-format.
8537 * as.h (flag_traditional_format): Declare.
8538 * output-file.c (output_file_create): If flag_traditional_format,
8539 set BFD_TRADITIONAL_FORMAT on stdoutput.
8540 * doc/as.texinfo, doc/as.1: Document --traditional-format.
8541
8542 * config/tc-mips.c (append_insn): Make sure that if we have a
8543 fixup for an unmatched %hi reloc, it does not associated with a
8544 variant frag.
8545
8546 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
8547 * doc/Makefile.in: Likewise.
8548
8549Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com>
8550
8551 * config/tc-m32r.c (check_for_side_effects): New function.
8552 (can_make_parallel): Add checks for instruction side effects
8553 clashing with the other instruction.
8554 (assemble_parallel_insn): Improve warning messages. Return error
8555 message from non-swapped instruction order.
8556
8557Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk>
8558
8559 * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
8560
8561 * config/tc-arm.h: Replace md_after_pass_hook definition with a
3e87a760
AM
8562 md_cleanup definition. This moves the forced literal output to
8563 the end of the source pass, and avoids macro's inserting literals
8564 into the code immediately after the macro expansion.
252b5132
RH
8565
8566Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com>
8567
8568 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
8569 a gas internal symbol is adjustable.
8570 * config/tc-ppc.h (tc_fix_adjustable): Likewise.
8571
8572 * as.h: If gcc version greater than 2.6, use `__format__' and
8573 `__printf__' in function attributes, rather than `format' and
8574 `printf'.
8575
8576Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
8577
8578 * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
8579
8580Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
8581
8582 Add tms320c30 support:
8583 * config/tc-tic30.h: New file.
8584 * config/tc-tic30.c: New file.
8585 * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
8586 TARGET_FORMAT as "coff-tic30".
8587 * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
8588 * Makefile.am: Rebuild dependencies.
8589 (CPU_TYPES): Add tic30.
8590 (CPU_OBJ_VALID): tic30-aout is valid.
8591 (TARGET_CPU_CFILES): Add config/tc-tic30.c.
8592 (TARGET_CPU_HFILES): Add config/tc-tic30.h.
8593 * configure, Makefile.in: Rebuild.
8594
8595Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
8596
8597 * config/tc-v850.c (md_assemble): Improvements to error messages.
8598
8599Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
8600
8601 * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
3e87a760 8602 BFD_RELOC_HI16_S to store the high bits of any value.
252b5132
RH
8603
8604 * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
8605 (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
8606 assembler calculate relocations to any external symbol at all.
8607 * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
8608 involving generation of pc-relative relocs.
8609 (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
8610 has been moved to md_apply_fix3.
8611
8612 * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
8613 (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
8614 which actually means (the address of identifier's GOT entry) +
8615 constant, which is not particularly useful.
8616
8617Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com>
8618
8619 * read.h (include_dirs): Declare.
8620 (include_dir_count,include_dir_maxlen): Declare.
8621
8622Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com>
8623
8624 * configure.in: Correct check for shared opcodes library.
8625 * configure: Rebuild.
8626
8627 * listing.c (buffer_line): If we can't open the file, set at_end.
8628 (listing_print): Remove unused local variable fi.
8629
8630 * config/m68k-parse.y (reglistpair): Handle register list in
8631 either order.
8632
8633 * config/vms-conf.h: Don't undef VERSION.
8634
8635Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
8636
8637 * Makefile.am (CONFIG_OBJS): New variable, containing part of old
8638 OBJS variable.
8639 (GENERIC_OBJS): New variable, with the rest of the old OBJS
8640 variable.
8641 (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
8642 ($(srcdir)/make-gas.com): Rename from make-gas.com.
8643 (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
8644 (EXTRA_DIST): Define.
8645 * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
8646 explicitly rather than via the list of object files.
8647 (gcc-as.opt): New file created when make-gas.com is run.
8648 * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
8649 itbl-cpu.h} to #include appropriate file rather than copying that
8650 file.
8651 * config/vms-conf.h: Synchronize with current config.in.
8652 * Makefile.in: Rebuild.
8653
8654Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com>
8655
8656 * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
8657 (parallel_ok): Relaxed parallel subinstruction dependency check.
8658
8659Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
8660
8661 * as.h (flag_warn_suppress_instructionswap): added new flag.
3e87a760 8662 * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
252b5132
RH
8663 command line argument.
8664 * tc-d10v.c (write_2_short): emit "Swapping instructions"
8665 warning only if flag_warn_suppress_instructionswap is false.
8666
8667Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
8668
8669 * configure.in (i386-*-mingw32*): New target.
8670 * configure: Rebuild.
8671
8672Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com>
8673
8674 * symbols.c (resolve_symbol_value): Don't set the segment if it
8675 hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
8676
8677 * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
8678 S_GET_SEGMENT.
8679
8680Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
8681
8682 as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
8683 depends upon HAVE_{UNLINK,REMOVE} values rather than host
8684 compiler.
8685
8686Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
8687
8688 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
8689
8690Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com>
8691
8692 * config/tc-v850.c (v850_insert_operand): Display instruction when
8693 an error is encountered.
8694
8695Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
8696
8697 * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
8698 (i386-*-sco3.2v5*coff): New target.
8699 (i386-*-sco3.2*): New target.
8700 * configure: Rebuild.
8701
8702Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com>
8703
8704 * config/tc-v850.c: Tidy error message production.
8705
8706Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com>
8707
8708 * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
8709 validate_immediate return value in the right type for comparisons
8710 to FAIL.
8711
8712Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com>
8713
8714 * listing.c (MAX_BYTES): Use listing variables not constants.
8715 (data_buffer): No longer an array, but a pointer.
8716 (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
8717 (listing_listing): Allocate data_buffer.
8718
8719Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com>
8720
8721 * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
8722 --listing-rhs-width, --listing-cont-lines.
8723 (show_usage): Update.
8724 * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
8725 (listing_lhs_cont_lines, listing_rhs_width): New vars.
8726 (print_lines): Use the variables instead of the constants.
3e87a760 8727 (listing_listing): Likewise.
252b5132 8728 * listing.h: Declare the new vars.
3e87a760 8729
252b5132
RH
8730Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com>
8731
8732 * as.c (parse_args): Add --keep-locals alias for -L.
8733 Add --strip-local-absolute.
8734 (show_usage): Update.
8735 * as.h (flag_strip_local_absolute): New flag.
8736 * symbols.c (S_IS_LOCAL): Use it.
8737 * config/obj-aout.h (S_IS_LOCAL): Likewise.
8738 * config/obj-bout.h (S_IS_LOCAL): Likewise.
8739 * config/obj-coff.h (S_IS_LOCAL): Likewise.
8740
8741Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com>
8742
8743 * config/tc-m32r.c: Detect if explicitly parallel instructions
3e87a760 8744 might have an io conflict and issue a warning message.
252b5132
RH
8745
8746Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com>
8747
8748 * cgen.c (cgen_save_fixups, cgen_restore_fixups,
8749 cgen_swap_fixups): Functions to save, restore and swap the fixup
8750 chain with a backup copy.
8751 (cgen_asm_finish_insn): Returns address of constructed insn.
8752
8753Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com>
8754
8755 * listing.c (file_info_struct): Remove FILE, add POS.
8756 (last_open_file_info, last_open_file): New; a one entry FILE* cache.
8757 (file_info): Don't open the file.
8758 (buffer_line): Check for the file in the last_open cache, updating
8759 as necessary.
8760 (print_source): Don't reference file_info->file.
8761 (listing_listing): Likewise.
8762 (listing_print): Close the file in the cache, if any.
8763
8764Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com>
8765
8766 * read.c (dwarf_file_string): New file static variable.
8767 (emit_expr): Look for constant sequence that leads up to a file
8768 name in DWARF debugging output.
8769 (stringer): Use dwarf_file_string to decide whether to accept a
8770 string as a file name.
8771
8772Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com>
8773
8774 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
8775 (crack_operand): Add reg->reglst MRI hack.
8776 (r_seg): Put reglst symbols in reg_section.
8777 (m68k_frob_symbol): Frob reglst symbols into absolute_section.
8778
8779Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com>
8780
8781 * tc-sh.c (get_specific): Handle SGR & DBR.
8782
8783Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com>
8784
8785 * tc-h8300.c (parse_reg): Take the length of the symbol into
8786 account when attempting to match a register name.
8787 * tc-h8500.c (parse_reg): Likewise.
8788
8789Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com>
8790
8791 * cgen.c: Formatting changes to improve readability.
8792
8793Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com)
8794
8795 * config/tc-mips.c (macro): Rework division code to avoid unfilled
8796 delay slot.
8797
8798Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com>
8799
8800 Based on a patch from Jim Wilson
8801 * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
8802 (tc_gen_reloc): Handle cross section PC relative relocs
8803 correctly.
8804
8805Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
8806
8807 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
8808
8809Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
8810
8811 * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
8812 (expr_jmp_buf): New static local.
8813 (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
8814 (cgen_md_operand): New function.
8815 * tc-m32r.c: Clean up pass over `struct foo' usage.
8816 (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
8817
8818Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com>
8819
8820 * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
8821 (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
8822
8823Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com>
8824
8825 * config/tc-i386.c (i386_operand): Give an error if there are
8826 unrecognized characters after an expression.
8827
8828For older changes see ChangeLog-9697
This page took 0.485813 seconds and 4 git commands to generate.