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