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