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