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