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