b5c82701640aebfb6d04b8a649fe5ec34268178e
[binutils-gdb.git] / gas / ChangeLog
1 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
2
3 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
4 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
5 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
6 the default FPU from the processor.
7
8 2009-05-01 Julian Brown <julian@codesourcery.com>
9
10 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
11 (md_pcrel_from_section): Align address for BLX.
12 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
13 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
14
15 2009-04-29 DJ Delorie <dj@redhat.com>
16
17 * config/tc-mep.c (md_begin): Check coprocessor type.
18 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
19 (md_check_parallel32_scheduling): Likewise.
20 (slot_ok): New.
21 (mep_check_ivc2_scheduling): New.
22 (mep_check_parallel_scheduling): Call it.
23 (mep_process_saved_insns): Add IVC2 slot support.
24 (md_assemble): Likewise.
25
26 2009-04-30 Nick Clifton <nickc@redhat.com>
27
28 * config/obj-elf.c (obj_elf_type): Add support for a
29 gnu_indirect_function type.
30 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
31 against indirect function symbols.
32 * doc/as.texinfo (.type): Document the support for the
33 gnu_indirect_function symbol type.
34 * NEWS: Mention the new feature.
35
36 2009-04-24 Cary Coutant <ccoutant@google.com>
37
38 * NEWS: Add item about discriminator support.
39 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
40 * dwarf2dbg.c (current): Add discriminator field.
41 (dwarf2_where): Copy discriminator value.
42 (dwarf2_consume_line_info): Set discriminator to 0.
43 (dwarf2_directive_loc): Process discriminator sub-op.
44 (out_leb128): New function.
45 (process_entries): Output DW_LNE_set_discriminator.
46 * doc/as.texinfo: Add discriminator operand to .loc directive.
47 * testsuite/gas/lns/lns-common-1.d: Add test for discriminator.
48 * testsuite/gas/lns/lns-common-1.s: Likewise.
49
50 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
51
52 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
53 as_bad calls to silence compiler warning.
54
55 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
56
57 * config/tc-i386-intel.c (O_XXX): Reorder.
58
59 2009-04-20 Jan Beulich <jbeulich@novell.com>
60
61 * Makefile.am: Add explicit dependency of tc-i386.o on
62 tc-i386-intel.c.
63 * Makefile.in: Likewise.
64 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
65 out from i386_immediate.
66 (i386_immediate): Slightly re-arrange, call
67 i386_finalize_immediate.
68 (i386_finalize_displacement): Declare, broken out from
69 i386_displacement.
70 (i386_displacement): Slightly re-arrange, call
71 i386_finalize_displacement.
72 (i386_intel_simplify, i386_intel_parse_name): Declare.
73 (this_operand): Initialize to -1.
74 (set_intel_syntax): Set expression rank for O_full_ptr.
75 (md_assemble): Set this_operand back to -1 after parsing
76 operands.
77 (x86_cons): Negate intel_syntax to indicate state. Call
78 i386_intel_simplify.
79 (md_operand): Convert if to switch. Handle '[' for Intel
80 syntax.
81 (i386_intel_operand): Delete, including all helper functions
82 and data.
83 * config/tc-i386-intel.c: New file, all new code.
84 * config/tc-i386.h (i386_operator): Declare.
85 (md_operator): Define to i386_operator.
86 (i386_need_index_operator): Declare.
87 (md_need_index_operator): Define to i386_need_index_operator.
88 (O_full_ptr): Define.
89
90 2009-04-20 Jan Beulich <jbeulich@novell.com>
91
92 * expr.c (operand): Call md_need_index_operator() and
93 md_operator() if defined. Add unary label.
94 (operator): Call md_operator() if defined.
95 (expr): Adjust assertions on range and rank of op_left and
96 op_right. Don't abort on unhandled operators when reducing
97 expressions with both operands being constant.
98 (expr_set_rank): New.
99 * expr.h (expr_set_rank): Declare.
100
101 2008-04-15 Anthony Green <green@moxielogic.com>
102
103 * config/tc-moxie.h: New file.
104 * config/tc-moxie.c: New file.
105 * configure: Add support for moxie.
106 * configure.tgt: Add support for moxie.
107
108 2009-04-16 Jan Beulich <jbeulich@novell.com>
109
110 * expr.c: Include limits.h if available, and #define CHAR_BITS
111 otherwise.
112 (expr): Check range of shift count when evaluating a constant
113 expression.
114
115 2009-04-15 Jan Beulich <jbeulich@novell.com>
116
117 * config/tc-i386.c (process_operands): Print operands in
118 correct order depending on intel_syntax.
119
120 2009-04-09 Catherine Moore <clm@codesourcery.com>
121
122 * config/tc-mips.c (mips_fix_24k): Declare.
123 (check_for_24k_errata): New.
124 (mips_cleanup): Call check_for_24k_errata.
125 (start_noreorder): Likewise.
126 (md_mips_end): Likewise.
127 (s_change_sec): Likewise.
128 (s_change_section): Likewise.
129 (append_insn): Call check_for_24k_errata. Prevent
130 ERET/DERET instructions from being moved into delay
131 slots.
132 (OPTION_FIX_24K): New.
133 (OPTION_NO_FIX_24k) New.
134 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
135 (md_parse_option): Handle fix-24k options.
136 (md_show_usage): Display fix-24k options.
137 * doc/c-mips.texi: Document.
138
139 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
140
141 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
142 instead of HAVE_64BIT_SYMBOLS.
143
144 2009-04-07 DJ Delorie <dj@redhat.com>
145
146 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
147 (md_show_usage): Change default endian to little.
148 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
149
150 2009-04-06 DJ Delorie <dj@redhat.com>
151
152 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
153 immediates.
154 (build_bytes): Pass insn to do_a_fix_imm.
155
156 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
157
158 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
159 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
160 Cortex-M1.
161
162 2009-04-01 Matt Thomas <matt@netbsd.org>
163
164 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
165 (md_assemble): emit symbol name when used as immediate in PIC mode.
166 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
167
168 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
169
170 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
171
172 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
173
174 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
175 (find_real_start): Likewise.
176 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
177
178 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
179
180 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
181 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
182 whenever possible.
183
184 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
185
186 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
187
188 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
189
190 * doc/internals.texi: Fix trivial syntax errors.
191
192 2009-03-26 Alan Modra <amodra@bigpond.net.au>
193
194 PR 10005
195 * config/tc-i386.c (reloc): Don't abort on lack of required
196 reloc type.
197
198 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
199
200 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
201 arch.
202
203 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
204
205 PR gas/9966
206 * listing.c (listing_newline): Properly handle `\\"' and ';'.
207
208 * read.c (is_end_of_line): Update comments for line separator.
209 (read_begin): Set line separator in is_end_of_line to 2.
210
211 2009-03-19 David S. Miller <davem@davemloft.net>
212
213 * config/tc-sparc.c (md_parse_option): If the user gives
214 us '--64' make sure max_architecture is at least V9.
215
216 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
217
218 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
219 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
220 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
221
222 2009-03-18 Alan Modra <amodra@bigpond.net.au>
223
224 * as.h: Include alloca-conf.h instead of config.h and remove
225 existing #if's handling alloca.
226 * Makefile.am: Run "make dep-am".
227 * Makefile.in: Regenerate.
228
229 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
230
231 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
232 C_AIX_WEAKEXT too.
233
234 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
235
236 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
237 "value" from fx_offset. Manually resubtract md_pcrel_from_section
238 where necessary.
239
240 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
241
242 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
243 * configure.in: Likewise.
244 * configure: Regenerate.
245
246 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
247
248 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
249 Rename, changing all callers, to...
250 (md_create_short_jump): Adjust head comment. Assert
251 word-sized-branch distance for v32. Bail out calling as_fatal for
252 compatibility mode here.
253 (md_create_long_jump): ...not here.
254 * config/tc-cris.h (md_create_short_jump): Do not define.
255
256 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
257
258 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
259 the jump table for multiple overflowing entries with the same
260 target, handle base symbols being different.
261 (relax_segment) <case rs_broken_word, second loop>: Whenever a
262 single entry overflows, arrange to redirect all entries with the
263 same target.
264
265 2009-03-10 Alan Modra <amodra@bigpond.net.au>
266
267 * config/tc-ppc.c (parse_cpu): Delete.
268 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
269
270 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
271
272 PR gas/9915
273 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
274 (LOCAL_LABELS_FB): Undefine befoe define.
275
276 2009-03-06 Nick Clifton <nickc@redhat.com>
277
278 * po/es.po: Updated Spanish translation.
279
280 2009-03-05 Joseph Myers <joseph@codesourcery.com>
281
282 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
283 s_incbin): Call md_cons_align (1).
284
285 2009-03-04 Nick Clifton <nickc@redhat.com>
286
287 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
288 based targets.
289 (s_alpha_comm): Only define "temp" and "log_align" local variables
290 for EVAX targets.
291
292 2009-03-04 Alan Modra <amodra@bigpond.net.au>
293
294 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
295 have non-zero addend.
296 (md_assemble): Parse args of __tls_get_addr calls.
297 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
298
299 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
300
301 binutils/3807
302 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
303 local scope for ELF targets.
304
305 2009-03-04 Alan Modra <amodra@bigpond.net.au>
306
307 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
308
309 2009-03-03 Tristan Gingold <gingold@adacore.com>
310 Eric Botcazou <ebotcazou@adacore.com>
311 Douglas B Rupp <rupp@gnat.com>
312
313 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
314 for Alpha.
315 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
316 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
317 (OBJ_SYMFIELD_TYPE): Remove.
318 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
319 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
320 (tc_frob_file_before_fix): Do not defined on evax.
321 * config/tc-alpha.c: Always includes dwarf2dbg.h.
322 Include vms.h if OBJ_EVAX.
323 (struct alpha_fixup): Add xtrasym and procsym (evax only).
324 (enum alpha_macro_arg): Remove trailing comma.
325 (md_longopts): Add replace and noreplace arguments (evax only).
326 (alpha_evax_proc_hash): New variable.
327 (alpha_link_section): Make it global.
328 (alpha_ctors_section, alpha_dtors_section): Removed.
329 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
330 (alpha_lit8_section): Ifndef'ed on evax.
331 (alpha_lit8_symbol): Ditto.
332 (alpha_prologue_label): New variable.
333 (alpha_linkage_symbol): New variable (evax only).
334 (alpha_flag_replace): Ditto.
335 (struct alpha_evax_procs): Add handler and handler_data field.
336 (alpha_evax_proc): Now of type pointer.
337 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
338 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
339 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
340 (alpha_adjust_relocs): Ifndef'ed on evax.
341 (load_expression): Add opname argument.
342 Implement LDA/BSR optimization for evax.
343 (emit_lda): Adjust for new prototype of load_expression.
344 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
345 (emit_loadstore): Likewise.
346 (emit_ldXu): Likewise.
347 (emit_stX): Likewise.
348 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
349 (emit_ldgp): Avoid warning in evax case.
350 (add_to_link_pool): Make it static. Return symbolic expression rather
351 than number expression for the offset.
352 (s_alpha_text): Create .text symbol for evax if not already created.
353 (s_alpha_comm): Do not create specific section for common symbol.
354 Fill common area with zeros for evax.
355 (s_alpha_prologue): Create alpha_prologue_label.
356 (s_alpha_section_name): New function (evax).
357 (s_alpha_section_word): Likewise.
358 (section_name): New static variabke moved out from ...
359 (s_alpha_section): ... here. Create new sections on demand.
360 (s_alpha_literals): New function (evax).
361 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
362 alpha_evax_proc_hash table.
363 (s_alpha_handler): New function (evax).
364 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
365 (s_alpha_prologue): New function (evax).
366 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
367 handling of procedures with hash table.
368 Add support for condition handlers.
369 (s_alpha_linkage): Create linkage_fixup instance and chain it.
370 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
371 (s_alpha_mask): Likewise.
372 (s_alpha_fmask): Likewise.
373 (s_alpha_end): Clear alpha_evax_proc.
374 (s_alpha_align): Increase max_alignment to 16.
375 (alpha_print_token): Call print_expr_1 instead of print_expr.
376 (md_pseudo_table): Add "section", "literals", "handler" and
377 "handler_data" (evax). Do not ignore "prologue" on evax.
378 Fix indentation.
379 (md_begin): Create hash table for alpha_evax_proc_hash.
380 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
381 (md_show_usage): Mention -replace/-noreplace for evax.
382 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
383 (alpha_force_relocation): Likewise.
384 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
385 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
386 (emit_insn): New cases for evax specific relocs.
387 (assemble_insn): Fix indentation.
388 Take care of -MDISP in operand table.
389 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
390 (OBJ_SYMFIELD_TYPE): New macro.
391 (obj_symbol_new_hook): Define.
392 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
393 (obj_frob_file_before_fix): Ditto.
394 (PDSC_S_M_HANDLER_VALID): New macro.
395 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
396 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
397 Add prototypes for functions declared in obj-evax.c
398 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
399 (s_evax_weak): Convert to ansi-C.
400 (evax_symbol_new_hook): New function.
401 (evax_frob_symbol): Ditto.
402 (evax_frob_file_before_adjust): Ditto.
403 (evax_frob_file_before_fix): Ditto.
404 (evax_shorten_name): Ditto.
405 (crc32): Ditto.
406 (encode_32): Ditto.
407 (encode_16): Ditto.
408 (decode_16): Ditto.
409 (shorten_identifier): Ditto.
410 (is_truncated_identifier): Ditto.
411 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
412 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
413 (main): Ditto.
414
415 2009-03-03 Alan Modra <amodra@bigpond.net.au>
416
417 * Makefile.am: Run "make dep-am".
418 * Makefile.in: Regenerate.
419
420 2009-03-02 Nick Clifton <nickc@redhat.com>
421
422 PR 9874
423 * config/tc-ia64.c (fix_insn): Fix warning reported by
424 -Wformat-security.
425
426 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
427
428 * config/tc-score7.c: New file.
429 * doc/c-score.texi: New file.
430 * Makefile.am: Update dependencies for tc-score.c.
431 * Makefile.in: Regenerate.
432 * NEWS: Mention support for Score7 architecture.
433 * config/tc-score.c: Add support for Score7 architecture.
434 * config/tc-score.h: Likewise.
435 * doc/Makefile.am: Add c-score.texi.
436 * doc/Makefile.in: Regenerate.
437 * doc/all.texi: Add Score7.
438 * doc/as.texinfo: Add Score7.
439
440 2009-03-01 Mark Mitchell <mark@codesourcery.com>
441
442 * config/tc-arm.c (md_assemble): Allow barrier instructions on
443 ARMv6-M cores.
444
445 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
446
447 * configure: Regenerate.
448
449 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
450
451 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
452 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
453 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
454
455 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
456
457 * config/tc-i386.c (fits_in_imm4): Removed.
458
459 2009-02-24 Helge Deller <deller@gmx.de>
460
461 * config/tc-hppa.c (pa_ip): Add check of immediate values.
462 (SAVE_IMMEDIATE): New define.
463
464 2009-02-23 Mark Mitchell <mark@codesourcery.com>
465
466 * config/tc-arm.c (warn_deprecated_sp): New macro.
467 (do_t_mov_cmp): Permit R13 as the second
468 argument to "cmp.n".
469
470 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
471
472 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
473 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
474
475 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
476
477 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
478
479 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
480
481 * config/tc-i386.c (vex_imm4): Removed.
482 (VEX_check_operands): Likewise.
483 (match_template): Updated.
484
485 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
486
487 * doc/all.texi: Set S390.
488 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
489 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
490 * doc/Makefile.in: Likewise.
491 * doc/c-s390.texi: New.
492
493 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
494
495 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
496 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
497 (mcf5307_ctrl): Add VBR.
498 (no_mac): New variable.
499 (m68k_extensions): Refer to no_mac mask.
500 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
501 52252..52259, 53011..53017.
502 (m68k_ip): Process CPUCR.
503 (init_table): Add cpucr entry.
504 (m68k_set_extension): Allow negated mask to refer to a variable.
505 (md_show_usage): Use '%s' to silence fprintf warning.
506 * config/m68k-parse.h (CPUCR): New control register.
507
508 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
509
510 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
511 as_bad calls to silence compiler warning.
512
513 2009-02-06 Nick Clifton <nickc@redhat.com>
514
515 PR 9814
516 * config/tc-arm.c (MODE_RECORDED): New define.
517 (output_inst): Record the thumb_mode in the current frag.
518 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
519 (arm_init_frag): Only set the tc_frag_data field if it has not
520 already been set.
521
522 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
523
524 AVX Programming Reference (January, 2009)
525 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
526 (CPU_FLAGS_AVX_MATCH): Updated.
527 (CPU_FLAGS_32BIT_MATCH): Likewise.
528 (cpu_flags_match): Likewise.
529
530 2009-02-03 Sandip Matte <sandip@rmicorp.com>
531
532 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
533 M_MSGWAIT and M_MSGWAIT_T.
534 (mips_cpu_info_table): Add XLR entry.
535 * doc/c-mips.texi (-march): Document xlr.
536
537 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
538
539 * config/tc-avr.c (mcu_types): Add ata6289.
540 * doc/c-avr.texi: Likewise.
541
542 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
543
544 * configure.in: AC_SUBST pdfdir.
545 * Makefile.am: Add install-pdf, install-pdf-am,
546 and install-pdf-recursive targets.
547 * doc/Makefile.am: Define pdf__strip_dir. Add
548 install-pdf and install-pdf-am targets.
549 * po/Make-in: Add install-pdf target.
550 * configure: Regenerate.
551 * Makefile.in: Regenerate.
552 * doc/Makefile.in: Regenerate.
553
554 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
555
556 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
557 relocations.
558 * config/m68k-parse.y (yylex): Parse TLS relocations.
559 * config/tc-m68k.c (m68k_elf_cons): New static function.
560 (md_pseudo_table): Use it.
561 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
562 relocations.
563 (md_apply_fix): Fix to set thread local flag.
564 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
565
566 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
567
568 PR 9779
569 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
570 indexed addressing for symbolic expressions.
571
572 2009-01-29 Mark Mitchell <mark@codesourcery.com>
573
574 * config/tc-arm.c (BAD_SP): Define.
575 (s_arm_unwind_fnstart): Use REG_SP.
576 (s_arm_unwind_setfp): Likewise.
577 (reject_bad_reg): New macro.
578 (do_co_reg): Check for bad registers.
579 (do_co_reg2c): Likewise.
580 (do_srs): Use REG_SP.
581 (do_t_add_sub): Check for bad registers.
582 (do_t_adr): Likewise.
583 (do_t_arit3): Likewise.
584 (do_t_arit3c): Likewise.
585 (do_t_bfc): Likewise.
586 (do_t_bfi): Likewise.
587 (do_t_bfx): Likewise.
588 (do_t_blx): Likewise.
589 (do_t_bx): Likewise.
590 (do_t_bxj): Likewise.
591 (do_t_clz): Likewise.
592 (do_t_div): Likewise.
593 (do_t_mla): Likewise.
594 (do_t_mlal): Likewise.
595 (do_t_mov_cmp): Likewise.
596 (do_t_mov16): Likewise.
597 (do_t_mvn_tst): Likewise.
598 (do_t_mrs): Likewise.
599 (do_t_msr): Likewise.
600 (do_t_mul): Likewise.
601 (do_t_mull): Likewise.
602 (do_t_orn): Likewise.
603 (do_t_pkhbt): Likewise.
604 (do_t_pld): Likewise.
605 (do_t_rbit): Likewise.
606 (do_t_rev): Likewise.
607 (do_t_rrx): Likewise.
608 (do_t_rsb): Likewise.
609 (do_t_shift): Likewise.
610 (do_t_simd): Likewise.
611 (do_t_ssat): Likewise.
612 (do_t_ssat16): Likewise.
613 (do_t_sxtah): Likewise.
614 (do_t_sxth): Likewise.
615 (do_t_tb): Likewise.
616 (do_t_usat): Likewise.
617 (do_t_usat16): Likewise.
618 (nysn_insert_sp): Use REG_SP.
619
620 2009-01-29 Mark Mitchell <mark@codesourcery.com>
621
622 * config/tc-arm.c (do_t_orn): New function.
623 (do_t_rrx): Likewise.
624 (insns): Add orn and rrx.
625
626 2009-01-29 Mark Mitchell <mark@codesourcery.com>
627
628 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
629 uasx, uhasx, uhsx, uqasx, uqsax, usax.
630
631 2009-01-29 Mark Mitchell <mark@codesourcery.com>
632
633 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
634 qdsub in Thumb-2 mode.
635
636 2009-01-29 Paul Brook <paul@codesourcery.com>
637 Mark Mitchell <mark@codesourcery.com>
638
639 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
640 of MUL when possible.
641
642 2009-01-29 Nick Clifton <nickc@redhat.com>
643
644 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
645
646 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
647 Catherine Moore <clm@codesourcery.com?
648
649 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
650 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
651 directives.
652
653 2009-01-27 Nick Clifton <nickc@redhat.com>
654
655 * config/tc-mips.c (append_insn): Cope with a complex reloc
656 sequence containing an unsupported reloc type.
657 (enum options): Replace computed #define's constants for option
658 numbers with this enum.
659 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
660 environment.
661 (md_parse_option): Allow -32 in a non-ELF environment.
662
663 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
664
665 * config/tc-arm.c (attributes_set_explicitly): New array.
666 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
667 (cpu_arch): Add ARM_ARCH_V5T.
668 (aeabi_set_attribute_int): New function.
669 (aeabi_set_attribute_string): New function.
670 (aeabi_set_public_attributes): Set attributes according to the user's
671 intentions, rather than the actual state of the binary.
672 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
673 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
674 Support WMMXv2. Use attribute names instead of numbers.
675 * read.c (s_vendor_attribute): Change return type to int.
676 Return the tag number that was set.
677 * read.h (s_vendor_attribute): Change return type to int.
678
679 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
680
681 PR 9789
682 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
683 * doc/c-avr.texi: Likewise.
684
685 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
686
687 * doc/c-arm.texi (): Document -mwarn-deprecated.
688 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
689 (warn_on_deprecated): ... this.
690 (opcode_lookup, md_assemble): Check it before warning.
691 (arm_opts): Add m[no-]warn-deprecated.
692 (md_parse_option): Replace WARN_DEPRECATED with
693 warn_on_deprecated.
694
695 2009-01-23 Andreas Schwab <schwab@suse.de>
696
697 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
698 arguments to macro_build to match format.
699
700 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
701 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
702
703 2009-01-19 Nick Clifton <nickc@redhat.com>
704
705 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
706 ELF format ARM targets.
707 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
708
709 2009-01-19 Nick Clifton <nickc@redhat.com>
710
711 * configure.tgt: Restore alpha sorting to object format switch
712 statement.
713
714 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
715
716 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
717
718 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
719
720 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
721 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
722
723 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
724 Daniel Jacobowitz <dan@codesourcery.com>
725
726 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
727 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
728 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
729 * read.c (s_vendor_attribute): Add support for symbolic tag names.
730 Improve string parser.
731 * doc/c-arm.texi (ARM Machine Directives): Document
732 .eabi_attribute symbolic tag names.
733
734 2009-01-16 Alan Modra <amodra@bigpond.net.au>
735
736 * configure.in (commonbfdlib): Delete.
737 * configure: Regenerate.
738 * po/POTFILES.in: Regenerate.
739
740 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
741 Julian Brown <julian@codesourcery.com>
742
743 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
744
745 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
746
747 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
748 bfd_elf_add_obj_attr_int_string.
749
750 2009-01-15 Douglas B Rupp <rupp@gnat.com>
751
752 * configure.tgt(ia64-*-*vms*): New target.
753 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
754 * tc.h (md_number_to_chars): Declare iff undefined.
755 * config/obj-elf.c (obj_elf_change_section): Change type of arg
756 attr to bfd_vma.
757 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
758 variables attr, md_attr to bfd_vma.
759 (obj_elf_section_word): Likewise.
760 (obj_elf_section): Change type of variable attr to bfd_vma
761 * config/obj-elf.h (obj_elf_change_section): Change type of arg
762 attr to bfd_vma.
763 * config/tc-ia64.c (bfdver.h,time.h): Include.
764 (ia64_elf_section_letter): Now returns a bfd_vma.
765 Handle VMS specific attributes.
766 (ia64_elf_section_flags): Arg attr now a bfd_vma.
767 (ia64_init): Don't turn on dependency checking for VMS.
768 (ia64_target_format): Check for VMS flag bit.
769 (do_alias): Hande decc$ functions.
770 (get_vms_time): New function.
771 (ia64_vms_note): New function.
772 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
773 (ia64_elf_section_flags): Arg attr now a bfd_vma.
774 (tc_init_after_args): Define for VMS.
775 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
776 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
777 * config/tc-alpha.h: Likewise.
778 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
779 (x86_64_section_word): Return a bfd_vma.
780 * config/tc-i386.h: Likewise.
781 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
782 attr to bfd_vma.
783 * config/tc-ip2k.h: Likewise.
784 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
785 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
786 * config/tc-mep.h: Likewise.
787 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
788 (ppc_section_word): Return a bfd_vma.
789 (ppc_section_flags): Change type of arg attr to bfd_vma.
790 * config/tc-ppc.h: Likewise.
791 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
792 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
793 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
794 New file with new macros
795 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
796 macros.
797
798 2009-01-15 Nick Clifton <nickc@redhat.com>
799
800 PR 9722
801 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
802 instructions before generating a Thumb2 nop.
803
804 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
805
806 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
807
808 2009-01-12 Alan Modra <amodra@bigpond.net.au>
809
810 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
811 (brinfo): New var.
812 (md_assemble): Poke brinfo into branch instructions.
813 (spu_brinfo): New function.
814 (md_apply_fix): Don't assume insn fields start off at zero, mask
815 them to remove possible brinfo.
816
817 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
818
819 * doc/c-i386.texi: Reformat.
820
821 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
822
823 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
824 .syscall.
825 (i386_align_code): Handle PROCESSOR_COREI7.
826 (md_show_usage): Add corei7, clflush and syscall.
827 (i386_target_format): Replace cpup4 with cpuclflush.
828
829 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
830
831 * doc/c-i386.texi: Document corei7, clflush and syscall.
832
833 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
834
835 * config/tc-i386.c (cpu_arch): Add .rdtscp.
836 (md_show_usage): Display rdtscp.
837
838 * doc/c-i386.texi: Document rdtscp.
839
840 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
841
842 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
843 Test the new "deprecated" opcode field.
844
845 2009-01-07 Sterling Augustine <sterling@tensilica.com>
846
847 * config/tc-xtensa.c (produce_flix): New.
848 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
849 (md_longopts): Add support for them.
850 (md_parse_option): Likewise.
851 (md_show_usage): Add help message.
852 (finish_vinsn): Don't allow multi-slot flix when produce_flix
853 option is set to FLIX_NONE.
854 * config/xtensa-relax.c (transition_applies): Only relax to
855 flix branches when produce_flix equals FLIX_ALL.
856 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
857 FLIX_NONE): New.
858 (produce_flix): Declare.
859
860 2009-01-06 Chao-ying Fu <fu@mips.com>
861
862 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
863 Use strncmp to match jalr and jalr.hb.
864 Fix a typo.
865
866 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
867
868 AVX Programming Reference (December, 2008)
869 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
870 support. Don't swap REG and NDS for FMA.
871
872 2009-01-02 Matthias Klose <doko@ubuntu.com>
873
874 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
875 behaviour.
876
877 For older changes see ChangeLog-2008
878 \f
879 Local Variables:
880 mode: change-log
881 left-margin: 8
882 fill-column: 74
883 version-control: never
884 End: