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