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