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