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