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