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