bfd:
[binutils-gdb.git] / gas / ChangeLog
1 2010-11-02 Joseph Myers <joseph@codesourcery.com>
2
3 * config/tc-tic6x.c (OPTION_MPID, OPTION_MPIC, OPTION_MNO_PIC):
4 New enum values.
5 (md_longopts): Add options mpid, mpic and mno-pic.
6 (tic6x_pid_type, tic6x_pid, tic6x_pic, tic6x_pid_type_table,
7 tic6x_pid_types, tic6x_use_pid): New.
8 (md_parse_option): Handle new options.
9 (md_show_usage): Output help text for new options.
10 (tic6x_set_attributes): Set PID and PIC attributes.
11 * doc/as.texinfo: Document -mpid=, -mpic and -mno-pic.
12 * doc/c-tic6x.texi (TIC6X Options): Likewise.
13
14 2010-11-01 Maciej W. Rozycki <macro@linux-mips.org>
15
16 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Use the offset
17 reloc supplied.
18 (mips_ip)['o']: Initialise offset_reloc.
19
20 2010-10-29 Joseph Myers <joseph@codesourcery.com>
21
22 * doc/c-tic6x.texi (TIC6X Directives): Mention
23 Tag_ABI_compatibility.
24
25 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
26
27 * write.c (compress_debug): Optimize section flags check.
28
29 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
30 Joseph Myers <joseph@codesourcery.com>
31
32 * config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
33 values.
34 (md_longopts): Add mdsbt and mno-dsbt.
35 (tic6x_dsbt): New static variable.
36 (md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
37 (md_show_usage): Output help text for -mdsbt and -mno-dsbt.
38 (TAG): Add comma at the end.
39 (tic6x_set_attributes): Set Tag_ABI_DSBT.
40 * doc/as.texinfo: Document -mdsbt and -mno-dsbt.
41 * doc/c-tic6x.texi (TIC6X Options): Likewise.
42 (TIC6X Directives): Mention Tag_ABI_DSBT.
43
44 2010-10-28 Matthias Klose <doko@ubuntu.com>
45
46 * doc/as.texinfo: Add directory section for info document.
47
48 2010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49
50 * config/tc-s390.c (md_begin): Only add to hash table if cpu and
51 mode mask fit.
52
53 2010-10-28 Alan Modra <amodra@gmail.com>
54
55 * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
56
57 2010-10-26 Alan Modra <amodra@gmail.com>
58
59 * config/obj-coff.c (coff_format_ops): Fix typo.
60
61 2010-10-25 Richard Sandiford <rdsandiford@googlemail.com>
62
63 * config/tc-mips.c (macro2): Delete.
64
65 2010-10-25 Nathan Sidwell <nathan@codesourcery.com>
66
67 * config/tc-tic6x.c: Add attribution.
68
69 2010-10-25 Mark Mitchell <mark@codesourcery.com>
70
71 * obj.h (struct format_ops): Add adjust_symtab.
72 * config/obj-multi.h (obj_adjust_symtab): Define.
73 * config/obj-aout.c (aout_format_ops): Init new field.
74 * config/obj-coff.c (coff_format_ops): Likewise.
75 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
76 * config/obj-elf.c (elf_format_ops): Likewise.
77
78 2010-10-25 Alan Modra <amodra@gmail.com>
79
80 PR gas/12049
81 * write.c (relax_frag): Don't allow forward branches to temporarily
82 becomde backward branches.
83
84 2010-10-23 Mark Mitchell <mark@codesourcery.com>
85
86 * config/obj-elf.c (elf_adjust_symtab): New. Move group section
87 processing here from elf_frob_file. Ensure that group signature
88 symbols have the name of the group.
89 (elf_frob_file): Move group section processing to
90 elf_adjust_symtab.
91 * config/obj-elf.h (elf_adjust_symtab): Declare.
92 (obj_adjust_symtab): Define.
93 * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab.
94
95 2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
96
97 * config/tc-sparc.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define as
98 elf32-sparc-sol2.
99 (ELF64_TARGET_FORMAT): Define as elf64-sparc-sol2.
100
101 2010-10-21 Joseph Myers <joseph@codesourcery.com>
102
103 * config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches,
104 md_assemble, tic6x_set_attributes): Update for attribute renaming.
105 * doc/c-tic6x.texi: Update for attribute renaming.
106
107 2010-10-19 Alan Modra <amodra@gmail.com>
108
109 * write.c (relax_segment): Correct address on frag added to stop
110 leb128/align frags bouncing.
111
112 2010-10-19 Alan Modra <amodra@gmail.com>
113
114 PR gas/12049
115 * frags.h (struct frag): Add "region" field.
116 * write.c (relax_frag): Don't add "stretch" to forward reference
117 target if there is an intervening org or align.
118 (relax_segment): Set region.
119
120 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
121
122 * config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variant
123 for absolute addressing.
124
125 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
126
127 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs.
128
129 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
130
131 * config/tc-mips.c (mips_pseudo_table): Add "sbss".
132 (s_change_sec): Handle it.
133
134 2010-10-15 Mike Frysinger <vapier@gentoo.org>
135
136 * config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
137
138 2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
139
140 * config/tc-i386.c (match_template): Check checkregsize
141 instead of w for register size check.
142
143 2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
144
145 * config/tc-i386.c (_i386_insn): Add disp32_encoding.
146 (md_assemble): Don't call optimize_disp if disp32_encoding is
147 set.
148 (parse_insn): Support .d32 to force 32bit displacement.
149 (output_branch): Use BIG if disp32_encoding is set.
150
151 * doc/c-i386.texi: Document .d32 encoding suffix.
152
153 2010-10-11 Steve Kilbane <steve.kilbane@analog.com>
154
155 * config/bfin-lex.l (FLAGS): New state.
156 (X, Z, S, M, T): Require FLAGS state.
157 ("(", ")"): Start/stop FLAGS state.
158
159 2010-10-11 David Gibson <david.gibson@analog.com>
160
161 * config/bfin-aux.h (bfin_loop_attempt_create_label): New prototype.
162 * config/bfin-parse.y (LOOP_BEGIN, LOOP_END): Handle numeric labels.
163 * config/tc-bfin.c (bfin_loop_attempt_create_label): New funtion.
164
165 2010-10-11 David Gibson <david.gibson@analog.com>
166
167 * config/tc-bfin.c (bfin_gen_loop): Check symbol before removing.
168
169 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
170
171 Fix build with -DDEBUG=7
172 * config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
173
174 2010-10-07 Bernd Schmidt <bernds@codesourcery.com>
175
176 * config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
177 in SPKERNEL instructions.
178
179 2010-10-06 Nathan Sidwell <nathan@codesourcery.com>
180
181 * config/tc-arm.c (encode_branch): Remove superfluous braces.
182 (do_t_branch): Move reloc setting to end of routine.
183
184 2010-10-04 David Daney <ddaney@caviumnetworks.com>
185
186 * config/tc-mips.c (mips_fix_cn63xxp1): New variable.
187 (mips_ip): Add errata work around when mips_fix_cn63xxp1 set.
188 (OPTION_FIX_CN63XXP1, OPTION_NO_FIX_CN63XXP1): New enum options
189 enumerations.
190 (md_longopts): Add options for -mfix-cn63xxp1 and -mno-fix-cn63xxp1.
191 (md_parse_option): Handle OPTION_FIX_CN63XXP1 and
192 OPTION_NO_FIX_CN63XXP1.
193 (md_show_usage): Add documentation for -mfix-cn63xxp1.
194 * doc/c-mips.texi (-mfix-cn63xxp1, -mno-fix-cn63xxp1): Document
195 the new options.
196
197 2010-09-29 Bernd Schmidt <bernds@codesourcery.com>
198
199 * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
200 * gas/tic6x/insns-bad-1.l: Likewise.
201 * gas/tic6x/insns-c674x.d: Add test for writeable tscl.
202 * gas/tic6x/insns-c674x.s: Likewise.
203
204 2010-09-29 Alan Modra <amodra@gmail.com>
205
206 * expr.c (expr): Correct returned segment value.
207
208 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
209
210 * configure: Regenerate.
211
212 2010-09-27 Bernd Schmidt <bernds@codesourcery.com>
213
214 * config/tc-tic6x.c (tic6x_fix_adjustable): New function.
215 * config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
216 (tc_fix_adjustable): New macro.
217
218 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
219
220 * config/tc-s390.c: (md_parse_option): New option -march=z196.
221 * doc/c-s390.texi: Document new option.
222
223 2010-09-27 Tejas Belagod <tejas.belagod@arm.com>
224
225 * config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
226 VSTR, issue an error in THUMB mode.
227
228 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
229
230 * config/tc-arm.c (arm_ext_virt): New variable.
231 (arm_reg_type): Add REG_TYPE_RNB for banked registers.
232 (reg_entry): Allow registers to be larger than a byte.
233 (reg_alias): Fix type warning.
234 (parse_operands): Parse banked registers when appropriate.
235 (do_mrs): Add support for Virtualization Extensions.
236 (do_hvc): New function.
237 (do_t_mrs): Add support for Virtualization Extensions.
238 (do_t_msr): Likewise.
239 (do_t_hvc): New function.
240 (SPLRBANK): New define.
241 (reg_names): Add banked registers.
242 (insns): Add support for Virtualization Extensions.
243 (md_apply_fixup): Likewise.
244 (arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
245 (arm_extensions): Add 'virt' extension.
246 (aeabi_set_public_attributes): Add support for Virtualization
247 Extensions.
248 * doc/c-arm.texi: Document 'virt' extension.
249
250 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
251
252 * config/tc-arm.c (arm_ext_adiv): New variable.
253 (do_div): New function.
254 (insns): Accept UDIV and SDIV in ARM state.
255 (arm_cpus): The cortex-a15 option has all current v7-A extensions.
256 (arm_extensions): Add 'idiv' extension.
257 (aeabi_set_public_attributes): Update Tag_DIV_use values for the
258 Integer Divide extension.
259 * doc/c-arm.texi: Document the idiv extension.
260
261 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
262
263 * config/tc-arm.c (arm_ext_v6m): New variable.
264 (arm_ext_m): Add support for OS extension.
265 (arm_ext_os): New variable.
266 (do_t_swi): In v6-M ensure we have the OS extension.
267 (arm_cpus): The cortex-m1 and cortex-m0 options have the OS
268 extension by default.
269 (arm_archs): Add armv6s-m.
270 (arm_extensions): Add 'os' extension.
271 (cpu_arch_ver): Add support for v6S-M.
272 * doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
273 architecture options.
274
275 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
276
277 * config/tc-arm.c (arm_ext_v6z): Remove.
278 (arm_ext_sec): New variable.
279 (do_t_smc): In Thumb state SMC requires v7-A.
280 (insns): Make SMC depend on Security Extensions.
281 (arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
282 (arm_extensions): Add 'sec' extension.
283 (cpu_arch_ver): Reorder.
284 (aeabi_set_public_attributes): Emit Tag_Virtualization_use as
285 appropriate.
286 * doc/c-arm.texi: Document Security Extensions.
287
288 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
289
290 * config/tc-arm.c (arm_ext_mp): Add.
291 (do_pld): Update comment.
292 (insns): Add support for pldw.
293 (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
294 MP extension.
295 (arm_extensions): Add 'mp' extension.
296 (aeabi_set_public_attributes): Emit correct build attribute when
297 MP extension is enabled.
298 * doc/c-arm.texi: Update for MP extensions.
299
300 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
301
302 * config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
303 (arm_option_extension_value_table): Add.
304 (arm_extensions): Change type.
305 (arm_option_cpu_table): Rename...
306 (arm_option_fpu_table): ...to this.
307 (arm_fpus): Change type.
308 (arm_parse_extension): Enforce alphabetical order. Allow
309 extensions to be removed.
310 (arm_parse_arch): Allow extensions to be specified with -march.
311 (s_arm_arch_extension): Add.
312 (s_arm_fpu): Update for type changes.
313 * doc/c-arm.texi: Document changes to infrastructure.
314
315 2010-09-23 Alan Modra <amodra@gmail.com>
316
317 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
318 with the absolute section symbol.
319
320 2010-09-22 Mike Frysinger <vapier@gentoo.org>
321
322 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
323
324 2010-09-22 Robin Getz <robin.getz@analog.com>
325
326 * config/bfin-parse.y (is_store): New function.
327 (gen_multi_instr_1): Check parallel slots for store insns.
328
329 2010-09-22 Robin Getz <robin.getz@analog.com>
330
331 * config/bfin-defs.h (IS_EMUDAT): New define.
332 * config/bfin-parse.y: Accept EMUDAT for any register move.
333
334 2010-09-22 Robin Getz <robin.getz@analog.com>
335
336 * config/bfin-parse.y: Improve error messages.
337
338 2010-09-22 Robin Getz <robin.getz@analog.com>
339
340 * config/bfin-parse.y (DBG): Fix regno encoding.
341 (DBGCMPLX): Likewise.
342
343 2010-09-22 Robin Getz <robin.getz@analog.com>
344
345 * config/bfin-lex.l: Accept multibyte chars in symbol names.
346
347 2010-09-22 Robin Getz <robin.getz@analog.com>
348
349 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
350 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
351
352 2010-09-22 Mike Frysinger <vapier@gentoo.org>
353
354 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
355 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
356 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
357
358 2010-09-22 Mike Frysinger <vapier@gentoo.org>
359
360 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
361 * config/bfin-parse.y (ABORT): Handle the ABORT token.
362
363 2010-09-22 Mike Frysinger <vapier@gentoo.org>
364
365 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
366
367 2010-09-22 Mike Frysinger <vapier@gentoo.org>
368
369 * doc/c-bfin.texi (-mcpu): Add bf592.
370 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
371 (bfin_cpus[]): Add 0.0/0.1 for bf592.
372
373 2010-09-22 Mike Frysinger <vapier@gentoo.org>
374
375 * config/tc-bfin.c (comment_chars): Add #.
376
377 2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
378
379 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
380
381 2010-09-20 Richard Henderson <rth@redhat.com>
382
383 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
384 bfd_perform_reloc for OBJ_ELF.
385
386 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
387
388 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
389 list for ldm/stm.
390
391 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
392
393 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
394 non-M-arch cpus.
395 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
396
397 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
398
399 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
400 of just RR.
401
402 2010-09-17 Andrew Burgess <aburgess@broadcom.com>
403
404 PR gas/12011
405 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
406 for error return from md_elf_section_letter.
407 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
408 * config/tc-i386.c (x86_64_section_letter): Likewise.
409 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
410 * config/tc-mep.c (mep_elf_section_letter): Likewise.
411
412 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
413
414 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
415 (obj_coff_seh_endproc): Add check for segment.
416 (obj_coff_seh_endprologue): Likewise.
417 (obj_coff_seh_pushreg): Likewise.
418 (obj_coff_seh_pushframe): Likewise.
419 (obj_coff_seh_save): Likewise.
420 (obj_coff_seh_setframe): Likewise.
421
422 * config/obj-coff-seh.h (seh_context): New member code_seg.
423 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
424 for link-once code-segment.
425
426 2010-09-14 Jie Zhang <jie@codesourcery.com>
427
428 * doc/c-arm.texi: Document -mcpu=cortex-m4.
429
430 2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
431
432 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
433 VEX prefix.
434
435 2010-09-09 Joseph Myers <joseph@codesourcery.com>
436
437 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
438
439 2010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
440
441 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
442 * doc/c-arm.texi: Document -mcpu=cortex-a15.
443
444 2010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
445
446 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
447 weak symbols first if generating an a.out object.
448
449 2010-09-09 Tejas Belagod <tejas.belagod@arm.com>
450
451 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
452 flag-setting and handle accordingly.
453
454 2010-09-09 Nick Clifton <nickc@redhat.com>
455
456 PR gas/11972
457 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
458 extended to the size of a .octa.
459
460 2010-09-08 Julian Brown <julian@codesourcery.com>
461
462 * config/tc-arm.c (create_neon_reg_alias): Deal with case
463 sensitivity.
464
465 2010-09-08 Nick Clifton <nickc@redhat.com>
466
467 PR gas/11973
468 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
469 long call instruction's displacement.
470
471 2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
472
473 PR gas/11974
474 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
475 instead of use_rela_relocations for 64bit.
476
477 2010-09-02 Richard Henderson <rth@redhat.com>
478
479 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
480 (output_fde): Use it. Make sure to fully init exp before using it.
481
482 2010-08-31 Kai Tietz <kai.tietz@onevision.com>
483
484 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
485 (obj_coff_seh_stackalloc): Likewise.
486
487 2010-08-31 Alan Modra <amodra@gmail.com>
488
489 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
490
491 2010-08-30 Richard Henderson <rth@redhat.com>
492
493 * config/obj-coff-seh.c: Rewrite the entire file.
494 (symtab, symptr, reltab, relcount, relsize): Remove.
495 (seh_ctx_root, seh_ctx): Remove.
496 (xdata_seg, xdata_subseg, pdata_seg): New.
497 (switch_xdata, switch_pdata): New.
498 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
499 New parsing functions. Rewrite all parsing functions to use them.
500 (obj_coff_seh_32): Fix != arm thinko.
501 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
502 only flags.
503 (obj_coff_seh_handlerdata): New.
504 (do_seh_endproc): Split out of ...
505 (obj_coff_seh_endproc): ... here.
506 (obj_coff_seh_proc): Use it, if needed.
507 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
508 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
509 alternatives. Don't slurp commas.
510 (seh_read_offset): Remove.
511 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
512 (obj_coff_seh_scope): Remove.
513 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
514 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
515 (out_one, out_two, out_four): New.
516 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
517 seh_x64_write_function_xdata, write_function_xdata): Rewrite
518 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
519 seh_getelm_data_size, seh_getsize_of_unwind_entry,
520 seh_make_unwind_entry, seh_getsize_unwind_data, and
521 seh_create_unwind_data.
522 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
523 (write_function_pdata): Rewrite from make_function_entry_pdata.
524 (seh_write_text_eh_data, make_function_entry_pdata,
525 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
526 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
527 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
528 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
529 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
530 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
531 seh_getsize_unwind_data, seh_create_unwind_data,
532 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
533 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
534 Add seh_handlerdata. Adjust function/what arguments for
535 seh_savereg, seh_pushframe, seh_stackalloc.
536 (struct seh_prologue_element): Adjust members to closer match
537 the elements of the UNWIND_CODE structure.
538 (struct seh_scope_elem): Remove.
539 (struct seh_context): Replace char* members with symbolS or
540 expressionS as appropriate. Sort members by ARM/x64 applicability.
541 Remove obsolete stuff wrt direct symbol and reloc manipulation.
542
543 2010-08-25 Alan Modra <amodra@gmail.com>
544
545 * NEWS: Mention ampersand in macro change.
546
547 2010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
548
549 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
550
551 2010-08-25 Alan Modra <amodra@gmail.com>
552
553 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
554 "name" buffer.
555 * config/tc-m68hc11.c (md_assemble): Likewise.
556 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
557 of is_end_of_line index.
558
559 2010-08-25 Jie Zhang <jie@codesourcery.com>
560
561 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
562
563 2010-08-25 Jie Zhang <jie@codesourcery.com>
564
565 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
566 BAD_PC_ADDRESSING condition.
567
568 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
569
570 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
571
572 2010-08-19 H.J. Lu <hongjiu.lu@intel.com>
573
574 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
575
576 2010-08-18 H.J. Lu <hongjiu.lu@intel.com>
577
578 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
579 instead of VEXXDS.
580
581 2010-08-18 Alan Modra <amodra@gmail.com>
582
583 * macro.c (sub_actual): Add back ampersand suffix when no
584 substitution.
585 (macro_expand_body): Correct comment.
586
587 2010-08-17 Roland McGrath <roland@redhat.com>
588
589 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
590 boolean result parameter CLONE; set it if '?' flag letter seen.
591 (obj_elf_section): Update caller. Handle that flag by copying
592 the LINKONCE and GROUP_NAME state from NOW_SEG.
593 * doc/as.texinfo (Section): Document the ? flag.
594
595 2010-08-09 Cary Coutant <ccoutant@google.com>
596
597 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
598 installed.
599 (main): Warn if --compress-debug-sections requested and zlib not
600 installed.
601 * doc/as.texinfo: Add --compress-debug-sections,
602 --nocompress-debug-sections.
603
604 2010-08-06 H.J. Lu <hongjiu.lu@intel.com>
605
606 * config/tc-i386.c (set_cpu_arch): Re-indent.
607 (md_parse_option): Likewise.
608
609 2010-08-06 Quentin Neill <quentin.neill@amd.com>
610
611 * config/tc-i386.c (arch_entry): Add negated bit to
612 disambiguate flag names starting with "no".
613 (cpu_arch): Add negated bit definitions. Add
614 ".nop" CPU extension.
615 (i386_align_code): Use new .cpunop bit to decide
616 when to generate alignment using nops.
617 (set_cpu_arch): Use negated bit instead to decide
618 when to use cpu_flags or vs. cpu_flags_and_not.
619 (md_parse_option): Likewise.
620
621 2010-08-04 H.J. Lu <hongjiu.lu@intel.com>
622
623 * config/tc-i386.c (match_template): Move the first i.error
624 out of the loop.
625
626 2010-08-04 Alan Modra <amodra@gmail.com>
627
628 * configure.tgt (m32c): Set endian=little.
629 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
630 * config/tc-m32c.c (md_number_to_chars): Revert last change.
631
632 2010-08-03 Tristan Gingold <gingold@adacore.com>
633
634 * makefile.vms (OBJS): Add Add compress-debug.c.
635
636 2010-08-03 Alan Modra <amodra@gmail.com>
637
638 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
639 * config/tc-m32c.c (md_number_to_chars): Call bigendian
640 form of number_to_chars, not littleendian.
641
642 2010-08-02 Alan Modra <amodra@gmail.com>
643
644 * config/tc-d30v.c (d30v_cons_align): Don't align constants
645 in debug sections.
646
647 2010-08-02 Alan Modra <amodra@gmail.com>
648
649 PR gas/11867
650 * expr.c (operand <'-' and '~'>): Widen bignums.
651 (operand <'!'>): Correct bignum result and convert to O_constant.
652 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
653 bignum truncated warning for sign extended bignums.
654
655 2010-08-02 Alan Modra <amodra@gmail.com>
656
657 * config/tc-v850.c (md_assemble): Always pass format string to
658 as_warn.
659 (md_apply_fix): Similarly for as_warn_where.
660
661 2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
662
663 * config/tc-i386-intel.c: Reformat.
664
665 2010-07-29 Alan Modra <amodra@gmail.com>
666
667 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
668 in large toc code.
669
670 2010-07-28 Alan Modra <amodra@gmail.com>
671
672 PR gas/11841
673 * symbols.c (symbol_clone): Correct typo in previous patch.
674
675 2010-07-28 Alan Modra <amodra@gmail.com>
676
677 PR gas/11841
678 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
679
680 2010-07-28 Alan Modra <amodra@gmail.com>
681
682 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
683 syntax error message.
684
685 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
686
687 * config/tc-mips.c (mips16_macro_build): Pass "args" by
688 reference rather than value.
689 (macro_build): Update accordingly.
690
691 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
692
693 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
694 a fake label.
695
696 2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
697
698 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
699 delay slot in the noreorder mode with the o32 ABI.
700
701 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
702 Ina Pandit <ina.pandit@kpitcummins.com>
703
704 * config/tc-v850.c: Update processor_mask.
705 (reg_name): Update the structure to use processors field.
706 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
707 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
708 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
709 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
710 SUBYPTE_SA_9_17_22_32.
711 (set_machine): Add support for V850E2 and V850E2V3.
712 (md_pseudo_table): Likewise.
713 (pre_defined_registers): Update pre defined registers suitable
714 for each family of registers.
715 (system_registers): Likewise.
716 (cc_names): Update the condition code.
717 (float_cc_names): Update the condition code for float.
718 (reg_name_search): Update based on current modifications.
719 (register_name): Likewise.
720 (system_register_name): Update to support new system registers
721 and supported families.
722 (cc_name): Update to support new condition codes.
723 (float_cc_name): New function to support float condition codes.
724 (parse_register_list): Update to support newly added registers.
725 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
726 Also support added for disp-size-default-22, disp-size-default-32,
727 mextension, mno-bcond17 and mno-stld23.
728 (md_parse_option): Implement the support for above options defined
729 in md_show-usage.
730 (md_convert_frag): Implement support for subtypes defined in
731 md_relax_table to support branch operations.
732 (md_begin): Add support for V850E2 and V850E2V3.
733 (handle_hi016, handle_hi16): new relocation handling functions
734 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
735 handle_tdaoff): Updated relocation handling functions for newly
736 added relocations.
737 (v850_reloc_prefix): Update the relocation handling functions.
738 (v850_insert_operand): Updated the functions with error message
739 parameter and modified the function to use it.
740 (md_assemble): Update according to the latest modifications.
741 (md_apply_fix): Updated the functions with error message parameter
742 and modified the function to use it.
743 (v850_force_relocation): Update with newly added relocations.
744 * configure.tgt: Match all v850 targets.
745 * doc/c-v850.texi: Document the newly added targets.
746 * NEWS: Likewise.
747
748 2010-07-23 Alan Modra <amodra@gmail.com>
749
750 PR gas/11834
751 * macro.c (macro_expand): Recover gracefully from named args that
752 don't match params.
753
754 2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
755
756 Switch MIPS to 32-bit DWARF format.
757 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
758 * config/tc-mips.c (mips_dwarf2_format): Likewise.
759
760 2010-07-20 Alan Modra <amodra@gmail.com>
761
762 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
763
764 2010-07-16 Alan Modra <amodra@gmail.com>
765
766 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
767 specifier warnings for 32-bit host when --enable-64-bit-bfd.
768 (rx_relax_frag, md_convert_frag): Likewise.
769
770 2010-07-15 Cary Coutant <ccoutant@google.com>
771
772 * gas/NEWS: Add note about --compress-debug-sections.
773 * gas/as.c (show_usage): Add --compress-debug-sections and
774 --nocompress-debug-sections.
775
776 2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
777
778 * config/obj-elf.c (get_sym_from_input_line_and_check): New
779 function to catch missing pseudo-op arguments.
780 (obj_elf_local): Call new function.
781 (obj_elf_weak): Likewise.
782 (obj_elf_visibility): Likewise.
783 (obj_elf_vtable_entry): Likewise.
784 (obj_elf_type): Likewise.
785
786 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
787
788 * config/obj-coff-seh.c
789 (seh_getelm_data_size): New.
790 (seh_read_offset): Handle negative values.
791 (obj_coff_seh_push): Handle offset for save-register store.
792 (obj_coff_seh_setframe): Add unwind-information for frame.
793 (seh_store_elm_data): New.
794 (seh_getelm_data_size): Return additionally unaligned element count.
795 (seh_make_unwind_entry): Correct tweak about element count.
796
797 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
798
799 PR gas/11806
800 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
801 through patch for O_multiply.
802
803 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
804
805 PR ld/11612
806 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
807
808 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
809
810 * tc-arm.c (OP_oBARRIER): Remove.
811 (OP_oBARRIER_I15): Add.
812 (po_barrier_or_imm): Add macro.
813 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
814 (do_barrier): Check correct immediate range.
815 (do_t_barrier): Likewise.
816 (barrier_opt_names): Add entries for more symbolic operands.
817 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
818
819 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
820
821 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
822 error message.
823
824 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
825
826 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
827 symbols.
828
829 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
830
831 * config/tc-mips.c (nops_for_insn_or_target): Replace
832 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
833 MIPS16_INSN_COND_BRANCH.
834
835 2010-07-05 Jim Wilson <wilson@codesourcery.com>
836
837 PR gas/10531
838 PR gas/11789
839 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
840 if it isn't empty.
841
842 2010-07-05 Alan Modra <amodra@gmail.com>
843
844 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
845 unused var.
846
847 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
848
849 * Makefile.am (CONFIG_OBJS): Removed.
850 (GENERIC_OBJS): Likewise.
851 (OBJS): Likewise.
852 * Makefile.in: Regenerated.
853
854 2010-07-03 Jan Beulich <jbeulich@novell.com>
855
856 PR gas/11732
857 * config/tc-i386.c (i386_finalize_displacement): Don't call
858 section_symbol() with expr_section.
859
860 2010-07-03 Cary Coutant <ccoutant@google.com>
861
862 * Makefile.am: Add compress-debug.c and compress-debug.h.
863 * Makefile.in: Regenerate.
864 * config.in: Add HAVE_ZLIB_H.
865 * configure.in: Check for zlib.h.
866 * configure: Regenerate.
867
868 * as.c (parse_args): Add --compress-debug-sections and
869 --nocompress-debug-sections.
870 * as.h (flag_compress_debug): New variable.
871 * compress-debug.c: New file.
872 * compress-debug.h: New file.
873 * write.c: Include compress-debug.h.
874 (compress_frag): New function.
875 (compress_debug): New function.
876 (write_object_file): Compress debug sections if requested.
877
878 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
879
880 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
881 before inverting.
882
883 2010-07-03 Alan Modra <amodra@gmail.com>
884
885 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
886 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
887
888 2010-07-02 DJ Delorie <dj@redhat.com>
889
890 * config/tc-rx.h (md_do_align): New.
891 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
892 * config/tc-rx.c (nops): New.
893 (rx_handle_align): Use various sized nops to align code.
894
895 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
896 relaxation.
897 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
898
899 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
900
901 AVX Programming Reference (June, 2010)
902 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
903 and .f16c.
904
905 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
906
907 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
908
909 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
910 deprecated mov register instructions.
911
912 2010-07-01 Alan Modra <amodra@gmail.com>
913
914 * config/tc-ppc.c (toc_reloc_types): New variable.
915 (md_assemble): Set it.
916 (ppc_frob_file_before_adjust): Don't warn about toc section size
917 if we have large toc relocs and no small toc relocs.
918
919 2010-06-29 Alan Modra <amodra@gmail.com>
920
921 * config/tc-maxq.h: Delete file.
922 * config/tc-maxq.c: Delete file.
923 * Makefile.am: Remove references to maxq.
924 * configure.tgt: Likewise.
925 * config/obj-coff.h: Likewise.
926 * Makefile.in: Regenerate.
927 * configure: Regenerate.
928 * po/POTFILES.in: Regenerate.
929
930 2010-06-28 Alan Modra <amodra@gmail.com>
931
932 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
933 * config/tc-crx.c (gettrap): Constify arg.
934 (handle_LoadStor, get_cinv_parameters): Likewise.
935 (getreg_image): Fix enum warning
936 (md_assemble): Restore input line char.
937 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
938 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
939 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
940 (build_Mytes): Fix build failure for non-elf targets.
941 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
942 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
943
944 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
945 * ecoff.c (add_ecoff_symbol): Likewise.
946 * itbl-ops.c (append_insns_as_macros): Likewise.
947 * listing.c (debugging_pseudo): Likewise.
948 * read.c (s_mri_common, stringer): Likewise.
949 * config/obj-coff.c (coff_frob_section): Likewise.
950 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
951 * config/tc-arm.c (my_get_expression): Likewise.
952 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
953 * config/tc-m32c.c (md_assemble): Likewise.
954 * config/tc-microblaze.c (md_convert_frag): Likewise.
955 * config/tc-mips.c (s_change_section): Likewise.
956 * config/tc-mt.c (mt_fix_adjustable): Likewise.
957 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
958
959 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
960 unused vars.
961 * config/tc-alpha.c (load_expression): Likewise.
962 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
963 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
964 * config/tc-avr.c (extract_word): Likewise.
965 * config/tc-cris.c (cris_get_expression): Likewise.
966 * config/tc-d30v.c (build_insn, find_format): Likewise.
967 * config/tc-dlx.c (machine_ip): Likewise.
968 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
969 * config/tc-i370.c (md_assemble): Likewise.
970 * config/tc-i960.c (brtab_emit): Likewise.
971 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
972 * config/tc-m32c.c (md_convert_frag): Likewise.
973 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
974 (md_estimate_size_before_relax, md_apply_fix): Likewise.
975 * config/tc-m68k.c (md_show_usage): Likewise.
976 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
977 * config/tc-mips.c (s_mips_end): Likewise.
978 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
979 * config/tc-mn10300.c (md_assemble): Likewise.
980 * config/tc-msp430.c (extract_word): Likewise.
981 * config/tc-mt.c (md_assemble): Likewise.
982 * config/tc-or32.c (machine_ip): Likewise.
983 * config/tc-pj.c (md_apply_fix): Likewise.
984 * config/tc-s390.c (md_gather_operands): Likewise.
985 * config/tc-sh.c (sh_cons_align): Likewise.
986 * config/tc-sparc.c (sparc_cons_align): Likewise.
987 * config/tc-tic4x.c (tic4x_sect): Likewise.
988 * config/tc-tic54x.c (tic54x_stringer): Likewise.
989 * config/tc-vax.c (vip_op): Likewise.
990 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
991 * config/tc-xtensa.c (md_assemble): Likewise.
992 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
993 (xtensa_move_literals): Likewise.
994
995 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
996
997 * config/tc-arm.c (parse_neon_alignment): New function.
998 (parse_address_main): Fix Neon load/store alignment parsing.
999
1000 2010-06-22 Jan Beulich <jbeulich@novell.com>
1001
1002 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
1003 symbols named "$".
1004 (i386_intel_operand): Remove bogus handling of pseudo symbols
1005 named "$".
1006 * expr.c (current_location): Remove 'static' and local
1007 declaration.
1008 * expr.h (current_location): Declare.
1009
1010 2010-06-21 Sterling Augustine <sterling@tensilica.com>
1011
1012 PR gas/11728
1013 * as.c: Globalize keep_it.
1014 (main): Remove keep_it. Move conditional from here...
1015 (close_output_file): ...to here.
1016
1017 2010-06-21 Andreas Schwab <schwab@redhat.com>
1018
1019 * doc/as.texinfo (Overview): Use @itemx for grouped @table
1020 items.
1021 * doc/c-alpha.texi (Alpha Options): Likewise.
1022 * doc/c-arm.texi (ARM Directives): Likewise.
1023 * doc/c-bfin.texi (Blackfin Options): Likewise.
1024 * doc/c-d10v.texi (D10V-Opts): Likewise.
1025 * doc/c-i386.texi (i386-Options): Likewise.
1026 * doc/c-ia64.texi (IA-64 Options): Likewise.
1027 * doc/c-m68k.texi (M68K-Opts): Likewise.
1028 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
1029 * doc/internals.texi (Symbols): Likewise.
1030
1031 2010-06-21 Alan Modra <amodra@gmail.com>
1032
1033 PR gas/11733
1034 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
1035
1036 2010-06-18 Joseph Myers <joseph@codesourcery.com>
1037
1038 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
1039 func_units_used.
1040 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
1041 (md_assemble): Clear func_units_used for new execute packet.
1042 Check for duplicate functional units and update func_units_used
1043 for instructions using a functional unit.
1044
1045 2010-06-15 Joseph Myers <joseph@codesourcery.com>
1046
1047 * config/tc-tic6x.c: Include elf/tic6x.h.
1048 (tic6x_arch_attribute, tic6x_seen_insns): New.
1049 (tic6x_arch_table, tic6x_arches): Add attribute values.
1050 (tic6x_use_arch): Handle attribute settings.
1051 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
1052 tic6x_attribute_table, tic6x_attributes,
1053 tic6x_convert_symbolic_attribute): New.
1054 (md_pseudo_table): Add c6xabi_attribute.
1055 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
1056 (tic6x_set_attribute_int, tic6x_set_attributes): New.
1057 (tic6x_end): Call tic6x_set_attributes.
1058 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
1059 (tic6x_convert_symbolic_attribute): Declare.
1060
1061 2010-06-14 Alan Modra <amodra@gmail.com>
1062
1063 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
1064 PPC_OPCODE_E500.
1065
1066 2010-06-11 Jan Beulich <jbeulich@novell.com>
1067
1068 * config/tc-i386.c (md_parse_option): Ignore impossible processor
1069 types.
1070 (show_arch): New parameter 'check'.
1071 (md_show_usage): Adjust calls to show_arch().
1072
1073 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
1074
1075 * config/tc-i386.c (update_code_flag): New.
1076 (set_code_flag): Use it.
1077 (i386_target_format): Replace set_code_flag with update_code_flag.
1078
1079 2010-06-10 Tristan Gingold <gingold@adacore.com>
1080
1081 * config/obj-som.h: Includes som/reloc.h
1082
1083 2010-06-10 Jan Beulich <jbeulich@novell.com>
1084
1085 * config/tc-i386.c (cpu_arch): Add comment.
1086 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
1087 from the generic entries of cpu_arch[].
1088
1089 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1090
1091 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
1092 value.
1093 (parse_operands): Add support for OP_RRnpctw.
1094 (insns): Update floating-point load/store multiples so the
1095 first register is of type OP_RRnpctw.
1096
1097 2010-06-08 Quentin Neill <quentin.neill@amd.com>
1098
1099 * config/tc-i386.c (pi): Rename local loop counter
1100 variable i that shadows global static i386_insn i
1101 when DEBUG386 is defined.
1102 (pte) Ditto.
1103
1104 2010-06-08 Nick Clifton <nickc@redhat.com>
1105
1106 * doc/as.texinfo: Replace abbreviated 20th century year numbers
1107 with full versions.
1108
1109 2010-06-02 Quentin Neill <quentin.neill@amd.com>
1110
1111 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
1112
1113 2010-06-02 Tristan Gingold <gingold@adacore.com>
1114
1115 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
1116 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
1117 Remove conditionnal inclusion of stdarg.h and varargs.h.
1118 Assume ISO C.
1119 * config.in: Regenerate.
1120 * configure: Regenerate.
1121 * configure.in: Remove stdarg.h and varargs.h from
1122 AC_CHECK_HEADERS list.
1123 * messages.c (as_tsktsk): Remove non ISO C version.
1124 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
1125
1126 2010-05-31 Tristan Gingold <gingold@adacore.com>
1127
1128 * config/tc-alpha.c: Add comments for evax.
1129 * config/obj-evax.c: Ditto.
1130
1131 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1132
1133 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
1134 lsls and not adds.
1135
1136 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1137
1138 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
1139 writeback when base register is in register list an error, and
1140 correct check.
1141 (do_t_ldmstm): Change warnings.
1142
1143 2010-05-26 Catherine Moore <clm@codesourcery.com>
1144
1145 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
1146 (macro_build): Change invocation of is_opcode_valid.
1147 (mips_ip): Likewise.
1148
1149 2010-05-25 Nick Clifton <nickc@redhat.com>
1150
1151 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
1152 * Makefile.in: Regenerate.
1153
1154 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
1155 Joseph Myers <joseph@codesourcery.com>
1156 Andrew Stubbs <ams@codesourcery.com>
1157
1158 * config/tc-sh.c (sh_fdpic): New.
1159 (sh_check_fixup): Handle relocations on movi20.
1160 (parse_exp): Do not reject PIC operators here.
1161 (build_Mytes): Check for unhandled PIC operators here. Use
1162 sh_check_fixup for movi20.
1163 (enum options): Add OPTION_FDPIC.
1164 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
1165 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
1166 (sh_elf_final_processing): Handle --fdpic.
1167 (sh_uclinux_target_format): New.
1168 (sh_parse_name): Handle FDPIC relocation operators.
1169 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
1170 (sh_uclinux_target_format): Declare for TE_UCLINUX.
1171 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
1172 em=uclinux.
1173 * doc/c-sh.texi (SH Options): Document --fdpic.
1174
1175 2010-05-25 Jay Krell <jay.krell@cornell.edu>
1176
1177 PR ld/11621
1178 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
1179 * Makefile.in: Regenerate.
1180
1181 2010-05-25 Alan Modra <amodra@gmail.com>
1182
1183 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
1184
1185 2010-05-19 Nick Clifton <nickc@redhat.com>
1186
1187 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
1188 of known section prefixes.
1189
1190 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
1191
1192 PR gas/11600
1193 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
1194 (obj_elf_parse_section_letters): Likewise.
1195 (obj_elf_section_word): Likewise.
1196
1197 * config/tc-ppc.c (ppc_section_letter): Removed.
1198 (ppc_section_word): Likewise.
1199 * config/tc-ppc.h (ppc_section_letter): Likewise.
1200 (ppc_section_word): Likewise.
1201 (md_elf_section_letter): Likewise.
1202 (md_elf_section_word): Likewise.
1203
1204 * doc/as.texinfo: Document `e' and `#exclude'.
1205
1206 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
1207
1208 * config/tc-arm.c (md_assemble): Clarify current mode in error
1209 messages about unsupported instructions.
1210 (UT): Delete #define.
1211 (insns): Adjust cbnz, cbz appropriately.
1212
1213 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
1214
1215 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
1216
1217 2010-05-11 Jie Zhang <jie@codesourcery.com>
1218
1219 * config/tc-arm.c (aeabi_set_public_attributes): Set
1220 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
1221
1222 2010-05-07 Tristan Gingold <gingold@adacore.com>
1223
1224 * Makefile.in: Regenerate with automake 1.11.1.
1225 * aclocal.m4: Ditto.
1226 * doc/Makefile.in: Ditto.
1227
1228 2010-05-05 Nick Clifton <nickc@redhat.com>
1229
1230 * po/es.po: Updated Spanish translation.
1231
1232 2010-05-05 Julian Brown <julian@codesourcery.com>
1233
1234 * read.c (cons_worker): Detect and reject unexpected string argument.
1235
1236 2010-05-04 Nick Clifton <nickc@redhat.com>
1237
1238 * write.c (fixup_segment): Revert previous delta.
1239 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
1240 generation of relocations for fixups against weak symbols.
1241
1242 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
1243
1244 * write.c (fixup_segment): Do not assume we know the section a
1245 defined weak symbol is in.
1246 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
1247 weak symbols as not known to be in the same section, even if they
1248 are defined.
1249
1250 2010-04-27 Joseph Myers <joseph@codesourcery.com>
1251
1252 * config/tc-tic6x.h (tic6x_label_list): New.
1253 (tic6x_segment_info_type): Keep a list of labels and a current
1254 frag instead of a boolean for whether labels seen and a count of
1255 instructions.
1256 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
1257 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
1258 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
1259 (tic6x_cleanup): Correct comment.
1260 (tic6x_free_label_list): New.
1261 (tic6x_cons_align): Free label list and update for
1262 tic6x_segment_info_type changes.
1263 (tic6x_do_align): New.
1264 (md_assemble): Handle list of labels and saved frag for execute
1265 packet. Create machine-dependent frag for new execute packet and
1266 adjust labels accordingly.
1267 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
1268 (md_convert_frag, md_estimate_size_before_relax): Update comments.
1269
1270 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 PR gas/11535
1273 * config/tc-i386-intel.c (intel_state): Add is_indirect.
1274 (i386_intel_operand): Initialize intel_state.is_indirect. Check
1275 intel_state.is_indirect for "call|jmp [symbol]".
1276
1277 2010-04-22 Nick Clifton <nickc@redhat.com>
1278
1279 * po/gas.pot: Updated by the Translation project.
1280
1281 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 * config/tc-i386.c (i386_is_register): Removed.
1284 (x86_cons): Don't use i386_is_register.
1285 (parse_register): Likewise.
1286 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1287 (i386_intel_operand): Likewise.
1288
1289 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1290
1291 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1292 i386_is_register.
1293
1294 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1297 (x86_cons): Updated.
1298 (parse_register): Likewise.
1299 (tc_x86_parse_to_dw2regnum): Likewise.
1300 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1301 (i386_intel_operand): Likewise.
1302
1303 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1304
1305 PR gas/11509
1306 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
1307 (i386_intel_simplify): Use i386_is_register and
1308 i386_intel_simplify_register. Set X_md for O_register and
1309 check X_md for O_constant.
1310 (i386_intel_operand): Use i386_is_register.
1311
1312 * config/tc-i386.c (i386_is_register): New.
1313 (x86_cons): Initialize the X_md field. Use i386_is_register.
1314 (parse_register): Use i386_is_register.
1315 (tc_x86_parse_to_dw2regnum): Likewise.
1316
1317 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1318
1319 * expr.c (expr): Initialize the X_md field.
1320
1321 2010-04-20 Joseph Myers <joseph@codesourcery.com>
1322
1323 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1324 (md_longopts): Add -mgenerate-rel.
1325 (tic6x_generate_rela): New.
1326 (md_parse_option): Handle -mgenerate-rel.
1327 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1328 (tic6x_init_after_args): New.
1329 (md_apply_fix): Correct shift calculations for SB-relative
1330 relocations.
1331 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1332 adjust addresses for relocations referencing symbols in other
1333 sections.
1334 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1335 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1336 tic6x_pcrel_from_section, tc_init_after_args,
1337 tic6x_init_after_args): New.
1338
1339 2010-04-20 Nick Clifton <nickc@redhat.com>
1340
1341 PR gas/11507
1342 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1343 altmacro mode if found inside a quoted string.
1344
1345 2010-04-20 Mike Frysinger <vapier@gentoo.org>
1346
1347 * config/bfin-lex.l (parse_int): Change index() to strchr().
1348
1349 2010-04-16 Nick Clifton <nickc@redhat.com>
1350
1351 PR gas/11395
1352 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1353 matcher to accept and unconditional 32-bit add instruction.
1354 (pa_build_unwind_subspace): Cope with error conditions not
1355 allowing the start symbol to be set.
1356
1357 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1358
1359 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1360 new tag names in v2.08 of ARM ABI.
1361 * doc/c-arm.texi: Document new tag names in ABI.
1362
1363 2010-04-14 Tristan Gingold <gingold@adacore.com>
1364
1365 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1366 (s_alpha_comm): Used new EGPS macros from egps.h
1367 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1368 (s_alpha_section_word): Add comments. Use new EGPS macros.
1369 Adjust for modified bfd_vms_set_section_flags function.
1370
1371 2010-04-10 Alan Modra <amodra@gmail.com>
1372
1373 PR gas/11486
1374 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1375
1376 2010-04-09 Nick Clifton <nickc@redhat.com>
1377
1378 * as.c (create_obj_attrs_section): Remove unused variable addr.
1379 * listing.c (listing_listing): Remove unused variable message.
1380 * read.c: Remove unnecessary register type qualifiers.
1381 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1382 defined.
1383
1384 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1385
1386 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1387 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1388 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1389 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1390 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1391 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1392 atmega88pa, attiny461a, attiny84a, m3000.
1393 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1394 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1395 * doc/c-avr.texi: Same.
1396
1397 2010-04-07 Jie Zhang <jie@codesourcery.com>
1398
1399 * config/tc-arm.c (make_mapping_symbol): Handle the case
1400 that multiple mapping symbols have the same value 0.
1401
1402 2010-04-07 Alan Modra <amodra@gmail.com>
1403
1404 * configure: Regenerate.
1405
1406 2010-04-06 Nick Clifton <nickc@redhat.com>
1407
1408 * po/ru.po: New Russian translation.
1409 * configure.in (ALL_LINGUAS): Add ru.
1410 * configure: Regenerate.
1411
1412 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1413
1414 PR gas/11456
1415 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1416 of memcpy to copy overlap memory.
1417
1418 2010-03-25 Joseph Myers <joseph@codesourcery.com>
1419
1420 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1421 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1422 * Makefile.in: Regenerate.
1423 * NEWS: Add news entry for TI C6X support.
1424 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1425 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1426 operands if TC_KEEP_OPERAND_SPACES.
1427 * configure.tgt (tic6x-*-*): New.
1428 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1429 TC_PREDICATE_END_CHAR): Define.
1430 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1431 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1432 * doc/Makefile.in: Regenerate.
1433 * doc/all.texi (TIC6X): Define.
1434 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1435 * doc/c-tic6x.texi: New.
1436
1437 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1438
1439 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1440
1441 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1442
1443 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1444 with operand_size_mismatch.
1445 (operand_size_match): Updated.
1446 (match_template): Likewise.
1447
1448 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1449
1450 * config/tc-i386.c (i386_error): New.
1451 (_i386_insn): Replace err_msg with error.
1452 (operand_size_match): Set error instead of err_msg on failure.
1453 (operand_type_match): Likewise.
1454 (operand_type_register_match): Likewise.
1455 (VEX_check_operands): Likewise.
1456 (match_template): Likewise. Use error instead of err_msg with
1457 as_bad.
1458
1459 2010-03-19 Jie Zhang <jie@codesourcery.com>
1460
1461 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1462 that two mapping symbols have the same value.
1463
1464 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1465
1466 * doc/c-arm.texi (.setfp): Correct example.
1467
1468 2010-03-18 Wei Guozhi <carrot@google.com>
1469
1470 PR gas/11323
1471 * config/tc-arm.c (reloc_names): New relocation names.
1472 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1473 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1474 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1475
1476 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1477
1478 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1479 cases, and not only for .eh_frame.
1480
1481 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1482 belong to .eh_frame only.
1483
1484 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1485
1486 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1487 assembler constants on 64-bit hosts.
1488
1489 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1490
1491 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1492 Strip trailing whitespace.
1493
1494 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1495
1496 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1497 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1498 BFIN_CPU_BF506.
1499 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1500
1501 2010-03-10 Jie Zhang <jie@codesourcery.com>
1502
1503 * doc/as.texinfo: Add Blackfin options.
1504 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1505 * config/tc-bfin.c (md_show_usage): Show usage for all
1506 Blackfin specific options.
1507
1508 2010-03-09 Alan Modra <amodra@gmail.com>
1509
1510 PR gas/11356
1511 * listing.c (listing_newline): Correct backslash quote logic.
1512
1513 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1514
1515 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1516 (ELF_TARGET_FORMAT64): Define.
1517
1518 2010-03-05 Paul Brook <paul@codesourcery.com>
1519
1520 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1521
1522 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
1523
1524 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1525 reading uninitialized data.
1526
1527 2010-03-01 Tristan Gingold <gingold@adacore.com>
1528
1529 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1530
1531 2010-02-26 Doug Evans <dje@sebabeach.org>
1532
1533 * configure.tgt: Fix mep cpu case.
1534
1535 2010-02-26 Jie Zhang <jie@codesourcery.com>
1536
1537 * config/tc-arm.c (do_t_strexd): Remove
1538 operand[1] != operand[2] contraint.
1539
1540 2010-02-26 Jie Zhang <jie@codesourcery.com>
1541
1542 * config/tc-arm.c (neon_select_shape): No need to match
1543 the remaining operands in the shape when one operand does
1544 not match.
1545
1546 2010-02-26 Jie Zhang <jie@codesourcery.com>
1547
1548 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1549 alignment.
1550
1551 2010-02-25 Doug Evans <dje@sebabeach.org>
1552
1553 * cgen.c: Whitespace fixes.
1554 (weak_operand_overflow_check): Formatting fix.
1555
1556 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1557
1558 * config/tc-i386.c (match_template): Update error messages.
1559
1560 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1561
1562 * config/tc-i386.c (_i386_insn): Add err_msg.
1563 (operand_size_match): Set err_msg on failure.
1564 (operand_type_match): Likewise.
1565 (operand_type_register_match): Likewise.
1566 (VEX_check_operands): Likewise.
1567 (match_template): Likewise. Use i.err_msg with as_bad.
1568
1569 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1570
1571 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1572 mips_fix_loongson2f_jump): New variables.
1573 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1574 -mno-fix-loongson2f-nop/jump.
1575 (md_parse_option): Initialize variables via above options.
1576 (options): New enums for the above options.
1577 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1578 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1579 New functions.
1580 (append_insn): call fix_loongson2f().
1581 (mips_handle_align): Replace the implicit nops.
1582 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1583 for the new mips_handle_align().
1584 * doc/c-mips.texi: Document the new options.
1585
1586 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1587
1588 * config/tc-arm.c (do_rd_rm_rn): Added warning
1589 for obsolete insns.
1590
1591 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1592
1593 PR binutils/11297
1594 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1595 (avr_cons_fix_new): Handle fixups of a single byte.
1596
1597 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1598
1599 PR 9861
1600 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1601 compiler's predefines.
1602
1603 2010-02-19 Alan Modra <amodra@gmail.com>
1604
1605 * configure.tgt: Whiltespace. Sort moxie entry.
1606
1607 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1608
1609 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1610 * doc/c-arm.texi: Likewise.
1611
1612 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1613
1614 * config/tc-arm.c (asm_opcode): operands type
1615 change.
1616 (BAD_PC_ADDRESSING): New macro message.
1617 (BAD_PC_WRITEBACK): Likewise.
1618 (MIX_ARM_THUMB_OPERANDS): New macro.
1619 (operand_parse_code): Added enum values.
1620 (parse_operands): Added thumb/arm distinction,
1621 plus new enum values handling.
1622 (encode_arm_addr_mode_2): Validations enhanced.
1623 (encode_arm_addr_mode_3): Likewise.
1624 (do_rm_rd_rn): Likewise.
1625 (encode_thumb32_addr_mode): Likewise.
1626 (do_t_ldrex): Likewise.
1627 (do_t_ldst): Likewise.
1628 (do_t_strex): Likewise.
1629 (md_assemble): Call parse_operands with
1630 a new parameter.
1631 (OPS_1): New macro.
1632 (OPS_2): Likewise.
1633 (OPS_3): Likewise.
1634 (OPS_4): Likewise.
1635 (OPS_5): Likewise.
1636 (OPS_6): Likewise.
1637 (insns): Updated insns operands.
1638
1639 2010-02-12 Tristan Gingold <gingold@adacore.com>
1640 Douglas B Rupp <rupp@gnat.com>
1641
1642 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1643 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1644 (pseudo_func): Add an entry for slotcount.
1645 (md_begin): Initialize slotcount pseudo symbol.
1646 (ia64_parse_name): Handle @slotcount parameter.
1647 (ia64_gen_real_reloc_type): Handle slotcount.
1648 (md_apply_fix): Ditto.
1649 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1650
1651 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1652
1653 * config/tc-xtensa.c (istack_init): Don't call memset.
1654
1655 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1656
1657 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1658 well as suffixes.
1659
1660 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1661
1662 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1663
1664 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1665
1666 * config/tc-i386.c (build_modrm_byte): Reformat.
1667
1668 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1669
1670 * config/tc-i386.c: Update copyright.
1671
1672 2010-02-10 Quentin Neill <quentin.neill@amd.com>
1673 Sebastian Pop <sebastian.pop@amd.com>
1674
1675 * config/tc-i386.c (vec_imm4) New operand type.
1676 (fits_in_imm4): New.
1677 (VEX_check_operands): New.
1678 (check_reverse): Call VEX_check_operands.
1679 (build_modrm_byte): Reintroduce code for 5
1680 operand insns. Fix whitespace.
1681
1682 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1683
1684 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1685 -mpwr6 and -mpwr7.
1686
1687 2010-02-09 Sterling Augustine <sterling@tensilica.com>
1688
1689 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1690 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1691 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1692
1693 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
1694
1695 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1696 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1697 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1698 BFD_RELOC_ARM_PCREL_CALL)
1699
1700 2010-02-08 Sterling Augustine <sterling@tensilica.com>
1701
1702 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1703 handle more instruction sizes and fetch widths.
1704 (branch_align_power): Likewise.
1705 (text_align_power): Likewise.
1706 (bytes_to_stretch): Likewise.
1707
1708 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1709
1710 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1711 (ppc_mach): Handle titan.
1712 * doc/c-ppc.texi: Mention -mtitan.
1713
1714 2010-02-05 Sterling Augustine <sterling@tensilica.com>
1715
1716 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1717 replace with...
1718 (xtensa_fetch_width) ...this.
1719
1720 2010-02-05 Joseph Myers <joseph@codesourcery.com>
1721
1722 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1723 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1724 * Makefile.in: Regenerate.
1725
1726 2010-02-03 Quentin Neill <quentin.neill@amd.com>
1727
1728 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1729 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1730 * config/tc-i386.h (processor_type): Same.
1731 * doc/c-i386.texi: Change amdfam15 to bdver1.
1732
1733 2010-01-29 Nick Clifton <nickc@redhat.com>
1734
1735 PR 11136
1736 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1737 NS_NULL.
1738
1739 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1740
1741 * NEWS: Mention new feature.
1742 * config/obj-coff.c (obj_coff_section): Accept digits and use
1743 to override default section alignment power if specified.
1744 * doc/as.texinfo (.section directive): Update documentation.
1745
1746 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1747
1748 * config/tc-i386.c (avxscalar): New.
1749 (OPTION_MAVXSCALAR): Likewise.
1750 (build_vex_prefix): Select vector_length for scalar instructions
1751 based on avxscalar.
1752 (md_longopts): Add OPTION_MAVXSCALAR.
1753 (md_parse_option): Handle OPTION_MAVXSCALAR.
1754 (md_show_usage): Add -mavxscalar=.
1755
1756 * doc/c-i386.texi: Document -mavxscalar=.
1757
1758 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1759
1760 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1761 0xc4 individually.
1762
1763 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1764
1765 * write.h (fix_at_start): Declare.
1766 * write.c (fix_new_internal): Add at_beginning parameter.
1767 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1768 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1769 (fix_new, fix_new_exp): Update accordingly.
1770 (fix_at_start): New function.
1771 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1772 (ppc_ref): New function, for OBJ_XCOFF.
1773 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1774 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1775
1776 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1777
1778 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1779 on 64-bit Solaris/x86.
1780 Include obj-format.h earlier.
1781
1782 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1783
1784 * config/tc-s390.c (s390_elf_final_processing): New function.
1785 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1786 (s390_elf_final_processing): Added prototype.
1787
1788
1789 2010-01-20 Nick Clifton <nickc@redhat.com>
1790
1791 PR 11109
1792 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1793 code to handle round-to-zero for VCVT conversions.
1794 (do_neon_cvt): New. Call do_neon_cvt_1.
1795 (do_neon_cvtr): New. Call do_neon_cvt_1.
1796 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1797 insn.
1798
1799 2010-01-18 Tristan Gingold <gingold@adacore.com>
1800
1801 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1802
1803 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1804
1805 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1806 check that it's not an XOP insn.
1807
1808 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1809
1810 * config/bfin-aux.h: Remove argument names in function
1811 declarations.
1812 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1813 warning.
1814 * config/bfin-parse.y (value_match): Remove argument names
1815 in declaration.
1816 (notethat): Likewise.
1817 (yyerror): Likewise.
1818
1819 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1820
1821 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1822
1823 2010-01-13 Nick Clifton <nickc@redhat.com>
1824
1825 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1826 warning message if a new section is created without setting any
1827 attributes for it.
1828 (md_pseudo_table): Intercept section creation pseudos.
1829 (md_pcrel_from): Replace abort with an error message.
1830 * config/obj-elf.c (obj_elf_section_name): Export this function.
1831 * config/obj-elf.h (obj_elf_section_name): Prototype.
1832
1833 2010-01-12 Alan Modra <amodra@gmail.com>
1834
1835 PR 11122
1836 * listing.c (print_source): Add one to line number.
1837
1838 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1839
1840 * Makefile.in: Regenerate.
1841 * configure: Regenerate.
1842 * doc/Makefile.in: Regenerate.
1843
1844 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1845
1846 * version.c (parse_args): Change to "Copyright 2010".
1847
1848 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1849
1850 * config/tc-i386.c (cpu_arch): Add amdfam15.
1851 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1852 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1853 * doc/c-i386.texi: Add amdfam15.
1854
1855 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1856
1857 * config/tc-arm.c (do_neon_logic): Accept imm value
1858 in the third operand too.
1859 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1860 OP_RNDQ_Ibig.
1861 (parse_operands): OP_NILO case removed, applied renaming.
1862 (insns): Neon shape changed for some logic instructions.
1863
1864 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1865
1866 * config/tc-arm.c (do_neon_ldx_stx): Added
1867 validation for vector load/store insns.
1868
1869 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1870
1871 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1872
1873 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1874
1875 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1876 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1877 (NEON_ENCODE): New macro.
1878 (check_neon_suffixes): New macro.
1879 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1880 (do_vfp_nsyn_opcode): Likewise.
1881 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1882 (do_vfp_nsyn_cmp): Likewise.
1883 (do_neon_shl_imm): Likewise.
1884 (do_neon_qshl_imm): Likewise.
1885 (neon_dyadic_misc): Likewise.
1886 (do_neon_mac_maybe_scalar): Likewise.
1887 (do_neon_qdmulh): Likewise.
1888 (do_neon_qmovn): Likewise.
1889 (do_neon_qmovun): Likewise.
1890 (do_neon_movn): Likewise.
1891 (neon_mac_reg_scalar_long): Likewise.
1892 (do_neon_vmull): Likewise.
1893 (do_neon_trn): Likewise.
1894 (do_neon_ldx_stx): Likewise.
1895 (neon_dp_fixup): Changed signature and set the flag.
1896 (neon_three_same): Call the above with new signature.
1897 (neon_two_same): Likewise.
1898 (neon_imm_shift): Likewise.
1899 (neon_mul_mac): Likewise.
1900 (do_neon_abs_neg): Likewise.
1901 (neon_mixed_length): Likewise.
1902 (do_neon_ext): Likewise.
1903 (do_neon_mov): Likewise.
1904 (do_neon_tbl_tbx): Likewise.
1905 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1906 (neon_compare): Likewise.
1907 (do_neon_shll): Likewise.
1908 (do_neon_cvt): Likewise.
1909 (do_neon_mvn): Likewise.
1910 (do_neon_dup): Likewise.
1911 (md_assemble): Call check_neon_suffixes ().
1912
1913 For older changes see ChangeLog-2009
1914 \f
1915 Local Variables:
1916 mode: change-log
1917 left-margin: 8
1918 fill-column: 74
1919 version-control: never
1920 End: