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