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