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