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