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