gas/
[binutils-gdb.git] / gas / ChangeLog
1 2010-06-11 Jan Beulich <jbeulich@novell.com>
2
3 * config/tc-i386.c (md_parse_option): Ignore impossible processor
4 types.
5 (show_arch): New parameter 'check'.
6 (md_show_usage): Adjust calls to show_arch().
7
8 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
9
10 * config/tc-i386.c (update_code_flag): New.
11 (set_code_flag): Use it.
12 (i386_target_format): Replace set_code_flag with update_code_flag.
13
14 2010-06-10 Tristan Gingold <gingold@adacore.com>
15
16 * config/obj-som.h: Includes som/reloc.h
17
18 2010-06-10 Jan Beulich <jbeulich@novell.com>
19
20 * config/tc-i386.c (cpu_arch): Add comment.
21 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
22 from the generic entries of cpu_arch[].
23
24 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
25
26 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
27 value.
28 (parse_operands): Add support for OP_RRnpctw.
29 (insns): Update floating-point load/store multiples so the
30 first register is of type OP_RRnpctw.
31
32 2010-06-08 Quentin Neill <quentin.neill@amd.com>
33
34 * config/tc-i386.c (pi): Rename local loop counter
35 variable i that shadows global static i386_insn i
36 when DEBUG386 is defined.
37 (pte) Ditto.
38
39 2010-06-08 Nick Clifton <nickc@redhat.com>
40
41 * doc/as.texinfo: Replace abbreviated 20th century year numbers
42 with full versions.
43
44 2010-06-02 Quentin Neill <quentin.neill@amd.com>
45
46 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
47
48 2010-06-02 Tristan Gingold <gingold@adacore.com>
49
50 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
51 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
52 Remove conditionnal inclusion of stdarg.h and varargs.h.
53 Assume ISO C.
54 * config.in: Regenerate.
55 * configure: Regenerate.
56 * configure.in: Remove stdarg.h and varargs.h from
57 AC_CHECK_HEADERS list.
58 * messages.c (as_tsktsk): Remove non ISO C version.
59 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
60
61 2010-05-31 Tristan Gingold <gingold@adacore.com>
62
63 * config/tc-alpha.c: Add comments for evax.
64 * config/obj-evax.c: Ditto.
65
66 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
67
68 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
69 lsls and not adds.
70
71 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
72
73 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
74 writeback when base register is in register list an error, and
75 correct check.
76 (do_t_ldmstm): Change warnings.
77
78 2010-05-26 Catherine Moore <clm@codesourcery.com>
79
80 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
81 (macro_build): Change invocation of is_opcode_valid.
82 (mips_ip): Likewise.
83
84 2010-05-25 Nick Clifton <nickc@redhat.com>
85
86 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
87 * Makefile.in: Regenerate.
88
89 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
90 Joseph Myers <joseph@codesourcery.com>
91 Andrew Stubbs <ams@codesourcery.com>
92
93 * config/tc-sh.c (sh_fdpic): New.
94 (sh_check_fixup): Handle relocations on movi20.
95 (parse_exp): Do not reject PIC operators here.
96 (build_Mytes): Check for unhandled PIC operators here. Use
97 sh_check_fixup for movi20.
98 (enum options): Add OPTION_FDPIC.
99 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
100 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
101 (sh_elf_final_processing): Handle --fdpic.
102 (sh_uclinux_target_format): New.
103 (sh_parse_name): Handle FDPIC relocation operators.
104 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
105 (sh_uclinux_target_format): Declare for TE_UCLINUX.
106 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
107 em=uclinux.
108 * doc/c-sh.texi (SH Options): Document --fdpic.
109
110 2010-05-25 Jay Krell <jay.krell@cornell.edu>
111
112 PR ld/11621
113 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
114 * Makefile.in: Regenerate.
115
116 2010-05-25 Alan Modra <amodra@gmail.com>
117
118 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
119
120 2010-05-19 Nick Clifton <nickc@redhat.com>
121
122 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
123 of known section prefixes.
124
125 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
126
127 PR gas/11600
128 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
129 (obj_elf_parse_section_letters): Likewise.
130 (obj_elf_section_word): Likewise.
131
132 * config/tc-ppc.c (ppc_section_letter): Removed.
133 (ppc_section_word): Likewise.
134 * config/tc-ppc.h (ppc_section_letter): Likewise.
135 (ppc_section_word): Likewise.
136 (md_elf_section_letter): Likewise.
137 (md_elf_section_word): Likewise.
138
139 * doc/as.texinfo: Document `e' and `#exclude'.
140
141 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
142
143 * config/tc-arm.c (md_assemble): Clarify current mode in error
144 messages about unsupported instructions.
145 (UT): Delete #define.
146 (insns): Adjust cbnz, cbz appropriately.
147
148 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
149
150 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
151
152 2010-05-11 Jie Zhang <jie@codesourcery.com>
153
154 * config/tc-arm.c (aeabi_set_public_attributes): Set
155 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
156
157 2010-05-07 Tristan Gingold <gingold@adacore.com>
158
159 * Makefile.in: Regenerate with automake 1.11.1.
160 * aclocal.m4: Ditto.
161 * doc/Makefile.in: Ditto.
162
163 2010-05-05 Nick Clifton <nickc@redhat.com>
164
165 * po/es.po: Updated Spanish translation.
166
167 2010-05-05 Julian Brown <julian@codesourcery.com>
168
169 * read.c (cons_worker): Detect and reject unexpected string argument.
170
171 2010-05-04 Nick Clifton <nickc@redhat.com>
172
173 * write.c (fixup_segment): Revert previous delta.
174 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
175 generation of relocations for fixups against weak symbols.
176
177 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
178
179 * write.c (fixup_segment): Do not assume we know the section a
180 defined weak symbol is in.
181 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
182 weak symbols as not known to be in the same section, even if they
183 are defined.
184
185 2010-04-27 Joseph Myers <joseph@codesourcery.com>
186
187 * config/tc-tic6x.h (tic6x_label_list): New.
188 (tic6x_segment_info_type): Keep a list of labels and a current
189 frag instead of a boolean for whether labels seen and a count of
190 instructions.
191 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
192 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
193 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
194 (tic6x_cleanup): Correct comment.
195 (tic6x_free_label_list): New.
196 (tic6x_cons_align): Free label list and update for
197 tic6x_segment_info_type changes.
198 (tic6x_do_align): New.
199 (md_assemble): Handle list of labels and saved frag for execute
200 packet. Create machine-dependent frag for new execute packet and
201 adjust labels accordingly.
202 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
203 (md_convert_frag, md_estimate_size_before_relax): Update comments.
204
205 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
206
207 PR gas/11535
208 * config/tc-i386-intel.c (intel_state): Add is_indirect.
209 (i386_intel_operand): Initialize intel_state.is_indirect. Check
210 intel_state.is_indirect for "call|jmp [symbol]".
211
212 2010-04-22 Nick Clifton <nickc@redhat.com>
213
214 * po/gas.pot: Updated by the Translation project.
215
216 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
217
218 * config/tc-i386.c (i386_is_register): Removed.
219 (x86_cons): Don't use i386_is_register.
220 (parse_register): Likewise.
221 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
222 (i386_intel_operand): Likewise.
223
224 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
225
226 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
227 i386_is_register.
228
229 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
230
231 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
232 (x86_cons): Updated.
233 (parse_register): Likewise.
234 (tc_x86_parse_to_dw2regnum): Likewise.
235 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
236 (i386_intel_operand): Likewise.
237
238 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
239
240 PR gas/11509
241 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
242 (i386_intel_simplify): Use i386_is_register and
243 i386_intel_simplify_register. Set X_md for O_register and
244 check X_md for O_constant.
245 (i386_intel_operand): Use i386_is_register.
246
247 * config/tc-i386.c (i386_is_register): New.
248 (x86_cons): Initialize the X_md field. Use i386_is_register.
249 (parse_register): Use i386_is_register.
250 (tc_x86_parse_to_dw2regnum): Likewise.
251
252 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
253
254 * expr.c (expr): Initialize the X_md field.
255
256 2010-04-20 Joseph Myers <joseph@codesourcery.com>
257
258 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
259 (md_longopts): Add -mgenerate-rel.
260 (tic6x_generate_rela): New.
261 (md_parse_option): Handle -mgenerate-rel.
262 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
263 (tic6x_init_after_args): New.
264 (md_apply_fix): Correct shift calculations for SB-relative
265 relocations.
266 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
267 adjust addresses for relocations referencing symbols in other
268 sections.
269 (tc_gen_reloc): Adjust addend calculations for REL relocations.
270 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
271 tic6x_pcrel_from_section, tc_init_after_args,
272 tic6x_init_after_args): New.
273
274 2010-04-20 Nick Clifton <nickc@redhat.com>
275
276 PR gas/11507
277 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
278 altmacro mode if found inside a quoted string.
279
280 2010-04-20 Mike Frysinger <vapier@gentoo.org>
281
282 * config/bfin-lex.l (parse_int): Change index() to strchr().
283
284 2010-04-16 Nick Clifton <nickc@redhat.com>
285
286 PR gas/11395
287 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
288 matcher to accept and unconditional 32-bit add instruction.
289 (pa_build_unwind_subspace): Cope with error conditions not
290 allowing the start symbol to be set.
291
292 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
293
294 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
295 new tag names in v2.08 of ARM ABI.
296 * doc/c-arm.texi: Document new tag names in ABI.
297
298 2010-04-14 Tristan Gingold <gingold@adacore.com>
299
300 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
301 (s_alpha_comm): Used new EGPS macros from egps.h
302 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
303 (s_alpha_section_word): Add comments. Use new EGPS macros.
304 Adjust for modified bfd_vms_set_section_flags function.
305
306 2010-04-10 Alan Modra <amodra@gmail.com>
307
308 PR gas/11486
309 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
310
311 2010-04-09 Nick Clifton <nickc@redhat.com>
312
313 * as.c (create_obj_attrs_section): Remove unused variable addr.
314 * listing.c (listing_listing): Remove unused variable message.
315 * read.c: Remove unnecessary register type qualifiers.
316 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
317 defined.
318
319 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
320
321 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
322 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
323 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
324 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
325 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
326 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
327 atmega88pa, attiny461a, attiny84a, m3000.
328 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
329 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
330 * doc/c-avr.texi: Same.
331
332 2010-04-07 Jie Zhang <jie@codesourcery.com>
333
334 * config/tc-arm.c (make_mapping_symbol): Handle the case
335 that multiple mapping symbols have the same value 0.
336
337 2010-04-07 Alan Modra <amodra@gmail.com>
338
339 * configure: Regenerate.
340
341 2010-04-06 Nick Clifton <nickc@redhat.com>
342
343 * po/ru.po: New Russian translation.
344 * configure.in (ALL_LINGUAS): Add ru.
345 * configure: Regenerate.
346
347 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
348
349 PR gas/11456
350 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
351 of memcpy to copy overlap memory.
352
353 2010-03-25 Joseph Myers <joseph@codesourcery.com>
354
355 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
356 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
357 * Makefile.in: Regenerate.
358 * NEWS: Add news entry for TI C6X support.
359 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
360 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
361 operands if TC_KEEP_OPERAND_SPACES.
362 * configure.tgt (tic6x-*-*): New.
363 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
364 TC_PREDICATE_END_CHAR): Define.
365 * config/tc-tic6x.c, config/tc-tic6x.h: New.
366 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
367 * doc/Makefile.in: Regenerate.
368 * doc/all.texi (TIC6X): Define.
369 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
370 * doc/c-tic6x.texi: New.
371
372 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
373
374 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
375
376 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
377
378 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
379 with operand_size_mismatch.
380 (operand_size_match): Updated.
381 (match_template): Likewise.
382
383 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
384
385 * config/tc-i386.c (i386_error): New.
386 (_i386_insn): Replace err_msg with error.
387 (operand_size_match): Set error instead of err_msg on failure.
388 (operand_type_match): Likewise.
389 (operand_type_register_match): Likewise.
390 (VEX_check_operands): Likewise.
391 (match_template): Likewise. Use error instead of err_msg with
392 as_bad.
393
394 2010-03-19 Jie Zhang <jie@codesourcery.com>
395
396 * config/tc-arm.c (make_mapping_symbol): Hanle the case
397 that two mapping symbols have the same value.
398
399 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
400
401 * doc/c-arm.texi (.setfp): Correct example.
402
403 2010-03-18 Wei Guozhi <carrot@google.com>
404
405 PR gas/11323
406 * config/tc-arm.c (reloc_names): New relocation names.
407 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
408 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
409 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
410
411 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
412
413 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
414 cases, and not only for .eh_frame.
415
416 * dw2gencfi.c (output_cie): Make it more explicit which code paths
417 belong to .eh_frame only.
418
419 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
420
421 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
422 assembler constants on 64-bit hosts.
423
424 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
425
426 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
427 Strip trailing whitespace.
428
429 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
430
431 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
432 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
433 BFIN_CPU_BF506.
434 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
435
436 2010-03-10 Jie Zhang <jie@codesourcery.com>
437
438 * doc/as.texinfo: Add Blackfin options.
439 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
440 * config/tc-bfin.c (md_show_usage): Show usage for all
441 Blackfin specific options.
442
443 2010-03-09 Alan Modra <amodra@gmail.com>
444
445 PR gas/11356
446 * listing.c (listing_newline): Correct backslash quote logic.
447
448 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
449
450 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
451 (ELF_TARGET_FORMAT64): Define.
452
453 2010-03-05 Paul Brook <paul@codesourcery.com>
454
455 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
456
457 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
458
459 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
460 reading uninitialized data.
461
462 2010-03-01 Tristan Gingold <gingold@adacore.com>
463
464 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
465
466 2010-02-26 Doug Evans <dje@sebabeach.org>
467
468 * configure.tgt: Fix mep cpu case.
469
470 2010-02-26 Jie Zhang <jie@codesourcery.com>
471
472 * config/tc-arm.c (do_t_strexd): Remove
473 operand[1] != operand[2] contraint.
474
475 2010-02-26 Jie Zhang <jie@codesourcery.com>
476
477 * config/tc-arm.c (neon_select_shape): No need to match
478 the remaining operands in the shape when one operand does
479 not match.
480
481 2010-02-26 Jie Zhang <jie@codesourcery.com>
482
483 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
484 alignment.
485
486 2010-02-25 Doug Evans <dje@sebabeach.org>
487
488 * cgen.c: Whitespace fixes.
489 (weak_operand_overflow_check): Formatting fix.
490
491 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
492
493 * config/tc-i386.c (match_template): Update error messages.
494
495 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
496
497 * config/tc-i386.c (_i386_insn): Add err_msg.
498 (operand_size_match): Set err_msg on failure.
499 (operand_type_match): Likewise.
500 (operand_type_register_match): Likewise.
501 (VEX_check_operands): Likewise.
502 (match_template): Likewise. Use i.err_msg with as_bad.
503
504 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
505
506 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
507 mips_fix_loongson2f_jump): New variables.
508 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
509 -mno-fix-loongson2f-nop/jump.
510 (md_parse_option): Initialize variables via above options.
511 (options): New enums for the above options.
512 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
513 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
514 New functions.
515 (append_insn): call fix_loongson2f().
516 (mips_handle_align): Replace the implicit nops.
517 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
518 for the new mips_handle_align().
519 * doc/c-mips.texi: Document the new options.
520
521 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
522
523 * config/tc-arm.c (do_rd_rm_rn): Added warning
524 for obsolete insns.
525
526 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
527
528 PR binutils/11297
529 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
530 (avr_cons_fix_new): Handle fixups of a single byte.
531
532 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
533
534 PR 9861
535 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
536 compiler's predefines.
537
538 2010-02-19 Alan Modra <amodra@gmail.com>
539
540 * configure.tgt: Whiltespace. Sort moxie entry.
541
542 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
543
544 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
545 * doc/c-arm.texi: Likewise.
546
547 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
548
549 * config/tc-arm.c (asm_opcode): operands type
550 change.
551 (BAD_PC_ADDRESSING): New macro message.
552 (BAD_PC_WRITEBACK): Likewise.
553 (MIX_ARM_THUMB_OPERANDS): New macro.
554 (operand_parse_code): Added enum values.
555 (parse_operands): Added thumb/arm distinction,
556 plus new enum values handling.
557 (encode_arm_addr_mode_2): Validations enhanced.
558 (encode_arm_addr_mode_3): Likewise.
559 (do_rm_rd_rn): Likewise.
560 (encode_thumb32_addr_mode): Likewise.
561 (do_t_ldrex): Likewise.
562 (do_t_ldst): Likewise.
563 (do_t_strex): Likewise.
564 (md_assemble): Call parse_operands with
565 a new parameter.
566 (OPS_1): New macro.
567 (OPS_2): Likewise.
568 (OPS_3): Likewise.
569 (OPS_4): Likewise.
570 (OPS_5): Likewise.
571 (OPS_6): Likewise.
572 (insns): Updated insns operands.
573
574 2010-02-12 Tristan Gingold <gingold@adacore.com>
575 Douglas B Rupp <rupp@gnat.com>
576
577 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
578 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
579 (pseudo_func): Add an entry for slotcount.
580 (md_begin): Initialize slotcount pseudo symbol.
581 (ia64_parse_name): Handle @slotcount parameter.
582 (ia64_gen_real_reloc_type): Handle slotcount.
583 (md_apply_fix): Ditto.
584 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
585
586 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
587
588 * config/tc-xtensa.c (istack_init): Don't call memset.
589
590 2010-02-11 Sterling Augustine <sterling@tensilica.com>
591
592 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
593 well as suffixes.
594
595 2010-02-11 Sterling Augustine <sterling@tensilica.com>
596
597 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
598
599 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
600
601 * config/tc-i386.c (build_modrm_byte): Reformat.
602
603 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
604
605 * config/tc-i386.c: Update copyright.
606
607 2010-02-10 Quentin Neill <quentin.neill@amd.com>
608 Sebastian Pop <sebastian.pop@amd.com>
609
610 * config/tc-i386.c (vec_imm4) New operand type.
611 (fits_in_imm4): New.
612 (VEX_check_operands): New.
613 (check_reverse): Call VEX_check_operands.
614 (build_modrm_byte): Reintroduce code for 5
615 operand insns. Fix whitespace.
616
617 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
618
619 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
620 -mpwr6 and -mpwr7.
621
622 2010-02-09 Sterling Augustine <sterling@tensilica.com>
623
624 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
625 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
626 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
627
628 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
629
630 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
631 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
632 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
633 BFD_RELOC_ARM_PCREL_CALL)
634
635 2010-02-08 Sterling Augustine <sterling@tensilica.com>
636
637 * config/tc-xtensa.c (frag_format_size): Generalize logic to
638 handle more instruction sizes and fetch widths.
639 (branch_align_power): Likewise.
640 (text_align_power): Likewise.
641 (bytes_to_stretch): Likewise.
642
643 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
644
645 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
646 (ppc_mach): Handle titan.
647 * doc/c-ppc.texi: Mention -mtitan.
648
649 2010-02-05 Sterling Augustine <sterling@tensilica.com>
650
651 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
652 replace with...
653 (xtensa_fetch_width) ...this.
654
655 2010-02-05 Joseph Myers <joseph@codesourcery.com>
656
657 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
658 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
659 * Makefile.in: Regenerate.
660
661 2010-02-03 Quentin Neill <quentin.neill@amd.com>
662
663 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
664 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
665 * config/tc-i386.h (processor_type): Same.
666 * doc/c-i386.texi: Change amdfam15 to bdver1.
667
668 2010-01-29 Nick Clifton <nickc@redhat.com>
669
670 PR 11136
671 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
672 NS_NULL.
673
674 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
675
676 * NEWS: Mention new feature.
677 * config/obj-coff.c (obj_coff_section): Accept digits and use
678 to override default section alignment power if specified.
679 * doc/as.texinfo (.section directive): Update documentation.
680
681 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
682
683 * config/tc-i386.c (avxscalar): New.
684 (OPTION_MAVXSCALAR): Likewise.
685 (build_vex_prefix): Select vector_length for scalar instructions
686 based on avxscalar.
687 (md_longopts): Add OPTION_MAVXSCALAR.
688 (md_parse_option): Handle OPTION_MAVXSCALAR.
689 (md_show_usage): Add -mavxscalar=.
690
691 * doc/c-i386.texi: Document -mavxscalar=.
692
693 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
694
695 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
696 0xc4 individually.
697
698 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
699
700 * write.h (fix_at_start): Declare.
701 * write.c (fix_new_internal): Add at_beginning parameter.
702 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
703 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
704 (fix_new, fix_new_exp): Update accordingly.
705 (fix_at_start): New function.
706 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
707 (ppc_ref): New function, for OBJ_XCOFF.
708 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
709 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
710
711 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
712
713 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
714 on 64-bit Solaris/x86.
715 Include obj-format.h earlier.
716
717 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
718
719 * config/tc-s390.c (s390_elf_final_processing): New function.
720 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
721 (s390_elf_final_processing): Added prototype.
722
723
724 2010-01-20 Nick Clifton <nickc@redhat.com>
725
726 PR 11109
727 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
728 code to handle round-to-zero for VCVT conversions.
729 (do_neon_cvt): New. Call do_neon_cvt_1.
730 (do_neon_cvtr): New. Call do_neon_cvt_1.
731 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
732 insn.
733
734 2010-01-18 Tristan Gingold <gingold@adacore.com>
735
736 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
737
738 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
739
740 * config/tc-i386.c (md_assemble): Before accessing the IMM field
741 check that it's not an XOP insn.
742
743 2010-01-14 Jie Zhang <jie.zhang@analog.com>
744
745 * config/bfin-aux.h: Remove argument names in function
746 declarations.
747 * config/bfin-lex.l (parse_int): Fix shadowed variable name
748 warning.
749 * config/bfin-parse.y (value_match): Remove argument names
750 in declaration.
751 (notethat): Likewise.
752 (yyerror): Likewise.
753
754 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
755
756 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
757
758 2010-01-13 Nick Clifton <nickc@redhat.com>
759
760 * config/tc-h8300.c (h8300_elf_section): New function - issue a
761 warning message if a new section is created without setting any
762 attributes for it.
763 (md_pseudo_table): Intercept section creation pseudos.
764 (md_pcrel_from): Replace abort with an error message.
765 * config/obj-elf.c (obj_elf_section_name): Export this function.
766 * config/obj-elf.h (obj_elf_section_name): Prototype.
767
768 2010-01-12 Alan Modra <amodra@gmail.com>
769
770 PR 11122
771 * listing.c (print_source): Add one to line number.
772
773 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
774
775 * Makefile.in: Regenerate.
776 * configure: Regenerate.
777 * doc/Makefile.in: Regenerate.
778
779 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
780
781 * version.c (parse_args): Change to "Copyright 2010".
782
783 2010-01-06 Quentin Neill <quentin.neill@amd.com>
784
785 * config/tc-i386.c (cpu_arch): Add amdfam15.
786 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
787 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
788 * doc/c-i386.texi: Add amdfam15.
789
790 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
791
792 * config/tc-arm.c (do_neon_logic): Accept imm value
793 in the third operand too.
794 (operand_parse_code): OP_RNDQ_IMVNb renamed to
795 OP_RNDQ_Ibig.
796 (parse_operands): OP_NILO case removed, applied renaming.
797 (insns): Neon shape changed for some logic instructions.
798
799 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
800
801 * config/tc-arm.c (do_neon_ldx_stx): Added
802 validation for vector load/store insns.
803
804 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
805
806 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
807
808 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
809
810 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
811 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
812 (NEON_ENCODE): New macro.
813 (check_neon_suffixes): New macro.
814 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
815 (do_vfp_nsyn_opcode): Likewise.
816 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
817 (do_vfp_nsyn_cmp): Likewise.
818 (do_neon_shl_imm): Likewise.
819 (do_neon_qshl_imm): Likewise.
820 (neon_dyadic_misc): Likewise.
821 (do_neon_mac_maybe_scalar): Likewise.
822 (do_neon_qdmulh): Likewise.
823 (do_neon_qmovn): Likewise.
824 (do_neon_qmovun): Likewise.
825 (do_neon_movn): Likewise.
826 (neon_mac_reg_scalar_long): Likewise.
827 (do_neon_vmull): Likewise.
828 (do_neon_trn): Likewise.
829 (do_neon_ldx_stx): Likewise.
830 (neon_dp_fixup): Changed signature and set the flag.
831 (neon_three_same): Call the above with new signature.
832 (neon_two_same): Likewise.
833 (neon_imm_shift): Likewise.
834 (neon_mul_mac): Likewise.
835 (do_neon_abs_neg): Likewise.
836 (neon_mixed_length): Likewise.
837 (do_neon_ext): Likewise.
838 (do_neon_mov): Likewise.
839 (do_neon_tbl_tbx): Likewise.
840 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
841 (neon_compare): Likewise.
842 (do_neon_shll): Likewise.
843 (do_neon_cvt): Likewise.
844 (do_neon_mvn): Likewise.
845 (do_neon_dup): Likewise.
846 (md_assemble): Call check_neon_suffixes ().
847
848 For older changes see ChangeLog-2009
849 \f
850 Local Variables:
851 mode: change-log
852 left-margin: 8
853 fill-column: 74
854 version-control: never
855 End: