* doc/as.texinfo (Previous): Clarify explanation of the behaviour of this
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
8b040e0a
NC
12007-10-08 Nick Clifton <nickc@redhat.com>
2
3 * doc/as.texinfo (Previous): Clarify explanation of the behaviour
4 of this pseudo-op and add a couple of examples.
5
bd3ba5d1
NC
62007-10-08 Nick Clifton <nickc@redhat.com>
7
8 PR gas/5121 gas/5122 gas/5123
9 * Makefile.am (CFILES): Add cgen.c
10 (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c,
11 tc-tic4x.c and xtensa-relax.c.
12 (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h,
13 tc-tic4x.h and xtensa-relax.h.
14 (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h,
15 te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h,
16 te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
17 (CONFIG_ATOF_CFILES): New variable.
18 (POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with
19 dependency upon TARG_ENV_HFILES.
20 (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into
21 cgen-desc.h when foo-desc.h does not exit.
22 Run make dep-am.
23 * Makefile.in: Regenerate.
24 * doc/Makefile.in: Regenerate.
25 * po/POTFILES.in: Regenerate.
26 PR gas/5124 gas/5125
27 * po/es.po: Regenerate.
28 * po/fr.po: Regenerate.
29 * po/gas.pot: Regenerate.
30 * po/rw.po: Regenerate.
31 * po/tr.po: Regenerate.
32 * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation
33 of error messages.
34 PR gas/5126
35 * config/obj-som.c: Likewise.
36 PR gas/5129
37 * config/tc-arc.c: Likewise.
38 PR gas/5131 gas/5132
39 * config/tc-arm.c: Likewise.
40 PR gas/5137
41 * config/tc-bfin.c: Likewise.
42 PR gas/5143
43 * config/tc-frv.c: Likewise.
44
922f0bac
NC
452007-10-08 Eric B. Weddington <eweddington@cso.atmel.com>
46
47 * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U,
485aa104 48 ATtiny48, AT90PWM216, AT90PWM316.
922f0bac
NC
49 * doc/c-avr.texi: Document new devices.
50
33ffbed9
NC
512007-10-08 Nick Clifton <nickc@redhat.com>
52
4e6e072b 53 PR gas/5133
ff5075ca
NC
54 * config/tc-arm.c (md_apply_fix): Correct error message.
55 PR gas/5134
56 * config/tc-arm.c (md_apply_fix): Likewise.
33ffbed9
NC
57 PR gas/5136
58 * config/tc-bfin.c (md_apply_fix): Fix error message.
df3e8017
NC
59 PR gas/5135
60 (Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
33ffbed9 61
368d64cc
L
622007-10-05 H.J. Lu <hongjiu.lu@intel.com>
63
64 * config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
65 immediate operands directly for instructions with 4 operands.
66
955e1e6a
L
672007-10-04 H.J. Lu <hongjiu.lu@intel.com>
68
69 PR gas/5109
70 * config/tc-i386.c (process_suffix): Clear QWORD suffix if it
71 is ignored in Intel mode.
72
38a57ae7
NC
732007-10-04 Helge Deller <deller@gmx.de>
74
75 * read.c (potable): Add string8, string16, string32 and string64.
76 Add bit size for stringer function.
77 (stringer_append_char): New.
78 (stringer): Use stringer_append_char().
79 * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function.
80 * config/obj-elf.c (obj_elf_ident): Likewise.
81 * config/tc-alpha.c (s_alpha_stringer): Likewise.
82 * config/tc-dlx.c (dlx_pseudo_table): Likewise.
83 * config/tc-hppa.c (pa_stringer): Likewise.
84 * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise.
85 * config/tc-m68hc11.c (md_pseudo_table): Likewise.
86 * config/tc-mcore.c (md_pseudo_table): Likewise.
87 * config/tc-mips.c (mips_pseudo_table): Likewise.
88 * config/tc-spu.c (md_pseudo_table): Likewise.
89 * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'.
90 * doc/as.texinfo (ABORT): Fix identing.
91 (String): Document new string8, string16, string32, string64
92 functions.
93 * NEWS: Mention the new feature.
94
6decc662
NC
952007-10-03 Nick Clifton <nickc@redhat.com>
96
73f4d86e
NC
97 PR gas/5078
98 * config/tc-avr.c (avr_get_constant): Extend error message to
99 mention that the constant must be positive.
100
1012007-10-03 Nick Clifton <nickc@redhat.com>
102
103 * config/tc-avr.c (avr_get_constant):
6decc662
NC
104 PR gas/5089
105 * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
106 PR gas/5090
107 (md_assemble): Fix spelling typo.
108
df98fa7d
AM
1092007-10-03 Alan Modra <amodra@bigpond.net.au>
110
111 PR 4303
112 * stabs.c (aout_process_stab): Set BSF_DEBUGGING.
113
7fac7ff4
NC
1142007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
115
116 * config/tc-cr16.c: Replaced 'tabs' with white spaces and
117 added R_CR16_DISP8 as default reloc type for b<cc> instructions.
118
07e8d93c
L
1192007-09-30 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR gas/5080
122 * config/tc-i386.c (check_long_reg): Also handle cvttss2si.
123 (check_qword_reg): Also handle cvttsd2si.
124
d0fa1372
KH
1252007-09-27 Kazu Hirata <kazu@codesourcery.com>
126
127 * config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
128 (last_movec_reg): Change to MBO.
129 * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
130 (m68k_ip): Use MBO instead of MBO.
131 (init_table): Use MBO instead of MBO. Add an entry for mbo.
132
9a04903e
JB
1332007-09-26 Jan Beulich <jbeulich@novell.com>
134
135 * config/tc-i386.c (build_modrm_byte): Also check for RegEip
136 when considering IP-relative addressing.
137
5a918ce7
JB
1382007-09-26 Jan Beulich <jbeulich@novell.com>
139
140 * config/tc-i386.h (md_register_arithmetic): Define.
141 * config/tc-ia64.h (md_register_arithmetic): Likewise.
142 * doc/internals.texi: Document md_register_arithmetic.
143 * expr.c (make_expr_symbol): Force O_register expressions into
144 reg_section.
145 (expr): Provide default for md_register_arithmetic. Don't resolve
146 adding/subtracting constants to/from registers if
147 md_register_arithmetic is zero.
148
0a7b15ff
JB
1492007-09-26 Jan Beulich <jbeulich@novell.com>
150
151 * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP.
152 (cfi_finish): Add second empty instance.
153
cc941dee
JB
1542007-09-26 Jan Beulich <jbeulich@novell.com>
155
156 * config/tc-ia64.c (dot_pred_rel): Replace specialized handling
157 with simple call to parse_operand.
158
c15900ec
JB
1592007-09-26 Jan Beulich <jbeulich@novell.com>
160
161 * config/tc-i386.c (NUM_FLAG_CODE): Remove.
162
732f54cd
JB
1632007-09-26 Jan Beulich <jbeulich@novell.com>
164
165 * as.c (itbl_parse): Remove #define.
166 (struct itbl_file_list): Move down and ...
167 (itbl_files): .. conditionalize upon HAVE_ITBL_CPU.
168 (show_usage): Conditionalize printing of --itbl option upon
169 HAVE_ITBL_CPU.
170 (parse_args): Conditionalize handling of -t/--itbl options upon
171 HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with
172 't'.
173
4dffcebc
L
1742007-09-25 H.J. Lu <hongjiu.lu@intel.com>
175
176 * config/tc-i386.c (output_insn): Use i.tm.opcode_length to
177 check opcode length.
178
cac27205
NC
1792007-09-25 Nathan Sidwell <nathan@codesourcery.com>
180
181 * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
182 (BRANCHBWPL, FRAG_VAR_SIZE): New.
183 (md_relax_table): Add BRANCHBWPL entries.
184 (m68k_ip): Choose BRANCHBWPL relaxation if necessary.
185 (md_assemble): Use FRAG_VAR_SIZE.
186 (md_convert_frag_1): Add BRANCHBWPL cases.
187 (md_estimate_size_before_relaz): Likewise.
188
49954fb4
CD
1892007-09-24 Carlos O'Donell <carlos@codesourcery.com>
190
191 * config/tc-mips.c (s_align): Set max_alignment to 28.
192
db51cc60
L
1932007-09-20 H.J. Lu <hongjiu.lu@intel.com>
194
195 PR 658
196 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
197 (set_allow_index_reg): New.
198 (allow_index_reg): Likewise.
199 (md_pseudo_table): Add "allow_index_reg" and
200 "disallow_index_reg".
201 (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
202 fake index registers.
203 (i386_scale): Updated.
204 (i386_index_check): Support fake index registers.
205 (parse_real_register): Return NULL on eiz/riz if fake index
206 registers aren't allowed.
207
217fe99f
NC
2082007-09-19 Nick Clifton <nickc@redhat.com>
209
210 * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
211 fixups.
212
e055a931
BW
2132007-09-19 Bob Wilson <bob.wilson@acm.org>
214
215 * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
216
d908d8f4
BS
2172007-09-18 Bernd Schmidt <bernd.schmidt@analog.com>
218
219 * config/bfin-parse.y (asm_1): Slightly improve error messages
220 for "reg += const;".
221
b6ac5419
AM
2222007-09-18 Alan Modra <amodra@bigpond.net.au>
223
224 PR gas/5026
225 * read.c (emit_expr): Only use long long if required and available.
226
20e192ab
L
2272007-09-17 H.J. Lu <hongjiu.lu@intel.com>
228
229 * config/tc-i386.c (baseindex): Removed.
230 (build_modrm_byte): Check reg_num for RIP register instead of
231 reg_type.
232 (i386_index_check): Likewise.
233
1a36c6a7
L
2342007-09-17 H.J. Lu <hongjiu.lu@intel.com>
235
236 PR gas/5035
237 * config/obj-coff.c (obj_coff_endef): Remove checking size of
238 def_symbol_in_progress.
239
5c612369
NC
2402007-09-17 Evandro Menezes <evandro@yahoo.com>
241
242 PR gas/5026
243 * read.c (emit_expr): Use unsigned long long values in warning
244 message about truncated expressions.
245
916af048
L
2462007-09-17 H.J. Lu <hongjiu.lu@intel.com>
247
248 * config/tc-i386.c (intel_e04): Revert the last change.
249
7f396d02
NC
2502007-09-17 Nick Clifton <nickc@redhat.com>
251
252 * po/es.po: Updated Spanish translation.
253
27ac7208
L
2542007-09-15 H.J. Lu <hongjiu.lu@intel.com>
255
256 PR gas/5034
257 * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is
258 T_NIL.
259
8ed77a05
L
2602007-09-14 H.J. Lu <hongjiu.lu@intel.com>
261
262 * config/tc-i386.c (build_modrm_byte): Adjust comment line
263 wrap.
264
b5016f89
L
2652007-09-14 H.J. Lu <hongjiu.lu@intel.com>
266
267 * config/tc-i386.c (build_modrm_byte): Use (A || B) instead
268 of (A || B) != 0.
269
c0209578
L
2702007-09-14 H.J. Lu <hongjiu.lu@intel.com>
271
272 * config/tc-i386.c (build_modrm_byte): Adjust indentation.
273
f033ec5c 2742007-09-14 Michael Meissner <michael.meissner@amd.com>
85f10a01
MM
275 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
276 Tony Linthicum <tony.linthicum@amd.com>
277
278 * NEWS: Add SSE5 support to NEWS file.
279
280 * config/tc-i386.h (drex_byte): Add fields to allow process_drex
281 and build_modrm_byte to communicate.
282 (DREX_OC0): New SSE5 macro.
283 (DREX_OC0_MASK): Ditto.
284 (DREX_OC1): Ditto.
285 (DREX_OC1_MASK): Ditto.
286 (DREX_XMEM_X1_X2_X2): Ditto.
287 (DREX_X1_XMEM_X2_X2): Ditto.
288 (DREX_X1_XMEM_X2_X1: Ditto.
289 (DREX_X1_X2_XMEM_X1: Ditto.
290 (DREX_XMEM_X1_X2): Ditto.
291 (DREX_X1_XMEM_X2): Ditto.
292 (drex_byte): New structure to describe the DREX byte.
293
294 * config/tc-i386.c (process_drex): New function to handle SSE5
295 DREX bits.
296 (build_modrm_byte): Use the information cached away in
297 process_drex in the case of DREX instructions.
298 (i386_insn): Add drex field.
299 (pi): Add debugging of drex field.
300 (md_assemble): Treat SSE5 like SSE3 in instructions with an
301 immediate byte. Move REX field to DREX if this is a DREX
302 instruction.
303 (process_operands): Add SSE5 support.
304 (build_modrm_byte): Ditto.
305 (output_insn): Ditto.
306 (cpu_arch): Ditto.
307 (i386_align_code): Ditto.
308
ec56d5c0
JB
3092007-09-12 Jan Beulich <jbeulich@novell.com>
310
311 * config/tc-i386.c (md_assemble): Move handling of extrq/insertq
312 after generic operand swapping, and swap only the immediate operands.
313
8d100c32
KH
3142007-09-11 Nathan Sidwell <nathan@codesourcery.com>
315
316 * config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
317 (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.
318
cf557b51
L
3192007-09-09 H.J. Lu <hongjiu.lu@intel.com>
320
321 * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
322 byte opcode.
323
c6fb90c8
L
3242007-09-08 H.J. Lu <hongjiu.lu@intel.com>
325
326 * config/tc-i386.c (cpu_flags_check_x64): Renamed to ...
327 (cpu_flags_check_cpu64): This. Inline.
328 (uints_all_zero): New.
329 (uints_set): Likewise
330 (uints_equal): Likewise
331 (UINTS_ALL_ZERO): Likewise
332 (UINTS_SET): Likewise
333 (UINTS_CLEAR): Likewise
334 (UINTS_EQUAL): Likewise
335 (cpu_flags_and): Likewise.
336 (cpu_flags_or): Likewise.
337 (operand_type_and): Likewise.
338 (operand_type_or): Likewise.
339 (operand_type_xor): Likewise.
340 (cpu_flags_not): Inline and use switch instead of loop.
341 (cpu_flags_match): Updated.
342 (operand_type_match): Likewise.
343 (smallest_imm_type): Likewise.
344 (set_cpu_arch): Likewise.
345 (pt): Likewise.
346 (md_assemble): Likewise.
347 (parse_insn): Likewise.
348 (optimize_imm): Likewise.
349 (match_template): Likewise.
350 (process_suffix): Likewise.
351 (update_imm): Likewise.
352 (finalize_imm): Likewise.
353 (process_operands): Likewise.
354 (build_modrm_byte): Likewise.
355 (i386_immediate): Likewise.
356 (i386_displacement): Likewise.
357 (i386_index_check): Likewise.
358 (i386_operand): Likewise.
359 (i386_target_format): Likewise.
360 (intel_e11): Likewise.
361 (operand_type): Remove implicitregister.
362 (operand_type_check): Updated. Inline.
363 (cpu_flags_all_zero): Removed.
364 (operand_type_all_zero): Likewise.
365 (i386_array_biop): Likewise.
366 (cpu_flags_biop): Likewise.
367 (operand_type_biop): Likewise.
368
33169993
L
3692007-09-08 H.J. Lu <hongjiu.lu@intel.com>
370
371 * Makefile.am: Run "make dep-am".
372 * Makefile.in: Regenerate.
373
40fb9820
L
3742007-09-08 H.J. Lu <hongjiu.lu@intel.com>
375
376 * configure.in (AC_CHECK_HEADERS): Add limits.h.
377 * configure: Regenerated.
378 * config.in: Likewise.
379
380 * config/tc-i386.c: Include "opcodes/i386-init.h".
381 (_i386_insn): Use i386_operand_type for types.
382 (cpu_arch_flags): Updated to new types with bitfield.
383 (cpu_arch_tune_flags): Likewise.
384 (cpu_arch_isa_flags): Likewise.
385 (cpu_arch): Likewise.
386 (i386_align_code): Likewise.
387 (set_code_flag): Likewise.
388 (set_16bit_gcc_code_flag): Likewise.
389 (set_cpu_arch): Likewise.
390 (md_assemble): Likewise.
391 (parse_insn): Likewise.
392 (process_operands): Likewise.
393 (output_branch): Likewise.
394 (output_jump): Likewise.
395 (parse_real_register): Likewise.
396 (mode_from_disp_size): Likewise.
397 (smallest_imm_type): Likewise.
398 (pi): Likewise.
399 (type_names): Likewise.
400 (pt): Likewise.
401 (pte): Likewise.
402 (swap_2_operands): Likewise.
403 (optimize_imm): Likewise.
404 (optimize_disp): Likewise.
405 (match_template): Likewise.
406 (check_string): Likewise.
407 (process_suffix): Likewise.
408 (check_byte_reg): Likewise.
409 (check_long_reg): Likewise.
410 (check_qword_reg): Likewise.
411 (check_word_reg): Likewise.
412 (finalize_imm): Likewise.
413 (build_modrm_byte): Likewise.
414 (output_insn): Likewise.
415 (disp_size): Likewise.
416 (imm_size): Likewise.
417 (output_disp): Likewise.
418 (output_imm): Likewise.
419 (gotrel): Likewise.
420 (i386_immediate): Likewise.
421 (i386_displacement): Likewise.
422 (i386_index_check): Likewise.
423 (i386_operand): Likewise.
424 (parse_real_register): Likewise.
425 (i386_intel_operand): Likewise.
426 (intel_e09): Likewise.
427 (intel_bracket_expr): Likewise.
428 (intel_e11): Likewise.
429 (cpu_arch_flags_not): New.
430 (cpu_flags_check_x64): Likewise.
431 (cpu_flags_all_zero): Likewise.
432 (cpu_flags_not): Likewise.
433 (i386_cpu_flags_biop): Likewise.
434 (cpu_flags_biop): Likewise.
435 (cpu_flags_match); Likewise.
436 (acc32): New.
437 (acc64): Likewise.
438 (control): Likewise.
439 (reg16_inoutportreg): Likewise.
440 (disp16): Likewise.
441 (disp32): Likewise.
442 (disp32s): Likewise.
443 (disp16_32): Likewise.
444 (anydisp): Likewise.
445 (baseindex): Likewise.
446 (regxmm): Likewise.
447 (imm8): Likewise.
448 (imm8s): Likewise.
449 (imm16): Likewise.
450 (imm32): Likewise.
451 (imm32s): Likewise.
452 (imm64): Likewise.
453 (imm16_32): Likewise.
454 (imm16_32s): Likewise.
455 (imm16_32_32s): Likewise.
456 (operand_type): Likewise.
457 (operand_type_check): Likewise.
458 (operand_type_match): Likewise.
459 (operand_type_register_match): Likewise.
460 (update_imm): Likewise.
461 (set_code_flag): Also update cpu_arch_flags_not.
462 (set_16bit_gcc_code_flag): Likewise.
463 (md_begin): Likewise.
464 (parse_insn): Use cpu_flags_check_x64 to check 64bit support.
465 Use cpu_flags_match to match instructions.
466 (i386_target_format): Update cpu_arch_isa_flags and
467 cpu_arch_tune_flags to i386_cpu_flags type with bitfield.
468 (smallest_imm_type): Check cpu_arch_tune to tune for i486.
469 (match_template): Don't initialize overlap0, overlap1,
470 overlap2, overlap3 and operand_types.
471 (process_suffix): Handle crc32 with 64bit register.
472 (MATCH): Removed.
473 (CONSISTENT_REGISTER_MATCH): Likewise.
474
475 * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags
476 type.
477
26186d74
L
4782007-09-06 H.J. Lu <hongjiu.lu@intel.com>
479
480 * config/tc-i386.c (match_template): Handle invlpga, vmload,
481 vmrun and vmsave in SVME.
482 (process_suffix): Likewise.
483
d946b91f
L
4842007-09-05 H.J. Lu <hongjiu.lu@intel.com>
485
486 * config/tc-i386.c (i386_index_check): Don't use RegRex
487 on the reg_type field.
488 (parse_real_register): Use `||' instead of `|'.
489
75178d9d
L
4902007-09-04 H.J. Lu <hongjiu.lu@intel.com>
491
492 * config/tc-i386.c (process_operands): Remove segment override
493 check on SVME instructions.
8aa20f82 494 (i386_index_check): Remove memory operand check on SVME
75178d9d
L
495 instructions.
496
7bc3e93c
AM
4972007-09-04 Alan Modra <amodra@bigpond.net.au>
498
499 * config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc".
500 (md_assemble): Update init of insn. Use insn.reloc instead of
501 calculating from flag.
502 (get_imm): Set reloc rather than flag.
503 (calcop): Formatting.
504
851feff8
DJ
5052007-08-29 Daniel Jacobowitz <dan@codesourcery.com>
506
507 * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.
508
ec744b67
DJ
5092007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
510
511 * doc/c-arc.texi: Fix typo.
512
d9a5e5e5
L
5132007-08-28 H.J. Lu <hongjiu.lu@intel.com>
514
515 * config/tc-i386.c (process_suffix): Handle cmpxchg8b in
516 Intel mode.
517
def8fc92
KH
5182007-08-28 Nathan Sidwell <nathan@codesourcery.com>
519
520 * config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
521 (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2.
522 (mcf5407_ctrl): New.
523 (m68k_cpus): Adjust 5407 entry.
524
f75192f2
KH
5252007-08-28 Maxim Kuvyrkov <maxim@codesourcery.com>
526
527 * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
528 (m68k_cpus): Define 51QE cpu.
529
7f6a71ff 5302007-08-28 Mark Shinwell <shinwell@codesourcery.com>
d9a5e5e5 531 Joseph Myers <joseph@codesourcery.com>
7f6a71ff
JM
532
533 * as.c (main): Flush stderr before printing listings to ensure
534 consistent output order across platforms.
535
0b3e17e9
NC
5362007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
537
538 * configure.tgt: Add support for i[3-7]86-*-dragonfly*.
539
3d6b762c 5402007-08-24 Joseph Myers <joseph@codesourcery.com>
d9a5e5e5 541 Paul Brook <paul@codesourcery.com>
3d6b762c
JM
542
543 * remap.c: New.
544 * as.h (remap_debug_filename, add_debug_prefix_map): Declare.
545 * as.c (show_usage): Document --debug-prefix-map option.
546 (parse_args): Handle --debug-prefix-map.
547 * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
548 * stabs.c (stabs_generate_asm_file): Remap debug paths.
549 * Makefile.am (GAS_CFILES): Add remap.c
550 (GENERIC_OBJS): Add remap.o.
551 Regenerate dependencies.
552 * Makefile.in: Regenerate.
553 * doc/as.texinfo (--debug-prefix-map): Document.
554
495bde8e
DJ
5552007-08-24 Aurelien Jarno <aurel32@debian.org>
556
557 * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
558 before printing them.
559
67c11a9b
AM
5602007-08-24 Anders Waldenborg <anders@0x63.nu>
561 Alan Modra <amodra@bigpond.net.au>
562
563 * config/tc-i386.c (lex_got): Don't scan past a comma.
564
c3d65c1c
BE
5652007-08-23 Ben Elliston <bje@au.ibm.com>
566
567 * config/tc-ppc.c (parse_cpu): Handle "750cl".
568 (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
569 (md_show_usage): Document -m750cl.
570 (md_assemble): Handle two delimiters in succession (eg. `),').
571 * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
572 * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
573 * testsuite/gas/ppc/ppc750ps.s: New file.
574 * testsuite/gas/ppc/ppc750ps.d: Likewise.
575
f467aa98
BE
5762007-08-23 Ben Elliston <bje@au.ibm.com>
577
578 * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
579
3992d3b7
AM
5802007-08-17 Alan Modra <amodra@bigpond.net.au>
581
582 PR gas/4079
583 * config/tc-i386.c (x86_cons): Complain about invalid @got etc.
584 expressions.
585 (i386_immediate): Detect and complain about more cases of
586 invalid immediate expressions. Return failure rather than
587 converting them to zero.
588 (i386_displacement): Likewise.
589
e9f27433
AM
5902007-08-17 Alan Modra <amodra@bigpond.net.au>
591
592 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
593
cf738528
AS
5942007-08-14 Andreas Schwab <schwab@suse.de>
595
596 * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
597 unrepresentable.
598
9975e4c4
DJ
5992007-08-12 Matthias Klose <doko@ubuntu.com>
600
601 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
602 $(top_srcdir)/../../bfd/doc.
603 * doc/Makefile.in: Regenerate.
604
7c3d153f
NC
6052007-08-10 Nick Clifton <nickc@redhat.com>
606
607 * NEWS: Add a marker for the 2.18 features.
608
4396b686
PB
6092007-08-09 Paul Brook <paul@codesourcery.com>
610
611 * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.
612
c3ad16c0
L
6132007-08-09 H.J. Lu <hongjiu.lu@intel.com>
614
615 * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.
616
34828aad
L
6172007-07-29 H.J. Lu <hongjiu.lu@intel.com>
618
619 * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
620 DWORD memory to Reg64 in Intel synax.
621 (check_qword_reg): Allow cvtsd2si to convert QWORD memory to
622 Reg32 in Intel syntax.
623
d12f9798
BW
6242007-07-25 Sterling Augustine <sterling@tensilica.com>
625
626 * config/tc-xtensa.c (xtensa_extui_opcode): New.
627 (xg_expand_assembly_insn): Check for invalid extui operands.
628 (md_begin): Initialize xtensa_extui_opcode.
629
9ce0cf56
NC
6302007-07-24 Nick Clifton <nickc@redhat.com>
631
632 * config/tc-mep.h (skip_whitespace): Remove definition.
633
76bc74dc
L
6342007-07-23 H.J. Lu <hongjiu.lu@intel.com>
635
636 * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
637 (f32_15): Removed.
638 (jump_31): New.
639 (f32_patt): Remove f32_15.
640 (f16_patt): Likewise.
641 (i386_align_code): Updated to alt_long_patt for 64bit by
642 default.
643
644 * config/tc-i386.h (processor_type): Add PROCESSOR_I386.
645
6462007-07-23 Evandro Menezes <evandro.menezes@amd.com>
647
648 * config/tc-i386.c (i386_align_code): Enable alignment up to
649 MAX_MEM_FOR_RS_ALIGN_CODE bytes. Remove special treatment
650 for K8.
651
e6529493
L
652 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31.
653
fc5910c0
NC
6542007-07-20 Nick Clifton <nickc@redhat.com>
655
656 * app.c (do_scrub_chars): Provide a one character buffer to hold a
657 pushed back newline at the end of an unterminated quoted string.
658
d929913e
NC
6592007-07-14 Nick Clifton <nickc@redhat.com>
660
661 * config/tc-arm.c (create_register_alias): Return a boolean rather
662 than an integer.
663 Check the return value of insert_reg_alias and do not continue to
664 create aliases once an insertion has failed.
665 (s_unreq): Delete the all-upper-case and all-lower-case
666 alternatives as well.
667
d2df793a
NC
6682007-07-12 Kai Tietz <kai.tietz@onevision.com>
669
670 * symbols.c: Print bfd_hostptr_t to file via fprintf_vma.
671 * write.c: Likewise.
672
369943fe
DJ
6732007-07-11 Daniel Jacobowitz <dan@codesourcery.com>
674
675 * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
676 HAVE_64BIT_SYMBOLS.
677
0fdf1951
RS
6782007-07-04 Richard Sandiford <richard@codesourcery.com>
679
680 * config/tc-mips.c (mips_cpu_info_table): Add new entries for
681 {24k,24ke,34k,74k}f{2_1,1_1,x}. Also add an entry for 74kf3_2.
682 Deprecate *x and *fx.
683 * doc/c-mips.texi: Document the new CPU arguments. Deprecate
684 *x and *fx.
685
872ce6ff
L
6862007-07-04 H.J. Lu <hongjiu.lu@intel.com>
687
688 * config/obj-coff.h (x86_64_target_format): Renamed to ...
689 (i386_target_format): This
690 (TARGET_FORMAT): Use i386_target_format.
691
692 * config/tc-i386.c (x86_64_target_format): Removed.
693 (i386_target_format): Handle PE formats.
694
1a412f5f
NC
6952007-07-04 Nick Clifton <nickc@redhat.com>
696
697 * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order
698 to get the right length of printed value.
699
ec2655a6
NC
7002007-07-03 Nick Clifton <nickc@redhat.com>
701
702 * COPYING: Replace with GPLv3 text.
703 * app.c: Update copyright notice to refer to GPLv3.
704 * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h,
705 cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h,
706 dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h,
707 emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h,
708 flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c,
709 input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c,
710 itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c,
711 macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c,
712 read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h,
713 symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h,
714 config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h,
715 config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y,
716 config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y,
717 config/obj-aout.c, config/obj-aout.h, config/obj-coff.c,
718 config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h,
719 config/obj-elf.c, config/obj-elf.h, config/obj-evax.c,
720 config/obj-evax.h, config/obj-multi.h, config/obj-som.c,
721 config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h,
722 config/tc-arc.c, config/tc-arc.h, config/tc-arm.c,
723 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
724 config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c,
725 config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h,
726 config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c,
727 config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
728 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c,
729 config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h,
730 config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c,
731 config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h,
732 config/tc-i370.c, config/tc-i370.h, config/tc-i386.c,
733 config/tc-i386.h, config/tc-i860.c, config/tc-i860.h,
734 config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c,
735 config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h,
736 config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c,
737 config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h,
738 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
739 config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h,
740 config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c,
741 config/tc-mep.h, config/tc-mips.c, config/tc-mips.h,
742 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
743 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
744 config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c,
745 config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h,
746 config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c,
747 config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h,
748 config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h,
749 config/tc-s390.c, config/tc-s390.h, config/tc-score.c,
750 config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h,
751 config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c,
752 config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
753 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
754 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
755 config/tc-v850.c, config/tc-v850.h, config/tc-vax.c,
756 config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h,
757 config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c,
758 config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h,
759 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
760 config/te-freebsd.h, config/te-hppa.h, config/te-irix.h,
761 config/te-netware.h, config/te-sparcaout.h, config/te-tmips.h,
762 config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h,
763 config/xtensa-relax.c, config/xtensa-relax.h: Likewise.
764
765 * flonum-mult.c: Likewise, and also correct typo referring to
766 non-existant GNU Assembler General Public License.
767 * config/tc-m68851.h: Likewise.
768 * NEWS: Mention the new license. Also note where the 2.17 release
769 happened.
770 * config/e-crisaout.c: Add copyright header.
771 * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c,
772 config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c,
773 config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h,
774 config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h,
775 config/te-generic.h, config/te-gnu.h, config/te-go32.h,
776 config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h,
777 config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h,
778 config/te-linux.h, config/te-lnews.h, config/te-lynx.h,
779 config/te-mach.h, config/te-macos.h, config/te-nbsd532.h,
780 config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h,
781 config/te-pep.h, config/te-psos.h, config/te-riscix.h,
782 config/te-sun3.h, config/te-svr4.h, config/te-symbian.h,
783 config/te-wince-pe.h: Likewise.
784
afa2158f
NS
7852007-07-03 Nathan Sidwell <nathan@codesourcery.com>
786
787 * config/tc-m68k.c (m68k_ip): Add j & K operand types.
788 (install_operand): Add E encoding.
789 (md_begin): Check and skip initial '.' arg character.
790 (get_num): Add 0..511 case.
791
ae4a729b
AM
7922007-07-03 Alan Modra <amodra@bigpond.net.au>
793
794 PR 4713
795 * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
796 * config/obj-elf.h (obj_ecoff_set_ext): Comment.
797
df816087
AM
7982007-07-03 Mikkel Lauritsen <renard@nospam.dk>
799
800 PR 4722
801 * app.c (do_scrub_chars <state 5>): Check for output buffer full
802 after memcpy.
803
741d6ea8
JM
8042007-07-02 Joseph Myers <joseph@codesourcery.com>
805
806 * config/tc-mips.c (s_dtprelword, s_dtpreldword,
807 s_dtprel_internal): New.
808 (mips_pseudo_table): Add .dtprelword and .dtpreldword.
809 (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and
810 BFD_RELOC_MIPS_TLS_DTPREL64.
811
ae351704
AM
8122007-07-02 Alan Modra <amodra@bigpond.net.au>
813
814 * Makefile.am: Run "make dep-am".
815 * Makefile.in: Regenerate.
816 * aclocal.m4: Regenerate.
817 * config.in: Regenerate.
818 * doc/Makefile.in: Regenerate.
819 * po/POTFILES.in: Regenerate.
820 * po/gas.pot: Regenerate.
821
8d452c78
AM
8222007-07-02 Alan Modra <amodra@bigpond.net.au>
823
824 * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
825 coff section flag values to bfd section flag.
826
86b57e31
L
8272007-06-30 H.J. Lu <hongjiu.lu@intel.com>
828
829 * aclocal.m4: Regenerated.
830 * doc/Makefile.in: Likewise.
831 * Makefile.in: Likewise.
832
7ace4e4c
JM
8332007-06-29 Joseph Myers <joseph@codesourcery.com>
834
835 * as.c (main): Only call create_obj_attrs_section if IS_ELF.
836
104d59d1
JM
8372007-06-29 Joseph Myers <joseph@codesourcery.com>
838
839 * as.c (create_obj_attrs_section): New.
840 (main): Call create_obj_attrs_section for ELF.
841 * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
842 skip_past_comma, s_vendor_attribute): New.
843 (potable): Add gnu_attribute for ELF.
844 * read.h (s_vendor_attribute): Declare.
845 * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
846 round s_vendor_attribute.
847 (aeabi_set_public_attributes): Update for new attributes
848 interfaces.
849 (arm_md_end): Remove attributes contents setting now done
850 generically.
851
3d3d428f
NC
8522007-06-29 M R Swami Reddy <MR.Swami.Redd@nsc.com>
853
854 * Makefile.am: Add CR16 related entry.
855 * Makefile.in: Regenerate.
856 * config/tc-cr16.h: New file
857 * config/tc-cr16.c: New file
858 * doc/c-cr16.texi: New file for cr16
859 * doc/all.texi: Entry for cr16
860 * doc/Makefile.am: Added c-cr16.texi
861 * doc/Makefile.in: Regenerate
862 * doc/as.texinfo: Entry for CR16 target
863 * NEWS: Announce the support for the new target.
864
cd2cf30b
PB
8652007-06-26 Paul Brook <paul@codesourcery.com>
866
867 * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
868 for OP_RVC.
869 (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
870
5f15756d
L
8712007-06-25 H.J. Lu <hongjiu.lu@intel.com>
872
873 * config/tc-i386.c (process_operands): Replace regKludge
874 with RegKludge.
875
b314ec0e
RS
8762007-06-25 Richard Sandiford <richard@codesourcery.com>
877
878 * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
879 * config/tc-mips.c (append_insn): Record which symbols have
880 R_MIPS16_26 relocations against them.
881 (mips_fix_adjustable): Don't reduce relocations against such symbols.
882
b81bf389
BW
8832007-06-22 Sterling Augustine <sterling@tensilica.com>
884
885 * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
886 (frag_format_size): Handle RELAX_IMMED_STEP3.
887 (xtensa_relax_frag, md_convert_frag): Likewise.
888 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
889 (RELAX_IMMED_MAXSTEPS): Adjust.
890 * config/xtensa-relax.c (widen_spec_list): Add transitions from
891 wide branches to branch-over-jumps.
892 (build_transition): Handle wide branches in transition patterns.
893
e205caa7
L
8942007-06-22 H.J. Lu <hongjiu.lu@intel.com>
895
896 * config/tc-i386.c (disp_size): New.
897 (imm_size): Likewise.
898 (output_disp): Use disp_size and imm_size.
899 (output_imm): Use imm_size.
900
c48aaca0
BW
9012007-06-19 Sterling Augustine <sterling@tensilica.com>
902
903 * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
904 use of literal_frag field.
905 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
906 in the literal_frag field.
907 (xtensa_move_literals): Use it here instead of searching. Update
908 literal_frag field with new value.
909
728ca7c9
PB
9102007-06-14 Paul Brook <paul@codesourcery.com>
911
912 * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
913 narrow shift by immediate.
914
79887925
L
9152007-06-14 H.J. Lu <hongjiu.lu@intel.com>
916
917 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
918
919 * acinclude.m4: Don't include m4 files.
920 (BFD_BINARY_FOPEN): Removed.
921 Remove libtool kludge.
922
923 * Makefile.in: Regenerated.
924 * doc/Makefile.in: Likewise.
925 * aclocal.m4: Likewise.
926 * configure: Likewise.
927
99ded152
BW
9282007-06-11 Sterling Augustine <sterling@tensilica.com>
929 Bob Wilson <bob.wilson@acm.org>
930
931 * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
932 (XTENSA_PROP_NO_TRANSFORM): ...this.
933 (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
934 (xtensa_mark_frags_for_org): New.
935 (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
936 (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
937 (get_frag_property_flags): Adjust reference to is_no_transform flag.
938 (xtensa_frag_flags_combinable): Likewise.
939 (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM.
940 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
941
dce323d1
PB
9422007-06-06 Paul Brook <paul@codesourcery.com>
943
944 * config/tc-arm.c (s_align): Pad code sections appropriately.
945
79d49516
PB
9462007-06-05 Paul Brook <paul@codesourcery.com>
947
948 * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
949
dfeb0666
NC
9502007-06-05 Nick Clifton <nickc@redhat.com>
951
952 PR gas/4587
953 * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
954
353ab861
AM
9552007-06-05 Alan Modra <amodra@bigpond.net.au>
956
957 * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
958 number@ppu.
959 (tc_gen_reloc): Abort if neither addsy or subsy is set.
960 (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
961 * config/tc-spu.h (md_operand): Handle @ppu without sym.
962
91568d08
PB
9632007-05-31 Paul Brook <paul@codesourcery.com>
964
965 * config/tc-arm.c (insns): Allow strex on M profile cores.
966
c699f087
JJ
9672007-05-29 David S. Miller <davem@davemloft.net>
968 Jakub Jelinek <jakub@redhat.com>
969
970 PR gas/4558
971 * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
972 for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
973
945370aa
AM
9742007-05-29 Alan Modra <amodra@bigpond.net.au>
975
976 * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
977
98027b10
AM
9782007-05-29 Alan Modra <amodra@bigpond.net.au>
979
980 * config/tc-ppc.c: Convert to ISO C.
981 * config/tc-ppc.c: Likewise.
982
a32b816e
AM
9832007-05-29 Alan Modra <amodra@bigpond.net.au>
984
985 * write.h (EXEC_MACHINE_TYPE): Delete.
986 (string_byte_count, section_alignment): Delete.
987
1740b7b1
NS
9882007-05-28 Nathan Sidwell <nathan@codesourcery.com>
989
990 * app.c (do_scrub_chars): Cope with \ at end of buffer.
991
a1867a27
AM
9922007-05-26 Alan Modra <amodra@bigpond.net.au>
993
994 * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
995 top 32 bits of 64 bit value if so doing results in passing
996 range check. Rewrite sign extension fudges similarly. Enable
997 fudges for powerpc64 too. Report user value if range check
998 fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE
999 range rather than value, also to report user value on failure.
1000
efd81785
PB
10012007-03-25 Paul Brook <paul@codesourcery.com>
1002
1003 * config/tc-arm.c (T2_SUBS_PC_LR): Define.
1004 (do_t_add_sub): Correctly encode subs pc, lr, #const.
1005 (do_t_mov_cmp): Correctly encode movs pc, lr.
1006
37ad9514
SE
10072007-05-24 Steve Ellcey <sje@cup.hp.com>
1008
1009 * Makefile.in: Regnerate.
1010 * configure: Regenerate.
1011 * aclocal.m4: Regenerate.
1012 * doc/Makefile.in: Regenerate.
1013
4c8d1ad4
BW
10142007-05-22 Bob Wilson <bob.wilson@acm.org>
1015
1016 * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
1017 and index entries about automatic alignment of ENTRY instructions.
1018
0e9517a9
NC
10192007-05-22 Nick Clifton <nickc@redhat.com>
1020
1021 * doc/as.texinfo: Use @copying around the copyright notice.
1022
e6559e01
JM
10232007-05-18 Joseph Myers <joseph@codesourcery.com>
1024
1025 * config/tc-mips.c (s_mipsset): Use generic s_set for directives
1026 containing a comma.
1027
4b7d318b
L
10282007-05-17 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 PR gas/4517
1031 2003-06-05 Michal Ludvig <mludvig@suse.cz>
5d14452b 1032 * doc/as.texinfo: Document new directives: .cfi_restore,
4b7d318b
L
1033 .cfi_undefined, .cfi_same_value, .cfi_return_column,
1034 .cfi_remember_state and .cfi_restore_state.
1035
2b878742
NS
10362007-05-17 Nathan Sidwell <nathan@codesourcery.com>
1037
1038 * config/tc-m68k.c (md_apply_fix): Show value of out of range
1039 fixups in error message.
1040 (md_conver_frag_1): Propagate the fix source location and use
1041 as_bad_where rather than fatal, for better error messages.
1042
2b744c99
PB
10432007-05-16 Paul Brook <paul@codesourcery.com>
1044
1045 * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
1046
2a676888
MS
10472007-05-15 Mark Shinwell <shinwell@codesourcery.com>
1048
1049 * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
1050
1c3f20b4
NC
10512007-05-15 Vincent Riviere <vincent.riviere@freesbee.fr>
1052
1053 PR gas/3041
1054 * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
1055 addend is stored for relocs against weak symbols.
1056 (md_apply_fix): So not loose track of addend for relocs against
1057 weak symbols.
1058
24471d42
TS
10592007-05-14 Thiemo Seufer <ths@mips.com>
1060
1061 * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
1062
b0253a53
ML
10632007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
1064
24471d42
TS
1065 * config/tc-score.c (data_op2, validate_immediate): Fix bug for
1066 addri, addri.c, subi, and subi.c when immediate number is hex.
b0253a53
ML
1067 (score_insns): Remove subis and subis.c.
1068 (do_sub_rdi16): Delete.
1069
ece5ef60
AM
10702007-05-11 Alan Modra <amodra@bigpond.net.au>
1071
1072 * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call
1073 spu_cons for word.
1074 (md_assemble): Tidy use of insn.flag.
1075 (get_imm): Likewise. Handle uppercase input too.
1076 (spu_cons): New function.
1077 * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
1078 (TC_FORCE_RELOCATION): Don't resolve them either.
1079
f9d4405b
MS
10802007-05-05 Mark Shinwell <shinwell@codesourcery.com>
1081
1082 * config/tc-arm.c (md_apply_fix): Generate more accurate
1083 diagnostic when 8-bit immediate range is exceeded for
1084 BFD_RELOC_ARM_OFFSET_IMM8.
1085
0787a12d
AM
10862007-05-04 Alan Modra <amodra@bigpond.net.au>
1087
1088 PR gas/4460
1089 * config/tc-i386.c (lex_got): Don't replace the reloc token with
1090 a space if we already have a space.
1091
20592a94
L
10922007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * config/tc-i386.c (match_template): Don't explicitly check
1095 suffix for crc32 in Intel mode.
1096 (process_suffix): Issue an error for crc32 if the operand size
1097 is ambiguous.
1098
22184a77
NC
10992007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr>
1100 Nick Clifton <nickc@redhat.com>
1101
1102 PR gas/3041
1103 * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
1104 (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
1105 (md_apply_fix): Put zero values into the frags referencing weak
1106 symbols.
1107
3896c469
AM
11082007-05-02 Alan Modra <amodra@bigpond.net.au>
1109
1110 PR 4448
1111 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
1112 PPC_OPERAND_PLUS1.
1113
9344ff29
L
11142007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1115
1116 * config/tc-i386.c (match_template): Check suffix for crc32 in
1117 Intel mdoe.
1118 (process_suffix): Default the suffix of 8bit crc32 to
1119 BYTE_MNEM_SUFFIX.
1120 (check_byte_reg): Skip check for 8bit crc32.
1121
a540244d
L
11222007-04-30 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * config/tc-i386.c (md_assemble): Use register_prefix in
1125 error/warning message.
1126 (check_byte_reg): Likewise.
1127 (check_long_reg): Likewise.
1128 (check_qword_reg): Likewise.
1129 (check_word_reg): Likewise.
1130 (process_operands): Likewise.
1131
eb42fac1
AM
11322007-04-30 Alan Modra <amodra@bigpond.net.au>
1133
1134 PR 4436
1135 * config/tc-ppc.c (ppc_insert_operand): Disable range check if
1136 min > max.
1137
02ffd3e4
TS
11382007-04-28 Thiemo Seufer <ths@networkno.de>
1139
1140 * config/tc-mips.c: Fix comment.
1141
8eb2af8e
DC
11422007-04-26 Anatoly Sokolov <aesok@post.ru>
1143
1144 * config/tc-avr.c (mcu_types): Add support for atmega8hva and
1145 atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
1146 * doc/c-avr.texi: Document new devices.
1147
6d0f4cb4
AM
11482007-04-24 Alan Modra <amodra@bigpond.net.au>
1149
1150 * Makefile.am: Run "make dep-am".
1151 * Makefile.in: Regenerate.
1152
9a2e615a
NS
11532007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1154
1155 * config/tc-m68k.c (mcf54455_ctrl): New.
1156 (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
1157 (m68k_archs): Add isac.
1158 (m68k_cpus): Add 54455 family.
1159 (m68k_ip): Split Bg into Bb, Bs, Bg.
1160 (m68k_elf_final_processing): Add ISA_C.
1161 * doc/c-m68k.texi (M680x0 Options): Add isac.
1162
d2bdaea8
AM
11632007-04-22 Alan Modra <amodra@bigpond.net.au>
1164
1165 * read.c (read_a_source_file): Skip multiple spaces to
1166 cover hack in mmix md_start_line_hook which overwrites a
1167 colon with a space. Delete sermon and needless assertion.
1168
541d2ffd
AM
11692007-04-21 Alan Modra <amodra@bigpond.net.au>
1170
1171 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
1172 (md_atof): Make number_of_chars unsigned. Revert last change.
1173 * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
1174 * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
1175 * config/tc-sh.h (md_optimize_expr): Likewise.
1176 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
1177 assertion.
1178 * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
1179
c13781b8
NC
11802007-04-21 Nick Clifton <nickc@redhat.com>
1181
2523cd0a
NC
1182 * config/atof-vax.c (md_atof): Fix comparison inside know().
1183
c13781b8
NC
1184 * config/tc-ia64.c (emit_one_bundle): Fix typo.
1185
c43a438d
AM
11862007-04-21 Alan Modra <amodra@bigpond.net.au>
1187
db557034
AM
1188 * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
1189 * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
1190 Don't skip over NUL char.
1191 (pseudo_set): Set X_op for registers to O_register.
1192 * symbols.c (symbol_clone): Remove assertion that sym is defined.
1193 (resolve_symbol_value): Resolve O_register symbols.
1194 * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
1195 Instead find st(0) by hash lookup.
1196 * config/tc-ppc.c (ppc_macro): Warning fix.
1197
c43a438d
AM
1198 * as.h (ENABLE_CHECKING): Default define to 0.
1199 (know): Assert if ENABLE_CHECKING.
1200 (struct relax_type): Remove superfluous declaration.
1201 * configure.in (--enable-checking): New.
1202 * configure: Regenerate.
1203 * config.in: Regenerate.
1204 * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
1205 Check for duplicate powerpc_operands entries.
1206
78336706
NS
12072007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1208
d5be9593
NS
1209 * config/tc-m68k.c (mcf5253_ctrl): New.
1210 (mcf52223_ctrl): New.
1211 (m68k_cpus): Add 5253, 52221, 52223.
1212
78336706
NS
1213 * config/m68k-parse.h (RAMBAR_ALT): New.
1214 * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
1215 (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
1216 mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
1217 mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
1218 mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
1219 RAMBAR1.
1220 (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
1221 (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
1222 (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
1223 to control register mapping.
1224
931774a9
AM
12252007-04-20 Alan Modra <amodra@bigpond.net.au>
1226
1227 * messages.c (as_internal_value_out_of_range): Fix typo in
1228 error message. Return after printing domain error.
1229 * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
1230 in max when shifting right.
1231
b84bf58a
AM
12322007-04-20 Alan Modra <amodra@bigpond.net.au>
1233
1234 * messages.c (as_internal_value_out_of_range): Extend to report
1235 errors for values with invalid low bits set.
1236 * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
1237 fields. Check that operands and opcode fields are disjoint.
1238 (ppc_insert_operand): Check operands using mask rather than bit
1239 count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust
1240 insertion code.
1241 (md_apply_fix): Adjust for struct powerpc_operand change.
1242
076d447c
PB
12432007-04-19 Paul Brook <paul@codesourcery.com>
1244
1245 * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
1246 Thumb-1. Add sanity check for bogus relaxations.
1247
16a4cf17
PB
12482007-04-19 Paul Brook <paul@codesourcery.com>
1249
1250 * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
1251
e30daadc
AM
12522007-04-19 Alan Modra <amodra@bigpond.net.au>
1253
1254 * Makefile.am: Run "make dep-am".
1255 * Makefile.in: Regenerate.
1256
7a467a28
AM
12572007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1258
1259 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
1260
d76f7bc1
L
12612007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
1264
381d071f
L
12652007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
1268 (match_template): Handle operand size for crc32 in SSE4.2.
1269 (process_suffix): Handle operand type for crc32 in SSE4.2.
1270 (output_insn): Support SSE4.2.
1271
42903f7f
L
12722007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1273
1274 * config/tc-i386.c (cpu_arch): Add .sse4.1.
1275 (process_operands): Adjust implicit operand for blendvpd,
1276 blendvps and pblendvb in SSE4.1.
1277 (output_insn): Support SSE4.1.
1278
026d3abb
PB
12792007-04-18 Paul Brook <paul@codesourcery.com>
1280
1281 * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
1282
91382b56
KK
12832007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1284
1285 * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
1286 of as_warn_where for misaligned data.
1287
0838d2ac
KK
12882007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1289
1290 * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
1291 rs_fill frags.
1292
b7d19ba6
SE
12932007-04-14 Steve Ellcey <sje@cup.hp.com>
1294
1295 * Makefile.am: Add ACLOCAL_AMFLAGS.
1296 * Makefile.in: Regenerate.
1297
0cc34095
KK
12982007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1299
1300 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
1301 (sh_optimize_expr): Likewise.
1302 * config/tc-sh.h (md_optimize_expr): Define.
1303 (sh_optimize_expr): Prototype.
1304
6f7b6869
MT
13052007-04-06 Matt Thomas <matt@netbsd.org>
1306
1307 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
1308 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
1309 heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
1310
d0e8669a
KH
13112007-04-04 Kazu Hirata <kazu@codesourcery.com>
1312
1313 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
1314
3b8d421e
PB
13152007-04-04 Paul Brook <paul@codesourcery.com>
1316
1317 * config/tc-arm.c (do_neon_ext): Enforce immediate range.
1318 (insns): Use I15 for vext.
1319
9fcfe2ed
PB
13202007-04-04 Paul Brook <paul@codesourcery.com>
1321
1322 * configure.tgt: Loosen checks for arm uclinux eabi targets.
1323
a3582eee
BW
13242007-04-02 Sterling Augustine <sterling@tensilica.com>
1325
1326 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
1327 outputting_stabs_line_debug.
1328
7b60f473
DC
13292007-03-26 Anatoly Sokolov <aesok@post.ru>
1330
1331 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
1332 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
1333 devices.
1334 * doc/c-avr.texi: Document new devices.
1335
0c000745
RS
13362007-04-02 Richard Sandiford <richard@codesourcery.com>
1337
1338 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
1339 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
1340 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
1341
c3ea6048
BW
13422007-03-30 Sterling Augustine <sterling@tensilica.com>
1343 Bob Wilson <bob.wilson@acm.org>
1344
1345 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
1346 Do not check is_loop_target flag.
1347 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
1348 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
1349 xtensa_move_labels for alignment of loop opcodes.
1350
f6bee062
L
13512007-03-30 H.J. Lu <hongjiu.lu@intel.com>
1352
1353 * config/tc-i386.c (process_suffix): Reindent a bit.
1354
3c707909
PB
13552007-03-30 Paul Brook <paul@codesourcery.com>
1356
1357 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
1358 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
1359 (do_t_push_pop): Use encode_thumb2_ldmstm.
1360
144f4bc6
DD
13612007-03-29 DJ Delorie <dj@redhat.com>
1362
1363 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
1364 (md_relax_table): Add entries for ADJNZ macros.
1365 (M32C_Macros): Add ADJNZ macros.
1366 (subtype_mappings): Add entries for ADJNZ macros.
1367 (insn_to_subtype): Check for adjnz and sbjnz insns.
1368 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
1369 (md_convert_frag): Convert adjnz and sbjnz.
1370
e5551801
NC
13712007-03-29 Nick Clifton <nickc@redhat.com>
1372
1373 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
1374 initialization.
1375 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
1376 using ITBL_NUMBER_OF_PROCESSORS.
1377 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
1378
e72cf3ec
L
13792007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1380
1381 * config/tc-i386.c (build_modrm_byte): For instructions with 2
1382 register operands, encode destination in i.rm.regmem if its
1383 RegMem bit is set.
1384
4ecceb71
RS
13852007-03-28 Richard Sandiford <richard@codesourcery.com>
1386 Phil Edwards <phil@codesourcery.com>
1387
1388 * doc/as.texinfo: Put the contents after the title page rather
1389 than at the end of the document.
1390
3f9ce309
AM
13912007-03-27 Alan Modra <amodra@bigpond.net.au>
1392
1393 * NEWS: Mention ".reloc".
1394
eb6d9dce
BW
13952007-03-26 Sterling Augustine <sterling@tensilica.com>
1396
1397 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
1398 in FLIX instructions.
1399
c96612cc
JB
14002007-03-26 Julian Brown <julian@codesourcery.com>
1401
1402 * config/tc-arm.c (arm_it): Add immisfloat field.
1403 (parse_qfloat_immediate): Disallow integer syntax for floating-point
1404 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
1405 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
1406 float.
1407 (neon_cmode_for_move_imm): Reject non-float immediates for float
1408 operands.
1409 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
1410
23753660
JB
14112007-03-26 Julian Brown <julian@codesourcery.com>
1412
1413 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
1414
05e9452c
AM
14152007-03-26 Alan Modra <amodra@bigpond.net.au>
1416
1417 * doc/as.texinfo (Reloc): Document.
1418 * read.c (potable): Add "reloc".
1419 (s_reloc): New function.
1420 * write.c (reloc_list): New global var.
1421 (resolve_reloc_expr_symbols): New function.
1422 (write_object_file): Call it.
1423 (write_relocs): Process reloc_list.
1424 * write.h (struct reloc_list): New.
1425 (reloc_list): Declare.
1426
1198ca51
PB
14272007-03-24 Paul Brook <paul@codesourcery.com>
1428
1429 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
1430
b6702015
PB
14312007-03-24 Paul Brook <paul@codesourcery.com>
1432 Mark Shinwell <shinwell@codesourcery.com>
1433
1434 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
1435 (parse_operands): Don't expect comma if first operand missing.
1436 Handle OP_oRRw.
1437 (do_srs): Encode register number, checking it is r13. Update comment.
1438 (insns): Update SRS entries to take a register.
1439
831480e9 14402007-03-23 H.J. Lu <hongjiu.lu@intel.com>
0003779b
L
1441
1442 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
1443
738755b0
MS
14442007-03-23 Mark Shinwell <shinwell@codesourcery.com>
1445
35225157 1446 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
738755b0
MS
1447 attempt to jump to the next instruction into NOPs.
1448
840edabd
AM
14492007-03-23 Alan Modra <amodra@bigpond.net.au>
1450
1451 * config/tc-spu.c: Don't include opcode/spu.h.
1452 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
1453 (md_apply_fix): Adjust.
1454 * config/tc-spu.h: Include opcode/spu.h.
1455 (struct tc_fix_info): New.
1456 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
1457 (TC_FORCE_RELOCATION): Define.
1458
e49e529d
JM
14592007-03-22 Joseph Myers <joseph@codesourcery.com>
1460
1461 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
1462
831480e9 14632007-03-21 H.J. Lu <hongjiu.lu@intel.com>
13a1e313
L
1464
1465 * config/tc-i386.c (process_suffix): Check 0x90 instead of
1466 xchg for xchg %rax,%rax.
1467
831480e9 14682007-03-21 H.J. Lu <hongjiu.lu@intel.com>
161a04f6
L
1469
1470 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
1471 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
1472
831480e9 14732007-03-21 H.J. Lu <hongjiu.lu@intel.com>
8b38ad71
L
1474
1475 PR binutils/4218
1476 * config/tc-i386.c (match_template): Properly handle 64bit mode
1477 "xchg %eax, %eax".
1478
af1c1010
NC
14792007-03-21 Anton Ertl <anton@mips.complang.tuw>
1480
1481 PR gas/4124
1482 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
1483
1d5f2fe9
L
14842007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 * Makefile.am: Run dep-am.
1487 * Makefile.in: Regenerated.
1488
1489 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
1490
1491 * config/tc-i386.h: Include "opcodes/i386-opc.h".
1492 (NOP_OPCODE): Removed.
1493 (template): Likewise.
1494
5ac8f2a2
AS
14952007-03-21 Andreas Schwab <schwab@suse.de>
1496
1497 * config/tc-i386.h (NOP_OPCODE): Restore.
1498
8fb9d7b9
MS
14992007-03-18 Mark Shinwell <shinwell@codesourcery.com>
1500
1501 * config/tc-arm.c (do_mul): Don't warn about overlapping
1502 Rd and Rm operands when assembling for v6 or above.
1503 Correctly capitalize register names in the messages.
1504 (do_mlas): Likewise. Delete spurious blank line.
1505
b3768379
KH
15062007-03-16 Kazu Hirata <kazu@codesourcery.com>
1507
1508 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
1509
c3fe08fa
L
15102007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
1513 i386_regtab.
1514 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
1515 on i386_regtab.
1516
4061927e
L
15172007-03-15 Alexandre Oliva <aoliva@redhat.com>
1518
1519 PR gas/4184
1520 * app.c (do_scrub_chars): PUT after setting states.
1521
0b1cf022
L
15222007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * Makefile.am: Run "make dep-am".
1525 * Makefile.in: Regenerated.
1526
1527 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
1528 "opcode/i386.h".
1529 (md_begin): Check reg_name != NULL for the last entry in
1530 i386_regtab.
1531
1532 * config/tc-i386.h: Move many entries to opcode/i386.h and
1533 opcodes/i386-opc.h.
1534
1535 * configure.in (need_opcodes): Set true for i386.
1536 * configure: Regenerated.
1537
c428fa83
L
15382007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1539
1540 * Makefile.am (REPORT_BUGS_TO): Removed.
1541 (INCLUDES): Remove -DREPORT_BUGS_TO.
1542 * Makefile.in: Regenerated.
1543
1544 * configure.in (--with-bugurl): Removed.
1545 * configure: Regenerated.
1546
1547 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
1548 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
1549 (TEXI2DVI): Likewise.
1550 (gasver.texi): Removed.
1551 (MOSTLYCLEANFILES): Remove gasver.texi.
1552 (as.1): Don't depend on gasver.texi.
1553 * doc/Makefile.in: Regenerated.
1554
1555 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
1556
794ba86a
DJ
15572007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
1558
1559 * config/tc-arm.c (arm_copy_symbol_attributes): New.
1560 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
1561 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
1562 * gas/symbols.c (copy_symbol_attributes): Use
1563 TC_COPY_SYMBOL_ATTRIBUTES.
1564
155257ea
PB
15652007-03-14 Paul Brook <paul@codesourcery.com>
1566
1567 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
1568
d1c5f158
AM
15692007-03-14 Alan Modra <amodra@bigpond.net.au>
1570
1571 PR 4029
1572 * write.c (relax_segment): Insert extra alignment padding
1573 to break infinite relax loop when given impossible
1574 gcc_except_table assembly.
1575
8a2ed489
L
15762007-03-12 H.J. Lu <hongjiu.lu@intel.com>
1577
1578 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
1579 on i.tm.base_opcode.
1580 (match_template): Likewise.
1581 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
1582
1583 * config/tc-i386.h (Opcode_D): New.
1584 (Opcode_FloatR): Likewise.
1585 (Opcode_FloatD): Likewise.
1586 (D): Redefined.
1587 (W): Likewise.
1588 (FloatMF): Likewise.
1589 (FloatR): Likewise.
1590 (FloatD): Likewise.
1591
e9fc6c21
AO
15922007-03-09 Alexandre Oliva <aoliva@redhat.com>
1593
1594 * app.c (do_scrub_chars): Recognize comments after # line "file".
1595 * read.c (get_linefile_number): New.
1596 (s_app_line): Accept ill-formed .linefile lines as comments.
1597
b1b7d09b
AM
15982007-03-09 Alan Modra <amodra@bigpond.net.au>
1599
1600 * config/tc-i386.h (WORKING_DOT_WORD): Define.
1601
93e914b2
AO
16022007-03-09 Alexandre Oliva <aoliva@redhat.com>
1603
1604 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
1605 * as.h (new_logical_line_flags): New.
1606 * input-scrub.c (new_logical_line): Turned into wrapper for...
1607 (new_logical_line_flags): this. Handle flags.
1608 * read.c (potable): Add linefile. Adjust appline argument.
1609 (s_app_file): Fake .appfiles no more.
1610 (s_app_line): For .linefile, accept file name and flags.
1611
6f12865c
AM
16122007-03-08 Alan Modra <amodra@bigpond.net.au>
1613
1614 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
1615
a6d04ec4
AM
16162007-03-08 Alan Modra <amodra@bigpond.net.au>
1617
1618 * Makefile.am: Run "make dep-am".
1619 * Makefile.in: Regenerate.
1620 * po/POTFILES.in: Regenerate.
1621
ad22bfe8
JM
16222007-03-07 Joseph Myers <joseph@codesourcery.com>
1623
1624 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
1625 bug-reporting URL.
1626 * doc/Makefile.am (gasver.texi): Define BUGURL.
1627 * doc/as.texinfo: Use BUGURL.
1628 * Makefile.in, configure, doc/Makefile.in: Regenerate.
1629
b5639b37
MS
16302007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1631
1632 * config/tc-s390.c (md_parse_option): z9-ec option added.
1633
5e77afaa
PB
16342007-03-02 Paul Brook <paul@codesourcery.com>
1635
1636 * config/tc-arm.c (relax_immediate): Always return positive values.
1637 (relaxed_symbol_addr): New function.
1638 (relax_adr, relax_branch): Use it.
1639 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
1640
066c2a57
JM
16412007-03-01 Joseph Myers <joseph@codesourcery.com>
1642
1643 * as.c (parse_args): Update copyright date.
1644
ed6ba298
NS
16452007-02-28 Nathan Sidwell <nathan@codesourcery.com>
1646
1647 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
1648
870074dd
NC
16492007-02-28 Nick Clifton <nickc@redhat.com>
1650
c5d07591
NC
1651 PR gas/3797
1652 * config/tc-d10v.c (do_assemble): Do not generate error messages,
1653 just return -1 whenever a problem is encountered.
1654 (md_assemble): If do_assemble returns -1 generate a non-fatal
1655 error message and return.
1656
870074dd
NC
1657 PR gas/2623
1658 * config/tc-msp430.c (line_separator_char): Change to '{'.
1659
fd99afa7
AM
16602007-02-27 Alan Modra <amodra@bigpond.net.au>
1661
1662 * config/tc-m68hc11.c (fixup24): Correct fixup size.
1663 (build_jump_insn): Likewise.
1664 (build_insn): Likewise.
1665 (s_m68hc11_relax): Likewise.
1666
07cb2078
AM
16672007-02-27 Alan Modra <amodra@bigpond.net.au>
1668
1669 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
1670
22b5b651
MS
16712007-02-25 Mark Shinwell <shinwell@codesourcery.com>
1672
1673 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
1674
acb02403
AM
16752007-02-23 Alan Modra <amodra@bigpond.net.au>
1676
1677 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
1678 (md_assemble): Likewise.
1679
e5435dec
AM
16802007-02-22 Alan Modra <amodra@bigpond.net.au>
1681
1682 * write.c (size_seg): Always clear SEC_RELOC here.
1683 (install_reloc): New function, extracted from..
1684 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
1685 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
1686 testing frag size. Set SEC_RELOC here.
1687
a1836728
AM
16882007-02-21 Alan Modra <amodra@bigpond.net.au>
1689
1690 PR 4082
1691 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
1692
f281862d
TS
16932007-02-20 Thiemo Seufer <ths@mips.com>
1694
1695 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
1696
01fd108f
TS
16972007-02-20 Thiemo Seufer <ths@mips.com>
1698
1699 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
1700
8b082fb1
TS
17012007-02-20 Thiemo Seufer <ths@mips.com>
1702 Chao-Ying Fu <fu@mips.com>
1703
1704 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
1705 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
1706 (macro_build): Add case '2'.
1707 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
1708 (validate_mips_insn): Add support for balign instruction.
1709 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
1710 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
1711 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
1712 command line options.
1713 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
1714 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
1715 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
1716 .set dspr2, .set nodspr2.
1717
96e0bbcc
NS
17182007-02-20 Nathan Sidwell <nathan@codesourcery.com>
1719
1720 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
1721 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
1722
d31f0f6d
AM
17232007-02-18 Alan Modra <amodra@bigpond.net.au>
1724
1725 * write.c (TC_FX_SIZE_SLACK): Define.
1726 (write_relocs): Reinstate check for fixup within frag.
1727 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
1728 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
1729 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
1730 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
1731 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
1732
92f01d61
JM
17332007-02-17 Mark Mitchell <mark@codesourcery.com>
1734 Nathan Sidwell <nathan@codesourcery.com>
1735 Vladimir Prus <vladimir@codesourcery.com
1736 Joseph Myers <joseph@codesourcery.com>
1737
1738 * configure.in (--with-bugurl): New option.
1739 * configure: Regenerate.
1740 * dep-in.sed: Remove bin-bugs.h.
1741 * Makefile.am (REPORT_BUGS_TO): Define.
1742 (INCLUDES): Define REPORT_BUGS_TO.
1743 (DEP_INCLUDES): Likewise.
1744 ($(OBJS)): No longer depend on bin-bugs.h.
1745 * Makefile.in: Regenerate.
1746 * doc/Makefile.in: Regenerate.
1747 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
1748 * as.h: Remove include of bin-bugs.h.
1749
b4b24b79
AM
17502007-02-17 Alan Modra <amodra@bigpond.net.au>
1751
1752 * write.c: White space fixes.
1753 (fixup_segment): Move symbol_mri_common_p adjustments..
1754 (write_relocs): ..and symbol_equated_reloc_p adjustments..
1755 (adjust_reloc_syms): ..to here.
1756
e7ff5c73
AM
17572007-02-16 Alan Modra <amodra@bigpond.net.au>
1758
1759 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
1760 xmalloc, memset. Don't bother assigning NULL to known zero mem.
1761 (subseg_set_rest): Remove unnecessary cast.
1762 * write.c: Include libbfd.h. Replace PTR with void * throughout.
1763 Remove unnecessary forward declarations and casts.
1764 (set_symtab): Delete extern bfd_alloc.
1765 (fixup_segment): Move.
1766
a8e24a56
NS
17672007-02-15 Nathan Sidwell <nathan@codesourcery.com>
1768
1769 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
1770 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
1771 (mcf5475_ctrl, mcf5485_ctrl): New.
1772 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
1773 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
1774 (init_table): Add asid, mmubar, adjust rombar0.
1775
4eed87de
AM
17762007-02-14 Alan Modra <amodra@bigpond.net.au>
1777
1778 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
1779 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
1780 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
1781 code, and test for these insns using a combination of
1782 opcode_modifier and operand_types.
1783
7bd1c961
PB
17842007-02-07 Paul Brook <paul@codesourcery.com>
1785
5c817587 1786 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 1787
280d71bf 17882007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1789 Richard Sandiford <rsandifo@redhat.com>
1790 DJ Delorie <dj@redhat.com>
1791 Stan Cox <scox@redhat.com>
1792 Jim Blandy <jimb@redhat.com>
1793 Nick Clifton <nickc@redhat.com>
1794 Jim Wilson <wilson@redhat.com>
1795 Frank Ch. Eigler <fche@redhat.com>
1796 Graydon Hoare <graydon@redhat.com>
1797 Ben Elliston <bje@redhat.com>
1798 John Healy <jhealy@redhat.com>
1799 Richard Henderson <rth@redhat.com>
1800
1801 * Makefile.am (CPU_TYPES): Add mep.
1802 (TARGET_CPU_CFILES): Add tc-mep.c.
1803 (TARGET_CPU_HFILES): Add tc-mep.h.
1804 (DEPTC_mep_elf): New variable.
1805 (DEPTC_mep_coff): Likewise.
1806 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
1807 * configure.in: Support mep.
1808 * configure.tgt: Likewise.
1809 * config/tc-mep.c: New file.
280d71bf
DB
1810 * config/obj-elf.c: New file.
1811 * config/tc-mep.c: New file.
1812 * config/tc-mep.h: New file.
1813 * testsuite/gas/mep: New testsuite with content.
1814 * Makefile.in: Regenerate.
1815 * configure: Regenerate.
1816
18172007-02-05 Dave Brolley <brolley@redhat.com>
1818
1819 * cgen.c (gas_cgen_install_complex_reloc): Removed.
1820 (complex_reloc_installation_howto): Removed.
1821
18222007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1823 Graydon Hoare <graydon@redhat.com>
1824 DJ Delorie <dj@redhat.com>
1825 Catherine Moore <clm@redhat.com>
1826 Michael Chastain <chastain@redhat.com>
1827 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
1828
1829 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
1830 when to use complex relocs. Add signed RELC support.
1831 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
1832 encode expression symbols as mangled complex relocation symbols (when
1833 compiled with -DOBJ_COMPLEX_RELOC).
1834 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
1835 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
1836 encode_addend with new args. Modify to get start, length from
1837 ifield whenever it is set. Also change condition on which
1838 self-describing relocs are encoded. Add hook into
1839 gas_cgen_encode_addend.
1840 (queue_fixup_recursively): Add signed RELC support. Change from masked
1841 expr to trunc flag. Restore assignment of sub-field value to
1842 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 1843 queue_fixup_recursively.
4948f0d4 1844 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
1845 (make_right_shifted_expr): New function.
1846 (queue_fixup): Change to recursive function that fragments
1847 fixups if operand has a multi-ifield.
1848 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
1849 symbols, call weak_operand_overflow_check, and fragment call
1850 queue_fixup with operand fields.
1851 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
1852 (weak_operand_overflow_check): New function to try to select
1853 insns correctly.
4948f0d4 1854 (gas_cgen_encode_addend): New function for relc.
280d71bf 1855 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 1856 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
1857 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
1858 cgen_maybe_multi_ifield field to fx_cgen substructure.
1859 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
1860 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
1861
e110eeb7
DD
18622007-02-03 DJ Delorie <dj@delorie.com>
1863
1864 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
1865 byte relocs.
1866 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
1867 (m32c_cons_fix_new): Prototype.
1868
60242db2
BW
18692007-02-02 Bob Wilson <bob.wilson@acm.org>
1870
1871 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
1872 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
1873
bbdd25a8
BW
18742007-02-02 Bob Wilson <bob.wilson@acm.org>
1875
1876 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
1877 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
1878 (map_suffix_reloc_to_operator): New.
1879 (map_operator_to_reloc): New.
1880 (expression_maybe_register): Fix incorrect test of return value from
1881 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
1882 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
1883
9c874773
BW
18842007-02-02 Bob Wilson <bob.wilson@acm.org>
1885
1886 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
1887 (tinsn_get_tok): Delete prototype.
1888 * config/tc-xtensa.c (tinsn_get_tok): Delete.
1889
61376837
BW
18902007-02-02 Bob Wilson <bob.wilson@acm.org>
1891
1892 * config/xtensa-relax.h (struct build_instr): Delete id field.
1893 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
1894 and LABEL tokens.
1895 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
1896 set op_data fields to zero.
1897 (parse_id_constant): Delete.
1898 (build_transition): Remove code to handle numbered literals and labels.
1899
bc447904
BW
19002007-02-02 Bob Wilson <bob.wilson@acm.org>
1901
1902 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
1903 (build_transition_table): Likewise.
1904
63a7429b
BW
19052007-02-01 Bob Wilson <bob.wilson@acm.org>
1906
1907 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
1908 fx_tcbit.
1909 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
1910
20ee54e8
AM
19112007-02-02 Alan Modra <amodra@bigpond.net.au>
1912
1913 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
1914 (struct fix <fx_plt>): Rename to tcbit2.
1915 * write.c (fix_new_internal): Adjust.
1916 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1917 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1918 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1919 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1920 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1921 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1922 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1923 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1924 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
1925 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
1926 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1927 Instead, compare fx_r_type.
1928 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
1929 fx_tcbit in place of fx_plt.
1930 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
1931 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
1932 to fx_plt.
1933
bf083c64
NC
19342007-01-30 Nick Clifton <nickc@redhat.com>
1935
1936 * as.c (main): Mark symbols created via the --defsym command line
1937 option as volatile so that they can be overridden later on by a
1938 .set directive. This maintains compatibility with the behaviour
1939 of earlier versions of the assembler.
1940 * doc/as.texinfo (--defsym): Document that the defined symbol's
1941 value can be overridden via a .set directive.
1942
fc523535 19432007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
1944
1945 * config/tc-i386.c (swap_imm_operands): Renamed to ...
1946 (swap_2_operands): This. Take 2 ints.
1947 (md_assemble): Updated.
1948 (swap_operands): Call swap_2_operands to swap 2 operands.
1949
7bc4c13c
DD
19502007-01-24 DJ Delorie <dj@redhat.com>
1951
1952 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
1953
48903831
NC
19542007-01-22 Nick Clifton <nickc@redhat.com>
1955
07302d31 1956 PR gas/3871
48903831
NC
1957 * tc-score.c: Remove unnecessary uses of _().
1958 Make the err_msg[] a file level local array in order to save
1959 storage space.
1960 Remove unnecessary sprintf()s.
1961
14119072
ML
19622007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
1963
07302d31 1964 PR gas/3871
14119072
ML
1965 * config/tc-score.c : Using _() for const string.
1966 Do not assign inst.error with a local string pointer.
1967 (md_section_align): Pad section.
1968
99018f42
L
19692007-01-13 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * config/tc-i386.c (build_modrm_byte): Check number of operands
1972 when procssing memory/register operand.
1973
465e5617
NC
19742007-01-12 Nick Clifton <nickc@redhat.com>
1975
1976 PR gas/3856
1977 * macro.c (expand_irp): Do not ignore spaces inside quoted
1978 strings.
1979
e8630bd7
AM
19802007-01-12 Alan Modra <amodra@bigpond.net.au>
1981
1982 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1983 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1984 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1985 (TC_FORCE_RELOCATION): Define.
1986 (TC_FORCE_RELOCATION_LOCAL): Define.
1987 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
1988
1f5409bb
AM
19892007-01-12 Alan Modra <amodra@bigpond.net.au>
1990
1991 * input-file.c (input_file_open): Check fgets return.
1992
dc4503c6
PB
19932007-01-11 Paul Brook <paul@codesourcery.com>
1994
1995 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
1996
04f8d83b
NC
19972007-01-11 Nick Clifton <nickc@redhat.com>
1998
493cb6ef
NC
1999 PR gas/3707
2000 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
2001 variable.
2002
04f8d83b
NC
2003 * config/tc-mcore.c (md_number_to_chars): Use
2004 number_to_chars_{big|little}endian.
2005
3bdcfdf4
KH
20062007-01-08 Kazu Hirata <kazu@codesourcery.com>
2007
2008 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
2009 architecture by itself.
2010 (m68k_ip): Don't issue a warning for tbl instructions on fido.
2011 (m68k_elf_final_processing): Treat Fido as an architecture by
2012 itself.
2013
42037fe5
NC
20142007-01-08 Kai Tietz <kai.tietz@onevision.com>
2015
2016 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
2017
e4a3b5a4
L
20182007-01-05 H.J. Lu <hongjiu.lu@intel.com>
2019
2020 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
2021 depending on allow_naked_reg.
2022
a028a6f5
PB
20232007-01-04 Paul Brook <paul@codesourcery.com>
2024
2025 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
2026
2ca3ace5
L
20272007-01-04 H.J. Lu <hongjiu.lu@intel.com>
2028
44f9b8ac 2029 PR gas/3830
2ca3ace5
L
2030 * config/tc-i386.c (register_prefix): New.
2031 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 2032 prefix isn't needed.
2ca3ace5
L
2033 (check_byte_reg): Use register_prefix for error message.
2034 (check_long_reg): Likewise.
2035 (check_qword_reg): Likewise.
2036 (check_word_reg): Likewise.
2037
ec4faa47 20382007-01-04 Julian Brown <julian@codesourcery.com>
627907b7
JB
2039
2040 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
2041 (do_neon_qshl_imm): Likewise.
2042 (do_neon_rshl): New function. Handle rounding variants of
2043 v{q}shl-by-register.
2044 (insns): Use do_neon_rshl for vrshl, vqrshl.
2045
92559b5b
PB
20462007-01-04 Paul Brook <paul@codesourcery.com>
2047
2048 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
2049 and vacle.
2050
2ca3ace5
L
20512007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2052
2053 * config/tc-i386.c (swap_operands): Remove branches.
2054
4dc85607
L
20552007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * config/tc-i386.c: Update copyright year.
2058 * config/tc-i386.h: Likewise.
2059
1509aa9a
L
20602007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2061
2062 * config/tc-i386.c (smallest_imm_type): Return unsigned int
2063 instead of int.
2064
e3bb37b5
L
20652007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2066
2067 * config/tc-i386.c: Convert to ISO C90 formatting
2068 * config/tc-i386.h: Likewise.
2069
d821e36b
DD
20702007-01-03 David Daney <ddaney@avtrex.com>
2071
2072 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
2073 documentation.
2074
44021fe5 2075For older changes see ChangeLog-2006
08d56133
NC
2076\f
2077Local Variables:
2078mode: change-log
2079left-margin: 8
2080fill-column: 74
2081version-control: never
2082End:
This page took 0.460829 seconds and 4 git commands to generate.