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