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