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