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