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