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