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