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