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