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