* mips-opc.c (MT32): New define.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
0110f2b8
PB
12005-09-06 Paul Brook <paul@codesourcery.com>
2
3 * config/tc-arm.c (arm_it): Add relax field.
4 (T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp,
5 b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis.
6 (do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst,
7 do_t_mov_cmp): Allow relaxation.
8 (output_relax_insn): New function.
9 (put_thumb32_insn): New function.
10 (output_inst): Use new functions.
11 (md_assemble): Don't throw error on relaxable instructions.
12 (insns): Change "b" entry from TCE(...) to tCE(...).
13 (md_estimate_size_before_relax): Return 2.
14 (md_convert_frag, relax_immediate, relax_adr, relax_addsub,
15 relax_branch, arm_relax_frag): New functions.
16 (arm_force_relocation): Return 0 for Thumb-2 immediate operand
17 relocations.
18 * config/tc-arm.h (md_convert_frag): Remove definition.
19 (md_relax_frag): Define.
20 (arm_relax_frag): Add prototype.
21
9a64e435
PB
222005-09-02 Paul Brook <paul@codesourcery.com>
23
24 * config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
25
8f06b2d8
PB
262005-09-02 Paul Brook <paul@codesourcery.com>
27
28 * config/tc-arm.c (encode_arm_cp_address): Use
29 BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
30 (do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
31 mode.
32 (md_assemble): Only allow coprocessor instructions when Thumb-2 is
33 available.
34 (cCE, cC3): Define.
35 (insns): Use them for coprocessor instructions.
36 (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
37 (get_thumb32_insn): New function.
38 (put_thumb32_insn): New function.
39 (md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
40 BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
41
c4188bc9
PB
422005-09-02 Paul Brook <paul@codesourcery.com>
43
44 * config/tc-arm.c (opcode_lookup): Look for infix opcode when
45 incorrect suffix matches.
46
e9df6573
DU
472005-09-01 David Ung <davidu@mips.com>
48
49 * config/tc-mips.c (append_insn): Correctly handle mips16 case
50 when the frags are different for the 2 instructions we want to
51 swap. If the lengths of the 2 instructions are not the same, we
52 won't do the swap but emit an nop.
53
2a9a06c1
DD
542005-09-01 Dmitry Diky <diwil@spec.ru>
55
56 * config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn()
57 as appropriate. Change frag_variant() to frag_var() for relaxes.
58
61e192bf
NC
592005-08-29 Nick Clifton <nickc@redhat.com>
60
61 * write.c (generic_force_reloc): Do not call S_FORCE_RELOC if
62 there is no symbol.
63
435acd52
JB
642005-08-26 Jan Beulich <jbeulich@novell.com>
65
66 * config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR-
67 qualified operand of a branch.
68 (intel_bracket_expr): Set JumpAbsolute here...
69 (intel_e11): ... rather than here.
70
c0524131
NC
712005-08-26 Christian Groessler <chris@groessler.org>
72
73 * configure.tgt: Set bfd_gas also for z8k cpu.
74 * config/tc-z8k.c (s_segm): Use bfd_set_arch_mach to set machine
75 type.
76 (newfix): Adapt to bfd reloc types.
77 (build_bytes): Adapt to bfd reloc types. Ensure that enough space
78 is available in the current frag.
79 (md_convert_frag): Adapt function parameters.
80 (tc_gen_reloc): New function.
81 (md_section_align): Use bfd_get_section_alignment.
82 (md_apply_fix): Adapt to bfd reloc types. Fix handling of
83 BFD_RELOC_Z8K_IMM4L, BFD_RELOC_8, BFD_RELOC_16, and BFD_RELOC_32
84 relocations.
85 * config/tc-z8k.h (TARGET_ARCH): Define.
86 (tc_fix_adjustable): Define.
87
74cd071d
CF
882005-08-25 Chao-ying Fu <fu@mips.com>
89
90 * config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
91 (mips_opts): Add -1 to initialize ase_dsp.
92 (file_ase_dsp): New variable for -mdsp.
93 (CPU_HAS_DSP): New define.
94 (validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @
95 operand formats.
96 (mips_ip): Add min_range and max_range for checking singed numbers.
97 Check ase_dsp to enable DSP instructions.
98 Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats.
99 (OPTION_DSP, OPTION_NO_DSP): New define.
100 (OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define.
101 (md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP.
102 (mips_after_parse_args): Set ase_dsp based on CPU.
103 (s_mipsset): Handle ".set dsp" and ".set nodsp".
104 (mips_elf_final_processing): Remind of adding new flag for DSP ASE.
105 (md_show_usage): Show usage of -mdsp and -mno-dsp.
106
ff324200
DU
1072005-08-23 David Ung <davidu@mips.com>
108
109 * config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
110 cpu names.
111
ac805826
AM
1122005-08-23 Alan Modra <amodra@bigpond.net.au>
113
114 PR 1036
115 * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.
116
478ec1e3
AM
1172005-08-23 Phil Edwards <phil@codesourcery.com>
118
119 * configure.tgt (*-*-vxworks): Match vxworks* instead.
120
4fa24527
JB
1212005-08-22 Jan Beulich <jbeulich@novell.com>
122
123 * config/tc-i386.c (object_64bit): New.
124 (i386_target_format): Initialize it.
125 (output_disp): Use object_64bit for relocation type determination.
126 (output_imm): Likewise.
127 (i386_validate_fix): Likewise.
128 (tc_gen_reloc): Likewise.
129 (lex_got): Likewise. Remove static mode_name. Change array size
130 of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
131 (x86_cons): Use object_64bit for deciding whether quad fields can
132 have relocations.
133
fefaa1aa
CG
1342005-08-18 Christian Groessler <chris@groessler.org>
135
136 * config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
137 * config/tc-mcore.h: Likewise.
138 * config/tc-z8k.h: Likewise.
139 * config/tc-z8k.c: Likewise.
140 * config/tc-sh.h: Remove TC_RELOC_MANGLE and
141 sh_coff_reloc_mangle declaration.
142 * config/tc-sh.c: (md_apply_fix): Fix comment for case
143 BFD_RELOC_SH_USES.
144
32a3d256
KK
1452005-08-18 Kaz Kojima <kkojima@rr.iij4u.or.jp>
146
147 * config/tc-sh64.c (sh64_target_format): Check preset_target_arch
148 to confirm that no ISA is specified.
149
4111faa5
NC
1502005-08-18 Nick Clifton <nickc@redhat.com>
151
152 * write.c (relax_segment): Count the number of frags being
153 processed and use this to compute a maximum limit on the number of
154 iterations that will be allowed when attempting to relax the
155 segment.
156
11eec5fc
DS
1572005-08-17 Danny Smith <dannysmith@users.sourceforge.net>
158
159 * config/obj-coff.c (obj_coff_weak): Set auxiliary record
160 of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.
161
23d36e92
AM
1622005-08-16 Alan Modra <amodra@bigpond.net.au>
163
164 * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
165 default cpu.
166
3d388997
PB
1672005-08-15 Paul Brook <paul@codesourcery.com>
168
169 * config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional
170 instructions.
171 (do_t_mvn_tst, do_t_neg, do_t_shift): Ditto.
172
36ae0db3
DJ
1732005-08-15 Daniel Jacobowitz <dan@codesourcery.com>
174
175 * config/tc-ppc.c (parse_cpu): Add -me300 support.
176 (md_show_usage): Likewise.
177 * doc/c-ppc.texi (PowerPC-Opts): Document it.
178
6c639ef9
MS
1792005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
180
181 * config/tc-s390.c (md_parse_option): Add cpu type z9-109.
182 (md_gather_operands): Add support for optional operands.
183
77592908
DD
1842005-08-12 Dmitry Diky <diwil@spec.ru>
185 * config/tc-msp430.c (msp430_enable_relax): New flag.
186 (msp430_enable_polys): Likewise.
187 (OPTION_RELAX): New option.
188 (OPTION_POLYMORPHS): Likewise.
189 (md_longopts): New long options.
190 (md_show_usage): Updated.
191 (md_parse_option): Add new options handler.
192 (msp430_operands): Add check if polymorph insns are enabled.
193 (msp430_force_relocation_local): New function.
194 (md_apply_fix): Now delete relocs according to new flags combination.
195 (msp430_relax_frag): Convert long branches to short branches only if
196 flag msp430_enable_relax is set.
197 * config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined.
198 (msp430_force_relocation_local): Likewise.
199 * doc/c-msp430.texi: Describe new options.
200
e079bef8
ILT
2012005-08-11 Ian Lance Taylor <ian@airs.com>
202
203 * Makefile.am ($(srcdir)/make-gas.com): Remove target.
204 (stamp-mk.com): Likewise.
205 (EXTRA_DIST): Remove make-gas.com from list.
206 (MOSTLYCLEANFILES): Remove stamp-mk.com from list.
207 * Makefile.in: Regenerate.
208
4924bf8f
HPN
2092005-08-11 Hans-Peter Nilsson <hp@axis.com>
210
211 * subsegs.c (subseg_change): Move declaration of seginfo to before
212 first statement.
213
7be1c489
AM
2142005-08-11 Alan Modra <amodra@bigpond.net.au>
215
216 * README-vms: Delete.
217 * config-gas.com: Delete.
218 * makefile.vms: Delete.
219 * vmsconf.sh: Delete.
220 * config/atof-tahoe.c: Delete.
221 * config/m88k-opcode.h: Delete.
222 * config/obj-bout.c: Delete.
223 * config/obj-bout.h: Delete.
224 * config/obj-hp300.c: Delete.
225 * config/obj-hp300.h: Delete.
226 * config/tc-a29k.c: Delete.
227 * config/tc-a29k.h: Delete.
228 * config/tc-h8500.c: Delete.
229 * config/tc-h8500.h: Delete.
230 * config/tc-m88k.c: Delete.
231 * config/tc-m88k.h: Delete.
232 * config/tc-tahoe.c: Delete.
233 * config/tc-tahoe.h: Delete.
234 * config/tc-tic80.c: Delete.
235 * config/tc-tic80.h: Delete.
236 * config/tc-w65.c: Delete.
237 * config/tc-w65.h: Delete.
238 * config/te-aux.h: Delete.
239 * config/te-delt88.h: Delete.
240 * config/te-delta.h: Delete.
241 * config/te-dpx2.h: Delete.
242 * config/te-hp300.h: Delete.
243 * config/te-ic960.h: Delete.
244 * config/vms-a-conf.h: Delete.
245 * doc/c-a29k.texi: Delete.
246 * doc/c-h8500.texi: Delete.
247 * doc/c-m88k.texi: Delete.
248 * README: Remove obsolete examples, and list of supported targets.
249 * Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65,
250 bout and hp300 support.
251 (DEP_FLAGS): Don't define BFD_ASSEMBLER.
252 * configure.in: Remove --enable-bfd-assembler, need_bfd,
253 primary_bfd_gas.
254 * configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf,
255 m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy.
256 * as.c: Remove all non-BFD_ASSEMBLER code, support for above targets.
257 * as.h: Likewise.
258 * dw2gencfi.c: Likewise.
259 * dwarf2dbg.c: Likewise.
260 * ehopt.c: Likewise.
261 * input-file.c: Likewise.
262 * listing.c: Likewise.
263 * literal.c: Likewise.
264 * messages.c: Likewise.
265 * obj.h: Likewise.
266 * output-file.c: Likewise.
267 * read.c: Likewise.
268 * stabs.c: Likewise.
269 * struc-symbol.h: Likewise.
270 * subsegs.c: Likewise.
271 * subsegs.h: Likewise.
272 * symbols.c: Likewise.
273 * symbols.h: Likewise.
274 * tc.h: Likewise.
275 * write.c: Likewise.
276 * write.h: Likewise.
277 * config/aout_gnu.h: Likewise.
278 * config/obj-aout.c: Likewise.
279 * config/obj-aout.h: Likewise.
280 * config/obj-coff.c: Likewise.
281 * config/obj-coff.h: Likewise.
282 * config/obj-evax.h: Likewise.
283 * config/obj-ieee.h: Likewise.
284 * config/tc-arm.c: Likewise.
285 * config/tc-arm.h: Likewise.
286 * config/tc-avr.c: Likewise.
287 * config/tc-avr.h: Likewise.
288 * config/tc-crx.h: Likewise.
289 * config/tc-d10v.h: Likewise.
290 * config/tc-d30v.h: Likewise.
291 * config/tc-dlx.h: Likewise.
292 * config/tc-fr30.h: Likewise.
293 * config/tc-frv.h: Likewise.
294 * config/tc-h8300.c: Likewise.
295 * config/tc-h8300.h: Likewise.
296 * config/tc-hppa.h: Likewise.
297 * config/tc-i370.h: Likewise.
298 * config/tc-i386.c: Likewise.
299 * config/tc-i386.h: Likewise.
300 * config/tc-i860.h: Likewise.
301 * config/tc-i960.c: Likewise.
302 * config/tc-i960.h: Likewise.
303 * config/tc-ip2k.h: Likewise.
304 * config/tc-iq2000.h: Likewise.
305 * config/tc-m32c.h: Likewise.
306 * config/tc-m32r.h: Likewise.
307 * config/tc-m68hc11.h: Likewise.
308 * config/tc-m68k.c: Likewise.
309 * config/tc-m68k.h: Likewise.
310 * config/tc-maxq.c: Likewise.
311 * config/tc-maxq.h: Likewise.
312 * config/tc-mcore.c: Likewise.
313 * config/tc-mcore.h: Likewise.
314 * config/tc-mn10200.h: Likewise.
315 * config/tc-mn10300.c: Likewise.
316 * config/tc-mn10300.h: Likewise.
317 * config/tc-ms1.h: Likewise.
318 * config/tc-msp430.c: Likewise.
319 * config/tc-msp430.h: Likewise.
320 * config/tc-ns32k.c: Likewise.
321 * config/tc-ns32k.h: Likewise.
322 * config/tc-openrisc.h: Likewise.
323 * config/tc-or32.c: Likewise.
324 * config/tc-or32.h: Likewise.
325 * config/tc-ppc.c: Likewise.
326 * config/tc-ppc.h: Likewise.
327 * config/tc-s390.h: Likewise.
328 * config/tc-sh.c: Likewise.
329 * config/tc-sh.h: Likewise.
330 * config/tc-sparc.c: Likewise.
331 * config/tc-tic30.c: Likewise.
332 * config/tc-tic30.h: Likewise.
333 * config/tc-tic4x.c: Likewise.
334 * config/tc-tic4x.h: Likewise.
335 * config/tc-tic54x.c: Likewise.
336 * config/tc-tic54x.h: Likewise.
337 * config/tc-v850.h: Likewise.
338 * config/tc-vax.c: Likewise.
339 * config/tc-vax.h: Likewise.
340 * config/tc-xstormy16.h: Likewise.
341 * config/tc-xtensa.h: Likewise.
342 * config/tc-z8k.c: Likewise.
343 * config/tc-z8k.h: Likewise.
344 * config/vms-a-conf.h
345 * doc/Makefile.am: Likewise.
346 * doc/all.texi: Likewise.
347 * doc/as.texinfo: Likewise.
829c3ed3 348 * doc/internals.texi: Likewise.
7be1c489
AM
349 * doc/Makefile.in: Regenerate.
350 * Makefile.in: Regenerate.
351 * configure: Regenerate.
352 * config.in: Regenerate.
353 * po/POTFILES.in: Regenerate.
354
2f6178c1
NC
3552005-08-09 Nick Clifton <nickc@redhat.com>
356
357 PR 1070
358 * macro.c (getstring): Do not treat round parentheses exactly the
359 same as angle brackets - the parentheses need to be preserved and
360 passed on to the macro processing code.
361
44c86e8c
NC
3622005-08-08 Nick Clifton <nickc@redhat.com>
363
364 * config/tc-msp430.c (MSP430_ISA_21): Define.
365 (mcu_types): Add entries for msp430x21xx variants.
366
df40eaf9
NC
3672005-08-08 Nick Clifton <nickc@redhat.com>
368
369 PR 1070
370 * macro.c (getstring): Treat round parentheses in the same way as
371 angle brackets.
372 (get_any_string): Likewise.
373
5a14ab23
L
3742005-08-07 H.J. Lu <hongjiu.lu@intel.com>
375
376 PR gas/1118
377 * as.c (parse_args): Handle -al=<FILE>.
378
47837f8e
NC
3792005-08-07 Nick Clifton <nickc@redhat.com>
380
381 * read.c (s_app_line): Accept a line number of 0 for compatibility
382 with gcc's output for assembler-with-cpp files.
383
e27ec89e
PB
3842005-08-05 Paul Brook <paul@codesourcery.com>
385
386 * config/tc-arm.c (current_it_mask, current_cc): New variables.
387 (do_t_add_sub): Use correct encodings inside IT block.
388 (do_t_arit3c): Ditto.
389 (do_t_it): Simplify logic. Set current_it_mask and current_cc.
390 (md_assemble): Verify conditional suffixes agains IT blocks.
391
9c3c69f2
PB
3922005-08-05 Paul Brook <paul@codesourcery.com>
393
394 * config/tc-arm.c (encode_thumb32_immediate): Only accept shifted
395 constants.
396 (encode_thumb32_shifted_operand): Prohibit register shifts.
397 (encode_thumb32_addr_mode): Fix typo.
398 (insns): Correct thumb2 ldm and stm opcodes.
399
f2184508
NC
4002005-08-02 Khem Raj <kraj@mvista.com>
401
402 * config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range for
403 WLDRD/WSTRD instruction.
404
4e6935a6
AM
4052005-08-02 Alan Modra <amodra@bigpond.net.au>
406
407 * config/tc-ppc.c (md_apply_fix <ELF>): Don't warn on overflow
408 if emitting a reloc.
409
8a06b769
TS
4102005-07-29 Thiemo Seufer <ths@networkno.de>
411
412 * config/tc-mips.c (s_mips_globl): Allow multiple symbols per .globl.
413
e9f89963
PB
4142005-07-29 Paul Brook <paul@codesourcery.com>
415
416 * config/tc-arm.c (T16_32_TAB): Add "addr". Fix encoding of push and
417 pop.
418 (do_t_addr): Implement 32-bit variant.
419 (do_t_push_pop): Make some errors warnings. Handle single register
420 32-bit case.
421 (insns): Use tCE for adr.
422 (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_ADD_PC12.
423 (md_apply_fix): Ditto.
424
92e90b6e
PB
4252005-07-29 Paul Brook <paul@codesourcery.com>
426
427 * config/tc-arm.c (parse_tb): New function.
428 (enum operand_parse_code): Add OP_TB.
429 (parse_operands): Handle OP_TB.
430 (do_t_add_sub_w, do_t_tb): New functions.
431 (insns): Add entries for addw, subw, tbb and tbh.
432 (md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12.
433
0a7b9ba6
NC
4342005-07-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
435
436 * config/tc-m32r.c (m32r_check_fixup): Fixed X_op check.
437
17d4e2a2
L
4382007-07-27 H.J. Lu <hongjiu.lu@intel.com>
439
440 * config/tc-i386.c (handle_large_common): Declare only for ELF.
441
ba825241
JB
4422005-07-27 Jan Beulich <jbeulich@novell.com>
443
444 * config/tc-ia64.h (unw_r_record): Change type of fr_mem to unsigned
445 int.
446 (unw_p_record): Remove unused/redundant fields imask and rmask.
447 Combine spoff and pspoff into a union. Combine gr and br into a
448 union. Change type of grmask and brmask to unsigned char. Change type
449 of frmask to unsigned int.
450 (unw_x_record): Combine spoff, pspoff, and treg into a union.
451 * config/tc-ia64.c (unwind): New field 'pending_saves'.
452 (check_pending_save): New.
453 (alloc_record): Clear out entire record.
454 (output_psp_gr): Use renamed structure fields.
455 (output_psp_sprel): Likewise.
456 (output_rp_gr): Likewise.
457 (output_rp_br): Likewise.
458 (output_rp_psprel): Likewise.
459 (output_rp_sprel): Likewise.
460 (output_pfs_gr): Likewise.
461 (output_pfs_psprel): Likewise.
462 (output_pfs_sprel): Likewise.
463 (output_preds_gr): Likewise.
464 (output_preds_psprel): Likewise.
465 (output_preds_sprel): Likewise.
466 (output_spill_base): Likewise.
467 (output_unat_gr): Likewise.
468 (output_unat_psprel): Likewise.
469 (output_unat_sprel): Likewise.
470 (output_lc_gr): Likewise.
471 (output_lc_psprel): Likewise.
472 (output_lc_sprel): Likewise.
473 (output_fpsr_gr): Likewise.
474 (output_fpsr_psprel): Likewise.
475 (output_fpsr_sprel): Likewise.
476 (output_priunat_gr): Likewise.
477 (output_priunat_psprel): Likewise.
478 (output_priunat_sprel): Likewise.
479 (output_bsp_gr): Likewise.
480 (output_bsp_psprel): Likewise.
481 (output_bsp_sprel): Likewise.
482 (output_bspstore_gr): Likewise.
483 (output_bspstore_psprel): Likewise.
484 (output_bspstore_sprel): Likewise.
485 (output_rnat_gr): Likewise.
486 (output_rnat_psprel): Likewise.
487 (output_rnat_sprel): Likewise.
488 (output_spill_psprel): Likewise.
489 (output_spill_sprel): Likewise.
490 (output_spill_reg): Likewise.
491 (output_fr_mem): Likewise. Allocate one unwind record per set mask
492 bit.
493 (output_frgr_mem): Likewise.
494 (output_gr_mem): Likewise.
495 (output_br_mem): Likewise.
496 (output_gr_gr): Likewise.
497 (output_br_gr): Likewise.
498 (fixup_unw_records): Likewise.
499 (process_one_record): Use renamed structure fields. For gr_gr and
500 br_gr, collect mask from chain of records before output.
501 (in_prologue): Simplify and eliminate early returns. Call
502 check_pending_save.
503 (in_body): Simplify and eliminate early returns.
504 (dot_body): Call check_pending_save.
505 (md_assemble): Update comment. Deal with pending saves.
506
9cd96992
JB
5072005-07-26 Jan Beulich <jbeulich@novell.com>
508
509 * config/tc-i386.c (optimize_imm): Calculate candidate immediates
510 mask from guessed suffix, but mask out other immediate types only
511 if at least on candidate is valid for the insn.
512
fd54057a
DD
5132005-07-25 DJ Delorie <dj@redhat.com>
514
515 * config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
516 Support %mod() modifiers from opcodes.
517 * doc/c-m32c.texi (M32C-Modifiers): New section.
518
3b22753a
L
5192005-07-25 Jan Hubicka <jh@suse.cz>
520 H.J. Lu <hongjiu.lu@intel.com>
521
522 * config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
523 defined.
524 (elf_com_section_ptr): New.
525 (elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
526 (elf_common_parse): Make it global. Use elf_com_section_ptr
527 instead of bfd_com_section_ptr.
528 (obj_elf_change_section): Handle x86-64 large bss sections.
529
530 * config/obj-elf.h (elf_com_section_ptr): New.
531 (elf_common_parse): New.
532
533 * config/tc-i386.c (handle_large_common): New.
534 (md_pseudo_table): Add "largecomm".
535 (x86_64_section_letter): New.
536 (x86_64_section_word): New.
537
538 * config/tc-i386.h (x86_64_section_word): New.
539 (x86_64_section_letter): New.
540 (md_elf_section_letter): New. Defined.
541 (md_elf_section_word): Likewise.
542
9f971fcb
NC
5432005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org>
544
545 * configure.tgt: Remove i386-*-rtemself*.
546 Remove sparc-*-rtemself*.
547
240a3425
BE
5482005-07-21 Ben Elliston <bje@gnu.org>
549
550 * config/tc-m68k.h: Remove TE_LYNX conditional code.
551
c160f130
PB
5522005-07-21 Paul Brook <paul@codesourcery.com>
553
554 * config/tc-arm.c (encode_thumb32_addr_mode): Don't set
555 inst.reloc.pc_rel.
556
a9bfff94
NC
5572005-07-20 Tavis Ormandy <taviso@gentoo.org>
558
559 * messages.c: Use vsnprintf instead of vsprintf.
560
157e7bd1
NC
5612005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
562
563 * config/tc-m32r.c (tc_gen_reloc): Check BFD_RELOC_32_PCREL and
564 BFD_RELOC_16_PCREL to Support R_M32R_REL32.
565
85da3a56
NC
5662005-07-18 Nick Clifton <nickc@redhat.com>
567
568 * configure.tgt: Restore alpha ordering to list of arches.
569
71e17562
DA
5702005-07-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
571
572 * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
573
718ddfc0
JB
5742005-07-18 Jan Beulich <jbeulich@novell.com>
575
576 * config/tc-i386.c (md_begin): Use IS_ELF.
577 (tc_i386_fix_adjustable): Likewise.
578 (md_estimate_size_before_relax): Likewise.
579 (md_apply_fix): Likewise.
580 (i386_target_format): Likewise.
581 (lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF.
582 (i386_immediate): Remove #ifdef LEX_AT.
583 (i386_displacement): Likewise.
584 * config/tc-i386.h (x86_cons): Prototype only when ELF and when not
585 LEX_AT.
586
3956db08
JB
5872005-07-18 Jan Beulich <jbeulich@novell.com>
588
589 * config/tc-i386.c (reloc): Convert to ISO C90. Change first
590 parameter to unsigned. Parameter sign now is tristate - zero/
591 positive mean unsigned/signed, negative means signedness doesn't
592 matter. Check field size,
593 signedness, and pcrel-ness are in agreement between relocated field
594 and relocation type. Adjust diagnostics.
595 (optimize_imm): And type mask of operand instead of overwriting it.
596 (lex_got): Convert to ISO C90. Add third parameter. Add new field to
597 local structure and initialize gotrel accordingly. Pass caller as
598 mask of types that the operator can match.
599 (x86_cons_fix_new): Let reloc know that signedness of relocation
600 doesn't matter.
601 (x86_pe_cons_fix_new): Likewise.
602 (x86_cons): Pass additional argument to lex_got.
603 (i386_immediate): New local variable 'types'. Pass its address as
604 additional argument to lex_got. Mask out operand types not supported
605 befoe returning.
606 (i386_displacement): Likewise. Set bigdisp to all types supported in
607 64-bit mode, combining the previously split initialization.
608
2dd88dca
JB
6092005-07-18 Jan Beulich <jbeulich@novell.com>
610
611 * config/tc-i386.c (parse_insn): Reject prefix if unavailable in
612 current mode.
613
8126167b
DA
6142005-07-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
615
616 * config/tc-hppa.c (pa_ip): Search entire mnemonic before considering
617 promoted match.
618
0f82ff91
AM
6192005-07-16 Alan Modra <amodra@bigpond.net.au>
620
621 * Makefile.am: Run "make dep-am".
622 * Makefile.in: Regenerate.
623
90700ea2
L
6242007-07-15 H.J. Lu <hongjiu.lu@intel.com>
625
626 * gas/config/tc-i386.h (CpuVMX): New.
627 (CpuUnknownFlags): Add CpuVMX.
628
49f58d10
JB
6292005-07-14 Jim Blandy <jimb@redhat.com>
630
631 Add support for the Renesas M32C.
632 * Makefile.am (CPU_TYPES): List m32c.
633 (TARGET_CPU_CFILES): List config/tc-m32c.c.
634 (TARGET_CPU_HFILES): List config/tc-m32c.h.
635 * configure.in: Add case for m32c.
636 * configure.tgt: Add cases for m32c and m32c-*-elf.
637 * configure: Regenerated.
638 * config/tc-m32c.c, config/tc-m32c.h: New files.
639 * doc/Makefile.am (CPU_DOCS): Add c-m32c.texi.
640 * doc/Makefile.in: Regenerated.
641 * doc/all.texi: Set M32C.
642 * doc/as.texinfo: Add text for the M32C-specific options and line
643 comment characters, and refer to c-m32c.texi.
644 * doc/c-m32c.texi: New file.
645
6c5cf62c
NC
6462005-07-14 Nick Clifton <nickc@redhat.com>
647
648 PR 1069
649 * config/tc-crx.c (reset_vars): Use strncpy to prevent overflowing
650 the ins_parse buffer.
651
14c194bb
NC
6522005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org>
653
654 * configure.tgt: Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*,
655 i386-*-rtemscoff*, sparc-*-rtemsaout*.
656
28a9d8f5
L
6572005-07-10 H.J. Lu <hongjiu.lu@intel.com>
658
659 * config/tc-i386.c (optimize_disp): Optimize signed 32bit
660 displacements.
661
b4f261e0
BE
6622005-07-08 Ben Elliston <bje@au.ibm.com>
663
664 * frags.h: Remove ANSI_PROTOTYPES conditional code.
665 * config/obj-elf.h: Likewise.
666 * config/tc-h8300.h: Likewise.
667 * config/tc-h8500.h: Likewise.
668 * config/tc-i370.h: Likewise.
669 * config/tc-i386.h: Likewise.
670 * config/tc-m68hc11.h: Likewise.
671 * config/tc-m68k.h: Likewise.
672 * config/tc-ppc.h: Likewise.
673 * config/tc-s390.h: Likewise.
674 * config/tc-sh.h: Likewise.
675 * config/tc-sparc.h: Likewise.
676 * config/tc-tic30.c: Likewise.
677 * config/tc-w65.h: Likewise.
678 * config/tc-xtensa.h: Likewise.
679
d8b19f1a
HPN
6802005-07-08 Hans-Peter Nilsson <hp@axis.com>
681
682 PR gas/1049
683 * config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
684
0fd3a477
JW
6852005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
686
687 * config/tc-tic30.c (debug): Add format attribute. Fix format
688 bugs.
689
bf50992e
L
6902005-07-06 H.J. Lu <hongjiu.lu@intel.com>
691
692 * config/tc-i386.c (cpu_arch): Add sse3.
693
694 * config/tc-i386.h (CpuSSE3): Renamed from ...
695 (CpuPNI): This. Defined as CpuSSE3.
696
697 * doc/c-i386.texi: Document .sse3.
698
5d5e6db9
JB
6992005-07-06 Jan Beulich <jbeulich@novell.com>
700
701 * config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop.
702
3ec2b351
NC
7032005-07-05 Nick Clifton <nickc@redhat.com>
704
705 * config/tc-pdp11.c (md_apply_fix): Cast first argument to
706 md_chars_to_numbers to an unsigned pointer in order to avoid a
707 compile time warning.
708
9d8504b1
PB
7092005-07-05 Paul Brook <paul@codesourcery.com>
710
711 * config/tc-ppc.c (ppc_target_format): Add VxWorks.
712
a0defb2e
AH
7132005-07-05 Aldy Hernandez <aldyh@redhat.com>
714
715 * config/tc-ms1.c: New.
716 * config/tc-ms1.h: New.
717 * testsuite/gas/ms1/allinsn.d: New.
718 * testsuite/gas/ms1/allinsn.s: New.
719 * testsuite/gas/ms1/badinsn.s: New.
720 * testsuite/gas/ms1/badinsn1.s: New.
721 * testsuite/gas/ms1/badoffsethigh.s: New.
722 * testsuite/gas/ms1/badoffsetlow.s: New.
723 * testsuite/gas/ms1/badorder.s: New.
724 * testsuite/gas/ms1/badreg.s: New.
725 * testsuite/gas/ms1/badsignedimmhigh.s: New.
726 * testsuite/gas/ms1/badsignedimmlow.s: New.
727 * testsuite/gas/ms1/badsyntax.s: New.
728 * testsuite/gas/ms1/badsyntax1.s: New.
729 * testsuite/gas/ms1/badunsignedimmhigh.s: New.
730 * testsuite/gas/ms1/badunsignedimmlow.s: New.
731 * testsuite/gas/ms1/errors.exp: New.
732 * testsuite/gas/ms1/ldst.s: New.
733 * testsuite/gas/ms1/misc.d: New.
734 * testsuite/gas/ms1/misc.s: New.
735 * testsuite/gas/ms1/ms1-16-003.d: New.
736 * testsuite/gas/ms1/ms1-16-003.s: New.
737 * testsuite/gas/ms1/ms1.exp: New.
738 * testsuite/gas/ms1/msys.d: New.
739 * testsuite/gas/ms1/msys.s: New.
740 * testsuite/gas/ms1/relocs.d: New.
741 * testsuite/gas/ms1/relocs.exp: New.
742 * testsuite/gas/ms1/relocs1.s: New.
743 * testsuite/gas/ms1/relocs2.s: New.
744
30123838
JB
7452005-07-05 Jan Beulich <jbeulich@novell.com>
746
747 * config/tc-i386.h (CpuSVME): New.
748 (CpuUnknownFlags): Include CpuSVME.
749 * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
750 as alias of sledgehammer.
751 (md_assemble): Include invlpga in the check for insns with two source
752 operands.
753 (process_operands): Include SVME insns in the check for ignored
754 segment overrides. Adjust diagnostic.
755 (i386_index_check): Special-case SVME insns with memory operands.
756
ca3f61f7
NC
7572005-07-04 Khem Raj <kraj@mvista.com>
758 Nick Clifton <nickc@redhat.com>
759
760 * tc-arm.c (struct arm_it): Make operands.imm signed to match its
761 use an immediate value.
762 (parse_vfp_reg_list): Make the 2nd parameter an unsigned pointer
763 since the register field of the operands structure is unsigned.
764 (s_arm_unwind_save_vfp): Make "reg" unsigned.
765 (parse_operands): Make the 2ns parameter an unsigned pointer to
766 match its use.
767 (do_ldrd): When using the imm field of the operands structure as a
768 second register field, treat it as unsigned.
769
551b43fd
AM
7702005-07-04 Alan Modra <amodra@bigpond.net.au>
771
772 PR 1004
773 * config/obj-elf.c (obj_elf_change_section): Use backend
774 get_sec_type_attr.
775
e4e8248d
JB
7762005-07-01 Jan Beulich <jbeulich@novell.com>
777
778 * config/tc-ia64.c (line_separator_chars): Add '{' and '}'.
779 (output_spill_psprel, output_spill_psprel_p): Combine.
780 (output_spill_sprel, output_spill_sprel_p): Combine.
781 (output_spill_reg, output_spill_regp_p): Combine.
782 (process_one_record): Handle psp_psprel.
783 (parse_predicate_and_operand): New.
784 (convert_expr_to_ab_reg): Two new parameters. Return void. Always
785 initialize output values. Emit diagnostic case here.
786 (convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1.
787 (add_unwind_entry): New second parameter. Allow first parameter to
788 be NULL. Parse optional tag, emit warning about further support for
789 it otherwise being missing. Check end-of-line when requested.
790 (dot_fframe): Clear operand when wrong. Allow tag.
791 (dot_vframe): Likewise.
792 (dot_vframesp): Likewise. Rename parameter, issue warning when psp
793 relative.
794 (dot_vframepsp): Remove.
795 (dot_altrp): Clear operand when wrong. Allow tag.
796 (dot_save): Likewise. Let default case also go through
797 add_unwind_entry.
798 (dot_savemem): Likewise.
799 (dot_restore): Don't return when wrong operand. Allow tag.
800 (dot_spillreg, dot_spillreg_p): Combine. Simplify by using
801 parse_predicate_and_operand and the new arguments to
802 convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
803 when wrong operand. Allow tag.
804 (dot_restorereg, dot_restorereg_p): Likewise.
805 (dot_spillmem, dot_spillmem_p): Likewise.
806 (dot_saveg): Clear operand when wrong. Perform tighter operand
807 checks. Allow tag.
808 (dot_savef): Likewise.
809 (dot_saveb): Likewise.
810 (dot_savegf): Likewise.
811 (dot_spill): Remove end-of-line check. Combine. Simplify by using
812 parse_predicate_and_operand and the new arguments to
813 convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
814 when wrong operand. Allow tag.
815 (popcount): New.
816 (dot_label_state): Don't return when wrong operand.
817 (dot_copy_state): Likewise.
818 (dot_unwabi): Likewise. Check if in prologue.
819 (dot_body): Don't call demand_empty_rest_of_line.
820 (dot_prologue): Type of mask and grsave is unsigned. Perform tighter
821 operand checks.
822 (md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also
823 use dot_spillreg for .spillreg.p. Also use dot_spillmem for
824 .spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp.
825 (parse_operand): New second parameter. Don't deal with '}' here
826 anymore. Don't advance past end-of-line.
827 (parse_operands): Pass second argument to parse_operand.
828 (ia64_start_line): Prevent out-of-bounds access through
829 input_line_pointer. Deal with '}' here.
830 (ia64_unrecognized_line): Don't deal with '}' here.
831 (dot_alias): Use ignore_rest_of_line not its deprecated alias
832 discard_rest_of_line.
833
2fc8bdac
ZW
8342005-06-30 Zack Weinberg <zack@codesourcery.com>
835
836 * config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2)
837 (encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx)
838 (do_t_branch, insns [b, bl]): Don't encode pipeline offset.
0d828caf 839 (do_branch): Always set inst.reloc.pc_rel.
2fc8bdac
ZW
840 (s_arm_elf_cons): Disallow use of (plt) suffix.
841 (do_adrl): Adjust X_add_number unconditionally.
842 (md_pcrel_from): Rename md_pcrel_from_section, add second segT
843 argument. Handle all adjustment for pipeline offset here.
844 (md_apply_fix): No need to undo work of md_pcrel_from. No
845 need to extract pre-encoded pipeline adjustments from various
846 branch instructions. Generally, assume instructions are already
847 all-bits-zero in the field being fixed up. Remove all OBJ_ELF
848 special cases. Handle BFD_RELOC_ARM_PLT32 like
849 BFD_RELOC_ARM_PCREL_BRANCH.
850 (tc_gen_reloc): Remove OBJ_ELF special case.
851 * config/tc-arm.c: Define MD_PCREL_FROM_SECTION.
852
b753922c
BE
8532005-06-30 Ben Elliston <bje@gnu.org>
854
855 * Makefile.am (check-DEJAGNU): Don't search for expect.
856 * Makefile.in: Regenerate.
857
c3298874
BE
8582005-06-30 Ben Elliston <bje@gnu.org>
859
860 * Makefile.am (EXPECT): Set to expect.
861 (RUNTEST): Likewise, set to runtest.
862 * Makefile.in: Regenerate.
863
8f738565
BE
8642005-06-23 Ben Elliston <bje@gnu.org>
865
866 * config/m68k-parse.h: Use ISO C90.
867 * config/m68k-parse.y: Likewise.
868 * config/tc-m68k.h: Likewise.
869
b300c311
L
8702005-06-20 H.J. Lu <hongjiu.lu@intel.com>
871
872 PR 1013
873 * config/tc-i386.c (md_assemble): Don't call optimize_disp on
874 movabs.
875 (optimize_disp): Optimize only if possible. Don't use 64bit
876 displacement on non-constants and do same on constants if
877 possible.
878
d6ab8113
JB
8792005-06-17 Jan Beulich <jbeulich@novell.com>
880
881 * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
882 (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
883 BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
884 (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
885 and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
886 aborting.
887 (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
888 Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
889 (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
890 Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
891 BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
892 BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
893 convert 8-byte pc-relative relocations.
894 (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
895 (i386_validate_fix): Likewise.
896 (x86_cons): Also handle quad values in 64-bit mode.
897 (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
898 (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
899 BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
900 to pc-relative variant. Also check for BFD_RELOC_64_PCREL.
901
37f6032b
ZW
9022005-06-13 Zack Weinberg <zack@codesourcery.com>
903
904 * config/tc-arm.c (find_real_start): Check S_IS_LOCAL on
905 symbolP as well as for names with a leading dot. Use ACONCAT.
906 (md_apply_fix): For branch relocations, only replace value
907 with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done.
908 (arm_force_relocation): Remove #ifdef OBJ_ELF case.
909 * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses.
910 (LOCAL_LABEL_PREFIX): Don't define.
911
6bdb6dec
AM
9122005-06-10 Alan Modra <amodra@bigpond.net.au>
913
914 * config/tc-hppa.c (pa_block): Allocate just one byte for the
915 fill pattern.
916
4dddc1d1
JW
9172005-06-08 James E Wilson <wilson@specifixinc.com>
918
919 PR 994
920 * config/tc-ia64.c (slot_index): Revert last change. If first_frag
921 is NULL, then emit a warning, and return the current index.
922
03b13e59
NC
9232005-06-08 Tomas Hurka <tom@hukatronic.cz>
924
6bdb6dec 925 PR 991
03b13e59
NC
926 * config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a
927 temporary copy of the operands array so that changes can be safely
928 backed out if the insn does not match.
929 (m68k_compare_opcode): Shortcut the test when the parameters are
930 the same. Return 1 if the names match but the second opcode is
931 further on in the array than the first.
932
985d9490
NC
9332005-06-08 Nick Clifton <nickc@redhat.com>
934
935 PR 994
936 * config/tc-ia64.c (slot_index): Check for a NULL first_frag.
937
6858915a
NC
9382005-06-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
939
940 * config/tc-m32r.c (use_parallel): Change default value from 1 to 0.
941
047af9ef
AH
9422005-06-07 Aldy Hernandez <aldyh@redhat.com>
943 Michael Snyder <msnyder@redhat.com>
944 Stan Cox <scox@redhat.com>
945
946 * configure.in: Add ms1 case.
947
948 * configure: Regenerate.
949
950 * configure.tgt: Add ms1 case.
951
0bf60745
BW
9522005-06-07 Bob Wilson <bob.wilson@acm.org>
953
954 * config/tc-xtensa.h (resource_table): Change units to unsigned chars.
955 * config/tc-xtensa.c (new_resource_table): Likewise.
956 (resize_resource_table): Likewise.
957 (release_resources): Fix assertion for unsigned values.
958
55cf6793
ZW
9592005-06-07 Zack Weinberg <zack@codesourcery.com>
960
961 * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c
962 * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h
963 * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c
964 * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h
965 * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c
966 * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h
967 * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h
968 * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c
969 * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h
970 * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c
971 * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h
972 * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c
973 * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c
974 * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h
975 * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c
976 * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c
977 * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c
978 * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c
979 * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c
980 * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h
981 * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h
982 * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c
983 * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c
984 * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h
985 * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c
986 * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c
987 * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h
988 * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h
989 * config/tc-xtensa.c, config/tc-z8k.c:
990 Replace all instances of the string "_apply_fix3" with
991 "_apply_fix".
992 * po/POTFILES.in, po/gas.pot: Regenerate.
993
620c54b3
AM
9942005-06-08 Alan Modra <amodra@bigpond.net.au>
995
996 * Makefile.am: Run "make dep-am".
997 (POTFILES): Remove GAS_CFILES.
998 * Makefile.in: Regenerate.
999
32b26a03
MR
10002005-06-07 David Ung <davidu@mips.com>
1001
1002 * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
1003 24kc, 24kf and 24kfx under MIPS32 release 2.
1004
6a86118a
NC
10052005-06-04 Nick Clifton <nickc@redhat.com>
1006
1007 * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference
1008 to their Thumb-enabled equivalents.
1009
20e1fcfd
MR
10102005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
1011
1012 * config/tc-mips.c (load_register): Add leading "0x" to the
1013 output of sprintf_vma().
1014 (macro): Likewise.
1015
1887dd22
NC
10162005-06-01 Nick Clifton <nickc@redhat.com>
1017
1018 * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant
1019 test for the presence of thumb version of the parsing functions
1020 since they must always exist and the test generates a compile time
1021 warning message.
1022
04fe8f58
RH
10232005-05-31 Richard Henderson <rth@redhat.com>
1024
1025 * config/tc-alpha.c (O_lituse_jsrdirect): New.
1026 (alpha_reloc_op): Add it.
1027 (debug_exp): Handle it.
1028 (DUMMY_RELOC_LITUSE_JSRDIRECT): New.
1029 (emit_insn): Handle it.
1030 * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
1031
988392e2
CG
10322005-05-31 Christian Groessler <chris@groessler.org>
1033
1034 * write.c (dump_section_relocs): Convert to ISO-C.
1035 (write_relocs): Avoid signed/unsigned and fprintf argument
1036 warnings in debug code.
1037
adbaf948
ZW
10382005-05-26 Zack Weinberg <zack@codesourcery.com>
1039
1040 * config/tc-arm.h (TC_FIX_TYPE): Change to int.
1041 (TC_INIT_FIX_DATA): Initialize to 0, not NULL.
1042 * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
1043 (md_apply_fix3): Delete fix_is_thumb variable; refer to
1044 fixP->tc_fix_data directly in the sole place it was used.
1045 Explicitly truncate value, *valP, fixP->fx_addnumber, and
1046 fixP->fx_offset to 32 bits, for consistent behavior between 32-
1047 and 64-bit hosts.
1048
5656b6b8
JB
10492005-05-27 Jan Beulich <jbeulich@novell.com>
1050
1051 * config/tc-ia64.c (struct proc_pending): New.
1052 (unwind): Replace proc_start with proc_pending.
1053 (unwind_diagnostic): Check unwind.proc_pending.sym.
1054 (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
1055 Check if previous proc not closed. Record all entry points.
1056 (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
1057 Set symbol sizes for entry points recorded in dot_proc. Check
1058 arguments for consistency with respective .proc's.
1059 (md_assemble): Replace unwind.proc_start with
1060 unwind.proc_pending.sym.
1061
75214fb0
JB
10622005-05-27 Jan Beulich <jbeulich@novell.com>
1063
1064 * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
1065 and last_ptr. Check all in-use slots for first one with non-NULL
1066 unwind_record. Don't reload end_ptr before second update round.
1067
7c06efaa
JW
10682005-05-26 James E Wilson <wilson@specifixinc.com>
1069
1070 * config/tc-ia64.c (extra_goodness): Update comment.
1071 (md_begin): Add debugging code to print best_template table.
1072
286cee81
JB
10732005-05-25 Jan Beulich <jbeulich@novell.com>
1074
1075 * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
1076 template.
1077
30ad6cb9
JB
10782005-05-25 Jan Beulich <jbeulich@novell.com>
1079
1080 * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle
1081 BFD_RELOC_UNUSED when determining the width of the reloc.
1082
6baf2b51
JB
10832005-05-25 Jan Beulich <jbeulich@novell.com>
1084
1085 * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
1086 section entry.
1087
fa30c84f
JB
10882005-05-25 Jan Beulich <jbeulich@novell.com>
1089
1090 * config/tc-ia64.c (dot_radix): Rewrite.
1091
1055c30c
JB
10922005-05-25 Jan Beulich <jbeulich@novell.com>
1093
1094 * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
1095 and next_slot_frag.
1096 (alloc_record): Remove references to next_slot_number and
1097 next_slot_frag.
1098 (emit_one_bundle): Likewise.
1099
45d18c80
NC
11002005-05-22 Nick Clifton <nickc@redhat.com>
1101
1102 * config/tc-v850.c (md_apply_fix3): Pass the address of the
1103 message buffer when invoking the insert function.
1104
9f45e54b
DA
11052005-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1106
1107 * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1
1108 only if an instruction match is found.
1109
47e70edb
BW
11102005-05-20 Bob Wilson <bob.wilson@acm.org>
1111
1112 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
1113 to addition in argument to xtensa_dwarf2_emit_insn.
1114
e3e71e27
ZW
11152005-05-19 Zack Weinberg <zack@codesourcery.com>
1116
1117 * Makefile.am: Have 'all' depend on 'info'.
1118 * Makefile.in: Regenerate.
1119
c744ecf2
AM
11202005-05-19 Alan Modra <amodra@bigpond.net.au>
1121
1122 * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL.
1123
b0648eec
AM
11242005-05-19 Anton Blanchard <anton@samba.org>
1125
1126 * config/tc-ppc.c (parse_cpu): Handle "-mpower5".
1127 (md_show_usage): Document it.
1128 (ppc_setup_opcodes): Insert POWER5 mnemonics.
1129 * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5".
1130
4600db48
JB
11312005-05-19 Jan Beulich <jbeulich@novell.com>
1132
1133 * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
1134 relocations in unwind section.
1135
a0ef61f7
NC
11362005-05-18 Nick Clifton <nickc@redhat.com>
1137
1138 * config/tc-v850.c (md_apply_fix3): Only use the insertion routine
1139 if one exists. Ignore any error messages it may produce, just
1140 allow it to perform the insertion.
1141
c19d1205
ZW
11422005-05-17 Zack Weinberg <zack@codesourcery.com>
1143
1144 * hash.c (hash_lookup): Add len parameter. All callers changed.
1145 (hash_find_n): New interface.
1146 * hash.h: Prototype hash_find_n.
1147 * sb.c: Include as.h.
1148 (scrub_from_sb, sb_to_scrub, scrub_position): New statics.
1149 (sb_scrub_and_add_sb): New interface.
1150 * sb.h: Prototype sb_scrub_and_add_sb.
1151 * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.
1152
1153 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
1154 reference to BFD_RELOC_ARM_GOT12 which is never generated.
1155 * config/tc-arm.c: Rewrite, adding Thumb-2 support.
1156
970c3dbc
DJ
11572005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1158
1159 * doc/Makefile.am (gasver.texi): Don't use $<.
1160 * doc/Makefile.in: Regenerated.
1161
ec7ef033
NC
11622005-05-17 Nick Clifton <nickc@redhat.com>
1163
1164 PR 876
1165 * symbols.c (resolve_symbol_value): Do not move symbols whose
1166 value expression has not been resolved or finalized into the
1167 absolute section as this will confuse other parts of the assembler
1168 into thinking that their value is zero.
1169
40a4d956
JB
11702005-05-17 Jan Beulich <jbeulich@novell.com>
1171
1172 * read.c (_find_end_of_line): New.
1173 (find_end_of_line): New.
1174 (HANDLE_CONDITIONAL_ASSEMBLY): Use it.
1175 (read_a_source_file): Use it.
1176 (s_globl): Use it.
1177 (s_macro): Use it.
1178 (get_line_sb): Use it.
1179 (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
1180 (s_comm_internal): Likewise.
1181 (s_lsym): Likewise.
1182 (s_macro): Likewise.
1183 (s_ignore): Use ignore_rest_of_line.
1184 * read.h (find_end_of_line): Prototype.
1185 (discard_rest_of_line): Remove prototype. #define to
1186 ignore_rest_of_line.
1187
2d034539
NC
11882005-05-17 Nick Clifton <nickc@redhat.com>
1189
1190 * config/tc-v850,h (TC_FIX_TYPE): Define.
1191 (TC_INIT_FIX_TYPE): Define.
1192 * config/tc-v850.c (md_assemble): When creating a fix record the
1193 operand in the tc_fix_data field.
1194 (md_apply_fix3): When applying a resolved fix use the operand's
1195 insertion procedure to store the value, if the operand has been
1196 recorded.
1197
42ecbf5e
DJ
11982005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
1199
1200 * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
1201 invocation.
1202 * Makefile.in: Regenerated.
1203
d7c531cd
BW
12042005-05-13 Sterling Augustine <sterling@tensilica.com>
1205 Bob Wilson <bob.wilson@acm.org>
1206
1207 * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
1208 message.
1209 (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
1210 for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
1211
3c9d25f4
AM
12122005-05-11 Alan Modra <amodra@bigpond.net.au>
1213
1214 * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
1215 BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
1216
ee192366
MM
12172005-05-10 Michael Matz <matz@suse.de>
1218
1219 * frags.c (frag_grow): Don't be too greedy in allocating memory.
1220
1221 * config/tc-hppa.c (pa_block): Check arguments to .block[z].
1222
20d7ce9b
HPN
12232005-05-10 Hans-Peter Nilsson <hp@bitrange.com>
1224
1225 PR binutils/886
1226 * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
1227 Handle label-without-colon before ordinary dot-pseudo as an
1228 ordinary label. Don't leak memory for label-without-colon alone
1229 on a line. Don't mmixal-munge operands for dot-pseudos.
1230
be03cc84
JB
12312005-05-10 Jan Beulich <jbeulich@novell.com>
1232
1233 * macro.c (get_any_string): Remove the two last parameters. Replace
1234 references to the former expand parameter by using macro_alternate.
1235 Simplify loop condition for checking for end-of-string.
1236 (get_string): Remove redunant call to sb_skip_white.
1237 (do_formals): Remove two last arguments to get_any_string.
1238 (macro_expand): Likewise.
1239 (expand_irp): Likewise.
1240
360e86f1
JB
12412005-05-10 Jan Beulich <jbeulich@novell.com>
1242
1243 * read.c (s_macro): Move local variable 'local' to smaller scope.
1244 Call sb_kill on it when done.
1245
34d9ee9e
JB
12462005-05-09 Jan Beulich <jbeulich@novell.com>
1247
ee192366
MM
1248 * config/tc-i386.c (optimize_disp): Discard displacement entirely
1249 when zero and not required by encoding constraints.
34d9ee9e 1250
c9cd7160
L
12512005-05-09 H.J. Lu <hongjiu.lu@intel.com>
1252
1253 PR 936
1254 * config/tc-sh64.c (sh64_fake_label): New.
1255
1256 * config/tc-sh64.h (TC_FAKE_LABEL): New.
1257
1258 * doc/internals.texi (TC_FAKE_LABEL): Document.
1259
1260 * write.c (TC_FAKE_LABEL): New.
1261 (adjust_reloc_syms): Use it.
1262 (write_object_file): Likewise.
1263
e44823cf
JB
12642005-05-09 Jan Beulich <jbeulich@novell.com>
1265
1266 * config/tc-i386.c (parse_insn): Disallow use of prefix separator
1267 and comma in Intel mode.
1268
089dfecd
JB
12692005-05-09 Jan Beulich <jbeulich@novell.com>
1270
1271 * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
1272 names to match ABI. Add more registers for 32-bit and 64-bit modes.
1273 Make name array static and const. Adjust lookup to account for NULL
1274 entries (standing for unused register numbers).
1275
f41bbced
JB
12762005-05-09 Jan Beulich <jbeulich@novell.com>
1277
1278 * config/tc-i386.c (parse_insn): Consider all matching instructions
1279 when checking for string instruction after string-only prefix.
1280
6e3f953d
L
12812005-05-07 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 PR 940
1284 * config/tc-ia64.c (start_unwind_section): Properly check
1285 comdat group with SHF_GROUP.
1286
0c6c36d5
BW
12872005-05-06 Bob Wilson <bob.wilson@acm.org>
1288
1289 * doc/c-xtensa.texi (Literal Directive): Spelling correction.
1290
c138bc38
BW
12912005-05-06 Bob Wilson <bob.wilson@acm.org>
1292
1293 * config/tc-xtensa.c: Remove excess whitespace.
1294 * config/tc-xtensa.h: Likewise.
1295 * config/xtensa-istack.h: Likewise.
1296 * config/xtensa-relax.c: Likewise.
1297 * config/xtensa-relax.h: Likewise.
1298
93a9f991
NC
12992005-05-06 Nick Clifton <nickc@redhat.com>
1300
1301 * sb.h: Fix formatting of comments.
1302 * sb.c: Fix formatting of comments.
1303
3c9aabc7
JB
13042005-05-06 Jan Beulich <jbeulich@novell.com>
1305
1306 * sb.h (sb_add_buffer): Reintroduce.
1307 * sb.c (sb_add_buffer): Likewise.
1308
6eaeac8a
JB
13092005-05-06 Jan Beulich <jbeulich@novell.com>
1310
1311 * macro.c (new_formal, del_formal): New.
1312 (do_formals): Use new_formal. Check for and parse qualifier. Warn if
1313 required argument has default value. Stop looking for more formal
1314 when there was a vararg one.
1315 (macro_expand_body): Use new_formal and del_formal.
1316 (macro_expand): Likewise. Initialize local variable err. Don't
1317 return immediately when encountering an error. Warn when keyword
1318 argument already had a value assigned. Eliminate duplicate clearing
1319 of argument value. When current positional argument matches parameter
1320 of vararg type, assign to it all the remaining arguments. Issue error
1321 when required parameter does not have value.
1322 (free_macro): Use del_formal.
1323 (expand_irp): Initialize formal type. Free buffers associated with
1324 formal prior to returning.
1325 * macro.h (struct formal_struct): Add new field 'type' with new
1326 enumeration type 'formal_type'.
1327 * doc/as.texinfo: Document macro parameter qualifiers.
1328 * NEWS: Mention new functionality.
1329
26aca5f6
JB
13302005-05-06 Jan Beulich <jbeulich@novell.com>
1331
1332 * cond.c (s_ifb): New.
1333 * read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
1334 * read.h (s_ifb): Prototype.
1335 * doc/as.texinfo: Document .ifb and .ifnb.
1336
5faa8e39
JW
13372005-05-05 Steve Ellcey <sje@cup.hp.com>
1338
1339 * config/tc-ia64.c (MIN): Undef.
1340
eac338cf
PB
13412005-05-05 Paul Brook <paul@codesourcery.com>
1342
1343 * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
1344
d8244a4a
NC
13452005-05-05 Matt Thomas <matt@3am-software.com>
1346
1347 * config/tc-vax.c (md_assemble): Don't assume a valueT is 4
1348 bytes.
1349
4b4da160
NC
13502005-05-05 Nick Clifton <nickc@redhat.com>
1351
1352 * Update the address and phone number of the FSF organization in
1353 the GPL notices in the following files:
1354 COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h,
1355 bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c,
1356 dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c,
1357 emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c,
1358 flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h,
1359 input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l,
1360 itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h,
1361 literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c,
1362 output-file.h, read.c, read.h, sb.c, sb.h, stabs.c,
1363 struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h,
1364 write.c, write.h, config/aout_gnu.h, config/atof-ieee.c,
1365 config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h,
1366 config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c,
1367 config/obj-aout.h, config/obj-bout.c, config/obj-bout.h,
1368 config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c,
1369 config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h,
1370 config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c,
1371 config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h,
1372 config/obj-multi.h, config/obj-som.c, config/obj-som.h,
1373 config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c,
1374 config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h,
1375 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
1376 config/tc-cris.c, config/tc-cris.h, config/tc-crx.c,
1377 config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h,
1378 config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c,
1379 config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
1380 config/tc-frv.c, config/tc-frv.h, config/tc-generic.c,
1381 config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h,
1382 config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c,
1383 config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h,
1384 config/tc-i386.c, config/tc-i386.h, config/tc-i860.c,
1385 config/tc-i860.h, config/tc-i960.c, config/tc-i960.h,
1386 config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c,
1387 config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h,
1388 config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h,
1389 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
1390 config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h,
1391 config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c,
1392 config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h,
1393 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
1394 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
1395 config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c,
1396 config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h,
1397 config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c,
1398 config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h,
1399 config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c,
1400 config/tc-s390.h, config/tc-sh.c, config/tc-sh.h,
1401 config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c,
1402 config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h,
1403 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
1404 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
1405 config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c,
1406 config/tc-v850.h, config/tc-vax.c, config/tc-vax.h,
1407 config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c,
1408 config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h,
1409 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
1410 config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h,
1411 config/te-ic960.h, config/te-irix.h, config/te-nbsd.h,
1412 config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h,
1413 config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h,
1414 config/xtensa-istack.h, config/xtensa-relax.c,
2b8725e7 1415 config/xtensa-relax.h, doc/fdl.texi
4b4da160 1416
699d2810
NC
14172005-05-05 Nick Clifton <nickc@redhat.com>
1418
1419 * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
1420 the target_big_endian variable to false.
1421
69852798
AM
14222005-05-04 Alan Modra <amodra@bigpond.net.au>
1423
1424 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
1425 list traversal. Use bfd_section_list_prepend.
1426 * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
1427 over the section list.
1428 * config/tc-xtensa.c (xtensa_remove_section): Delete.
1429 (xtensa_insert_section): Delete.
1430 (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
1431 and bfd_section_list_prepend.
1432 (xtensa_reorder_seg_list): Use bfd_section_list_remove and
1433 bfd_section_list_insert_after.
1434
c1d05a60
NC
14352005-05-03 Nick Clifton <nickc@redhat.com>
1436
1437 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations
1438 of bfd_section_list... macros.
1439 * config/tc-mmix.c (mmix_frob_file): Likewise.
1440 * config/tc-xtensa.c (xtensa_remove_section): Likewise.
1441 (xtensa_insert_section): Likewise.
1442
1443 * macro.c (macro_hash): Remove static.
1444 * macro.h (macro_hash): Provide an external declaration.
1445
5daa8fe7
L
14462005-05-02 H.J. Lu <hongjiu.lu@intel.com>
1447
1448 * write.c (write_object_file): Use bfd_section_double_list_remove
1449 to remove sections.
1450
475bf943
DJ
14512005-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1452
1453 * doc/Makefile.am (gasver.texi): Correct quoting.
1454 * doc/Makefile.in: Regenerated.
1455
009b6a7a
DJ
14562005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
1457
1458 * configure.tgt: Add h8300*-*-rtemscoff.
1459 Switch h8300*-*-rtems* to elf.
1460
7e70f1af
L
14612005-04-29 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 * hash.c: Undo the last change.
1464 * hash.h: Likewise.
1465
aa7eb06d
DJ
14662005-04-29 Daniel Jacobowitz <dan@codesourcery.com>
1467
1468 * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
1469 of Makefile.
1470 (DISTCLEANFILES): Remove.
1471 (MAINTAINERCLEANFILES): Add asconfig.texi.
1472 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
1473
87c245cc
BE
14742005-04-29 Ben Elliston <bje@au.ibm.com>
1475
1476 * Makefile.am (GAS_CFILES): Remove bignum-copy.c.
1477 (GENERIC_OBJS): Likewise, remove bignum-copy.o.
1478 (bignum-copy.o): Remove.
1479 * Makefile.in: Regenerate.
1480 * makefile.vms (OBJS): Remove bignum-copy.obj.
1481 * symbols.h (local_symbol_make): Remove declaration.
1482 (verify_symbol_chain_2): Likewise.
1483 * symbols.c (local_symbol_make): Make static.
1484 (max_indent_level): Likewise.
1485 (verify_symbol_chain_2): Remove.
1486 * macro.c (macro_hash): Make static.
1487 * messages.c (fprint_value): Remove.
1488 * read.h (get_absolute_expr): Remove.
1489 (emit_leb128_expr): Likewise.
1490 (do_s_func): Likewise.
1491 * read.c (do_s_func): Make static.
1492 (emit_leb128_expr): Likewise.
1493 (get_absolute_expr): Likewise.
1494 * as.h (as_howmuch): Remove declaration.
1495 (fprint_value): Likewise.
1496 * as.c (myname): Make static.
1497 * input-scrub.c (as_howmuch): Remove.
1498 (as_1_char): Likewise.
1499 * input-file.h (input_file_is_open): Remove.
1500 * input-file.c (input_file_is_open): Likewise.
1501 * expr.h (expr_build_unary): Remove declaration.
1502 (expr_build_binary): Likewise.
1503 * expr.c (expr_build_unary): Remove.
1504 (expr_build_binary): Likewise.
1505 * hash.h (hash_replace): Remove declaration.
1506 (hash_delete): Likewise.
1507 * hash.c (hash_replace): Remove.
1508 (hash_delete): Likewise.
1509 * bignum-copy.c (bignum_copy): Move from here ..
1510 * config/tc-vax.c (bignum_copy): .. to here.
1511 * bignum.h (LOG_TO_BASE_2_OF_10): Remove.
1512 (bignum_copy): Remove extern declaration.
1513 * sb.h (string_count): Remove extern declaration.
1514 (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
1515 (sb_name): Likewise.
1516 * sb.c (dsize): Replace preprocessor macro with static int.
1517 (string_count): Make static.
1518 (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
1519 (sb_name): Likewise.
1520 * config/obj-coff.c (dim_index): Make static.
1521 * config/tc-i386.c (GOT_symbol): Likewise.
1522 (output_invalid_buf): Likewise.
1523 * doc/internals.texi (Warning and error messages): Remove the
1524 prototype for fprint_value.
1525
f3429a74
BE
15262005-04-27 Ben Elliston <bje@au.ibm.com>
1527
1528 * link.cmd: Remove.
1529
60938e80
L
15302005-04-26 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 * config/obj-multi.h (FAKE_LABEL_NAME): Defined.
1533
1534 * read.c (pseudo_set): Disallow symbol set to common symbol.
1535
1536 PR 857
1537 * write.c (write_object_file): Report common symbol name when
1538 disallowing local symbol set to common symbol.
1539 (adjust_reloc_syms): Disallow local symbol set to undefined
1540 symbol.
1541
02ddf156
JB
15422005-04-25 Jan Beulich <jbeulich@novell.com>
1543
1544 * macro.c (macro_expand_body): Replace locals indicator parameters
1545 with actual macro_entry. New local variables macro_line and err.
1546 Don't return when encountering an error, just record the fact.
1547 Detect local symbol name colliding with parameter. Track line number
1548 inside of macro expansion.
1549 (do_formals): Move local variable name to wider scope. Check
1550 parameter of the same name doesn't already exist. In MRI mode, also
1551 check it doesn't collide with the argument count pseudo-parameter).
1552 (define_macro): Add file and line number parameters. Remove local
1553 variable namestr. New local variable error. Initialize macro_entry
1554 members file, line, and name. Don't return when encountering an
1555 error, just record the fact. Use %s in some diagnostics for read.c
1556 to insert the macro name. Free macro_entry on error.
1557 (macro_expand): Pass macro_entry to macro_epand_body. Don't return
1558 when encountering an error, just record the fact.
1559 (expand_irp): Don't return when encountering an error, just record
1560 the fact.
1561 * macro.h (macro_struct): New members name, file, and line.
1562 (define_macro): Add file and line number parameters.
1563 * read.c (s_macro): Pass file and line to define_macro. Tag warning
1564 regarding pseudo-op redefinition with the file/line that macro
1565 definition started at.
1566
d2a033cd
BW
15672005-04-22 Bob Wilson <bob.wilson@acm.org>
1568
1569 * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
1570 (future_alignment_required): Remove ifdefs that use it.
1571
84b08ed9
BW
15722005-04-22 Bob Wilson <bob.wilson@acm.org>
1573
1574 * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
1575 (xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into...
1576 (xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only"
1577 parameters.
1578 (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
1579 convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
1580
d8cbebfd
CG
15812005-04-21 Christian Groessler <chris@groessler.org>
1582
1583 * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
1584 array.
1585
e97b3f28
L
15862005-04-20 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 * config/obj-aout.h (S_IS_EXTERN): Removed.
1589 * config/obj-bout.h (S_IS_EXTERN): Likewise.
1590 * config/obj-coff.h (S_IS_EXTERN): Likewise.
1591 * symbols.c (S_IS_EXTERN): Likewise.
1592 * symbols.h (S_IS_EXTERN): Likewise.
1593
1594 * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
1595 S_IS_EXTERNAL.
1596 * config/tc-d10v.c (md_apply_fix3): Likewise.
1597 * config/tc-ia64.c (ia64_fix_adjustable): Likewise.
1598 * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
1599 * config/tc-m32r.c (m32r_fix_adjustable): Likewise.
1600 * config/tc-mmix.c (mmix_adjust_symtab): Likewise.
1601 * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
1602 (shmedia_md_convert_frag): Likewise.
1603 * symbols.c (print_symbol_value_1): Likewise.
1604 * write.c (write_object_file): Likewise.
1605
55e08f71
NC
16062005-04-20 Nick Clifton <nickc@redhat.com>
1607
5f9084e9
NC
1608 * config/tc-xtensa.c (get_aligned_diff): Change type of
1609 branch_align to offsetT so that its signedness matches that of
1610 target_size.
1611
55e08f71
NC
1612 * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
1613 number into a readable string.
1614 (load_register): Likewise.
1615
1f8b1395
AS
16162005-04-20 Andreas Schwab <schwab@suse.de>
1617
1618 * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
1619
b0825cc2
DM
16202005-04-19 David S. Miller <davem@davemloft.net>
1621
1622 * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
1623 NULL insn, exit early. Remove now spurious NULL checks.
1624 (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
1625 to NULL and exit.
1626
91c4c449
JB
16272005-04-19 Jan Beulich <jbeulich@novell.com>
1628
1629 * symbols.h (symbol_find_base): Remove prototype.
1630 * symbols.c (save_symbol_name): Remove code section conditional upon
1631 STRIP_UNDERSCORE.
1632 (symbol_find): Remove.
1633 (symbol_find_base): Rename to symbol_find.
1634 * subsegs.c (section_symbol): Replace use of symbol_find_base with
1635 symbol_find.
1636 * config/obj-coff.c (tag_insert): Remove code section conditional
1637 upon STRIP_UNDERSCORE.
1638 (obj_coff_def): Likewise.
1639 (obj_coff_endef): Replace use of symbol_find_base with symbol_find.
1640 (coff_frob_symbol): Likewise.
1641 (yank_symbols): Likewise.
1642 (c_section_symbol): Likewise.
1643 * config/obj-coff.h (DO_NOT_STRIP): Remove.
1644 * config/tc-arm.c (symbol_locate): Remove code section conditional
1645 upon STRIP_UNDERSCORE.
1646 * config/tc-h8300.h (DO_NOT_STRIP): Remove.
1647 * config/tc-h8500.h (DO_NOT_STRIP): Remove.
1648 * config/tc-sh.h (DO_NOT_STRIP): Remove.
1649 * config/tc-w65.h (DO_NOT_STRIP): Remove.
1650 * config/tc-z8k.h (DO_NOT_STRIP): Remove.
1651
80b8152b
AS
16522005-04-19 Andreas Schwab <schwab@suse.de>
1653
1654 * config/tc-ia64.c (md_assemble): Fix error message for wrong
1655 access to application registers.
1656
4d56c0a0
JB
16572005-04-19 Jan Beulich <jbeulich@novell.com>
1658
1659 * config/te-sysv32.h: Remove.
1660 * Makefile.am (TARG_ENV_HFILES): Remove reference to
1661 config/te-sysv32.h.
1662 * Makefile.in (TARG_ENV_HFILES): Likewise.
1663
4fdd1e4f
JB
16642005-04-19 Jan Beulich <jbeulich@novell.com>
1665
1666 PR/847
1667 * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
1668 length symbols.
1669
791fe849
MK
16702005-04-18 Mark Kettenis <kettenis@gnu.org>
1671
1672 * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
1673
9ee2a2d4
MR
16742005-04-18 Maciej W. Rozycki <macro@linux-mips.org>
1675
1676 * config/tc-mips.c (normalize_constant_expr): Don't check for
1677 HAVE_32BIT_GPRS.
1678 (check_absolute_expr): Only call normalize_constant_expr() if
1679 HAVE_32BIT_GPRS.
1680 (mips_ip): Likewise.
1681
1682 * config/tc-mips.c (check_absolute_expr): Fix formatting.
1683
e6ca91be
JB
16842005-04-18 Jan Beulich <jbeulich@novell.com>
1685
1686 * macro.c (free_token): New, freeing all the memory associated with a
1687 macro.
1688 (do_formals): Move initializers to ...
1689 (define_macro): ... here.
1690 (delete_macro): Convert passed in name to lower case. Warn when
1691 purging macro that doesn't exist. Use hash_jam instead of hash_delete.
1692
9f872bbe
MR
16932005-04-15 Maciej W. Rozycki <macro@linux-mips.org>
1694
1695 * config/tc-mips.c (normalize_constant_expr): Fix formatting.
1696
8fe53b44
JB
16972005-04-15 Jan Beulich <jbeulich@novell.com>
1698
1699 * config/obj-elf.c (obj_elf_struct): New.
1700 (elf_pseudo_table). Use it for .offset and .struct.
1701
0e5cd789 17022005-04-14 Bob Wilson <bob.wilson@acm.org>
140fe8df 1703 Sterling Augustine <sterling@tensilica.com>
0e5cd789
BW
1704
1705 * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
1706 than the section alignment.
1707
dd49a749
BW
17082005-04-14 Bob Wilson <bob.wilson@acm.org>
1709 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
1712 * config/tc-xtensa.c (xg_translate_sysreg_op,
1713 xtensa_translate_old_userregs_ops,
1714 xtensa_find_unaligned_branch_targets,
1715 xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
1716 relax_frag_add_nop): Support 64-bit host.
1717 (xtensa_mark_literal_pool_location, xtensa_move_literals): Use
1718 tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
1719
26eebcf5
MK
17202005-04-14 Mark Kettenis <kettenis@gnu.org>
1721
64efe625
MK
1722 * configure.tgt: Add support for OpenBSD/sparc ELF.
1723
26eebcf5
MK
1724 * configure.tgt: Set emulation for mips-*-openbsd*.
1725 Remove broken mips-dec-openbsd* config.
1726 * configure.in: Set default ABI for mips64-*-openbsd*.
1727 * configure: Regenerate.
1728
39a59cf8
MR
17292005-04-14 Maciej W. Rozycki <macro@linux-mips.org>
1730
1731 * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
1732 optimization for constant addresses.
1733
f7a568ea
NC
17342005-04-14 Nick Clifton <nickc@redhat.com>
1735
1736 * as.c (main): Move parse_args before symbol_begin and frag_init
1737 so that the hash table size can be set before it is used.
1738 * hash.c: Use an unsigned long type for the size of the hash
1739 tables.
3c9d25f4 1740 * hash.h (set_gas_hash_table_size): Update the prototype.
f7a568ea 1741
9e9b66a9
AM
17422005-04-14 Alan Modra <amodra@bigpond.net.au>
1743
1744 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
1745 * acinclude.m4: Include ../bfd/warning.m4.
1746 * configure.in: Invoke AM_BINUTILS_WARNINGS.
1747 * Makefile.in: Regenerate.
1748 * configure: Regenerate.
1749 * doc/Makefile.in: Regenerate.
1750
2051e8c4
MR
17512005-04-13 Maciej W. Rozycki <macro@linux-mips.org>
1752
1753 * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
1754 (normalize_address_expr): New function to sign-extend address
1755 offsets that fit into 32 bits in 32-bit mode.
1756 (macro_build_ldst_constoffset): Use normalize_address_expr()
1757 instead of a handcoded sequence.
1758 (load_register): Likewise. Report oversized numbers in a useful
1759 way.
1760 (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
1761 for constant addresses. Report oversized numbers in a useful way.
1762 (mips_ip): Use normalize_address_expr() for addresses.
1763
bc4bd9ab
MK
17642005-04-12 Mark Kettenis <kettenis@gnu.org>
1765
1766 * config/tc-i386.c (output_insn): Handle VIA PadLock instructions
1767 similar to other instructions now that they're marked as ImmExt.
1768
4bdd3565
NC
17692005-04-12 Nick Clifton <nickc@redhat.com>
1770
1771 * hash.c (DEFAULT_SIZE): Delete. Replace with:
1772 (gas_hash_table_size): New static variable.
1773 (set_gas_hash_table_size): New function: Records a requested size
1774 for the hash tables.
1775 (get_gas_hash_table_size): New function: Return a prime number
1776 near the requested size of the hash table.
1777 (hash_new): Use get_gas_hash_table_size.
1778 * hash.h: Add a prototype for set_gas_hash_table_size.
1779 * as.c (show_usage): Add description of new switches: --hash-size
1780 and --reduce-memory-overheads.
1781 (option_values): Add OPTION_HASH_TABLE_SIZE and
1782 OPTION_REDUCE_MEMORY_OVERHEADS.
1783 (std_longpopts): Add entries for the new options.
1784 (parse_args): Handle the new options.
1785 * Makefile.am: Add a dependency of as.c on hash.h.
1786 * Makefile.in: Regenerate.
1787 * doc/as.texinfo: Document the new switches.
1788 * NEWS: Mention the new switches.
1789
f394e3dd
NC
17902005-04-12 Nick Clifton <nickc@redhat.com>
1791
1792 PR gas/818
1793 * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
1794 synonyms.
1795
ceae3e33
AM
17962005-04-12 Alan Modra <amodra@bigpond.net.au>
1797
1798 * Makefile.am: Run "make dep-am".
1799 * Makefile.in: Regenerate.
1800
2eccd1b4
BW
18012005-04-11 Sterling Augustine <sterling@tensilica.com>
1802 Bob Wilson <bob.wilson@acm.org>
1803
1804 * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
1805
333f7af7
MK
18062005-04-11 Mark Kettenis <kettenis@gnu.org>
1807
1808 * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
1809
5e75c3ab
JB
18102005-04-11 Jan Beulich <jbeulich@novell.com>
1811
1812 * NEWS: Mention these changes and their effects.
1813 * macro.c (get_token): Use is_name_beginner/is_part_of_name/
1814 is_name_ender.
1815 (check_macro): Likewise.
1816 (buffer_and_nest): Likewise. Permit multiple labels. Don't discard
1817 labels together with the closing pseudo-op.
1818 (macro_expand_body): Adjust comment. Range-check input before use.
1819 Adjust mis-spelled diagnostic. Use is_name_beginner.
1820 * read.c (try_macro): New.
1821 (read_a_source_file): New static variable last_eol. Don't list
1822 macro expansion lines more than once. Call try_macro.
1823 (s_macro): Set section of line_label to absolute instead of undefined.
1824 * doc/as.texinfo: Add information on the caveats of these changes.
1825
514d955d
AM
18262005-04-11 Alan Modra <amodra@bigpond.net.au>
1827
1828 * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
1829 * symbols.h (symbol_X_add_number): Update prototype.
1830
a9fcb2a9
EC
18312005-04-10 Eric Christopher <echristo@redhat.com>
1832
1833 * symbols.c (symbol_X_add_number): Fix warning.
1834
045b540e
L
18352005-04-10 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * config/tc-m68k.c (md_begin): Support 64bit host.
1838 (get_num): Support 64bit BFD on 32bit host.
1839
b215186b
L
18402005-04-10 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
1843
be95a9c1
AM
18442005-04-09 Alan Modra <amodra@bigpond.net.au>
1845
31d20a21
AM
1846 * read.c (assign_symbol): Remove const from parm. Fix xcalloc
1847 call. Don't do the COFF hacks for multi-emulation gas. Move
1848 demand_empty_rest_of_line back to caller.
1849 (s_set, equals): demand_empty_rest_of_line here.
1850
be95a9c1
AM
1851 PR gas/827
1852 * as.h (rs_dummy): Define.
1853 * symbols.c (symbol_X_add_number): New function.
1854 * symbols.h (symbol_X_add_number): Declare.
1855 * stabs.c (aout_process_stab): Tidy symbol frag setting.
1856 * read.c (assign_symbol): New function, split out from s_set.
1857 Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy.
1858 Fix COFF hacks for multi-emulation gas.
1859 (s_set): Call assign_symbol. Remove "register" keyword.
1860 (set_zero_frag): New function.
1861 (pseudo_set): Always check for assignment to section syms.
1862 Always set segment and frag of symbol, and likewise extern for
1863 aout/bout. Handle assignment of sym=sym+/-const specially. Don't
1864 special case exp.X_add_number non-zero for O_symbol expressions.
1865 (equals): Use assign_symbol.
1866
6624cbde
BW
18672005-04-08 Bob Wilson <bob.wilson@acm.org>
1868
1869 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
1870 SEC_MERGE sections.
1871
dbbaec26
L
18722005-04-06 H.J. Lu <hongjiu.lu@intel.com>
1873
1874 * config/tc-i386.c (tc_gen_reloc): Don't turn
1875 BFD_RELOC_X86_64_32S into BFD_RELOC_32.
1876
0d6af1ab
NC
18772005-04-06 Nick Clifton <nickc@redhat.com>
1878
1879 * po/rw.po: New translation: Kinyarwanda
1880 * configure.in (ALL_LINGUAS): Add rw
1881 * configure: Regenerate.
1882
664df4e4
BW
18832005-04-05 Sterling Augustine <sterling@tensilica.com>
1884 Bob Wilson <bob.wilson@acm.org>
1885
1886 * config/tc-xtensa.c (branch_align_power): New.
1887 (xtensa_find_unaligned_branch_targets, get_aligned_diff,
1888 future_alignment_required): Use branch_align_power to check section
1889 alignment as well as xtensa_fetch_width when aligning branch targets.
1890
d77b99c9
BW
18912005-04-05 Bob Wilson <bob.wilson@acm.org>
1892
1893 * config/tc-xtensa.c: Warning fixes throughout.
1894 (xtensa_fetch_width): Change to unsigned.
1895 (assemble_nop, xtensa_find_unaligned_branch_targets,
1896 xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
1897 is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
1898 min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
1899 unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
1900 count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
1901 get_text_align_max_fill_size, get_text_align_nop_count,
1902 get_text_align_nth_nop_size, get_noop_aligned_address,
1903 get_aligned_diff, convert_frag_align_next_opcode,
1904 convert_frag_immed_finish_loop, xtensa_create_property_segments,
1905 xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
1906 types, avoiding size_t and using offsetT and addressT appropriately.
1907 (get_text_align_power): Clean up types. Avoid incorrect bound.
1908 (get_text_align_fill_size): Clean up types. Restructure for clarity.
1909
da9f89d4
L
19102005-04-04 H.J. Lu <hongjiu.lu@intel.com>
1911
1912 * config/tc-ia64.c (start_unwind_section): Undo the change
1913 of 2004-08-18.
1914 (generate_unwind_image, dot_endp): Likewise.
1915
f6fe78d6
JW
19162005-04-01 David Mosberger <davidm@hpl.hp.com>
1917
1918 * config/tc-ia64.c (ia64_handle_align): Move le_nop and
1919 le_nop_stop arrays and initializers to file scope.
1920 (md_begin): When generating code for anything other than
1921 Itanium 1, use MMI instead of MFI NOP bundles as a filler.
1922
a7d61044
JB
19232005-04-01 Jan Beulich <jbeulich@novell.com>
1924
1925 * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
1926 immediates.
1927
d2c5f73e
NC
19282005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
1929
1930 * NEWS: Mention [fdgh]_floating.
1931 * config/atof-vax.c: Fix some whitespace.
1932 * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating".
1933
56f36663
NC
19342005-04-01 Nick Clifton <nickc@redhat.com>
1935
1936 * configure.in: Add a check for <unistd.h> providing a prototype
1937 for getopt() which is compatible with the one in
1938 include/getopt.h. If so then define HAVE_DECL_GETOPT.
1939 * configure: Regenerate.
1940 * config.in (HAVE_DECL_GETOPT): Add.
1941
8a75718c
JB
19422005-04-01 Jan Beulich <jbeulich@novell.com>
1943
1944 * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
1945
ae8887b5
JB
19462005-04-01 Jan Beulich <jbeulich@novell.com>
1947
1948 * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
1949 (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
1950
05ea83ed
JB
19512005-03-30 Julian Brown <julian@codesourcery.com>
1952
1953 * config/tc-arm.c (arm_adjust_symtab): Rename
1954 bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
1955
9d2da7ca
JB
19562005-03-30 Julian Brown <julian@codesourcery.com>
1957
1958 * config/tc-arm.c (mapping_state): Change documentation in function
1959 comment to cross-reference spec instead. Change type of mapping symbols
1960 to BSF_NO_TYPE.
1961 (arm_adjust_symtab): Don't change type of mapping symbols here.
1962
e8a38df5
AL
19632005-03-30 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1964
1965 * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
1966 * config.in: Regenerate.
1967 * configure: Regenerate.
1968 * configure.in: Check for ffs decl and alphabetize.
1969
ba93b8ac
DJ
19702005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1971 Phil Blundell <philb@gnu.org>
1972
1973 * config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
1974 (md_apply_fix3): Mark TLS symbols.
1975 (tc_gen_reloc): Handle TLS relocations.
1976 (arm_fix_adjustable): Ignore TLS relocations.
1977 (s_arm_elf_cons): Support expressions after decorated symbols.
1978
84798bd6
JB
19792005-03-29 Julian Brown <julian@codesourcery.com>
1980
1981 * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates
1982 whether personality routine index N has been output for this section.
1983 (mapping_state): tc_segment_info_data now struct not enum.
1984 (arm_elf_change_section): Likewise, and marked_pr_dependency is now
1985 handled on section change.
1986 (create_unwind_entry): Previous code to output dependency removed.
1987 (s_arm_unwind_fnend): Output dependency if it hasn't been done already
1988 for this section.
1989 * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
1990 arm_segment_info_type.
1991 (arm_segment_info_type): New struct.
84798bd6 1992
7b1cc377
BW
19932005-03-28 Sterling Augustine <sterling@tensilica.com>
1994 Bob Wilson <bob.wilson@acm.org>
1995
1996 * config/tc-xtensa.c (do_align_targets): Update comment.
1997 (xtensa_frob_label): Compute "freq" before possibly switching frags.
1998 Insert a LOOP_END frag before every loop target, and do not overload
1999 DESIRE_ALIGN_IF_TARGET frags with loop end information.
2000 (xg_assemble_vliw_tokens): Use do_align_targets.
2001 (xtensa_fix_target_frags): Remove code to convert a
2002 DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
2003 negatable branch at the end of a loop.
2004 (frag_can_negate_branch): Delete.
2005
8c2fda1d
L
20062005-03-28 David Mosberger <davidm@hpl.hp.com>
2007 H.J. Lu <hongjiu.lu@intel.com>
2008
2009 PR 803
2010 NEWS: Mention "-mtune=[itanium1|itanium2]".
2011
2012 * config/tc-ia64.c (md): Add tune.
2013 (md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
2014 (md_show_usage): Add "-mtune=[itanium1|itanium2]".
2015 (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
2016 B unit NOPs are discouraged for McKinley-derived cores.
2017 (md_begin): Don't hardcode the "extra_goodness()" function in
2018 the comment...
2019 (ia64_init): Set md.tune to itanium2.
2020
2021 * doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
2022 * doc/c-ia64.texi: Likewise.
2023
161840f9
ILT
20242005-03-27 Ian Lance Taylor <ian@airs.com>
2025
2026 * config/obj-coff.c (coff_frob_symbol): When crashing because of a
2027 bad C_EFCN symbol, print its name.
2028
7c834684
BW
20292005-03-25 Bob Wilson <bob.wilson@acm.org>
2030
2031 * config/tc-xtensa.c (use_longcalls): Delete.
2032 (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
2033 the use_longcalls flag is set. Do this before checking the segment.
2034 (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never
2035 expand direct calls at this point.
2036 (xtensa_set_frag_assembly_state): Set use_longcalls flag.
2037 (xtensa_find_unmarked_state_frags): Likewise.
2038 (md_assemble): Do not disable longcalls by setting is_specific_opcode.
2039 (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
2040 (convert_frag_immed): Remove unnecessary check of is_specific_opcode.
2041 * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
2042
ff1e783f
HPN
20432005-03-25 Hans-Peter Nilsson <hp@bitrange.com>
2044
2045 * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
2046
695a4822
HPN
20472005-03-25 Hans-Peter Nilsson <hp@axis.com>
2048
2049 * config/tc-cris.h: Convert to ISO C90.
2050 * config/tc-cris.c: Ditto.
2051 (md_estimate_size_before_relax): Remove obsolete comment for
2052 parameter "segment_type".
2053 (md_begin): Document reason for cast of hash_insert argument.
2054 (md_atof): Correct type of parameter "type".
2055
ea1562b3
NC
20562005-03-24 Nick Clifton <nickc@redhat.com>
2057
2058 * write.h (bit_fix_new): Remove redundant prototype.
2059 * config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
2060 * config/obj-aout.c: Convert to ISO-C90 and fix formatting.
2061 * config/obj-aout.h: Convert to ISO-C90 and fix formatting.
2062 * config/obj-bout.c: Convert to ISO-C90 and fix formatting.
2063 * config/obj-bout.h: Convert to ISO-C90 and fix formatting.
2064 * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
2065 * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
2066 * config/obj-som.c: Convert to ISO-C90 and fix formatting.
2067 * config/obj-som.h: Convert to ISO-C90 and fix formatting.
2068 * config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
2069 * config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
2070 * config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
2071 * config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
2072 * config/tc-arc.c: Convert to ISO-C90 and fix formatting.
2073 * config/tc-arc.h: Convert to ISO-C90 and fix formatting.
2074 * config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
2075 * config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
2076 * config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
2077 * config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
2078 * config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
2079 * config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
2080 * config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
2081 * config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
2082 * config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
2083 * config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
2084 * config/tc-i370.c: Convert to ISO-C90 and fix formatting.
2085 * config/tc-i370.h: Convert to ISO-C90 and fix formatting.
2086 * config/tc-i960.c: Convert to ISO-C90 and fix formatting.
2087 * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
2088 * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
2089 * config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
2090 * config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
2091 * config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
2092 * config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
2093 * config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
2094 * config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
2095 * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
2096 * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
2097 * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
2098 * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
2099 * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
2100 * config/tc-or32.c: Convert to ISO-C90 and fix formatting.
2101 * config/tc-or32.h: Convert to ISO-C90 and fix formatting.
2102 * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
2103 * config/tc-pj.c: Convert to ISO-C90 and fix formatting.
2104 * config/tc-pj.h: Convert to ISO-C90 and fix formatting.
2105 * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
2106 * config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
2107 * config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
2108 * config/tc-v850.c: Convert to ISO-C90 and fix formatting.
2109 * config/tc-v850.h: Convert to ISO-C90 and fix formatting.
2110 * config/tc-w65.c: Convert to ISO-C90 and fix formatting.
2111 * config/tc-w65.h: Convert to ISO-C90 and fix formatting.
2112 * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
3c9d25f4 2113 * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
ea1562b3 2114
d110d6a2
JB
21152005-03-23 Jim Blandy <jimb@redhat.com>
2116
2117 * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
2118 attributes properly.
2119
ed84e695
NC
21202005-03-23 Mike Frysinger <vapier@gentoo.org>
2121 Nick Clifton <nickc@redhat.com>
2122
2123 * configure.tgt: Accept any C library to accompany a GNU Linux
2124 implementation, not just the GNU C library.
2125 * configure.in: Likewise.
2126 * configure: Regenerate.
2127
4d5f9b2a
NC
21282005-03-23 Nick Clifton <nickc@redhat.com>
2129
2130 * config/tc-tic30.c: Convert to ISO C90 formatting.
2131 * config/tc-tic30.h: Convert to ISO C90 formatting.
2132 * config/tc-pdp11.c: Convert to ISO C90 formatting.
2133 * config/atof-vax.c: Convert to ISO C90 formatting.
2134
704803a9
MR
21352005-03-21 Maciej W. Rozycki <macro@mips.com>
2136
2137 * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
2138 relocations correctly as well.
2139 (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
2140 relocations in mergeable sections section-relative either.
2141
6e2a91a3
BW
21422005-03-21 Bob Wilson <bob.wilson@acm.org>
2143
2144 * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
2145
3d063691
NC
21462005-03-21 Nick Clifton <nickc@redhat.com>
2147
1a66a017
NC
2148 * config/tc-sh.c (sh_elf_final_processing): Fix compile time
2149 warning by providing a prototype for sh_symbian_find_elf_flags.
2150
3d063691
NC
2151 * cgen.c (gas_cgen_parse_operand): Fix typo introduced by
2152 previous delta.
2153
6f19c13c
AM
21542005-03-21 Alan Modra <amodra@bigpond.net.au>
2155
2156 * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
2157 along with other formats that set bfd_gas. Remove unnecessary
2158 setting of bfd_gas. Delete strongarm cases in generic_target
2159 switch.
2160
bd17c2c3
AM
21612005-03-21 Alan Modra <amodra@bigpond.net.au>
2162
2163 PR gas/780
2164 * config/tc-m68k.c (TRUNC, SEXT): Define.
2165 (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
2166 (m68k_ip): Truncate or sign extend expressions as appropriate.
2167 (get_num): Likewise.
2168 (md_apply_fix3): Use SEXT.
2169
ec91a2c2
AM
21702005-03-21 Alan Modra <amodra@bigpond.net.au>
2171
2172 * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
2173 (OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
2174 (obj-vms.o): Delete rule.
2175 Run "make dep-am".
2176 * Makefile.in: Regenerate.
2177 * aclocal.m4: Regenerate.
2178 * doc/Makefile.in: Regenerate.
2179 * po/POTFILES.in: Regenerate.
2180
238d258f
NC
21812005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com>
2182
2183 * config/tc-m68k.c (m68k_elf_final_processing): Set file specific
2184 flag for coldfire v4e.
2185
30f725a1
BW
21862005-03-17 Bob Wilson <bob.wilson@acm.org>
2187
2188 * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
2189 xg_apply_fix_value and return a value to indicate success.
2190 (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative.
2191 (xtensa_force_relocation): Remove checks for VTABLE relocs.
2192 (xtensa_validate_fix_sub): New.
2193 (xtensa_fix_adjustable): Remove check for external or weak symbols.
2194 (tc_gen_reloc): Move code to handle difference of symbols and code to
2195 apply tentative fix values to ...
2196 (md_apply_fix3): ...here. Enable standard overflow checks for simple
2197 8, 16, and 32 bit relocations. Apply fixes for slot-specific
2198 relocations when linkrelax flag is not set.
2199 * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
2200 (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
2201
a724f0f4
JB
22022005-03-17 Jan Beulich <jbeulich@novell.com>
2203
2204 * config/tc-i386.c (i386_scale): Beautify error message.
2205 (Intel syntax comments): Update.
2206 (struct intel_parser_s): Add fields in_offset, in_bracket, and
2207 next_operand.
2208 (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
2209 Remove declarations.
2210 (intel_bracket_expr): Declare.
2211 (i386_intel_operand): Initialize new intel_parser fields. Wrap most
2212 of the function body in a loop allowing to split an operand into two.
2213 Replace calls to malloc and checks of it returning non-NULL with
2214 calls to xmalloc/xstrdup.
2215 (intel_expr): SHORT no longer handled here. Add comment indicating
2216 comparison ops need implementation.
2217 (intel_e04, intel_e04_1): Combine, replace recursion with loop.
2218 Check right operand of - does not specify a register when parsing
2219 the address of a memory reference.
2220 (intel_e05, intel_e05_1): Combine, replace recursion with loop.
2221 Check operands do not specify a register when parsing the address of
2222 a memory reference.
2223 (intel_e06, intel_e06_1): Likewise.
2224 (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
2225 handle SHORT as well as unary + and -. Don't accept : except for
2226 segment overrides or in direct far jump/call insns.
2227 (intel_brack_expr): New.
2228 (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
2229 intel_brack_expr.
2230 (intel_e11): Replace chain of if/else-if by switch, alloing fall-
2231 through in certain cases. Use intel_brack_expr. Add new diagnostics.
2232 Allow symbolic constants as register scale value.
2233 (intel_get_token): Replace call to malloc and check of return value
2234 with call to xmalloc. Change handling for FLAT to match MASM's.
2235 (intel_putback_token): Don't try to back up/free current token if
2236 that is T_NIL.
2237
deeaaff8
DJ
22382005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
2239
2240 * configure.tgt: Set emulation for arm-*-eabi*.
2241 * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
2242 * config/te-armeabi.h: New file.
2243 * config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
2244 * config/te-symbian.h: Include "te-armeabi.h".
2245
199fea98
NC
22462005-03-16 Nick Clifton <nickc@redhat.com>
2247
2248 * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
2249 local variable in case it is clobbered by the setjmp.
2250
1ad12f97
NC
22512005-03-16 Nick Clifton <nickc@redhat.com>
2252 Ben Elliston <bje@au.ibm.com>
2253
569acd2c 2254 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 2255 compiler command line. Enabled by default. Disable via
569acd2c 2256 --disable-werror.
1ad12f97
NC
2257 * configure: Regenerate.
2258
a5324a3e
NC
22592005-03-16 Nick Clifton <nickc@redhat.com>
2260
2261 * config/obj-coff.h: Convert to ISO C90 formatting.
2262 * config/obj-coff.c: Convert to ISO C90 formatting.
2263
b05fe5cf
ZW
22642005-03-15 Zack Weinberg <zack@codesourcery.com>
2265
2266 * config/tc-arm.c (do_mla): Rename to do_mlas, take second
2267 is_mls parameter; do not diagnose Rm==Rd when is_mls.
2268 (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
2269 (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
2270 (insns): Add ARMv6T2 instructions:
2271 bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
2272 (arm_archs): Add V6T2 variants.
2273
957d91c1
NC
22742005-03-15 Nick Clifton <nickc@redhat.com>
2275
2276 * NEWS: Add cutoff for changes in 2.16 release.
2277
43c3ab55
JB
22782005-03-15 Jan Beulich <jbeulich@novell.com>
2279
2280 * expr.c (operand): Merge handling of unary + into that for unary
2281 -, !, and ~.
2282
5862107c
EC
22832005-03-14 Eric Christopher <echristo@redhat.com>
2284
2285 * config/tc-mips.c: Include dw2gencfi.h.
2286 (mips_cfi_frame_initial_instructions): New.
2287 * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
2288 (tc_cfi_frame_initial_instructions): Ditto.
2289 (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
2290 (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
2291 * Makefile.am: Update dependencies.
2292 * Makefile.in: Regenerate.
2293
729ae8d2
AM
22942005-03-15 Alan Modra <amodra@bigpond.net.au>
2295
2296 * po/es.po: Commit new Spanish translation.
2297
882cb63e
AM
22982005-03-14 Alan Modra <amodra@bigpond.net.au>
2299
2300 * po/tr.po: Commit new Turkish translation.
2301
885fc257
ZW
23022005-03-12 Zack Weinberg <zack@codesourcery.com>
2303
2304 * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
2305 wfi, yield.
2306
e330299e
DJ
23072005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
2308
2309 * config-gas.com: Mark vax-vms as obsolete.
2310 * configure.in: Remove fmt=vms support.
2311 * config.in: Regenerate.
2312 * configure: Regenerate.
2313 * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
2314
7b1cc377
BW
23152005-03-10 Sterling Augustine <sterling@tensilica.com>
2316 Bob Wilson <bob.wilson@acm.org>
0fa77c95
BW
2317
2318 * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
2319 when checking if xg_resolve_literals needs to be called.
2320 * config/tc-xtensa.h: Fix spelling typo in a comment.
2321
4962e196
JB
23222005-03-10 Jan Beulich <jbeulich@novell.com>
2323
2324 * config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
2325 * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
2326 crafted structure declarations with the types from macro.h.
2327
4184909a
RS
23282005-03-09 Richard Sandiford <rsandifo@redhat.com>
2329
2330 * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
2331 for -mno-shared optimization.
2332
7d8e00cf
RS
23332005-03-09 Richard Sandiford <rsandifo@redhat.com>
2334
2335 * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
2336 (MAX_NOPS): Bump to 4.
2337 (mips_fix_vr4130): New variable.
2338 (nops_for_vr4130): New function.
2339 (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use
2340 nops_for_vr4130 if working around VR4130 errata.
2341 (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
2342 (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
2343 (md_parse_option): Handle them.
2344 (md_show_usage): Print them.
2345 * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
2346
dc36a61f
RS
23472005-03-09 Richard Sandiford <rsandifo@redhat.com>
2348
2349 * config/tc-mips.c (append_insn): Remove cop_interlocks test from
2350 branch delay code.
2351
7d10b47d
RS
23522005-03-09 Richard Sandiford <rsandifo@redhat.com>
2353
2354 * config/tc-mips.h (mips_flush_pending_output): Delete.
2355 (mips_emit_delays): Declare.
2356 (md_flush_pending_output): Use mips_emit_delays.
2357 * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
2358 the previous instructions.
2359 (md_begin, append_insn, md_parse_option): Update callers.
2360 (mips_emit_delay): Remove parameter. Move INSNS != 0 code to
2361 start_noreorder.
2362 (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
2363 (s_gpdword): Update callers.
2364 (start_noreorder, end_noreorder): New functions.
2365 (macro, macro2, mips16_macro, s_mipsset): Use them instead of
2366 manipulating mips_opts or prev_nop_frag directly.
2367 (mips_flush_pending_output): Delete.
2368
404a8071
RS
23692005-03-09 Richard Sandiford <rsandifo@redhat.com>
2370
2371 * config/tc-mips.c (mips_move_labels): New function, taken from...
2372 (append_insn, mips_emit_delays): ...here.
2373
71400594
RS
23742005-03-09 Richard Sandiford <rsandifo@redhat.com>
2375
2376 * config/tc-mips.c (MAX_NOPS): New macro.
2377 (history): Resize to 1 + MAX_NOPS.
2378 (fix_vr4120_class): New enumeration.
2379 (vr4120_conflicts): New variable.
2380 (init_vr4120_conflicts): New function.
2381 (md_begin): Call it.
2382 (insn_uses_reg): Constify first argument.
2383 (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
2384 (nops_for_insn_or_target): New functions.
2385 (append_insn): Use the new nops_for_* functions instead of inline
2386 delay checks. Generalize prev_nop_frag handling to handle an
2387 arbitrary history length. Insert nops into the history buffer
2388 once the number of nops in prev_nop_frag is fixed.
2389 (emit_delays): Use nops_for_insn instead of inline delay checks.
2390
9b91f544
RS
23912005-03-09 Richard Sandiford <rsandifo@redhat.com>
2392
2393 * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
2394 check from branch delay code. Remove unnecessary check for branches.
2395
1e915849
RS
23962005-03-09 Richard Sandiford <rsandifo@redhat.com>
2397
2398 * config/tc-mips.c (dummy_opcode): Delete.
2399 (nop_insn, mips16_nop_insn): New variables.
2400 (NOP_INSN): New macro.
2401 (insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
2402 (add_relaxed_insn, insert_into_history, emit_nop): New functions.
2403 (md_begin): Initialize nop_insn and mips16_nop_insn.
2404 (append_insn): Use the new emit_nop function to add nops, recording
2405 them in the history buffer. Use add_fixed_insn or add_relaxed_insn
2406 to reserve room for the instruction and install_insn to install the
2407 final form. Use insert_into_history to record the instruction in
2408 the history buffer. Use move_insn to do delay slot filling.
2409 (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
2410 (macro_build, mips16_macro_build, macro_build_lui, mips_ip)
2411 (mips16_ip): Use create_insn to initialize mips_cl_insns.
2412
bf12938e
RS
24132005-03-09 Richard Sandiford <rsandifo@redhat.com>
2414
2415 * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
2416 (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
2417 (insn_uses_reg, reg_needs_delay, append_insn, macro_build)
2418 (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
2419 (mips16_ip): Use the new macros instead of explicit masks and shifts.
2420
a38419a5
RS
24212005-03-09 Richard Sandiford <rsandifo@redhat.com>
2422
2423 * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
2424 and extended_p fields with a single fixed_p field.
2425 (append_insn, mips_no_prev_insn): Adjust accordingly.
2426
2fa15973
RS
24272005-03-09 Richard Sandiford <rsandifo@redhat.com>
2428
2429 * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
2430 a single mips16_absolute_jump_p bit.
2431 (append_insn): Adjust accordingly.
2432
47e39b9d
RS
24332005-03-09 Richard Sandiford <rsandifo@redhat.com>
2434
2435 * config/tc-mips.h (mips_cl_insn): Move definition to...
2436 * config/tc-mips.c (mips_cl_insn): ...here. Add new fields:
2437 frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
2438 and extended_p.
2439 (history): New variable.
2440 (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
2441 (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
2442 (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
2443 (prev_prev_insn_unreordered): Delete.
2444 (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
2445 (macro_start): Replace uses of prev_insn* with the equivalent history[]
2446 field.
2447
399132af
DJ
24482005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
2449
2450 * doc/Makefile.am: Update as.info dependencies.
2451 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
2452
24532005-03-08 Jan Beulich <jbeulich@novell.com>
fffeaa5f
JB
2454
2455 * doc/as.texinfo: Add sentence to indicate redefining a macro is an
2456 error, and point to .purgem documentation if someone really needs
2457 re-definitions.
2458 * NEWS: Mention macro redefinition is now an error.
2459
9b505842
JB
24602005-03-08 Jan Beulich <jbeulich@novell.com>
2461
2462 * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
2463 emitted to. Add more precise diagnostics for non-fitting insns based
2464 on that. Eliminate now superfluous special casing of MLX. Clear out
2465 slot information when dropping an insn.
2466
ef6a2b41
JB
24672005-03-08 Jan Beulich <jbeulich@novell.com>
2468
2469 * config/tc-ia64.c (parse_section_name): Rename to...
2470 (cross_section): In addition to separating the name from the rest of
2471 the arguments, also carry out the operation.
2472 (dot_xdata): Use cross_section.
2473 (dot_float_cons): Likewise.
2474 (dot_xstringer): Likewise.
2475 (dot_xdata_ua): Likewise.
2476 (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
2477
06647dfd
AM
24782005-03-05 Alan Modra <amodra@bigpond.net.au>
2479
2480 * po/gas.pot: Regenerate.
2481
bbe506e8
TS
24822005-03-04 David Daney <ddaney@avtrex.com>
2483
2484 * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
2485 instead of '_gp' for -mno-shared optimization.
2486 (s_cpload): Ditto.
2487 (s_abicalls): Document it in the comment.
2488 (md_show_usage): Document the -mno-shared option.
2489
aed1a261
RS
24902005-03-04 Richard Sandiford <rsandifo@redhat.com>
2491
2492 * config/tc-mips.c (mips_set_options): Add sym32 field.
2493 (mips_opts): Initialize it.
2494 (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
2495 (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
2496 (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
2497 (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
2498 when deciding whether to use a symbolic %highest/%higher expansion.
2499 (macro): Likewise. Remove o64/n32 linux hack. Always use
2500 ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
2501 and "la". Handle constants separately from symbolic expressions in
2502 the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
2503 and using load_register to load the high part of the address.
2504 (OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
2505 (OPTION_ELF_BASE): Bump by 2.
2506 (md_longopts): Add entries for -msym32 and -mno-sym32.
2507 (md_parse_option): Handle them.
2508 (usage): Document them.
2509 (s_mipsset): Handle ".set sym32" and ".set nosym32".
2510 (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
2511 HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
2512 * doc/c-mips.texi: Document ".set sym32", ".set nosym32",
2513 -msym32 and -mno-sym32.
2514
6caf9ef4
TS
25152005-03-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2516
2517 * config/tc-mips.c (load_address): Implement GP optimization
2518 for 64bit address space non-PIC. Fix formatting.
2519 (macro): Likewise. Simplify code.
2520 (md_parse_option): Don't bail out if -G 0 is set for PIC code.
2521 (mips_after_parse_args): Simplify code.
2522
406a7f05
NC
25232005-03-03 Nick Clifton <nickc@redhat.com>
2524
fbacee5b
NC
2525 * expr.c (operand): Remove redundant code enclosed by #ifdef
2526 RELAX_PAREN_GROUPING....#endif.
2527
77ccfee5
NC
2528 * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
2529 reloc is the difference of two symbols defined in the same
2530 section.
2531
406a7f05
NC
2532 * config/tc-iq2000.c (line_comment_chars): Include the # character
2533 as otherwise this breaks #APP/#NO_APP processing.
2534
2f12d57f
RR
25352005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
2536
2537 * config/tc-arc.c(md_assemble): Remove dead code for handling
2538 immediate indexing of ld and st .
2539
3f98094e
DJ
25402005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
2541 Joseph Myers <joseph@codesourcery.com>
2542
2543 * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
2544 %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
2545 (parse_relocation): Check for a word break after a relocation
2546 operator.
2547 (md_apply_fix3): Handle TLS relocations, and mark thread-local
2548 symbols.
2549
ab1e9ef7
AM
25502005-03-02 Alan Modra <amodra@bigpond.net.au>
2551
2552 * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
2553
bb14f524
JB
25542005-03-02 Jan Beulich <jbeulich@novell.com>
2555
2556 * as.c (main): Use unlink_if_ordinary instead of unlink.
2557 * messages.c (as_fatal): Likewise.
2558
c4a530c5
JB
25592005-03-02 Jan Beulich <jbeulich@novell.com>
2560
2561 * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
2562 accesses.
2563 (parse_register): Allow cr8...15 in all modes.
2564
167c3097
JB
25652005-03-02 Jan Beulich <jbeulich@novell.com>
2566
2567 * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
2568 etc. like normal symbol references (T_ID).
2569
71ba24a1
AM
25702005-03-02 Alan Modra <amodra@bigpond.net.au>
2571
2572 * symbols.c (fb_label_name): Fix silly thinko in last change.
2573
a76903bf
AM
25742005-03-02 Alan Modra <amodra@bigpond.net.au>
2575
9d0e75cb
AM
2576 * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
2577 * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
2578
a76903bf
AM
2579 * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
2580
25812005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
b15c27d7
RR
2582
2583 PR gas/708
a76903bf 2584 * config/tc-arc.c (md_assemble): Initialize suffix for extension
b15c27d7 2585 suffixes also.
b15c27d7 2586
c9dea48b
AM
25872005-03-01 Alan Modra <amodra@bigpond.net.au>
2588
c7f17d46
AM
2589 * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
2590
c9dea48b
AM
2591 * as.h (assert): Warning fix.
2592 * expr.c (expr): Correct assertion.
2593 * read.c (s_comm_internal): Remove assertion.
2594 * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
2595 (fixup_segment): Remove assertion.
2596 * config/tc-dlx.c (machine_ip): Remove untrue assertions.
2597 (md_apply_fix3): Likewise.
2598 * config/tc-i370.c (md_begin): Correct assertion.
2599 (i370_macro): Warning fix for assertion.
2600
44f2f9d2
AM
26012005-03-01 Alan Modra <amodra@bigpond.net.au>
2602
2603 * configure.in (AC_C_BIGENDIAN): Invoke.
2604 * configure: Regenerate.
2605 * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof
2606 host variable to set string header size.
2607 * config/obj-aout.c (obj_header_append): Don't use host structs.
2608 (obj_symbol_to_chars): Likewise.
2609 (obj_emit_strings): Likewise. Use the passed in output pointer.
2610 * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
2611 * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
2612 not sizeof host struct.
2613 (obj_header_append, obj_symbol_to_chars): Don't use host structs.
2614 (obj_emit_strings): Likewise.
2615 * config/obj-bout.h (EXEC_BYTES_SIZE): Define.
2616 (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
2617 sizeof host struct.
2618 (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
2619 sizeof host struct.
2620 (host_number_to_chars): Define.
2621 * config/obj-hp300.c (hp300_header_append): Don't use sizeof
2622 host internal struct to set header sizes.
2623 * config/tc-i960.c (md_number_to_field): Warning fix.
2624 (md_ri_to_chars): Use host byte order.
2625 (get_cdisp, md_apply_fix3): Warning fix.
055d1eb0 2626 * config/tc-m68k.c (md_assemble): Don't use sizeof host short.
44f2f9d2 2627
802a113d
NC
26282005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
2629
2630 * doc/c-arc.texi: Update documentation about ARC's extension
2631 instructions.
2632
e5f129ad
SS
26332005-02-27 Svein E. Seldal <svein@dev.seldal.com>
2634
2635 * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
2636 address for myself.
2637
2132e3a3
AM
26382005-02-23 Alan Modra <amodra@bigpond.net.au>
2639
2640 * cgen.c: Warning fixes.
2641 * config/tc-arc.c: Likewise.
2642 * config/tc-arm.c: Likewise.
2643 * config/tc-avr.c: Likewise.
2644 * config/tc-d10v.c: Likewise.
2645 * config/tc-d30v.c: Likewise.
2646 * config/tc-frv.c: Likewise.
2647 * config/tc-frv.h: Likewise.
2648 * config/tc-h8300.c: Likewise.
2649 * config/tc-h8500.c: Likewise.
2650 * config/tc-i370.c: Likewise.
2651 * config/tc-i960.c: Likewise.
2652 * config/tc-ia64.c: Likewise.
2653 * config/tc-ip2k.c: Likewise.
2654 * config/tc-m68hc11.c: Likewise.
2655 * config/tc-maxq.c: Likewise.
2656 * config/tc-mcore.c: Likewise.
2657 * config/tc-mips.c: Likewise.
2658 * config/tc-msp430.c: Likewise.
2659 * config/tc-pj.c: Likewise.
2660 * config/tc-ppc.c: Likewise.
2661 * config/tc-ppc.h: Likewise.
2662 * config/tc-s390.c: Likewise.
2663 * config/tc-sh.c: Likewise.
2664 * config/tc-sh64.c: Likewise.
2665 * config/tc-tic4x.c: Likewise.
2666 * config/tc-tic80.c: Likewise.
2667 * config/tc-v850.c: Likewise.
2668 * config/tc-vax.c: Likewise.
2669 * config/tc-w65.c: Likewise.
2670 * config/tc-xstormy16.c: Likewise.
2671 * config/tc-z8k.c: Likewise.
2672
ee3c9814
CM
26732005-02-22 Catherine Moore <clm@cm00re.com>
2674
2675 * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
2676 * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
2677
9b2f1d35
EC
26782005-02-22 Eric Christopher <echristo@redhat.com>
2679
2680 * config/tc-mips.c (struct proc): Change isym to
2681 func_sym. New member func_end_sym.
2682 (s_mips_ent): Update.
2683 (s_mips_end): Ditto. Add code to compute function size.
2684
b7712f8d
AM
26852005-02-22 Alan Modra <amodra@bigpond.net.au>
2686
2687 * read.c: Warning fixes.
2688 * config/obj-elf.c: Likewise.
2689
58e2ea4d
MR
26902005-02-22 Maciej W. Rozycki <macro@mips.com>
2691
2692 * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
2693 emitting insn.
2694
ebe372c1
L
26952005-02-21 H.J. Lu <hongjiu.lu@intel.com>
2696
2697 * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
2698 SEC_COFF_SHARED.
2699
2700 * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
2701 SEC_TIC54X_BLOCK.
2702 (demand_empty_rest_of_line): Likewise.
2703 (tic54x_sblock): Likewise.
2704 (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
2705
cc1bc22a
AM
27062005-02-21 Alan Modra <amodra@bigpond.net.au>
2707
2708 * read.c (address_bytes): New function.
2709 (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
2710 (potable): Add "dc.a".
2711 (cons_worker): Handle "dc.a".
2712 * doc/internals.texi (TC_ADDRESS_BYTES): Document.
2713
ac4528d2
AM
27142005-02-21 Alan Modra <amodra@bigpond.net.au>
2715
2716 * input-file.c (input_file_open): Rearrange to avoid warning.
2717
b5682e56
AM
27182005-02-19 Alan Modra <amodra@bigpond.net.au>
2719
2720 * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
2721 * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
2722 * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
2723
8fc2e39e
TS
27242005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2725
2726 * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
2727 uses after .set noat.
2728 (load_address): Likewise.
2729 (macro): Likewise. Don't try to avoid $at use by sacrificing
2730 the target register before it is stored, it won't work.
2731
744b6414
JW
27322005-02-17 James E Wilson <wilson@specifixinc.com>
2733
2734 * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
2735 see an instruction that specifies a template.
2736
30eb9c17
AM
27372005-02-18 Alan Modra <amodra@bigpond.net.au>
2738
2739 * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
2740 * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
2741 * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
2742
91d777ee
L
27432005-02-17 H.J. Lu <hongjiu.lu@intel.com>
2744
2745 * NEWS: Mention "-mhint.b=[ok|warning|error]".
2746
2747 * config/tc-ia64.c (md): Add hint_b.
2748 (emit_one_bundle): Handle md.hint_b for "hint".
2749 (md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
2750 (md_show_usage): Add "-mhint.b=[ok|warning|error]".
2751 (ia64_init): Set md.hint_b to error.
2752 (md_assemble): Handle md.hint_b for "hint.b".
2753
2754 * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
2755 * doc/c-ia64.texi: Likewise.
2756
f17c130b
AM
27572005-02-17 Alan Modra <amodra@bigpond.net.au>
2758
2759 * tc.h (struct relax_type, relax_typeS): Move from here..
2760 * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT.
2761 * ecoff.c (ecoff_new_file): Add appfile param.
2762 * ecoff.h (ecoff_new_file): Likewise.
2763 * itbl-lex.h: New file.
2764 * itbl-lex.l: Include itbl-lex.h.
2765 * itbl-parse.y: Likewise.
2766 (insntbl_line, yyparse, yylex): Move to itbl-lex.h.
2767 * read.c (s_app_file_string): Mark appfile possibly unused.
2768 * subsegs.c (seg_not_empty_p): Make sec possibly unused.
2769 * subsegs.h (struct seg_info_trash): Delete.
2770 (seg_info): Use segment_info_type instead.
2771 * config/obj-coff.c (struct filename_list): Make filename const char *.
2772 * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
2773 * config/obj-elf.c (elf_file_symbol): Similarly.
2774 * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use
2775 signed right shift.
2776 * config/tc-arc.c (md_operand): Warning fix.
2777 * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
2778 (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
2779 * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
2780 * config/tc-frv.c (frv_force_relocation): Warning fix.
2781 * config/tc-m68k.c (md_parse_option): Delete unused var.
2782 * config/tc-mcore.c (mylog2): Rename from log2 throughout.
2783 * config/tc-sparc.c: Likewise.
2784 (s_common): Warning fix.
2785 * config/tc-mips.c (append_insn): Use unsigned long long expressions.
2786 * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
2787 addressT.
2788 * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
2789 * config/tc-sh.c (sh_cfi_frame_initial_instructions,
2790 sh_regname_to_dw2regnum): Only define for OBJ_ELF.
2791 * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
2792 (tic4x_do_align): Use TIC_NOP_OPCODE.
2793 * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
2794 * config/tc-vax.c: Include netinet/in.h.
2795 (tc_headers_hook): Formatting.
2796 * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
2797
26b810ce
JB
27982005-02-17 Jan Beulich <jbeulich@novell.com>
2799
2800 * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
2801 parsing inN, locN, outN. Set 'idx' to offset register number starts
2802 at. Don't handle numbers with leading zeroes or beyond 95. Remove
2803 pointless cast.
2804
b8285c27
TS
28052005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2806
2807 * config/tc-mips.c (load_address): Fix formatting.
2808 (macro): Don't use AT if .set noat is in effect. Fix formatting.
2809 Catch macros which are unexpandable without AT. Remove duplicate
2810 zeroing of used_at.
2811 (macro2): Remove duplicate zeroing of used_at.
2812
4df6ce47
AM
28132005-02-16 Alan Modra <amodra@bigpond.net.au>
2814
2815 * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
2816 than zero.
2817
d6f16593 28182005-02-15 Nigel Stephens <nigel@mips.com>
4df6ce47 2819 Maciej W. Rozycki <macro@mips.com>
d6f16593
MR
2820
2821 * config/tc-mips.c (reloc_needs_lo_p): Handle
2822 BFD_RELOC_MIPS16_HI16_S.
2823 (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
2824 (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
2825 and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
2826 complaints on.
2827 (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
2828 BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
2829 Call my_getSmallExpression() to parse percent operators.
2830 (percent_op_match, mips_percent_op): Separate definitions.
2831 (mips16_percent_op): Define percent operators for the MIPS16 mode.
2832 (parse_relocation): Handle the MIPS16 mode using
2833 mips16_percent_op.
2834 (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
2835 BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
2836
7b347e43
JB
28372005-02-15 Jan Beulich <jbeulich@novell.com>
2838
2839 * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
2840 instead of explicitly dealing with the translation; exclude
2841 relocations that are already pcrel, however.
2842
a66d2bb7
JB
28432005-02-15 Jan Beulich <jbeulich@novell.com>
2844
2845 * config/tc-ia64.c: Include limits.h (if available).
2846 (gr_values[0]): Set path to INT_MAX.
2847 (dot_reg_val): Don't allow changing value of r0. Limit range of
2848 general registers at r127.
2849 (specify_resource): Default resource index is -1. Don't set resource
2850 index (in case IA64_RS_RSE) without setting the specific flag.
2851 (note_register_values): Check operand is O_constant before tracking
2852 input value of moves. Add tracking for dep.z with constant inputs.
2853 (print_dependency): Resource index of specific resource may be zero.
2854 (check_dependencies): Likewise.
2855
4b09e828
JB
28562005-02-15 Jan Beulich <jbeulich@novell.com>
2857
2858 * config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
2859 reg_class. Check operands and emit diagnostics for illegal use of
2860 registers.
2861
0ca3e455
JB
28622005-02-15 Jan Beulich <jbeulich@novell.com>
2863
2864 * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
2865 new variables type, suffix, and width. Handle
2866 BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
2867 Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
2868 FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
2869 FUNC_DTP_RELATIVE case. Return incoming relocation type if
2870 BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
2871 if unable to translate relocation type, using the new variables.
2872
2fac3d48
JB
28732005-02-15 Jan Beulich <jbeulich@novell.com>
2874
2875 * config/tc-ia64.h (ia64_symbol_chars): Declare.
2876 (ty_symbol_chars): Define.
2877 * config/tc-ia64.c (ia64_symbol_chars): Define.
2878
2f6d622e
JB
28792005-02-15 Jan Beulich <jbeulich@novell.com>
2880
2881 * config/tc-ia64.c (ia64_parse_name): Only update next character if
2882 input_line_pointer was advanced.
2883
28013b5c
KK
28842005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2885
2886 * config/tc-sh.c (md_apply_fix3): Add parentheses around &
2887 within |.
2888
f1dab70d
JB
28892005-02-13 Jan Beulich <jbeulich@novell.com>
2890
2891 * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
2892 (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
2893 indicator.
2894 (ia64_init): Set md.detect_dv.
2895 (ia64_start_line): New static variable warned. Warn only once when
2896 encountering explicit stops in automatic mode.
2897 * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
2898 * NEWS: Mention new default mode.
2899
20b36a95
JB
29002005-02-13 Jan Beulich <jbeulich@novell.com>
2901
2902 * config/tc-ia64.c (dot_rot): Add comment that name strings should
2903 be freed when wiping out previous state. Canonicalize names before
2904 use. Free name string when detecting redefinition.
2905 (dot_pred_rel): Call generic expression parser to process arguments.
2906 Handle O_register case for individual predicates and O_subtract for
2907 ranges.
2908 (ia64_parse_name): Canonicalize name before looking it up in dynamic
2909 register hash.
2910 (ia64_canonicalize_symbol_name): Strip off all trailing # characters.
2911 Warn if multiple found, issue error if resulting symbol name has zero
2912 length.
2913 (dot_alias): Canonicalize name before use.
2914
07450571
L
29152005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2916
2917 * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
2918 and 0 for error.
2919 (in_procedure): Return -1 for warning.
2920 (in_prologue): Likewise.
2921 (in_body): Likewise.
2922
01b91374
L
29232005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2924
ac4528d2 2925 * config/tc-ia64.c (dot_xdata): Undo the last change.
01b91374
L
2926 (dot_float_cons): Likewise.
2927 (dot_xstringer): Likewise.
2928 (dot_xdata_ua): Likewise.
2929 (dot_float_cons_ua): Likewise.
2930
970d6792
L
29312005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2932
2933 * NEWS: Mention "-munwind-check=[warning|error]".
2934
2935 * config/tc-ia64.c (md): Add unwind_check.
2936 (unwind_diagnostic): New.
2937 (in_procedure): Call unwind_diagnostic when a directive isn't
2938 in procedure.
2939 (in_prologue): Call unwind_diagnostic when a directive isn't in
2940 prologue.
2941 (in_body): Call unwind_diagnostic when a directive isn't in
2942 body region.
2943 (dot_endp): Set md.unwind_check to error before calling
2944 in_procedure and restore it after. When the name is missing or
2945 couldn't be found, use the one from the last .proc if
2946 md.unwind_check isn't error. Warn if md.unwind_check is
2947 warning.
2948 (md_parse_option): Handle "-munwind-check=[warning|error]".
2949 (md_show_usage): Add "-munwind-check=[warning|error]".
2950 (ia64_init): Set md.unwind_check to warning.
2951
2952 * doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
2953 * doc/c-ia64.texi: Likewise.
2954
16a48f83
JB
29552005-02-11 Jan Beulich <jbeulich@novell.com>
2956
2957 * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
2958 (LEX_QM): Likewise.
2959 (ia64_parse_name): New third parameter.
2960 (md_parse_name): Pass third argument.
2961 * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
2962 (md_operand): Handling of '@'-prefixed symbols moved from here...
2963 (ia64_parse_name): ...to here.
2964
a911c10a
JB
29652005-02-11 Jan Beulich <jbeulich@novell.com>
2966
2967 * config/tc-ia64.c (md): Remove last_groups and group_idx.
2968 (errata_nop_necessary_p): Remove declaraction and definition.
2969 (emit_one_bundle): Don't call errata_nop_necessary_p. Don't
2970 update md.group_idx. Don't reset md.last_groups.
2971
b3f19c14
JB
29722005-02-11 Jan Beulich <jbeulich@novell.com>
2973
2974 * config/tc-ia64.c (parse_section_name): Handle non-quoted first
2975 argument.
2976 (dot_xdata): Free section name after use.
2977 (dot_float_cons): Likewise.
2978 (dot_xstringer): Likewise.
2979 (dot_xdata_ua): Likewise.
2980 (dot_float_cons_ua): Likewise.
2981 (md_pseudo_table): Add xdata16 and xdata16.ua.
2982
5cb53c21
L
29832005-02-10 H.J. Lu <hongjiu.lu@intel.com>
2984
2985 * doc/all.texi: Add IA64.
2986 * doc/as.texinfo: Likewise.
2987
2988 * doc/c-ia64.texi: Fix typos.
2989
620b81c1
JB
29902005-02-10 Julian Brown <julian@codesourcery.com>
2991
2992 * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
2993 BFD_RELOC_UNUSED.
2994 (do_t_push_pop): Likewise.
2995 (md_assemble): Likewise.
2996 (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
2997 BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
2998 (create_unwind_entry): Output dependency on the required personality
2999 routines.
620b81c1 3000
4ee4d249
NS
30012005-02-07 Nathan Sidwell <nathan@codesourcery.com>
3002
3003 * as.h (seg_not_empty_p): Return int, not bfd_boolean.
3004 * subsegs.c (seg_not_empty_p): Likewise.
3005
9f5083a4
NC
30062005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
3007
3008 * config/tc-maxq.c (md_estimate_size_before_relax): Correct the
4df6ce47 3009 relative jump calculation.
9f5083a4
NC
3010 <md_convert_frag) : Likewise.
3011 <output_disp): Likewise.
3012
aaac53f5
HPN
30132005-02-07 Hans-Peter Nilsson <hp@axis.com>
3014
3015 * write.c (write_object_file): Recognize warning-symbol construct
3016 and skip object- and target- handling for the second symbol.
3017
05ee4b0f
JB
30182005-02-02 Jan Beulich <jbeulich@novell.com>
3019
3020 * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
3021 designators along with quoted ones. Free copy of quoted designator
3022 when done.
3023
65ec77d2
BE
30242005-02-01 Ben Elliston <bje@au.ibm.com>
3025
3026 * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
3027 config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
3028 config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
3029 config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
3030 config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
3031 config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
3032 config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
3033 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
3034 config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
3035 config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
3036 config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
3037 config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
3038 config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
3039 #if 0'd code throughout.
3040
d342277e
NC
30412005-01-31 Nick Clifton <nickc@redhat.com>
3042
3043 * as.c (parse_args): Bump copyright date reported by --version to
3044 2005.
3045
d6486796
NC
30462005-01-31 Nick Clifton <nickc@redhat.com>
3047
3048 * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos
3049 and vax-vms.
3050
ca3bc58f
JB
30512005-01-31 Jan Beulich <jbeulich@novell.com>
3052
3053 * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
3054 that can end with .endr in that case. Make requiring/permitting
3055 pseudo-ops without leading dot closer to the logic in read.c serving
3056 the same purpose.
3057 (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
3058 ignored.
3059
057f53c1
JB
30602005-01-31 Jan Beulich <jbeulich@novell.com>
3061
3062 * macro.c (do_formals): Adjust to no longer accept empty parameter
3063 names.
3064 (define_macro): Adjust to no longer accept empty macro name, garbage
3065 following the parameters, or macros that were previously defined.
3066 * read.c (s_bad_end): Declare.
3067 (potable): Add endm. Handler for endr and endm is s_bad_end.
3068 (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
3069 and .endr.
3070 * read.h (s_bad_endr): Remove.
3071
d3156ecc
JB
30722005-01-31 Jan Beulich <jbeulich@novell.com>
3073
3074 * config/tc-ia64.c (parse_operands): Parse all specified operands,
3075 immediately discarding (but counting) those exceeding the maximum
3076 possible amount. Track whether output and input operand counts ever
3077 matched, and use this to better indicate which of the operands/
3078 operand types was wrong; specifically don't default to pointing to
3079 the first operand.
3080
75e09913
JB
30812005-01-31 Jan Beulich <jbeulich@novell.com>
3082
3083 * config/tc-ia64.c (unwind): Remove proc_end (now an automatic
3084 variable in dot_endp). Add body and insn. Make prologue,
3085 prologue_mask, body, and insn bitfields.
3086 (fixup_unw_records): Remove spurious new-lines from end of diagnostic
3087 messages.
3088 (in_procedure, in_prologue, in_body): New.
3089 (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
3090 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
3091 dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
3092 dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
3093 dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
3094 dot_personality): Use the appropriate one of the above.
3095 (dot_proc): Clear unwind.proc_start; set to current location only if
3096 none of the entry points were valid. Check for non-zero-length entry
3097 point names. Check that entry points aren't defined, yet. Clear
3098 unwind.prologue, unwind.body, and unwind.insn.
3099 (dot_body): Call in_procedure. Check that first directive in procedure
3100 had no insns emitted before. Set unwind.body.
3101 (dot_prologue): Call in_procedure. Check that not already in prologue.
3102 Check that first directive in procedure had no insns emitted before.
3103 Clear unwind.body.
3104 (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
3105 length entry point names. Check that entry points became defined.
3106 (md_assemble): Set unwind.insn once unwind.proc_start is defined.
3107
f4660e2c
JB
31082005-01-31 Jan Beulich <jbeulich@novell.com>
3109
3110 * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
3111 before actually using it. Don't generate an error in manual bundling
3112 mode when looking at an insn requiring slot 2 but not yet at slot 2.
3113 Don't generate an error in manual bundling mode when looking at an
3114 insn required to be last in its group but the required slot hasn't
3115 been reached, yet. Allow conversion from MII to MI;I for bundle
3116 consisting of only 2 insns with the stop between them. Suppress
3117 various meaningless errors resulting from detecting earlier ones.
3118
60b9a617
JB
31192005-01-31 Jan Beulich <jbeulich@novell.com>
3120
3121 * config/tc-ia64.c (parse_operands): Also handle alloc without first
3122 input being ar.pfs.
3123
7af0dfc7
CG
31242005-01-28 Christian Groessler <chris@groessler.org>
3125
3126 * config/tc-z8k.c (md_assemble): Improve error detection.
3127
f7e323d5
JB
31282005-01-28 Jan Beulich <jbeulich@novell.com>
3129
3130 * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
3131 for personality routine pointer only if there is one.
3132 (ia64_convert_frag): Likewise.
3133 (generate_unwind_image): Likewise.
3134
f87a1e0c
CG
31352005-01-27 Christian Groessler <chris@groessler.org>
3136
3137 * config/tc-z8k.c (INSERT): Remove, not used anywhere.
3138 (md_apply_fix3): Make relative branches out of range an error
3139 instead of a warning. Display correct line number for out of
3140 range branches/calls/memory accesses.
3141
c6cb92c5
NS
31422005-01-27 Nathan Sidwell <nathan@codesourcery.com>
3143
3144 * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
3145 to emit .debug_line and other debug sections.
3146 * as.h (seg_not_empty_p): Declare.
3147 * subsegs.c (seg_not_empty_p): New predicate.
3148
e8093792
AC
31492005-01-27 Andrew Cagney <cagney@gnu.org>
3150
3151 * configure: Regenerate to track ../gettext.m4 change.
3152
09124b3f
JB
31532005-01-27 Jan Beulich <jbeulich@novell.com>
3154
3155 * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
3156
31572005-01-27 Jan Beulich <jbeulich@novell.com>
97762d08
JB
3158
3159 * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
3160 to/from application registers dynamic insns.
3161 (md_assemble): Defer resolution of move to/from application registers
3162 dynamic insns when they can be issued on either the I- or M-units.
3163
90219bd0
AO
31642005-01-25 Alexandre Oliva <aoliva@redhat.com>
3165
3166 * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
3167 2004-12-10 Alexandre Oliva <aoliva@redhat.com>
3168 * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
3169 2004-11-10 Alexandre Oliva <aoliva@redhat.com>
3170 * cgen.c (gas_cgen_parse_operand): Handle
3171 CGEN_PARSE_OPERAND_SYMBOLIC.
3172 * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
3173 (frv_force_relocation): Likewise. Fix handling of PIC
3174 relocations.
3175 (md_apply_fix3): Likewise.
3176
59c871b4
BE
31772005-01-21 Ben Elliston <bje@au.ibm.com>
3178
3179 * as.h: Remove #if 0'd code.
3180 * atof-generic.c (atof_generic): Likewise.
3181 * ecoff.c (ecoff_directive_frame): Likewise.
3182 * frags.h (FRAG_APPEND_1_CHAR): Likewise.
3183 * itbl-ops.c (itbl_add_reg): Likewise.
3184 * listing.c (calc_hex): Likewise.
3185 * read.c (MASK_CHAR): Likewise.
3186 * subsegs.c (subsegs_print_statistics): Likewise.
3187 * symbols.c (indent): Likewise.
3188 * write.c (write_relocs): Likewise.
3189 (write_object_file): Likewise.
3190 (relax_frag): Likewise.
3191
fb767913
NC
31922005-01-20 Nick Clifton <nickc@redhat.com>
3193
3194 * as.c (std_longopts): Add an entry for "--a" in order to prevent
3195 getopt_long_only() from considering -a as an abbreviation for
3196 --alternate.
3197 (parse_args): Fix the parsing of -a=<file>.
3198
c556cc9c
AM
31992005-01-20 Alan Modra <amodra@bigpond.net.au>
3200
3201 PR gas/684
3202 * read.c (s_incbin): Adjust default count for skip. Check validity
3203 of count and skip rigorously.
3204
9c6ed8e6
FF
32052005-01-19 Fred Fish <fnf@specifixinc.com>
3206
3207 * config/tc-mips.c (dummy_opcode): Add init for new struct member.
3208
e5604d79
RS
32092005-01-19 Richard Sandiford <rsandifo@redhat.com>
3210
3211 * read.c (convert_to_bignum): New function, split out from...
3212 (emit_expr): ...here. Handle the case where X_add_number is
3213 positive and the input value is negative.
3214 (output_big_sleb128): Fix setting of continuation bit. Check whether
3215 the final byte needs to be sign-extended. Fix size-shrinking loop.
3216 (emit_leb128_expr): When generating a signed leb128, see whether the
3217 sign of an O_constant's X_add_number matches the sign of the input
3218 value. Use a bignum if not.
3219
e38bc3b5
NC
32202005-01-17 Andrew Stubbs <andrew.stubbs@st.com>
3221
3222 * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
3223 arch_sh_up in order to match the external name and make the
3224 testsuite's job easier.
3225
df227444
L
32262005-01-14 H.J. Lu <hongjiu.lu@intel.com>
3227
4df6ce47 3228 PR 659
df227444
L
3229 * config/tc-i386.c (i386_scale): Disallow 0 scale.
3230
b8b80cf7
NC
32312005-01-12 Nick Clifton <nickc@redhat.com>
3232
3233 * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
3234 ignored_arguments array.
3235
324007b9
L
32362005-01-10 H.J. Lu <hongjiu.lu@intel.com>
3237
3238 * write.c (write_object_file): Disallow a symbol equated to
3239 common symbol.
3240
5c4504f7
NC
32412005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
3242
3243 * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
3244 bfd_mach_maxq20.
3245 (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
3246 (maxq_target): New function: Set the machine type.
3247
4e7fd91e
PB
32482005-01-06 Paul Brook <paul@codesourcery.com>
3249
3250 * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
3251 (md_begin): Handle TE_VXWORKS for FP defaults.
3252 (md_apply_fix3): Correct rela offsets.
3253 (elf32_arm_target_format): Add VxWorks targets.
3254
ea3eed15
PB
32552005-01-06 Paul Brook <paul@codesourcery.com>
3256
3257 * configure.tgt: Set em=vxworks for *-*-vxworks.
3258 * config/te-vxworks.h: New File.
3259
5dc1606f
PB
32602005-01-06 Paul Brook <paul@codesourcery.com>
3261
3262 * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
3263
18af0b39
NC
32642005-01-04 Dmitry Diky <diwil@spec.ru>
3265
3266 * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
3267 global label.
3268
196e8040
JW
32692005-01-03 David Mosberger <davidm@hpl.hp.com>
3270
3271 * config/tc-ia64.c (md): Add member "loc_directive_seen".
3272 (dot_loc): New function.
3273 (md_pseudo_table): Add entry to map .loc to dot_loc().
3274 (emit_one_bundle): Only call dwarf2_gen_line_info() if we have
3275 seen a .loc directive or we're generating DWARF2 debug info for
3276 assembly source.
3277
a207757e
AM
32782004-12-29 Alan Modra <amodra@bigpond.net.au>
3279
3280 PR gas/619
3281 * read.c (s_comm_internal): Don't zero end of name until size
3282 expression has been parsed.
3283
71d7ecf2
MM
32842004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
3285
3286 * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
3287
30c62922
TL
32882004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
3289
3290 * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch'
3291 case).
3292
14ee9f48
ILT
32932004-12-22 Ian Lance Taylor <ian@airs.com>
3294
3295 * configure.tgt: New.
3296 * configure.in: Move setting of cpu_type, fmt, etc., to
3297 configure.tgt.
3298 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
3299 $(srcdir)/configure.tgt.
3300 * configure, Makefile.in: Rebuild.
3301
750bce0e 33022004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
4df6ce47 3303
750bce0e
NC
3304 * config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and
3305 R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD
3306 instructions.
3307 (avr_offset_expression): New function to parse offsets for LDI
3308 instructions.
3309 (avr_operand): Use it.
3310 (md_apply_fix3): Generate the relocs.
3311
9d2be1ee
JR
33122004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
3313
3314 * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
3315 BFD_RELOC_SH_IMMS10BY8 relocation.
3316
3317 * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
3318 than just ignoring bad code.
3319
1e50d24d
RS
33202004-12-16 Richard Sandiford <rsandifo@redhat.com>
3321
3322 * config/tc-v850.c (handle_lo16): New function.
3323 (v850_reloc_prefix): Use it to check lo().
3324 (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
3325
2fbd2a87
NC
33262004-12-14 P.J. Darcy <darcypj@us.ibm.com>
3327
3328 * configure.in: Add s390x-ibm-tpf support.
3329 * configure: Regenerate.
3330
7a6d0b32
JB
33312004-12-15 Jan Beulich <jbeulich@novell.com>
3332
3333 * config/obj-elf.c (obj_elf_change_section): Only set type and
3334 attributes on new sections. Emit warning when type of re-declared
3335 section doesn't match.
3336
5b9d23c6
JB
33372004-12-15 Jan Beulich <jbeulich@novell.com>
3338
3339 * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
3340 '.cfi_startproc simple' doesn't inherit the old value.
3341
dcb45a06
JB
33422004-12-15 Jan Beulich <jbeulich@novell.com>
3343
3344 * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
3345 to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
3346 generation to emit a factored offset.
3347
aa6975fb
ILT
33482004-12-10 Ian Lance Taylor <ian@wasabisystems.com>
3349
6943caf0
ILT
3350 * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
3351 which is too large in the case of NO_PIC without 64-bit
3352 addresses.
3353
aa6975fb
ILT
3354 * config/tc-mips.c (mips_in_shared): New static variable.
3355 (macro_build_lui): Permit "_gp" if !mips_in_shared.
3356 (md_longopts): Add -mshared and -mno-shared.
3357 (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
3358 (s_cpload): Implement !mips_in_shared case.
3359 (s_cpsetup): Likewise.
3360 * doc/c-mips.texi (MIPS Opts): Document -mno-shared.
3361 * NEWS: Mention -mno-shared.
3362
be1b2b4b
PB
33632004-12-09 Paul Brook <paul@codesourcery.com>
3364
3365 * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
3366 for function start.
3367
9a92f48d
ILT
33682004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
3369
dd22970f
ILT
3370 * config/tc-mips.c (append_insn): If we emit a nop during a relax
3371 sequence, increase the size of the sequence.
3372
9a92f48d
ILT
3373 * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
3374 use CPU_RM9000.
3375
b617dc20
BE
33762004-12-07 Ben Elliston <bje@gnu.org>
3377
3378 * read.c (s_align): Use an align_limit temporary to allay a GCC
3379 signed/unsigned comparison warning.
3380
c820d418
MM
33812004-12-01 Mark Mitchell <mark@codesourcery.com>
3382
3383 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
3384 * configure.in: Use it for arm*-*-linux-gnueabi*.
3385 * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
3386 * config/te-armlinuxeabi.h: New file.
3387 * Makefile.in: Regenerated.
3388 * aclocal.m4: Likewise.
3389 * configure: Likewise.
4df6ce47 3390 * doc/Makefile.in: Regenerated.
c820d418 3391
2b0210eb
BW
33922004-12-02 Bob Wilson <bob.wilson@acm.org>
3393
3394 * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
3395 (xtensa_restore_emit_state): Likewise.
3396
9ebd302d
AM
33972004-12-02 Alan Modra <amodra@bigpond.net.au>
3398
3399 * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
3400 (s_align): Use it.
3401
32118081
NC
34022004-11-30 Tero Niemela <tero_niemela@yahoo.com>
3403
3404 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
3405 * Makefile.in: Regenerate.
3406
3f414718
TL
34072004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
3408
9ebd302d
AM
3409 * config/tc-crx.c: Major code cleanup. Remove unused variables and
3410 functions, give functions a meaningful name, add comments.
3411 (check_range): New function - Replace operand size calculation
3f414718
TL
3412 with range checking.
3413 (assemble_insn): Update Algorithm, improve error issuing.
9ebd302d 3414 (enum op_err): New.
3f414718
TL
3415 (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
3416 handling.
3417
a7498ae6
NC
34182004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3419
3420 * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte
3421 miss between different section in the same module.
3422 (tc_gen_reloc): Likewise.
3423
5c54fd37
NC
34242004-11-25 Theodore A. Roth <troth@openavr.org>
3425
3426 * gas/config/tc-avr.c (mcu_types): Add support for atmega165,
3427 atmega325, atmega3250, atmega645 and atmega6450.
3428
37edbb65
JB
34292004-11-25 Jan Beulich <jbeulich@novell.com>
3430
3431 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
3432 permissible for the selected instruction suffix.
3433 (process_suffix): For DefaultSize instructions, suppressing the
3434 guessing of a 'q' suffix if the instruction doesn't support it is
3435 pointless, because only an 'l' suffix can be guessed in this place.
3436
5515a510
NC
34372004-11-24 Nick Clifton <nickc@redhat.com>
3438
3439 * config/tc-iq2000.c: Remove support for IQ10 processor.
3440 Convert to ISO C90 formatting.
3441 * config/tc-iq2000.h: Likewise.
3442
dae1b34e
NC
34432004-11-23 Nick Clifton <nickc@redhat.com>
3444
3445 * config/tc-mn10300.c (md_relax_table): More fixes to the offsets
3446 in this table. They should be correct now.
3447
5c6af06e
JB
34482004-11-23 Jan Beulich <jbeulich@novell.com>
3449
3450 * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
3451 indicate the MMX extensions added by both SSE and 3DNow!A.
3452 (Cpu3dnowA): Declare.
3453 (CpuUnknownFlags): Update.
3454 * config/tc-i386.c (cpu_sub_arch_name): Declare.
3455 (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
3456 neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
3457 3DNow!. Athlon additionally implies 3DNow!A. Several new
3458 entries (those starting with a dot are for sub-arch specification).
3459 (set_cpu_arch): Handle sub-arch specifications.
3460 (parse_insn): Distinguish between instructions not supported because
3461 of insufficient CPU features and because of 64-bit mode.
3462 * doc/c-i386.texi: Describe enhanced .arch directive.
3463
d9740523
BW
34642004-11-22 Bob Wilson <bob.wilson@acm.org>
3465
3466 * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
3467
3120ef82
BW
34682004-11-22 Bob Wilson <bob.wilson@acm.org>
3469
3470 * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
3471 without a corresponding .debug_info section.
3472
d190d046
HPN
34732004-11-22 Hans-Peter Nilsson <hp@axis.com>
3474
3475 * read.c (potable): Add "error" and "warning".
3476 (s_errwarn): New function.
3477 * read.h (s_errwarn): Declare.
3478 * doc/as.texinfo (Error, Warning): Document .error and .warning.
3479
5519f6ea
NC
34802004-11-22 Nick Clifton <nickc@redhat.com>
3481
3482 * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to
3483 c_dot_file_symbol.
3484
f5c7edf4
AM
34852004-11-19 Alan Modra <amodra@bigpond.net.au>
3486
3487 * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
3488 struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
3489
a4528eeb
AM
34902004-11-19 Alan Modra <amodra@bigpond.net.au>
3491
3492 * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
3493 (coff_adjust_symtab): Adjust call.
3494 (crawl_symbols): Likewise.
3495 * config/obj-coff.h (c_dot_file_symbol): Add "app" param.
3496 (obj_app_file): Adjust.
3497
444bf5f3
NC
34982004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
3499
3500 * configure.in: Enable bfd_assember for the MAXQ port.
3501 * configure: Regenerate.
3502
a1ace8d8 35032004-11-12 Bob Wilson <bob.wilson@acm.org>
88ac794e 3504 Sterling Augustine <sterling@tensilica.com>
a1ace8d8
BW
3505
3506 * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
3507 there is a conflict.
3508 (check_t1_t2_reads_and_writes): Check for both reads and writes to
3509 interfaces that are related as determined by xtensa_interface_class_id.
3510
30e857fc
NC
35112004-11-12 Nick Clifton <nickc@redhat.com>
3512
3513 * config/tc-mn10300.c (md_relax_table): Fix off by one negative
3514 offsets for conditional branches.
3515
a67517f4
BW
35162004-11-11 Bob Wilson <bob.wilson@acm.org>
3517
3518 * config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
3519
1d19a770
BW
35202004-11-10 Bob Wilson <bob.wilson@acm.org>
3521
3522 * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if
3523 relaxing at the end of a loop. Don't mark frags as UNREACHABLE or
3524 MAYBE_UNREACHABLE.
3525 (relax_frag_immed): Update call to update_next_frag_state.
3526
c04f5787
AM
35272004-11-10 Alan Modra <amodra@bigpond.net.au>
3528
3529 * obj.h (struct format_ops <app_file>): Add int param.
3530 * read.h (s_app_file_string): Likewise.
3531 * read.c (s_app_file_string): Likewise.
3532 (s_app_file): Adjust s_app_file_string call.
3533 * config/tc-mips.c (s_mips_file): Likewise.
3534 * config/obj-coff.h (obj_app_file): Add app param.
3535 * config/obj-ecoff.h (obj_app_file): Likewise.
3536 * config/obj-multi.h (obj_app_file): Likewise.
3537 * config/obj-elf.h (elf_file_symbol): Likewise.
3538 * config/obj-elf.c (elf_file_symbol): Only emit one file symbol
3539 if called for # preprocessor lines.
3540
a77a9021
L
35412004-11-08 H.J. Lu <hongjiu.lu@intel.com>
3542
3543 PR 528
3544 * symbols.c (resolve_symbol_value): Convert weak symbols only
3545 for Windows PECOFF.
3546 (symbol_equated_reloc_p): Don't equate weaks when relocating
3547 only for Windows PECOFF.
3548
aea44f62
TL
35492004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
3550
3551 * config/tc-crx.c (print_insn): Check and set insn_addr.
3552 * config/tc-crx.h (md_frag_check): Define.
3553
7499d566
NC
35542004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
3555 Vineet Sharma <vineets@noida.hcltech.com>
3556
3557 * configure.in: Add support for new target maxq-coff.
3558 * configure: Regenerate.
3559 * NEWS: Mention new support.
3560 * config/tc-maxq.c: New file.
3561 * config/tc-maxq.h: New file.
3562 * config/obj-coff.h: Add support for maxq-coff.
3563
977cdf5a
NC
35642004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
3565
3566 * symbols.c (any_external_name): Define.
a77a9021 3567 (resolve_symbol_value): Convert weak symbols.
977cdf5a
NC
3568 (S_SET_EXTERNAL): Support any_external_name.
3569 (S_SET_NAME): Qualify parameter const.
316f3bf8 3570 (symbol_equated_reloc_p): Equate to weaks when relocating.
977cdf5a
NC
3571 * symbols.h (S_SET_NAME): Qualfiy parameter const.
3572 * tc.h (any_external_name): Declare.
3573 * config/obj-coff.c ("coff/pe.h"): Include for BFD
3574 assemblers also.
3575 (weak_is_altname): Declare and define.
3576 (weak_name2altname): Same.
3577 (weak_altname2name): Same.
3578 (weak_uniquify): Same.
3579 (weak_altprefix): Define.
3580 (obj_coff_weak): Change .weak syntax and handling.
3581 (coff_frob_symbol): Fix PE weak symbol alternates.
3582 * config/obj-coff.h (USE_UNIQUE): Define.
3583 * config/tc-i386.c (md_apply_fix3): Assume weak symbols
3584 are in another segment.
3585 (tc_gen_reloc): Remove broken addend hack.
3586 doc/as.texinfo: Update.
3587
34e41783
BW
35882004-11-05 Sterling Augustine <sterling@tensilica.com>
3589
3590 * config/tc-xtensa.c (total_frag_text_expansion): New.
3591 (md_estimate_size_before_relax): Use it.
3592 (find_address_of_next_align_frag): Likewise.
3593
dcd46b4e
TL
35942004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
3595
3596 * config/tc-crx.c: Rename argument types.
3597 (processing_arg_number): Rename to 'cur_arg_num'.
3598 (get_number_of_bits): Rename to 'set_operand_size'.
3599 (get_operandtype): Rename to 'parse_operand', totally rewrite.
3600 (set_cons_rparams): Rename to 'set_operand', totally rewrite.
3601 (set_indexmode_parameters): Remove function, integrate its code into
3602 'set_operand'.
3603 (set_operand_size): Get rid of 'Operand Number' function parameter -
3604 use global variable 'cur_arg_num' instead.
3605 Use a local 'argument' pointer to reference the current argument.
3606 (parse_operand): Likewise.
3607 (set_operand): Likewise.
3608 (process_label_constant): Likewise.
3609
9456465c
BW
36102004-11-04 Bob Wilson <bob.wilson@acm.org>
3611
3612 * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
3613 (add_section_rename): Delete. Inlined into...
3614 (build_section_rename): ...here. Use xstrdup instead of strdup.
3615 (xtensa_section_rename): Drop "const" from argument and return types.
3616 (md_show_usage): Indent to match show_usage().
3617 * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs.
3618 (tc_canonicalize_section_name): Define.
3619 (md_elf_section_rename): Remove unused macro.
3620 * doc/as.texinfo (Overview): Document Xtensa --rename-section option.
3621 * doc/c-xtensa.texi (Xtensa Options): Likewise.
3622 (Frame Directive): Delete.
3623
7f266840
DJ
36242004-11-04 Daniel Jacobowitz <dan@debian.org>
3625
3626 * configure.in: Remove arm-*-oabi and thumb-*-oabi.
3627 * config/tc-arm.c (target_oabi): Delete.
3628 (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks.
3629 (arm_opts): Remove moabi.
3630 * doc/as.texinfo (Overview): Remove documentation of -moabi.
3631 * doc/c-arm.texi (ARM Options): Likewise.
3632 * configure: Regenerated.
3633
ae57792d
HPN
36342004-11-04 Hans-Peter Nilsson <hp@axis.com>
3635
3636 * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED
3637 DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like
3638 cris-*-linux-gnu* and crisv32-*-* like cris-*-*.
3639 * configure: Regenerate.
3640 * config/tc-cris.c (enum cris_archs): New.
3641 (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg)
3642 (cris_insn_ver_valid_for_arch): New functions.
3643 (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10.
3644 (cris_arch): New variable.
3645 (md_pseudo_table): New pseudo .arch.
3646 (err_for_dangerous_mul_placement): Initialize according to
3647 DEFAULT_CRIS_ARCH.
3648 (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH.
3649 All users changed.
3650 (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON)
3651 (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32)
3652 (BRANCH_WF_V32, BRANCH_WB_V32): New.
3653 (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after
3654 use in md_cris_relax_table.
3655 (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32,
3656 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
3657 Update and improve head comment.
3658 (OPTION_PIC): Define in terms of previous option, OPTION_US.
3659 (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar.
3660 (OPTION_ARCH): New.
3661 (md_longopts): New option --march=...
3662 (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New
3663 macros.
3664 (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH.
3665 (HANDLE_RELAXABLE): New macro.
3666 (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common
3667 cases. Check for weak symbols and assume not relaxable. Handle
3668 STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON,
3669 STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not
3670 fragP->fr_symbol.
3671 (md_convert_frag): Handle STATE_COND_BRANCH_V32,
3672 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
3673 (cris_create_short_jump): Adjust for CRISv32.
5664e9a7 3674 (cris_relax_frag): Handle new states.
ae57792d
HPN
3675 (md_create_long_jump): Ditto. Emit error for common_v10_v32.
3676 (md_begin): Define symbols "..asm.arch.cris.v32",
3677 "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and
3678 "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch
3679 when entering opcode table entry points.
3680 (md_assemble): Adjust branch handling for CRISv32. Handle LAPC
3681 relaxation. In fix_new_exp call for main insn, pass 1 for pcrel
3682 parameter for 8, 16 and 32-bit pc-relative insns and LAPC.
3683 (cris_process_instruction): Initialize out_insnp->insn_type to
3684 CRIS_INSN_NONE, not CRIS_INSN_NORMAL.
3685 <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New
3686 cases.
3687 <case 'm'>: Check that modified_char == '.'.
3688 <invalid operands>: Consume the rest of the line.
3689 When operands don't match, skip over subsequent insns with
3690 non-matching version specifier but same mnemonic.
3691 <immediate constant, case SIZE_SPEC_REG>: Immediate operands for
3692 special registers in CRISv32 are always 32 bit long.
3693 <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>:
3694 New cases.
3695 (get_gen_reg): Only recognize "PC" when followed by "+]" for v32
3696 and compatible. Recognize "ACR" for v32, unless followed by "+".
3697 (get_spec_reg): Consider cris_arch when looking up register.
3698 (get_autoinc_prefix_or_indir_op): Don't recognize assignment for
3699 v32 or compatible.
3700 (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'.
3701 (cris_get_expression): Restore input_line_pointer if failing "early".
3702 (get_flags): Consider cris_arch and recognize flags accordingly.
3703 (branch_disp): Adjust for CRISv32.
3704 (gen_cond_branch_32): Similar. Emit error for common_v10_v32.
3705 (cris_number_to_imm): Use as_bad_where, not as_bad. Remove
3706 related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be
3707 resolved. Don't enter zeros in object file for
3708 BFD_RELOC_32_PCREL.
3709 <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16>
3710 <case BFD_RELOC_CRIS_SIGNED_8>: New case.
3711 (md_parse_option): Break out "return 1".
3712 <OPTION_ARCH> New case.
3713 (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET>
3714 <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8>
3715 <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16>
3716 <case BFD_RELOC_32_PCREL>: New cases.
3717 Addends for non-zero fx_pcrel are too in fx_offset.
3718 (md_show_usage): Show --march=<arch>.
3719 (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET.
3720 (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too.
3721 (s_syntax) <struct syntaxes>: Properly constify member operand.
3722 * config/tc-cris.h (TARGET_MACH): Define.
3723 (cris_mach): Declare.
3724 * doc/as.texinfo (Overview) <CRIS>: Add --march=...
3725 * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols.
3726 (CRIS-Opts): Document --march=...
3727 (CRIS-Pseudos): Document .arch.
3728
9306ca4a
JB
37292004-11-04 Jan Beulich <jbeulich@novell.com>
3730
3731 * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when
3732 intel syntax and no register prefix, allow $ in symbol names when
3733 intel syntax.
3734 (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX.
3735 (intel_float_operand): Add fourth return value indicating math control
3736 operations. Make classification more precise.
3737 (md_assemble): Complain if memory operand of mov[sz]x has no size
3738 specified.
3739 (parse_insn): Translate word operands to floating point instructions
3740 operating on integers as well as control instructions to short ones
3741 as expected by AT&T syntax. Translate 'd' suffix to short one only for
3742 floating point instructions operating on non-integer operands.
3743 (match_template): Remove fldcw special case. Adjust q-suffix handling
3744 to permit it on fild/fistp/fisttp in AT&T mode.
3745 (process_suffix): Don't guess DefaultSize insns' suffix from
3746 stackop_size for certain floating point control instructions. Guess
3747 suffix for branch and [ls][gi]dt based on flag_code. Split error
3748 messages for Intel and AT&T syntax, and make the condition more strict
3749 for the former. Adjust suppressing of generation of operand size
3750 overrides.
3751 (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE,
3752 OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add
3753 more error checking.
3754 * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR
3755 SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines.
3756
2b4f075a
HPN
37572004-11-03 Hans-Peter Nilsson <hp@axis.com>
3758
3759 * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare
3760 md_short_jump_size, md_long_jump_size.
3761 * write.c [!WORKING_DOT_WORD]: Ditto.
3762 * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const
3763 qualifier.
3764 * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't
3765 declare.
3766 * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop
3767 const qualifier in these definitions.
3768 * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c,
3769 config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto.
3770
ddbc47ac
NC
37712004-11-02 Nick Clifton <nickc@redhat.com>
3772
3773 * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file
3774 table before deciding to produce a .debug_line section to match up
3775 with a user provided .debug_info section.
3776
3ad3f5ad
TL
37772004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
3778
3779 * config/tc-crx.c (getreg_image): Bug fix, a return value was
3780 mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
3781
c815a616
TL
37822004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
3783
3784 * config/tc-crx.c: Remove global variable 'post_inc_mode'.
3785 (get_flags): New function.
c04f5787
AM
3786 (get_number_of_bits): Edit comments, update numeric values to
3787 supported sizes.
3788 (process_label_constant): Don't support the colon
3789 format (SYMBOL:[s|m|l]).
c815a616
TL
3790 (set_cons_rparams): Support argument type 'arg_rbase'.
3791 (get_operandtype): Bug fix in 'rbase' operand type parsing.
3792 (handle_LoadStor): Bug fix, first handle post-increment mode.
c04f5787
AM
3793 (getreg_image): Remove redundant code, update according to latest
3794 CRX spec.
c815a616 3795 (print_constant): Bug fix relate to 3-word instructions.
c04f5787 3796 (assemble_insn): Bug fix, when matching instructions, verify also
c815a616
TL
3797 instruction type (not only mnemonic).
3798 Add various error checking.
3799 (preprocess_reglist): Support HI/LO and user registers.
3800
ed7af9f9
L
38012004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
3802
c04f5787 3803 * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
ed7af9f9
L
3804 in an epilogue directive go negative.
3805
ac025970
L
38062004-10-25 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 PR 474
3809 * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
3810 after reporting template error during manual bundling. Reported
3811 by Michael Dupont, michaelx.dupont@intel.com.
3812
a394c00f
NC
38132004-10-25 Daniel Jacobowitz <dan@debian.org>
3814
3815 * Makefile.am: Run dep-am.
3816 * aclocal.m4: Regenerate with automake 1.9.2.
3817 * Makefile.in: Regenerate with automake 1.9.2.
3818 * doc/Makefile.in: Likewise.
3819
3820 * config/tc-arm.c: Include "dw2gencfi.h".
3821 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
3822 New functions.
3823 * config/tc-arm.h (TARGET_USE_CFIPOP, DWARF2_DEFAULT_RETURN_COLUMN)
3824 (DWARF2_CIE_DATA_ALIGNMENT, tc_regname_to_dw2regnum)
3825 (tc_cfi_frame_initial_instructions): Define.
3826 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
3827 Add prototypes.
3828
23d83918
TL
38292004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
3830
3831 * config/tc-crx.c (assemble_insn): Check unsigned immediate
3832 operands validity.
3833 Update coprocessor id to be unsigned immediate.
3834
bb41ade5
AM
38352004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
3836
3837 * config/tc-i386.c (O_secrel): Delete.
3838 (tc_pe_dwarf2_emit_offset): New function.
3839 * config/tc-i386.h (O_secrel): Define as O_md1.
3840 (TC_DWARF2_EMIT_OFFSET): Define.
3841
87e62348
NC
38422004-10-18 Nick Clifton <nickc@redhat.com>
3843
3844 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Accept and
3845 ignore @fptr() directives for 4-byte fixups.
3846
3c55da70
AM
38472004-10-15 Alan Modra <amodra@bigpond.net.au>
3848
3849 * Makefile.am: Run "make dep-am"
3850 * Makefile.in: Regenerate.
3851
40e7b7b9
BW
38522004-10-14 Bob Wilson <bob.wilson@acm.org>
3853
3854 * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
3855 Remove comments about placement of literal pools.
3856 (Literal Directive): Update description of literal placement.
3857 (Literal Prefix Directive): Remove statement that this does not apply
3858 to absolute-mode literals. Describe new section naming scheme.
3859
b08b5071
BW
38602004-10-12 Bob Wilson <bob.wilson@acm.org>
3861
3862 * config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
3863 (is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
3864 is_windowed_return_opcode): Delete.
3865 (xtensa_frob_label): Use get_subseg_target_freq.
3866 (md_assemble): Inline call to is_entry_opcode.
3867 (xtensa_handle_align): Inline call to get_frag_is_literal.
3868 (relaxation_requirements): Inline call to is_jx_opcode.
3869 (emit_single_op): Inline call to is_movi_opcode.
3870 (xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
3871 get_frag_is_no_transform, is_entry_opcode, and
3872 set_frag_is_specific_opcode. Use get_subseg_total_freq.
3873 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
3874 xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
3875 Inline calls to get_frag_is_no_transform.
3876 (next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
3877 (xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
3878 get_frag_is_no_transform.
3879 (convert_frag_immed_finish_loop): Inline calls to get_expression_value
3880 and set_frag_is_no_transform.
3881 (get_expression_value): Delete.
3882 (subseg_map struct): Rename cur_total_freq to total_freq. Rename
3883 cur_target_freq to target_freq.
3884 (get_subseg_info): Split out code to create a new map entry into ...
3885 (add_subseg_info): ... this new function.
3886 (get_last_insn_flags): Check if get_subseg_info succeeded.
3887 (set_last_insn_flags): Call add_subseg_info if needed.
3888 (get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
3889 (xtensa_reorder_segments): Compute last_sec while counting sections.
3890 Remove call to get_last_sec.
3891 (get_last_sec): Delete.
3892 (cache_literal_section): Inline call to retrieve_literal_seg and its
3893 callees, seg_present and add_seg_list.
3894 (retrieve_literal_seg, seg_present, add_seg_list): Delete.
3895 (get_frag_is_insn, get_frag_is_no_transform,
3896 set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
3897 * config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.
3898
7fa3d080
BW
38992004-10-12 Bob Wilson <bob.wilson@acm.org>
3900
3901 * config/tc-xtensa.c: Use ISO C90 formatting.
3902 * config/tc-xtensa.h: Likewise.
3903 * config/xtensa-istack.h: Likewise.
3904 * config/xtensa-relax.c: Likewise.
3905 * config/xtensa-relax.h: Likewise.
3906
8cb51566
PB
39072004-10-12 Paul Brook <paul@codesourcery.com>
3908
3909 * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
3910 EF_ARM_EABI_VER4.
3911 (arm_eabis): Ditto.
3912 * doc/c-arm.texi: Document that we actually support -meabi=4, not
3913 -meabi=3.
3914
653cfe85
BW
39152004-10-08 Bob Wilson <bob.wilson@acm.org>
3916
3917 * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
3918 entries.
3919 (Acknowledgements): Use "GAS" instead of AS variable.
3920
d2b2c203
DJ
39212004-10-08 Daniel Jacobowitz <dan@debian.org>
3922
3923 * config/tc-i386.c: Include "elf/x86-64.h".
3924 (i386_elf_section_type): New function.
3925 * config/tc-i386.h (md_elf_section_type): Define.
3926 (i386_elf_section_type): New prototype.
3927
e80e0390
NC
39282004-10-08 Linus Nielsen Feltzing <linus@haxx.se>
3929
3930 * config/m68k-parse.h (enum m68k_register): New control register,
3931 MBAR2 (for MCF5249)
3932 * config/tc-m68k.c: Correct control register set for MCF5249.
3933
43cd72b9 39342004-10-07 Bob Wilson <bob.wilson@acm.org>
85a5ac80 3935 Sterling Augustine <sterling@tensilica.com>
43cd72b9
BW
3936
3937 * config/tc-xtensa.c (absolute_literals_supported): New global flag.
3938 (UNREACHABLE_MAX_WIDTH): Define.
3939 (XTENSA_FETCH_WIDTH): Delete.
3940 (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end,
3941 prefer_const16, prefer_l32r): New global variables.
3942 (LIT4_SECTION_NAME): Define.
3943 (lit4_state struct): Add lit4_seg_name and lit4_seg fields.
3944 (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
3945 (frag_flags struct): New.
c04f5787 3946 (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field.
43cd72b9
BW
3947 (subseg_map struct): Add cur_total_freq and cur_target_freq fields.
3948 (bitfield, bit_is_set, set_bit, clear_bit): Define.
3949 (MAX_FORMATS): Define.
3950 (op_placement_info struct, op_placement_table): New.
3951 (O_pltrel, O_hi16, O_lo16): Define.
3952 (directiveE enum): Rename directive_generics to directive_transform.
3953 Delete directive_relax. Add directive_schedule,
3954 directive_absolute_literals, and directive_last_directive.
3955 (directive_info): Rename "generics" to "transform". Delete "relax".
3956 Add "schedule" and "absolute-literals".
3957 (directive_state): Adjust entries to match changes in directive_info.
3958 (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h.
3959 (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode,
3960 xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New.
3961 (xtensa_j_opcode, xtensa_rsr_opcode): Delete.
3962 (align_only_targets, software_a0_b_retw_interlock,
3963 software_avoid_b_j_loop_end, maybe_has_b_j_loop_end,
3964 software_avoid_short_loop, software_avoid_close_loop_end,
3965 software_avoid_all_short_loops, specific_opcode): Delete.
3966 (warn_unaligned_branch_targets): New.
3967 (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop,
3968 workaround_close_loop_end, workaround_all_short_loops): Default FALSE.
3969 (option_[no_]link_relax, option_[no_]transform,
3970 option_[no_]absolute_literals, option_warn_unaligned_targets,
3971 option_prefer_l32r, option_prefer_const16, option_target_hardware):
3972 New enum values.
3973 (option_[no_]align_only_targets, option_literal_section_name,
3974 option_text_section_name, option_data_section_name,
3975 option_bss_section_name, option_eb, option_el): Delete.
3976 (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals,
3977 warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax,
3978 and target-hardware. Delete entries for [no-]target-align-only,
3979 literal-section-name, text-section-name, data-section-name, and
3980 bss-section-name.
3981 (md_parse_option): Handle new options and remove old ones. Accept but
3982 ignore [no-]density options. Warn for [no-]generics and [no-]relax
3983 and treat them as [no-]transform.
3984 (md_show_usage): Add new options and remove old ones.
3985 (xtensa_setup_hw_workarounds): New.
3986 (md_pseudo_table): Change "word" entry to use xtensa_elf_cons. Add
3987 "long", "short", "loc" and "frequency" entries.
3988 (use_generics): Rename to ...
3989 (use_transform): ... this function. Add past_xtensa_end check.
3990 (use_longcalls): Add past_xtensa_end check.
3991 (code_density_available, can_relax): Delete.
3992 (do_align_targets): New.
3993 (get_directive): Accept dashes in directive names. Warn about
3994 [no-]generics and [no-]relax directives and treat them as
c04f5787 3995 [no-]transform.
43cd72b9
BW
3996 (xtensa_begin_directive): Call md_flush_pending_output only for some
3997 directives. Check for directives inside instruction bundles. Warn
3998 about deprecated ".begin literal" usage. Warn and ignore [no-]density
3999 directives. Handle new directives. Check generating_literals flag
4000 for literal_prefix.
4001 (xtensa_end_directive): Check for directives inside instruction
4002 bundles. Warn and ignore [no-]density directives. Handle new
4003 directives. Call xtensa_set_frag_assembly_state.
4004 (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc,
4005 xtensa_dwarf2_emit_insn): New.
4006 (xtensa_literal_position): Call md_flush_pending_output. Do not check
4007 use_literal_section flag.
4008 (xtensa_literal_pseudo): Call md_flush_pending_output. Handle absolute
4009 literals. Use xtensa_elf_cons to parse the expression.
4010 (xtensa_literal_prefix): Do not check use_literal_section. Support
4011 ".lit4" sections for absolute literals. Change prefix convention to
4012 replace ".text" (or ".t" in a linkonce section). No need to call
4013 subseg_set.
4014 (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New.
4015 (expression_end): Handle closing braces and colons.
4016 (PLT_SUFFIX, plt_suffix): Delete.
4017 (expression_maybe_register): Use new xtensa-isa.h functions. Use
4018 xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16
4019 and O_hi16 expressions as well.
4020 (tokenize_arguments): Handle closing braces and colons.
4021 (parse_arguments): Use new xtensa-isa.h functions. Handle "invisible"
4022 operands and paired register syntax.
4023 (get_invisible_operands): New.
4024 (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax. Use
4025 new xtensa-isa.h functions.
4026 (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New.
4027 (xg_translate_idioms): Check if inside bundle. Use use_transform.
4028 Handle new Xtensa LX RSR/WSR/XSR syntax. Remove code to widen density
4029 instructions. Use xtensa_translate_zero_immed.
4030 (operand_is_immed, operand_is_pcrel_label): Delete.
4031 (get_relaxable_immed): Use new xtensa-isa.h functions.
4032 (get_opcode_from_buf): Add slot parameter. Use new xtensa-isa.h
4033 functions.
4034 (xtensa_print_insn_table, print_vliw_insn): New.
4035 (is_direct_call_opcode): Use new xtensa-isa.h functions.
4036 (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode,
4037 is_branch_or_jump_opcode): Delete.
4038 (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New.
4039 (opnum_to_reloc, reloc_to_opnum): Delete.
4040 (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new
4041 xtensa-isa.h functions. Operate on one slot of an instruction.
4042 (xtensa_insnbuf_set_immediate_field, is_negatable_branch,
4043 xg_get_insn_size): Delete.
4044 (xg_get_build_instr_size): Use xg_get_single_size.
4045 (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to
4046 xg_build_widen_table. Use xg_get_single_size.
4047 (xg_get_max_narrow_insn_size): Delete.
4048 (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size,
4049 xg_is_relaxable_insn): Update calls to xg_build_widen_table. Use
4050 xg_get_single_size.
4051 (xg_build_to_insn): Record the loc field. Handle OP_OPERAND_HI16U and
4052 OP_OPERAND_LOW16U. Check xg_valid_literal_expression.
4053 (xg_expand_to_stack, xg_expand_narrow): Update calls to
4054 xg_build_widen_table. Use xg_get_single_size.
4055 (xg_immeds_fit): Use new xtensa-isa.h functions. Update call to
4056 xg_check_operand.
4057 (xg_symbolic_immeds_fit): Likewise. Also handle O_lo16 and O_hi16, and
4058 treat weak symbols conservatively.
4059 (xg_check_operand): Use new xtensa-isa.h functions.
4060 (is_dnrange): Delete.
4061 (xg_assembly_relax): Inline previous calls to tinsn_copy.
4062 (xg_finish_frag): Specify separate relax states for the frag and slot0.
4063 (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new
4064 xtensa-isa.h functions.
4065 (xg_instruction_matches_option_term, xg_instruction_matches_or_options,
4066 xg_instruction_matches_options): New.
4067 (xg_instruction_matches_rule): Handle O_register expressions. Call
4068 xg_instruction_matches_options.
4069 (transition_rule_cmp): New.
4070 (xg_instruction_match): Update call to xg_build_simplify_table.
4071 (xg_build_token_insn): Record loc fields.
4072 (xg_simplify_insn): Check is_specific_opcode field and
4073 density_supported flag.
4074 (xg_expand_assembly_insn): Skip checking code_density_available. Use
4075 new xtensa-isa.h functions. Call use_transform instead of can_relax.
4076 (xg_assemble_literal): Add error handling for O_big. Call
4077 record_alignment. Handle O_pltrel.
4078 (xg_valid_literal_expression): New.
4079 (xg_assemble_literal_space): Add slot parameter. Remove call to
4080 set_expr_symbol_offset. Add call to record_alignment. Update call to
4081 xg_finish_frag.
4082 (xg_emit_insn): Delete.
4083 (xg_emit_insn_to_buf): Add format parameter. Update calls to
4084 xg_add_opcode_fix and xtensa_insnbuf_to_chars.
4085 (xg_add_opcode_fix): Change opcode parameter to tinsn and add format
4086 and slot parameters. Handle new "alternate" relocations for absolute
4087 literals and CONST16 instructions. Check for bad uses of O_lo16 and
4088 O_hi16. Use new xtensa-isa.h functions.
4089 (xg_assemble_tokens): Delete.
4090 (is_register_writer): Use new xtensa-isa.h functions.
4091 (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of
4092 old-style RSR from LCOUNT.
4093 (next_frag_opcode): Delete.
4094 (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size,
4095 update_next_frag_state): New.
4096 (update_next_frag_nop_state): Delete.
4097 (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop.
4098 (xtensa_mark_literal_pool_location): Check use_literal_section flag and
4099 the state of the absolute-literals directive. Add calls to
4100 record_alignment and xtensa_set_frag_assembly_state. Call
4101 xtensa_switch_to_non_abs_literal_fragment instead of
4102 xtensa_switch_to_literal_fragment.
4103 (build_nop): New.
4104 (assemble_nop): Use build_nop. Update call to xtensa_insnbuf_to_chars.
4105 (get_expanded_loop_offset): Change check for undefined opcode to an
4106 assertion.
4107 (xtensa_set_frag_assembly_state, relaxable_section,
4108 xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets,
4109 xtensa_find_unaligned_loops, xg_apply_tentative_value): New.
4110 (md_begin): Update call to xtensa_isa_init. Initialize linkrelax to 1.
4111 Set lit4_seg_name. Call xg_init_vinsn. Initialize new global opcodes.
4112 Call init_op_placement_info_table and xtensa_set_frag_assembly_state.
4113 (xtensa_init_fix_data): New.
4114 (xtensa_frob_label): Reset label symbol to the current frag. Check
4115 do_align_targets and generating_literals flag. Propagate frequency
4116 info to new alignment frag. Call xtensa_set_frag_assembly_state.
4117 (xtensa_unrecognized_line): New.
4118 (xtensa_flush_pending_output): Check if inside a bundle. Add a call
4119 to xtensa_set_frag_assembly_state.
4120 (error_reset_cur_vinsn): New.
4121 (md_assemble): Remove check for literal frag. Remove call to
4122 istack_init. Call use_transform instead of use_generics. Parse
4123 explicit instruction format specifiers. Move code for
4124 a0_b_retw_interlock workaround to xg_assemble_vliw_tokens. Call
4125 error_reset_cur_vinsn on errors. Add call to get_invisible_operands.
4126 Add dwarf2_where call. Remote automatic alignment for ENTRY
4127 instructions. Move call to xtensa_clear_insn_labels to the end.
4128 Rearrange to handle bundles.
4129 (xtensa_cons_fix_new): Delete.
4130 (xtensa_handle_align): New.
4131 (xtensa_frag_init): Call xtensa_set_frag_assembly_state. Remove
4132 assignment to is_no_density field.
4133 (md_pcrel_from): Use new xtensa-isa.h functions. Use decode_reloc
4134 instead of reloc_to_opnum. Handle "alternate" relocations.
4135 (xtensa_force_relocation, xtensa_check_inside_bundle,
4136 xtensa_elf_section_change_hook): New.
4137 (xtensa_symbol_new_hook): Delete.
4138 (xtensa_fix_adjustable): Check for difference of symbols with an
4139 offset. Check for external and weak symbols.
4140 (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs.
4141 (md_estimate_size_before_relax): Return expansion for the first slot.
4142 (tc_gen_reloc): Handle difference of symbols by producing
4143 XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference
4144 into the output. Handle new XTENSA_SLOT*_OP relocs by storing the
4145 tentative values into the output when linkrelax is set.
4146 (XTENSA_PROP_SEC_NAME): Define.
4147 (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags.
4148 Create literal tables only if using literal sections. Create new
4149 property tables instead of old instruction tables. Check for unaligned
4150 branch targets and loops.
4151 (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes,
4152 new_resource_table, clear_resource_table, resize_resource_table,
4153 resources_available, reserve_resources, release_resources,
4154 opcode_funcUnit_use_unit, opcode_funcUnit_use_stage,
4155 resources_conflict, xg_find_narrowest_format, relaxation_requirements,
4156 bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New.
4157 (xtensa_end): Call xtensa_flush_pending_output. Set past_xtensa_end
4158 flag. Update checks for workaround options. Call
4159 xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns.
4160 (xtensa_cleanup_align_frags): Add special case for branch targets.
4161 Check for and mark unreachable frags.
4162 (xtensa_fix_target_frags): Remove use of align_only_targets flag.
4163 Use RELAX_LOOP_END_BYTES in special case for negatable branch at the
4164 end of a zero-overhead loop body.
4165 (frag_can_negate_branch): Handle instructions with multiple slots.
4166 Use new xtensa-isa.h functions
4167 (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range,
4168 xtensa_mark_zcl_first_insns): New.
4169 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if
4170 transformations are disabled.
4171 (next_instrs_are_b_retw): Use new xtensa-isa.h functions. Handle
4172 multislot instructions.
4173 (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags):
4174 Likewise. Also error if transformations are disabled.
4175 (unrelaxed_frag_max_size): New.
4176 (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new
4177 xtensa-isa.h functions.
4178 (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use
4179 xtensa_opcode_is_loop instead of is_loop_opcode.
4180 (get_text_align_power): Replace as_fatal with assertion.
4181 (get_text_align_fill_size): Iterate instead of using modulus when
4182 use_nops is false.
4183 (get_noop_aligned_address): Assert that this is for a machine-dependent
4184 RELAX_ALIGN_NEXT_OPCODE frag. Use next_frag_opcode_is_loop,
4185 xg_get_single_size, and frag_format_size.
4186 (get_widen_aligned_address): Rename to ...
4187 (get_aligned_diff): ... this function. Add max_diff parameter.
4188 Remove handling of rs_align/rs_align_code frags. Use
4189 next_frag_format_size, get_text_align_power, get_text_align_fill_size,
4190 next_frag_opcode_is_loop, and xg_get_single_size. Compute max_diff
4191 and pass it back to caller.
4192 (xtensa_relax_frag): Use relax_frag_loop_align. Add code for new
4193 RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN,
4194 RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types. Check relax_seen.
4195 (relax_frag_text_align): Rename to ...
4196 (relax_frag_loop_align): ... this function. Assume loops can only be
4197 in the first slot of an instruction.
4198 (relax_frag_add_nop): Use assemble_nop instead of constructing an OR
4199 instruction. Remove call to frag_wane.
4200 (relax_frag_narrow): Rename to ...
4201 (relax_frag_for_align): ... this function. Extend to handle
4202 RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with
4203 RELAX_NARROW for the first slot.
4204 (find_address_of_next_align_frag, bytes_to_stretch): New.
4205 (future_alignment_required): Use find_address_of_next_align_frag and
4206 bytes_to_stretch. Look ahead to subsequent frags to make smarter
4207 alignment decisions.
4208 (relax_frag_immed): Add format, slot, and estimate_only parameters.
4209 Check if transformations are enabled for b_j_loop_end workaround.
4210 Use new xtensa-isa.h functions and handle multislot instructions.
4211 Update call to xg_assembly_relax.
4212 (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE,
4213 RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP
4214 frag types.
4215 (convert_frag_narrow): Add segP, format and slot parameters. Call
4216 convert_frag_immed for branch instructions. Adjust calls to
4217 tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf. Use
4218 xg_get_single_size and xg_get_single_format.
4219 (convert_frag_fill_nop): New.
4220 (convert_frag_immed): Add format and slot parameters. Handle multislot
4221 instructions and use new xtensa-isa.h functions. Update calls to
4222 tinsn_immed_from_frag and xg_assembly_relax. Check if transformations
4223 enabled for b_j_loop_end workaround. Use build_nop instead of
4224 assemble_nop. Check is_specific_opcode flag. Check for unreachable
4225 frags. Use xg_get_single_size. Handle O_pltrel.
4226 (fix_new_exp_in_seg): Remove check for old plt flag.
4227 (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and
4228 xtensa_insnbuf_to_chars. Call tinsn_immed_from_frag. Change check
4229 for loop opcode to an assertion. Mark all frags up to the end of the
4230 loop as not transformable.
4231 (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info.
4232 (get_subseg_info): New.
4233 (xtensa_move_literals): Call xtensa_set_frag_assembly_state. Add null
4234 check for dest_seg.
4235 (xtensa_switch_to_literal_fragment): Rewrite to handle absolute
4236 literals and use xtensa_switch_to_non_abs_literal_fragment otherwise.
4237 (xtensa_switch_to_non_abs_literal_fragment): New.
4238 (cache_literal_section): Add is_code parameter and pass it through to
4239 retrieve_literal_seg.
4240 (retrieve_literal_seg): Add is_code parameter and use it to set the
4241 flags on the literal section. Handle case where head parameter is 0.
4242 (get_frag_is_no_transform, set_frag_is_specific_opcode,
4243 set_frag_is_no_transform): New.
4244 (xtensa_create_property_segments): Add end_property_function parameter
4245 and pass it through to add_xt_block_frags. Call bfd_get_section_flags
4246 and skip SEC_DEBUGGING and !SEC_ALLOC sections.
4247 (xtensa_create_xproperty_segments, section_has_xproperty): New.
4248 (add_xt_block_frags): Add end_property_function parameter and call it
4249 if it is non-zero. Call xtensa_frag_flags_init.
4250 (xtensa_frag_flags_is_empty, xtensa_frag_flags_init,
4251 get_frag_property_flags, frag_flags_to_number,
4252 xtensa_frag_flags_combinable, xt_block_aligned_size,
4253 xtensa_xt_block_combine, add_xt_prop_frags,
4254 init_op_placement_info_table, opcode_fits_format_slot,
4255 xg_get_single_size, xg_get_single_format): New.
4256 (istack_push): Inline call to tinsn_copy.
4257 (tinsn_copy): Delete.
4258 (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and
4259 CONST16 opcodes. Handle O_big, O_illegal, and O_absent.
4260 (tinsn_has_complex_operands): Handle O_hi16 and O_lo16.
4261 (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h
4262 functions. Handle invisible operands.
4263 (tinsn_to_slotbuf): New.
4264 (tinsn_check_arguments): Use new xtensa-isa.h functions.
4265 (tinsn_from_chars): Add slot parameter. Rewrite using xg_init_vinsn,
4266 vinsn_from_chars, and xg_free_vinsn.
4267 (tinsn_from_insnbuf): New.
4268 (tinsn_immed_from_frag): Add slot parameter and handle multislot
4269 instructions. Handle symbol differences.
4270 (get_num_stack_text_bytes): Use xg_get_single_size.
4271 (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes,
4272 xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register,
4273 get_expr_register, set_expr_symbol_offset_diff): New.
4274 * config/tc-xtensa.h (MAX_SLOTS): Define.
4275 (xtensa_relax_statesE): Move from tc-xtensa.c. Add
4276 RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS,
4277 RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and
4278 RELAX_NONE types.
4279 (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c.
4280 (xtensa_frag_type struct): Add is_assembly_state_set,
4281 use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode,
4282 is_align, is_text_align, alignment, and is_first_loop_insn fields.
4283 Replace is_generics and is_relax fields by is_no_transform field.
4284 Delete is_text and is_longcalls fields. Change text_expansion and
4285 literal_expansion to arrays of MAX_SLOTS entries. Add arrays of
4286 per-slot information: literal_frags, slot_subtypes, slot_symbols,
4287 slot_sub_symbols, and slot_offsets. Add fr_prev field.
4288 (xtensa_fix_data struct): New.
4289 (xtensa_symfield_type struct): Delete plt field.
4290 (xtensa_block_info struct): Move definition to tc-xtensa.h. Add
4291 forward declaration here.
4292 (xt_section_type enum): Delete xt_insn_sec. Add xt_prop_sec.
4293 (XTENSA_SECTION_RENAME): Undefine.
4294 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT,
4295 tc_unrecognized_line, md_do_align, md_elf_section_change_hook,
4296 HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define.
4297 (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete.
4298 (unit_num_copies_func, opcode_num_units_func,
4299 opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New.
4300 (resource_table struct): New.
4301 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10.
4302 (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype,
4303 literal_space, symbol, sub_symbol, offset, and literal_frag fields.
4304 (tinsn_copy): Delete prototype.
4305 (vliw_insn struct): New.
4306 * config/xtensa-relax.c (insn_pattern_struct): Add options field.
4307 (widen_spec_list): Add option conditions for density and boolean
4308 instructions. Add expansions using CONST16 and conditions for using
4309 CONST16 vs. L32R. Use new Xtensa LX RSR/WSR syntax. Add entries for
4310 predicted branches.
4311 (simplify_spec_list): Add option conditions for density instructions.
4312 Add entry for NOP instruction.
4313 (append_transition): Add cmp function pointer parameter and use it to
4314 insert the new entry in order.
4315 (operand_function_LOW16U, operand_function_HI16U): New.
4316 (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle
4317 OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
4318 (enter_opname, split_string): Use xstrdup instead of strdup.
4319 (init_insn_pattern): Initialize new options field.
4320 (clear_req_or_option_list, clear_req_option_list,
4321 clone_req_or_option_list, clone_req_option_list, parse_option_cond):
4322 New.
4323 (parse_insn_pattern): Parse option conditions.
4324 (transition_applies): New.
4325 (build_transition): Use new xtensa-isa.h functions. Fix incorrectly
4326 swapped last arguments in calls to append_constant_value_condition.
4327 Call clone_req_option_list. Add warning about invalid opcode.
4328 Handle LOW16U and HI16U function names.
4329 (build_transition_table): Add cmp parameter and use it in calls to
4330 append_transition. Use new xtensa-isa.h functions. Check
4331 transition_applies before adding entries.
4332 (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and
4333 pass it through to build_transition_table.
4334 * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList,
4335 ReqOption, transition_cmp_fn): New types.
4336 (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
4337 (transition_rule struct): Add options field.
4338 * doc/as.texinfo (Overview): Update Xtensa options.
4339 * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density,
4340 --[no-]relax, and --[no-]generics options. Update descriptions of
4341 --text-section-literals and --[no-]longcalls. Add
4342 --[no-]absolute-literals and --[no-]transform.
4343 (Xtensa Syntax): Add description of syntax for FLIX instructions.
4344 Remove use of "generic" and "specific" terminology for opcodes.
4345 (Xtensa Registers): Generalize the syntax description to include
4346 user-defined register files.
4347 (Xtensa Automatic Alignment): Update.
4348 (Xtensa Branch Relaxation): Mention limitation of unconditional jumps.
4349 (Xtensa Call Relaxation): Linker can now remove most of the overhead.
4350 (Xtensa Directives): Remove confusing rules about precedence.
4351 (Density Directive, Relax Directive): Delete.
4352 (Schedule Directive): New.
4353 (Generics Directive): Rename to ...
4354 (Transform Directive): ... this node.
4355 (Literal Directive): Update for absolute literals. Missing
4356 literal_position directive is now an error.
4357 (Literal Position Directive): Update for absolute literals.
4358 (Freeregs Directive): Delete.
4359 (Absolute Literals Directive): New.
4360 (Frame Directive): Minor editing.
4361 * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf):
4362 Update dependencies.
4363 * Makefile.in: Regenerate.
4364
6e1304d8
RS
43652004-10-07 Richard Sandiford <rsandifo@redhat.com>
4366
4367 * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
4368 to build the second and third fixups for a composite relocation.
4369 (macro_read_relocs): New function.
4370 (macro_build): Use it.
4371 (s_cpsetup): Pass all three composite relocation codes to macro_build.
4372 Simplify fragging code accordingly.
4373 (s_gpdword): Use fix_new rather than fix_new_exp for the second part
4374 of the composite relocation. Set fx_tcbit in both fixups.
4375
b1dca8ee
RS
43762004-10-07 Richard Sandiford <rsandifo@redhat.com>
4377
4378 * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs.
4379 (md_apply_fix3): Don't treat composite relocs as done.
4380
89658e52
NC
43812004-10-07 Jan Beulich <jbeulich@novell.com>
4382
4383 * macro.c (macro_expand_body): When ELF, use .LL rather than LL as
4384 prefix for symbol names generated from the LOCAL macro directive.
4385
289040ca
NC
4386 * dw2gencfi.c (select_cie_for_fde): When separating CIE out from
4387 FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc.
4388
48c9f030
NC
43892004-10-07 Tomer Levi <Tomer.Levi@nsc.com>
4390
4391 * config/tc-crx.c (preprocess_reglist): Handle Co-processor
c04f5787 4392 Special registers.
5c5054ab 4393 (md_assemble): Add error checking for Co-Processor instructions.
48c9f030
NC
4394 (get_cinv_parameters): Add 'b' option to invalidate the
4395 branch-target cache.
4396
7ed4c4c5
NC
43972004-10-05 Paul Brook <paul@codesourcery.com>
4398
4399 * config/tc-arm.c (unwind): New variable.
4400 (vfp_sp_encode_reg): New function.
4401 (vfp_sp_reg_required_here): Use it.
4402 (vfp_sp_reg_list, vfp_dp_reg_list): Remove.
4403 (vfp_parse_reg_list): New function.
4404 (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind,
4405 s_arm_unwind_personality, s_arm_unwind_personalityindex,
4406 s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp,
4407 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New
4408 functions.
4409 (md_pseudo_table): Add them.
4410 (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg.
4411 (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto.
4412 (set_section, add_unwind_adjustsp, flush_pending_unwind,
4413 finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
4414 require_hashconst, add_unwind_opcode): New functions.
ab1e9ef7 4415 * doc/c-arm.texi: Document unwinding opcodes.
7ed4c4c5
NC
4416 * NEWS: Mention the new feature.
4417
04ca8703
EC
44182004-10-04 Eric Christopher <echristo@redhat.com>
4419
4420 * config/tc-mips.c (md_apply_fix3): Remove erroneous assert.
4421
7c1d0959
L
44222004-10-01 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for
4425 TLS relocations.
4426 * config/tc-s390.c (md_apply_fix3): Likewise.
4427 * config/tc-sparc.c (md_apply_fix3): Likewise.
4428
40a18ebd
NC
44292004-10-01 Paul Brook <paul@codesourcery.com>
4430
4431 * config/tc-arm.c (arm_elf_section_type): New function.
4432 (arm_elf_change_section): Set section link for exidx sections.
4433 * config/tc-arm.h (arm_elf_section_type): Add prototype.
4434 (md_elf_section_type): Define.
4435
14127cc4
NC
44362004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk>
4437
4438 * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB
4439 instruction's offset.
4440
b7c92712
NC
44412004-10-01 Adam Nemet <anemet@lnxw.com>
4442
4443 * (TARGET_FORMAT): Remove LynxOS COFF definition.
4444
65555e64
AM
44452004-10-01 Ravi Ramaseshan <ravi.ramaseshan@codito.com>
4446
4447 * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an
4448 asymbol *, instead use symbol_get_bfdsym.
4449
9fe0b840
NC
44502004-09-30 Linus Nielsen Feltzing <linus@haxx.se>
4451
4452 * config/tc-m68k.c (select_control_regs): Add mcf5249.
4453
0dd132b6
NC
44542004-09-30 Paul Brook <paul@codesourcery.com>
4455
4456 * config/tc-arm.c (do_smi, do_nop): New functions.
4457 (insns): Add ARMv6ZK instructions.
4458 (md_apply_fix3): Handle BFD_RELOC_ARM_SMI.
4459 (tc_gen_reloc): Ditto.
4460 (arm_cpus): Add mpcore and arm1176.
4461 (arm_archs): Add armv6{k,z,zk}.
4462 * doc/c-arm.texi: Document new cores and architectures.
4463
a737bd4d
NC
44642004-09-30 Nick Clifton <nickc@redhat.com>
4465
4466 * config/tc-arm.c: Use ISO C90 formatting.
4467
3631a3c8
NC
44682004-09-30 Vladimir Ivanov <vladitx@nucleusys.com>
4469
a737bd4d 4470 * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN
3631a3c8
NC
4471 as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or
4472 REG_TYPE_MVDX is expected.
4473
d5f0cf92
AM
44742004-09-29 Marc Bevand <m.bevand@gmail.com>
4475
4476 * doc/c-i386.texi (i386-Mnemonics): Fix typo.
4477
9f9a069e
JW
44782004-09-21 James E Wilson <wilson@specifixinc.com>
4479
4480 * config/tc-ia64.c (ENCODED_PSP_OFFSET): New.
4481 (output_rp_psprel, output_pfs_psprel, output_preds_psprel,
4482 output_spill_base, output_unat_psprel, output_lc_psprel,
4483 output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel,
4484 output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel,
4485 output_spill_psprel_p): Use it.
4486
4b778c88
TL
44872004-09-20 Tomer Levi <Tomer.Levi@nsc.com>
4488
c04f5787 4489 * config/tc-crx.c (handle_LoadStor): New function.
04ca8703 4490 Handle load/stor unique instructions before parsing.
4b778c88 4491
eb043451
PB
44922004-09-17 Paul Brook <paul@codesourcery.com>
4493
4494 * config/tc-arm.c (s_arm_rel31): New funciton.
4495 (md_pseudo_table): Add .rel31.
04ca8703 4496 (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
eb043451
PB
4497 BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
4498 (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
4499 (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
4500 (arm_parse_reloc): Add (target2).
4501
8ea2b00f
AM
45022004-09-17 Alan Modra <amodra@bigpond.net.au>
4503
4504 * Makefile.am: Run "make dep-am".
4505 * Makefile.in: Regenerate.
4506 * aclocal.m4: Regenerate.
4507 * configure: Regenerate.
4508 * doc/Makefile.in: Regenerate.
4509 * po/POTFILES.in: Regenerate.
4510 * po/gas.pot: Regenerate.
4511
7e1792e0
HPN
45122004-09-14 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>
4513
4514 * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
4515 [!LLONG_MAX]: Ditto.
4516
9c504268
PB
45172004-09-13 Paul Brook <paul@codesourcery.com>
4518
4519 * config/tc-arm.c: Rename RELABS to TARGET1.
4520
2159ac21
AM
45212004-09-13 Alan Modra <amodra@bigpond.net.au>
4522
4523 * messages.c (as_internal_value_out_of_range): Cast values passed
4524 to as_bad_where or as_warn_where to proper type.
4525
23794b24
MM
45262004-09-11 Theodore A. Roth <troth@openavr.org>
4527
4528 * config/tc-avr.c: Add support for
4529 atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
4530
e9fad691
AM
45312004-09-09 Alan Modra <amodra@bigpond.net.au>
4532
4533 * dw2gencfi.c (select_cie_for_fde): When separating CIE out
4534 from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.
4535
10b016c2
PB
45362004-09-08 Paul Brook <paul@codesourcery.com>
4537
4538 * config/obj-elf.c (obj_elf_section_type): Handle init_array,
4539 fini_array and preinit_array section types.
4540 * config/tc-ia64.c (ia64_elf_section_type): Remove init_array
4541 and fini_array.
4542 * doc/as.texinfo: Document extra section types.
4543
e5a52504
MM
45442004-09-02 Mark Mitchell <mark@codesourcery.com>
4545
4546 * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
4547 * Makefile.in: Regenerated.
4548 * configure.in: Set em for arm*-*-symbianelf*.
4549 * configure: Regenerated.
4550 * config/tc-arm.c (elf32_arm_target_format): Use Symbian target
4551 vectors when appropriate.
4552 * config/te-symbian.h: New file.
4553
42851540
NC
45542004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
4555
4556 * config/tc-crx.c (gettrap): Exception vector can be case
4557 insensitive.
04ca8703 4558 (process_label_constant): Fix a 32-bit displacement bug in branch
42851540
NC
4559 instructions.
4560 (get_operandtype) : Bug fix, wrong operand was used.
04ca8703 4561 (process_label_constant): Initialize relocation type to
42851540
NC
4562 BFD_RELOC_NONE
4563
8783612f
RE
45642004-09-01 Richard Earnshaw < reanrsha@arm.com>
4565
4566 * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
4567 for synthesizable cores.
4568
1ff4677c
RE
4569 * doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
4570
b18c562e
NC
45712004-08-25 Dmitry Diky <diwil@spec.ru>
4572
4573 * config/tc-msp430.c: Clean-up the code.
4574 (md_relax_table): New relax table.
4575 (mcu_types): Sort MCU types.
4576 (md_pseudo_table): Add .profiler pseudo handler.
4577 (pow2value): New function.
4578 (msp430_profiler): New function.
4579 (msp430_operands): Add new insns handlers.
4580 (msp430_srcoperand): Add register operand handler, allow complex
4581 expressions.
4582 (md_estimate_size_before_relax): Rewritten.
4583 (md_convert_frag): Rewritten.
4584 (msp430_relax_frag): New function.
4585 * config/tc-msp430.h (md_relax_frag): define macro
4586 * doc/c-msp430.texi: Update information.
4587
8f94ae4d
NC
45882004-08-24 Nick Clifton <nickc@redhat.com>
4589
4590 * as.c (std_shortopts): Allow -g to take an optional argument.
4591 (parse_args): Pass any switch starting with -g on to the backend
4592 for parsing.
4593
e51dace8
MM
45942004-08-18 Mark Mitchell <mark@codesourcery.com>
4595
4596 * configure.in (arm*-*-symbianelf*): New target.
4597 (arm*-*-eabi*): Likewise.
4598 * configure: Regenerated.
4599
f7870c8d
TS
46002004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4601 * config/tc-mips.c (append_insn): Handle delay slots in branch likely
4602 correctly.
4603
d6afba4b
JJ
46042004-08-18 Jakub Jelinek <jakub@redhat.com>
4605
4606 * config/tc-ia64.c (start_unwind_section): Add linkonce_empty
4607 argument, don't do anything if current section is not
4608 .gnu.linkonce.t.* and linkonce_empty is set.
4609 (generate_unwind_image, dot_endp): Adjust callers, call
4610 start_unwind_section (*, 1) if nothing will be put into the
4611 section.
4612
329e276d
NC
46132004-08-17 Nick Clifton <nickc@redhat.com>
4614
4615 * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition.
4616 (show_usage): Add -g.
4617 (std_longopts): Add --gen-debug. Alpha sort the table.
4618 (parse_args): Print an error message if a switch is not handled.
4619 Handle the -g switch, calling md_debug_format_selector() if
4620 necessary.
4621 * NEWS: Mention new feature.
4622 * doc/as.texinfo: Document new switch.
4623 * doc/internals.texi: Document behaviour of md_parse_option.
04ca8703 4624
329e276d
NC
4625 * config/tc-arm.c (md_parse_option): Do not issue an error message
4626 if the switch is not recognised.
4627 * config/tc-m68k.c (md_parse_option): Likewise.
4628 * config/tc-pdp11.c (md_parse_option): Likewise.
4629 * config/tc-v850.c (md_parse_option): Likewise.
4630
4631 * as.h: Fix up formatting.
4632 * tc.h: Likewise.
4633
4101eec8
NC
46342004-08-16 Nick Clifton <nickc@redhat.com>
4635
2766e5e4
NC
4636 * macro.c (macro_set_alternate): Use ISO C90 formatting.
4637
4101eec8
NC
4638 * configure.in: Sort architecture based tables alphabetically.
4639 * configure: Regenerate.
4640
80f846b6
AM
46412004-08-16 Alan Modra <amodra@bigpond.net.au>
4642
4643 * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
4644 { "cc", 68 }, with { "cr", 70 }.
4645
caa32fe5
NC
46462004-08-13 Jan Beulich <jbeulich@novell.com>
4647 Nick Clifton <nickc@redhat.com>
4648
4649 * as.c: Add and handle new --alternate command line option.
4650 * macro.c (macro_set_alternate): New.
4651 * macro.h (macro_set_alternate): Declare.
4652 * read.c: Add and handle new .altmacro and .noaltmacro directives.
4653 * doc/as.texinfo: Document new command line option and pseudo-ops
4654 as well as insert documentation originating from gasp about
4655 alternate macro syntax.
4656 * NEWS: Mention new command line option and pseudo-ops.
4657
b2221023
MM
46582004-08-10 Mark Mitchell <mark@codesourcery.com>
4659
4660 * expr.c (operand): Handle the "~", "-", and "!" operators applied
4661 to bignums.
4662
db6579d4
PB
46632004-08-06 Paul Brook <paul@codesourcery.com>
4664
4665 * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
4666 Handle new relocations.
4667 * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
4668
e750405d
BW
46692004-08-05 Bob Wilson <bob.wilson@acm.org>
4670
4671 * write.c (relax_segment): Use was_address instead of address when
4672 setting fr_fix field for align frag due to backwards .org.
4673
1d70c7fb
AO
46742004-07-29 Alexandre Oliva <aoliva@redhat.com>
4675
4676 Introduce SH2a support.
4677 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4678 * config/tc-sh.c (get_specific): Change arch_sh2a_up to
4679 arch_sh2a_nofpu_up.
4680 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4681 * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
4682 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
4683 * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
4684 to end of conditional expression.
4685 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
4686 * config/tc-sh.c: Add sh2a-nofpu support.
4687 2003-12-29 DJ Delorie <dj@redhat.com>
4688 * tc-sh.c: Add sh2a support.
4689 (parse_reg): Add tbr.
4690 (parse_at): Support @@(disp,tbr).
4691 (get_specific): Support sh2a opcodes.
4692 (insert4): New, for 4 byte relocs.
4693 (build_Mytes): Support sh2a opcodes.
4694 (md_apply_fix3_Mytes): Support sh2a opcodes.
4695 2003-12-02 Michael Snyder <msnyder@redhat.com>
4696 * config/tc-sh.c (md_parse_option): Handle sh2a.
4697 (sh_elf_final_processing): Ditto.
4698
e7fbc2bf
JT
46992004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
4700
4701 * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
4702 for TE_NetBSD.
4703
9232bbb0
AM
47042004-07-27 Alan Modra <amodra@bigpond.net.au>
4705
4706 * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
4707 (ppc_arch): Expand comment.
4708
670ec21d
NC
47092004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
4710
4711 * config/tc-crx.c: Support evaluating the difference between two
4712 symbols.
4713 * config/tc-crx.h: Likewise.
4714
406f8ff9 47152004-07-26 H.J. Lu <hongjiu.lu@intel.com>
38ce5b11
L
4716
4717 * config/tc-ia64.c (start_unwind_section): Set the linked-to
4718 section.
4719 (ia64_elf_section_change_hook): Set the linked-to section for
4720 SHT_IA_64_UNWIND.
4721
c05e9f04
NC
47222004-07-26 Dmitry Diky <diwil@spec.ru>
4723
4724 * config/tc-msp430.c: Add new subtargets: msp430x1610,
4725 msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437,
4726 msp430xG438, msp430xG439.
4727
e9863d7f
DJ
47282004-07-25 Daniel Jacobowitz <dan@debian.org>
4729
4730 * doc/as.texinfo (Section, PushSection): Correct documentation
4731 for ELF.
4732
543613e9 47332004-07-21 Jan Beulich <jbeulich@novell.com>
20f0a1fc
NC
4734
4735 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
4736 permissible for the selected instruction suffix.
4737 (match_template): Don't permit 64-bit general purpose operands in
4738 32-bit mode.
4739 (finalize_imm): Permit 64-bit immediates.
4740 (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
4741 specially except for the width of the used base and/or index
4742 registers. For 32-bit displacements, use sign-extended
4743 relocations only when using 64-bit addressing.
4744 Force zero displacement on rip-relative addressing when there is
4745 no other displacement.
4746 (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
4747 specially except for the width of the used base and/or index
4748 registers.
4749 (parse_register): Disallow Reg64 registers in 32-bit mode.
4750
543613e9
NC
4751 * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
4752 suffix if the instruction doesn't support it.
04ca8703 4753
01a3f561
MR
47542004-07-20 Maciej W. Rozycki <macro@linux-mips.org>
4755
4756 * config/tc-mips.c (append_insn): Handle constant expressions with
4757 no associated relocation.
4758 (mips_ip): Cancel the expression after use for the Q format
4759 specifier.
4760 (parse_relocation): Return no relocation for unsupported
4761 operators.
4762 (my_getSmallExpression): Return no relocation if no relocation
4763 operators are used.
4764
e12904d2
DA
47652004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4766
4767 * config/obj-som.c (adjust_stab_sections): Add prototype.
4768 (obj_som_compiler, obj_som_version, obj_som_copyright,
4769 adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
4770 * config/tc-hppa.c (update_subspace): Likewise.
4771 (is_defined_subspace): Amplify comment.
4772 * config/obj-som.h (som_frob_file): Add prototype.
4773
90c1602c
L
47742004-07-19 Christopher Faylor <cgf@timesys.com>
4775 H.J. Lu <hongjiu.lu@intel.com>
4776
4777 * subsegs.c (section_symbol): Don't create a new segment when
4778 existing segment is undefined.
4779
f263249b
RE
47802004-07-16 Richard Earnshaw <rearnsha@arm.com>
4781
4782 * config/tc-arm.c: Include include/opcode/arm.h.
4783 (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
4784 (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
4785 (FPU_ARCH_*): Delete.
4786 * Makefile.am: Update dependencies.
4787 * Makefile.in: Regenerate.
4788
152c65b9
NC
47892004-07-15 Nick Clifton <nickc@redhat.com>
4790
4791 * configure.in: Accept armbe as a big-endian arm configuration.
4792 * configure: Regenerate.
4793
0477af35
NC
47942004-07-13 Thomas Nystrom <thn@saeab.se>
4795
4796 * config/tc-i386.c (T_SHIFTOP): New constant.
4797 (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
4798 (intel_el1): Handle '~'.
4799 (intel_get_token): Handle '<>', '&', '|' and '~'.
4800
48012004-07-13 Nick Clifton <nickc@redhat.com>
4802
4803 (md_assemble): Remove spurious newline from end of as_bad error
4804 message.
4805 (intel_e05_1): Likewise.
4806 (intel_e11): Likewise.
4807 (intel_match_token): Likewise.
4808
31302357
AS
48092004-07-11 Andreas Schwab <schwab@suse.de>
4810
4811 * config/tc-m68k.c: Convert to C90. Remove redundant
4812 declarations. Indentation fixup.
4813 [M68KCOFF]: Include "obj-coff.h" instead of declaring
4814 obj_coff_section ourselves.
04ca8703 4815
549f748d
JW
48162004-07-09 James E Wilson <wilson@specifixinc.com>
4817
4818 * config/tc-ia64.c (default_big_endian): New.
4819 (dot_byteorder, md_begin): Use it.
4820 (md_parse_option): Set it.
04ca8703 4821
1a320fbb
NC
48222004-07-09 Nick Clifton <nickc@redhat.com>
4823
4824 * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
4825 * configure: Regenerate.
4826 * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
4827 * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
4828 sh_find_elf_flags if necessary.
4829
de7e6852
RS
48302004-07-08 Richard Sandiford <rsandifo@redhat.com>
4831
4832 * config/tc-mips.c (mips_fix_adjustable): If the full addend is
4833 going to be split into more than one in-place addend, return 0
4834 for relocations against mergeable sections. Associate comments
4835 with code.
4836
1fe1f39c
NC
48372004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
4838
4839 * Makefile.am (CPU_TYPES): Add crx.
4840 (TARGET_CPU_CFILES): Add config/tc-crx.c.
4841 (TARGET_CPU_HFILES): Add config/tc-crx.h.
4842 (DEPTC_crx_elf): New target.
4843 (DEPOBJ_crx_elf): Likewise.
4844 (DEP_crx_elf): Likewise.
4845 * Makefile.in: Regenerate.
4846 * configure.in: Add crx* target.
4847 * configure: Regenerate.
4848 * config/tc-crx.c: New file.
4849 * config/tc-crx.h: New file.
4850 * NEWS: Mention new target.
4851
d9895649
NC
48522004-07-06 Nick Clifton <nickc@redhat.com>
4853
85fbca6a 4854 * config.in: Undefine TARGET_SYMBIAN by default.
c04f5787
AM
4855 * configure.in:
4856 * configure: Regenerate. Add sh-symbian-elf target. If
4857 selected define TARGET_SYMBIAN.
4858 * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
4859 format if TARGET_SYMBIAN has been defined.
04ca8703 4860
e7bd9ea0
NC
4861 * output-file.c (output_file_create): Report the target format
4862 chosen when bfd_openw reports that it is invalid.
4863
d9895649
NC
4864 * config/obj-coff.c (coff_pseudo_table): Only define the weak
4865 pseudo for BFD based assemblers.
4866
871ec896
JR
48672004-07-05 Andrew Stubbs <andrew.stubbs@superh.com>
4868
4869 gas:
4870 * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
4871 (md_parse_option): Remove redundant -isa testing.
4872 Make bfd_arch variable const.
4873 (md_show_usage): Make bfd_arch variable const.
4874
5a9ff93d
JW
48752004-07-03 James E Wilson <wilson@specifixinc.com>
4876
4877 * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
4878 * config/tc-ia64.h (md_frag_check): Define.
4879
c87db184
CF
48802004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
4881
4882 * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
4883 externals.
4884 * doc/as.texinfo (Weak): Document PE weak symbols.
4885
3b91255e
RS
48862004-07-03 Richard Sandiford <rsandifo@redhat.com>
4887
4888 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
4889 (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
4890 (mips_frob_file): Rework so that only a single pass through the
4891 relocs is needed. Allow %lo()s to have higher offsets than their
4892 corresponding %hi()s or %got()s.
4893
310ea308
NC
48942004-07-02 Nick Clifton <nickc@redhat.com>
4895
4896 * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
4897 allow values which have come from undefined symbols.
4898 Always consider this fixup to have been processed as a reloc
4899 cannot be generated for it.
4900
09b935ac
AM
49012004-07-02 Alan Modra <amodra@bigpond.net.au>
4902
4903 * frags.h (struct frag): Add has_code and insn_addr fields.
4904 * write.c (cvt_frag_to_fill): Invoke md_frag_check.
4905 * config/tc-ppc.c (md_assemble): Check and set insn_addr.
4906 * config/tc-ppc.h (md_frag_check): Define.
4907
4d1cd5c7
MR
49082004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
4909
4910 * doc/Makefile.am (info): Rename goal to...
4911 (info-local): ... this, to preserve implicit dependencies.
4912 * doc/Makefile.in: Regenerate with automake 1.8.5.
4913
097f809a
NC
49142004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4915
4916 * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
4917 (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT.
4918 (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT.
4919 (tc_gen_reloc): Likewise.
4920 (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
4921 (m32r_parse_name): Likewise.
4922 (m32r_cgen_parse_fix_exp): Likewise.
4923 * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
4924 (O_PIC_reloc): Likewise.
4925 (TC_CGEN_PARSE_FIX_EXP): Likewise..
4926 * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
4927 for @GOTOFF, @GOT, @PLT.
4928
bb82af9f
NC
49292004-06-21 Jan Beulich <jbeulich@novell.com>
4930
4931 * gas/symbols.c: While discarding ordinary local absolute symbols
4932 when --strip-local-absolute is in effect, retain file symbols.
4933
990ae22a
AS
49342004-06-20 Andreas Schwab <schwab@suse.de>
4935
4936 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
4937 (md_parse_option): Likewise.
4938
32137342
NC
49392004-06-17 Jan Beulich <jbeulich@novell.com>
4940
4941 * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
4942 * config/te-netware.h: New file.
4943 * config/te-ppcnw.h: Delete: Obsolete.
4944 * configure.in: Eliminate ill NetWare targets. Make generic
4945 NetWare target use proper emulation.
4946 * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
4947 reference to new te-netware.h.
4948 * configure: Regenerate.
4949 * Makefile.in: Regenerate.
4950
f84d8e26
MS
49512004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
4952
4953 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
4954 comparison in .insn pseudo operation.
4955
587aac4e
AM
49562004-06-15 Alan Modra <amodra@bigpond.net.au>
4957
4958 * config/obj-coff.c (coff_adjust_section_syms): Use
4959 bfd_get_section_size instead of bfd_get_section_size_before_reloc.
4960 (coff_frob_section): Likewise.
4961 * config/tc-mips.c (md_apply_fix3): Likewise.
4962 * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
4963 (elf_frob_file_after_relocs): Likewise.
4964
2337eb33
DA
49652004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4966
b8fc22bc
DA
4967 * config/tc-hppa.c (log2): Rename to exact_log2.
4968 (pa_next_subseg): Delete unused function.
4969 (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
4970 (create_new_subspace): Likewise.
4971
2337eb33
DA
4972 Bug gas/213
4973 * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
4974 labels. Fix warning.
4975
53cb0362
DD
49762004-05-28 DJ Delorie <dj@redhat.com>
4977
4978 * config/tc-mn10300.h (tc_fix_adjustable): Define.
4979 * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
4980 or non-merged symbols.
4981
888a75be
L
49822004-05-28 H.J. Lu <hongjiu.lu@intel.com>
4983
4984 * config/tc-ia64.c (remove_marked_resource): Save, clear and
4985 restore the old slot when inserting srlz.i/srlz.d.
4986
f6f9408f
JR
49872004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
4988
4989 * Makefile.am: Regenerate dependecies.
4990 * Makefile.in: Regenerate.
4991 * config/tc-sh.c (valid_arch): Make unsigned.
4992 (preset_target_arch): Likewise.
4993 (md_begin): Use new architecture flags system.
4994 (get_specific): Likewise.
4995 (assemble_ppi): Likewise.
4996 (md_assemble): Likewise. Also fix error check for bad opcodes.
4997 (md_parse_option): Likewise. Also generate -isa values according
4998 to the table in bfd/cpu-sh.c instead of just constants. Also
4999 allow <arch>-up ISA variants.
5000 (sh_elf_final_processing): Replace if-else chain with a call to
5001 sh_find_elf_flags().
f6f9408f 5002
580b9172
NC
50032004-05-28 Peter Barada <peter@the-baradas.com>
5004
5005 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
5006 with zero offset into mode 2 addressing to save a word.
5007
652ca075
L
50082004-05-27 H.J. Lu <hongjiu.lu@intel.com>
5009
5010 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
5011 (ar_is_only_in_integer_unit): New.
5012 (ar_is_only_in_memory_unit): New.
5013 (generate_unwind_image): Silence gcc on 32bit host.
5014 (md_assemble): Use ar_is_only_in_integer_unit instead of
5015 ar_is_in_integer_unit. Check AR access.
5016
60fed2d3
NC
50172004-05-27 Peter Barada <peter@the-baradas.com>
5018
5019 * config/tc-m68k.c (md_begin): Sort the opcode table into
5020 alphabetical order.
5021 (m68k_compare_opcode): New function to do the sorting.
5022
be8c092b
NC
50232004-05-24 Peter Barada <peter@the-baradas.com>
5024
5025 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
5026 addressing on MIT style operands.
5027 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
5028 w/mask addressing.
5029 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
5030 operands.
5031
1181c20e
AM
50322004-05-23 Alan Modra <amodra@bigpond.net.au>
5033
5034 * expr.c (operand, operator): Don't reject '++' and '--'.
5035
20e56c33
RS
50362004-05-20 Richard Sandiford <rsandifo@redhat.com>
5037
5038 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
5039 dwarf tables.
5040
04ca8703 50412004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
5042
5043 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
5044 * configure: Regenerate.
5045
0da76f83
NC
50462004-05-13 Paul Brook <paul@codesourcery.com>
5047
5048 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
5049
4b363073
NC
50502004-05-13 Joel Sherrill <joel@oarcorp.com>
5051
5052 * configure.in (or32-*-rtems*): Switch to elf.
5053 * configure: Regenerate.
5054
9598fbe5
NC
50552004-05-13 Nick Clifton <nickc@redhat.com>
5056
5057 * po/fr.po: Updated French translation.
5058
22fe14ad
NC
50592004-05-11 Nick Clifton <nickc@redhat.com>
5060
5061 * doc/as.texinfo (Section): Document G and T flags to .section
5062 directive. Document the extra arguments that the G flag
5063 requires. Document the #tls flag.
5064
50652004-05-11 H.J. Lu <hongjiu.lu@intel.com>
5066
5067 * subsegs.c (section_symbol): Create a new section symbol if
5068 the existing one doesn't match.
5069 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
5070
532c738a
RS
50712004-05-07 Richard Sandiford <rsandifo@redhat.com>
5072
5073 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
5074 to cope with VR4181A errata MD(1) and MD(4).
5075
0503b355
BF
50762004-05-07 Brian Ford <ford@vss.fsi.com>
5077
5078 * NEWS: Mention .secrel32 for pe[i]-i386.
5079
daeea990
AO
50802004-05-07 Alexandre Oliva <aoliva@redhat.com>
5081
5082 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
5083 (HANDLE_ALIGN): New.
5084
bfbdcf04
DJ
50852004-05-06 Daniel Jacobowitz <dan@debian.org>
5086
5087 * Makefile.am (DIST_SUBDIRS): Define.
5088 * aclocal.m4: Regenerate with automake 1.8.4.
5089 * Makefile.in: Likewise.
5090 * doc/Makefile.in: Likewise.
5091
5e819f9c
JW
50922004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
5093
5094 * config/tc-ia64.c (dot_serialize): Declare.
5095 (dot_serialize): New function.
5096 (md_pseudo_table): Add ".serialize.data" and
5097 ".serialize.instruction" directives.
5098
e5976317
NC
50992004-05-06 Nick Clifton <nickc@redhat.com>
5100
5101 * messages (as_internal_value_out_of_range): Print a message about
5102 a value being out of range. Be consistent about whether the
5103 values are printed in decimal or hexadecimal.
5104 (as_warn_value_out_of_range): Generate a warning message about an
5105 out of range value.
5106 (as_bad_value_out_of_range): Generate an error message about an
5107 out of range value.
5108 * as.h: Prototype the new functions.
5109 * config/tc-alpha.c (insert_operand): Use new function.
5110 * config/tc-arc.c (arc_insert_operand): Likewise.
5111 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
5112 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
5113 * config/tc-ppc.c (ppc_insert_operand): Likewise.
5114 * config/tc-s390.c (s390_insert_operand): Likewise.
5115 * config/tc-v850.c (v850_insert_operand): Likewise.
5116
996991aa
AO
51172004-05-05 Alexandre Oliva <aoliva@redhat.com>
5118
5119 * configure.in: Set em=linux for frv-*-*linux*.
5120 * configure: Rebuilt.
5121 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
5122 (frv_md_fdpic_enabled): New.
5123 * config/tc-frv.c (frv_md_fdpic_enabled): New.
5124 (DEFAULT_FDPIC): New.
5125 (frv_flags): Use DEFAULT_FDPIC.
5126 (frv_pic_flag): Likewise.
5127 (OPTION_NOPIC): New.
5128 (md_longopts): Add -mnopic.
5129 (md_parse_option): Handle it.
5130 (md_show_usage): Add -mfdpic and -mnopic.
5131
6b6e92f4
NC
51322004-05-05 Peter Barada <peter@the-baradas.com>
5133
5134 * config/tc-m68k.c: Add find_cf_chip to print list of valid
5135 chips for invalid coldfire instructions, rename selectors
5136 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
5137 add current_chip to track which chip is referred to(including save/restore),
5138 use current_chip to select control registers, not current_arch.
5139 (md_show_usage): Add new chips.
5140 * doc/c-m68k.texi: Document new command line switches.
5141
6f079ae3
JJ
51422004-05-05 Jakub Jelinek <jakub@redhat.com>
5143
5144 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
5145 (NOP_OPCODE): Define.
5146 (s390_align_code): Remove prototype.
5147 * tc-s390.c (s390_align_code): Remove.
5148
2d6ed997
L
51492004-05-04 H.J. Lu <hongjiu.lu@intel.com>
5150
5151 * config/tc-ia64.c (make_unw_section_name): Removed.
5152 (start_unwind_section): New function.
5153 (generate_unwind_image): Take const segT instead of const
5154 char *.
5155 (dot_handlerdata): Adjusted.
5156 (dot_endp): Likewise.
5157
b9f18452
L
51582004-05-02 H.J. Lu <hongjiu.lu@intel.com>
5159
5160 * config/obj-elf.c (obj_elf_change_section): Allow the
5161 ".note.GNU-stack" section has SHF_EXECINSTR.
5162
fafe6678
L
51632004-05-02 H.J. Lu <hongjiu.lu@intel.com>
5164
5165 * config/obj-elf.c (get_section): Return bfd_boolean.
5166 (obj_elf_change_section): Call bfd_get_section_by_name_if
5167 instead of bfd_map_over_sections.
5168
86654c12
L
51692004-04-30 H.J. Lu <hongjiu.lu@intel.com>
5170
5171 * config/obj-elf.c (get_section): New function.
5172 (obj_elf_change_section): Support multiple sections with same
5173 name.
5174
376eb240
NC
51752004-04-30 Nick Clifton <nickc@redhat.com>
5176
5177 * config/tc-arm.c (create_register_alias): Fix typo checking for
5178 case sensitive register aliases.
5179 (co_proc_number): Use error message string in all_reg_maps[]
5180 array.
5181 (cp_reg_required_here): Likewise.
5182 (fp_reg_required_here): Likewise.
5183
8a7140c3
NC
51842004-04-29 Brian Ford <ford@vss.fsi.com>
5185
5186 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
5187
3e722fb5
CD
51882004-04-28 Chris Demetriou <cgd@broadcom.com>
5189
5190 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
5191 (load_address, macro, mips_ip, md_parse_option)
5192 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
5193 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
5194 embedded-PIC handling, and update comments.
5195 (SWITCH_TABLE): Remove.
5196 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
5197 (enum mips_pic_level): Remove EMBEDDED_PIC.
5198 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
5199 (TC_FORCE_RELOCATION): Update comment.
5200 * ecoff.c (ecoff_build_lineno): Add comment about some code that
5201 might be safe to remove now that MIPS embedded-PIC is gone.
5202
351e2b5a
DA
52032004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5204
5205 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
5206 call to obj_set_subsection_attributes.
5207 (obj_som_init_stab_section): Likewise.
5208 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
5209 (pa_def_subspaces): Provide comdat default.
5210 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
5211 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
5212 calls to create_new_subspace and update_subspace to pass comdat flag.
5213 (create_new_subspace, update_subspace): Add new comdat argument. Use
5214 it in calls to obj_set_subsection_attributes.
5215 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
5216 and use of comdat, common and dup_comm parameters.
5217
f5842774
L
52182004-04-26 H.J. Lu <hongjiu.lu@intel.com>
5219
5220 * config/obj-elf.c (obj_elf_change_section): Check if the old
5221 group name is NULL before comparison.
5222
558fe4a7
CD
52232004-04-23 Chris Demetriou <cgd@broadcom.com>
5224
5225 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
5226
81a21e38
TS
52272004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5228
5229 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
5230
52312004-04-23 Chris Demetriou <cgd@broadcom.com>
1ffcab4b
CD
5232
5233 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
5234 (OPTION_MEMBEDDED_PIC): Remove.
5235 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
5236 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
5237 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
5238 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
5239 (OPTION_ELF_BASE): Renumber.
5240 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
5241 (md_show_usage): Remove mention of -membedded-pic.
5242 * doc/as.texinfo: Remove mention of -membedded-pic.
5243
4d0d148d
TS
52442004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5245
5246 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
5247 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
5248 a.out support.
5249 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
5250 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
5251 USE_GLOBAL_POINTER_OPT.
5252
017315e4
TS
52532004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5254
5255 * config/tc-mips.c (macro): One more use of load_delay_nop.
5256
269137b2
TS
52572004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
5258
5259 * config/tc-mips.c (load_delay_nop): New function.
5260 (load_address, macro): Use load_delay_nop() to build a nop
5261 which can be omitted with gpr_interlocks.
5262
24772049
TS
52632004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5264
5265 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
5266 cop_interlocks): Remove superfluous CPU entries.
5267
06516a5e
PB
52682004-04-22 Paul Brook <paul@codesourcery.com>
5269
5270 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
5271
fd99574b
NC
52722004-04-22 Peter Barada <peter@the-baradas.com>
5273
5274 * NEWS: Added support for EMAC instructions and MAC/EMAC
5275 Motorola syntax.
5276 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
5277 scale factor tokens, trailing_ampersand to mark mask addressing
5278 for MAC/EMAC instructions.
5279 * config/m68k-parse.y: Add options_ampersand clause, '<<',
5280 '>>'.
5281 (yylex): Handle '>', '<', and '&' following '+'.
5282 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
04ca8703 5283 architectures in archs[].
fd99574b
NC
5284 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
5285 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
5286 respectively.
5287 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
5288 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
5289 cases.
5290 Add EMAC operands to init_table[].
5291
69b97547
NC
52922004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
5293
5294 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
5295 state.
5296 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
5297 * config/tc-arm.c (enum mstate): Delete from here.
5298 (mapping_state): Remove the static mapstate variable and instead
5299 store the state in the segment. This allows a per-section mapping
5300 state. Handle and ignore MAP_UNDEFINED states.
5301 (arm_elf_change_section): Get the current mapping state from the
5302 new section.
5303 (s_ltorg): Set the mapping state to MAP_DATA.
5304 (arm_cleanup): Use arm_elf_change_section to get the mapping state
5305 for each pool as it is emitted.
5306
53072004-04-22 Nick Clifton <nickc@redhat.com>
5308
5309 * config/tc-arm.h: Formatting tidy ups.
5310
7a7f4e42
CD
53112004-04-20 Chris Demetriou <cgd@broadcom.com>
5312
5313 * NEWS: Note that MIPS -membedded-pic option is deprecated.
5314
6482c264
NC
53152004-04-20 DJ Delorie <dj@redhat.com>
5316
5317 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
5318 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
5319 [TE_PE] (O_secrel): Define.
5320 [TE_PE] (x86_pe_cons_fix_new): New.
5321 [TE_PE] (pe_directive_secrel): Likewise.
5322 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
5323
5bf10039
EC
53242004-04-19 Eric Christopher <echristo@redhat.com>
5325
c04f5787
AM
5326 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
5327 of previous patch for fix in gcc.
5bf10039 5328
77cd6497
JJ
53292004-04-19 Jakub Jelinek <jakub@redhat.com>
5330
5331 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
5332
b8861cfb
NS
53332004-04-19 Nathan Sidwell <nathan@codesourcery.com>
5334
5335 * read.c (do_align): Call md_flush_pending_output, if defined.
5336
f4c724fc
AM
53372004-04-16 Alan Modra <amodra@bigpond.net.au>
5338
5339 * expr.c (operand): Correct checks for ++ and --.
5340
a4b6e8f6
L
53412004-04-14 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 * config/tc-generic.c: Add some comments.
5344
d766e8ec
RS
53452004-04-14 Richard Sandiford <rsandifo@redhat.com>
5346
5347 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
5348 -{no-}mfix-vr4122-bugs.
5349 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
5350 (append_insn, mips_emit_delays): Update accordingly.
5351 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
5352 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
5353 (md_parse_option): Update after above changes.
5354 (md_show_usage): Add -mfix-vr4120.
5355
ed9589d4
BW
53562004-04-13 Bob Wilson <bob.wilson@acm.org>
5357
5358 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
5359 of .section directive; add a reference to the ELF .subsection
5360 directive.
5361
097dba13
NC
53622004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
5363
5364 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
5365 in parallel.
5366
279500de
TS
53672004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5368
5369 * Makefile.am: Remove mips from aout targets.
5370 * Makefile.in: Regenerate.
5371 * configure.in: Remove mips-dec-bsd* target.
5372 * configure: Regenerate.
5373
b7d7dc63
AM
53742004-04-07 Alan Modra <amodra@bigpond.net.au>
5375
5376 PR 96
5377 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
5378 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
5379 Update "mapping". Restrict some @ modifiers to 32 bit.
5380
f55629b8
KK
53812004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
5382 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5383
5384 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
5385 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
5386 dont_adjust_reloc_32 is set.
5387 (md_longopts): Add option -renesas.
5388 (md_parse_option, md_show_usage): Likewise.
5389 * doc/c-sh.texi: Likewise.
5390
a7844384
NC
53912004-04-01 Dave Korn <dk@artimi.com>
5392
5393 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
5394 hi16 and lo16 fixS structs.
5395 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
5396 exactly the same way as for RELOC_DLX_REL16.
5397 (machine_ip): properly respect LO flag in the_insn and
5398 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
5399 (md_apply_fix3): apply RELOC_DLX_LO16.
5400
6c71dbc4
SS
54012004-03-30 Stan Shebs <shebs@apple.com>
5402
5403 Remove long-obsolete MPW support.
5404 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
5405 * configure.in: Remove mention of ppc-*-mpw* config.
5406 * configure.in: Likewise.
5407
7cc69913
NC
54082004-03-30 Nick Clifton <nickc@redhat.com>
5409
5410 * config/tc-arm.c (meabi_flags): Make its use conditional upon
5411 OBJ_ELF being defined.
5412
53fbb48a
AM
54132004-03-27 Alan Modra <amodra@bigpond.net.au>
5414
5415 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
5416
d507cf36
PB
54172004-03-23 Paul Brook <paul@codesourcery.com>
5418
5419 * config/tc-arm.c (meabi_flags): New variable.
5420 (arm_parse_eabi): New function.
5421 (md_begin): Set flags for EABI v3.
5422 (arm_eabis): Add.
5423 (arm_long_opts): Add meabi.
ab1e9ef7 5424 * doc/as.texinfo <ARM>: Document -meabi.
d507cf36
PB
5425 * doc/c-arm.texi: Ditto.
5426
88d65ad6
BW
54272004-03-22 Bob Wilson <bob.wilson@acm.org>
5428
5429 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
5430 tables even when use_literal_section flag is not set.
5431
13ef8878
AM
54322004-03-22 Alan Modra <amodra@bigpond.net.au>
5433
5434 * config/tc-sh.c: Remove trailing whitespace.
5435
1048a9ba
HPN
54362004-03-22 Hans-Peter Nilsson <hp@axis.com>
5437
5438 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
5439 --mul-bug-abort and the default behavior.
5440 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
5441 (err_for_dangerous_mul_placement): New variable.
5442 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
5443 macros.
5444 (md_cris_relax_table): Have placeholder for STATE_MUL.
5445 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
5446 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
5447 case doing nothing.
5448 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
5449 STATE_BYTE)>: Ditto.
5450 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
5451 alignment and position of this frag, emit error message if
5452 suspicious.
5453 (md_assemble): For a multiply insn and when checking it,
5454 transform the current frag into a special frag for that purpose.
5455 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
5456 OPTION_MULBUG_ABORT_ON>: Handle new options.
5457
a7877748
BW
54582004-03-19 Bob Wilson <bob.wilson@acm.org>
5459
5460 * config/tc-xtensa.c (mark_literal_frags): New function.
5461 (xtensa_move_literals): Call mark_literal_frags for all literal
5462 segments, including init and fini literal segments.
5463 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
5464
9992270f
DA
54652004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5466
5467 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
5468 (pa_comm): Set BSF_OBJECT in symbol flags.
5469
6e1772d5
AM
54702004-03-19 Alan Modra <amodra@bigpond.net.au>
5471
5472 * Makefile.am: Run "make dep-am".
5473 * Makefile.in: Regenerate.
5474 * doc/Makefile.in: Regenerate.
5475 * config.in: Regenerate.
5476 * po/gas.pot: Regenerate.
5477
3e4caed2
NS
54782004-03-18 Nathan Sidwell <nathan@codesourcery.com>
5479
c95b35a9
NS
5480 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
5481 (demand_empty_rest_of_line): Issue an error here.
5482 (ignore_rest_of_line): Silently skip to end.
5483 (demand_copy_string): Issue an error, not warning.
5484 (equals): Likewise.
5485 * config/obj-elf.c (obj_elf_section_name): Likewise.
5486 (obj_elf_section): Likewise.
5487 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
5488 (arc_extinst): Likewise.
5489 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
5490 (dot_spill): Likewise.
5491 (dot_unwabi): Likewise.
5492 (dot_prologue): Likewise.
5493
3e4caed2
NS
5494 * expr.c (operand): Reject ++ and --.
5495 (operator): Likewise.
5496
2ce4cc60
KK
54972004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5498
5499 * config/tc-sh.c: Include dw2gencfi.h.
5500 (sh_cfi_frame_initial_instructions): New function.
5501 (sh_regname_to_dw2regnum): Likewise.
5502 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
5503 file.
5504 (TARGET_USE_CFIPOP): Define.
5505 (tc_cfi_frame_initial_instructions): Likewise.
5506 (tc_regname_to_dw2regnum): Likewise.
5507 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
5508 * Makefile.am: Update dependencies.
5509 * Makefile.in: Regenerate.
5510
9183ed4b
AM
55112004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5512
5513 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
5514 * configure: Regenerate.
5515
00bbdfe7
BW
55162004-03-12 Bob Wilson <bob.wilson@acm.org>
5517
5518 * read.c (s_leb128): Call md_flush_pending_output.
5519
0f10071e
ML
55202004-03-12 Michal Ludvig <mludvig@suse.cz>
5521
5522 * config/tc-i386.c (output_insn): Handle PadLock instructions.
5523 * config/tc-i386.h (CpuPadLock): New define.
5524 (CpuUnknownFlags): Added CpuPadLock.
5525
84c84759
AS
55262004-03-07 Andreas Schwab <schwab@suse.de>
5527
5528 * doc/c-hppa.texi (HPPA Directives): Fix typo.
5529
6ec51dba
RH
55302004-03-07 Richard Henderson <rth@redhat.com>
5531
5532 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
5533 (cfi_finish): Likewise for fde.
5534
bae25f19
L
55352004-03-05 H.J. Lu <hongjiu.lu@intel.com>
5536
5537 * config/tc-ia64.c (md_assemble): Properly handle NULL
5538 align_frag.
5539 (ia64_handle_align): Don't abort if failed to add a stop bit.
5540
ab509236
L
55412004-03-04 H.J. Lu <hongjiu.lu@intel.com>
5542
5543 * Makefile.in: Regenerated.
5544 * aclocal.m4: Likewise.
5545 * configure: Likewise.
5546 * doc/Makefile.in: Likewise.
5547
d9201763
L
55482004-03-03 H.J. Lu <hongjiu.lu@intel.com>
5549
5550 * config/tc-ia64.c (dot_align): New.
5551 (ia64_do_align): Make it static.
5552 (md_pseudo_table): Use "dot_align" for "align".
5553 (ia64_md_do_align): Don't set align_frag here.
5554 (ia64_handle_align): Add a stop bit to the previous bundle if
5555 needed.
5556
5557 * config/tc-ia64.h (ia64_do_align): Removed.
5558
ae51a426
JR
55592003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
5560
5561 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
5562 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
5563 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
5564 the most general type or the user specifically requested it.
5565 (md_assemble): Add a new error message for when an instruction
5566 is understood, but is not allowed due to an -isa option.
5567
9545c4ce
L
55682004-03-02 H.J. Lu <hongjiu.lu@intel.com>
5569
5570 * config/tc-ia64.c (align_frag): New.
5571 (md_assemble): Set the tc_frag_data field in align_frag for
5572 IA64_OPCODE_FIRST instructions.
5573 (ia64_md_do_align): Set align_frag.
5574 (ia64_handle_align): Add a stop bit if needed.
5575
5576 * config/tc-ia64.h (TC_FRAG_TYPE): New.
5577 (TC_FRAG_INIT): New.
5578
676a64f4
RS
55792004-03-01 Richard Sandiford <rsandifo@redhat.com>
5580
5581 * config/tc-frv.c (fr400_audio): New variable.
5582 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
5583 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
5584 (target_implements_insn_p): New function.
5585 (md_assemble): Report an error if the processor doesn't implement
5586 the instruction.
5587
bd337dde
NC
55882004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
5589
5590 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
5591 (md_parse_option): Ditto.
5592 (OPTION_NO_SPECIAL_M32R): Added.
5593 (md_show_usage): Document it.
5594 (enable_speial_m32r): Changed a default value from 0 to 1.
5595 * doc/c-m32r.texi: Document the -no-bitinst option.
5596
78878175
NC
55972004-02-27 Nick Clifton <nickc@redhat.com>
5598
5599 * config/tc-sh.c (get_operand): Revert previous delta.
5600 (tc_gen_reloc): Check for an unknown reloc type before processing
5601 the addend.
5602
1d6d62a4
MS
56032004-02-27 Hannes Reinecke <hare@suse.de>
5604
5605 * config/tc-s390.c (s390_insn): Correct range check for opcode in
5606 .insn pseudo operation.
5607
4aa3e325
NC
56082004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
5609
5610 * config/tc-sh.c (get_operand): In case of #Imm, check has been
5611 added for wrong syntax.
5612
73369e65
EC
56132004-02-26 Eric Christopher <echristo@redhat.com>
5614
5615 * config/tc-mips.c (mips_dwarf2_addr_size): New.
5616 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
5617
6a5709a5
JR
56182004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
5619
5620 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
5621 nibble types to assembler.
5622
95385380
FF
56232004-02-25 Fred Fish <fnf@redhat.com>
5624
5625 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
5626
b5e0fabd
JW
56272004-02-20 James E Wilson <wilson@specifixinc.com>
5628
5629 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
5630 finalize_syms.
5631 (fixup_unw_records): New arg before_relax. Pass to slot_index.
5632 (ia64_estimate_size_before_relax): New.
5633 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
5634 (generate_unwind_image): Pass 1 to fixup_unw_records.
5635 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
5636 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
5637
2f01ffbf
JJ
56382004-02-19 Jakub Jelinek <jakub@redhat.com>
5639
5640 * stabs.c (generate_asm_file): Avoid warning about use of
5641 uninitialized variable.
5642
9c59842f
JW
56432004-02-18 David Mosberger <davidm@hpl.hp.com>
5644
5645 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
5646 body, and endp, allow unwind records which do not have a "t"
5647 (time/instruction) field.
5648
34920d91
NC
56492004-02-17 Petko Manolov <petkan@nucleusys.com>
5650
5651 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
5652 (do_mav_dspsc_2): Likewise.
5653 Fix accumulator registers move opcodes.
5654
4dde8e61 56552004-02-13 Hannes Reinecke <hare@suse.de>
13ef8878 5656 Jakub Jelinek <jakub@redhat.com>
4dde8e61
AJ
5657
5658 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
5659
936cf02e
JW
56602004-02-10 Steve Ellcey <sje@cup.hp.com>
5661
5662 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
5663 (tc_frob_symbol): New macro definition.
5664 * config/tc-ia64.c (ia64_frob_symbol): New routine.
5665
e41f12f3
DJ
56662004-02-09 Daniel Jacobowitz <drow@mvista.com>
5667
5668 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
5669 read-only.
5670
a8a3b3b2
NS
56712004-02-09 Nathan Sidwell <nathan@codesourcery.com>
5672
5673 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
5674 (TC_CASE_SENSITIVE): ... this.
5675 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
5676 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
5677
c97b7ef6
JW
56782004-02-06 James E Wilson <wilson@specifixinc.com>
5679
5680 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
5681 (generate_unwind_image): Re-add it here.
5682
e4475e39
NS
56832004-02-06 Nathan Sidwell <nathan@codesourcery.com>
5684
5685 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
5686 * read.h (SKIP_WHITESPACE): Turn into an expression.
5687 * read.c (read_a_source_file): A pseudo is removed by having a
5688 NULL handler.
5689
5738bc24
JW
56902004-02-05 James E Wilson <wilson@specifixinc.com>
5691
5692 * config/tc-ia64.c (output_endp): New.
5693 (count_bits): Delete.
5694 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
5695 endp unwind records.
5696 (fixup_unw_records): Handle endp unwind records. Delete code for
5697 shortening prologue regions not followed by a body record.
5698 (dot_endp): Call add_unwind_entry to emit endp unwind record.
5699 * config/tc-ia64.h (unw_record_type): Add endp.
5700
d6e78c11
JW
57012004-02-03 James E Wilson <wilson@specifixinc.com>
5702
5703 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
5704 fill padding bytes with zeroes.
5705 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
5706 sets unwind_record slot_number and slot_frag fields.
5707
f6a22291
MR
57082004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5709
5710 * config/tc-mips.c (add_got_offset_hilo): New function.
5711 (macro): Use load_register() and add_got_offset_hilo() to load
5712 constants instead of hardcoding code sequences throughout.
5713
127cab00
L
57142004-01-28 H.J. Lu <hongjiu.lu@intel.com>
5715
5716 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
5717
6358301e
NC
57182004-01-26 Bernardo Innocenti <bernie@develer.com>
5719
5720 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
5721 like m68k-elf.
5722 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
5723 of hard-coded test for TARGET_OS=elf.
5724
c8978940
CD
57252004-01-24 Chris Demetriou <cgd@broadcom.com>
5726
5727 * config/tc-mips.c (hilo_interlocks): Change definition
5728 so that MIPS32, MIPS64 and later ISAs are included, along with
5729 the already-included machines. Update comments.
5730
c3ba240c
DJ
57312004-01-23 Daniel Jacobowitz <drow@mvista.com>
5732
5733 * config/tc-arm.c (tc_gen_reloc): Improve error message for
5734 undefined local labels.
5735
e864ceca
RS
57362004-01-23 Richard Sandiford <rsandifo@redhat.com>
5737
5738 * config/tc-mips.c (load_address, macro): Update comments about
5739 NewABI GP relaxation.
5740
67c0d1eb
RS
57412004-01-23 Richard Sandiford <rsandifo@redhat.com>
5742
5743 * config/tc-mips.c (macro_build): Remove place and counter arguments.
5744 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
5745 (mips16_macro_build, macro_build_jalr): Remove counter argument.
5746 (set_at, load_register, load_address, move_register): Likewise.
5747 (load_got_offset, add_got_offset): Likewise.
5748 Update all calls and tidy accordingly.
5749
584892a6
RS
57502004-01-23 Richard Sandiford <rsandifo@redhat.com>
5751
5752 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
5753 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
5754 (RELAX_USE_SECOND): Bump to 0x10000.
5755 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
5756 (mips_macro_warning): New variable.
5757 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
5758 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
5759 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
5760 of RELAX_ENCODE.
5761 (append_insn): Update mips_macro_warning.sizes.
5762 (macro_start, macro_warning, macro_end): New functions.
5763 (macro_build): Don't emit warnings here.
5764 (macro_build_lui, md_estimate_size_before_relax): ...or here.
5765 (md_convert_frag): Check for cases where one macro alternative
5766 needs a warning and the other doesn't. Emit a warning if the
5767 longer sequence was chosen.
5768
4d7206a2
RS
57692004-01-23 Richard Sandiford <rsandifo@redhat.com>
5770
5771 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
5772 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
5773 the first sequence, the size of the second sequence, and a flag
5774 that says whether we should warn.
5775 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
5776 (RELAX_FIRST, RELAX_SECOND): New.
5777 (mips_relax): New variable.
5778 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
5779 (append_insn): Remove "place" argument. Use mips_relax.sequence
5780 rather than "place" to check whether we're expanding the second
5781 alternative of a relaxable macro. Remove redundant check for
5782 branch relaxation. If generating a normal insn, and there
5783 is not enough room in the current frag, call relax_close_frag()
5784 to close it. Update mips_relax.sizes[]. Emit fixups for the
5785 second version of a relaxable macro. Record the first relaxable
5786 fixup in mips_relax. Remove tc_gen_reloc workaround.
5787 (macro_build): Remove all uses of "place". Use mips_relax.sequence
5788 in the same way as in append_insn.
5789 (mips16_macro_build): Remove "place" argument.
5790 (macro_build_lui): As for macro_build. Don't drop the add_symbol
5791 when generating the second version of a relaxable macro.
5792 (load_got_offset, add_got_offset): New functions.
5793 (load_address, macro): Use new relaxation machinery. Remove
5794 tc_gen_reloc workarounds.
5795 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
5796 version of a relaxable macro is needed. Return -RELAX_SECOND if the
5797 first version is needed.
5798 (tc_gen_reloc): Remove relaxation handling.
5799 (md_convert_frag): Go through the fixups for a relaxable macro and
5800 mark those that belong to the unneeded alternative as done. If the
5801 second alternative is needed, adjust the fixup addresses to account
5802 for the deleted first alternative.
5803
0530d30a
RS
58042004-01-23 Richard Sandiford <rsandifo@redhat.com>
5805
5806 * frags.h (frag_room): Declare.
5807 * frags.c (frag_room): New function.
5808 * doc/internals.texi: Document it.
5809
048cdf86
TS
58102004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5811
5812 * config/tc-mips.c (append_insn): Don't do r3900 interlock
5813 optimization for -mtune=r3900, as this will break on other CPUs.
5814
28d39d1a
NC
58152004-01-11 Tom Rix <tcrix@worldnet.att.net>
5816
5817 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
73369e65 5818 be relaxed, use fixup.
28d39d1a
NC
5819 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
5820
26664553
JJ
58212004-01-19 Jakub Jelinek <jakub@redhat.com>
5822
5823 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
5824 precision operands.
5825
895921c9
MR
58262004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5827
5828 * config/tc-mips.c (append_insn): Properly detect variant frags
5829 that preclude swapping of relaxed branches. Correctly swap
5830 instructions between frags when dealing with relaxed branches.
5831
f8b73030
MR
58322004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5833
5834 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
5835 throughout.
5836 * aclocal.m4: Regenerate.
5837 * configure: Regenerate.
5838
ca9a79a1 58392004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
73369e65 5840
ca9a79a1
NC
5841 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
5842 manipulation insns.
5843
cc3d92a5
RS
58442004-01-12 Richard Sandiford <rsandifo@redhat.com>
5845
5846 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
5847 reloc, reserve space for the delay slot as well as the jalr itself.
5848
e45d0630
PB
58492004-01-09 Paul Brook <paul@codesourcery.com>
5850
5851 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
5852 (do_vfp_sp2_from_reg2): New function.
5853 (insns): Use them.
5854 (do_vfp_dp_from_reg2): Check return values properly.
5855
81912461
ILT
58562004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
5857
78849248
ILT
5858 * config/tc-mips.c (warn_nops): Remove static variable.
5859 (macro): Remove test of warn_nops.
5860 (md_shortops): Remove 'n'.
5861 (md_parse_option): Remove 'n' case.
5862 (md_show_usage): Remove -n.
5863 * doc/as.texinfo (Overview): Remove MIPS -n option.
5864 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
5865 * NEWS: Mention removal of MIPS -n option.
5866
81912461
ILT
5867 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
5868 (cop_interlocks): Check ISA level.
5869 (cop_mem_interlocks): Define.
5870 (reg_needs_delay): Check cop_interlocks rather than
5871 ISA_HAS_COPROC_DELAYS.
5872 (append_insn): Likewise. Use cop_mem_interlocks rather than
5873 directly checking mips_opts.isa.
5874 (mips_emit_delays): Likewise.
5875
73f20958
L
58762004-01-07 H.J. Lu <hongjiu.lu@intel.com>
5877
5878 * config/tc-ia64.c (unwind): Move next_slot_number and
5879 next_slot_frag to ...
5880 (unw_rec_list): Here.
5881 (free_list_records): Removed.
5882 (output_unw_records): Likewise.
5883 (generate_unwind_image): Make it void.
5884 (alloc_record): Initialize next_slot_number and next_slot_frag.
5885 (slot_index): Take .org, .space and .align into account.
5886 (fixup_unw_records): Don't set slot_number to 0. Use
5887 list->next_slot_number and list->next_slot_frag instead of
5888 unwind.next_slot_number and unwind.next_slot_frag.
5889 (ia64_convert_frag): New.
5890 (generate_unwind_image): Generate a rs_machine_dependent frag
5891 for unwind record.
5892 (emit_one_bundle): Use list->next_slot_number and
5893 list->next_slot_frag instead of unwind.next_slot_number and
5894 unwind.next_slot_frag.
5895
5896 * config/tc-ia64.h (md_convert_frag): Defined as
5897 ia64_convert_frag.
5898 (md_estimate_size_before_relax): Defined as (f)->fr_var.
5899
99d09cdb
AO
59002004-01-06 Alexandre Oliva <aoliva@redhat.com>
5901
5902 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
5903 * config/tc-frv.h (md_apply_fix3): Don't define.
5904 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
5905 operands.
5906 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
5907 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
5908 * config/tc-frv.c (line_separator_chars): Add `!'.
5909 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
5910 * config/tc-frv.c (md_assemble): Clear insn upfront.
5911 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
5912 * config/tc-frv.c (OPTION_FDPIC): New macro.
5913 (md_longopts): Add mfdpic.
5914 (md_parse_option): Handle it.
5915 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
5916 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
5917 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
5918 (frv_pic_ptr): Parse funcdesc.
5919
4a4c4a1d
MR
59202004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5921
5922 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
5923 gasver.texi. Remove duplicate symbol definitions for texi2pod.
5924
2251dd89
MR
59252004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5926
5927 * Makefile.am (Makefile): Move the dependency on
5928 $(BFDDIR)/configure.in to...
5929 (CONFIG_STATUS_DEPENDENCIES): ... here.
5930 (AUTOMAKE_OPTIONS): Require automake 1.8.
5931 * Makefile.in: Regenerate.
5932 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
5933 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
5934 $(BFDDIR)/configure.in here as well.
5935 * doc/Makefile.in: Regenerate.
5936
c6581168
MR
59372004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5938
5939 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
5940 * Makefile.in: Regenerate.
5941 * aclocal.m4: Regenerate.
5942 * doc/Makefile.am (install, install-info): Remove.
5943 (install-data-local): A new hook for install-info.
5944 (AUTOMAKE_OPTIONS): Require automake 1.8.
5945 * doc/Makefile.in: Regenerate.
5946
303e7b79
NC
59472004-01-02 Nutan Singh <nutan@kpitcummins.com>
5948
5949 * doc/c-sh.texi: Update description about floating point behavior
5950 of SH family.
5951
b50c15dc
NC
59522004-01-02 Bernardo Innocenti <bernie@develer.com>
5953
5954 * configure.in: Add m68k-uClinux target.
5955 * configure: Regenerate.
7de9afa2 5956
c9e214e5 5957For older changes see ChangeLog-0203
08d56133
NC
5958\f
5959Local Variables:
5960mode: change-log
5961left-margin: 8
5962fill-column: 74
5963version-control: never
5964End:
This page took 0.553623 seconds and 4 git commands to generate.