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