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