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