* config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
cac27205
NC
12007-09-25 Nathan Sidwell <nathan@codesourcery.com>
2
3 * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
4 (BRANCHBWPL, FRAG_VAR_SIZE): New.
5 (md_relax_table): Add BRANCHBWPL entries.
6 (m68k_ip): Choose BRANCHBWPL relaxation if necessary.
7 (md_assemble): Use FRAG_VAR_SIZE.
8 (md_convert_frag_1): Add BRANCHBWPL cases.
9 (md_estimate_size_before_relaz): Likewise.
10
49954fb4
CD
112007-09-24 Carlos O'Donell <carlos@codesourcery.com>
12
13 * config/tc-mips.c (s_align): Set max_alignment to 28.
14
db51cc60
L
152007-09-20 H.J. Lu <hongjiu.lu@intel.com>
16
17 PR 658
18 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
19 (set_allow_index_reg): New.
20 (allow_index_reg): Likewise.
21 (md_pseudo_table): Add "allow_index_reg" and
22 "disallow_index_reg".
23 (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
24 fake index registers.
25 (i386_scale): Updated.
26 (i386_index_check): Support fake index registers.
27 (parse_real_register): Return NULL on eiz/riz if fake index
28 registers aren't allowed.
29
217fe99f
NC
302007-09-19 Nick Clifton <nickc@redhat.com>
31
32 * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
33 fixups.
34
e055a931
BW
352007-09-19 Bob Wilson <bob.wilson@acm.org>
36
37 * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
38
d908d8f4
BS
392007-09-18 Bernd Schmidt <bernd.schmidt@analog.com>
40
41 * config/bfin-parse.y (asm_1): Slightly improve error messages
42 for "reg += const;".
43
b6ac5419
AM
442007-09-18 Alan Modra <amodra@bigpond.net.au>
45
46 PR gas/5026
47 * read.c (emit_expr): Only use long long if required and available.
48
20e192ab
L
492007-09-17 H.J. Lu <hongjiu.lu@intel.com>
50
51 * config/tc-i386.c (baseindex): Removed.
52 (build_modrm_byte): Check reg_num for RIP register instead of
53 reg_type.
54 (i386_index_check): Likewise.
55
1a36c6a7
L
562007-09-17 H.J. Lu <hongjiu.lu@intel.com>
57
58 PR gas/5035
59 * config/obj-coff.c (obj_coff_endef): Remove checking size of
60 def_symbol_in_progress.
61
5c612369
NC
622007-09-17 Evandro Menezes <evandro@yahoo.com>
63
64 PR gas/5026
65 * read.c (emit_expr): Use unsigned long long values in warning
66 message about truncated expressions.
67
916af048
L
682007-09-17 H.J. Lu <hongjiu.lu@intel.com>
69
70 * config/tc-i386.c (intel_e04): Revert the last change.
71
7f396d02
NC
722007-09-17 Nick Clifton <nickc@redhat.com>
73
74 * po/es.po: Updated Spanish translation.
75
27ac7208
L
762007-09-15 H.J. Lu <hongjiu.lu@intel.com>
77
78 PR gas/5034
79 * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is
80 T_NIL.
81
8ed77a05
L
822007-09-14 H.J. Lu <hongjiu.lu@intel.com>
83
84 * config/tc-i386.c (build_modrm_byte): Adjust comment line
85 wrap.
86
b5016f89
L
872007-09-14 H.J. Lu <hongjiu.lu@intel.com>
88
89 * config/tc-i386.c (build_modrm_byte): Use (A || B) instead
90 of (A || B) != 0.
91
c0209578
L
922007-09-14 H.J. Lu <hongjiu.lu@intel.com>
93
94 * config/tc-i386.c (build_modrm_byte): Adjust indentation.
95
f033ec5c 962007-09-14 Michael Meissner <michael.meissner@amd.com>
85f10a01
MM
97 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
98 Tony Linthicum <tony.linthicum@amd.com>
99
100 * NEWS: Add SSE5 support to NEWS file.
101
102 * config/tc-i386.h (drex_byte): Add fields to allow process_drex
103 and build_modrm_byte to communicate.
104 (DREX_OC0): New SSE5 macro.
105 (DREX_OC0_MASK): Ditto.
106 (DREX_OC1): Ditto.
107 (DREX_OC1_MASK): Ditto.
108 (DREX_XMEM_X1_X2_X2): Ditto.
109 (DREX_X1_XMEM_X2_X2): Ditto.
110 (DREX_X1_XMEM_X2_X1: Ditto.
111 (DREX_X1_X2_XMEM_X1: Ditto.
112 (DREX_XMEM_X1_X2): Ditto.
113 (DREX_X1_XMEM_X2): Ditto.
114 (drex_byte): New structure to describe the DREX byte.
115
116 * config/tc-i386.c (process_drex): New function to handle SSE5
117 DREX bits.
118 (build_modrm_byte): Use the information cached away in
119 process_drex in the case of DREX instructions.
120 (i386_insn): Add drex field.
121 (pi): Add debugging of drex field.
122 (md_assemble): Treat SSE5 like SSE3 in instructions with an
123 immediate byte. Move REX field to DREX if this is a DREX
124 instruction.
125 (process_operands): Add SSE5 support.
126 (build_modrm_byte): Ditto.
127 (output_insn): Ditto.
128 (cpu_arch): Ditto.
129 (i386_align_code): Ditto.
130
ec56d5c0
JB
1312007-09-12 Jan Beulich <jbeulich@novell.com>
132
133 * config/tc-i386.c (md_assemble): Move handling of extrq/insertq
134 after generic operand swapping, and swap only the immediate operands.
135
8d100c32
KH
1362007-09-11 Nathan Sidwell <nathan@codesourcery.com>
137
138 * config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
139 (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.
140
cf557b51
L
1412007-09-09 H.J. Lu <hongjiu.lu@intel.com>
142
143 * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
144 byte opcode.
145
c6fb90c8
L
1462007-09-08 H.J. Lu <hongjiu.lu@intel.com>
147
148 * config/tc-i386.c (cpu_flags_check_x64): Renamed to ...
149 (cpu_flags_check_cpu64): This. Inline.
150 (uints_all_zero): New.
151 (uints_set): Likewise
152 (uints_equal): Likewise
153 (UINTS_ALL_ZERO): Likewise
154 (UINTS_SET): Likewise
155 (UINTS_CLEAR): Likewise
156 (UINTS_EQUAL): Likewise
157 (cpu_flags_and): Likewise.
158 (cpu_flags_or): Likewise.
159 (operand_type_and): Likewise.
160 (operand_type_or): Likewise.
161 (operand_type_xor): Likewise.
162 (cpu_flags_not): Inline and use switch instead of loop.
163 (cpu_flags_match): Updated.
164 (operand_type_match): Likewise.
165 (smallest_imm_type): Likewise.
166 (set_cpu_arch): Likewise.
167 (pt): Likewise.
168 (md_assemble): Likewise.
169 (parse_insn): Likewise.
170 (optimize_imm): Likewise.
171 (match_template): Likewise.
172 (process_suffix): Likewise.
173 (update_imm): Likewise.
174 (finalize_imm): Likewise.
175 (process_operands): Likewise.
176 (build_modrm_byte): Likewise.
177 (i386_immediate): Likewise.
178 (i386_displacement): Likewise.
179 (i386_index_check): Likewise.
180 (i386_operand): Likewise.
181 (i386_target_format): Likewise.
182 (intel_e11): Likewise.
183 (operand_type): Remove implicitregister.
184 (operand_type_check): Updated. Inline.
185 (cpu_flags_all_zero): Removed.
186 (operand_type_all_zero): Likewise.
187 (i386_array_biop): Likewise.
188 (cpu_flags_biop): Likewise.
189 (operand_type_biop): Likewise.
190
33169993
L
1912007-09-08 H.J. Lu <hongjiu.lu@intel.com>
192
193 * Makefile.am: Run "make dep-am".
194 * Makefile.in: Regenerate.
195
40fb9820
L
1962007-09-08 H.J. Lu <hongjiu.lu@intel.com>
197
198 * configure.in (AC_CHECK_HEADERS): Add limits.h.
199 * configure: Regenerated.
200 * config.in: Likewise.
201
202 * config/tc-i386.c: Include "opcodes/i386-init.h".
203 (_i386_insn): Use i386_operand_type for types.
204 (cpu_arch_flags): Updated to new types with bitfield.
205 (cpu_arch_tune_flags): Likewise.
206 (cpu_arch_isa_flags): Likewise.
207 (cpu_arch): Likewise.
208 (i386_align_code): Likewise.
209 (set_code_flag): Likewise.
210 (set_16bit_gcc_code_flag): Likewise.
211 (set_cpu_arch): Likewise.
212 (md_assemble): Likewise.
213 (parse_insn): Likewise.
214 (process_operands): Likewise.
215 (output_branch): Likewise.
216 (output_jump): Likewise.
217 (parse_real_register): Likewise.
218 (mode_from_disp_size): Likewise.
219 (smallest_imm_type): Likewise.
220 (pi): Likewise.
221 (type_names): Likewise.
222 (pt): Likewise.
223 (pte): Likewise.
224 (swap_2_operands): Likewise.
225 (optimize_imm): Likewise.
226 (optimize_disp): Likewise.
227 (match_template): Likewise.
228 (check_string): Likewise.
229 (process_suffix): Likewise.
230 (check_byte_reg): Likewise.
231 (check_long_reg): Likewise.
232 (check_qword_reg): Likewise.
233 (check_word_reg): Likewise.
234 (finalize_imm): Likewise.
235 (build_modrm_byte): Likewise.
236 (output_insn): Likewise.
237 (disp_size): Likewise.
238 (imm_size): Likewise.
239 (output_disp): Likewise.
240 (output_imm): Likewise.
241 (gotrel): Likewise.
242 (i386_immediate): Likewise.
243 (i386_displacement): Likewise.
244 (i386_index_check): Likewise.
245 (i386_operand): Likewise.
246 (parse_real_register): Likewise.
247 (i386_intel_operand): Likewise.
248 (intel_e09): Likewise.
249 (intel_bracket_expr): Likewise.
250 (intel_e11): Likewise.
251 (cpu_arch_flags_not): New.
252 (cpu_flags_check_x64): Likewise.
253 (cpu_flags_all_zero): Likewise.
254 (cpu_flags_not): Likewise.
255 (i386_cpu_flags_biop): Likewise.
256 (cpu_flags_biop): Likewise.
257 (cpu_flags_match); Likewise.
258 (acc32): New.
259 (acc64): Likewise.
260 (control): Likewise.
261 (reg16_inoutportreg): Likewise.
262 (disp16): Likewise.
263 (disp32): Likewise.
264 (disp32s): Likewise.
265 (disp16_32): Likewise.
266 (anydisp): Likewise.
267 (baseindex): Likewise.
268 (regxmm): Likewise.
269 (imm8): Likewise.
270 (imm8s): Likewise.
271 (imm16): Likewise.
272 (imm32): Likewise.
273 (imm32s): Likewise.
274 (imm64): Likewise.
275 (imm16_32): Likewise.
276 (imm16_32s): Likewise.
277 (imm16_32_32s): Likewise.
278 (operand_type): Likewise.
279 (operand_type_check): Likewise.
280 (operand_type_match): Likewise.
281 (operand_type_register_match): Likewise.
282 (update_imm): Likewise.
283 (set_code_flag): Also update cpu_arch_flags_not.
284 (set_16bit_gcc_code_flag): Likewise.
285 (md_begin): Likewise.
286 (parse_insn): Use cpu_flags_check_x64 to check 64bit support.
287 Use cpu_flags_match to match instructions.
288 (i386_target_format): Update cpu_arch_isa_flags and
289 cpu_arch_tune_flags to i386_cpu_flags type with bitfield.
290 (smallest_imm_type): Check cpu_arch_tune to tune for i486.
291 (match_template): Don't initialize overlap0, overlap1,
292 overlap2, overlap3 and operand_types.
293 (process_suffix): Handle crc32 with 64bit register.
294 (MATCH): Removed.
295 (CONSISTENT_REGISTER_MATCH): Likewise.
296
297 * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags
298 type.
299
26186d74
L
3002007-09-06 H.J. Lu <hongjiu.lu@intel.com>
301
302 * config/tc-i386.c (match_template): Handle invlpga, vmload,
303 vmrun and vmsave in SVME.
304 (process_suffix): Likewise.
305
d946b91f
L
3062007-09-05 H.J. Lu <hongjiu.lu@intel.com>
307
308 * config/tc-i386.c (i386_index_check): Don't use RegRex
309 on the reg_type field.
310 (parse_real_register): Use `||' instead of `|'.
311
75178d9d
L
3122007-09-04 H.J. Lu <hongjiu.lu@intel.com>
313
314 * config/tc-i386.c (process_operands): Remove segment override
315 check on SVME instructions.
8aa20f82 316 (i386_index_check): Remove memory operand check on SVME
75178d9d
L
317 instructions.
318
7bc3e93c
AM
3192007-09-04 Alan Modra <amodra@bigpond.net.au>
320
321 * config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc".
322 (md_assemble): Update init of insn. Use insn.reloc instead of
323 calculating from flag.
324 (get_imm): Set reloc rather than flag.
325 (calcop): Formatting.
326
851feff8
DJ
3272007-08-29 Daniel Jacobowitz <dan@codesourcery.com>
328
329 * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.
330
ec744b67
DJ
3312007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
332
333 * doc/c-arc.texi: Fix typo.
334
d9a5e5e5
L
3352007-08-28 H.J. Lu <hongjiu.lu@intel.com>
336
337 * config/tc-i386.c (process_suffix): Handle cmpxchg8b in
338 Intel mode.
339
def8fc92
KH
3402007-08-28 Nathan Sidwell <nathan@codesourcery.com>
341
342 * config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
343 (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2.
344 (mcf5407_ctrl): New.
345 (m68k_cpus): Adjust 5407 entry.
346
f75192f2
KH
3472007-08-28 Maxim Kuvyrkov <maxim@codesourcery.com>
348
349 * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
350 (m68k_cpus): Define 51QE cpu.
351
7f6a71ff 3522007-08-28 Mark Shinwell <shinwell@codesourcery.com>
d9a5e5e5 353 Joseph Myers <joseph@codesourcery.com>
7f6a71ff
JM
354
355 * as.c (main): Flush stderr before printing listings to ensure
356 consistent output order across platforms.
357
0b3e17e9
NC
3582007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
359
360 * configure.tgt: Add support for i[3-7]86-*-dragonfly*.
361
3d6b762c 3622007-08-24 Joseph Myers <joseph@codesourcery.com>
d9a5e5e5 363 Paul Brook <paul@codesourcery.com>
3d6b762c
JM
364
365 * remap.c: New.
366 * as.h (remap_debug_filename, add_debug_prefix_map): Declare.
367 * as.c (show_usage): Document --debug-prefix-map option.
368 (parse_args): Handle --debug-prefix-map.
369 * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
370 * stabs.c (stabs_generate_asm_file): Remap debug paths.
371 * Makefile.am (GAS_CFILES): Add remap.c
372 (GENERIC_OBJS): Add remap.o.
373 Regenerate dependencies.
374 * Makefile.in: Regenerate.
375 * doc/as.texinfo (--debug-prefix-map): Document.
376
495bde8e
DJ
3772007-08-24 Aurelien Jarno <aurel32@debian.org>
378
379 * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
380 before printing them.
381
67c11a9b
AM
3822007-08-24 Anders Waldenborg <anders@0x63.nu>
383 Alan Modra <amodra@bigpond.net.au>
384
385 * config/tc-i386.c (lex_got): Don't scan past a comma.
386
c3d65c1c
BE
3872007-08-23 Ben Elliston <bje@au.ibm.com>
388
389 * config/tc-ppc.c (parse_cpu): Handle "750cl".
390 (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
391 (md_show_usage): Document -m750cl.
392 (md_assemble): Handle two delimiters in succession (eg. `),').
393 * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
394 * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
395 * testsuite/gas/ppc/ppc750ps.s: New file.
396 * testsuite/gas/ppc/ppc750ps.d: Likewise.
397
f467aa98
BE
3982007-08-23 Ben Elliston <bje@au.ibm.com>
399
400 * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
401
3992d3b7
AM
4022007-08-17 Alan Modra <amodra@bigpond.net.au>
403
404 PR gas/4079
405 * config/tc-i386.c (x86_cons): Complain about invalid @got etc.
406 expressions.
407 (i386_immediate): Detect and complain about more cases of
408 invalid immediate expressions. Return failure rather than
409 converting them to zero.
410 (i386_displacement): Likewise.
411
e9f27433
AM
4122007-08-17 Alan Modra <amodra@bigpond.net.au>
413
414 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
415
cf738528
AS
4162007-08-14 Andreas Schwab <schwab@suse.de>
417
418 * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
419 unrepresentable.
420
9975e4c4
DJ
4212007-08-12 Matthias Klose <doko@ubuntu.com>
422
423 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
424 $(top_srcdir)/../../bfd/doc.
425 * doc/Makefile.in: Regenerate.
426
7c3d153f
NC
4272007-08-10 Nick Clifton <nickc@redhat.com>
428
429 * NEWS: Add a marker for the 2.18 features.
430
4396b686
PB
4312007-08-09 Paul Brook <paul@codesourcery.com>
432
433 * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.
434
c3ad16c0
L
4352007-08-09 H.J. Lu <hongjiu.lu@intel.com>
436
437 * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.
438
34828aad
L
4392007-07-29 H.J. Lu <hongjiu.lu@intel.com>
440
441 * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
442 DWORD memory to Reg64 in Intel synax.
443 (check_qword_reg): Allow cvtsd2si to convert QWORD memory to
444 Reg32 in Intel syntax.
445
d12f9798
BW
4462007-07-25 Sterling Augustine <sterling@tensilica.com>
447
448 * config/tc-xtensa.c (xtensa_extui_opcode): New.
449 (xg_expand_assembly_insn): Check for invalid extui operands.
450 (md_begin): Initialize xtensa_extui_opcode.
451
9ce0cf56
NC
4522007-07-24 Nick Clifton <nickc@redhat.com>
453
454 * config/tc-mep.h (skip_whitespace): Remove definition.
455
76bc74dc
L
4562007-07-23 H.J. Lu <hongjiu.lu@intel.com>
457
458 * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
459 (f32_15): Removed.
460 (jump_31): New.
461 (f32_patt): Remove f32_15.
462 (f16_patt): Likewise.
463 (i386_align_code): Updated to alt_long_patt for 64bit by
464 default.
465
466 * config/tc-i386.h (processor_type): Add PROCESSOR_I386.
467
4682007-07-23 Evandro Menezes <evandro.menezes@amd.com>
469
470 * config/tc-i386.c (i386_align_code): Enable alignment up to
471 MAX_MEM_FOR_RS_ALIGN_CODE bytes. Remove special treatment
472 for K8.
473
e6529493
L
474 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31.
475
fc5910c0
NC
4762007-07-20 Nick Clifton <nickc@redhat.com>
477
478 * app.c (do_scrub_chars): Provide a one character buffer to hold a
479 pushed back newline at the end of an unterminated quoted string.
480
d929913e
NC
4812007-07-14 Nick Clifton <nickc@redhat.com>
482
483 * config/tc-arm.c (create_register_alias): Return a boolean rather
484 than an integer.
485 Check the return value of insert_reg_alias and do not continue to
486 create aliases once an insertion has failed.
487 (s_unreq): Delete the all-upper-case and all-lower-case
488 alternatives as well.
489
d2df793a
NC
4902007-07-12 Kai Tietz <kai.tietz@onevision.com>
491
492 * symbols.c: Print bfd_hostptr_t to file via fprintf_vma.
493 * write.c: Likewise.
494
369943fe
DJ
4952007-07-11 Daniel Jacobowitz <dan@codesourcery.com>
496
497 * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
498 HAVE_64BIT_SYMBOLS.
499
0fdf1951
RS
5002007-07-04 Richard Sandiford <richard@codesourcery.com>
501
502 * config/tc-mips.c (mips_cpu_info_table): Add new entries for
503 {24k,24ke,34k,74k}f{2_1,1_1,x}. Also add an entry for 74kf3_2.
504 Deprecate *x and *fx.
505 * doc/c-mips.texi: Document the new CPU arguments. Deprecate
506 *x and *fx.
507
872ce6ff
L
5082007-07-04 H.J. Lu <hongjiu.lu@intel.com>
509
510 * config/obj-coff.h (x86_64_target_format): Renamed to ...
511 (i386_target_format): This
512 (TARGET_FORMAT): Use i386_target_format.
513
514 * config/tc-i386.c (x86_64_target_format): Removed.
515 (i386_target_format): Handle PE formats.
516
1a412f5f
NC
5172007-07-04 Nick Clifton <nickc@redhat.com>
518
519 * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order
520 to get the right length of printed value.
521
ec2655a6
NC
5222007-07-03 Nick Clifton <nickc@redhat.com>
523
524 * COPYING: Replace with GPLv3 text.
525 * app.c: Update copyright notice to refer to GPLv3.
526 * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h,
527 cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h,
528 dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h,
529 emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h,
530 flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c,
531 input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c,
532 itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c,
533 macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c,
534 read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h,
535 symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h,
536 config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h,
537 config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y,
538 config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y,
539 config/obj-aout.c, config/obj-aout.h, config/obj-coff.c,
540 config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h,
541 config/obj-elf.c, config/obj-elf.h, config/obj-evax.c,
542 config/obj-evax.h, config/obj-multi.h, config/obj-som.c,
543 config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h,
544 config/tc-arc.c, config/tc-arc.h, config/tc-arm.c,
545 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
546 config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c,
547 config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h,
548 config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c,
549 config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
550 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c,
551 config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h,
552 config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c,
553 config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h,
554 config/tc-i370.c, config/tc-i370.h, config/tc-i386.c,
555 config/tc-i386.h, config/tc-i860.c, config/tc-i860.h,
556 config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c,
557 config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h,
558 config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c,
559 config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h,
560 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
561 config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h,
562 config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c,
563 config/tc-mep.h, config/tc-mips.c, config/tc-mips.h,
564 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
565 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
566 config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c,
567 config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h,
568 config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c,
569 config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h,
570 config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h,
571 config/tc-s390.c, config/tc-s390.h, config/tc-score.c,
572 config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h,
573 config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c,
574 config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
575 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
576 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
577 config/tc-v850.c, config/tc-v850.h, config/tc-vax.c,
578 config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h,
579 config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c,
580 config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h,
581 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
582 config/te-freebsd.h, config/te-hppa.h, config/te-irix.h,
583 config/te-netware.h, config/te-sparcaout.h, config/te-tmips.h,
584 config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h,
585 config/xtensa-relax.c, config/xtensa-relax.h: Likewise.
586
587 * flonum-mult.c: Likewise, and also correct typo referring to
588 non-existant GNU Assembler General Public License.
589 * config/tc-m68851.h: Likewise.
590 * NEWS: Mention the new license. Also note where the 2.17 release
591 happened.
592 * config/e-crisaout.c: Add copyright header.
593 * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c,
594 config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c,
595 config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h,
596 config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h,
597 config/te-generic.h, config/te-gnu.h, config/te-go32.h,
598 config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h,
599 config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h,
600 config/te-linux.h, config/te-lnews.h, config/te-lynx.h,
601 config/te-mach.h, config/te-macos.h, config/te-nbsd532.h,
602 config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h,
603 config/te-pep.h, config/te-psos.h, config/te-riscix.h,
604 config/te-sun3.h, config/te-svr4.h, config/te-symbian.h,
605 config/te-wince-pe.h: Likewise.
606
afa2158f
NS
6072007-07-03 Nathan Sidwell <nathan@codesourcery.com>
608
609 * config/tc-m68k.c (m68k_ip): Add j & K operand types.
610 (install_operand): Add E encoding.
611 (md_begin): Check and skip initial '.' arg character.
612 (get_num): Add 0..511 case.
613
ae4a729b
AM
6142007-07-03 Alan Modra <amodra@bigpond.net.au>
615
616 PR 4713
617 * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
618 * config/obj-elf.h (obj_ecoff_set_ext): Comment.
619
df816087
AM
6202007-07-03 Mikkel Lauritsen <renard@nospam.dk>
621
622 PR 4722
623 * app.c (do_scrub_chars <state 5>): Check for output buffer full
624 after memcpy.
625
741d6ea8
JM
6262007-07-02 Joseph Myers <joseph@codesourcery.com>
627
628 * config/tc-mips.c (s_dtprelword, s_dtpreldword,
629 s_dtprel_internal): New.
630 (mips_pseudo_table): Add .dtprelword and .dtpreldword.
631 (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and
632 BFD_RELOC_MIPS_TLS_DTPREL64.
633
ae351704
AM
6342007-07-02 Alan Modra <amodra@bigpond.net.au>
635
636 * Makefile.am: Run "make dep-am".
637 * Makefile.in: Regenerate.
638 * aclocal.m4: Regenerate.
639 * config.in: Regenerate.
640 * doc/Makefile.in: Regenerate.
641 * po/POTFILES.in: Regenerate.
642 * po/gas.pot: Regenerate.
643
8d452c78
AM
6442007-07-02 Alan Modra <amodra@bigpond.net.au>
645
646 * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
647 coff section flag values to bfd section flag.
648
86b57e31
L
6492007-06-30 H.J. Lu <hongjiu.lu@intel.com>
650
651 * aclocal.m4: Regenerated.
652 * doc/Makefile.in: Likewise.
653 * Makefile.in: Likewise.
654
7ace4e4c
JM
6552007-06-29 Joseph Myers <joseph@codesourcery.com>
656
657 * as.c (main): Only call create_obj_attrs_section if IS_ELF.
658
104d59d1
JM
6592007-06-29 Joseph Myers <joseph@codesourcery.com>
660
661 * as.c (create_obj_attrs_section): New.
662 (main): Call create_obj_attrs_section for ELF.
663 * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
664 skip_past_comma, s_vendor_attribute): New.
665 (potable): Add gnu_attribute for ELF.
666 * read.h (s_vendor_attribute): Declare.
667 * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
668 round s_vendor_attribute.
669 (aeabi_set_public_attributes): Update for new attributes
670 interfaces.
671 (arm_md_end): Remove attributes contents setting now done
672 generically.
673
3d3d428f
NC
6742007-06-29 M R Swami Reddy <MR.Swami.Redd@nsc.com>
675
676 * Makefile.am: Add CR16 related entry.
677 * Makefile.in: Regenerate.
678 * config/tc-cr16.h: New file
679 * config/tc-cr16.c: New file
680 * doc/c-cr16.texi: New file for cr16
681 * doc/all.texi: Entry for cr16
682 * doc/Makefile.am: Added c-cr16.texi
683 * doc/Makefile.in: Regenerate
684 * doc/as.texinfo: Entry for CR16 target
685 * NEWS: Announce the support for the new target.
686
cd2cf30b
PB
6872007-06-26 Paul Brook <paul@codesourcery.com>
688
689 * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
690 for OP_RVC.
691 (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
692
5f15756d
L
6932007-06-25 H.J. Lu <hongjiu.lu@intel.com>
694
695 * config/tc-i386.c (process_operands): Replace regKludge
696 with RegKludge.
697
b314ec0e
RS
6982007-06-25 Richard Sandiford <richard@codesourcery.com>
699
700 * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
701 * config/tc-mips.c (append_insn): Record which symbols have
702 R_MIPS16_26 relocations against them.
703 (mips_fix_adjustable): Don't reduce relocations against such symbols.
704
b81bf389
BW
7052007-06-22 Sterling Augustine <sterling@tensilica.com>
706
707 * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
708 (frag_format_size): Handle RELAX_IMMED_STEP3.
709 (xtensa_relax_frag, md_convert_frag): Likewise.
710 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
711 (RELAX_IMMED_MAXSTEPS): Adjust.
712 * config/xtensa-relax.c (widen_spec_list): Add transitions from
713 wide branches to branch-over-jumps.
714 (build_transition): Handle wide branches in transition patterns.
715
e205caa7
L
7162007-06-22 H.J. Lu <hongjiu.lu@intel.com>
717
718 * config/tc-i386.c (disp_size): New.
719 (imm_size): Likewise.
720 (output_disp): Use disp_size and imm_size.
721 (output_imm): Use imm_size.
722
c48aaca0
BW
7232007-06-19 Sterling Augustine <sterling@tensilica.com>
724
725 * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
726 use of literal_frag field.
727 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
728 in the literal_frag field.
729 (xtensa_move_literals): Use it here instead of searching. Update
730 literal_frag field with new value.
731
728ca7c9
PB
7322007-06-14 Paul Brook <paul@codesourcery.com>
733
734 * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
735 narrow shift by immediate.
736
79887925
L
7372007-06-14 H.J. Lu <hongjiu.lu@intel.com>
738
739 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
740
741 * acinclude.m4: Don't include m4 files.
742 (BFD_BINARY_FOPEN): Removed.
743 Remove libtool kludge.
744
745 * Makefile.in: Regenerated.
746 * doc/Makefile.in: Likewise.
747 * aclocal.m4: Likewise.
748 * configure: Likewise.
749
99ded152
BW
7502007-06-11 Sterling Augustine <sterling@tensilica.com>
751 Bob Wilson <bob.wilson@acm.org>
752
753 * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
754 (XTENSA_PROP_NO_TRANSFORM): ...this.
755 (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
756 (xtensa_mark_frags_for_org): New.
757 (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
758 (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
759 (get_frag_property_flags): Adjust reference to is_no_transform flag.
760 (xtensa_frag_flags_combinable): Likewise.
761 (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM.
762 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
763
dce323d1
PB
7642007-06-06 Paul Brook <paul@codesourcery.com>
765
766 * config/tc-arm.c (s_align): Pad code sections appropriately.
767
79d49516
PB
7682007-06-05 Paul Brook <paul@codesourcery.com>
769
770 * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
771
dfeb0666
NC
7722007-06-05 Nick Clifton <nickc@redhat.com>
773
774 PR gas/4587
775 * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
776
353ab861
AM
7772007-06-05 Alan Modra <amodra@bigpond.net.au>
778
779 * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
780 number@ppu.
781 (tc_gen_reloc): Abort if neither addsy or subsy is set.
782 (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
783 * config/tc-spu.h (md_operand): Handle @ppu without sym.
784
91568d08
PB
7852007-05-31 Paul Brook <paul@codesourcery.com>
786
787 * config/tc-arm.c (insns): Allow strex on M profile cores.
788
c699f087
JJ
7892007-05-29 David S. Miller <davem@davemloft.net>
790 Jakub Jelinek <jakub@redhat.com>
791
792 PR gas/4558
793 * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
794 for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
795
945370aa
AM
7962007-05-29 Alan Modra <amodra@bigpond.net.au>
797
798 * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
799
98027b10
AM
8002007-05-29 Alan Modra <amodra@bigpond.net.au>
801
802 * config/tc-ppc.c: Convert to ISO C.
803 * config/tc-ppc.c: Likewise.
804
a32b816e
AM
8052007-05-29 Alan Modra <amodra@bigpond.net.au>
806
807 * write.h (EXEC_MACHINE_TYPE): Delete.
808 (string_byte_count, section_alignment): Delete.
809
1740b7b1
NS
8102007-05-28 Nathan Sidwell <nathan@codesourcery.com>
811
812 * app.c (do_scrub_chars): Cope with \ at end of buffer.
813
a1867a27
AM
8142007-05-26 Alan Modra <amodra@bigpond.net.au>
815
816 * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
817 top 32 bits of 64 bit value if so doing results in passing
818 range check. Rewrite sign extension fudges similarly. Enable
819 fudges for powerpc64 too. Report user value if range check
820 fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE
821 range rather than value, also to report user value on failure.
822
efd81785
PB
8232007-03-25 Paul Brook <paul@codesourcery.com>
824
825 * config/tc-arm.c (T2_SUBS_PC_LR): Define.
826 (do_t_add_sub): Correctly encode subs pc, lr, #const.
827 (do_t_mov_cmp): Correctly encode movs pc, lr.
828
37ad9514
SE
8292007-05-24 Steve Ellcey <sje@cup.hp.com>
830
831 * Makefile.in: Regnerate.
832 * configure: Regenerate.
833 * aclocal.m4: Regenerate.
834 * doc/Makefile.in: Regenerate.
835
4c8d1ad4
BW
8362007-05-22 Bob Wilson <bob.wilson@acm.org>
837
838 * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
839 and index entries about automatic alignment of ENTRY instructions.
840
0e9517a9
NC
8412007-05-22 Nick Clifton <nickc@redhat.com>
842
843 * doc/as.texinfo: Use @copying around the copyright notice.
844
e6559e01
JM
8452007-05-18 Joseph Myers <joseph@codesourcery.com>
846
847 * config/tc-mips.c (s_mipsset): Use generic s_set for directives
848 containing a comma.
849
4b7d318b
L
8502007-05-17 H.J. Lu <hongjiu.lu@intel.com>
851
852 PR gas/4517
853 2003-06-05 Michal Ludvig <mludvig@suse.cz>
5d14452b 854 * doc/as.texinfo: Document new directives: .cfi_restore,
4b7d318b
L
855 .cfi_undefined, .cfi_same_value, .cfi_return_column,
856 .cfi_remember_state and .cfi_restore_state.
857
2b878742
NS
8582007-05-17 Nathan Sidwell <nathan@codesourcery.com>
859
860 * config/tc-m68k.c (md_apply_fix): Show value of out of range
861 fixups in error message.
862 (md_conver_frag_1): Propagate the fix source location and use
863 as_bad_where rather than fatal, for better error messages.
864
2b744c99
PB
8652007-05-16 Paul Brook <paul@codesourcery.com>
866
867 * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
868
2a676888
MS
8692007-05-15 Mark Shinwell <shinwell@codesourcery.com>
870
871 * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
872
1c3f20b4
NC
8732007-05-15 Vincent Riviere <vincent.riviere@freesbee.fr>
874
875 PR gas/3041
876 * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
877 addend is stored for relocs against weak symbols.
878 (md_apply_fix): So not loose track of addend for relocs against
879 weak symbols.
880
24471d42
TS
8812007-05-14 Thiemo Seufer <ths@mips.com>
882
883 * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
884
b0253a53
ML
8852007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
886
24471d42
TS
887 * config/tc-score.c (data_op2, validate_immediate): Fix bug for
888 addri, addri.c, subi, and subi.c when immediate number is hex.
b0253a53
ML
889 (score_insns): Remove subis and subis.c.
890 (do_sub_rdi16): Delete.
891
ece5ef60
AM
8922007-05-11 Alan Modra <amodra@bigpond.net.au>
893
894 * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call
895 spu_cons for word.
896 (md_assemble): Tidy use of insn.flag.
897 (get_imm): Likewise. Handle uppercase input too.
898 (spu_cons): New function.
899 * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
900 (TC_FORCE_RELOCATION): Don't resolve them either.
901
f9d4405b
MS
9022007-05-05 Mark Shinwell <shinwell@codesourcery.com>
903
904 * config/tc-arm.c (md_apply_fix): Generate more accurate
905 diagnostic when 8-bit immediate range is exceeded for
906 BFD_RELOC_ARM_OFFSET_IMM8.
907
0787a12d
AM
9082007-05-04 Alan Modra <amodra@bigpond.net.au>
909
910 PR gas/4460
911 * config/tc-i386.c (lex_got): Don't replace the reloc token with
912 a space if we already have a space.
913
20592a94
L
9142007-05-03 H.J. Lu <hongjiu.lu@intel.com>
915
916 * config/tc-i386.c (match_template): Don't explicitly check
917 suffix for crc32 in Intel mode.
918 (process_suffix): Issue an error for crc32 if the operand size
919 is ambiguous.
920
22184a77
NC
9212007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr>
922 Nick Clifton <nickc@redhat.com>
923
924 PR gas/3041
925 * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
926 (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
927 (md_apply_fix): Put zero values into the frags referencing weak
928 symbols.
929
3896c469
AM
9302007-05-02 Alan Modra <amodra@bigpond.net.au>
931
932 PR 4448
933 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
934 PPC_OPERAND_PLUS1.
935
9344ff29
L
9362007-05-01 H.J. Lu <hongjiu.lu@intel.com>
937
938 * config/tc-i386.c (match_template): Check suffix for crc32 in
939 Intel mdoe.
940 (process_suffix): Default the suffix of 8bit crc32 to
941 BYTE_MNEM_SUFFIX.
942 (check_byte_reg): Skip check for 8bit crc32.
943
a540244d
L
9442007-04-30 H.J. Lu <hongjiu.lu@intel.com>
945
946 * config/tc-i386.c (md_assemble): Use register_prefix in
947 error/warning message.
948 (check_byte_reg): Likewise.
949 (check_long_reg): Likewise.
950 (check_qword_reg): Likewise.
951 (check_word_reg): Likewise.
952 (process_operands): Likewise.
953
eb42fac1
AM
9542007-04-30 Alan Modra <amodra@bigpond.net.au>
955
956 PR 4436
957 * config/tc-ppc.c (ppc_insert_operand): Disable range check if
958 min > max.
959
02ffd3e4
TS
9602007-04-28 Thiemo Seufer <ths@networkno.de>
961
962 * config/tc-mips.c: Fix comment.
963
8eb2af8e
DC
9642007-04-26 Anatoly Sokolov <aesok@post.ru>
965
966 * config/tc-avr.c (mcu_types): Add support for atmega8hva and
967 atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
968 * doc/c-avr.texi: Document new devices.
969
6d0f4cb4
AM
9702007-04-24 Alan Modra <amodra@bigpond.net.au>
971
972 * Makefile.am: Run "make dep-am".
973 * Makefile.in: Regenerate.
974
9a2e615a
NS
9752007-04-23 Nathan Sidwell <nathan@codesourcery.com>
976
977 * config/tc-m68k.c (mcf54455_ctrl): New.
978 (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
979 (m68k_archs): Add isac.
980 (m68k_cpus): Add 54455 family.
981 (m68k_ip): Split Bg into Bb, Bs, Bg.
982 (m68k_elf_final_processing): Add ISA_C.
983 * doc/c-m68k.texi (M680x0 Options): Add isac.
984
d2bdaea8
AM
9852007-04-22 Alan Modra <amodra@bigpond.net.au>
986
987 * read.c (read_a_source_file): Skip multiple spaces to
988 cover hack in mmix md_start_line_hook which overwrites a
989 colon with a space. Delete sermon and needless assertion.
990
541d2ffd
AM
9912007-04-21 Alan Modra <amodra@bigpond.net.au>
992
993 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
994 (md_atof): Make number_of_chars unsigned. Revert last change.
995 * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
996 * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
997 * config/tc-sh.h (md_optimize_expr): Likewise.
998 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
999 assertion.
1000 * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
1001
c13781b8
NC
10022007-04-21 Nick Clifton <nickc@redhat.com>
1003
2523cd0a
NC
1004 * config/atof-vax.c (md_atof): Fix comparison inside know().
1005
c13781b8
NC
1006 * config/tc-ia64.c (emit_one_bundle): Fix typo.
1007
c43a438d
AM
10082007-04-21 Alan Modra <amodra@bigpond.net.au>
1009
db557034
AM
1010 * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
1011 * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
1012 Don't skip over NUL char.
1013 (pseudo_set): Set X_op for registers to O_register.
1014 * symbols.c (symbol_clone): Remove assertion that sym is defined.
1015 (resolve_symbol_value): Resolve O_register symbols.
1016 * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
1017 Instead find st(0) by hash lookup.
1018 * config/tc-ppc.c (ppc_macro): Warning fix.
1019
c43a438d
AM
1020 * as.h (ENABLE_CHECKING): Default define to 0.
1021 (know): Assert if ENABLE_CHECKING.
1022 (struct relax_type): Remove superfluous declaration.
1023 * configure.in (--enable-checking): New.
1024 * configure: Regenerate.
1025 * config.in: Regenerate.
1026 * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
1027 Check for duplicate powerpc_operands entries.
1028
78336706
NS
10292007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1030
d5be9593
NS
1031 * config/tc-m68k.c (mcf5253_ctrl): New.
1032 (mcf52223_ctrl): New.
1033 (m68k_cpus): Add 5253, 52221, 52223.
1034
78336706
NS
1035 * config/m68k-parse.h (RAMBAR_ALT): New.
1036 * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
1037 (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
1038 mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
1039 mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
1040 mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
1041 RAMBAR1.
1042 (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
1043 (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
1044 (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
1045 to control register mapping.
1046
931774a9
AM
10472007-04-20 Alan Modra <amodra@bigpond.net.au>
1048
1049 * messages.c (as_internal_value_out_of_range): Fix typo in
1050 error message. Return after printing domain error.
1051 * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
1052 in max when shifting right.
1053
b84bf58a
AM
10542007-04-20 Alan Modra <amodra@bigpond.net.au>
1055
1056 * messages.c (as_internal_value_out_of_range): Extend to report
1057 errors for values with invalid low bits set.
1058 * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
1059 fields. Check that operands and opcode fields are disjoint.
1060 (ppc_insert_operand): Check operands using mask rather than bit
1061 count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust
1062 insertion code.
1063 (md_apply_fix): Adjust for struct powerpc_operand change.
1064
076d447c
PB
10652007-04-19 Paul Brook <paul@codesourcery.com>
1066
1067 * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
1068 Thumb-1. Add sanity check for bogus relaxations.
1069
16a4cf17
PB
10702007-04-19 Paul Brook <paul@codesourcery.com>
1071
1072 * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
1073
e30daadc
AM
10742007-04-19 Alan Modra <amodra@bigpond.net.au>
1075
1076 * Makefile.am: Run "make dep-am".
1077 * Makefile.in: Regenerate.
1078
7a467a28
AM
10792007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1080
1081 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
1082
d76f7bc1
L
10832007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1084
1085 * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
1086
381d071f
L
10872007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1088
1089 * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
1090 (match_template): Handle operand size for crc32 in SSE4.2.
1091 (process_suffix): Handle operand type for crc32 in SSE4.2.
1092 (output_insn): Support SSE4.2.
1093
42903f7f
L
10942007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 * config/tc-i386.c (cpu_arch): Add .sse4.1.
1097 (process_operands): Adjust implicit operand for blendvpd,
1098 blendvps and pblendvb in SSE4.1.
1099 (output_insn): Support SSE4.1.
1100
026d3abb
PB
11012007-04-18 Paul Brook <paul@codesourcery.com>
1102
1103 * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
1104
91382b56
KK
11052007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1106
1107 * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
1108 of as_warn_where for misaligned data.
1109
0838d2ac
KK
11102007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1111
1112 * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
1113 rs_fill frags.
1114
b7d19ba6
SE
11152007-04-14 Steve Ellcey <sje@cup.hp.com>
1116
1117 * Makefile.am: Add ACLOCAL_AMFLAGS.
1118 * Makefile.in: Regenerate.
1119
0cc34095
KK
11202007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1121
1122 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
1123 (sh_optimize_expr): Likewise.
1124 * config/tc-sh.h (md_optimize_expr): Define.
1125 (sh_optimize_expr): Prototype.
1126
6f7b6869
MT
11272007-04-06 Matt Thomas <matt@netbsd.org>
1128
1129 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
1130 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
1131 heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
1132
d0e8669a
KH
11332007-04-04 Kazu Hirata <kazu@codesourcery.com>
1134
1135 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
1136
3b8d421e
PB
11372007-04-04 Paul Brook <paul@codesourcery.com>
1138
1139 * config/tc-arm.c (do_neon_ext): Enforce immediate range.
1140 (insns): Use I15 for vext.
1141
9fcfe2ed
PB
11422007-04-04 Paul Brook <paul@codesourcery.com>
1143
1144 * configure.tgt: Loosen checks for arm uclinux eabi targets.
1145
a3582eee
BW
11462007-04-02 Sterling Augustine <sterling@tensilica.com>
1147
1148 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
1149 outputting_stabs_line_debug.
1150
7b60f473
DC
11512007-03-26 Anatoly Sokolov <aesok@post.ru>
1152
1153 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
1154 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
1155 devices.
1156 * doc/c-avr.texi: Document new devices.
1157
0c000745
RS
11582007-04-02 Richard Sandiford <richard@codesourcery.com>
1159
1160 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
1161 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
1162 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
1163
c3ea6048
BW
11642007-03-30 Sterling Augustine <sterling@tensilica.com>
1165 Bob Wilson <bob.wilson@acm.org>
1166
1167 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
1168 Do not check is_loop_target flag.
1169 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
1170 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
1171 xtensa_move_labels for alignment of loop opcodes.
1172
f6bee062
L
11732007-03-30 H.J. Lu <hongjiu.lu@intel.com>
1174
1175 * config/tc-i386.c (process_suffix): Reindent a bit.
1176
3c707909
PB
11772007-03-30 Paul Brook <paul@codesourcery.com>
1178
1179 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
1180 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
1181 (do_t_push_pop): Use encode_thumb2_ldmstm.
1182
144f4bc6
DD
11832007-03-29 DJ Delorie <dj@redhat.com>
1184
1185 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
1186 (md_relax_table): Add entries for ADJNZ macros.
1187 (M32C_Macros): Add ADJNZ macros.
1188 (subtype_mappings): Add entries for ADJNZ macros.
1189 (insn_to_subtype): Check for adjnz and sbjnz insns.
1190 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
1191 (md_convert_frag): Convert adjnz and sbjnz.
1192
e5551801
NC
11932007-03-29 Nick Clifton <nickc@redhat.com>
1194
1195 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
1196 initialization.
1197 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
1198 using ITBL_NUMBER_OF_PROCESSORS.
1199 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
1200
e72cf3ec
L
12012007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 * config/tc-i386.c (build_modrm_byte): For instructions with 2
1204 register operands, encode destination in i.rm.regmem if its
1205 RegMem bit is set.
1206
4ecceb71
RS
12072007-03-28 Richard Sandiford <richard@codesourcery.com>
1208 Phil Edwards <phil@codesourcery.com>
1209
1210 * doc/as.texinfo: Put the contents after the title page rather
1211 than at the end of the document.
1212
3f9ce309
AM
12132007-03-27 Alan Modra <amodra@bigpond.net.au>
1214
1215 * NEWS: Mention ".reloc".
1216
eb6d9dce
BW
12172007-03-26 Sterling Augustine <sterling@tensilica.com>
1218
1219 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
1220 in FLIX instructions.
1221
c96612cc
JB
12222007-03-26 Julian Brown <julian@codesourcery.com>
1223
1224 * config/tc-arm.c (arm_it): Add immisfloat field.
1225 (parse_qfloat_immediate): Disallow integer syntax for floating-point
1226 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
1227 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
1228 float.
1229 (neon_cmode_for_move_imm): Reject non-float immediates for float
1230 operands.
1231 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
1232
23753660
JB
12332007-03-26 Julian Brown <julian@codesourcery.com>
1234
1235 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
1236
05e9452c
AM
12372007-03-26 Alan Modra <amodra@bigpond.net.au>
1238
1239 * doc/as.texinfo (Reloc): Document.
1240 * read.c (potable): Add "reloc".
1241 (s_reloc): New function.
1242 * write.c (reloc_list): New global var.
1243 (resolve_reloc_expr_symbols): New function.
1244 (write_object_file): Call it.
1245 (write_relocs): Process reloc_list.
1246 * write.h (struct reloc_list): New.
1247 (reloc_list): Declare.
1248
1198ca51
PB
12492007-03-24 Paul Brook <paul@codesourcery.com>
1250
1251 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
1252
b6702015
PB
12532007-03-24 Paul Brook <paul@codesourcery.com>
1254 Mark Shinwell <shinwell@codesourcery.com>
1255
1256 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
1257 (parse_operands): Don't expect comma if first operand missing.
1258 Handle OP_oRRw.
1259 (do_srs): Encode register number, checking it is r13. Update comment.
1260 (insns): Update SRS entries to take a register.
1261
831480e9 12622007-03-23 H.J. Lu <hongjiu.lu@intel.com>
0003779b
L
1263
1264 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
1265
738755b0
MS
12662007-03-23 Mark Shinwell <shinwell@codesourcery.com>
1267
35225157 1268 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
738755b0
MS
1269 attempt to jump to the next instruction into NOPs.
1270
840edabd
AM
12712007-03-23 Alan Modra <amodra@bigpond.net.au>
1272
1273 * config/tc-spu.c: Don't include opcode/spu.h.
1274 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
1275 (md_apply_fix): Adjust.
1276 * config/tc-spu.h: Include opcode/spu.h.
1277 (struct tc_fix_info): New.
1278 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
1279 (TC_FORCE_RELOCATION): Define.
1280
e49e529d
JM
12812007-03-22 Joseph Myers <joseph@codesourcery.com>
1282
1283 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
1284
831480e9 12852007-03-21 H.J. Lu <hongjiu.lu@intel.com>
13a1e313
L
1286
1287 * config/tc-i386.c (process_suffix): Check 0x90 instead of
1288 xchg for xchg %rax,%rax.
1289
831480e9 12902007-03-21 H.J. Lu <hongjiu.lu@intel.com>
161a04f6
L
1291
1292 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
1293 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
1294
831480e9 12952007-03-21 H.J. Lu <hongjiu.lu@intel.com>
8b38ad71
L
1296
1297 PR binutils/4218
1298 * config/tc-i386.c (match_template): Properly handle 64bit mode
1299 "xchg %eax, %eax".
1300
af1c1010
NC
13012007-03-21 Anton Ertl <anton@mips.complang.tuw>
1302
1303 PR gas/4124
1304 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
1305
1d5f2fe9
L
13062007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1307
1308 * Makefile.am: Run dep-am.
1309 * Makefile.in: Regenerated.
1310
1311 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
1312
1313 * config/tc-i386.h: Include "opcodes/i386-opc.h".
1314 (NOP_OPCODE): Removed.
1315 (template): Likewise.
1316
5ac8f2a2
AS
13172007-03-21 Andreas Schwab <schwab@suse.de>
1318
1319 * config/tc-i386.h (NOP_OPCODE): Restore.
1320
8fb9d7b9
MS
13212007-03-18 Mark Shinwell <shinwell@codesourcery.com>
1322
1323 * config/tc-arm.c (do_mul): Don't warn about overlapping
1324 Rd and Rm operands when assembling for v6 or above.
1325 Correctly capitalize register names in the messages.
1326 (do_mlas): Likewise. Delete spurious blank line.
1327
b3768379
KH
13282007-03-16 Kazu Hirata <kazu@codesourcery.com>
1329
1330 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
1331
c3fe08fa
L
13322007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1333
1334 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
1335 i386_regtab.
1336 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
1337 on i386_regtab.
1338
4061927e
L
13392007-03-15 Alexandre Oliva <aoliva@redhat.com>
1340
1341 PR gas/4184
1342 * app.c (do_scrub_chars): PUT after setting states.
1343
0b1cf022
L
13442007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1345
1346 * Makefile.am: Run "make dep-am".
1347 * Makefile.in: Regenerated.
1348
1349 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
1350 "opcode/i386.h".
1351 (md_begin): Check reg_name != NULL for the last entry in
1352 i386_regtab.
1353
1354 * config/tc-i386.h: Move many entries to opcode/i386.h and
1355 opcodes/i386-opc.h.
1356
1357 * configure.in (need_opcodes): Set true for i386.
1358 * configure: Regenerated.
1359
c428fa83
L
13602007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 * Makefile.am (REPORT_BUGS_TO): Removed.
1363 (INCLUDES): Remove -DREPORT_BUGS_TO.
1364 * Makefile.in: Regenerated.
1365
1366 * configure.in (--with-bugurl): Removed.
1367 * configure: Regenerated.
1368
1369 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
1370 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
1371 (TEXI2DVI): Likewise.
1372 (gasver.texi): Removed.
1373 (MOSTLYCLEANFILES): Remove gasver.texi.
1374 (as.1): Don't depend on gasver.texi.
1375 * doc/Makefile.in: Regenerated.
1376
1377 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
1378
794ba86a
DJ
13792007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
1380
1381 * config/tc-arm.c (arm_copy_symbol_attributes): New.
1382 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
1383 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
1384 * gas/symbols.c (copy_symbol_attributes): Use
1385 TC_COPY_SYMBOL_ATTRIBUTES.
1386
155257ea
PB
13872007-03-14 Paul Brook <paul@codesourcery.com>
1388
1389 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
1390
d1c5f158
AM
13912007-03-14 Alan Modra <amodra@bigpond.net.au>
1392
1393 PR 4029
1394 * write.c (relax_segment): Insert extra alignment padding
1395 to break infinite relax loop when given impossible
1396 gcc_except_table assembly.
1397
8a2ed489
L
13982007-03-12 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
1401 on i.tm.base_opcode.
1402 (match_template): Likewise.
1403 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
1404
1405 * config/tc-i386.h (Opcode_D): New.
1406 (Opcode_FloatR): Likewise.
1407 (Opcode_FloatD): Likewise.
1408 (D): Redefined.
1409 (W): Likewise.
1410 (FloatMF): Likewise.
1411 (FloatR): Likewise.
1412 (FloatD): Likewise.
1413
e9fc6c21
AO
14142007-03-09 Alexandre Oliva <aoliva@redhat.com>
1415
1416 * app.c (do_scrub_chars): Recognize comments after # line "file".
1417 * read.c (get_linefile_number): New.
1418 (s_app_line): Accept ill-formed .linefile lines as comments.
1419
b1b7d09b
AM
14202007-03-09 Alan Modra <amodra@bigpond.net.au>
1421
1422 * config/tc-i386.h (WORKING_DOT_WORD): Define.
1423
93e914b2
AO
14242007-03-09 Alexandre Oliva <aoliva@redhat.com>
1425
1426 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
1427 * as.h (new_logical_line_flags): New.
1428 * input-scrub.c (new_logical_line): Turned into wrapper for...
1429 (new_logical_line_flags): this. Handle flags.
1430 * read.c (potable): Add linefile. Adjust appline argument.
1431 (s_app_file): Fake .appfiles no more.
1432 (s_app_line): For .linefile, accept file name and flags.
1433
6f12865c
AM
14342007-03-08 Alan Modra <amodra@bigpond.net.au>
1435
1436 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
1437
a6d04ec4
AM
14382007-03-08 Alan Modra <amodra@bigpond.net.au>
1439
1440 * Makefile.am: Run "make dep-am".
1441 * Makefile.in: Regenerate.
1442 * po/POTFILES.in: Regenerate.
1443
ad22bfe8
JM
14442007-03-07 Joseph Myers <joseph@codesourcery.com>
1445
1446 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
1447 bug-reporting URL.
1448 * doc/Makefile.am (gasver.texi): Define BUGURL.
1449 * doc/as.texinfo: Use BUGURL.
1450 * Makefile.in, configure, doc/Makefile.in: Regenerate.
1451
b5639b37
MS
14522007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1453
1454 * config/tc-s390.c (md_parse_option): z9-ec option added.
1455
5e77afaa
PB
14562007-03-02 Paul Brook <paul@codesourcery.com>
1457
1458 * config/tc-arm.c (relax_immediate): Always return positive values.
1459 (relaxed_symbol_addr): New function.
1460 (relax_adr, relax_branch): Use it.
1461 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
1462
066c2a57
JM
14632007-03-01 Joseph Myers <joseph@codesourcery.com>
1464
1465 * as.c (parse_args): Update copyright date.
1466
ed6ba298
NS
14672007-02-28 Nathan Sidwell <nathan@codesourcery.com>
1468
1469 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
1470
870074dd
NC
14712007-02-28 Nick Clifton <nickc@redhat.com>
1472
c5d07591
NC
1473 PR gas/3797
1474 * config/tc-d10v.c (do_assemble): Do not generate error messages,
1475 just return -1 whenever a problem is encountered.
1476 (md_assemble): If do_assemble returns -1 generate a non-fatal
1477 error message and return.
1478
870074dd
NC
1479 PR gas/2623
1480 * config/tc-msp430.c (line_separator_char): Change to '{'.
1481
fd99afa7
AM
14822007-02-27 Alan Modra <amodra@bigpond.net.au>
1483
1484 * config/tc-m68hc11.c (fixup24): Correct fixup size.
1485 (build_jump_insn): Likewise.
1486 (build_insn): Likewise.
1487 (s_m68hc11_relax): Likewise.
1488
07cb2078
AM
14892007-02-27 Alan Modra <amodra@bigpond.net.au>
1490
1491 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
1492
22b5b651
MS
14932007-02-25 Mark Shinwell <shinwell@codesourcery.com>
1494
1495 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
1496
acb02403
AM
14972007-02-23 Alan Modra <amodra@bigpond.net.au>
1498
1499 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
1500 (md_assemble): Likewise.
1501
e5435dec
AM
15022007-02-22 Alan Modra <amodra@bigpond.net.au>
1503
1504 * write.c (size_seg): Always clear SEC_RELOC here.
1505 (install_reloc): New function, extracted from..
1506 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
1507 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
1508 testing frag size. Set SEC_RELOC here.
1509
a1836728
AM
15102007-02-21 Alan Modra <amodra@bigpond.net.au>
1511
1512 PR 4082
1513 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
1514
f281862d
TS
15152007-02-20 Thiemo Seufer <ths@mips.com>
1516
1517 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
1518
01fd108f
TS
15192007-02-20 Thiemo Seufer <ths@mips.com>
1520
1521 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
1522
8b082fb1
TS
15232007-02-20 Thiemo Seufer <ths@mips.com>
1524 Chao-Ying Fu <fu@mips.com>
1525
1526 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
1527 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
1528 (macro_build): Add case '2'.
1529 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
1530 (validate_mips_insn): Add support for balign instruction.
1531 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
1532 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
1533 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
1534 command line options.
1535 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
1536 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
1537 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
1538 .set dspr2, .set nodspr2.
1539
96e0bbcc
NS
15402007-02-20 Nathan Sidwell <nathan@codesourcery.com>
1541
1542 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
1543 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
1544
d31f0f6d
AM
15452007-02-18 Alan Modra <amodra@bigpond.net.au>
1546
1547 * write.c (TC_FX_SIZE_SLACK): Define.
1548 (write_relocs): Reinstate check for fixup within frag.
1549 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
1550 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
1551 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
1552 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
1553 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
1554
92f01d61
JM
15552007-02-17 Mark Mitchell <mark@codesourcery.com>
1556 Nathan Sidwell <nathan@codesourcery.com>
1557 Vladimir Prus <vladimir@codesourcery.com
1558 Joseph Myers <joseph@codesourcery.com>
1559
1560 * configure.in (--with-bugurl): New option.
1561 * configure: Regenerate.
1562 * dep-in.sed: Remove bin-bugs.h.
1563 * Makefile.am (REPORT_BUGS_TO): Define.
1564 (INCLUDES): Define REPORT_BUGS_TO.
1565 (DEP_INCLUDES): Likewise.
1566 ($(OBJS)): No longer depend on bin-bugs.h.
1567 * Makefile.in: Regenerate.
1568 * doc/Makefile.in: Regenerate.
1569 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
1570 * as.h: Remove include of bin-bugs.h.
1571
b4b24b79
AM
15722007-02-17 Alan Modra <amodra@bigpond.net.au>
1573
1574 * write.c: White space fixes.
1575 (fixup_segment): Move symbol_mri_common_p adjustments..
1576 (write_relocs): ..and symbol_equated_reloc_p adjustments..
1577 (adjust_reloc_syms): ..to here.
1578
e7ff5c73
AM
15792007-02-16 Alan Modra <amodra@bigpond.net.au>
1580
1581 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
1582 xmalloc, memset. Don't bother assigning NULL to known zero mem.
1583 (subseg_set_rest): Remove unnecessary cast.
1584 * write.c: Include libbfd.h. Replace PTR with void * throughout.
1585 Remove unnecessary forward declarations and casts.
1586 (set_symtab): Delete extern bfd_alloc.
1587 (fixup_segment): Move.
1588
a8e24a56
NS
15892007-02-15 Nathan Sidwell <nathan@codesourcery.com>
1590
1591 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
1592 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
1593 (mcf5475_ctrl, mcf5485_ctrl): New.
1594 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
1595 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
1596 (init_table): Add asid, mmubar, adjust rombar0.
1597
4eed87de
AM
15982007-02-14 Alan Modra <amodra@bigpond.net.au>
1599
1600 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
1601 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
1602 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
1603 code, and test for these insns using a combination of
1604 opcode_modifier and operand_types.
1605
7bd1c961
PB
16062007-02-07 Paul Brook <paul@codesourcery.com>
1607
5c817587 1608 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 1609
280d71bf 16102007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1611 Richard Sandiford <rsandifo@redhat.com>
1612 DJ Delorie <dj@redhat.com>
1613 Stan Cox <scox@redhat.com>
1614 Jim Blandy <jimb@redhat.com>
1615 Nick Clifton <nickc@redhat.com>
1616 Jim Wilson <wilson@redhat.com>
1617 Frank Ch. Eigler <fche@redhat.com>
1618 Graydon Hoare <graydon@redhat.com>
1619 Ben Elliston <bje@redhat.com>
1620 John Healy <jhealy@redhat.com>
1621 Richard Henderson <rth@redhat.com>
1622
1623 * Makefile.am (CPU_TYPES): Add mep.
1624 (TARGET_CPU_CFILES): Add tc-mep.c.
1625 (TARGET_CPU_HFILES): Add tc-mep.h.
1626 (DEPTC_mep_elf): New variable.
1627 (DEPTC_mep_coff): Likewise.
1628 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
1629 * configure.in: Support mep.
1630 * configure.tgt: Likewise.
1631 * config/tc-mep.c: New file.
280d71bf
DB
1632 * config/obj-elf.c: New file.
1633 * config/tc-mep.c: New file.
1634 * config/tc-mep.h: New file.
1635 * testsuite/gas/mep: New testsuite with content.
1636 * Makefile.in: Regenerate.
1637 * configure: Regenerate.
1638
16392007-02-05 Dave Brolley <brolley@redhat.com>
1640
1641 * cgen.c (gas_cgen_install_complex_reloc): Removed.
1642 (complex_reloc_installation_howto): Removed.
1643
16442007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1645 Graydon Hoare <graydon@redhat.com>
1646 DJ Delorie <dj@redhat.com>
1647 Catherine Moore <clm@redhat.com>
1648 Michael Chastain <chastain@redhat.com>
1649 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
1650
1651 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
1652 when to use complex relocs. Add signed RELC support.
1653 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
1654 encode expression symbols as mangled complex relocation symbols (when
1655 compiled with -DOBJ_COMPLEX_RELOC).
1656 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
1657 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
1658 encode_addend with new args. Modify to get start, length from
1659 ifield whenever it is set. Also change condition on which
1660 self-describing relocs are encoded. Add hook into
1661 gas_cgen_encode_addend.
1662 (queue_fixup_recursively): Add signed RELC support. Change from masked
1663 expr to trunc flag. Restore assignment of sub-field value to
1664 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 1665 queue_fixup_recursively.
4948f0d4 1666 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
1667 (make_right_shifted_expr): New function.
1668 (queue_fixup): Change to recursive function that fragments
1669 fixups if operand has a multi-ifield.
1670 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
1671 symbols, call weak_operand_overflow_check, and fragment call
1672 queue_fixup with operand fields.
1673 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
1674 (weak_operand_overflow_check): New function to try to select
1675 insns correctly.
4948f0d4 1676 (gas_cgen_encode_addend): New function for relc.
280d71bf 1677 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 1678 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
1679 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
1680 cgen_maybe_multi_ifield field to fx_cgen substructure.
1681 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
1682 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
1683
e110eeb7
DD
16842007-02-03 DJ Delorie <dj@delorie.com>
1685
1686 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
1687 byte relocs.
1688 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
1689 (m32c_cons_fix_new): Prototype.
1690
60242db2
BW
16912007-02-02 Bob Wilson <bob.wilson@acm.org>
1692
1693 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
1694 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
1695
bbdd25a8
BW
16962007-02-02 Bob Wilson <bob.wilson@acm.org>
1697
1698 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
1699 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
1700 (map_suffix_reloc_to_operator): New.
1701 (map_operator_to_reloc): New.
1702 (expression_maybe_register): Fix incorrect test of return value from
1703 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
1704 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
1705
9c874773
BW
17062007-02-02 Bob Wilson <bob.wilson@acm.org>
1707
1708 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
1709 (tinsn_get_tok): Delete prototype.
1710 * config/tc-xtensa.c (tinsn_get_tok): Delete.
1711
61376837
BW
17122007-02-02 Bob Wilson <bob.wilson@acm.org>
1713
1714 * config/xtensa-relax.h (struct build_instr): Delete id field.
1715 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
1716 and LABEL tokens.
1717 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
1718 set op_data fields to zero.
1719 (parse_id_constant): Delete.
1720 (build_transition): Remove code to handle numbered literals and labels.
1721
bc447904
BW
17222007-02-02 Bob Wilson <bob.wilson@acm.org>
1723
1724 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
1725 (build_transition_table): Likewise.
1726
63a7429b
BW
17272007-02-01 Bob Wilson <bob.wilson@acm.org>
1728
1729 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
1730 fx_tcbit.
1731 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
1732
20ee54e8
AM
17332007-02-02 Alan Modra <amodra@bigpond.net.au>
1734
1735 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
1736 (struct fix <fx_plt>): Rename to tcbit2.
1737 * write.c (fix_new_internal): Adjust.
1738 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1739 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1740 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1741 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1742 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1743 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1744 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1745 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1746 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
1747 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
1748 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1749 Instead, compare fx_r_type.
1750 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
1751 fx_tcbit in place of fx_plt.
1752 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
1753 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
1754 to fx_plt.
1755
bf083c64
NC
17562007-01-30 Nick Clifton <nickc@redhat.com>
1757
1758 * as.c (main): Mark symbols created via the --defsym command line
1759 option as volatile so that they can be overridden later on by a
1760 .set directive. This maintains compatibility with the behaviour
1761 of earlier versions of the assembler.
1762 * doc/as.texinfo (--defsym): Document that the defined symbol's
1763 value can be overridden via a .set directive.
1764
fc523535 17652007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
1766
1767 * config/tc-i386.c (swap_imm_operands): Renamed to ...
1768 (swap_2_operands): This. Take 2 ints.
1769 (md_assemble): Updated.
1770 (swap_operands): Call swap_2_operands to swap 2 operands.
1771
7bc4c13c
DD
17722007-01-24 DJ Delorie <dj@redhat.com>
1773
1774 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
1775
48903831
NC
17762007-01-22 Nick Clifton <nickc@redhat.com>
1777
07302d31 1778 PR gas/3871
48903831
NC
1779 * tc-score.c: Remove unnecessary uses of _().
1780 Make the err_msg[] a file level local array in order to save
1781 storage space.
1782 Remove unnecessary sprintf()s.
1783
14119072
ML
17842007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
1785
07302d31 1786 PR gas/3871
14119072
ML
1787 * config/tc-score.c : Using _() for const string.
1788 Do not assign inst.error with a local string pointer.
1789 (md_section_align): Pad section.
1790
99018f42
L
17912007-01-13 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * config/tc-i386.c (build_modrm_byte): Check number of operands
1794 when procssing memory/register operand.
1795
465e5617
NC
17962007-01-12 Nick Clifton <nickc@redhat.com>
1797
1798 PR gas/3856
1799 * macro.c (expand_irp): Do not ignore spaces inside quoted
1800 strings.
1801
e8630bd7
AM
18022007-01-12 Alan Modra <amodra@bigpond.net.au>
1803
1804 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1805 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1806 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1807 (TC_FORCE_RELOCATION): Define.
1808 (TC_FORCE_RELOCATION_LOCAL): Define.
1809 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
1810
1f5409bb
AM
18112007-01-12 Alan Modra <amodra@bigpond.net.au>
1812
1813 * input-file.c (input_file_open): Check fgets return.
1814
dc4503c6
PB
18152007-01-11 Paul Brook <paul@codesourcery.com>
1816
1817 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
1818
04f8d83b
NC
18192007-01-11 Nick Clifton <nickc@redhat.com>
1820
493cb6ef
NC
1821 PR gas/3707
1822 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
1823 variable.
1824
04f8d83b
NC
1825 * config/tc-mcore.c (md_number_to_chars): Use
1826 number_to_chars_{big|little}endian.
1827
3bdcfdf4
KH
18282007-01-08 Kazu Hirata <kazu@codesourcery.com>
1829
1830 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
1831 architecture by itself.
1832 (m68k_ip): Don't issue a warning for tbl instructions on fido.
1833 (m68k_elf_final_processing): Treat Fido as an architecture by
1834 itself.
1835
42037fe5
NC
18362007-01-08 Kai Tietz <kai.tietz@onevision.com>
1837
1838 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
1839
e4a3b5a4
L
18402007-01-05 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
1843 depending on allow_naked_reg.
1844
a028a6f5
PB
18452007-01-04 Paul Brook <paul@codesourcery.com>
1846
1847 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
1848
2ca3ace5
L
18492007-01-04 H.J. Lu <hongjiu.lu@intel.com>
1850
44f9b8ac 1851 PR gas/3830
2ca3ace5
L
1852 * config/tc-i386.c (register_prefix): New.
1853 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 1854 prefix isn't needed.
2ca3ace5
L
1855 (check_byte_reg): Use register_prefix for error message.
1856 (check_long_reg): Likewise.
1857 (check_qword_reg): Likewise.
1858 (check_word_reg): Likewise.
1859
ec4faa47 18602007-01-04 Julian Brown <julian@codesourcery.com>
627907b7
JB
1861
1862 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
1863 (do_neon_qshl_imm): Likewise.
1864 (do_neon_rshl): New function. Handle rounding variants of
1865 v{q}shl-by-register.
1866 (insns): Use do_neon_rshl for vrshl, vqrshl.
1867
92559b5b
PB
18682007-01-04 Paul Brook <paul@codesourcery.com>
1869
1870 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
1871 and vacle.
1872
2ca3ace5
L
18732007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1874
1875 * config/tc-i386.c (swap_operands): Remove branches.
1876
4dc85607
L
18772007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * config/tc-i386.c: Update copyright year.
1880 * config/tc-i386.h: Likewise.
1881
1509aa9a
L
18822007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 * config/tc-i386.c (smallest_imm_type): Return unsigned int
1885 instead of int.
1886
e3bb37b5
L
18872007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 * config/tc-i386.c: Convert to ISO C90 formatting
1890 * config/tc-i386.h: Likewise.
1891
d821e36b
DD
18922007-01-03 David Daney <ddaney@avtrex.com>
1893
1894 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
1895 documentation.
1896
44021fe5 1897For older changes see ChangeLog-2006
08d56133
NC
1898\f
1899Local Variables:
1900mode: change-log
1901left-margin: 8
1902fill-column: 74
1903version-control: never
1904End:
This page took 0.384709 seconds and 4 git commands to generate.