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