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